vendor.js 1.6 MB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027300283002930030300313003230033300343003530036300373003830039300403004130042300433004430045300463004730048300493005030051300523005330054300553005630057300583005930060300613006230063300643006530066300673006830069300703007130072300733007430075300763007730078300793008030081300823008330084300853008630087300883008930090300913009230093300943009530096300973009830099301003010130102301033010430105301063010730108301093011030111301123011330114301153011630117301183011930120301213012230123301243012530126301273012830129301303013130132301333013430135301363013730138301393014030141301423014330144301453014630147301483014930150301513015230153301543015530156301573015830159301603016130162301633016430165301663016730168301693017030171301723017330174301753017630177301783017930180301813018230183301843018530186301873018830189301903019130192301933019430195301963019730198301993020030201302023020330204302053020630207302083020930210302113021230213302143021530216302173021830219302203022130222302233022430225302263022730228302293023030231302323023330234302353023630237302383023930240302413024230243302443024530246302473024830249302503025130252302533025430255302563025730258302593026030261302623026330264302653026630267302683026930270302713027230273302743027530276302773027830279302803028130282302833028430285302863028730288302893029030291302923029330294302953029630297302983029930300303013030230303303043030530306303073030830309303103031130312303133031430315303163031730318303193032030321303223032330324303253032630327303283032930330303313033230333303343033530336303373033830339303403034130342303433034430345303463034730348303493035030351303523035330354303553035630357303583035930360303613036230363303643036530366303673036830369303703037130372303733037430375303763037730378303793038030381303823038330384303853038630387303883038930390303913039230393303943039530396303973039830399304003040130402304033040430405304063040730408304093041030411304123041330414304153041630417304183041930420304213042230423304243042530426304273042830429304303043130432304333043430435304363043730438304393044030441304423044330444304453044630447304483044930450304513045230453304543045530456304573045830459304603046130462304633046430465304663046730468304693047030471304723047330474304753047630477304783047930480304813048230483304843048530486304873048830489304903049130492304933049430495304963049730498304993050030501305023050330504305053050630507305083050930510305113051230513305143051530516305173051830519305203052130522305233052430525305263052730528305293053030531305323053330534305353053630537305383053930540305413054230543305443054530546305473054830549305503055130552305533055430555305563055730558305593056030561305623056330564305653056630567305683056930570305713057230573305743057530576305773057830579305803058130582305833058430585305863058730588305893059030591305923059330594305953059630597305983059930600306013060230603306043060530606306073060830609306103061130612306133061430615306163061730618306193062030621306223062330624306253062630627306283062930630306313063230633306343063530636306373063830639306403064130642306433064430645306463064730648306493065030651306523065330654306553065630657306583065930660306613066230663306643066530666306673066830669306703067130672306733067430675306763067730678306793068030681306823068330684306853068630687306883068930690306913069230693306943069530696306973069830699307003070130702307033070430705307063070730708307093071030711307123071330714307153071630717307183071930720307213072230723307243072530726307273072830729307303073130732307333073430735307363073730738307393074030741307423074330744307453074630747307483074930750307513075230753307543075530756307573075830759307603076130762307633076430765307663076730768307693077030771307723077330774307753077630777307783077930780307813078230783307843078530786307873078830789307903079130792307933079430795307963079730798307993080030801308023080330804308053080630807308083080930810308113081230813308143081530816308173081830819308203082130822308233082430825308263082730828308293083030831308323083330834308353083630837308383083930840308413084230843308443084530846308473084830849308503085130852308533085430855308563085730858308593086030861308623086330864308653086630867308683086930870308713087230873308743087530876308773087830879308803088130882308833088430885308863088730888308893089030891308923089330894308953089630897308983089930900309013090230903309043090530906309073090830909309103091130912309133091430915309163091730918309193092030921309223092330924309253092630927309283092930930309313093230933309343093530936309373093830939309403094130942309433094430945309463094730948309493095030951309523095330954309553095630957309583095930960309613096230963309643096530966309673096830969309703097130972309733097430975309763097730978309793098030981309823098330984309853098630987309883098930990309913099230993309943099530996309973099830999310003100131002310033100431005310063100731008310093101031011310123101331014310153101631017310183101931020310213102231023310243102531026310273102831029310303103131032310333103431035310363103731038310393104031041310423104331044310453104631047310483104931050310513105231053310543105531056310573105831059310603106131062310633106431065310663106731068310693107031071310723107331074310753107631077310783107931080310813108231083310843108531086310873108831089310903109131092310933109431095310963109731098310993110031101311023110331104311053110631107311083110931110311113111231113311143111531116311173111831119311203112131122311233112431125311263112731128311293113031131311323113331134311353113631137311383113931140311413114231143311443114531146311473114831149311503115131152311533115431155311563115731158311593116031161311623116331164311653116631167311683116931170311713117231173311743117531176311773117831179311803118131182311833118431185311863118731188311893119031191311923119331194311953119631197311983119931200312013120231203312043120531206312073120831209312103121131212312133121431215312163121731218312193122031221312223122331224312253122631227312283122931230312313123231233312343123531236312373123831239312403124131242312433124431245312463124731248312493125031251312523125331254312553125631257312583125931260312613126231263312643126531266312673126831269312703127131272312733127431275312763127731278312793128031281312823128331284312853128631287312883128931290312913129231293312943129531296312973129831299313003130131302313033130431305313063130731308313093131031311313123131331314313153131631317313183131931320313213132231323313243132531326313273132831329313303133131332313333133431335313363133731338313393134031341313423134331344313453134631347313483134931350313513135231353313543135531356313573135831359313603136131362313633136431365313663136731368313693137031371313723137331374313753137631377313783137931380313813138231383313843138531386313873138831389313903139131392313933139431395313963139731398313993140031401314023140331404314053140631407314083140931410314113141231413314143141531416314173141831419314203142131422314233142431425314263142731428314293143031431314323143331434314353143631437314383143931440314413144231443314443144531446314473144831449314503145131452314533145431455314563145731458314593146031461314623146331464314653146631467314683146931470314713147231473314743147531476314773147831479314803148131482314833148431485314863148731488314893149031491314923149331494314953149631497314983149931500315013150231503315043150531506315073150831509315103151131512315133151431515315163151731518315193152031521315223152331524315253152631527315283152931530315313153231533315343153531536315373153831539315403154131542315433154431545315463154731548315493155031551315523155331554315553155631557315583155931560315613156231563315643156531566315673156831569315703157131572315733157431575315763157731578315793158031581315823158331584315853158631587315883158931590315913159231593315943159531596315973159831599316003160131602316033160431605316063160731608316093161031611316123161331614316153161631617316183161931620316213162231623316243162531626316273162831629316303163131632316333163431635316363163731638316393164031641316423164331644316453164631647316483164931650316513165231653316543165531656316573165831659316603166131662316633166431665316663166731668316693167031671316723167331674316753167631677316783167931680316813168231683316843168531686316873168831689316903169131692316933169431695316963169731698316993170031701317023170331704317053170631707317083170931710317113171231713317143171531716317173171831719317203172131722317233172431725317263172731728317293173031731317323173331734317353173631737317383173931740317413174231743317443174531746317473174831749317503175131752317533175431755317563175731758317593176031761317623176331764317653176631767317683176931770317713177231773317743177531776317773177831779317803178131782317833178431785317863178731788317893179031791317923179331794317953179631797317983179931800318013180231803318043180531806318073180831809318103181131812318133181431815318163181731818318193182031821318223182331824318253182631827318283182931830318313183231833318343183531836318373183831839318403184131842318433184431845318463184731848318493185031851318523185331854318553185631857318583185931860318613186231863318643186531866318673186831869318703187131872318733187431875318763187731878318793188031881318823188331884318853188631887318883188931890318913189231893318943189531896318973189831899319003190131902319033190431905319063190731908319093191031911319123191331914319153191631917319183191931920319213192231923319243192531926319273192831929319303193131932319333193431935319363193731938319393194031941319423194331944319453194631947319483194931950319513195231953319543195531956319573195831959319603196131962319633196431965319663196731968319693197031971319723197331974319753197631977319783197931980319813198231983319843198531986319873198831989319903199131992319933199431995319963199731998319993200032001320023200332004320053200632007320083200932010320113201232013320143201532016320173201832019320203202132022320233202432025320263202732028320293203032031320323203332034320353203632037320383203932040320413204232043320443204532046320473204832049320503205132052320533205432055320563205732058320593206032061320623206332064320653206632067320683206932070320713207232073320743207532076320773207832079320803208132082320833208432085320863208732088320893209032091320923209332094320953209632097320983209932100321013210232103321043210532106321073210832109321103211132112321133211432115321163211732118321193212032121321223212332124321253212632127321283212932130321313213232133321343213532136321373213832139321403214132142321433214432145321463214732148321493215032151321523215332154321553215632157321583215932160321613216232163321643216532166321673216832169321703217132172321733217432175321763217732178321793218032181321823218332184321853218632187321883218932190321913219232193321943219532196321973219832199322003220132202322033220432205322063220732208322093221032211322123221332214322153221632217322183221932220322213222232223322243222532226322273222832229322303223132232322333223432235322363223732238322393224032241322423224332244322453224632247322483224932250322513225232253322543225532256322573225832259322603226132262322633226432265322663226732268322693227032271322723227332274322753227632277322783227932280322813228232283322843228532286322873228832289322903229132292322933229432295322963229732298322993230032301323023230332304323053230632307323083230932310323113231232313323143231532316323173231832319323203232132322323233232432325323263232732328323293233032331323323233332334323353233632337323383233932340323413234232343323443234532346323473234832349323503235132352323533235432355323563235732358323593236032361323623236332364323653236632367323683236932370323713237232373323743237532376323773237832379323803238132382323833238432385323863238732388323893239032391323923239332394323953239632397323983239932400324013240232403324043240532406324073240832409324103241132412324133241432415324163241732418324193242032421324223242332424324253242632427324283242932430324313243232433324343243532436324373243832439324403244132442324433244432445324463244732448324493245032451324523245332454324553245632457324583245932460324613246232463324643246532466324673246832469324703247132472324733247432475324763247732478324793248032481324823248332484324853248632487324883248932490324913249232493324943249532496324973249832499325003250132502325033250432505325063250732508325093251032511325123251332514325153251632517325183251932520325213252232523325243252532526325273252832529325303253132532325333253432535325363253732538325393254032541325423254332544325453254632547325483254932550325513255232553325543255532556325573255832559325603256132562325633256432565325663256732568325693257032571325723257332574325753257632577325783257932580325813258232583325843258532586325873258832589325903259132592325933259432595325963259732598325993260032601326023260332604326053260632607326083260932610326113261232613326143261532616326173261832619326203262132622326233262432625326263262732628326293263032631326323263332634326353263632637326383263932640326413264232643326443264532646326473264832649326503265132652326533265432655326563265732658326593266032661326623266332664326653266632667326683266932670326713267232673326743267532676326773267832679326803268132682326833268432685326863268732688326893269032691326923269332694326953269632697326983269932700327013270232703327043270532706327073270832709327103271132712327133271432715327163271732718327193272032721327223272332724327253272632727327283272932730327313273232733327343273532736327373273832739327403274132742327433274432745327463274732748327493275032751327523275332754327553275632757327583275932760327613276232763327643276532766327673276832769327703277132772327733277432775327763277732778327793278032781327823278332784327853278632787327883278932790327913279232793327943279532796327973279832799328003280132802328033280432805328063280732808328093281032811328123281332814328153281632817328183281932820328213282232823328243282532826328273282832829328303283132832328333283432835328363283732838328393284032841328423284332844328453284632847328483284932850328513285232853328543285532856328573285832859328603286132862328633286432865328663286732868328693287032871328723287332874328753287632877328783287932880328813288232883328843288532886328873288832889328903289132892328933289432895328963289732898328993290032901329023290332904329053290632907329083290932910329113291232913329143291532916329173291832919329203292132922329233292432925329263292732928329293293032931329323293332934329353293632937329383293932940329413294232943329443294532946329473294832949329503295132952329533295432955329563295732958329593296032961329623296332964329653296632967329683296932970329713297232973329743297532976329773297832979329803298132982329833298432985329863298732988329893299032991329923299332994329953299632997329983299933000330013300233003330043300533006330073300833009330103301133012330133301433015330163301733018330193302033021330223302333024330253302633027330283302933030330313303233033330343303533036330373303833039330403304133042330433304433045330463304733048330493305033051330523305333054330553305633057330583305933060330613306233063330643306533066330673306833069330703307133072330733307433075330763307733078330793308033081330823308333084330853308633087330883308933090330913309233093330943309533096330973309833099331003310133102331033310433105331063310733108331093311033111331123311333114331153311633117331183311933120331213312233123331243312533126331273312833129331303313133132331333313433135331363313733138331393314033141331423314333144331453314633147331483314933150331513315233153331543315533156331573315833159331603316133162331633316433165331663316733168331693317033171331723317333174331753317633177331783317933180331813318233183331843318533186331873318833189331903319133192331933319433195331963319733198331993320033201332023320333204332053320633207332083320933210332113321233213332143321533216332173321833219332203322133222332233322433225332263322733228332293323033231332323323333234332353323633237332383323933240332413324233243332443324533246332473324833249332503325133252332533325433255332563325733258332593326033261332623326333264332653326633267332683326933270332713327233273332743327533276332773327833279332803328133282332833328433285332863328733288332893329033291332923329333294332953329633297332983329933300333013330233303333043330533306333073330833309333103331133312333133331433315333163331733318333193332033321333223332333324333253332633327333283332933330333313333233333333343333533336333373333833339333403334133342333433334433345333463334733348333493335033351333523335333354333553335633357333583335933360333613336233363333643336533366333673336833369333703337133372333733337433375333763337733378333793338033381333823338333384333853338633387333883338933390333913339233393333943339533396333973339833399334003340133402334033340433405334063340733408334093341033411334123341333414334153341633417334183341933420334213342233423334243342533426334273342833429334303343133432334333343433435334363343733438334393344033441334423344333444334453344633447334483344933450334513345233453334543345533456334573345833459334603346133462334633346433465334663346733468334693347033471334723347333474334753347633477334783347933480334813348233483334843348533486334873348833489334903349133492334933349433495334963349733498334993350033501335023350333504335053350633507335083350933510335113351233513335143351533516335173351833519335203352133522335233352433525335263352733528335293353033531335323353333534335353353633537335383353933540335413354233543335443354533546335473354833549335503355133552335533355433555335563355733558335593356033561335623356333564335653356633567335683356933570335713357233573335743357533576335773357833579335803358133582335833358433585335863358733588335893359033591335923359333594335953359633597335983359933600336013360233603336043360533606336073360833609336103361133612336133361433615336163361733618336193362033621336223362333624336253362633627336283362933630336313363233633336343363533636336373363833639336403364133642336433364433645336463364733648336493365033651336523365333654336553365633657336583365933660336613366233663336643366533666336673366833669336703367133672336733367433675336763367733678336793368033681336823368333684336853368633687336883368933690336913369233693336943369533696336973369833699337003370133702337033370433705337063370733708337093371033711337123371333714337153371633717337183371933720337213372233723337243372533726337273372833729337303373133732337333373433735337363373733738337393374033741337423374333744337453374633747337483374933750337513375233753337543375533756337573375833759337603376133762337633376433765337663376733768337693377033771337723377333774337753377633777337783377933780337813378233783337843378533786337873378833789337903379133792337933379433795337963379733798337993380033801338023380333804338053380633807338083380933810338113381233813338143381533816338173381833819338203382133822338233382433825338263382733828338293383033831338323383333834338353383633837338383383933840338413384233843338443384533846338473384833849338503385133852338533385433855338563385733858338593386033861338623386333864338653386633867338683386933870338713387233873338743387533876338773387833879338803388133882338833388433885338863388733888338893389033891338923389333894338953389633897338983389933900339013390233903339043390533906339073390833909339103391133912339133391433915339163391733918339193392033921339223392333924339253392633927339283392933930339313393233933339343393533936339373393833939339403394133942339433394433945339463394733948339493395033951339523395333954339553395633957339583395933960339613396233963339643396533966339673396833969339703397133972339733397433975339763397733978339793398033981339823398333984339853398633987339883398933990339913399233993339943399533996339973399833999340003400134002340033400434005340063400734008340093401034011340123401334014340153401634017340183401934020340213402234023340243402534026340273402834029340303403134032340333403434035340363403734038340393404034041340423404334044340453404634047340483404934050340513405234053340543405534056340573405834059340603406134062340633406434065340663406734068340693407034071340723407334074340753407634077340783407934080340813408234083340843408534086340873408834089340903409134092340933409434095340963409734098340993410034101341023410334104341053410634107341083410934110341113411234113341143411534116341173411834119341203412134122341233412434125341263412734128341293413034131341323413334134341353413634137341383413934140341413414234143341443414534146341473414834149341503415134152341533415434155341563415734158341593416034161341623416334164341653416634167341683416934170341713417234173341743417534176341773417834179341803418134182341833418434185341863418734188341893419034191341923419334194341953419634197341983419934200342013420234203342043420534206342073420834209342103421134212342133421434215342163421734218342193422034221342223422334224342253422634227342283422934230342313423234233342343423534236342373423834239342403424134242342433424434245342463424734248342493425034251342523425334254342553425634257342583425934260342613426234263342643426534266342673426834269342703427134272342733427434275342763427734278342793428034281342823428334284342853428634287342883428934290342913429234293342943429534296342973429834299343003430134302343033430434305343063430734308343093431034311343123431334314343153431634317343183431934320343213432234323343243432534326343273432834329343303433134332343333433434335343363433734338343393434034341343423434334344343453434634347343483434934350343513435234353343543435534356343573435834359343603436134362343633436434365343663436734368343693437034371343723437334374343753437634377343783437934380343813438234383343843438534386343873438834389343903439134392343933439434395343963439734398343993440034401344023440334404344053440634407344083440934410344113441234413344143441534416344173441834419344203442134422344233442434425344263442734428344293443034431344323443334434344353443634437344383443934440344413444234443344443444534446344473444834449344503445134452344533445434455344563445734458344593446034461344623446334464344653446634467344683446934470344713447234473344743447534476344773447834479344803448134482344833448434485344863448734488344893449034491344923449334494344953449634497344983449934500345013450234503345043450534506345073450834509345103451134512345133451434515345163451734518345193452034521345223452334524345253452634527345283452934530345313453234533345343453534536345373453834539345403454134542345433454434545345463454734548345493455034551345523455334554345553455634557345583455934560345613456234563345643456534566345673456834569345703457134572345733457434575345763457734578345793458034581345823458334584345853458634587345883458934590345913459234593345943459534596345973459834599346003460134602346033460434605346063460734608346093461034611346123461334614346153461634617346183461934620346213462234623346243462534626346273462834629346303463134632346333463434635346363463734638346393464034641346423464334644346453464634647346483464934650346513465234653346543465534656346573465834659346603466134662346633466434665346663466734668346693467034671346723467334674346753467634677346783467934680346813468234683346843468534686346873468834689346903469134692346933469434695346963469734698346993470034701347023470334704347053470634707347083470934710347113471234713347143471534716347173471834719347203472134722347233472434725347263472734728347293473034731347323473334734347353473634737347383473934740347413474234743347443474534746347473474834749347503475134752347533475434755347563475734758347593476034761347623476334764347653476634767347683476934770347713477234773347743477534776347773477834779347803478134782347833478434785347863478734788347893479034791347923479334794347953479634797347983479934800348013480234803348043480534806348073480834809348103481134812348133481434815348163481734818348193482034821348223482334824348253482634827348283482934830348313483234833348343483534836348373483834839348403484134842348433484434845348463484734848348493485034851348523485334854348553485634857348583485934860348613486234863348643486534866348673486834869348703487134872348733487434875348763487734878348793488034881348823488334884348853488634887348883488934890348913489234893348943489534896348973489834899349003490134902349033490434905349063490734908349093491034911349123491334914349153491634917349183491934920349213492234923349243492534926349273492834929349303493134932349333493434935349363493734938349393494034941349423494334944349453494634947349483494934950349513495234953349543495534956349573495834959349603496134962349633496434965349663496734968349693497034971349723497334974349753497634977349783497934980349813498234983349843498534986349873498834989349903499134992349933499434995349963499734998349993500035001350023500335004350053500635007350083500935010350113501235013350143501535016350173501835019350203502135022350233502435025350263502735028350293503035031350323503335034350353503635037350383503935040350413504235043350443504535046350473504835049350503505135052350533505435055350563505735058350593506035061350623506335064350653506635067350683506935070350713507235073350743507535076350773507835079350803508135082350833508435085350863508735088350893509035091350923509335094350953509635097350983509935100351013510235103351043510535106351073510835109351103511135112351133511435115351163511735118351193512035121351223512335124351253512635127351283512935130351313513235133351343513535136351373513835139351403514135142351433514435145351463514735148351493515035151351523515335154351553515635157351583515935160351613516235163351643516535166351673516835169351703517135172351733517435175351763517735178351793518035181351823518335184351853518635187351883518935190351913519235193351943519535196351973519835199352003520135202352033520435205352063520735208352093521035211352123521335214352153521635217352183521935220352213522235223352243522535226352273522835229352303523135232352333523435235352363523735238352393524035241352423524335244352453524635247352483524935250352513525235253352543525535256352573525835259352603526135262352633526435265352663526735268352693527035271352723527335274352753527635277352783527935280352813528235283352843528535286352873528835289352903529135292352933529435295352963529735298352993530035301353023530335304353053530635307353083530935310353113531235313353143531535316353173531835319353203532135322353233532435325353263532735328353293533035331353323533335334353353533635337353383533935340353413534235343353443534535346353473534835349353503535135352353533535435355353563535735358353593536035361353623536335364353653536635367353683536935370353713537235373353743537535376353773537835379353803538135382353833538435385353863538735388353893539035391353923539335394353953539635397353983539935400354013540235403354043540535406354073540835409354103541135412354133541435415354163541735418354193542035421354223542335424354253542635427354283542935430354313543235433354343543535436354373543835439354403544135442354433544435445354463544735448354493545035451354523545335454354553545635457354583545935460354613546235463354643546535466354673546835469354703547135472354733547435475354763547735478354793548035481354823548335484354853548635487354883548935490354913549235493354943549535496354973549835499355003550135502355033550435505355063550735508355093551035511355123551335514355153551635517355183551935520355213552235523355243552535526355273552835529355303553135532355333553435535355363553735538355393554035541355423554335544355453554635547355483554935550355513555235553355543555535556355573555835559355603556135562355633556435565355663556735568355693557035571355723557335574355753557635577355783557935580355813558235583355843558535586355873558835589355903559135592355933559435595355963559735598355993560035601356023560335604356053560635607356083560935610356113561235613356143561535616356173561835619356203562135622356233562435625356263562735628356293563035631356323563335634356353563635637356383563935640356413564235643356443564535646356473564835649356503565135652356533565435655356563565735658356593566035661356623566335664356653566635667356683566935670356713567235673356743567535676356773567835679356803568135682356833568435685356863568735688356893569035691356923569335694356953569635697356983569935700357013570235703357043570535706357073570835709357103571135712357133571435715357163571735718357193572035721357223572335724357253572635727357283572935730357313573235733357343573535736357373573835739357403574135742357433574435745357463574735748357493575035751357523575335754357553575635757357583575935760357613576235763357643576535766357673576835769357703577135772357733577435775357763577735778357793578035781357823578335784357853578635787357883578935790357913579235793357943579535796357973579835799358003580135802358033580435805358063580735808358093581035811358123581335814358153581635817358183581935820358213582235823358243582535826358273582835829358303583135832358333583435835358363583735838358393584035841358423584335844358453584635847358483584935850358513585235853358543585535856358573585835859358603586135862358633586435865358663586735868358693587035871358723587335874358753587635877358783587935880358813588235883358843588535886358873588835889358903589135892358933589435895358963589735898358993590035901359023590335904359053590635907359083590935910359113591235913359143591535916359173591835919359203592135922359233592435925359263592735928359293593035931359323593335934359353593635937359383593935940359413594235943359443594535946359473594835949359503595135952359533595435955359563595735958359593596035961359623596335964359653596635967359683596935970359713597235973359743597535976359773597835979359803598135982359833598435985359863598735988359893599035991359923599335994359953599635997359983599936000360013600236003360043600536006360073600836009360103601136012360133601436015360163601736018360193602036021360223602336024360253602636027360283602936030360313603236033360343603536036360373603836039360403604136042360433604436045360463604736048360493605036051360523605336054360553605636057360583605936060360613606236063360643606536066360673606836069360703607136072360733607436075360763607736078360793608036081360823608336084360853608636087360883608936090360913609236093360943609536096360973609836099361003610136102361033610436105361063610736108361093611036111361123611336114361153611636117361183611936120361213612236123361243612536126361273612836129361303613136132361333613436135361363613736138361393614036141361423614336144361453614636147361483614936150361513615236153361543615536156361573615836159361603616136162361633616436165361663616736168361693617036171361723617336174361753617636177361783617936180361813618236183361843618536186361873618836189361903619136192361933619436195361963619736198361993620036201362023620336204362053620636207362083620936210362113621236213362143621536216362173621836219362203622136222362233622436225362263622736228362293623036231362323623336234362353623636237362383623936240362413624236243362443624536246362473624836249362503625136252362533625436255362563625736258362593626036261362623626336264362653626636267362683626936270362713627236273362743627536276362773627836279362803628136282362833628436285362863628736288362893629036291362923629336294362953629636297362983629936300363013630236303363043630536306363073630836309363103631136312363133631436315363163631736318363193632036321363223632336324363253632636327363283632936330363313633236333363343633536336363373633836339363403634136342363433634436345363463634736348363493635036351363523635336354363553635636357363583635936360363613636236363363643636536366363673636836369363703637136372363733637436375363763637736378363793638036381363823638336384363853638636387363883638936390363913639236393363943639536396363973639836399364003640136402364033640436405364063640736408364093641036411364123641336414364153641636417364183641936420364213642236423364243642536426364273642836429364303643136432364333643436435364363643736438364393644036441364423644336444364453644636447364483644936450364513645236453364543645536456364573645836459364603646136462364633646436465364663646736468364693647036471364723647336474364753647636477364783647936480364813648236483364843648536486364873648836489364903649136492364933649436495364963649736498364993650036501365023650336504365053650636507365083650936510365113651236513365143651536516365173651836519365203652136522365233652436525365263652736528365293653036531365323653336534365353653636537365383653936540365413654236543365443654536546365473654836549365503655136552365533655436555365563655736558365593656036561365623656336564365653656636567365683656936570365713657236573365743657536576365773657836579365803658136582365833658436585365863658736588365893659036591365923659336594365953659636597365983659936600366013660236603366043660536606366073660836609366103661136612366133661436615366163661736618366193662036621366223662336624366253662636627366283662936630366313663236633366343663536636366373663836639366403664136642366433664436645366463664736648366493665036651366523665336654366553665636657366583665936660366613666236663366643666536666366673666836669366703667136672366733667436675366763667736678366793668036681366823668336684366853668636687366883668936690366913669236693366943669536696366973669836699367003670136702367033670436705367063670736708367093671036711367123671336714367153671636717367183671936720367213672236723367243672536726367273672836729367303673136732367333673436735367363673736738367393674036741367423674336744367453674636747367483674936750367513675236753367543675536756367573675836759367603676136762367633676436765367663676736768367693677036771367723677336774367753677636777367783677936780367813678236783367843678536786367873678836789367903679136792367933679436795367963679736798367993680036801368023680336804368053680636807368083680936810368113681236813368143681536816368173681836819368203682136822368233682436825368263682736828368293683036831368323683336834368353683636837368383683936840368413684236843368443684536846368473684836849368503685136852368533685436855368563685736858368593686036861368623686336864368653686636867368683686936870368713687236873368743687536876368773687836879368803688136882368833688436885368863688736888368893689036891368923689336894368953689636897368983689936900369013690236903369043690536906369073690836909369103691136912369133691436915369163691736918369193692036921369223692336924369253692636927369283692936930369313693236933369343693536936369373693836939369403694136942369433694436945369463694736948369493695036951369523695336954369553695636957369583695936960369613696236963369643696536966369673696836969369703697136972369733697436975369763697736978369793698036981369823698336984369853698636987369883698936990369913699236993369943699536996369973699836999370003700137002370033700437005370063700737008370093701037011370123701337014370153701637017370183701937020370213702237023370243702537026370273702837029370303703137032370333703437035370363703737038370393704037041370423704337044370453704637047370483704937050370513705237053370543705537056370573705837059370603706137062370633706437065370663706737068370693707037071370723707337074370753707637077370783707937080370813708237083370843708537086370873708837089370903709137092370933709437095370963709737098370993710037101371023710337104371053710637107371083710937110371113711237113371143711537116371173711837119371203712137122371233712437125371263712737128371293713037131371323713337134371353713637137371383713937140371413714237143371443714537146371473714837149371503715137152371533715437155371563715737158371593716037161371623716337164371653716637167371683716937170371713717237173371743717537176371773717837179371803718137182371833718437185371863718737188371893719037191371923719337194371953719637197371983719937200372013720237203372043720537206372073720837209372103721137212372133721437215372163721737218372193722037221372223722337224372253722637227372283722937230372313723237233372343723537236372373723837239372403724137242372433724437245372463724737248372493725037251372523725337254372553725637257372583725937260372613726237263372643726537266372673726837269372703727137272372733727437275372763727737278372793728037281372823728337284372853728637287372883728937290372913729237293372943729537296372973729837299373003730137302373033730437305373063730737308373093731037311373123731337314373153731637317373183731937320373213732237323373243732537326373273732837329373303733137332373333733437335373363733737338373393734037341373423734337344373453734637347373483734937350373513735237353373543735537356373573735837359373603736137362373633736437365373663736737368373693737037371373723737337374373753737637377373783737937380373813738237383373843738537386373873738837389373903739137392373933739437395373963739737398373993740037401374023740337404374053740637407374083740937410374113741237413374143741537416374173741837419374203742137422374233742437425374263742737428374293743037431374323743337434374353743637437374383743937440374413744237443374443744537446374473744837449374503745137452374533745437455374563745737458374593746037461374623746337464374653746637467374683746937470374713747237473374743747537476374773747837479374803748137482374833748437485374863748737488374893749037491374923749337494374953749637497374983749937500375013750237503375043750537506375073750837509375103751137512375133751437515375163751737518375193752037521375223752337524375253752637527375283752937530375313753237533375343753537536375373753837539375403754137542375433754437545375463754737548375493755037551375523755337554375553755637557375583755937560375613756237563375643756537566375673756837569375703757137572375733757437575375763757737578375793758037581375823758337584375853758637587375883758937590375913759237593375943759537596375973759837599376003760137602376033760437605376063760737608376093761037611376123761337614376153761637617376183761937620376213762237623376243762537626376273762837629376303763137632376333763437635376363763737638376393764037641376423764337644376453764637647376483764937650376513765237653376543765537656376573765837659376603766137662376633766437665376663766737668376693767037671376723767337674376753767637677376783767937680376813768237683376843768537686376873768837689376903769137692376933769437695376963769737698376993770037701377023770337704377053770637707377083770937710377113771237713377143771537716377173771837719377203772137722377233772437725377263772737728377293773037731377323773337734377353773637737377383773937740377413774237743377443774537746377473774837749377503775137752377533775437755377563775737758377593776037761377623776337764377653776637767377683776937770377713777237773377743777537776377773777837779377803778137782377833778437785377863778737788377893779037791377923779337794377953779637797377983779937800378013780237803378043780537806378073780837809378103781137812378133781437815378163781737818378193782037821378223782337824378253782637827378283782937830378313783237833378343783537836378373783837839378403784137842378433784437845378463784737848378493785037851378523785337854378553785637857378583785937860378613786237863378643786537866378673786837869378703787137872378733787437875378763787737878378793788037881378823788337884378853788637887378883788937890378913789237893378943789537896378973789837899379003790137902379033790437905379063790737908379093791037911379123791337914379153791637917379183791937920379213792237923379243792537926379273792837929379303793137932379333793437935379363793737938379393794037941379423794337944379453794637947379483794937950379513795237953379543795537956379573795837959379603796137962379633796437965379663796737968379693797037971379723797337974379753797637977379783797937980379813798237983379843798537986379873798837989379903799137992379933799437995379963799737998379993800038001380023800338004380053800638007380083800938010380113801238013380143801538016380173801838019380203802138022380233802438025380263802738028380293803038031380323803338034380353803638037380383803938040380413804238043380443804538046380473804838049380503805138052380533805438055380563805738058380593806038061380623806338064380653806638067380683806938070380713807238073380743807538076380773807838079380803808138082380833808438085380863808738088380893809038091380923809338094380953809638097380983809938100381013810238103381043810538106381073810838109381103811138112381133811438115381163811738118381193812038121381223812338124381253812638127381283812938130381313813238133381343813538136381373813838139381403814138142381433814438145381463814738148381493815038151381523815338154381553815638157381583815938160381613816238163381643816538166381673816838169381703817138172381733817438175381763817738178381793818038181381823818338184381853818638187381883818938190381913819238193381943819538196381973819838199382003820138202382033820438205382063820738208382093821038211382123821338214382153821638217382183821938220382213822238223382243822538226382273822838229382303823138232382333823438235382363823738238382393824038241382423824338244382453824638247382483824938250382513825238253382543825538256382573825838259382603826138262382633826438265382663826738268382693827038271382723827338274382753827638277382783827938280382813828238283382843828538286382873828838289382903829138292382933829438295382963829738298382993830038301383023830338304383053830638307383083830938310383113831238313383143831538316383173831838319383203832138322383233832438325383263832738328383293833038331383323833338334383353833638337383383833938340383413834238343383443834538346383473834838349383503835138352383533835438355383563835738358383593836038361383623836338364383653836638367383683836938370383713837238373383743837538376383773837838379383803838138382383833838438385383863838738388383893839038391383923839338394383953839638397383983839938400384013840238403384043840538406384073840838409384103841138412384133841438415384163841738418384193842038421384223842338424384253842638427384283842938430384313843238433384343843538436384373843838439384403844138442384433844438445384463844738448384493845038451384523845338454384553845638457384583845938460384613846238463384643846538466384673846838469384703847138472384733847438475384763847738478384793848038481384823848338484384853848638487384883848938490384913849238493384943849538496384973849838499385003850138502385033850438505385063850738508385093851038511385123851338514385153851638517385183851938520385213852238523385243852538526385273852838529385303853138532385333853438535385363853738538385393854038541385423854338544385453854638547385483854938550385513855238553385543855538556385573855838559385603856138562385633856438565385663856738568385693857038571385723857338574385753857638577385783857938580385813858238583385843858538586385873858838589385903859138592385933859438595385963859738598385993860038601386023860338604386053860638607386083860938610386113861238613386143861538616386173861838619386203862138622386233862438625386263862738628386293863038631386323863338634386353863638637386383863938640386413864238643386443864538646386473864838649386503865138652386533865438655386563865738658386593866038661386623866338664386653866638667386683866938670386713867238673386743867538676386773867838679386803868138682386833868438685386863868738688386893869038691386923869338694386953869638697386983869938700387013870238703387043870538706387073870838709387103871138712387133871438715387163871738718387193872038721387223872338724387253872638727387283872938730387313873238733387343873538736387373873838739387403874138742387433874438745387463874738748387493875038751387523875338754387553875638757387583875938760387613876238763387643876538766387673876838769387703877138772387733877438775387763877738778387793878038781387823878338784387853878638787387883878938790387913879238793387943879538796387973879838799388003880138802388033880438805388063880738808388093881038811388123881338814388153881638817388183881938820388213882238823388243882538826388273882838829388303883138832388333883438835388363883738838388393884038841388423884338844388453884638847388483884938850388513885238853388543885538856388573885838859388603886138862388633886438865388663886738868388693887038871388723887338874388753887638877388783887938880388813888238883388843888538886388873888838889388903889138892388933889438895388963889738898388993890038901389023890338904389053890638907389083890938910389113891238913389143891538916389173891838919389203892138922389233892438925389263892738928389293893038931389323893338934389353893638937389383893938940389413894238943389443894538946389473894838949389503895138952389533895438955389563895738958389593896038961389623896338964389653896638967389683896938970389713897238973389743897538976389773897838979389803898138982389833898438985389863898738988389893899038991389923899338994389953899638997389983899939000390013900239003390043900539006390073900839009390103901139012390133901439015390163901739018390193902039021390223902339024390253902639027390283902939030390313903239033390343903539036390373903839039390403904139042390433904439045390463904739048390493905039051390523905339054390553905639057390583905939060390613906239063390643906539066390673906839069390703907139072390733907439075390763907739078390793908039081390823908339084390853908639087390883908939090390913909239093390943909539096390973909839099391003910139102391033910439105391063910739108391093911039111391123911339114391153911639117391183911939120391213912239123391243912539126391273912839129391303913139132391333913439135391363913739138391393914039141391423914339144391453914639147391483914939150391513915239153391543915539156391573915839159391603916139162391633916439165391663916739168391693917039171391723917339174391753917639177391783917939180391813918239183391843918539186391873918839189391903919139192391933919439195391963919739198391993920039201392023920339204392053920639207392083920939210392113921239213392143921539216392173921839219392203922139222392233922439225392263922739228392293923039231392323923339234392353923639237392383923939240392413924239243392443924539246392473924839249392503925139252392533925439255392563925739258392593926039261392623926339264392653926639267392683926939270392713927239273392743927539276392773927839279392803928139282392833928439285392863928739288392893929039291392923929339294392953929639297392983929939300393013930239303393043930539306393073930839309393103931139312393133931439315393163931739318393193932039321393223932339324393253932639327393283932939330393313933239333393343933539336393373933839339393403934139342393433934439345393463934739348393493935039351393523935339354393553935639357393583935939360393613936239363393643936539366393673936839369393703937139372393733937439375393763937739378393793938039381393823938339384393853938639387393883938939390393913939239393393943939539396393973939839399394003940139402394033940439405394063940739408394093941039411394123941339414394153941639417394183941939420394213942239423394243942539426394273942839429394303943139432394333943439435394363943739438394393944039441394423944339444394453944639447394483944939450394513945239453394543945539456394573945839459394603946139462394633946439465394663946739468394693947039471394723947339474394753947639477394783947939480394813948239483394843948539486394873948839489394903949139492394933949439495394963949739498394993950039501395023950339504395053950639507395083950939510395113951239513395143951539516395173951839519395203952139522395233952439525395263952739528395293953039531395323953339534395353953639537395383953939540395413954239543395443954539546395473954839549395503955139552395533955439555395563955739558395593956039561395623956339564395653956639567395683956939570395713957239573395743957539576395773957839579395803958139582395833958439585395863958739588395893959039591395923959339594395953959639597395983959939600396013960239603396043960539606396073960839609396103961139612396133961439615396163961739618396193962039621396223962339624396253962639627396283962939630396313963239633396343963539636396373963839639396403964139642396433964439645396463964739648396493965039651396523965339654396553965639657396583965939660396613966239663396643966539666396673966839669396703967139672396733967439675396763967739678396793968039681396823968339684396853968639687396883968939690396913969239693396943969539696396973969839699397003970139702397033970439705397063970739708397093971039711397123971339714397153971639717397183971939720397213972239723397243972539726397273972839729397303973139732397333973439735397363973739738397393974039741397423974339744397453974639747397483974939750397513975239753397543975539756397573975839759397603976139762397633976439765397663976739768397693977039771397723977339774397753977639777397783977939780397813978239783397843978539786397873978839789397903979139792397933979439795397963979739798397993980039801398023980339804398053980639807398083980939810398113981239813398143981539816398173981839819398203982139822398233982439825398263982739828398293983039831398323983339834398353983639837398383983939840398413984239843398443984539846398473984839849398503985139852398533985439855398563985739858398593986039861398623986339864398653986639867398683986939870398713987239873398743987539876398773987839879398803988139882398833988439885398863988739888398893989039891398923989339894398953989639897398983989939900399013990239903399043990539906399073990839909399103991139912399133991439915399163991739918399193992039921399223992339924399253992639927399283992939930399313993239933399343993539936399373993839939399403994139942399433994439945399463994739948399493995039951399523995339954399553995639957399583995939960399613996239963399643996539966399673996839969399703997139972399733997439975399763997739978399793998039981399823998339984399853998639987399883998939990399913999239993399943999539996399973999839999400004000140002400034000440005400064000740008400094001040011400124001340014400154001640017400184001940020400214002240023400244002540026400274002840029400304003140032400334003440035400364003740038400394004040041400424004340044400454004640047400484004940050400514005240053400544005540056400574005840059400604006140062400634006440065400664006740068400694007040071400724007340074400754007640077400784007940080400814008240083400844008540086400874008840089400904009140092400934009440095400964009740098400994010040101401024010340104401054010640107401084010940110401114011240113401144011540116401174011840119401204012140122401234012440125401264012740128401294013040131401324013340134401354013640137401384013940140401414014240143401444014540146401474014840149401504015140152401534015440155401564015740158401594016040161401624016340164401654016640167401684016940170401714017240173401744017540176401774017840179401804018140182401834018440185401864018740188401894019040191401924019340194401954019640197401984019940200402014020240203402044020540206402074020840209402104021140212402134021440215402164021740218402194022040221402224022340224402254022640227402284022940230402314023240233402344023540236402374023840239402404024140242402434024440245402464024740248402494025040251402524025340254402554025640257402584025940260402614026240263402644026540266402674026840269402704027140272402734027440275402764027740278402794028040281402824028340284402854028640287402884028940290402914029240293402944029540296402974029840299403004030140302403034030440305403064030740308403094031040311403124031340314403154031640317403184031940320403214032240323403244032540326403274032840329403304033140332403334033440335403364033740338403394034040341403424034340344403454034640347403484034940350403514035240353403544035540356403574035840359403604036140362403634036440365403664036740368403694037040371403724037340374403754037640377403784037940380403814038240383403844038540386403874038840389403904039140392403934039440395403964039740398403994040040401404024040340404404054040640407404084040940410404114041240413404144041540416404174041840419404204042140422404234042440425404264042740428404294043040431404324043340434404354043640437404384043940440404414044240443404444044540446404474044840449404504045140452404534045440455404564045740458404594046040461404624046340464404654046640467404684046940470404714047240473404744047540476404774047840479404804048140482404834048440485404864048740488404894049040491404924049340494404954049640497404984049940500405014050240503405044050540506405074050840509405104051140512405134051440515405164051740518405194052040521405224052340524405254052640527405284052940530405314053240533405344053540536405374053840539405404054140542405434054440545405464054740548405494055040551405524055340554405554055640557405584055940560405614056240563405644056540566405674056840569405704057140572405734057440575405764057740578405794058040581405824058340584405854058640587405884058940590405914059240593405944059540596405974059840599406004060140602406034060440605406064060740608406094061040611406124061340614406154061640617406184061940620406214062240623406244062540626406274062840629406304063140632406334063440635406364063740638406394064040641406424064340644406454064640647406484064940650406514065240653406544065540656406574065840659406604066140662406634066440665406664066740668406694067040671406724067340674406754067640677406784067940680406814068240683406844068540686406874068840689406904069140692406934069440695406964069740698406994070040701407024070340704407054070640707407084070940710407114071240713407144071540716407174071840719407204072140722407234072440725407264072740728407294073040731407324073340734407354073640737407384073940740407414074240743407444074540746407474074840749407504075140752407534075440755407564075740758407594076040761407624076340764407654076640767407684076940770407714077240773407744077540776407774077840779407804078140782407834078440785407864078740788407894079040791407924079340794407954079640797407984079940800408014080240803408044080540806408074080840809408104081140812408134081440815408164081740818408194082040821408224082340824408254082640827408284082940830408314083240833408344083540836408374083840839408404084140842408434084440845408464084740848408494085040851408524085340854408554085640857408584085940860408614086240863408644086540866408674086840869408704087140872408734087440875408764087740878408794088040881408824088340884408854088640887408884088940890408914089240893408944089540896408974089840899409004090140902409034090440905409064090740908409094091040911409124091340914409154091640917409184091940920409214092240923409244092540926409274092840929409304093140932409334093440935409364093740938409394094040941409424094340944409454094640947409484094940950409514095240953409544095540956409574095840959409604096140962409634096440965409664096740968409694097040971409724097340974409754097640977409784097940980409814098240983409844098540986409874098840989409904099140992409934099440995409964099740998409994100041001410024100341004410054100641007410084100941010410114101241013410144101541016410174101841019410204102141022410234102441025410264102741028410294103041031410324103341034410354103641037410384103941040410414104241043410444104541046410474104841049410504105141052410534105441055410564105741058410594106041061410624106341064410654106641067410684106941070410714107241073410744107541076410774107841079410804108141082410834108441085410864108741088410894109041091410924109341094410954109641097410984109941100411014110241103411044110541106411074110841109411104111141112411134111441115411164111741118411194112041121411224112341124411254112641127411284112941130411314113241133411344113541136411374113841139411404114141142411434114441145411464114741148411494115041151411524115341154411554115641157411584115941160411614116241163411644116541166411674116841169411704117141172411734117441175411764117741178411794118041181411824118341184411854118641187411884118941190411914119241193411944119541196411974119841199412004120141202412034120441205412064120741208412094121041211412124121341214412154121641217412184121941220412214122241223412244122541226412274122841229412304123141232412334123441235412364123741238412394124041241412424124341244412454124641247412484124941250412514125241253412544125541256412574125841259412604126141262412634126441265412664126741268412694127041271412724127341274412754127641277412784127941280412814128241283412844128541286412874128841289412904129141292412934129441295412964129741298412994130041301413024130341304413054130641307413084130941310413114131241313413144131541316413174131841319413204132141322413234132441325413264132741328413294133041331413324133341334413354133641337413384133941340413414134241343413444134541346413474134841349413504135141352413534135441355413564135741358413594136041361413624136341364413654136641367413684136941370413714137241373413744137541376413774137841379413804138141382413834138441385413864138741388413894139041391413924139341394413954139641397413984139941400414014140241403414044140541406414074140841409414104141141412414134141441415414164141741418414194142041421414224142341424414254142641427414284142941430414314143241433414344143541436414374143841439414404144141442414434144441445414464144741448414494145041451414524145341454414554145641457414584145941460414614146241463414644146541466414674146841469414704147141472414734147441475414764147741478414794148041481414824148341484414854148641487414884148941490414914149241493414944149541496414974149841499415004150141502415034150441505415064150741508415094151041511415124151341514415154151641517415184151941520415214152241523415244152541526415274152841529415304153141532415334153441535415364153741538415394154041541415424154341544415454154641547415484154941550415514155241553415544155541556415574155841559415604156141562415634156441565415664156741568415694157041571415724157341574415754157641577415784157941580415814158241583415844158541586415874158841589415904159141592415934159441595415964159741598415994160041601416024160341604416054160641607416084160941610416114161241613416144161541616416174161841619416204162141622416234162441625416264162741628416294163041631416324163341634416354163641637416384163941640416414164241643416444164541646416474164841649416504165141652416534165441655416564165741658416594166041661416624166341664416654166641667416684166941670416714167241673416744167541676416774167841679416804168141682416834168441685416864168741688416894169041691416924169341694416954169641697416984169941700417014170241703417044170541706417074170841709417104171141712417134171441715417164171741718417194172041721417224172341724417254172641727417284172941730417314173241733417344173541736417374173841739417404174141742417434174441745417464174741748417494175041751417524175341754417554175641757417584175941760417614176241763417644176541766417674176841769417704177141772417734177441775417764177741778417794178041781417824178341784417854178641787417884178941790417914179241793417944179541796417974179841799418004180141802418034180441805418064180741808418094181041811418124181341814418154181641817418184181941820418214182241823418244182541826418274182841829418304183141832418334183441835418364183741838418394184041841418424184341844418454184641847418484184941850418514185241853418544185541856418574185841859418604186141862418634186441865418664186741868418694187041871418724187341874418754187641877418784187941880418814188241883418844188541886418874188841889418904189141892418934189441895418964189741898418994190041901419024190341904419054190641907419084190941910419114191241913419144191541916419174191841919419204192141922419234192441925419264192741928419294193041931419324193341934419354193641937419384193941940419414194241943419444194541946419474194841949419504195141952419534195441955419564195741958419594196041961419624196341964419654196641967419684196941970419714197241973419744197541976419774197841979419804198141982419834198441985419864198741988419894199041991419924199341994419954199641997419984199942000420014200242003420044200542006420074200842009420104201142012420134201442015420164201742018420194202042021420224202342024420254202642027420284202942030420314203242033420344203542036420374203842039420404204142042420434204442045420464204742048420494205042051420524205342054420554205642057420584205942060420614206242063420644206542066420674206842069420704207142072420734207442075420764207742078420794208042081420824208342084420854208642087420884208942090420914209242093420944209542096420974209842099421004210142102421034210442105421064210742108421094211042111421124211342114421154211642117421184211942120421214212242123421244212542126421274212842129421304213142132421334213442135421364213742138421394214042141421424214342144421454214642147421484214942150421514215242153421544215542156421574215842159421604216142162421634216442165421664216742168421694217042171421724217342174421754217642177421784217942180421814218242183421844218542186421874218842189421904219142192421934219442195421964219742198421994220042201422024220342204422054220642207422084220942210422114221242213422144221542216422174221842219422204222142222422234222442225422264222742228422294223042231422324223342234422354223642237422384223942240422414224242243422444224542246422474224842249422504225142252422534225442255422564225742258422594226042261422624226342264422654226642267422684226942270422714227242273422744227542276422774227842279422804228142282422834228442285422864228742288422894229042291422924229342294422954229642297422984229942300423014230242303423044230542306423074230842309423104231142312423134231442315423164231742318423194232042321423224232342324423254232642327423284232942330423314233242333423344233542336423374233842339423404234142342423434234442345423464234742348423494235042351423524235342354423554235642357423584235942360423614236242363423644236542366423674236842369423704237142372423734237442375423764237742378423794238042381423824238342384423854238642387423884238942390423914239242393423944239542396423974239842399424004240142402424034240442405424064240742408424094241042411424124241342414424154241642417424184241942420424214242242423424244242542426424274242842429424304243142432424334243442435424364243742438424394244042441424424244342444424454244642447424484244942450424514245242453424544245542456424574245842459424604246142462424634246442465424664246742468424694247042471424724247342474424754247642477424784247942480424814248242483424844248542486424874248842489424904249142492424934249442495424964249742498424994250042501425024250342504425054250642507425084250942510425114251242513425144251542516425174251842519425204252142522425234252442525425264252742528425294253042531425324253342534425354253642537425384253942540425414254242543425444254542546425474254842549425504255142552425534255442555425564255742558425594256042561425624256342564425654256642567425684256942570425714257242573425744257542576425774257842579425804258142582425834258442585425864258742588425894259042591425924259342594425954259642597425984259942600426014260242603426044260542606426074260842609426104261142612426134261442615426164261742618426194262042621426224262342624426254262642627426284262942630426314263242633426344263542636426374263842639426404264142642426434264442645426464264742648426494265042651426524265342654426554265642657426584265942660426614266242663426644266542666426674266842669426704267142672426734267442675426764267742678426794268042681426824268342684426854268642687426884268942690426914269242693426944269542696426974269842699427004270142702427034270442705427064270742708427094271042711427124271342714427154271642717427184271942720427214272242723427244272542726427274272842729427304273142732427334273442735427364273742738427394274042741427424274342744427454274642747427484274942750427514275242753427544275542756427574275842759427604276142762427634276442765427664276742768427694277042771427724277342774427754277642777427784277942780427814278242783427844278542786427874278842789427904279142792427934279442795427964279742798427994280042801428024280342804428054280642807428084280942810428114281242813428144281542816428174281842819428204282142822428234282442825428264282742828428294283042831428324283342834428354283642837428384283942840428414284242843428444284542846428474284842849428504285142852428534285442855428564285742858428594286042861428624286342864428654286642867428684286942870428714287242873428744287542876428774287842879428804288142882428834288442885428864288742888428894289042891428924289342894428954289642897428984289942900429014290242903429044290542906429074290842909429104291142912429134291442915429164291742918429194292042921429224292342924429254292642927429284292942930429314293242933429344293542936429374293842939429404294142942429434294442945429464294742948429494295042951429524295342954429554295642957429584295942960429614296242963429644296542966429674296842969429704297142972429734297442975429764297742978429794298042981429824298342984429854298642987429884298942990429914299242993429944299542996429974299842999430004300143002430034300443005430064300743008430094301043011430124301343014430154301643017430184301943020430214302243023430244302543026430274302843029430304303143032430334303443035430364303743038430394304043041430424304343044430454304643047430484304943050430514305243053430544305543056430574305843059430604306143062430634306443065430664306743068430694307043071430724307343074430754307643077430784307943080430814308243083430844308543086430874308843089430904309143092430934309443095430964309743098430994310043101431024310343104431054310643107431084310943110431114311243113431144311543116431174311843119431204312143122431234312443125431264312743128431294313043131431324313343134431354313643137431384313943140431414314243143431444314543146431474314843149431504315143152431534315443155431564315743158431594316043161431624316343164431654316643167431684316943170431714317243173431744317543176431774317843179431804318143182431834318443185431864318743188431894319043191431924319343194431954319643197431984319943200432014320243203432044320543206432074320843209432104321143212432134321443215432164321743218432194322043221432224322343224432254322643227432284322943230432314323243233432344323543236432374323843239432404324143242432434324443245432464324743248432494325043251432524325343254432554325643257432584325943260432614326243263432644326543266432674326843269432704327143272432734327443275432764327743278432794328043281432824328343284432854328643287432884328943290432914329243293432944329543296432974329843299433004330143302433034330443305433064330743308433094331043311433124331343314433154331643317433184331943320433214332243323433244332543326433274332843329433304333143332433334333443335433364333743338433394334043341433424334343344433454334643347433484334943350433514335243353433544335543356433574335843359433604336143362433634336443365433664336743368433694337043371433724337343374433754337643377433784337943380433814338243383433844338543386433874338843389433904339143392433934339443395433964339743398433994340043401434024340343404434054340643407434084340943410434114341243413434144341543416434174341843419434204342143422434234342443425434264342743428434294343043431434324343343434434354343643437434384343943440434414344243443434444344543446434474344843449434504345143452434534345443455434564345743458434594346043461434624346343464434654346643467434684346943470434714347243473434744347543476434774347843479434804348143482434834348443485434864348743488434894349043491434924349343494434954349643497434984349943500435014350243503435044350543506435074350843509435104351143512435134351443515435164351743518435194352043521435224352343524435254352643527435284352943530435314353243533435344353543536435374353843539435404354143542435434354443545435464354743548435494355043551435524355343554435554355643557435584355943560435614356243563435644356543566435674356843569435704357143572435734357443575435764357743578435794358043581435824358343584435854358643587435884358943590435914359243593435944359543596435974359843599436004360143602436034360443605436064360743608436094361043611436124361343614436154361643617436184361943620436214362243623436244362543626436274362843629436304363143632436334363443635436364363743638436394364043641436424364343644436454364643647436484364943650436514365243653436544365543656436574365843659436604366143662436634366443665436664366743668436694367043671436724367343674436754367643677436784367943680436814368243683436844368543686436874368843689436904369143692436934369443695436964369743698436994370043701437024370343704437054370643707437084370943710437114371243713437144371543716437174371843719437204372143722437234372443725437264372743728437294373043731437324373343734437354373643737437384373943740437414374243743437444374543746437474374843749437504375143752437534375443755437564375743758437594376043761437624376343764437654376643767437684376943770437714377243773437744377543776437774377843779437804378143782437834378443785437864378743788437894379043791437924379343794437954379643797437984379943800438014380243803438044380543806438074380843809438104381143812438134381443815438164381743818438194382043821438224382343824438254382643827438284382943830438314383243833438344383543836438374383843839438404384143842438434384443845438464384743848438494385043851438524385343854438554385643857438584385943860438614386243863438644386543866438674386843869438704387143872438734387443875438764387743878438794388043881438824388343884438854388643887438884388943890438914389243893438944389543896438974389843899439004390143902439034390443905439064390743908439094391043911439124391343914439154391643917439184391943920439214392243923439244392543926439274392843929439304393143932439334393443935439364393743938439394394043941439424394343944439454394643947439484394943950439514395243953439544395543956439574395843959439604396143962439634396443965439664396743968439694397043971439724397343974439754397643977439784397943980439814398243983439844398543986439874398843989439904399143992439934399443995439964399743998439994400044001440024400344004440054400644007440084400944010440114401244013440144401544016440174401844019440204402144022440234402444025440264402744028440294403044031440324403344034440354403644037440384403944040440414404244043440444404544046440474404844049440504405144052440534405444055440564405744058440594406044061440624406344064440654406644067440684406944070440714407244073440744407544076440774407844079440804408144082440834408444085440864408744088440894409044091440924409344094440954409644097440984409944100441014410244103441044410544106441074410844109441104411144112441134411444115441164411744118441194412044121441224412344124441254412644127441284412944130441314413244133441344413544136441374413844139441404414144142441434414444145441464414744148441494415044151441524415344154441554415644157441584415944160441614416244163441644416544166441674416844169441704417144172441734417444175441764417744178441794418044181441824418344184441854418644187441884418944190441914419244193441944419544196441974419844199442004420144202442034420444205442064420744208442094421044211442124421344214442154421644217442184421944220442214422244223442244422544226442274422844229442304423144232442334423444235442364423744238442394424044241442424424344244442454424644247442484424944250442514425244253442544425544256442574425844259442604426144262442634426444265442664426744268442694427044271442724427344274442754427644277442784427944280442814428244283442844428544286442874428844289442904429144292442934429444295442964429744298442994430044301443024430344304443054430644307443084430944310443114431244313443144431544316443174431844319443204432144322443234432444325443264432744328443294433044331443324433344334443354433644337443384433944340443414434244343443444434544346443474434844349443504435144352443534435444355443564435744358443594436044361443624436344364443654436644367443684436944370443714437244373443744437544376443774437844379443804438144382443834438444385443864438744388443894439044391443924439344394443954439644397443984439944400444014440244403444044440544406444074440844409444104441144412444134441444415444164441744418444194442044421444224442344424444254442644427444284442944430444314443244433444344443544436444374443844439444404444144442444434444444445444464444744448444494445044451444524445344454444554445644457444584445944460444614446244463444644446544466444674446844469444704447144472444734447444475444764447744478444794448044481444824448344484444854448644487444884448944490444914449244493444944449544496444974449844499445004450144502445034450444505445064450744508445094451044511445124451344514445154451644517445184451944520445214452244523445244452544526445274452844529445304453144532445334453444535445364453744538445394454044541445424454344544445454454644547445484454944550445514455244553445544455544556445574455844559445604456144562445634456444565445664456744568445694457044571445724457344574445754457644577445784457944580445814458244583445844458544586445874458844589445904459144592445934459444595445964459744598445994460044601446024460344604446054460644607446084460944610446114461244613446144461544616446174461844619446204462144622446234462444625446264462744628446294463044631446324463344634446354463644637446384463944640446414464244643446444464544646446474464844649446504465144652446534465444655446564465744658446594466044661446624466344664446654466644667446684466944670446714467244673446744467544676446774467844679446804468144682446834468444685446864468744688446894469044691446924469344694446954469644697446984469944700447014470244703447044470544706447074470844709447104471144712447134471444715447164471744718447194472044721447224472344724447254472644727447284472944730447314473244733447344473544736447374473844739447404474144742447434474444745447464474744748447494475044751447524475344754447554475644757447584475944760447614476244763447644476544766447674476844769447704477144772447734477444775447764477744778447794478044781447824478344784447854478644787447884478944790447914479244793447944479544796447974479844799448004480144802448034480444805448064480744808448094481044811448124481344814448154481644817448184481944820448214482244823448244482544826448274482844829448304483144832448334483444835448364483744838448394484044841448424484344844448454484644847448484484944850448514485244853448544485544856448574485844859448604486144862448634486444865448664486744868448694487044871448724487344874448754487644877448784487944880448814488244883448844488544886448874488844889448904489144892448934489444895448964489744898448994490044901449024490344904449054490644907449084490944910449114491244913449144491544916449174491844919449204492144922449234492444925449264492744928449294493044931449324493344934449354493644937449384493944940449414494244943449444494544946449474494844949449504495144952449534495444955449564495744958449594496044961449624496344964449654496644967449684496944970449714497244973449744497544976449774497844979449804498144982449834498444985449864498744988449894499044991449924499344994449954499644997449984499945000450014500245003450044500545006450074500845009450104501145012450134501445015450164501745018450194502045021450224502345024450254502645027450284502945030450314503245033450344503545036450374503845039450404504145042450434504445045450464504745048450494505045051450524505345054450554505645057450584505945060450614506245063450644506545066450674506845069450704507145072450734507445075450764507745078450794508045081450824508345084450854508645087450884508945090450914509245093450944509545096450974509845099451004510145102451034510445105451064510745108451094511045111451124511345114451154511645117451184511945120451214512245123451244512545126451274512845129451304513145132451334513445135451364513745138451394514045141451424514345144451454514645147451484514945150451514515245153451544515545156451574515845159451604516145162451634516445165451664516745168451694517045171451724517345174451754517645177451784517945180451814518245183451844518545186451874518845189451904519145192451934519445195451964519745198451994520045201452024520345204452054520645207452084520945210452114521245213452144521545216452174521845219452204522145222452234522445225452264522745228452294523045231452324523345234452354523645237452384523945240452414524245243452444524545246452474524845249452504525145252452534525445255452564525745258452594526045261452624526345264452654526645267452684526945270
  1. (global["webpackJsonp"] = global["webpackJsonp"] || []).push([["common/vendor"],{
  2. /***/ 1:
  3. /*!*********************************************************!*\
  4. !*** ./node_modules/@dcloudio/uni-mp-weixin/dist/wx.js ***!
  5. \*********************************************************/
  6. /*! no static exports found */
  7. /***/ (function(module, exports, __webpack_require__) {
  8. "use strict";
  9. Object.defineProperty(exports, "__esModule", {
  10. value: true
  11. });
  12. exports.default = void 0;
  13. var objectKeys = ['qy', 'env', 'error', 'version', 'lanDebug', 'cloud', 'serviceMarket', 'router', 'worklet'];
  14. var singlePageDisableKey = ['lanDebug', 'router', 'worklet'];
  15. var target = typeof globalThis !== 'undefined' ? globalThis : function () {
  16. return this;
  17. }();
  18. var key = ['w', 'x'].join('');
  19. var oldWx = target[key];
  20. var launchOption = oldWx.getLaunchOptionsSync ? oldWx.getLaunchOptionsSync() : null;
  21. function isWxKey(key) {
  22. if (launchOption && launchOption.scene === 1154 && singlePageDisableKey.includes(key)) {
  23. return false;
  24. }
  25. return objectKeys.indexOf(key) > -1 || typeof oldWx[key] === 'function';
  26. }
  27. function initWx() {
  28. var newWx = {};
  29. for (var _key in oldWx) {
  30. if (isWxKey(_key)) {
  31. // TODO wrapper function
  32. newWx[_key] = oldWx[_key];
  33. }
  34. }
  35. return newWx;
  36. }
  37. target[key] = initWx();
  38. var _default = target[key];
  39. exports.default = _default;
  40. /***/ }),
  41. /***/ 10:
  42. /*!****************************************************************!*\
  43. !*** ./node_modules/@babel/runtime/helpers/nonIterableRest.js ***!
  44. \****************************************************************/
  45. /*! no static exports found */
  46. /***/ (function(module, exports) {
  47. function _nonIterableRest() {
  48. throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
  49. }
  50. module.exports = _nonIterableRest, module.exports.__esModule = true, module.exports["default"] = module.exports;
  51. /***/ }),
  52. /***/ 100:
  53. /*!*****************************************************************************!*\
  54. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/fr.js ***!
  55. \*****************************************************************************/
  56. /*! no static exports found */
  57. /***/ (function(module, exports, __webpack_require__) {
  58. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  59. //! moment.js locale configuration
  60. //! locale : French [fr]
  61. //! author : John Fischer : https://github.com/jfroffice
  62. ;
  63. (function (global, factory) {
  64. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  65. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  66. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  67. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  68. })(this, function (moment) {
  69. 'use strict';
  70. //! moment.js locale configuration
  71. var monthsStrictRegex = /^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,
  72. monthsShortStrictRegex = /(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?)/i,
  73. monthsRegex = /(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?|janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,
  74. monthsParse = [/^janv/i, /^févr/i, /^mars/i, /^avr/i, /^mai/i, /^juin/i, /^juil/i, /^août/i, /^sept/i, /^oct/i, /^nov/i, /^déc/i];
  75. var fr = moment.defineLocale('fr', {
  76. months: 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split('_'),
  77. monthsShort: 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split('_'),
  78. monthsRegex: monthsRegex,
  79. monthsShortRegex: monthsRegex,
  80. monthsStrictRegex: monthsStrictRegex,
  81. monthsShortStrictRegex: monthsShortStrictRegex,
  82. monthsParse: monthsParse,
  83. longMonthsParse: monthsParse,
  84. shortMonthsParse: monthsParse,
  85. weekdays: 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'),
  86. weekdaysShort: 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'),
  87. weekdaysMin: 'di_lu_ma_me_je_ve_sa'.split('_'),
  88. weekdaysParseExact: true,
  89. longDateFormat: {
  90. LT: 'HH:mm',
  91. LTS: 'HH:mm:ss',
  92. L: 'DD/MM/YYYY',
  93. LL: 'D MMMM YYYY',
  94. LLL: 'D MMMM YYYY HH:mm',
  95. LLLL: 'dddd D MMMM YYYY HH:mm'
  96. },
  97. calendar: {
  98. sameDay: '[Aujourd’hui à] LT',
  99. nextDay: '[Demain à] LT',
  100. nextWeek: 'dddd [à] LT',
  101. lastDay: '[Hier à] LT',
  102. lastWeek: 'dddd [dernier à] LT',
  103. sameElse: 'L'
  104. },
  105. relativeTime: {
  106. future: 'dans %s',
  107. past: 'il y a %s',
  108. s: 'quelques secondes',
  109. ss: '%d secondes',
  110. m: 'une minute',
  111. mm: '%d minutes',
  112. h: 'une heure',
  113. hh: '%d heures',
  114. d: 'un jour',
  115. dd: '%d jours',
  116. w: 'une semaine',
  117. ww: '%d semaines',
  118. M: 'un mois',
  119. MM: '%d mois',
  120. y: 'un an',
  121. yy: '%d ans'
  122. },
  123. dayOfMonthOrdinalParse: /\d{1,2}(er|)/,
  124. ordinal: function ordinal(number, period) {
  125. switch (period) {
  126. // TODO: Return 'e' when day of month > 1. Move this case inside
  127. // block for masculine words below.
  128. // See https://github.com/moment/moment/issues/3375
  129. case 'D':
  130. return number + (number === 1 ? 'er' : '');
  131. // Words with masculine grammatical gender: mois, trimestre, jour
  132. default:
  133. case 'M':
  134. case 'Q':
  135. case 'DDD':
  136. case 'd':
  137. return number + (number === 1 ? 'er' : 'e');
  138. // Words with feminine grammatical gender: semaine
  139. case 'w':
  140. case 'W':
  141. return number + (number === 1 ? 're' : 'e');
  142. }
  143. },
  144. week: {
  145. dow: 1,
  146. // Monday is the first day of the week.
  147. doy: 4 // The week that contains Jan 4th is the first week of the year.
  148. }
  149. });
  150. return fr;
  151. });
  152. /***/ }),
  153. /***/ 1006:
  154. /*!****************************************************************!*\
  155. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/api/memberInform.js ***!
  156. \****************************************************************/
  157. /*! no static exports found */
  158. /***/ (function(module, exports, __webpack_require__) {
  159. "use strict";
  160. Object.defineProperty(exports, "__esModule", {
  161. value: true
  162. });
  163. exports.uploadInformPic = exports.getInformSubject = exports.getInformList = exports.getInformInfo = exports.getCommonData = exports.cancelInform = exports.addInform = void 0;
  164. var _network = __webpack_require__(/*! ../util/network */ 38);
  165. // 投诉列表
  166. var getInformList = function getInformList(params) {
  167. return (0, _network.requestApi)('/memberinform/index', 'POST', {
  168. page: params.page,
  169. per_page: params.per_page
  170. }, 'member');
  171. };
  172. // 新增投诉
  173. exports.getInformList = getInformList;
  174. var addInform = function addInform(goods_id, subject, content, pic) {
  175. return (0, _network.requestApi)('/memberinform/inform_save', 'POST', {
  176. inform_goods_id: goods_id,
  177. inform_subject: subject,
  178. inform_content: content,
  179. pic_name: pic
  180. }, 'member');
  181. };
  182. // 取消投诉
  183. exports.addInform = addInform;
  184. var cancelInform = function cancelInform(order_id) {
  185. return (0, _network.requestApi)('/memberinform/inform_cancel', 'POST', {
  186. inform_id: order_id
  187. }, 'member');
  188. };
  189. // 更新凭证
  190. exports.cancelInform = cancelInform;
  191. var uploadInformPic = function uploadInformPic(file) {
  192. return (0, _network.requestApi)('/memberinform/upload_pic', 'POST', file, 'member', true);
  193. };
  194. // 获取公共信息
  195. exports.uploadInformPic = uploadInformPic;
  196. var getCommonData = function getCommonData(goods_id) {
  197. return (0, _network.requestApi)('/memberinform/inform_submit', 'POST', {
  198. goods_id: goods_id
  199. }, 'member');
  200. };
  201. exports.getCommonData = getCommonData;
  202. var getInformInfo = function getInformInfo(inform_id) {
  203. return (0, _network.requestApi)('/memberinform/inform_info', 'POST', {
  204. inform_id: inform_id
  205. }, 'member');
  206. };
  207. exports.getInformInfo = getInformInfo;
  208. var getInformSubject = function getInformSubject(type_id) {
  209. return (0, _network.requestApi)('/memberinform/get_subject_by_typeid', 'POST', {
  210. type_id: type_id
  211. }, 'member');
  212. };
  213. exports.getInformSubject = getInformSubject;
  214. /***/ }),
  215. /***/ 101:
  216. /*!********************************************************************************!*\
  217. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/fr-ca.js ***!
  218. \********************************************************************************/
  219. /*! no static exports found */
  220. /***/ (function(module, exports, __webpack_require__) {
  221. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  222. //! moment.js locale configuration
  223. //! locale : French (Canada) [fr-ca]
  224. //! author : Jonathan Abourbih : https://github.com/jonbca
  225. ;
  226. (function (global, factory) {
  227. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  228. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  229. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  230. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  231. })(this, function (moment) {
  232. 'use strict';
  233. //! moment.js locale configuration
  234. var frCa = moment.defineLocale('fr-ca', {
  235. months: 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split('_'),
  236. monthsShort: 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split('_'),
  237. monthsParseExact: true,
  238. weekdays: 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'),
  239. weekdaysShort: 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'),
  240. weekdaysMin: 'di_lu_ma_me_je_ve_sa'.split('_'),
  241. weekdaysParseExact: true,
  242. longDateFormat: {
  243. LT: 'HH:mm',
  244. LTS: 'HH:mm:ss',
  245. L: 'YYYY-MM-DD',
  246. LL: 'D MMMM YYYY',
  247. LLL: 'D MMMM YYYY HH:mm',
  248. LLLL: 'dddd D MMMM YYYY HH:mm'
  249. },
  250. calendar: {
  251. sameDay: '[Aujourd’hui à] LT',
  252. nextDay: '[Demain à] LT',
  253. nextWeek: 'dddd [à] LT',
  254. lastDay: '[Hier à] LT',
  255. lastWeek: 'dddd [dernier à] LT',
  256. sameElse: 'L'
  257. },
  258. relativeTime: {
  259. future: 'dans %s',
  260. past: 'il y a %s',
  261. s: 'quelques secondes',
  262. ss: '%d secondes',
  263. m: 'une minute',
  264. mm: '%d minutes',
  265. h: 'une heure',
  266. hh: '%d heures',
  267. d: 'un jour',
  268. dd: '%d jours',
  269. M: 'un mois',
  270. MM: '%d mois',
  271. y: 'un an',
  272. yy: '%d ans'
  273. },
  274. dayOfMonthOrdinalParse: /\d{1,2}(er|e)/,
  275. ordinal: function ordinal(number, period) {
  276. switch (period) {
  277. // Words with masculine grammatical gender: mois, trimestre, jour
  278. default:
  279. case 'M':
  280. case 'Q':
  281. case 'D':
  282. case 'DDD':
  283. case 'd':
  284. return number + (number === 1 ? 'er' : 'e');
  285. // Words with feminine grammatical gender: semaine
  286. case 'w':
  287. case 'W':
  288. return number + (number === 1 ? 're' : 'e');
  289. }
  290. }
  291. });
  292. return frCa;
  293. });
  294. /***/ }),
  295. /***/ 102:
  296. /*!********************************************************************************!*\
  297. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/fr-ch.js ***!
  298. \********************************************************************************/
  299. /*! no static exports found */
  300. /***/ (function(module, exports, __webpack_require__) {
  301. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  302. //! moment.js locale configuration
  303. //! locale : French (Switzerland) [fr-ch]
  304. //! author : Gaspard Bucher : https://github.com/gaspard
  305. ;
  306. (function (global, factory) {
  307. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  308. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  309. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  310. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  311. })(this, function (moment) {
  312. 'use strict';
  313. //! moment.js locale configuration
  314. var frCh = moment.defineLocale('fr-ch', {
  315. months: 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split('_'),
  316. monthsShort: 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split('_'),
  317. monthsParseExact: true,
  318. weekdays: 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'),
  319. weekdaysShort: 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'),
  320. weekdaysMin: 'di_lu_ma_me_je_ve_sa'.split('_'),
  321. weekdaysParseExact: true,
  322. longDateFormat: {
  323. LT: 'HH:mm',
  324. LTS: 'HH:mm:ss',
  325. L: 'DD.MM.YYYY',
  326. LL: 'D MMMM YYYY',
  327. LLL: 'D MMMM YYYY HH:mm',
  328. LLLL: 'dddd D MMMM YYYY HH:mm'
  329. },
  330. calendar: {
  331. sameDay: '[Aujourd’hui à] LT',
  332. nextDay: '[Demain à] LT',
  333. nextWeek: 'dddd [à] LT',
  334. lastDay: '[Hier à] LT',
  335. lastWeek: 'dddd [dernier à] LT',
  336. sameElse: 'L'
  337. },
  338. relativeTime: {
  339. future: 'dans %s',
  340. past: 'il y a %s',
  341. s: 'quelques secondes',
  342. ss: '%d secondes',
  343. m: 'une minute',
  344. mm: '%d minutes',
  345. h: 'une heure',
  346. hh: '%d heures',
  347. d: 'un jour',
  348. dd: '%d jours',
  349. M: 'un mois',
  350. MM: '%d mois',
  351. y: 'un an',
  352. yy: '%d ans'
  353. },
  354. dayOfMonthOrdinalParse: /\d{1,2}(er|e)/,
  355. ordinal: function ordinal(number, period) {
  356. switch (period) {
  357. // Words with masculine grammatical gender: mois, trimestre, jour
  358. default:
  359. case 'M':
  360. case 'Q':
  361. case 'D':
  362. case 'DDD':
  363. case 'd':
  364. return number + (number === 1 ? 'er' : 'e');
  365. // Words with feminine grammatical gender: semaine
  366. case 'w':
  367. case 'W':
  368. return number + (number === 1 ? 're' : 'e');
  369. }
  370. },
  371. week: {
  372. dow: 1,
  373. // Monday is the first day of the week.
  374. doy: 4 // The week that contains Jan 4th is the first week of the year.
  375. }
  376. });
  377. return frCh;
  378. });
  379. /***/ }),
  380. /***/ 1023:
  381. /*!*******************************************************************!*\
  382. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/api/memberCompliant.js ***!
  383. \*******************************************************************/
  384. /*! no static exports found */
  385. /***/ (function(module, exports, __webpack_require__) {
  386. "use strict";
  387. Object.defineProperty(exports, "__esModule", {
  388. value: true
  389. });
  390. exports.uploadComplaintPic = exports.handleComplain = exports.getComplaintTalk = exports.getComplaintList = exports.getComplaintInfo = exports.getCommonData = exports.cancelComplaint = exports.addComplaintTalk = exports.addComplaint = void 0;
  391. var _network = __webpack_require__(/*! ../util/network */ 38);
  392. // 投诉列表
  393. var getComplaintList = function getComplaintList(params) {
  394. return (0, _network.requestApi)('/membercomplain/index', 'POST', {
  395. page: params.page,
  396. per_page: params.per_page
  397. }, 'member');
  398. };
  399. // 新增投诉
  400. exports.getComplaintList = getComplaintList;
  401. var addComplaint = function addComplaint(order_id, goods_id, subject, content, pic) {
  402. return (0, _network.requestApi)('/membercomplain/complain_save', 'POST', {
  403. input_order_id: order_id,
  404. input_goods_id: goods_id,
  405. input_complain_subject: subject,
  406. input_complain_content: content,
  407. pic_name: pic
  408. }, 'member');
  409. };
  410. // 取消投诉
  411. exports.addComplaint = addComplaint;
  412. var cancelComplaint = function cancelComplaint(order_id) {
  413. return (0, _network.requestApi)('/membercomplain/complain_cancel', 'POST', {
  414. complain_id: order_id
  415. }, 'member');
  416. };
  417. // 更新凭证
  418. exports.cancelComplaint = cancelComplaint;
  419. var uploadComplaintPic = function uploadComplaintPic(file) {
  420. return (0, _network.requestApi)('/membercomplain/upload_pic', 'POST', file, 'member', true);
  421. };
  422. // 获取公共信息
  423. exports.uploadComplaintPic = uploadComplaintPic;
  424. var getCommonData = function getCommonData(order_id, goods_id) {
  425. return (0, _network.requestApi)('/membercomplain/get_common_data', 'POST', {
  426. order_id: order_id,
  427. goods_id: goods_id
  428. }, 'member');
  429. };
  430. exports.getCommonData = getCommonData;
  431. var getComplaintInfo = function getComplaintInfo(complain_id) {
  432. return (0, _network.requestApi)('/membercomplain/complain_show', 'POST', {
  433. complain_id: complain_id
  434. }, 'member');
  435. };
  436. exports.getComplaintInfo = getComplaintInfo;
  437. var addComplaintTalk = function addComplaintTalk(complain_id, complain_talk) {
  438. return (0, _network.requestApi)('/membercomplain/publish_complain_talk', 'POST', {
  439. complain_id: complain_id,
  440. complain_talk: complain_talk
  441. }, 'member');
  442. };
  443. exports.addComplaintTalk = addComplaintTalk;
  444. var getComplaintTalk = function getComplaintTalk(complain_id) {
  445. return (0, _network.requestApi)('/membercomplain/get_complain_talk', 'POST', {
  446. complain_id: complain_id
  447. }, 'member');
  448. };
  449. exports.getComplaintTalk = getComplaintTalk;
  450. var handleComplain = function handleComplain(complain_id) {
  451. return (0, _network.requestApi)('/membercomplain/apply_handle', 'POST', {
  452. input_complain_id: complain_id
  453. }, 'member');
  454. };
  455. exports.handleComplain = handleComplain;
  456. /***/ }),
  457. /***/ 103:
  458. /*!*****************************************************************************!*\
  459. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/fy.js ***!
  460. \*****************************************************************************/
  461. /*! no static exports found */
  462. /***/ (function(module, exports, __webpack_require__) {
  463. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  464. //! moment.js locale configuration
  465. //! locale : Frisian [fy]
  466. //! author : Robin van der Vliet : https://github.com/robin0van0der0v
  467. ;
  468. (function (global, factory) {
  469. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  470. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  471. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  472. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  473. })(this, function (moment) {
  474. 'use strict';
  475. //! moment.js locale configuration
  476. var monthsShortWithDots = 'jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.'.split('_'),
  477. monthsShortWithoutDots = 'jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des'.split('_');
  478. var fy = moment.defineLocale('fy', {
  479. months: 'jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber'.split('_'),
  480. monthsShort: function monthsShort(m, format) {
  481. if (!m) {
  482. return monthsShortWithDots;
  483. } else if (/-MMM-/.test(format)) {
  484. return monthsShortWithoutDots[m.month()];
  485. } else {
  486. return monthsShortWithDots[m.month()];
  487. }
  488. },
  489. monthsParseExact: true,
  490. weekdays: 'snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon'.split('_'),
  491. weekdaysShort: 'si._mo._ti._wo._to._fr._so.'.split('_'),
  492. weekdaysMin: 'Si_Mo_Ti_Wo_To_Fr_So'.split('_'),
  493. weekdaysParseExact: true,
  494. longDateFormat: {
  495. LT: 'HH:mm',
  496. LTS: 'HH:mm:ss',
  497. L: 'DD-MM-YYYY',
  498. LL: 'D MMMM YYYY',
  499. LLL: 'D MMMM YYYY HH:mm',
  500. LLLL: 'dddd D MMMM YYYY HH:mm'
  501. },
  502. calendar: {
  503. sameDay: '[hjoed om] LT',
  504. nextDay: '[moarn om] LT',
  505. nextWeek: 'dddd [om] LT',
  506. lastDay: '[juster om] LT',
  507. lastWeek: '[ôfrûne] dddd [om] LT',
  508. sameElse: 'L'
  509. },
  510. relativeTime: {
  511. future: 'oer %s',
  512. past: '%s lyn',
  513. s: 'in pear sekonden',
  514. ss: '%d sekonden',
  515. m: 'ien minút',
  516. mm: '%d minuten',
  517. h: 'ien oere',
  518. hh: '%d oeren',
  519. d: 'ien dei',
  520. dd: '%d dagen',
  521. M: 'ien moanne',
  522. MM: '%d moannen',
  523. y: 'ien jier',
  524. yy: '%d jierren'
  525. },
  526. dayOfMonthOrdinalParse: /\d{1,2}(ste|de)/,
  527. ordinal: function ordinal(number) {
  528. return number + (number === 1 || number === 8 || number >= 20 ? 'ste' : 'de');
  529. },
  530. week: {
  531. dow: 1,
  532. // Monday is the first day of the week.
  533. doy: 4 // The week that contains Jan 4th is the first week of the year.
  534. }
  535. });
  536. return fy;
  537. });
  538. /***/ }),
  539. /***/ 104:
  540. /*!*****************************************************************************!*\
  541. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/ga.js ***!
  542. \*****************************************************************************/
  543. /*! no static exports found */
  544. /***/ (function(module, exports, __webpack_require__) {
  545. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  546. //! moment.js locale configuration
  547. //! locale : Irish or Irish Gaelic [ga]
  548. //! author : André Silva : https://github.com/askpt
  549. ;
  550. (function (global, factory) {
  551. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  552. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  553. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  554. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  555. })(this, function (moment) {
  556. 'use strict';
  557. //! moment.js locale configuration
  558. var months = ['Eanáir', 'Feabhra', 'Márta', 'Aibreán', 'Bealtaine', 'Meitheamh', 'Iúil', 'Lúnasa', 'Meán Fómhair', 'Deireadh Fómhair', 'Samhain', 'Nollaig'],
  559. monthsShort = ['Ean', 'Feabh', 'Márt', 'Aib', 'Beal', 'Meith', 'Iúil', 'Lún', 'M.F.', 'D.F.', 'Samh', 'Noll'],
  560. weekdays = ['Dé Domhnaigh', 'Dé Luain', 'Dé Máirt', 'Dé Céadaoin', 'Déardaoin', 'Dé hAoine', 'Dé Sathairn'],
  561. weekdaysShort = ['Domh', 'Luan', 'Máirt', 'Céad', 'Déar', 'Aoine', 'Sath'],
  562. weekdaysMin = ['Do', 'Lu', 'Má', 'Cé', 'Dé', 'A', 'Sa'];
  563. var ga = moment.defineLocale('ga', {
  564. months: months,
  565. monthsShort: monthsShort,
  566. monthsParseExact: true,
  567. weekdays: weekdays,
  568. weekdaysShort: weekdaysShort,
  569. weekdaysMin: weekdaysMin,
  570. longDateFormat: {
  571. LT: 'HH:mm',
  572. LTS: 'HH:mm:ss',
  573. L: 'DD/MM/YYYY',
  574. LL: 'D MMMM YYYY',
  575. LLL: 'D MMMM YYYY HH:mm',
  576. LLLL: 'dddd, D MMMM YYYY HH:mm'
  577. },
  578. calendar: {
  579. sameDay: '[Inniu ag] LT',
  580. nextDay: '[Amárach ag] LT',
  581. nextWeek: 'dddd [ag] LT',
  582. lastDay: '[Inné ag] LT',
  583. lastWeek: 'dddd [seo caite] [ag] LT',
  584. sameElse: 'L'
  585. },
  586. relativeTime: {
  587. future: 'i %s',
  588. past: '%s ó shin',
  589. s: 'cúpla soicind',
  590. ss: '%d soicind',
  591. m: 'nóiméad',
  592. mm: '%d nóiméad',
  593. h: 'uair an chloig',
  594. hh: '%d uair an chloig',
  595. d: 'lá',
  596. dd: '%d lá',
  597. M: 'mí',
  598. MM: '%d míonna',
  599. y: 'bliain',
  600. yy: '%d bliain'
  601. },
  602. dayOfMonthOrdinalParse: /\d{1,2}(d|na|mh)/,
  603. ordinal: function ordinal(number) {
  604. var output = number === 1 ? 'd' : number % 10 === 2 ? 'na' : 'mh';
  605. return number + output;
  606. },
  607. week: {
  608. dow: 1,
  609. // Monday is the first day of the week.
  610. doy: 4 // The week that contains Jan 4th is the first week of the year.
  611. }
  612. });
  613. return ga;
  614. });
  615. /***/ }),
  616. /***/ 1042:
  617. /*!*****************************************************************!*\
  618. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/api/memberPayment.js ***!
  619. \*****************************************************************/
  620. /*! no static exports found */
  621. /***/ (function(module, exports, __webpack_require__) {
  622. "use strict";
  623. Object.defineProperty(exports, "__esModule", {
  624. value: true
  625. });
  626. exports.pay = exports.getPaymentList = void 0;
  627. var _network = __webpack_require__(/*! ../util/network */ 38);
  628. var _config = __webpack_require__(/*! ../static/config */ 39);
  629. // 获取订单支付信息
  630. // 用户支付
  631. var pay = function pay(paySn, payType, data, key) {
  632. var uniapp = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : 0;
  633. return (0, _network.requestRaw)(_config.env.SITE_URL + '/index.php?s=api/Memberpayment/' + payType + '/pay_sn/' + paySn + '/password/' + data.password + '/rcb_pay/' + data.rcb_pay + '/pd_pay/' + data.pd_pay + '/payment_code/' + data.payment_code + '/key/' + key + '/uniapp/' + uniapp + '/openid/' + data.openid + '/random_number/' + Math.random() + '/');
  634. };
  635. // 获取支付方式列表
  636. exports.pay = pay;
  637. var getPaymentList = function getPaymentList() {
  638. var payment_platform = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
  639. var payment_code = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
  640. return (0, _network.requestApi)('/Memberpayment/payment_list', 'POST', {
  641. payment_platform: payment_platform,
  642. payment_code: payment_code
  643. }, 'member');
  644. };
  645. exports.getPaymentList = getPaymentList;
  646. /***/ }),
  647. /***/ 105:
  648. /*!*****************************************************************************!*\
  649. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/gd.js ***!
  650. \*****************************************************************************/
  651. /*! no static exports found */
  652. /***/ (function(module, exports, __webpack_require__) {
  653. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  654. //! moment.js locale configuration
  655. //! locale : Scottish Gaelic [gd]
  656. //! author : Jon Ashdown : https://github.com/jonashdown
  657. ;
  658. (function (global, factory) {
  659. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  660. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  661. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  662. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  663. })(this, function (moment) {
  664. 'use strict';
  665. //! moment.js locale configuration
  666. var months = ['Am Faoilleach', 'An Gearran', 'Am Màrt', 'An Giblean', 'An Cèitean', 'An t-Ògmhios', 'An t-Iuchar', 'An Lùnastal', 'An t-Sultain', 'An Dàmhair', 'An t-Samhain', 'An Dùbhlachd'],
  667. monthsShort = ['Faoi', 'Gear', 'Màrt', 'Gibl', 'Cèit', 'Ògmh', 'Iuch', 'Lùn', 'Sult', 'Dàmh', 'Samh', 'Dùbh'],
  668. weekdays = ['Didòmhnaich', 'Diluain', 'Dimàirt', 'Diciadain', 'Diardaoin', 'Dihaoine', 'Disathairne'],
  669. weekdaysShort = ['Did', 'Dil', 'Dim', 'Dic', 'Dia', 'Dih', 'Dis'],
  670. weekdaysMin = ['Dò', 'Lu', 'Mà', 'Ci', 'Ar', 'Ha', 'Sa'];
  671. var gd = moment.defineLocale('gd', {
  672. months: months,
  673. monthsShort: monthsShort,
  674. monthsParseExact: true,
  675. weekdays: weekdays,
  676. weekdaysShort: weekdaysShort,
  677. weekdaysMin: weekdaysMin,
  678. longDateFormat: {
  679. LT: 'HH:mm',
  680. LTS: 'HH:mm:ss',
  681. L: 'DD/MM/YYYY',
  682. LL: 'D MMMM YYYY',
  683. LLL: 'D MMMM YYYY HH:mm',
  684. LLLL: 'dddd, D MMMM YYYY HH:mm'
  685. },
  686. calendar: {
  687. sameDay: '[An-diugh aig] LT',
  688. nextDay: '[A-màireach aig] LT',
  689. nextWeek: 'dddd [aig] LT',
  690. lastDay: '[An-dè aig] LT',
  691. lastWeek: 'dddd [seo chaidh] [aig] LT',
  692. sameElse: 'L'
  693. },
  694. relativeTime: {
  695. future: 'ann an %s',
  696. past: 'bho chionn %s',
  697. s: 'beagan diogan',
  698. ss: '%d diogan',
  699. m: 'mionaid',
  700. mm: '%d mionaidean',
  701. h: 'uair',
  702. hh: '%d uairean',
  703. d: 'latha',
  704. dd: '%d latha',
  705. M: 'mìos',
  706. MM: '%d mìosan',
  707. y: 'bliadhna',
  708. yy: '%d bliadhna'
  709. },
  710. dayOfMonthOrdinalParse: /\d{1,2}(d|na|mh)/,
  711. ordinal: function ordinal(number) {
  712. var output = number === 1 ? 'd' : number % 10 === 2 ? 'na' : 'mh';
  713. return number + output;
  714. },
  715. week: {
  716. dow: 1,
  717. // Monday is the first day of the week.
  718. doy: 4 // The week that contains Jan 4th is the first week of the year.
  719. }
  720. });
  721. return gd;
  722. });
  723. /***/ }),
  724. /***/ 1051:
  725. /*!***************************************************************!*\
  726. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/api/memberOrder.js ***!
  727. \***************************************************************/
  728. /*! no static exports found */
  729. /***/ (function(module, exports, __webpack_require__) {
  730. "use strict";
  731. Object.defineProperty(exports, "__esModule", {
  732. value: true
  733. });
  734. exports.saveOrderEvaluate = exports.receiveOrder = exports.getOrderList = exports.getOrderInfo = exports.getOrderEvaluateInfo = exports.getOrderDeliver = exports.deleteOrder = exports.cancelOrder = void 0;
  735. var _network = __webpack_require__(/*! ../util/network */ 38);
  736. // 获取用户订单列表
  737. var getOrderList = function getOrderList(parmas, stateType, orderKey, keyword) {
  738. return (0, _network.requestApi)('/Memberorder/order_list', 'POST', {
  739. 'page': parmas.page,
  740. 'per_page': parmas.per_page,
  741. 'state_type': stateType,
  742. 'order_key': orderKey,
  743. 'keyword': keyword
  744. }, 'member');
  745. };
  746. // 获取订单信息
  747. exports.getOrderList = getOrderList;
  748. var getOrderInfo = function getOrderInfo(orderId) {
  749. return (0, _network.requestApi)('/Memberorder/order_info', 'POST', {
  750. 'order_id': orderId
  751. }, 'member');
  752. };
  753. // 订单评价
  754. exports.getOrderInfo = getOrderInfo;
  755. var saveOrderEvaluate = function saveOrderEvaluate(orderId, result) {
  756. return (0, _network.requestApi)('/Memberevaluate/save', 'POST', Object.assign({
  757. 'order_id': orderId
  758. }, result), 'member');
  759. };
  760. // 获取评价信息
  761. exports.saveOrderEvaluate = saveOrderEvaluate;
  762. var getOrderEvaluateInfo = function getOrderEvaluateInfo(orderId) {
  763. return (0, _network.requestApi)('/Memberevaluate/index', 'POST', {
  764. 'order_id': orderId
  765. }, 'member');
  766. };
  767. // 取消订单
  768. exports.getOrderEvaluateInfo = getOrderEvaluateInfo;
  769. var cancelOrder = function cancelOrder(orderId) {
  770. return (0, _network.requestApi)('/Memberorder/order_cancel', 'POST', {
  771. 'order_id': orderId
  772. }, 'member');
  773. };
  774. // 删除订单
  775. exports.cancelOrder = cancelOrder;
  776. var deleteOrder = function deleteOrder(orderId) {
  777. return (0, _network.requestApi)('/Memberorder/order_delete', 'POST', {
  778. 'order_id': orderId
  779. }, 'member');
  780. };
  781. // 订单收货
  782. exports.deleteOrder = deleteOrder;
  783. var receiveOrder = function receiveOrder(orderId) {
  784. return (0, _network.requestApi)('/Memberorder/order_receive', 'POST', {
  785. 'order_id': orderId
  786. }, 'member');
  787. };
  788. // 物流跟踪
  789. exports.receiveOrder = receiveOrder;
  790. var getOrderDeliver = function getOrderDeliver(orderId) {
  791. return (0, _network.requestApi)('/Memberorder/search_deliver', 'POST', {
  792. 'order_id': orderId
  793. }, 'member');
  794. };
  795. exports.getOrderDeliver = getOrderDeliver;
  796. /***/ }),
  797. /***/ 106:
  798. /*!*****************************************************************************!*\
  799. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/gl.js ***!
  800. \*****************************************************************************/
  801. /*! no static exports found */
  802. /***/ (function(module, exports, __webpack_require__) {
  803. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  804. //! moment.js locale configuration
  805. //! locale : Galician [gl]
  806. //! author : Juan G. Hurtado : https://github.com/juanghurtado
  807. ;
  808. (function (global, factory) {
  809. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  810. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  811. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  812. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  813. })(this, function (moment) {
  814. 'use strict';
  815. //! moment.js locale configuration
  816. var gl = moment.defineLocale('gl', {
  817. months: 'xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro'.split('_'),
  818. monthsShort: 'xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.'.split('_'),
  819. monthsParseExact: true,
  820. weekdays: 'domingo_luns_martes_mércores_xoves_venres_sábado'.split('_'),
  821. weekdaysShort: 'dom._lun._mar._mér._xov._ven._sáb.'.split('_'),
  822. weekdaysMin: 'do_lu_ma_mé_xo_ve_sá'.split('_'),
  823. weekdaysParseExact: true,
  824. longDateFormat: {
  825. LT: 'H:mm',
  826. LTS: 'H:mm:ss',
  827. L: 'DD/MM/YYYY',
  828. LL: 'D [de] MMMM [de] YYYY',
  829. LLL: 'D [de] MMMM [de] YYYY H:mm',
  830. LLLL: 'dddd, D [de] MMMM [de] YYYY H:mm'
  831. },
  832. calendar: {
  833. sameDay: function sameDay() {
  834. return '[hoxe ' + (this.hours() !== 1 ? 'ás' : 'á') + '] LT';
  835. },
  836. nextDay: function nextDay() {
  837. return '[mañá ' + (this.hours() !== 1 ? 'ás' : 'á') + '] LT';
  838. },
  839. nextWeek: function nextWeek() {
  840. return 'dddd [' + (this.hours() !== 1 ? 'ás' : 'a') + '] LT';
  841. },
  842. lastDay: function lastDay() {
  843. return '[onte ' + (this.hours() !== 1 ? 'á' : 'a') + '] LT';
  844. },
  845. lastWeek: function lastWeek() {
  846. return '[o] dddd [pasado ' + (this.hours() !== 1 ? 'ás' : 'a') + '] LT';
  847. },
  848. sameElse: 'L'
  849. },
  850. relativeTime: {
  851. future: function future(str) {
  852. if (str.indexOf('un') === 0) {
  853. return 'n' + str;
  854. }
  855. return 'en ' + str;
  856. },
  857. past: 'hai %s',
  858. s: 'uns segundos',
  859. ss: '%d segundos',
  860. m: 'un minuto',
  861. mm: '%d minutos',
  862. h: 'unha hora',
  863. hh: '%d horas',
  864. d: 'un día',
  865. dd: '%d días',
  866. M: 'un mes',
  867. MM: '%d meses',
  868. y: 'un ano',
  869. yy: '%d anos'
  870. },
  871. dayOfMonthOrdinalParse: /\d{1,2}º/,
  872. ordinal: '%dº',
  873. week: {
  874. dow: 1,
  875. // Monday is the first day of the week.
  876. doy: 4 // The week that contains Jan 4th is the first week of the year.
  877. }
  878. });
  879. return gl;
  880. });
  881. /***/ }),
  882. /***/ 107:
  883. /*!***********************************************************************************!*\
  884. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/gom-deva.js ***!
  885. \***********************************************************************************/
  886. /*! no static exports found */
  887. /***/ (function(module, exports, __webpack_require__) {
  888. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  889. //! moment.js locale configuration
  890. //! locale : Konkani Devanagari script [gom-deva]
  891. //! author : The Discoverer : https://github.com/WikiDiscoverer
  892. ;
  893. (function (global, factory) {
  894. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  895. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  896. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  897. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  898. })(this, function (moment) {
  899. 'use strict';
  900. //! moment.js locale configuration
  901. function processRelativeTime(number, withoutSuffix, key, isFuture) {
  902. var format = {
  903. s: ['थोडया सॅकंडांनी', 'थोडे सॅकंड'],
  904. ss: [number + ' सॅकंडांनी', number + ' सॅकंड'],
  905. m: ['एका मिणटान', 'एक मिनूट'],
  906. mm: [number + ' मिणटांनी', number + ' मिणटां'],
  907. h: ['एका वरान', 'एक वर'],
  908. hh: [number + ' वरांनी', number + ' वरां'],
  909. d: ['एका दिसान', 'एक दीस'],
  910. dd: [number + ' दिसांनी', number + ' दीस'],
  911. M: ['एका म्हयन्यान', 'एक म्हयनो'],
  912. MM: [number + ' म्हयन्यानी', number + ' म्हयने'],
  913. y: ['एका वर्सान', 'एक वर्स'],
  914. yy: [number + ' वर्सांनी', number + ' वर्सां']
  915. };
  916. return isFuture ? format[key][0] : format[key][1];
  917. }
  918. var gomDeva = moment.defineLocale('gom-deva', {
  919. months: {
  920. standalone: 'जानेवारी_फेब्रुवारी_मार्च_एप्रील_मे_जून_जुलय_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर'.split('_'),
  921. format: 'जानेवारीच्या_फेब्रुवारीच्या_मार्चाच्या_एप्रीलाच्या_मेयाच्या_जूनाच्या_जुलयाच्या_ऑगस्टाच्या_सप्टेंबराच्या_ऑक्टोबराच्या_नोव्हेंबराच्या_डिसेंबराच्या'.split('_'),
  922. isFormat: /MMMM(\s)+D[oD]?/
  923. },
  924. monthsShort: 'जाने._फेब्रु._मार्च_एप्री._मे_जून_जुल._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.'.split('_'),
  925. monthsParseExact: true,
  926. weekdays: 'आयतार_सोमार_मंगळार_बुधवार_बिरेस्तार_सुक्रार_शेनवार'.split('_'),
  927. weekdaysShort: 'आयत._सोम._मंगळ._बुध._ब्रेस्त._सुक्र._शेन.'.split('_'),
  928. weekdaysMin: 'आ_सो_मं_बु_ब्रे_सु_शे'.split('_'),
  929. weekdaysParseExact: true,
  930. longDateFormat: {
  931. LT: 'A h:mm [वाजतां]',
  932. LTS: 'A h:mm:ss [वाजतां]',
  933. L: 'DD-MM-YYYY',
  934. LL: 'D MMMM YYYY',
  935. LLL: 'D MMMM YYYY A h:mm [वाजतां]',
  936. LLLL: 'dddd, MMMM Do, YYYY, A h:mm [वाजतां]',
  937. llll: 'ddd, D MMM YYYY, A h:mm [वाजतां]'
  938. },
  939. calendar: {
  940. sameDay: '[आयज] LT',
  941. nextDay: '[फाल्यां] LT',
  942. nextWeek: '[फुडलो] dddd[,] LT',
  943. lastDay: '[काल] LT',
  944. lastWeek: '[फाटलो] dddd[,] LT',
  945. sameElse: 'L'
  946. },
  947. relativeTime: {
  948. future: '%s',
  949. past: '%s आदीं',
  950. s: processRelativeTime,
  951. ss: processRelativeTime,
  952. m: processRelativeTime,
  953. mm: processRelativeTime,
  954. h: processRelativeTime,
  955. hh: processRelativeTime,
  956. d: processRelativeTime,
  957. dd: processRelativeTime,
  958. M: processRelativeTime,
  959. MM: processRelativeTime,
  960. y: processRelativeTime,
  961. yy: processRelativeTime
  962. },
  963. dayOfMonthOrdinalParse: /\d{1,2}(वेर)/,
  964. ordinal: function ordinal(number, period) {
  965. switch (period) {
  966. // the ordinal 'वेर' only applies to day of the month
  967. case 'D':
  968. return number + 'वेर';
  969. default:
  970. case 'M':
  971. case 'Q':
  972. case 'DDD':
  973. case 'd':
  974. case 'w':
  975. case 'W':
  976. return number;
  977. }
  978. },
  979. week: {
  980. dow: 0,
  981. // Sunday is the first day of the week
  982. doy: 3 // The week that contains Jan 4th is the first week of the year (7 + 0 - 4)
  983. },
  984. meridiemParse: /राती|सकाळीं|दनपारां|सांजे/,
  985. meridiemHour: function meridiemHour(hour, meridiem) {
  986. if (hour === 12) {
  987. hour = 0;
  988. }
  989. if (meridiem === 'राती') {
  990. return hour < 4 ? hour : hour + 12;
  991. } else if (meridiem === 'सकाळीं') {
  992. return hour;
  993. } else if (meridiem === 'दनपारां') {
  994. return hour > 12 ? hour : hour + 12;
  995. } else if (meridiem === 'सांजे') {
  996. return hour + 12;
  997. }
  998. },
  999. meridiem: function meridiem(hour, minute, isLower) {
  1000. if (hour < 4) {
  1001. return 'राती';
  1002. } else if (hour < 12) {
  1003. return 'सकाळीं';
  1004. } else if (hour < 16) {
  1005. return 'दनपारां';
  1006. } else if (hour < 20) {
  1007. return 'सांजे';
  1008. } else {
  1009. return 'राती';
  1010. }
  1011. }
  1012. });
  1013. return gomDeva;
  1014. });
  1015. /***/ }),
  1016. /***/ 108:
  1017. /*!***********************************************************************************!*\
  1018. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/gom-latn.js ***!
  1019. \***********************************************************************************/
  1020. /*! no static exports found */
  1021. /***/ (function(module, exports, __webpack_require__) {
  1022. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  1023. //! moment.js locale configuration
  1024. //! locale : Konkani Latin script [gom-latn]
  1025. //! author : The Discoverer : https://github.com/WikiDiscoverer
  1026. ;
  1027. (function (global, factory) {
  1028. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  1029. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  1030. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  1031. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  1032. })(this, function (moment) {
  1033. 'use strict';
  1034. //! moment.js locale configuration
  1035. function processRelativeTime(number, withoutSuffix, key, isFuture) {
  1036. var format = {
  1037. s: ['thoddea sekondamni', 'thodde sekond'],
  1038. ss: [number + ' sekondamni', number + ' sekond'],
  1039. m: ['eka mintan', 'ek minut'],
  1040. mm: [number + ' mintamni', number + ' mintam'],
  1041. h: ['eka voran', 'ek vor'],
  1042. hh: [number + ' voramni', number + ' voram'],
  1043. d: ['eka disan', 'ek dis'],
  1044. dd: [number + ' disamni', number + ' dis'],
  1045. M: ['eka mhoinean', 'ek mhoino'],
  1046. MM: [number + ' mhoineamni', number + ' mhoine'],
  1047. y: ['eka vorsan', 'ek voros'],
  1048. yy: [number + ' vorsamni', number + ' vorsam']
  1049. };
  1050. return isFuture ? format[key][0] : format[key][1];
  1051. }
  1052. var gomLatn = moment.defineLocale('gom-latn', {
  1053. months: {
  1054. standalone: 'Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr'.split('_'),
  1055. format: 'Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea'.split('_'),
  1056. isFormat: /MMMM(\s)+D[oD]?/
  1057. },
  1058. monthsShort: 'Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.'.split('_'),
  1059. monthsParseExact: true,
  1060. weekdays: "Aitar_Somar_Mongllar_Budhvar_Birestar_Sukrar_Son'var".split('_'),
  1061. weekdaysShort: 'Ait._Som._Mon._Bud._Bre._Suk._Son.'.split('_'),
  1062. weekdaysMin: 'Ai_Sm_Mo_Bu_Br_Su_Sn'.split('_'),
  1063. weekdaysParseExact: true,
  1064. longDateFormat: {
  1065. LT: 'A h:mm [vazta]',
  1066. LTS: 'A h:mm:ss [vazta]',
  1067. L: 'DD-MM-YYYY',
  1068. LL: 'D MMMM YYYY',
  1069. LLL: 'D MMMM YYYY A h:mm [vazta]',
  1070. LLLL: 'dddd, MMMM Do, YYYY, A h:mm [vazta]',
  1071. llll: 'ddd, D MMM YYYY, A h:mm [vazta]'
  1072. },
  1073. calendar: {
  1074. sameDay: '[Aiz] LT',
  1075. nextDay: '[Faleam] LT',
  1076. nextWeek: '[Fuddlo] dddd[,] LT',
  1077. lastDay: '[Kal] LT',
  1078. lastWeek: '[Fattlo] dddd[,] LT',
  1079. sameElse: 'L'
  1080. },
  1081. relativeTime: {
  1082. future: '%s',
  1083. past: '%s adim',
  1084. s: processRelativeTime,
  1085. ss: processRelativeTime,
  1086. m: processRelativeTime,
  1087. mm: processRelativeTime,
  1088. h: processRelativeTime,
  1089. hh: processRelativeTime,
  1090. d: processRelativeTime,
  1091. dd: processRelativeTime,
  1092. M: processRelativeTime,
  1093. MM: processRelativeTime,
  1094. y: processRelativeTime,
  1095. yy: processRelativeTime
  1096. },
  1097. dayOfMonthOrdinalParse: /\d{1,2}(er)/,
  1098. ordinal: function ordinal(number, period) {
  1099. switch (period) {
  1100. // the ordinal 'er' only applies to day of the month
  1101. case 'D':
  1102. return number + 'er';
  1103. default:
  1104. case 'M':
  1105. case 'Q':
  1106. case 'DDD':
  1107. case 'd':
  1108. case 'w':
  1109. case 'W':
  1110. return number;
  1111. }
  1112. },
  1113. week: {
  1114. dow: 0,
  1115. // Sunday is the first day of the week
  1116. doy: 3 // The week that contains Jan 4th is the first week of the year (7 + 0 - 4)
  1117. },
  1118. meridiemParse: /rati|sokallim|donparam|sanje/,
  1119. meridiemHour: function meridiemHour(hour, meridiem) {
  1120. if (hour === 12) {
  1121. hour = 0;
  1122. }
  1123. if (meridiem === 'rati') {
  1124. return hour < 4 ? hour : hour + 12;
  1125. } else if (meridiem === 'sokallim') {
  1126. return hour;
  1127. } else if (meridiem === 'donparam') {
  1128. return hour > 12 ? hour : hour + 12;
  1129. } else if (meridiem === 'sanje') {
  1130. return hour + 12;
  1131. }
  1132. },
  1133. meridiem: function meridiem(hour, minute, isLower) {
  1134. if (hour < 4) {
  1135. return 'rati';
  1136. } else if (hour < 12) {
  1137. return 'sokallim';
  1138. } else if (hour < 16) {
  1139. return 'donparam';
  1140. } else if (hour < 20) {
  1141. return 'sanje';
  1142. } else {
  1143. return 'rati';
  1144. }
  1145. }
  1146. });
  1147. return gomLatn;
  1148. });
  1149. /***/ }),
  1150. /***/ 109:
  1151. /*!*****************************************************************************!*\
  1152. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/gu.js ***!
  1153. \*****************************************************************************/
  1154. /*! no static exports found */
  1155. /***/ (function(module, exports, __webpack_require__) {
  1156. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  1157. //! moment.js locale configuration
  1158. //! locale : Gujarati [gu]
  1159. //! author : Kaushik Thanki : https://github.com/Kaushik1987
  1160. ;
  1161. (function (global, factory) {
  1162. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  1163. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  1164. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  1165. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  1166. })(this, function (moment) {
  1167. 'use strict';
  1168. //! moment.js locale configuration
  1169. var symbolMap = {
  1170. 1: '૧',
  1171. 2: '૨',
  1172. 3: '૩',
  1173. 4: '૪',
  1174. 5: '૫',
  1175. 6: '૬',
  1176. 7: '૭',
  1177. 8: '૮',
  1178. 9: '૯',
  1179. 0: '૦'
  1180. },
  1181. numberMap = {
  1182. '૧': '1',
  1183. '૨': '2',
  1184. '૩': '3',
  1185. '૪': '4',
  1186. '૫': '5',
  1187. '૬': '6',
  1188. '૭': '7',
  1189. '૮': '8',
  1190. '૯': '9',
  1191. '૦': '0'
  1192. };
  1193. var gu = moment.defineLocale('gu', {
  1194. months: 'જાન્યુઆરી_ફેબ્રુઆરી_માર્ચ_એપ્રિલ_મે_જૂન_જુલાઈ_ઑગસ્ટ_સપ્ટેમ્બર_ઑક્ટ્બર_નવેમ્બર_ડિસેમ્બર'.split('_'),
  1195. monthsShort: 'જાન્યુ._ફેબ્રુ._માર્ચ_એપ્રિ._મે_જૂન_જુલા._ઑગ._સપ્ટે._ઑક્ટ્._નવે._ડિસે.'.split('_'),
  1196. monthsParseExact: true,
  1197. weekdays: 'રવિવાર_સોમવાર_મંગળવાર_બુધ્વાર_ગુરુવાર_શુક્રવાર_શનિવાર'.split('_'),
  1198. weekdaysShort: 'રવિ_સોમ_મંગળ_બુધ્_ગુરુ_શુક્ર_શનિ'.split('_'),
  1199. weekdaysMin: 'ર_સો_મં_બુ_ગુ_શુ_શ'.split('_'),
  1200. longDateFormat: {
  1201. LT: 'A h:mm વાગ્યે',
  1202. LTS: 'A h:mm:ss વાગ્યે',
  1203. L: 'DD/MM/YYYY',
  1204. LL: 'D MMMM YYYY',
  1205. LLL: 'D MMMM YYYY, A h:mm વાગ્યે',
  1206. LLLL: 'dddd, D MMMM YYYY, A h:mm વાગ્યે'
  1207. },
  1208. calendar: {
  1209. sameDay: '[આજ] LT',
  1210. nextDay: '[કાલે] LT',
  1211. nextWeek: 'dddd, LT',
  1212. lastDay: '[ગઇકાલે] LT',
  1213. lastWeek: '[પાછલા] dddd, LT',
  1214. sameElse: 'L'
  1215. },
  1216. relativeTime: {
  1217. future: '%s મા',
  1218. past: '%s પહેલા',
  1219. s: 'અમુક પળો',
  1220. ss: '%d સેકંડ',
  1221. m: 'એક મિનિટ',
  1222. mm: '%d મિનિટ',
  1223. h: 'એક કલાક',
  1224. hh: '%d કલાક',
  1225. d: 'એક દિવસ',
  1226. dd: '%d દિવસ',
  1227. M: 'એક મહિનો',
  1228. MM: '%d મહિનો',
  1229. y: 'એક વર્ષ',
  1230. yy: '%d વર્ષ'
  1231. },
  1232. preparse: function preparse(string) {
  1233. return string.replace(/[૧૨૩૪૫૬૭૮૯૦]/g, function (match) {
  1234. return numberMap[match];
  1235. });
  1236. },
  1237. postformat: function postformat(string) {
  1238. return string.replace(/\d/g, function (match) {
  1239. return symbolMap[match];
  1240. });
  1241. },
  1242. // Gujarati notation for meridiems are quite fuzzy in practice. While there exists
  1243. // a rigid notion of a 'Pahar' it is not used as rigidly in modern Gujarati.
  1244. meridiemParse: /રાત|બપોર|સવાર|સાંજ/,
  1245. meridiemHour: function meridiemHour(hour, meridiem) {
  1246. if (hour === 12) {
  1247. hour = 0;
  1248. }
  1249. if (meridiem === 'રાત') {
  1250. return hour < 4 ? hour : hour + 12;
  1251. } else if (meridiem === 'સવાર') {
  1252. return hour;
  1253. } else if (meridiem === 'બપોર') {
  1254. return hour >= 10 ? hour : hour + 12;
  1255. } else if (meridiem === 'સાંજ') {
  1256. return hour + 12;
  1257. }
  1258. },
  1259. meridiem: function meridiem(hour, minute, isLower) {
  1260. if (hour < 4) {
  1261. return 'રાત';
  1262. } else if (hour < 10) {
  1263. return 'સવાર';
  1264. } else if (hour < 17) {
  1265. return 'બપોર';
  1266. } else if (hour < 20) {
  1267. return 'સાંજ';
  1268. } else {
  1269. return 'રાત';
  1270. }
  1271. },
  1272. week: {
  1273. dow: 0,
  1274. // Sunday is the first day of the week.
  1275. doy: 6 // The week that contains Jan 6th is the first week of the year.
  1276. }
  1277. });
  1278. return gu;
  1279. });
  1280. /***/ }),
  1281. /***/ 11:
  1282. /*!***************************************************************!*\
  1283. !*** ./node_modules/@babel/runtime/helpers/defineProperty.js ***!
  1284. \***************************************************************/
  1285. /*! no static exports found */
  1286. /***/ (function(module, exports, __webpack_require__) {
  1287. var toPropertyKey = __webpack_require__(/*! ./toPropertyKey.js */ 12);
  1288. function _defineProperty(obj, key, value) {
  1289. key = toPropertyKey(key);
  1290. if (key in obj) {
  1291. Object.defineProperty(obj, key, {
  1292. value: value,
  1293. enumerable: true,
  1294. configurable: true,
  1295. writable: true
  1296. });
  1297. } else {
  1298. obj[key] = value;
  1299. }
  1300. return obj;
  1301. }
  1302. module.exports = _defineProperty, module.exports.__esModule = true, module.exports["default"] = module.exports;
  1303. /***/ }),
  1304. /***/ 110:
  1305. /*!*****************************************************************************!*\
  1306. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/he.js ***!
  1307. \*****************************************************************************/
  1308. /*! no static exports found */
  1309. /***/ (function(module, exports, __webpack_require__) {
  1310. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  1311. //! moment.js locale configuration
  1312. //! locale : Hebrew [he]
  1313. //! author : Tomer Cohen : https://github.com/tomer
  1314. //! author : Moshe Simantov : https://github.com/DevelopmentIL
  1315. //! author : Tal Ater : https://github.com/TalAter
  1316. ;
  1317. (function (global, factory) {
  1318. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  1319. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  1320. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  1321. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  1322. })(this, function (moment) {
  1323. 'use strict';
  1324. //! moment.js locale configuration
  1325. var he = moment.defineLocale('he', {
  1326. months: 'ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר'.split('_'),
  1327. monthsShort: 'ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳'.split('_'),
  1328. weekdays: 'ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת'.split('_'),
  1329. weekdaysShort: 'א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳'.split('_'),
  1330. weekdaysMin: 'א_ב_ג_ד_ה_ו_ש'.split('_'),
  1331. longDateFormat: {
  1332. LT: 'HH:mm',
  1333. LTS: 'HH:mm:ss',
  1334. L: 'DD/MM/YYYY',
  1335. LL: 'D [ב]MMMM YYYY',
  1336. LLL: 'D [ב]MMMM YYYY HH:mm',
  1337. LLLL: 'dddd, D [ב]MMMM YYYY HH:mm',
  1338. l: 'D/M/YYYY',
  1339. ll: 'D MMM YYYY',
  1340. lll: 'D MMM YYYY HH:mm',
  1341. llll: 'ddd, D MMM YYYY HH:mm'
  1342. },
  1343. calendar: {
  1344. sameDay: '[היום ב־]LT',
  1345. nextDay: '[מחר ב־]LT',
  1346. nextWeek: 'dddd [בשעה] LT',
  1347. lastDay: '[אתמול ב־]LT',
  1348. lastWeek: '[ביום] dddd [האחרון בשעה] LT',
  1349. sameElse: 'L'
  1350. },
  1351. relativeTime: {
  1352. future: 'בעוד %s',
  1353. past: 'לפני %s',
  1354. s: 'מספר שניות',
  1355. ss: '%d שניות',
  1356. m: 'דקה',
  1357. mm: '%d דקות',
  1358. h: 'שעה',
  1359. hh: function hh(number) {
  1360. if (number === 2) {
  1361. return 'שעתיים';
  1362. }
  1363. return number + ' שעות';
  1364. },
  1365. d: 'יום',
  1366. dd: function dd(number) {
  1367. if (number === 2) {
  1368. return 'יומיים';
  1369. }
  1370. return number + ' ימים';
  1371. },
  1372. M: 'חודש',
  1373. MM: function MM(number) {
  1374. if (number === 2) {
  1375. return 'חודשיים';
  1376. }
  1377. return number + ' חודשים';
  1378. },
  1379. y: 'שנה',
  1380. yy: function yy(number) {
  1381. if (number === 2) {
  1382. return 'שנתיים';
  1383. } else if (number % 10 === 0 && number !== 10) {
  1384. return number + ' שנה';
  1385. }
  1386. return number + ' שנים';
  1387. }
  1388. },
  1389. meridiemParse: /אחה"צ|לפנה"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בבוקר|בערב/i,
  1390. isPM: function isPM(input) {
  1391. return /^(אחה"צ|אחרי הצהריים|בערב)$/.test(input);
  1392. },
  1393. meridiem: function meridiem(hour, minute, isLower) {
  1394. if (hour < 5) {
  1395. return 'לפנות בוקר';
  1396. } else if (hour < 10) {
  1397. return 'בבוקר';
  1398. } else if (hour < 12) {
  1399. return isLower ? 'לפנה"צ' : 'לפני הצהריים';
  1400. } else if (hour < 18) {
  1401. return isLower ? 'אחה"צ' : 'אחרי הצהריים';
  1402. } else {
  1403. return 'בערב';
  1404. }
  1405. }
  1406. });
  1407. return he;
  1408. });
  1409. /***/ }),
  1410. /***/ 1100:
  1411. /*!*****************************************************************!*\
  1412. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/api/memberVrOrder.js ***!
  1413. \*****************************************************************/
  1414. /*! no static exports found */
  1415. /***/ (function(module, exports, __webpack_require__) {
  1416. "use strict";
  1417. Object.defineProperty(exports, "__esModule", {
  1418. value: true
  1419. });
  1420. exports.saveOrderEvaluate = exports.getOrderList = exports.getOrderInfo = exports.getOrderEvaluateInfo = exports.cancelOrder = void 0;
  1421. var _network = __webpack_require__(/*! ../util/network */ 38);
  1422. // 获取用户订单列表
  1423. var getOrderList = function getOrderList(parmas, stateType, orderKey) {
  1424. return (0, _network.requestApi)('/Membervrorder/order_list', 'POST', {
  1425. 'page': parmas.page,
  1426. 'per_page': parmas.per_page,
  1427. 'state_type': stateType,
  1428. 'order_key': orderKey
  1429. }, 'member');
  1430. };
  1431. // 获取订单信息
  1432. exports.getOrderList = getOrderList;
  1433. var getOrderInfo = function getOrderInfo(orderId) {
  1434. return (0, _network.requestApi)('/Membervrorder/order_info', 'POST', {
  1435. 'order_id': orderId
  1436. }, 'member');
  1437. };
  1438. // 订单评价
  1439. exports.getOrderInfo = getOrderInfo;
  1440. var saveOrderEvaluate = function saveOrderEvaluate(orderId, result) {
  1441. return (0, _network.requestApi)('/Memberevaluate/save_vr', 'POST', Object.assign({
  1442. 'order_id': orderId
  1443. }, result), 'member');
  1444. };
  1445. // 获取评价信息
  1446. exports.saveOrderEvaluate = saveOrderEvaluate;
  1447. var getOrderEvaluateInfo = function getOrderEvaluateInfo(orderId) {
  1448. return (0, _network.requestApi)('/Memberevaluate/vr', 'POST', {
  1449. 'order_id': orderId
  1450. }, 'member');
  1451. };
  1452. // 取消订单
  1453. exports.getOrderEvaluateInfo = getOrderEvaluateInfo;
  1454. var cancelOrder = function cancelOrder(orderId) {
  1455. return (0, _network.requestApi)('/Membervrorder/order_cancel', 'POST', {
  1456. 'order_id': orderId
  1457. }, 'member');
  1458. };
  1459. exports.cancelOrder = cancelOrder;
  1460. /***/ }),
  1461. /***/ 111:
  1462. /*!*****************************************************************************!*\
  1463. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/hi.js ***!
  1464. \*****************************************************************************/
  1465. /*! no static exports found */
  1466. /***/ (function(module, exports, __webpack_require__) {
  1467. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  1468. //! moment.js locale configuration
  1469. //! locale : Hindi [hi]
  1470. //! author : Mayank Singhal : https://github.com/mayanksinghal
  1471. ;
  1472. (function (global, factory) {
  1473. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  1474. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  1475. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  1476. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  1477. })(this, function (moment) {
  1478. 'use strict';
  1479. //! moment.js locale configuration
  1480. var symbolMap = {
  1481. 1: '१',
  1482. 2: '२',
  1483. 3: '३',
  1484. 4: '४',
  1485. 5: '५',
  1486. 6: '६',
  1487. 7: '७',
  1488. 8: '८',
  1489. 9: '९',
  1490. 0: '०'
  1491. },
  1492. numberMap = {
  1493. '१': '1',
  1494. '२': '2',
  1495. '३': '3',
  1496. '४': '4',
  1497. '५': '5',
  1498. '६': '6',
  1499. '७': '7',
  1500. '८': '8',
  1501. '९': '9',
  1502. '०': '0'
  1503. },
  1504. monthsParse = [/^जन/i, /^फ़र|फर/i, /^मार्च/i, /^अप्रै/i, /^मई/i, /^जून/i, /^जुल/i, /^अग/i, /^सितं|सित/i, /^अक्टू/i, /^नव|नवं/i, /^दिसं|दिस/i],
  1505. shortMonthsParse = [/^जन/i, /^फ़र/i, /^मार्च/i, /^अप्रै/i, /^मई/i, /^जून/i, /^जुल/i, /^अग/i, /^सित/i, /^अक्टू/i, /^नव/i, /^दिस/i];
  1506. var hi = moment.defineLocale('hi', {
  1507. months: {
  1508. format: 'जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर'.split('_'),
  1509. standalone: 'जनवरी_फरवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितंबर_अक्टूबर_नवंबर_दिसंबर'.split('_')
  1510. },
  1511. monthsShort: 'जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.'.split('_'),
  1512. weekdays: 'रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार'.split('_'),
  1513. weekdaysShort: 'रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि'.split('_'),
  1514. weekdaysMin: 'र_सो_मं_बु_गु_शु_श'.split('_'),
  1515. longDateFormat: {
  1516. LT: 'A h:mm बजे',
  1517. LTS: 'A h:mm:ss बजे',
  1518. L: 'DD/MM/YYYY',
  1519. LL: 'D MMMM YYYY',
  1520. LLL: 'D MMMM YYYY, A h:mm बजे',
  1521. LLLL: 'dddd, D MMMM YYYY, A h:mm बजे'
  1522. },
  1523. monthsParse: monthsParse,
  1524. longMonthsParse: monthsParse,
  1525. shortMonthsParse: shortMonthsParse,
  1526. monthsRegex: /^(जनवरी|जन\.?|फ़रवरी|फरवरी|फ़र\.?|मार्च?|अप्रैल|अप्रै\.?|मई?|जून?|जुलाई|जुल\.?|अगस्त|अग\.?|सितम्बर|सितंबर|सित\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर|नव\.?|दिसम्बर|दिसंबर|दिस\.?)/i,
  1527. monthsShortRegex: /^(जनवरी|जन\.?|फ़रवरी|फरवरी|फ़र\.?|मार्च?|अप्रैल|अप्रै\.?|मई?|जून?|जुलाई|जुल\.?|अगस्त|अग\.?|सितम्बर|सितंबर|सित\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर|नव\.?|दिसम्बर|दिसंबर|दिस\.?)/i,
  1528. monthsStrictRegex: /^(जनवरी?|फ़रवरी|फरवरी?|मार्च?|अप्रैल?|मई?|जून?|जुलाई?|अगस्त?|सितम्बर|सितंबर|सित?\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर?|दिसम्बर|दिसंबर?)/i,
  1529. monthsShortStrictRegex: /^(जन\.?|फ़र\.?|मार्च?|अप्रै\.?|मई?|जून?|जुल\.?|अग\.?|सित\.?|अक्टू\.?|नव\.?|दिस\.?)/i,
  1530. calendar: {
  1531. sameDay: '[आज] LT',
  1532. nextDay: '[कल] LT',
  1533. nextWeek: 'dddd, LT',
  1534. lastDay: '[कल] LT',
  1535. lastWeek: '[पिछले] dddd, LT',
  1536. sameElse: 'L'
  1537. },
  1538. relativeTime: {
  1539. future: '%s में',
  1540. past: '%s पहले',
  1541. s: 'कुछ ही क्षण',
  1542. ss: '%d सेकंड',
  1543. m: 'एक मिनट',
  1544. mm: '%d मिनट',
  1545. h: 'एक घंटा',
  1546. hh: '%d घंटे',
  1547. d: 'एक दिन',
  1548. dd: '%d दिन',
  1549. M: 'एक महीने',
  1550. MM: '%d महीने',
  1551. y: 'एक वर्ष',
  1552. yy: '%d वर्ष'
  1553. },
  1554. preparse: function preparse(string) {
  1555. return string.replace(/[१२३४५६७८९०]/g, function (match) {
  1556. return numberMap[match];
  1557. });
  1558. },
  1559. postformat: function postformat(string) {
  1560. return string.replace(/\d/g, function (match) {
  1561. return symbolMap[match];
  1562. });
  1563. },
  1564. // Hindi notation for meridiems are quite fuzzy in practice. While there exists
  1565. // a rigid notion of a 'Pahar' it is not used as rigidly in modern Hindi.
  1566. meridiemParse: /रात|सुबह|दोपहर|शाम/,
  1567. meridiemHour: function meridiemHour(hour, meridiem) {
  1568. if (hour === 12) {
  1569. hour = 0;
  1570. }
  1571. if (meridiem === 'रात') {
  1572. return hour < 4 ? hour : hour + 12;
  1573. } else if (meridiem === 'सुबह') {
  1574. return hour;
  1575. } else if (meridiem === 'दोपहर') {
  1576. return hour >= 10 ? hour : hour + 12;
  1577. } else if (meridiem === 'शाम') {
  1578. return hour + 12;
  1579. }
  1580. },
  1581. meridiem: function meridiem(hour, minute, isLower) {
  1582. if (hour < 4) {
  1583. return 'रात';
  1584. } else if (hour < 10) {
  1585. return 'सुबह';
  1586. } else if (hour < 17) {
  1587. return 'दोपहर';
  1588. } else if (hour < 20) {
  1589. return 'शाम';
  1590. } else {
  1591. return 'रात';
  1592. }
  1593. },
  1594. week: {
  1595. dow: 0,
  1596. // Sunday is the first day of the week.
  1597. doy: 6 // The week that contains Jan 6th is the first week of the year.
  1598. }
  1599. });
  1600. return hi;
  1601. });
  1602. /***/ }),
  1603. /***/ 112:
  1604. /*!*****************************************************************************!*\
  1605. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/hr.js ***!
  1606. \*****************************************************************************/
  1607. /*! no static exports found */
  1608. /***/ (function(module, exports, __webpack_require__) {
  1609. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  1610. //! moment.js locale configuration
  1611. //! locale : Croatian [hr]
  1612. //! author : Bojan Marković : https://github.com/bmarkovic
  1613. ;
  1614. (function (global, factory) {
  1615. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  1616. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  1617. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  1618. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  1619. })(this, function (moment) {
  1620. 'use strict';
  1621. //! moment.js locale configuration
  1622. function translate(number, withoutSuffix, key) {
  1623. var result = number + ' ';
  1624. switch (key) {
  1625. case 'ss':
  1626. if (number === 1) {
  1627. result += 'sekunda';
  1628. } else if (number === 2 || number === 3 || number === 4) {
  1629. result += 'sekunde';
  1630. } else {
  1631. result += 'sekundi';
  1632. }
  1633. return result;
  1634. case 'm':
  1635. return withoutSuffix ? 'jedna minuta' : 'jedne minute';
  1636. case 'mm':
  1637. if (number === 1) {
  1638. result += 'minuta';
  1639. } else if (number === 2 || number === 3 || number === 4) {
  1640. result += 'minute';
  1641. } else {
  1642. result += 'minuta';
  1643. }
  1644. return result;
  1645. case 'h':
  1646. return withoutSuffix ? 'jedan sat' : 'jednog sata';
  1647. case 'hh':
  1648. if (number === 1) {
  1649. result += 'sat';
  1650. } else if (number === 2 || number === 3 || number === 4) {
  1651. result += 'sata';
  1652. } else {
  1653. result += 'sati';
  1654. }
  1655. return result;
  1656. case 'dd':
  1657. if (number === 1) {
  1658. result += 'dan';
  1659. } else {
  1660. result += 'dana';
  1661. }
  1662. return result;
  1663. case 'MM':
  1664. if (number === 1) {
  1665. result += 'mjesec';
  1666. } else if (number === 2 || number === 3 || number === 4) {
  1667. result += 'mjeseca';
  1668. } else {
  1669. result += 'mjeseci';
  1670. }
  1671. return result;
  1672. case 'yy':
  1673. if (number === 1) {
  1674. result += 'godina';
  1675. } else if (number === 2 || number === 3 || number === 4) {
  1676. result += 'godine';
  1677. } else {
  1678. result += 'godina';
  1679. }
  1680. return result;
  1681. }
  1682. }
  1683. var hr = moment.defineLocale('hr', {
  1684. months: {
  1685. format: 'siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca'.split('_'),
  1686. standalone: 'siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac'.split('_')
  1687. },
  1688. monthsShort: 'sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.'.split('_'),
  1689. monthsParseExact: true,
  1690. weekdays: 'nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota'.split('_'),
  1691. weekdaysShort: 'ned._pon._uto._sri._čet._pet._sub.'.split('_'),
  1692. weekdaysMin: 'ne_po_ut_sr_če_pe_su'.split('_'),
  1693. weekdaysParseExact: true,
  1694. longDateFormat: {
  1695. LT: 'H:mm',
  1696. LTS: 'H:mm:ss',
  1697. L: 'DD.MM.YYYY',
  1698. LL: 'Do MMMM YYYY',
  1699. LLL: 'Do MMMM YYYY H:mm',
  1700. LLLL: 'dddd, Do MMMM YYYY H:mm'
  1701. },
  1702. calendar: {
  1703. sameDay: '[danas u] LT',
  1704. nextDay: '[sutra u] LT',
  1705. nextWeek: function nextWeek() {
  1706. switch (this.day()) {
  1707. case 0:
  1708. return '[u] [nedjelju] [u] LT';
  1709. case 3:
  1710. return '[u] [srijedu] [u] LT';
  1711. case 6:
  1712. return '[u] [subotu] [u] LT';
  1713. case 1:
  1714. case 2:
  1715. case 4:
  1716. case 5:
  1717. return '[u] dddd [u] LT';
  1718. }
  1719. },
  1720. lastDay: '[jučer u] LT',
  1721. lastWeek: function lastWeek() {
  1722. switch (this.day()) {
  1723. case 0:
  1724. return '[prošlu] [nedjelju] [u] LT';
  1725. case 3:
  1726. return '[prošlu] [srijedu] [u] LT';
  1727. case 6:
  1728. return '[prošle] [subote] [u] LT';
  1729. case 1:
  1730. case 2:
  1731. case 4:
  1732. case 5:
  1733. return '[prošli] dddd [u] LT';
  1734. }
  1735. },
  1736. sameElse: 'L'
  1737. },
  1738. relativeTime: {
  1739. future: 'za %s',
  1740. past: 'prije %s',
  1741. s: 'par sekundi',
  1742. ss: translate,
  1743. m: translate,
  1744. mm: translate,
  1745. h: translate,
  1746. hh: translate,
  1747. d: 'dan',
  1748. dd: translate,
  1749. M: 'mjesec',
  1750. MM: translate,
  1751. y: 'godinu',
  1752. yy: translate
  1753. },
  1754. dayOfMonthOrdinalParse: /\d{1,2}\./,
  1755. ordinal: '%d.',
  1756. week: {
  1757. dow: 1,
  1758. // Monday is the first day of the week.
  1759. doy: 7 // The week that contains Jan 7th is the first week of the year.
  1760. }
  1761. });
  1762. return hr;
  1763. });
  1764. /***/ }),
  1765. /***/ 1125:
  1766. /*!******************************************************************!*\
  1767. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/api/memberEvaluate.js ***!
  1768. \******************************************************************/
  1769. /*! no static exports found */
  1770. /***/ (function(module, exports, __webpack_require__) {
  1771. "use strict";
  1772. Object.defineProperty(exports, "__esModule", {
  1773. value: true
  1774. });
  1775. exports.getMemberevaluateList = void 0;
  1776. var _network = __webpack_require__(/*! ../util/network */ 38);
  1777. // 获取用户商品评价列表
  1778. var getMemberevaluateList = function getMemberevaluateList(params) {
  1779. return (0, _network.requestApi)('/Memberevaluate/get_goodsevallist', 'POST', {
  1780. 'page': params.page,
  1781. 'per_page': params.per_page
  1782. }, 'member');
  1783. };
  1784. exports.getMemberevaluateList = getMemberevaluateList;
  1785. /***/ }),
  1786. /***/ 113:
  1787. /*!*****************************************************************************!*\
  1788. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/hu.js ***!
  1789. \*****************************************************************************/
  1790. /*! no static exports found */
  1791. /***/ (function(module, exports, __webpack_require__) {
  1792. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  1793. //! moment.js locale configuration
  1794. //! locale : Hungarian [hu]
  1795. //! author : Adam Brunner : https://github.com/adambrunner
  1796. //! author : Peter Viszt : https://github.com/passatgt
  1797. ;
  1798. (function (global, factory) {
  1799. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  1800. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  1801. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  1802. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  1803. })(this, function (moment) {
  1804. 'use strict';
  1805. //! moment.js locale configuration
  1806. var weekEndings = 'vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton'.split(' ');
  1807. function translate(number, withoutSuffix, key, isFuture) {
  1808. var num = number;
  1809. switch (key) {
  1810. case 's':
  1811. return isFuture || withoutSuffix ? 'néhány másodperc' : 'néhány másodperce';
  1812. case 'ss':
  1813. return num + (isFuture || withoutSuffix) ? ' másodperc' : ' másodperce';
  1814. case 'm':
  1815. return 'egy' + (isFuture || withoutSuffix ? ' perc' : ' perce');
  1816. case 'mm':
  1817. return num + (isFuture || withoutSuffix ? ' perc' : ' perce');
  1818. case 'h':
  1819. return 'egy' + (isFuture || withoutSuffix ? ' óra' : ' órája');
  1820. case 'hh':
  1821. return num + (isFuture || withoutSuffix ? ' óra' : ' órája');
  1822. case 'd':
  1823. return 'egy' + (isFuture || withoutSuffix ? ' nap' : ' napja');
  1824. case 'dd':
  1825. return num + (isFuture || withoutSuffix ? ' nap' : ' napja');
  1826. case 'M':
  1827. return 'egy' + (isFuture || withoutSuffix ? ' hónap' : ' hónapja');
  1828. case 'MM':
  1829. return num + (isFuture || withoutSuffix ? ' hónap' : ' hónapja');
  1830. case 'y':
  1831. return 'egy' + (isFuture || withoutSuffix ? ' év' : ' éve');
  1832. case 'yy':
  1833. return num + (isFuture || withoutSuffix ? ' év' : ' éve');
  1834. }
  1835. return '';
  1836. }
  1837. function week(isFuture) {
  1838. return (isFuture ? '' : '[múlt] ') + '[' + weekEndings[this.day()] + '] LT[-kor]';
  1839. }
  1840. var hu = moment.defineLocale('hu', {
  1841. months: 'január_február_március_április_május_június_július_augusztus_szeptember_október_november_december'.split('_'),
  1842. monthsShort: 'jan._feb._márc._ápr._máj._jún._júl._aug._szept._okt._nov._dec.'.split('_'),
  1843. monthsParseExact: true,
  1844. weekdays: 'vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat'.split('_'),
  1845. weekdaysShort: 'vas_hét_kedd_sze_csüt_pén_szo'.split('_'),
  1846. weekdaysMin: 'v_h_k_sze_cs_p_szo'.split('_'),
  1847. longDateFormat: {
  1848. LT: 'H:mm',
  1849. LTS: 'H:mm:ss',
  1850. L: 'YYYY.MM.DD.',
  1851. LL: 'YYYY. MMMM D.',
  1852. LLL: 'YYYY. MMMM D. H:mm',
  1853. LLLL: 'YYYY. MMMM D., dddd H:mm'
  1854. },
  1855. meridiemParse: /de|du/i,
  1856. isPM: function isPM(input) {
  1857. return input.charAt(1).toLowerCase() === 'u';
  1858. },
  1859. meridiem: function meridiem(hours, minutes, isLower) {
  1860. if (hours < 12) {
  1861. return isLower === true ? 'de' : 'DE';
  1862. } else {
  1863. return isLower === true ? 'du' : 'DU';
  1864. }
  1865. },
  1866. calendar: {
  1867. sameDay: '[ma] LT[-kor]',
  1868. nextDay: '[holnap] LT[-kor]',
  1869. nextWeek: function nextWeek() {
  1870. return week.call(this, true);
  1871. },
  1872. lastDay: '[tegnap] LT[-kor]',
  1873. lastWeek: function lastWeek() {
  1874. return week.call(this, false);
  1875. },
  1876. sameElse: 'L'
  1877. },
  1878. relativeTime: {
  1879. future: '%s múlva',
  1880. past: '%s',
  1881. s: translate,
  1882. ss: translate,
  1883. m: translate,
  1884. mm: translate,
  1885. h: translate,
  1886. hh: translate,
  1887. d: translate,
  1888. dd: translate,
  1889. M: translate,
  1890. MM: translate,
  1891. y: translate,
  1892. yy: translate
  1893. },
  1894. dayOfMonthOrdinalParse: /\d{1,2}\./,
  1895. ordinal: '%d.',
  1896. week: {
  1897. dow: 1,
  1898. // Monday is the first day of the week.
  1899. doy: 4 // The week that contains Jan 4th is the first week of the year.
  1900. }
  1901. });
  1902. return hu;
  1903. });
  1904. /***/ }),
  1905. /***/ 114:
  1906. /*!********************************************************************************!*\
  1907. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/hy-am.js ***!
  1908. \********************************************************************************/
  1909. /*! no static exports found */
  1910. /***/ (function(module, exports, __webpack_require__) {
  1911. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  1912. //! moment.js locale configuration
  1913. //! locale : Armenian [hy-am]
  1914. //! author : Armendarabyan : https://github.com/armendarabyan
  1915. ;
  1916. (function (global, factory) {
  1917. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  1918. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  1919. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  1920. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  1921. })(this, function (moment) {
  1922. 'use strict';
  1923. //! moment.js locale configuration
  1924. var hyAm = moment.defineLocale('hy-am', {
  1925. months: {
  1926. format: 'հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի'.split('_'),
  1927. standalone: 'հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր'.split('_')
  1928. },
  1929. monthsShort: 'հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ'.split('_'),
  1930. weekdays: 'կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ'.split('_'),
  1931. weekdaysShort: 'կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ'.split('_'),
  1932. weekdaysMin: 'կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ'.split('_'),
  1933. longDateFormat: {
  1934. LT: 'HH:mm',
  1935. LTS: 'HH:mm:ss',
  1936. L: 'DD.MM.YYYY',
  1937. LL: 'D MMMM YYYY թ.',
  1938. LLL: 'D MMMM YYYY թ., HH:mm',
  1939. LLLL: 'dddd, D MMMM YYYY թ., HH:mm'
  1940. },
  1941. calendar: {
  1942. sameDay: '[այսօր] LT',
  1943. nextDay: '[վաղը] LT',
  1944. lastDay: '[երեկ] LT',
  1945. nextWeek: function nextWeek() {
  1946. return 'dddd [օրը ժամը] LT';
  1947. },
  1948. lastWeek: function lastWeek() {
  1949. return '[անցած] dddd [օրը ժամը] LT';
  1950. },
  1951. sameElse: 'L'
  1952. },
  1953. relativeTime: {
  1954. future: '%s հետո',
  1955. past: '%s առաջ',
  1956. s: 'մի քանի վայրկյան',
  1957. ss: '%d վայրկյան',
  1958. m: 'րոպե',
  1959. mm: '%d րոպե',
  1960. h: 'ժամ',
  1961. hh: '%d ժամ',
  1962. d: 'օր',
  1963. dd: '%d օր',
  1964. M: 'ամիս',
  1965. MM: '%d ամիս',
  1966. y: 'տարի',
  1967. yy: '%d տարի'
  1968. },
  1969. meridiemParse: /գիշերվա|առավոտվա|ցերեկվա|երեկոյան/,
  1970. isPM: function isPM(input) {
  1971. return /^(ցերեկվա|երեկոյան)$/.test(input);
  1972. },
  1973. meridiem: function meridiem(hour) {
  1974. if (hour < 4) {
  1975. return 'գիշերվա';
  1976. } else if (hour < 12) {
  1977. return 'առավոտվա';
  1978. } else if (hour < 17) {
  1979. return 'ցերեկվա';
  1980. } else {
  1981. return 'երեկոյան';
  1982. }
  1983. },
  1984. dayOfMonthOrdinalParse: /\d{1,2}|\d{1,2}-(ին|րդ)/,
  1985. ordinal: function ordinal(number, period) {
  1986. switch (period) {
  1987. case 'DDD':
  1988. case 'w':
  1989. case 'W':
  1990. case 'DDDo':
  1991. if (number === 1) {
  1992. return number + '-ին';
  1993. }
  1994. return number + '-րդ';
  1995. default:
  1996. return number;
  1997. }
  1998. },
  1999. week: {
  2000. dow: 1,
  2001. // Monday is the first day of the week.
  2002. doy: 7 // The week that contains Jan 7th is the first week of the year.
  2003. }
  2004. });
  2005. return hyAm;
  2006. });
  2007. /***/ }),
  2008. /***/ 115:
  2009. /*!*****************************************************************************!*\
  2010. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/id.js ***!
  2011. \*****************************************************************************/
  2012. /*! no static exports found */
  2013. /***/ (function(module, exports, __webpack_require__) {
  2014. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  2015. //! moment.js locale configuration
  2016. //! locale : Indonesian [id]
  2017. //! author : Mohammad Satrio Utomo : https://github.com/tyok
  2018. //! reference: http://id.wikisource.org/wiki/Pedoman_Umum_Ejaan_Bahasa_Indonesia_yang_Disempurnakan
  2019. ;
  2020. (function (global, factory) {
  2021. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  2022. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  2023. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  2024. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  2025. })(this, function (moment) {
  2026. 'use strict';
  2027. //! moment.js locale configuration
  2028. var id = moment.defineLocale('id', {
  2029. months: 'Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember'.split('_'),
  2030. monthsShort: 'Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des'.split('_'),
  2031. weekdays: 'Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu'.split('_'),
  2032. weekdaysShort: 'Min_Sen_Sel_Rab_Kam_Jum_Sab'.split('_'),
  2033. weekdaysMin: 'Mg_Sn_Sl_Rb_Km_Jm_Sb'.split('_'),
  2034. longDateFormat: {
  2035. LT: 'HH.mm',
  2036. LTS: 'HH.mm.ss',
  2037. L: 'DD/MM/YYYY',
  2038. LL: 'D MMMM YYYY',
  2039. LLL: 'D MMMM YYYY [pukul] HH.mm',
  2040. LLLL: 'dddd, D MMMM YYYY [pukul] HH.mm'
  2041. },
  2042. meridiemParse: /pagi|siang|sore|malam/,
  2043. meridiemHour: function meridiemHour(hour, meridiem) {
  2044. if (hour === 12) {
  2045. hour = 0;
  2046. }
  2047. if (meridiem === 'pagi') {
  2048. return hour;
  2049. } else if (meridiem === 'siang') {
  2050. return hour >= 11 ? hour : hour + 12;
  2051. } else if (meridiem === 'sore' || meridiem === 'malam') {
  2052. return hour + 12;
  2053. }
  2054. },
  2055. meridiem: function meridiem(hours, minutes, isLower) {
  2056. if (hours < 11) {
  2057. return 'pagi';
  2058. } else if (hours < 15) {
  2059. return 'siang';
  2060. } else if (hours < 19) {
  2061. return 'sore';
  2062. } else {
  2063. return 'malam';
  2064. }
  2065. },
  2066. calendar: {
  2067. sameDay: '[Hari ini pukul] LT',
  2068. nextDay: '[Besok pukul] LT',
  2069. nextWeek: 'dddd [pukul] LT',
  2070. lastDay: '[Kemarin pukul] LT',
  2071. lastWeek: 'dddd [lalu pukul] LT',
  2072. sameElse: 'L'
  2073. },
  2074. relativeTime: {
  2075. future: 'dalam %s',
  2076. past: '%s yang lalu',
  2077. s: 'beberapa detik',
  2078. ss: '%d detik',
  2079. m: 'semenit',
  2080. mm: '%d menit',
  2081. h: 'sejam',
  2082. hh: '%d jam',
  2083. d: 'sehari',
  2084. dd: '%d hari',
  2085. M: 'sebulan',
  2086. MM: '%d bulan',
  2087. y: 'setahun',
  2088. yy: '%d tahun'
  2089. },
  2090. week: {
  2091. dow: 0,
  2092. // Sunday is the first day of the week.
  2093. doy: 6 // The week that contains Jan 6th is the first week of the year.
  2094. }
  2095. });
  2096. return id;
  2097. });
  2098. /***/ }),
  2099. /***/ 116:
  2100. /*!*****************************************************************************!*\
  2101. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/is.js ***!
  2102. \*****************************************************************************/
  2103. /*! no static exports found */
  2104. /***/ (function(module, exports, __webpack_require__) {
  2105. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  2106. //! moment.js locale configuration
  2107. //! locale : Icelandic [is]
  2108. //! author : Hinrik Örn Sigurðsson : https://github.com/hinrik
  2109. ;
  2110. (function (global, factory) {
  2111. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  2112. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  2113. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  2114. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  2115. })(this, function (moment) {
  2116. 'use strict';
  2117. //! moment.js locale configuration
  2118. function plural(n) {
  2119. if (n % 100 === 11) {
  2120. return true;
  2121. } else if (n % 10 === 1) {
  2122. return false;
  2123. }
  2124. return true;
  2125. }
  2126. function translate(number, withoutSuffix, key, isFuture) {
  2127. var result = number + ' ';
  2128. switch (key) {
  2129. case 's':
  2130. return withoutSuffix || isFuture ? 'nokkrar sekúndur' : 'nokkrum sekúndum';
  2131. case 'ss':
  2132. if (plural(number)) {
  2133. return result + (withoutSuffix || isFuture ? 'sekúndur' : 'sekúndum');
  2134. }
  2135. return result + 'sekúnda';
  2136. case 'm':
  2137. return withoutSuffix ? 'mínúta' : 'mínútu';
  2138. case 'mm':
  2139. if (plural(number)) {
  2140. return result + (withoutSuffix || isFuture ? 'mínútur' : 'mínútum');
  2141. } else if (withoutSuffix) {
  2142. return result + 'mínúta';
  2143. }
  2144. return result + 'mínútu';
  2145. case 'hh':
  2146. if (plural(number)) {
  2147. return result + (withoutSuffix || isFuture ? 'klukkustundir' : 'klukkustundum');
  2148. }
  2149. return result + 'klukkustund';
  2150. case 'd':
  2151. if (withoutSuffix) {
  2152. return 'dagur';
  2153. }
  2154. return isFuture ? 'dag' : 'degi';
  2155. case 'dd':
  2156. if (plural(number)) {
  2157. if (withoutSuffix) {
  2158. return result + 'dagar';
  2159. }
  2160. return result + (isFuture ? 'daga' : 'dögum');
  2161. } else if (withoutSuffix) {
  2162. return result + 'dagur';
  2163. }
  2164. return result + (isFuture ? 'dag' : 'degi');
  2165. case 'M':
  2166. if (withoutSuffix) {
  2167. return 'mánuður';
  2168. }
  2169. return isFuture ? 'mánuð' : 'mánuði';
  2170. case 'MM':
  2171. if (plural(number)) {
  2172. if (withoutSuffix) {
  2173. return result + 'mánuðir';
  2174. }
  2175. return result + (isFuture ? 'mánuði' : 'mánuðum');
  2176. } else if (withoutSuffix) {
  2177. return result + 'mánuður';
  2178. }
  2179. return result + (isFuture ? 'mánuð' : 'mánuði');
  2180. case 'y':
  2181. return withoutSuffix || isFuture ? 'ár' : 'ári';
  2182. case 'yy':
  2183. if (plural(number)) {
  2184. return result + (withoutSuffix || isFuture ? 'ár' : 'árum');
  2185. }
  2186. return result + (withoutSuffix || isFuture ? 'ár' : 'ári');
  2187. }
  2188. }
  2189. var is = moment.defineLocale('is', {
  2190. months: 'janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember'.split('_'),
  2191. monthsShort: 'jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des'.split('_'),
  2192. weekdays: 'sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur'.split('_'),
  2193. weekdaysShort: 'sun_mán_þri_mið_fim_fös_lau'.split('_'),
  2194. weekdaysMin: 'Su_Má_Þr_Mi_Fi_Fö_La'.split('_'),
  2195. longDateFormat: {
  2196. LT: 'H:mm',
  2197. LTS: 'H:mm:ss',
  2198. L: 'DD.MM.YYYY',
  2199. LL: 'D. MMMM YYYY',
  2200. LLL: 'D. MMMM YYYY [kl.] H:mm',
  2201. LLLL: 'dddd, D. MMMM YYYY [kl.] H:mm'
  2202. },
  2203. calendar: {
  2204. sameDay: '[í dag kl.] LT',
  2205. nextDay: '[á morgun kl.] LT',
  2206. nextWeek: 'dddd [kl.] LT',
  2207. lastDay: '[í gær kl.] LT',
  2208. lastWeek: '[síðasta] dddd [kl.] LT',
  2209. sameElse: 'L'
  2210. },
  2211. relativeTime: {
  2212. future: 'eftir %s',
  2213. past: 'fyrir %s síðan',
  2214. s: translate,
  2215. ss: translate,
  2216. m: translate,
  2217. mm: translate,
  2218. h: 'klukkustund',
  2219. hh: translate,
  2220. d: translate,
  2221. dd: translate,
  2222. M: translate,
  2223. MM: translate,
  2224. y: translate,
  2225. yy: translate
  2226. },
  2227. dayOfMonthOrdinalParse: /\d{1,2}\./,
  2228. ordinal: '%d.',
  2229. week: {
  2230. dow: 1,
  2231. // Monday is the first day of the week.
  2232. doy: 4 // The week that contains Jan 4th is the first week of the year.
  2233. }
  2234. });
  2235. return is;
  2236. });
  2237. /***/ }),
  2238. /***/ 117:
  2239. /*!*****************************************************************************!*\
  2240. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/it.js ***!
  2241. \*****************************************************************************/
  2242. /*! no static exports found */
  2243. /***/ (function(module, exports, __webpack_require__) {
  2244. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  2245. //! moment.js locale configuration
  2246. //! locale : Italian [it]
  2247. //! author : Lorenzo : https://github.com/aliem
  2248. //! author: Mattia Larentis: https://github.com/nostalgiaz
  2249. //! author: Marco : https://github.com/Manfre98
  2250. ;
  2251. (function (global, factory) {
  2252. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  2253. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  2254. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  2255. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  2256. })(this, function (moment) {
  2257. 'use strict';
  2258. //! moment.js locale configuration
  2259. var it = moment.defineLocale('it', {
  2260. months: 'gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre'.split('_'),
  2261. monthsShort: 'gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic'.split('_'),
  2262. weekdays: 'domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato'.split('_'),
  2263. weekdaysShort: 'dom_lun_mar_mer_gio_ven_sab'.split('_'),
  2264. weekdaysMin: 'do_lu_ma_me_gi_ve_sa'.split('_'),
  2265. longDateFormat: {
  2266. LT: 'HH:mm',
  2267. LTS: 'HH:mm:ss',
  2268. L: 'DD/MM/YYYY',
  2269. LL: 'D MMMM YYYY',
  2270. LLL: 'D MMMM YYYY HH:mm',
  2271. LLLL: 'dddd D MMMM YYYY HH:mm'
  2272. },
  2273. calendar: {
  2274. sameDay: function sameDay() {
  2275. return '[Oggi a' + (this.hours() > 1 ? 'lle ' : this.hours() === 0 ? ' ' : "ll'") + ']LT';
  2276. },
  2277. nextDay: function nextDay() {
  2278. return '[Domani a' + (this.hours() > 1 ? 'lle ' : this.hours() === 0 ? ' ' : "ll'") + ']LT';
  2279. },
  2280. nextWeek: function nextWeek() {
  2281. return 'dddd [a' + (this.hours() > 1 ? 'lle ' : this.hours() === 0 ? ' ' : "ll'") + ']LT';
  2282. },
  2283. lastDay: function lastDay() {
  2284. return '[Ieri a' + (this.hours() > 1 ? 'lle ' : this.hours() === 0 ? ' ' : "ll'") + ']LT';
  2285. },
  2286. lastWeek: function lastWeek() {
  2287. switch (this.day()) {
  2288. case 0:
  2289. return '[La scorsa] dddd [a' + (this.hours() > 1 ? 'lle ' : this.hours() === 0 ? ' ' : "ll'") + ']LT';
  2290. default:
  2291. return '[Lo scorso] dddd [a' + (this.hours() > 1 ? 'lle ' : this.hours() === 0 ? ' ' : "ll'") + ']LT';
  2292. }
  2293. },
  2294. sameElse: 'L'
  2295. },
  2296. relativeTime: {
  2297. future: 'tra %s',
  2298. past: '%s fa',
  2299. s: 'alcuni secondi',
  2300. ss: '%d secondi',
  2301. m: 'un minuto',
  2302. mm: '%d minuti',
  2303. h: "un'ora",
  2304. hh: '%d ore',
  2305. d: 'un giorno',
  2306. dd: '%d giorni',
  2307. w: 'una settimana',
  2308. ww: '%d settimane',
  2309. M: 'un mese',
  2310. MM: '%d mesi',
  2311. y: 'un anno',
  2312. yy: '%d anni'
  2313. },
  2314. dayOfMonthOrdinalParse: /\d{1,2}º/,
  2315. ordinal: '%dº',
  2316. week: {
  2317. dow: 1,
  2318. // Monday is the first day of the week.
  2319. doy: 4 // The week that contains Jan 4th is the first week of the year.
  2320. }
  2321. });
  2322. return it;
  2323. });
  2324. /***/ }),
  2325. /***/ 118:
  2326. /*!********************************************************************************!*\
  2327. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/it-ch.js ***!
  2328. \********************************************************************************/
  2329. /*! no static exports found */
  2330. /***/ (function(module, exports, __webpack_require__) {
  2331. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  2332. //! moment.js locale configuration
  2333. //! locale : Italian (Switzerland) [it-ch]
  2334. //! author : xfh : https://github.com/xfh
  2335. ;
  2336. (function (global, factory) {
  2337. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  2338. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  2339. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  2340. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  2341. })(this, function (moment) {
  2342. 'use strict';
  2343. //! moment.js locale configuration
  2344. var itCh = moment.defineLocale('it-ch', {
  2345. months: 'gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre'.split('_'),
  2346. monthsShort: 'gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic'.split('_'),
  2347. weekdays: 'domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato'.split('_'),
  2348. weekdaysShort: 'dom_lun_mar_mer_gio_ven_sab'.split('_'),
  2349. weekdaysMin: 'do_lu_ma_me_gi_ve_sa'.split('_'),
  2350. longDateFormat: {
  2351. LT: 'HH:mm',
  2352. LTS: 'HH:mm:ss',
  2353. L: 'DD.MM.YYYY',
  2354. LL: 'D MMMM YYYY',
  2355. LLL: 'D MMMM YYYY HH:mm',
  2356. LLLL: 'dddd D MMMM YYYY HH:mm'
  2357. },
  2358. calendar: {
  2359. sameDay: '[Oggi alle] LT',
  2360. nextDay: '[Domani alle] LT',
  2361. nextWeek: 'dddd [alle] LT',
  2362. lastDay: '[Ieri alle] LT',
  2363. lastWeek: function lastWeek() {
  2364. switch (this.day()) {
  2365. case 0:
  2366. return '[la scorsa] dddd [alle] LT';
  2367. default:
  2368. return '[lo scorso] dddd [alle] LT';
  2369. }
  2370. },
  2371. sameElse: 'L'
  2372. },
  2373. relativeTime: {
  2374. future: function future(s) {
  2375. return (/^[0-9].+$/.test(s) ? 'tra' : 'in') + ' ' + s;
  2376. },
  2377. past: '%s fa',
  2378. s: 'alcuni secondi',
  2379. ss: '%d secondi',
  2380. m: 'un minuto',
  2381. mm: '%d minuti',
  2382. h: "un'ora",
  2383. hh: '%d ore',
  2384. d: 'un giorno',
  2385. dd: '%d giorni',
  2386. M: 'un mese',
  2387. MM: '%d mesi',
  2388. y: 'un anno',
  2389. yy: '%d anni'
  2390. },
  2391. dayOfMonthOrdinalParse: /\d{1,2}º/,
  2392. ordinal: '%dº',
  2393. week: {
  2394. dow: 1,
  2395. // Monday is the first day of the week.
  2396. doy: 4 // The week that contains Jan 4th is the first week of the year.
  2397. }
  2398. });
  2399. return itCh;
  2400. });
  2401. /***/ }),
  2402. /***/ 1182:
  2403. /*!***********************************************************************!*\
  2404. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/api/memberArrivalnotice.js ***!
  2405. \***********************************************************************/
  2406. /*! no static exports found */
  2407. /***/ (function(module, exports, __webpack_require__) {
  2408. "use strict";
  2409. Object.defineProperty(exports, "__esModule", {
  2410. value: true
  2411. });
  2412. exports.getArrivalnoticeList = exports.delArrivalnotice = void 0;
  2413. var _network = __webpack_require__(/*! ../util/network */ 38);
  2414. // 获取到货通知列表
  2415. var getArrivalnoticeList = function getArrivalnoticeList(params) {
  2416. return (0, _network.requestApi)('/member_arrivalnotice/get_list', 'POST', {
  2417. page: params.page,
  2418. per_page: params.per_page
  2419. }, 'member');
  2420. };
  2421. // 删除到货通知
  2422. exports.getArrivalnoticeList = getArrivalnoticeList;
  2423. var delArrivalnotice = function delArrivalnotice(arrivalnotice_id) {
  2424. return (0, _network.requestApi)('/member_arrivalnotice/del', 'POST', {
  2425. 'arrivalnotice_id': arrivalnotice_id
  2426. }, 'member');
  2427. };
  2428. exports.delArrivalnotice = delArrivalnotice;
  2429. /***/ }),
  2430. /***/ 119:
  2431. /*!*****************************************************************************!*\
  2432. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/ja.js ***!
  2433. \*****************************************************************************/
  2434. /*! no static exports found */
  2435. /***/ (function(module, exports, __webpack_require__) {
  2436. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  2437. //! moment.js locale configuration
  2438. //! locale : Japanese [ja]
  2439. //! author : LI Long : https://github.com/baryon
  2440. ;
  2441. (function (global, factory) {
  2442. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  2443. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  2444. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  2445. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  2446. })(this, function (moment) {
  2447. 'use strict';
  2448. //! moment.js locale configuration
  2449. var ja = moment.defineLocale('ja', {
  2450. eras: [{
  2451. since: '2019-05-01',
  2452. offset: 1,
  2453. name: '令和',
  2454. narrow: '㋿',
  2455. abbr: 'R'
  2456. }, {
  2457. since: '1989-01-08',
  2458. until: '2019-04-30',
  2459. offset: 1,
  2460. name: '平成',
  2461. narrow: '㍻',
  2462. abbr: 'H'
  2463. }, {
  2464. since: '1926-12-25',
  2465. until: '1989-01-07',
  2466. offset: 1,
  2467. name: '昭和',
  2468. narrow: '㍼',
  2469. abbr: 'S'
  2470. }, {
  2471. since: '1912-07-30',
  2472. until: '1926-12-24',
  2473. offset: 1,
  2474. name: '大正',
  2475. narrow: '㍽',
  2476. abbr: 'T'
  2477. }, {
  2478. since: '1873-01-01',
  2479. until: '1912-07-29',
  2480. offset: 6,
  2481. name: '明治',
  2482. narrow: '㍾',
  2483. abbr: 'M'
  2484. }, {
  2485. since: '0001-01-01',
  2486. until: '1873-12-31',
  2487. offset: 1,
  2488. name: '西暦',
  2489. narrow: 'AD',
  2490. abbr: 'AD'
  2491. }, {
  2492. since: '0000-12-31',
  2493. until: -Infinity,
  2494. offset: 1,
  2495. name: '紀元前',
  2496. narrow: 'BC',
  2497. abbr: 'BC'
  2498. }],
  2499. eraYearOrdinalRegex: /(元|\d+)年/,
  2500. eraYearOrdinalParse: function eraYearOrdinalParse(input, match) {
  2501. return match[1] === '元' ? 1 : parseInt(match[1] || input, 10);
  2502. },
  2503. months: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split('_'),
  2504. monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split('_'),
  2505. weekdays: '日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日'.split('_'),
  2506. weekdaysShort: '日_月_火_水_木_金_土'.split('_'),
  2507. weekdaysMin: '日_月_火_水_木_金_土'.split('_'),
  2508. longDateFormat: {
  2509. LT: 'HH:mm',
  2510. LTS: 'HH:mm:ss',
  2511. L: 'YYYY/MM/DD',
  2512. LL: 'YYYY年M月D日',
  2513. LLL: 'YYYY年M月D日 HH:mm',
  2514. LLLL: 'YYYY年M月D日 dddd HH:mm',
  2515. l: 'YYYY/MM/DD',
  2516. ll: 'YYYY年M月D日',
  2517. lll: 'YYYY年M月D日 HH:mm',
  2518. llll: 'YYYY年M月D日(ddd) HH:mm'
  2519. },
  2520. meridiemParse: /午前|午後/i,
  2521. isPM: function isPM(input) {
  2522. return input === '午後';
  2523. },
  2524. meridiem: function meridiem(hour, minute, isLower) {
  2525. if (hour < 12) {
  2526. return '午前';
  2527. } else {
  2528. return '午後';
  2529. }
  2530. },
  2531. calendar: {
  2532. sameDay: '[今日] LT',
  2533. nextDay: '[明日] LT',
  2534. nextWeek: function nextWeek(now) {
  2535. if (now.week() !== this.week()) {
  2536. return '[来週]dddd LT';
  2537. } else {
  2538. return 'dddd LT';
  2539. }
  2540. },
  2541. lastDay: '[昨日] LT',
  2542. lastWeek: function lastWeek(now) {
  2543. if (this.week() !== now.week()) {
  2544. return '[先週]dddd LT';
  2545. } else {
  2546. return 'dddd LT';
  2547. }
  2548. },
  2549. sameElse: 'L'
  2550. },
  2551. dayOfMonthOrdinalParse: /\d{1,2}日/,
  2552. ordinal: function ordinal(number, period) {
  2553. switch (period) {
  2554. case 'y':
  2555. return number === 1 ? '元年' : number + '年';
  2556. case 'd':
  2557. case 'D':
  2558. case 'DDD':
  2559. return number + '日';
  2560. default:
  2561. return number;
  2562. }
  2563. },
  2564. relativeTime: {
  2565. future: '%s後',
  2566. past: '%s前',
  2567. s: '数秒',
  2568. ss: '%d秒',
  2569. m: '1分',
  2570. mm: '%d分',
  2571. h: '1時間',
  2572. hh: '%d時間',
  2573. d: '1日',
  2574. dd: '%d日',
  2575. M: '1ヶ月',
  2576. MM: '%dヶ月',
  2577. y: '1年',
  2578. yy: '%d年'
  2579. }
  2580. });
  2581. return ja;
  2582. });
  2583. /***/ }),
  2584. /***/ 1191:
  2585. /*!****************************************************************!*\
  2586. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/api/memberBrowse.js ***!
  2587. \****************************************************************/
  2588. /*! no static exports found */
  2589. /***/ (function(module, exports, __webpack_require__) {
  2590. "use strict";
  2591. Object.defineProperty(exports, "__esModule", {
  2592. value: true
  2593. });
  2594. exports.getBrowseList = exports.clearallBrowse = void 0;
  2595. var _network = __webpack_require__(/*! ../util/network */ 38);
  2596. // 获取浏览历史列表
  2597. var getBrowseList = function getBrowseList(params) {
  2598. return (0, _network.requestApi)('/membergoodsbrowse/browse_list', 'POST', {
  2599. page: params.page,
  2600. per_page: params.per_page
  2601. }, 'member');
  2602. };
  2603. // 清空浏览历史
  2604. exports.getBrowseList = getBrowseList;
  2605. var clearallBrowse = function clearallBrowse(arrivalnotice_id) {
  2606. return (0, _network.requestApi)('/membergoodsbrowse/browse_clearall', 'POST', {}, 'member');
  2607. };
  2608. exports.clearallBrowse = clearallBrowse;
  2609. /***/ }),
  2610. /***/ 12:
  2611. /*!**************************************************************!*\
  2612. !*** ./node_modules/@babel/runtime/helpers/toPropertyKey.js ***!
  2613. \**************************************************************/
  2614. /*! no static exports found */
  2615. /***/ (function(module, exports, __webpack_require__) {
  2616. var _typeof = __webpack_require__(/*! ./typeof.js */ 13)["default"];
  2617. var toPrimitive = __webpack_require__(/*! ./toPrimitive.js */ 14);
  2618. function _toPropertyKey(arg) {
  2619. var key = toPrimitive(arg, "string");
  2620. return _typeof(key) === "symbol" ? key : String(key);
  2621. }
  2622. module.exports = _toPropertyKey, module.exports.__esModule = true, module.exports["default"] = module.exports;
  2623. /***/ }),
  2624. /***/ 120:
  2625. /*!*****************************************************************************!*\
  2626. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/jv.js ***!
  2627. \*****************************************************************************/
  2628. /*! no static exports found */
  2629. /***/ (function(module, exports, __webpack_require__) {
  2630. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  2631. //! moment.js locale configuration
  2632. //! locale : Javanese [jv]
  2633. //! author : Rony Lantip : https://github.com/lantip
  2634. //! reference: http://jv.wikipedia.org/wiki/Basa_Jawa
  2635. ;
  2636. (function (global, factory) {
  2637. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  2638. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  2639. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  2640. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  2641. })(this, function (moment) {
  2642. 'use strict';
  2643. //! moment.js locale configuration
  2644. var jv = moment.defineLocale('jv', {
  2645. months: 'Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember'.split('_'),
  2646. monthsShort: 'Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des'.split('_'),
  2647. weekdays: 'Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu'.split('_'),
  2648. weekdaysShort: 'Min_Sen_Sel_Reb_Kem_Jem_Sep'.split('_'),
  2649. weekdaysMin: 'Mg_Sn_Sl_Rb_Km_Jm_Sp'.split('_'),
  2650. longDateFormat: {
  2651. LT: 'HH.mm',
  2652. LTS: 'HH.mm.ss',
  2653. L: 'DD/MM/YYYY',
  2654. LL: 'D MMMM YYYY',
  2655. LLL: 'D MMMM YYYY [pukul] HH.mm',
  2656. LLLL: 'dddd, D MMMM YYYY [pukul] HH.mm'
  2657. },
  2658. meridiemParse: /enjing|siyang|sonten|ndalu/,
  2659. meridiemHour: function meridiemHour(hour, meridiem) {
  2660. if (hour === 12) {
  2661. hour = 0;
  2662. }
  2663. if (meridiem === 'enjing') {
  2664. return hour;
  2665. } else if (meridiem === 'siyang') {
  2666. return hour >= 11 ? hour : hour + 12;
  2667. } else if (meridiem === 'sonten' || meridiem === 'ndalu') {
  2668. return hour + 12;
  2669. }
  2670. },
  2671. meridiem: function meridiem(hours, minutes, isLower) {
  2672. if (hours < 11) {
  2673. return 'enjing';
  2674. } else if (hours < 15) {
  2675. return 'siyang';
  2676. } else if (hours < 19) {
  2677. return 'sonten';
  2678. } else {
  2679. return 'ndalu';
  2680. }
  2681. },
  2682. calendar: {
  2683. sameDay: '[Dinten puniko pukul] LT',
  2684. nextDay: '[Mbenjang pukul] LT',
  2685. nextWeek: 'dddd [pukul] LT',
  2686. lastDay: '[Kala wingi pukul] LT',
  2687. lastWeek: 'dddd [kepengker pukul] LT',
  2688. sameElse: 'L'
  2689. },
  2690. relativeTime: {
  2691. future: 'wonten ing %s',
  2692. past: '%s ingkang kepengker',
  2693. s: 'sawetawis detik',
  2694. ss: '%d detik',
  2695. m: 'setunggal menit',
  2696. mm: '%d menit',
  2697. h: 'setunggal jam',
  2698. hh: '%d jam',
  2699. d: 'sedinten',
  2700. dd: '%d dinten',
  2701. M: 'sewulan',
  2702. MM: '%d wulan',
  2703. y: 'setaun',
  2704. yy: '%d taun'
  2705. },
  2706. week: {
  2707. dow: 1,
  2708. // Monday is the first day of the week.
  2709. doy: 7 // The week that contains Jan 7th is the first week of the year.
  2710. }
  2711. });
  2712. return jv;
  2713. });
  2714. /***/ }),
  2715. /***/ 1200:
  2716. /*!******************************************************************!*\
  2717. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/api/memberFeedback.js ***!
  2718. \******************************************************************/
  2719. /*! no static exports found */
  2720. /***/ (function(module, exports, __webpack_require__) {
  2721. "use strict";
  2722. Object.defineProperty(exports, "__esModule", {
  2723. value: true
  2724. });
  2725. exports.getFeedbackList = exports.addFeedback = void 0;
  2726. var _network = __webpack_require__(/*! ../util/network */ 38);
  2727. // 添加反馈意见
  2728. var addFeedback = function addFeedback(feedback) {
  2729. return (0, _network.requestApi)('/Memberfeedback/feedback_add', 'POST', {
  2730. feedback: feedback
  2731. }, 'member');
  2732. };
  2733. // 反馈列表
  2734. exports.addFeedback = addFeedback;
  2735. var getFeedbackList = function getFeedbackList(params) {
  2736. return (0, _network.requestApi)('/Memberfeedback/feedback_list', 'POST', {
  2737. page: params.page,
  2738. per_page: params.per_page
  2739. }, 'member');
  2740. };
  2741. exports.getFeedbackList = getFeedbackList;
  2742. /***/ }),
  2743. /***/ 121:
  2744. /*!*****************************************************************************!*\
  2745. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/ka.js ***!
  2746. \*****************************************************************************/
  2747. /*! no static exports found */
  2748. /***/ (function(module, exports, __webpack_require__) {
  2749. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  2750. //! moment.js locale configuration
  2751. //! locale : Georgian [ka]
  2752. //! author : Irakli Janiashvili : https://github.com/IrakliJani
  2753. ;
  2754. (function (global, factory) {
  2755. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  2756. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  2757. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  2758. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  2759. })(this, function (moment) {
  2760. 'use strict';
  2761. //! moment.js locale configuration
  2762. var ka = moment.defineLocale('ka', {
  2763. months: 'იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი'.split('_'),
  2764. monthsShort: 'იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ'.split('_'),
  2765. weekdays: {
  2766. standalone: 'კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი'.split('_'),
  2767. format: 'კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს'.split('_'),
  2768. isFormat: /(წინა|შემდეგ)/
  2769. },
  2770. weekdaysShort: 'კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ'.split('_'),
  2771. weekdaysMin: 'კვ_ორ_სა_ოთ_ხუ_პა_შა'.split('_'),
  2772. longDateFormat: {
  2773. LT: 'HH:mm',
  2774. LTS: 'HH:mm:ss',
  2775. L: 'DD/MM/YYYY',
  2776. LL: 'D MMMM YYYY',
  2777. LLL: 'D MMMM YYYY HH:mm',
  2778. LLLL: 'dddd, D MMMM YYYY HH:mm'
  2779. },
  2780. calendar: {
  2781. sameDay: '[დღეს] LT[-ზე]',
  2782. nextDay: '[ხვალ] LT[-ზე]',
  2783. lastDay: '[გუშინ] LT[-ზე]',
  2784. nextWeek: '[შემდეგ] dddd LT[-ზე]',
  2785. lastWeek: '[წინა] dddd LT-ზე',
  2786. sameElse: 'L'
  2787. },
  2788. relativeTime: {
  2789. future: function future(s) {
  2790. return s.replace(/(წამ|წუთ|საათ|წელ|დღ|თვ)(ი|ე)/, function ($0, $1, $2) {
  2791. return $2 === 'ი' ? $1 + 'ში' : $1 + $2 + 'ში';
  2792. });
  2793. },
  2794. past: function past(s) {
  2795. if (/(წამი|წუთი|საათი|დღე|თვე)/.test(s)) {
  2796. return s.replace(/(ი|ე)$/, 'ის წინ');
  2797. }
  2798. if (/წელი/.test(s)) {
  2799. return s.replace(/წელი$/, 'წლის წინ');
  2800. }
  2801. return s;
  2802. },
  2803. s: 'რამდენიმე წამი',
  2804. ss: '%d წამი',
  2805. m: 'წუთი',
  2806. mm: '%d წუთი',
  2807. h: 'საათი',
  2808. hh: '%d საათი',
  2809. d: 'დღე',
  2810. dd: '%d დღე',
  2811. M: 'თვე',
  2812. MM: '%d თვე',
  2813. y: 'წელი',
  2814. yy: '%d წელი'
  2815. },
  2816. dayOfMonthOrdinalParse: /0|1-ლი|მე-\d{1,2}|\d{1,2}-ე/,
  2817. ordinal: function ordinal(number) {
  2818. if (number === 0) {
  2819. return number;
  2820. }
  2821. if (number === 1) {
  2822. return number + '-ლი';
  2823. }
  2824. if (number < 20 || number <= 100 && number % 20 === 0 || number % 100 === 0) {
  2825. return 'მე-' + number;
  2826. }
  2827. return number + '-ე';
  2828. },
  2829. week: {
  2830. dow: 1,
  2831. doy: 7
  2832. }
  2833. });
  2834. return ka;
  2835. });
  2836. /***/ }),
  2837. /***/ 1219:
  2838. /*!**************************************************************!*\
  2839. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/api/memberLive.js ***!
  2840. \**************************************************************/
  2841. /*! no static exports found */
  2842. /***/ (function(module, exports, __webpack_require__) {
  2843. "use strict";
  2844. Object.defineProperty(exports, "__esModule", {
  2845. value: true
  2846. });
  2847. exports.leaveLive = exports.joinLive = exports.getMiniproLiveList = exports.getLiveList = exports.getLiveInfo = exports.addLike = exports.addGift = void 0;
  2848. var _network = __webpack_require__(/*! ../util/network */ 38);
  2849. var getLiveList = function getLiveList(data) {
  2850. return (0, _network.requestApi)('/live/get_live_list', 'POST', data);
  2851. };
  2852. exports.getLiveList = getLiveList;
  2853. var getMiniproLiveList = function getMiniproLiveList(data) {
  2854. return (0, _network.requestApi)('/live/get_minipro_live_list', 'POST', data);
  2855. };
  2856. exports.getMiniproLiveList = getMiniproLiveList;
  2857. var getLiveInfo = function getLiveInfo(live_apply_id) {
  2858. return (0, _network.requestApi)('/member_live/get_live_info', 'POST', {
  2859. 'live_apply_id': live_apply_id
  2860. }, 'member');
  2861. };
  2862. exports.getLiveInfo = getLiveInfo;
  2863. var joinLive = function joinLive(live_apply_id, client_id) {
  2864. return (0, _network.requestApi)('/member_live/join_live', 'POST', {
  2865. 'live_apply_id': live_apply_id,
  2866. 'client_id': client_id
  2867. }, 'member');
  2868. };
  2869. exports.joinLive = joinLive;
  2870. var leaveLive = function leaveLive(live_apply_id, client_id) {
  2871. return (0, _network.requestApi)('/member_live/leave_live', 'POST', {
  2872. 'live_apply_id': live_apply_id,
  2873. 'client_id': client_id
  2874. }, 'member');
  2875. };
  2876. exports.leaveLive = leaveLive;
  2877. var addLike = function addLike(live_apply_id) {
  2878. return (0, _network.requestApi)('/member_live/add_like', 'POST', {
  2879. 'live_apply_id': live_apply_id
  2880. }, 'member');
  2881. };
  2882. exports.addLike = addLike;
  2883. var addGift = function addGift(live_apply_id) {
  2884. return (0, _network.requestApi)('/member_live/add_gift', 'POST', {
  2885. 'live_apply_id': live_apply_id
  2886. }, 'member');
  2887. };
  2888. exports.addGift = addGift;
  2889. /***/ }),
  2890. /***/ 122:
  2891. /*!*****************************************************************************!*\
  2892. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/kk.js ***!
  2893. \*****************************************************************************/
  2894. /*! no static exports found */
  2895. /***/ (function(module, exports, __webpack_require__) {
  2896. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  2897. //! moment.js locale configuration
  2898. //! locale : Kazakh [kk]
  2899. //! authors : Nurlan Rakhimzhanov : https://github.com/nurlan
  2900. ;
  2901. (function (global, factory) {
  2902. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  2903. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  2904. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  2905. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  2906. })(this, function (moment) {
  2907. 'use strict';
  2908. //! moment.js locale configuration
  2909. var suffixes = {
  2910. 0: '-ші',
  2911. 1: '-ші',
  2912. 2: '-ші',
  2913. 3: '-ші',
  2914. 4: '-ші',
  2915. 5: '-ші',
  2916. 6: '-шы',
  2917. 7: '-ші',
  2918. 8: '-ші',
  2919. 9: '-шы',
  2920. 10: '-шы',
  2921. 20: '-шы',
  2922. 30: '-шы',
  2923. 40: '-шы',
  2924. 50: '-ші',
  2925. 60: '-шы',
  2926. 70: '-ші',
  2927. 80: '-ші',
  2928. 90: '-шы',
  2929. 100: '-ші'
  2930. };
  2931. var kk = moment.defineLocale('kk', {
  2932. months: 'қаңтар_ақпан_наурыз_сәуір_мамыр_маусым_шілде_тамыз_қыркүйек_қазан_қараша_желтоқсан'.split('_'),
  2933. monthsShort: 'қаң_ақп_нау_сәу_мам_мау_шіл_там_қыр_қаз_қар_жел'.split('_'),
  2934. weekdays: 'жексенбі_дүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі'.split('_'),
  2935. weekdaysShort: 'жек_дүй_сей_сәр_бей_жұм_сен'.split('_'),
  2936. weekdaysMin: 'жк_дй_сй_ср_бй_жм_сн'.split('_'),
  2937. longDateFormat: {
  2938. LT: 'HH:mm',
  2939. LTS: 'HH:mm:ss',
  2940. L: 'DD.MM.YYYY',
  2941. LL: 'D MMMM YYYY',
  2942. LLL: 'D MMMM YYYY HH:mm',
  2943. LLLL: 'dddd, D MMMM YYYY HH:mm'
  2944. },
  2945. calendar: {
  2946. sameDay: '[Бүгін сағат] LT',
  2947. nextDay: '[Ертең сағат] LT',
  2948. nextWeek: 'dddd [сағат] LT',
  2949. lastDay: '[Кеше сағат] LT',
  2950. lastWeek: '[Өткен аптаның] dddd [сағат] LT',
  2951. sameElse: 'L'
  2952. },
  2953. relativeTime: {
  2954. future: '%s ішінде',
  2955. past: '%s бұрын',
  2956. s: 'бірнеше секунд',
  2957. ss: '%d секунд',
  2958. m: 'бір минут',
  2959. mm: '%d минут',
  2960. h: 'бір сағат',
  2961. hh: '%d сағат',
  2962. d: 'бір күн',
  2963. dd: '%d күн',
  2964. M: 'бір ай',
  2965. MM: '%d ай',
  2966. y: 'бір жыл',
  2967. yy: '%d жыл'
  2968. },
  2969. dayOfMonthOrdinalParse: /\d{1,2}-(ші|шы)/,
  2970. ordinal: function ordinal(number) {
  2971. var a = number % 10,
  2972. b = number >= 100 ? 100 : null;
  2973. return number + (suffixes[number] || suffixes[a] || suffixes[b]);
  2974. },
  2975. week: {
  2976. dow: 1,
  2977. // Monday is the first day of the week.
  2978. doy: 7 // The week that contains Jan 7th is the first week of the year.
  2979. }
  2980. });
  2981. return kk;
  2982. });
  2983. /***/ }),
  2984. /***/ 123:
  2985. /*!*****************************************************************************!*\
  2986. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/km.js ***!
  2987. \*****************************************************************************/
  2988. /*! no static exports found */
  2989. /***/ (function(module, exports, __webpack_require__) {
  2990. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  2991. //! moment.js locale configuration
  2992. //! locale : Cambodian [km]
  2993. //! author : Kruy Vanna : https://github.com/kruyvanna
  2994. ;
  2995. (function (global, factory) {
  2996. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  2997. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  2998. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  2999. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  3000. })(this, function (moment) {
  3001. 'use strict';
  3002. //! moment.js locale configuration
  3003. var symbolMap = {
  3004. 1: '១',
  3005. 2: '២',
  3006. 3: '៣',
  3007. 4: '៤',
  3008. 5: '៥',
  3009. 6: '៦',
  3010. 7: '៧',
  3011. 8: '៨',
  3012. 9: '៩',
  3013. 0: '០'
  3014. },
  3015. numberMap = {
  3016. '១': '1',
  3017. '២': '2',
  3018. '៣': '3',
  3019. '៤': '4',
  3020. '៥': '5',
  3021. '៦': '6',
  3022. '៧': '7',
  3023. '៨': '8',
  3024. '៩': '9',
  3025. '០': '0'
  3026. };
  3027. var km = moment.defineLocale('km', {
  3028. months: 'មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ'.split('_'),
  3029. monthsShort: 'មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ'.split('_'),
  3030. weekdays: 'អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍'.split('_'),
  3031. weekdaysShort: 'អា_ច_អ_ព_ព្រ_សុ_ស'.split('_'),
  3032. weekdaysMin: 'អា_ច_អ_ព_ព្រ_សុ_ស'.split('_'),
  3033. weekdaysParseExact: true,
  3034. longDateFormat: {
  3035. LT: 'HH:mm',
  3036. LTS: 'HH:mm:ss',
  3037. L: 'DD/MM/YYYY',
  3038. LL: 'D MMMM YYYY',
  3039. LLL: 'D MMMM YYYY HH:mm',
  3040. LLLL: 'dddd, D MMMM YYYY HH:mm'
  3041. },
  3042. meridiemParse: /ព្រឹក|ល្ងាច/,
  3043. isPM: function isPM(input) {
  3044. return input === 'ល្ងាច';
  3045. },
  3046. meridiem: function meridiem(hour, minute, isLower) {
  3047. if (hour < 12) {
  3048. return 'ព្រឹក';
  3049. } else {
  3050. return 'ល្ងាច';
  3051. }
  3052. },
  3053. calendar: {
  3054. sameDay: '[ថ្ងៃនេះ ម៉ោង] LT',
  3055. nextDay: '[ស្អែក ម៉ោង] LT',
  3056. nextWeek: 'dddd [ម៉ោង] LT',
  3057. lastDay: '[ម្សិលមិញ ម៉ោង] LT',
  3058. lastWeek: 'dddd [សប្តាហ៍មុន] [ម៉ោង] LT',
  3059. sameElse: 'L'
  3060. },
  3061. relativeTime: {
  3062. future: '%sទៀត',
  3063. past: '%sមុន',
  3064. s: 'ប៉ុន្មានវិនាទី',
  3065. ss: '%d វិនាទី',
  3066. m: 'មួយនាទី',
  3067. mm: '%d នាទី',
  3068. h: 'មួយម៉ោង',
  3069. hh: '%d ម៉ោង',
  3070. d: 'មួយថ្ងៃ',
  3071. dd: '%d ថ្ងៃ',
  3072. M: 'មួយខែ',
  3073. MM: '%d ខែ',
  3074. y: 'មួយឆ្នាំ',
  3075. yy: '%d ឆ្នាំ'
  3076. },
  3077. dayOfMonthOrdinalParse: /ទី\d{1,2}/,
  3078. ordinal: 'ទី%d',
  3079. preparse: function preparse(string) {
  3080. return string.replace(/[១២៣៤៥៦៧៨៩០]/g, function (match) {
  3081. return numberMap[match];
  3082. });
  3083. },
  3084. postformat: function postformat(string) {
  3085. return string.replace(/\d/g, function (match) {
  3086. return symbolMap[match];
  3087. });
  3088. },
  3089. week: {
  3090. dow: 1,
  3091. // Monday is the first day of the week.
  3092. doy: 4 // The week that contains Jan 4th is the first week of the year.
  3093. }
  3094. });
  3095. return km;
  3096. });
  3097. /***/ }),
  3098. /***/ 124:
  3099. /*!*****************************************************************************!*\
  3100. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/kn.js ***!
  3101. \*****************************************************************************/
  3102. /*! no static exports found */
  3103. /***/ (function(module, exports, __webpack_require__) {
  3104. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  3105. //! moment.js locale configuration
  3106. //! locale : Kannada [kn]
  3107. //! author : Rajeev Naik : https://github.com/rajeevnaikte
  3108. ;
  3109. (function (global, factory) {
  3110. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  3111. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  3112. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  3113. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  3114. })(this, function (moment) {
  3115. 'use strict';
  3116. //! moment.js locale configuration
  3117. var symbolMap = {
  3118. 1: '೧',
  3119. 2: '೨',
  3120. 3: '೩',
  3121. 4: '೪',
  3122. 5: '೫',
  3123. 6: '೬',
  3124. 7: '೭',
  3125. 8: '೮',
  3126. 9: '೯',
  3127. 0: '೦'
  3128. },
  3129. numberMap = {
  3130. '೧': '1',
  3131. '೨': '2',
  3132. '೩': '3',
  3133. '೪': '4',
  3134. '೫': '5',
  3135. '೬': '6',
  3136. '೭': '7',
  3137. '೮': '8',
  3138. '೯': '9',
  3139. '೦': '0'
  3140. };
  3141. var kn = moment.defineLocale('kn', {
  3142. months: 'ಜನವರಿ_ಫೆಬ್ರವರಿ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂಬರ್_ಅಕ್ಟೋಬರ್_ನವೆಂಬರ್_ಡಿಸೆಂಬರ್'.split('_'),
  3143. monthsShort: 'ಜನ_ಫೆಬ್ರ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂ_ಅಕ್ಟೋ_ನವೆಂ_ಡಿಸೆಂ'.split('_'),
  3144. monthsParseExact: true,
  3145. weekdays: 'ಭಾನುವಾರ_ಸೋಮವಾರ_ಮಂಗಳವಾರ_ಬುಧವಾರ_ಗುರುವಾರ_ಶುಕ್ರವಾರ_ಶನಿವಾರ'.split('_'),
  3146. weekdaysShort: 'ಭಾನು_ಸೋಮ_ಮಂಗಳ_ಬುಧ_ಗುರು_ಶುಕ್ರ_ಶನಿ'.split('_'),
  3147. weekdaysMin: 'ಭಾ_ಸೋ_ಮಂ_ಬು_ಗು_ಶು_ಶ'.split('_'),
  3148. longDateFormat: {
  3149. LT: 'A h:mm',
  3150. LTS: 'A h:mm:ss',
  3151. L: 'DD/MM/YYYY',
  3152. LL: 'D MMMM YYYY',
  3153. LLL: 'D MMMM YYYY, A h:mm',
  3154. LLLL: 'dddd, D MMMM YYYY, A h:mm'
  3155. },
  3156. calendar: {
  3157. sameDay: '[ಇಂದು] LT',
  3158. nextDay: '[ನಾಳೆ] LT',
  3159. nextWeek: 'dddd, LT',
  3160. lastDay: '[ನಿನ್ನೆ] LT',
  3161. lastWeek: '[ಕೊನೆಯ] dddd, LT',
  3162. sameElse: 'L'
  3163. },
  3164. relativeTime: {
  3165. future: '%s ನಂತರ',
  3166. past: '%s ಹಿಂದೆ',
  3167. s: 'ಕೆಲವು ಕ್ಷಣಗಳು',
  3168. ss: '%d ಸೆಕೆಂಡುಗಳು',
  3169. m: 'ಒಂದು ನಿಮಿಷ',
  3170. mm: '%d ನಿಮಿಷ',
  3171. h: 'ಒಂದು ಗಂಟೆ',
  3172. hh: '%d ಗಂಟೆ',
  3173. d: 'ಒಂದು ದಿನ',
  3174. dd: '%d ದಿನ',
  3175. M: 'ಒಂದು ತಿಂಗಳು',
  3176. MM: '%d ತಿಂಗಳು',
  3177. y: 'ಒಂದು ವರ್ಷ',
  3178. yy: '%d ವರ್ಷ'
  3179. },
  3180. preparse: function preparse(string) {
  3181. return string.replace(/[೧೨೩೪೫೬೭೮೯೦]/g, function (match) {
  3182. return numberMap[match];
  3183. });
  3184. },
  3185. postformat: function postformat(string) {
  3186. return string.replace(/\d/g, function (match) {
  3187. return symbolMap[match];
  3188. });
  3189. },
  3190. meridiemParse: /ರಾತ್ರಿ|ಬೆಳಿಗ್ಗೆ|ಮಧ್ಯಾಹ್ನ|ಸಂಜೆ/,
  3191. meridiemHour: function meridiemHour(hour, meridiem) {
  3192. if (hour === 12) {
  3193. hour = 0;
  3194. }
  3195. if (meridiem === 'ರಾತ್ರಿ') {
  3196. return hour < 4 ? hour : hour + 12;
  3197. } else if (meridiem === 'ಬೆಳಿಗ್ಗೆ') {
  3198. return hour;
  3199. } else if (meridiem === 'ಮಧ್ಯಾಹ್ನ') {
  3200. return hour >= 10 ? hour : hour + 12;
  3201. } else if (meridiem === 'ಸಂಜೆ') {
  3202. return hour + 12;
  3203. }
  3204. },
  3205. meridiem: function meridiem(hour, minute, isLower) {
  3206. if (hour < 4) {
  3207. return 'ರಾತ್ರಿ';
  3208. } else if (hour < 10) {
  3209. return 'ಬೆಳಿಗ್ಗೆ';
  3210. } else if (hour < 17) {
  3211. return 'ಮಧ್ಯಾಹ್ನ';
  3212. } else if (hour < 20) {
  3213. return 'ಸಂಜೆ';
  3214. } else {
  3215. return 'ರಾತ್ರಿ';
  3216. }
  3217. },
  3218. dayOfMonthOrdinalParse: /\d{1,2}(ನೇ)/,
  3219. ordinal: function ordinal(number) {
  3220. return number + 'ನೇ';
  3221. },
  3222. week: {
  3223. dow: 0,
  3224. // Sunday is the first day of the week.
  3225. doy: 6 // The week that contains Jan 6th is the first week of the year.
  3226. }
  3227. });
  3228. return kn;
  3229. });
  3230. /***/ }),
  3231. /***/ 125:
  3232. /*!*****************************************************************************!*\
  3233. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/ko.js ***!
  3234. \*****************************************************************************/
  3235. /*! no static exports found */
  3236. /***/ (function(module, exports, __webpack_require__) {
  3237. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  3238. //! moment.js locale configuration
  3239. //! locale : Korean [ko]
  3240. //! author : Kyungwook, Park : https://github.com/kyungw00k
  3241. //! author : Jeeeyul Lee <jeeeyul@gmail.com>
  3242. ;
  3243. (function (global, factory) {
  3244. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  3245. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  3246. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  3247. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  3248. })(this, function (moment) {
  3249. 'use strict';
  3250. //! moment.js locale configuration
  3251. var ko = moment.defineLocale('ko', {
  3252. months: '1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월'.split('_'),
  3253. monthsShort: '1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월'.split('_'),
  3254. weekdays: '일요일_월요일_화요일_수요일_목요일_금요일_토요일'.split('_'),
  3255. weekdaysShort: '일_월_화_수_목_금_토'.split('_'),
  3256. weekdaysMin: '일_월_화_수_목_금_토'.split('_'),
  3257. longDateFormat: {
  3258. LT: 'A h:mm',
  3259. LTS: 'A h:mm:ss',
  3260. L: 'YYYY.MM.DD.',
  3261. LL: 'YYYY년 MMMM D일',
  3262. LLL: 'YYYY년 MMMM D일 A h:mm',
  3263. LLLL: 'YYYY년 MMMM D일 dddd A h:mm',
  3264. l: 'YYYY.MM.DD.',
  3265. ll: 'YYYY년 MMMM D일',
  3266. lll: 'YYYY년 MMMM D일 A h:mm',
  3267. llll: 'YYYY년 MMMM D일 dddd A h:mm'
  3268. },
  3269. calendar: {
  3270. sameDay: '오늘 LT',
  3271. nextDay: '내일 LT',
  3272. nextWeek: 'dddd LT',
  3273. lastDay: '어제 LT',
  3274. lastWeek: '지난주 dddd LT',
  3275. sameElse: 'L'
  3276. },
  3277. relativeTime: {
  3278. future: '%s 후',
  3279. past: '%s 전',
  3280. s: '몇 초',
  3281. ss: '%d초',
  3282. m: '1분',
  3283. mm: '%d분',
  3284. h: '한 시간',
  3285. hh: '%d시간',
  3286. d: '하루',
  3287. dd: '%d일',
  3288. M: '한 달',
  3289. MM: '%d달',
  3290. y: '일 년',
  3291. yy: '%d년'
  3292. },
  3293. dayOfMonthOrdinalParse: /\d{1,2}(일|월|주)/,
  3294. ordinal: function ordinal(number, period) {
  3295. switch (period) {
  3296. case 'd':
  3297. case 'D':
  3298. case 'DDD':
  3299. return number + '일';
  3300. case 'M':
  3301. return number + '월';
  3302. case 'w':
  3303. case 'W':
  3304. return number + '주';
  3305. default:
  3306. return number;
  3307. }
  3308. },
  3309. meridiemParse: /오전|오후/,
  3310. isPM: function isPM(token) {
  3311. return token === '오후';
  3312. },
  3313. meridiem: function meridiem(hour, minute, isUpper) {
  3314. return hour < 12 ? '오전' : '오후';
  3315. }
  3316. });
  3317. return ko;
  3318. });
  3319. /***/ }),
  3320. /***/ 126:
  3321. /*!*****************************************************************************!*\
  3322. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/ku.js ***!
  3323. \*****************************************************************************/
  3324. /*! no static exports found */
  3325. /***/ (function(module, exports, __webpack_require__) {
  3326. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  3327. //! moment.js locale configuration
  3328. //! locale : Kurdish [ku]
  3329. //! author : Shahram Mebashar : https://github.com/ShahramMebashar
  3330. ;
  3331. (function (global, factory) {
  3332. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  3333. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  3334. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  3335. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  3336. })(this, function (moment) {
  3337. 'use strict';
  3338. //! moment.js locale configuration
  3339. var symbolMap = {
  3340. 1: '١',
  3341. 2: '٢',
  3342. 3: '٣',
  3343. 4: '٤',
  3344. 5: '٥',
  3345. 6: '٦',
  3346. 7: '٧',
  3347. 8: '٨',
  3348. 9: '٩',
  3349. 0: '٠'
  3350. },
  3351. numberMap = {
  3352. '١': '1',
  3353. '٢': '2',
  3354. '٣': '3',
  3355. '٤': '4',
  3356. '٥': '5',
  3357. '٦': '6',
  3358. '٧': '7',
  3359. '٨': '8',
  3360. '٩': '9',
  3361. '٠': '0'
  3362. },
  3363. months = ['کانونی دووەم', 'شوبات', 'ئازار', 'نیسان', 'ئایار', 'حوزەیران', 'تەمموز', 'ئاب', 'ئەیلوول', 'تشرینی یەكەم', 'تشرینی دووەم', 'كانونی یەکەم'];
  3364. var ku = moment.defineLocale('ku', {
  3365. months: months,
  3366. monthsShort: months,
  3367. weekdays: 'یه‌كشه‌ممه‌_دووشه‌ممه‌_سێشه‌ممه‌_چوارشه‌ممه‌_پێنجشه‌ممه‌_هه‌ینی_شه‌ممه‌'.split('_'),
  3368. weekdaysShort: 'یه‌كشه‌م_دووشه‌م_سێشه‌م_چوارشه‌م_پێنجشه‌م_هه‌ینی_شه‌ممه‌'.split('_'),
  3369. weekdaysMin: 'ی_د_س_چ_پ_ه_ش'.split('_'),
  3370. weekdaysParseExact: true,
  3371. longDateFormat: {
  3372. LT: 'HH:mm',
  3373. LTS: 'HH:mm:ss',
  3374. L: 'DD/MM/YYYY',
  3375. LL: 'D MMMM YYYY',
  3376. LLL: 'D MMMM YYYY HH:mm',
  3377. LLLL: 'dddd, D MMMM YYYY HH:mm'
  3378. },
  3379. meridiemParse: /ئێواره‌|به‌یانی/,
  3380. isPM: function isPM(input) {
  3381. return /ئێواره‌/.test(input);
  3382. },
  3383. meridiem: function meridiem(hour, minute, isLower) {
  3384. if (hour < 12) {
  3385. return 'به‌یانی';
  3386. } else {
  3387. return 'ئێواره‌';
  3388. }
  3389. },
  3390. calendar: {
  3391. sameDay: '[ئه‌مرۆ كاتژمێر] LT',
  3392. nextDay: '[به‌یانی كاتژمێر] LT',
  3393. nextWeek: 'dddd [كاتژمێر] LT',
  3394. lastDay: '[دوێنێ كاتژمێر] LT',
  3395. lastWeek: 'dddd [كاتژمێر] LT',
  3396. sameElse: 'L'
  3397. },
  3398. relativeTime: {
  3399. future: 'له‌ %s',
  3400. past: '%s',
  3401. s: 'چه‌ند چركه‌یه‌ك',
  3402. ss: 'چركه‌ %d',
  3403. m: 'یه‌ك خوله‌ك',
  3404. mm: '%d خوله‌ك',
  3405. h: 'یه‌ك كاتژمێر',
  3406. hh: '%d كاتژمێر',
  3407. d: 'یه‌ك ڕۆژ',
  3408. dd: '%d ڕۆژ',
  3409. M: 'یه‌ك مانگ',
  3410. MM: '%d مانگ',
  3411. y: 'یه‌ك ساڵ',
  3412. yy: '%d ساڵ'
  3413. },
  3414. preparse: function preparse(string) {
  3415. return string.replace(/[١٢٣٤٥٦٧٨٩٠]/g, function (match) {
  3416. return numberMap[match];
  3417. }).replace(/،/g, ',');
  3418. },
  3419. postformat: function postformat(string) {
  3420. return string.replace(/\d/g, function (match) {
  3421. return symbolMap[match];
  3422. }).replace(/,/g, '،');
  3423. },
  3424. week: {
  3425. dow: 6,
  3426. // Saturday is the first day of the week.
  3427. doy: 12 // The week that contains Jan 12th is the first week of the year.
  3428. }
  3429. });
  3430. return ku;
  3431. });
  3432. /***/ }),
  3433. /***/ 127:
  3434. /*!*****************************************************************************!*\
  3435. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/ky.js ***!
  3436. \*****************************************************************************/
  3437. /*! no static exports found */
  3438. /***/ (function(module, exports, __webpack_require__) {
  3439. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  3440. //! moment.js locale configuration
  3441. //! locale : Kyrgyz [ky]
  3442. //! author : Chyngyz Arystan uulu : https://github.com/chyngyz
  3443. ;
  3444. (function (global, factory) {
  3445. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  3446. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  3447. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  3448. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  3449. })(this, function (moment) {
  3450. 'use strict';
  3451. //! moment.js locale configuration
  3452. var suffixes = {
  3453. 0: '-чү',
  3454. 1: '-чи',
  3455. 2: '-чи',
  3456. 3: '-чү',
  3457. 4: '-чү',
  3458. 5: '-чи',
  3459. 6: '-чы',
  3460. 7: '-чи',
  3461. 8: '-чи',
  3462. 9: '-чу',
  3463. 10: '-чу',
  3464. 20: '-чы',
  3465. 30: '-чу',
  3466. 40: '-чы',
  3467. 50: '-чү',
  3468. 60: '-чы',
  3469. 70: '-чи',
  3470. 80: '-чи',
  3471. 90: '-чу',
  3472. 100: '-чү'
  3473. };
  3474. var ky = moment.defineLocale('ky', {
  3475. months: 'январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь'.split('_'),
  3476. monthsShort: 'янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек'.split('_'),
  3477. weekdays: 'Жекшемби_Дүйшөмбү_Шейшемби_Шаршемби_Бейшемби_Жума_Ишемби'.split('_'),
  3478. weekdaysShort: 'Жек_Дүй_Шей_Шар_Бей_Жум_Ише'.split('_'),
  3479. weekdaysMin: 'Жк_Дй_Шй_Шр_Бй_Жм_Иш'.split('_'),
  3480. longDateFormat: {
  3481. LT: 'HH:mm',
  3482. LTS: 'HH:mm:ss',
  3483. L: 'DD.MM.YYYY',
  3484. LL: 'D MMMM YYYY',
  3485. LLL: 'D MMMM YYYY HH:mm',
  3486. LLLL: 'dddd, D MMMM YYYY HH:mm'
  3487. },
  3488. calendar: {
  3489. sameDay: '[Бүгүн саат] LT',
  3490. nextDay: '[Эртең саат] LT',
  3491. nextWeek: 'dddd [саат] LT',
  3492. lastDay: '[Кечээ саат] LT',
  3493. lastWeek: '[Өткөн аптанын] dddd [күнү] [саат] LT',
  3494. sameElse: 'L'
  3495. },
  3496. relativeTime: {
  3497. future: '%s ичинде',
  3498. past: '%s мурун',
  3499. s: 'бирнече секунд',
  3500. ss: '%d секунд',
  3501. m: 'бир мүнөт',
  3502. mm: '%d мүнөт',
  3503. h: 'бир саат',
  3504. hh: '%d саат',
  3505. d: 'бир күн',
  3506. dd: '%d күн',
  3507. M: 'бир ай',
  3508. MM: '%d ай',
  3509. y: 'бир жыл',
  3510. yy: '%d жыл'
  3511. },
  3512. dayOfMonthOrdinalParse: /\d{1,2}-(чи|чы|чү|чу)/,
  3513. ordinal: function ordinal(number) {
  3514. var a = number % 10,
  3515. b = number >= 100 ? 100 : null;
  3516. return number + (suffixes[number] || suffixes[a] || suffixes[b]);
  3517. },
  3518. week: {
  3519. dow: 1,
  3520. // Monday is the first day of the week.
  3521. doy: 7 // The week that contains Jan 7th is the first week of the year.
  3522. }
  3523. });
  3524. return ky;
  3525. });
  3526. /***/ }),
  3527. /***/ 1275:
  3528. /*!************************************************************!*\
  3529. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/api/homecart.js ***!
  3530. \************************************************************/
  3531. /*! no static exports found */
  3532. /***/ (function(module, exports, __webpack_require__) {
  3533. "use strict";
  3534. Object.defineProperty(exports, "__esModule", {
  3535. value: true
  3536. });
  3537. exports.cartUpdate = exports.cartQuantity = exports.cartGet = exports.cartDelete = exports.cartAdd = void 0;
  3538. var _network = __webpack_require__(/*! ../util/network */ 38);
  3539. // 获取购物车
  3540. var cartGet = function cartGet() {
  3541. return (0, _network.requestApi)('/Membercart/cart_list', 'POST', {}, 'member');
  3542. };
  3543. // 新增购物车
  3544. exports.cartGet = cartGet;
  3545. var cartAdd = function cartAdd(goodsId, quantity, blId) {
  3546. return (0, _network.requestApi)('/Membercart/cart_add', 'POST', {
  3547. 'bl_id': blId,
  3548. 'goods_id': goodsId,
  3549. 'quantity': quantity
  3550. }, 'member');
  3551. };
  3552. // 删除购物车
  3553. exports.cartAdd = cartAdd;
  3554. var cartDelete = function cartDelete(cartId) {
  3555. return (0, _network.requestApi)('/Membercart/cart_del', 'POST', {
  3556. 'cart_id': cartId
  3557. }, 'member');
  3558. };
  3559. // 购物车更新
  3560. exports.cartDelete = cartDelete;
  3561. var cartUpdate = function cartUpdate(cartId, quantity) {
  3562. return (0, _network.requestApi)('/Membercart/cart_edit_quantity', 'POST', {
  3563. 'cart_id': cartId,
  3564. 'quantity': quantity
  3565. }, 'member');
  3566. };
  3567. // 购物车数量
  3568. exports.cartUpdate = cartUpdate;
  3569. var cartQuantity = function cartQuantity() {
  3570. return (0, _network.requestApi)('/Membercart/cart_count', 'POST', {}, 'member');
  3571. };
  3572. exports.cartQuantity = cartQuantity;
  3573. /***/ }),
  3574. /***/ 128:
  3575. /*!*****************************************************************************!*\
  3576. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/lb.js ***!
  3577. \*****************************************************************************/
  3578. /*! no static exports found */
  3579. /***/ (function(module, exports, __webpack_require__) {
  3580. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  3581. //! moment.js locale configuration
  3582. //! locale : Luxembourgish [lb]
  3583. //! author : mweimerskirch : https://github.com/mweimerskirch
  3584. //! author : David Raison : https://github.com/kwisatz
  3585. ;
  3586. (function (global, factory) {
  3587. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  3588. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  3589. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  3590. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  3591. })(this, function (moment) {
  3592. 'use strict';
  3593. //! moment.js locale configuration
  3594. function processRelativeTime(number, withoutSuffix, key, isFuture) {
  3595. var format = {
  3596. m: ['eng Minutt', 'enger Minutt'],
  3597. h: ['eng Stonn', 'enger Stonn'],
  3598. d: ['een Dag', 'engem Dag'],
  3599. M: ['ee Mount', 'engem Mount'],
  3600. y: ['ee Joer', 'engem Joer']
  3601. };
  3602. return withoutSuffix ? format[key][0] : format[key][1];
  3603. }
  3604. function processFutureTime(string) {
  3605. var number = string.substr(0, string.indexOf(' '));
  3606. if (eifelerRegelAppliesToNumber(number)) {
  3607. return 'a ' + string;
  3608. }
  3609. return 'an ' + string;
  3610. }
  3611. function processPastTime(string) {
  3612. var number = string.substr(0, string.indexOf(' '));
  3613. if (eifelerRegelAppliesToNumber(number)) {
  3614. return 'viru ' + string;
  3615. }
  3616. return 'virun ' + string;
  3617. }
  3618. /**
  3619. * Returns true if the word before the given number loses the '-n' ending.
  3620. * e.g. 'an 10 Deeg' but 'a 5 Deeg'
  3621. *
  3622. * @param number {integer}
  3623. * @returns {boolean}
  3624. */
  3625. function eifelerRegelAppliesToNumber(number) {
  3626. number = parseInt(number, 10);
  3627. if (isNaN(number)) {
  3628. return false;
  3629. }
  3630. if (number < 0) {
  3631. // Negative Number --> always true
  3632. return true;
  3633. } else if (number < 10) {
  3634. // Only 1 digit
  3635. if (4 <= number && number <= 7) {
  3636. return true;
  3637. }
  3638. return false;
  3639. } else if (number < 100) {
  3640. // 2 digits
  3641. var lastDigit = number % 10,
  3642. firstDigit = number / 10;
  3643. if (lastDigit === 0) {
  3644. return eifelerRegelAppliesToNumber(firstDigit);
  3645. }
  3646. return eifelerRegelAppliesToNumber(lastDigit);
  3647. } else if (number < 10000) {
  3648. // 3 or 4 digits --> recursively check first digit
  3649. while (number >= 10) {
  3650. number = number / 10;
  3651. }
  3652. return eifelerRegelAppliesToNumber(number);
  3653. } else {
  3654. // Anything larger than 4 digits: recursively check first n-3 digits
  3655. number = number / 1000;
  3656. return eifelerRegelAppliesToNumber(number);
  3657. }
  3658. }
  3659. var lb = moment.defineLocale('lb', {
  3660. months: 'Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember'.split('_'),
  3661. monthsShort: 'Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.'.split('_'),
  3662. monthsParseExact: true,
  3663. weekdays: 'Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg'.split('_'),
  3664. weekdaysShort: 'So._Mé._Dë._Më._Do._Fr._Sa.'.split('_'),
  3665. weekdaysMin: 'So_Mé_Dë_Më_Do_Fr_Sa'.split('_'),
  3666. weekdaysParseExact: true,
  3667. longDateFormat: {
  3668. LT: 'H:mm [Auer]',
  3669. LTS: 'H:mm:ss [Auer]',
  3670. L: 'DD.MM.YYYY',
  3671. LL: 'D. MMMM YYYY',
  3672. LLL: 'D. MMMM YYYY H:mm [Auer]',
  3673. LLLL: 'dddd, D. MMMM YYYY H:mm [Auer]'
  3674. },
  3675. calendar: {
  3676. sameDay: '[Haut um] LT',
  3677. sameElse: 'L',
  3678. nextDay: '[Muer um] LT',
  3679. nextWeek: 'dddd [um] LT',
  3680. lastDay: '[Gëschter um] LT',
  3681. lastWeek: function lastWeek() {
  3682. // Different date string for 'Dënschdeg' (Tuesday) and 'Donneschdeg' (Thursday) due to phonological rule
  3683. switch (this.day()) {
  3684. case 2:
  3685. case 4:
  3686. return '[Leschten] dddd [um] LT';
  3687. default:
  3688. return '[Leschte] dddd [um] LT';
  3689. }
  3690. }
  3691. },
  3692. relativeTime: {
  3693. future: processFutureTime,
  3694. past: processPastTime,
  3695. s: 'e puer Sekonnen',
  3696. ss: '%d Sekonnen',
  3697. m: processRelativeTime,
  3698. mm: '%d Minutten',
  3699. h: processRelativeTime,
  3700. hh: '%d Stonnen',
  3701. d: processRelativeTime,
  3702. dd: '%d Deeg',
  3703. M: processRelativeTime,
  3704. MM: '%d Méint',
  3705. y: processRelativeTime,
  3706. yy: '%d Joer'
  3707. },
  3708. dayOfMonthOrdinalParse: /\d{1,2}\./,
  3709. ordinal: '%d.',
  3710. week: {
  3711. dow: 1,
  3712. // Monday is the first day of the week.
  3713. doy: 4 // The week that contains Jan 4th is the first week of the year.
  3714. }
  3715. });
  3716. return lb;
  3717. });
  3718. /***/ }),
  3719. /***/ 129:
  3720. /*!*****************************************************************************!*\
  3721. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/lo.js ***!
  3722. \*****************************************************************************/
  3723. /*! no static exports found */
  3724. /***/ (function(module, exports, __webpack_require__) {
  3725. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  3726. //! moment.js locale configuration
  3727. //! locale : Lao [lo]
  3728. //! author : Ryan Hart : https://github.com/ryanhart2
  3729. ;
  3730. (function (global, factory) {
  3731. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  3732. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  3733. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  3734. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  3735. })(this, function (moment) {
  3736. 'use strict';
  3737. //! moment.js locale configuration
  3738. var lo = moment.defineLocale('lo', {
  3739. months: 'ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ'.split('_'),
  3740. monthsShort: 'ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ'.split('_'),
  3741. weekdays: 'ອາທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ'.split('_'),
  3742. weekdaysShort: 'ທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ'.split('_'),
  3743. weekdaysMin: 'ທ_ຈ_ອຄ_ພ_ພຫ_ສກ_ສ'.split('_'),
  3744. weekdaysParseExact: true,
  3745. longDateFormat: {
  3746. LT: 'HH:mm',
  3747. LTS: 'HH:mm:ss',
  3748. L: 'DD/MM/YYYY',
  3749. LL: 'D MMMM YYYY',
  3750. LLL: 'D MMMM YYYY HH:mm',
  3751. LLLL: 'ວັນdddd D MMMM YYYY HH:mm'
  3752. },
  3753. meridiemParse: /ຕອນເຊົ້າ|ຕອນແລງ/,
  3754. isPM: function isPM(input) {
  3755. return input === 'ຕອນແລງ';
  3756. },
  3757. meridiem: function meridiem(hour, minute, isLower) {
  3758. if (hour < 12) {
  3759. return 'ຕອນເຊົ້າ';
  3760. } else {
  3761. return 'ຕອນແລງ';
  3762. }
  3763. },
  3764. calendar: {
  3765. sameDay: '[ມື້ນີ້ເວລາ] LT',
  3766. nextDay: '[ມື້ອື່ນເວລາ] LT',
  3767. nextWeek: '[ວັນ]dddd[ໜ້າເວລາ] LT',
  3768. lastDay: '[ມື້ວານນີ້ເວລາ] LT',
  3769. lastWeek: '[ວັນ]dddd[ແລ້ວນີ້ເວລາ] LT',
  3770. sameElse: 'L'
  3771. },
  3772. relativeTime: {
  3773. future: 'ອີກ %s',
  3774. past: '%sຜ່ານມາ',
  3775. s: 'ບໍ່ເທົ່າໃດວິນາທີ',
  3776. ss: '%d ວິນາທີ',
  3777. m: '1 ນາທີ',
  3778. mm: '%d ນາທີ',
  3779. h: '1 ຊົ່ວໂມງ',
  3780. hh: '%d ຊົ່ວໂມງ',
  3781. d: '1 ມື້',
  3782. dd: '%d ມື້',
  3783. M: '1 ເດືອນ',
  3784. MM: '%d ເດືອນ',
  3785. y: '1 ປີ',
  3786. yy: '%d ປີ'
  3787. },
  3788. dayOfMonthOrdinalParse: /(ທີ່)\d{1,2}/,
  3789. ordinal: function ordinal(number) {
  3790. return 'ທີ່' + number;
  3791. }
  3792. });
  3793. return lo;
  3794. });
  3795. /***/ }),
  3796. /***/ 13:
  3797. /*!*******************************************************!*\
  3798. !*** ./node_modules/@babel/runtime/helpers/typeof.js ***!
  3799. \*******************************************************/
  3800. /*! no static exports found */
  3801. /***/ (function(module, exports) {
  3802. function _typeof(obj) {
  3803. "@babel/helpers - typeof";
  3804. return (module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
  3805. return typeof obj;
  3806. } : function (obj) {
  3807. return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
  3808. }, module.exports.__esModule = true, module.exports["default"] = module.exports), _typeof(obj);
  3809. }
  3810. module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports;
  3811. /***/ }),
  3812. /***/ 130:
  3813. /*!*****************************************************************************!*\
  3814. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/lt.js ***!
  3815. \*****************************************************************************/
  3816. /*! no static exports found */
  3817. /***/ (function(module, exports, __webpack_require__) {
  3818. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  3819. //! moment.js locale configuration
  3820. //! locale : Lithuanian [lt]
  3821. //! author : Mindaugas Mozūras : https://github.com/mmozuras
  3822. ;
  3823. (function (global, factory) {
  3824. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  3825. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  3826. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  3827. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  3828. })(this, function (moment) {
  3829. 'use strict';
  3830. //! moment.js locale configuration
  3831. var units = {
  3832. ss: 'sekundė_sekundžių_sekundes',
  3833. m: 'minutė_minutės_minutę',
  3834. mm: 'minutės_minučių_minutes',
  3835. h: 'valanda_valandos_valandą',
  3836. hh: 'valandos_valandų_valandas',
  3837. d: 'diena_dienos_dieną',
  3838. dd: 'dienos_dienų_dienas',
  3839. M: 'mėnuo_mėnesio_mėnesį',
  3840. MM: 'mėnesiai_mėnesių_mėnesius',
  3841. y: 'metai_metų_metus',
  3842. yy: 'metai_metų_metus'
  3843. };
  3844. function translateSeconds(number, withoutSuffix, key, isFuture) {
  3845. if (withoutSuffix) {
  3846. return 'kelios sekundės';
  3847. } else {
  3848. return isFuture ? 'kelių sekundžių' : 'kelias sekundes';
  3849. }
  3850. }
  3851. function translateSingular(number, withoutSuffix, key, isFuture) {
  3852. return withoutSuffix ? forms(key)[0] : isFuture ? forms(key)[1] : forms(key)[2];
  3853. }
  3854. function special(number) {
  3855. return number % 10 === 0 || number > 10 && number < 20;
  3856. }
  3857. function forms(key) {
  3858. return units[key].split('_');
  3859. }
  3860. function translate(number, withoutSuffix, key, isFuture) {
  3861. var result = number + ' ';
  3862. if (number === 1) {
  3863. return result + translateSingular(number, withoutSuffix, key[0], isFuture);
  3864. } else if (withoutSuffix) {
  3865. return result + (special(number) ? forms(key)[1] : forms(key)[0]);
  3866. } else {
  3867. if (isFuture) {
  3868. return result + forms(key)[1];
  3869. } else {
  3870. return result + (special(number) ? forms(key)[1] : forms(key)[2]);
  3871. }
  3872. }
  3873. }
  3874. var lt = moment.defineLocale('lt', {
  3875. months: {
  3876. format: 'sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio'.split('_'),
  3877. standalone: 'sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis'.split('_'),
  3878. isFormat: /D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/
  3879. },
  3880. monthsShort: 'sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd'.split('_'),
  3881. weekdays: {
  3882. format: 'sekmadienį_pirmadienį_antradienį_trečiadienį_ketvirtadienį_penktadienį_šeštadienį'.split('_'),
  3883. standalone: 'sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis'.split('_'),
  3884. isFormat: /dddd HH:mm/
  3885. },
  3886. weekdaysShort: 'Sek_Pir_Ant_Tre_Ket_Pen_Šeš'.split('_'),
  3887. weekdaysMin: 'S_P_A_T_K_Pn_Š'.split('_'),
  3888. weekdaysParseExact: true,
  3889. longDateFormat: {
  3890. LT: 'HH:mm',
  3891. LTS: 'HH:mm:ss',
  3892. L: 'YYYY-MM-DD',
  3893. LL: 'YYYY [m.] MMMM D [d.]',
  3894. LLL: 'YYYY [m.] MMMM D [d.], HH:mm [val.]',
  3895. LLLL: 'YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]',
  3896. l: 'YYYY-MM-DD',
  3897. ll: 'YYYY [m.] MMMM D [d.]',
  3898. lll: 'YYYY [m.] MMMM D [d.], HH:mm [val.]',
  3899. llll: 'YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]'
  3900. },
  3901. calendar: {
  3902. sameDay: '[Šiandien] LT',
  3903. nextDay: '[Rytoj] LT',
  3904. nextWeek: 'dddd LT',
  3905. lastDay: '[Vakar] LT',
  3906. lastWeek: '[Praėjusį] dddd LT',
  3907. sameElse: 'L'
  3908. },
  3909. relativeTime: {
  3910. future: 'po %s',
  3911. past: 'prieš %s',
  3912. s: translateSeconds,
  3913. ss: translate,
  3914. m: translateSingular,
  3915. mm: translate,
  3916. h: translateSingular,
  3917. hh: translate,
  3918. d: translateSingular,
  3919. dd: translate,
  3920. M: translateSingular,
  3921. MM: translate,
  3922. y: translateSingular,
  3923. yy: translate
  3924. },
  3925. dayOfMonthOrdinalParse: /\d{1,2}-oji/,
  3926. ordinal: function ordinal(number) {
  3927. return number + '-oji';
  3928. },
  3929. week: {
  3930. dow: 1,
  3931. // Monday is the first day of the week.
  3932. doy: 4 // The week that contains Jan 4th is the first week of the year.
  3933. }
  3934. });
  3935. return lt;
  3936. });
  3937. /***/ }),
  3938. /***/ 131:
  3939. /*!*****************************************************************************!*\
  3940. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/lv.js ***!
  3941. \*****************************************************************************/
  3942. /*! no static exports found */
  3943. /***/ (function(module, exports, __webpack_require__) {
  3944. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  3945. //! moment.js locale configuration
  3946. //! locale : Latvian [lv]
  3947. //! author : Kristaps Karlsons : https://github.com/skakri
  3948. //! author : Jānis Elmeris : https://github.com/JanisE
  3949. ;
  3950. (function (global, factory) {
  3951. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  3952. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  3953. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  3954. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  3955. })(this, function (moment) {
  3956. 'use strict';
  3957. //! moment.js locale configuration
  3958. var units = {
  3959. ss: 'sekundes_sekundēm_sekunde_sekundes'.split('_'),
  3960. m: 'minūtes_minūtēm_minūte_minūtes'.split('_'),
  3961. mm: 'minūtes_minūtēm_minūte_minūtes'.split('_'),
  3962. h: 'stundas_stundām_stunda_stundas'.split('_'),
  3963. hh: 'stundas_stundām_stunda_stundas'.split('_'),
  3964. d: 'dienas_dienām_diena_dienas'.split('_'),
  3965. dd: 'dienas_dienām_diena_dienas'.split('_'),
  3966. M: 'mēneša_mēnešiem_mēnesis_mēneši'.split('_'),
  3967. MM: 'mēneša_mēnešiem_mēnesis_mēneši'.split('_'),
  3968. y: 'gada_gadiem_gads_gadi'.split('_'),
  3969. yy: 'gada_gadiem_gads_gadi'.split('_')
  3970. };
  3971. /**
  3972. * @param withoutSuffix boolean true = a length of time; false = before/after a period of time.
  3973. */
  3974. function format(forms, number, withoutSuffix) {
  3975. if (withoutSuffix) {
  3976. // E.g. "21 minūte", "3 minūtes".
  3977. return number % 10 === 1 && number % 100 !== 11 ? forms[2] : forms[3];
  3978. } else {
  3979. // E.g. "21 minūtes" as in "pēc 21 minūtes".
  3980. // E.g. "3 minūtēm" as in "pēc 3 minūtēm".
  3981. return number % 10 === 1 && number % 100 !== 11 ? forms[0] : forms[1];
  3982. }
  3983. }
  3984. function relativeTimeWithPlural(number, withoutSuffix, key) {
  3985. return number + ' ' + format(units[key], number, withoutSuffix);
  3986. }
  3987. function relativeTimeWithSingular(number, withoutSuffix, key) {
  3988. return format(units[key], number, withoutSuffix);
  3989. }
  3990. function relativeSeconds(number, withoutSuffix) {
  3991. return withoutSuffix ? 'dažas sekundes' : 'dažām sekundēm';
  3992. }
  3993. var lv = moment.defineLocale('lv', {
  3994. months: 'janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris'.split('_'),
  3995. monthsShort: 'jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec'.split('_'),
  3996. weekdays: 'svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena'.split('_'),
  3997. weekdaysShort: 'Sv_P_O_T_C_Pk_S'.split('_'),
  3998. weekdaysMin: 'Sv_P_O_T_C_Pk_S'.split('_'),
  3999. weekdaysParseExact: true,
  4000. longDateFormat: {
  4001. LT: 'HH:mm',
  4002. LTS: 'HH:mm:ss',
  4003. L: 'DD.MM.YYYY.',
  4004. LL: 'YYYY. [gada] D. MMMM',
  4005. LLL: 'YYYY. [gada] D. MMMM, HH:mm',
  4006. LLLL: 'YYYY. [gada] D. MMMM, dddd, HH:mm'
  4007. },
  4008. calendar: {
  4009. sameDay: '[Šodien pulksten] LT',
  4010. nextDay: '[Rīt pulksten] LT',
  4011. nextWeek: 'dddd [pulksten] LT',
  4012. lastDay: '[Vakar pulksten] LT',
  4013. lastWeek: '[Pagājušā] dddd [pulksten] LT',
  4014. sameElse: 'L'
  4015. },
  4016. relativeTime: {
  4017. future: 'pēc %s',
  4018. past: 'pirms %s',
  4019. s: relativeSeconds,
  4020. ss: relativeTimeWithPlural,
  4021. m: relativeTimeWithSingular,
  4022. mm: relativeTimeWithPlural,
  4023. h: relativeTimeWithSingular,
  4024. hh: relativeTimeWithPlural,
  4025. d: relativeTimeWithSingular,
  4026. dd: relativeTimeWithPlural,
  4027. M: relativeTimeWithSingular,
  4028. MM: relativeTimeWithPlural,
  4029. y: relativeTimeWithSingular,
  4030. yy: relativeTimeWithPlural
  4031. },
  4032. dayOfMonthOrdinalParse: /\d{1,2}\./,
  4033. ordinal: '%d.',
  4034. week: {
  4035. dow: 1,
  4036. // Monday is the first day of the week.
  4037. doy: 4 // The week that contains Jan 4th is the first week of the year.
  4038. }
  4039. });
  4040. return lv;
  4041. });
  4042. /***/ }),
  4043. /***/ 132:
  4044. /*!*****************************************************************************!*\
  4045. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/me.js ***!
  4046. \*****************************************************************************/
  4047. /*! no static exports found */
  4048. /***/ (function(module, exports, __webpack_require__) {
  4049. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  4050. //! moment.js locale configuration
  4051. //! locale : Montenegrin [me]
  4052. //! author : Miodrag Nikač <miodrag@restartit.me> : https://github.com/miodragnikac
  4053. ;
  4054. (function (global, factory) {
  4055. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  4056. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  4057. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  4058. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  4059. })(this, function (moment) {
  4060. 'use strict';
  4061. //! moment.js locale configuration
  4062. var translator = {
  4063. words: {
  4064. //Different grammatical cases
  4065. ss: ['sekund', 'sekunda', 'sekundi'],
  4066. m: ['jedan minut', 'jednog minuta'],
  4067. mm: ['minut', 'minuta', 'minuta'],
  4068. h: ['jedan sat', 'jednog sata'],
  4069. hh: ['sat', 'sata', 'sati'],
  4070. dd: ['dan', 'dana', 'dana'],
  4071. MM: ['mjesec', 'mjeseca', 'mjeseci'],
  4072. yy: ['godina', 'godine', 'godina']
  4073. },
  4074. correctGrammaticalCase: function correctGrammaticalCase(number, wordKey) {
  4075. return number === 1 ? wordKey[0] : number >= 2 && number <= 4 ? wordKey[1] : wordKey[2];
  4076. },
  4077. translate: function translate(number, withoutSuffix, key) {
  4078. var wordKey = translator.words[key];
  4079. if (key.length === 1) {
  4080. return withoutSuffix ? wordKey[0] : wordKey[1];
  4081. } else {
  4082. return number + ' ' + translator.correctGrammaticalCase(number, wordKey);
  4083. }
  4084. }
  4085. };
  4086. var me = moment.defineLocale('me', {
  4087. months: 'januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar'.split('_'),
  4088. monthsShort: 'jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.'.split('_'),
  4089. monthsParseExact: true,
  4090. weekdays: 'nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota'.split('_'),
  4091. weekdaysShort: 'ned._pon._uto._sri._čet._pet._sub.'.split('_'),
  4092. weekdaysMin: 'ne_po_ut_sr_če_pe_su'.split('_'),
  4093. weekdaysParseExact: true,
  4094. longDateFormat: {
  4095. LT: 'H:mm',
  4096. LTS: 'H:mm:ss',
  4097. L: 'DD.MM.YYYY',
  4098. LL: 'D. MMMM YYYY',
  4099. LLL: 'D. MMMM YYYY H:mm',
  4100. LLLL: 'dddd, D. MMMM YYYY H:mm'
  4101. },
  4102. calendar: {
  4103. sameDay: '[danas u] LT',
  4104. nextDay: '[sjutra u] LT',
  4105. nextWeek: function nextWeek() {
  4106. switch (this.day()) {
  4107. case 0:
  4108. return '[u] [nedjelju] [u] LT';
  4109. case 3:
  4110. return '[u] [srijedu] [u] LT';
  4111. case 6:
  4112. return '[u] [subotu] [u] LT';
  4113. case 1:
  4114. case 2:
  4115. case 4:
  4116. case 5:
  4117. return '[u] dddd [u] LT';
  4118. }
  4119. },
  4120. lastDay: '[juče u] LT',
  4121. lastWeek: function lastWeek() {
  4122. var lastWeekDays = ['[prošle] [nedjelje] [u] LT', '[prošlog] [ponedjeljka] [u] LT', '[prošlog] [utorka] [u] LT', '[prošle] [srijede] [u] LT', '[prošlog] [četvrtka] [u] LT', '[prošlog] [petka] [u] LT', '[prošle] [subote] [u] LT'];
  4123. return lastWeekDays[this.day()];
  4124. },
  4125. sameElse: 'L'
  4126. },
  4127. relativeTime: {
  4128. future: 'za %s',
  4129. past: 'prije %s',
  4130. s: 'nekoliko sekundi',
  4131. ss: translator.translate,
  4132. m: translator.translate,
  4133. mm: translator.translate,
  4134. h: translator.translate,
  4135. hh: translator.translate,
  4136. d: 'dan',
  4137. dd: translator.translate,
  4138. M: 'mjesec',
  4139. MM: translator.translate,
  4140. y: 'godinu',
  4141. yy: translator.translate
  4142. },
  4143. dayOfMonthOrdinalParse: /\d{1,2}\./,
  4144. ordinal: '%d.',
  4145. week: {
  4146. dow: 1,
  4147. // Monday is the first day of the week.
  4148. doy: 7 // The week that contains Jan 7th is the first week of the year.
  4149. }
  4150. });
  4151. return me;
  4152. });
  4153. /***/ }),
  4154. /***/ 133:
  4155. /*!*****************************************************************************!*\
  4156. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/mi.js ***!
  4157. \*****************************************************************************/
  4158. /*! no static exports found */
  4159. /***/ (function(module, exports, __webpack_require__) {
  4160. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  4161. //! moment.js locale configuration
  4162. //! locale : Maori [mi]
  4163. //! author : John Corrigan <robbiecloset@gmail.com> : https://github.com/johnideal
  4164. ;
  4165. (function (global, factory) {
  4166. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  4167. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  4168. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  4169. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  4170. })(this, function (moment) {
  4171. 'use strict';
  4172. //! moment.js locale configuration
  4173. var mi = moment.defineLocale('mi', {
  4174. months: 'Kohi-tāte_Hui-tanguru_Poutū-te-rangi_Paenga-whāwhā_Haratua_Pipiri_Hōngoingoi_Here-turi-kōkā_Mahuru_Whiringa-ā-nuku_Whiringa-ā-rangi_Hakihea'.split('_'),
  4175. monthsShort: 'Kohi_Hui_Pou_Pae_Hara_Pipi_Hōngoi_Here_Mahu_Whi-nu_Whi-ra_Haki'.split('_'),
  4176. monthsRegex: /(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,
  4177. monthsStrictRegex: /(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,
  4178. monthsShortRegex: /(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,
  4179. monthsShortStrictRegex: /(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,
  4180. weekdays: 'Rātapu_Mane_Tūrei_Wenerei_Tāite_Paraire_Hātarei'.split('_'),
  4181. weekdaysShort: 'Ta_Ma_Tū_We_Tāi_Pa_Hā'.split('_'),
  4182. weekdaysMin: 'Ta_Ma_Tū_We_Tāi_Pa_Hā'.split('_'),
  4183. longDateFormat: {
  4184. LT: 'HH:mm',
  4185. LTS: 'HH:mm:ss',
  4186. L: 'DD/MM/YYYY',
  4187. LL: 'D MMMM YYYY',
  4188. LLL: 'D MMMM YYYY [i] HH:mm',
  4189. LLLL: 'dddd, D MMMM YYYY [i] HH:mm'
  4190. },
  4191. calendar: {
  4192. sameDay: '[i teie mahana, i] LT',
  4193. nextDay: '[apopo i] LT',
  4194. nextWeek: 'dddd [i] LT',
  4195. lastDay: '[inanahi i] LT',
  4196. lastWeek: 'dddd [whakamutunga i] LT',
  4197. sameElse: 'L'
  4198. },
  4199. relativeTime: {
  4200. future: 'i roto i %s',
  4201. past: '%s i mua',
  4202. s: 'te hēkona ruarua',
  4203. ss: '%d hēkona',
  4204. m: 'he meneti',
  4205. mm: '%d meneti',
  4206. h: 'te haora',
  4207. hh: '%d haora',
  4208. d: 'he ra',
  4209. dd: '%d ra',
  4210. M: 'he marama',
  4211. MM: '%d marama',
  4212. y: 'he tau',
  4213. yy: '%d tau'
  4214. },
  4215. dayOfMonthOrdinalParse: /\d{1,2}º/,
  4216. ordinal: '%dº',
  4217. week: {
  4218. dow: 1,
  4219. // Monday is the first day of the week.
  4220. doy: 4 // The week that contains Jan 4th is the first week of the year.
  4221. }
  4222. });
  4223. return mi;
  4224. });
  4225. /***/ }),
  4226. /***/ 134:
  4227. /*!*****************************************************************************!*\
  4228. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/mk.js ***!
  4229. \*****************************************************************************/
  4230. /*! no static exports found */
  4231. /***/ (function(module, exports, __webpack_require__) {
  4232. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  4233. //! moment.js locale configuration
  4234. //! locale : Macedonian [mk]
  4235. //! author : Borislav Mickov : https://github.com/B0k0
  4236. //! author : Sashko Todorov : https://github.com/bkyceh
  4237. ;
  4238. (function (global, factory) {
  4239. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  4240. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  4241. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  4242. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  4243. })(this, function (moment) {
  4244. 'use strict';
  4245. //! moment.js locale configuration
  4246. var mk = moment.defineLocale('mk', {
  4247. months: 'јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември'.split('_'),
  4248. monthsShort: 'јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек'.split('_'),
  4249. weekdays: 'недела_понеделник_вторник_среда_четврток_петок_сабота'.split('_'),
  4250. weekdaysShort: 'нед_пон_вто_сре_чет_пет_саб'.split('_'),
  4251. weekdaysMin: 'нe_пo_вт_ср_че_пе_сa'.split('_'),
  4252. longDateFormat: {
  4253. LT: 'H:mm',
  4254. LTS: 'H:mm:ss',
  4255. L: 'D.MM.YYYY',
  4256. LL: 'D MMMM YYYY',
  4257. LLL: 'D MMMM YYYY H:mm',
  4258. LLLL: 'dddd, D MMMM YYYY H:mm'
  4259. },
  4260. calendar: {
  4261. sameDay: '[Денес во] LT',
  4262. nextDay: '[Утре во] LT',
  4263. nextWeek: '[Во] dddd [во] LT',
  4264. lastDay: '[Вчера во] LT',
  4265. lastWeek: function lastWeek() {
  4266. switch (this.day()) {
  4267. case 0:
  4268. case 3:
  4269. case 6:
  4270. return '[Изминатата] dddd [во] LT';
  4271. case 1:
  4272. case 2:
  4273. case 4:
  4274. case 5:
  4275. return '[Изминатиот] dddd [во] LT';
  4276. }
  4277. },
  4278. sameElse: 'L'
  4279. },
  4280. relativeTime: {
  4281. future: 'за %s',
  4282. past: 'пред %s',
  4283. s: 'неколку секунди',
  4284. ss: '%d секунди',
  4285. m: 'една минута',
  4286. mm: '%d минути',
  4287. h: 'еден час',
  4288. hh: '%d часа',
  4289. d: 'еден ден',
  4290. dd: '%d дена',
  4291. M: 'еден месец',
  4292. MM: '%d месеци',
  4293. y: 'една година',
  4294. yy: '%d години'
  4295. },
  4296. dayOfMonthOrdinalParse: /\d{1,2}-(ев|ен|ти|ви|ри|ми)/,
  4297. ordinal: function ordinal(number) {
  4298. var lastDigit = number % 10,
  4299. last2Digits = number % 100;
  4300. if (number === 0) {
  4301. return number + '-ев';
  4302. } else if (last2Digits === 0) {
  4303. return number + '-ен';
  4304. } else if (last2Digits > 10 && last2Digits < 20) {
  4305. return number + '-ти';
  4306. } else if (lastDigit === 1) {
  4307. return number + '-ви';
  4308. } else if (lastDigit === 2) {
  4309. return number + '-ри';
  4310. } else if (lastDigit === 7 || lastDigit === 8) {
  4311. return number + '-ми';
  4312. } else {
  4313. return number + '-ти';
  4314. }
  4315. },
  4316. week: {
  4317. dow: 1,
  4318. // Monday is the first day of the week.
  4319. doy: 7 // The week that contains Jan 7th is the first week of the year.
  4320. }
  4321. });
  4322. return mk;
  4323. });
  4324. /***/ }),
  4325. /***/ 135:
  4326. /*!*****************************************************************************!*\
  4327. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/ml.js ***!
  4328. \*****************************************************************************/
  4329. /*! no static exports found */
  4330. /***/ (function(module, exports, __webpack_require__) {
  4331. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  4332. //! moment.js locale configuration
  4333. //! locale : Malayalam [ml]
  4334. //! author : Floyd Pink : https://github.com/floydpink
  4335. ;
  4336. (function (global, factory) {
  4337. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  4338. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  4339. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  4340. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  4341. })(this, function (moment) {
  4342. 'use strict';
  4343. //! moment.js locale configuration
  4344. var ml = moment.defineLocale('ml', {
  4345. months: 'ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ'.split('_'),
  4346. monthsShort: 'ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.'.split('_'),
  4347. monthsParseExact: true,
  4348. weekdays: 'ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച'.split('_'),
  4349. weekdaysShort: 'ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി'.split('_'),
  4350. weekdaysMin: 'ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ'.split('_'),
  4351. longDateFormat: {
  4352. LT: 'A h:mm -നു',
  4353. LTS: 'A h:mm:ss -നു',
  4354. L: 'DD/MM/YYYY',
  4355. LL: 'D MMMM YYYY',
  4356. LLL: 'D MMMM YYYY, A h:mm -നു',
  4357. LLLL: 'dddd, D MMMM YYYY, A h:mm -നു'
  4358. },
  4359. calendar: {
  4360. sameDay: '[ഇന്ന്] LT',
  4361. nextDay: '[നാളെ] LT',
  4362. nextWeek: 'dddd, LT',
  4363. lastDay: '[ഇന്നലെ] LT',
  4364. lastWeek: '[കഴിഞ്ഞ] dddd, LT',
  4365. sameElse: 'L'
  4366. },
  4367. relativeTime: {
  4368. future: '%s കഴിഞ്ഞ്',
  4369. past: '%s മുൻപ്',
  4370. s: 'അൽപ നിമിഷങ്ങൾ',
  4371. ss: '%d സെക്കൻഡ്',
  4372. m: 'ഒരു മിനിറ്റ്',
  4373. mm: '%d മിനിറ്റ്',
  4374. h: 'ഒരു മണിക്കൂർ',
  4375. hh: '%d മണിക്കൂർ',
  4376. d: 'ഒരു ദിവസം',
  4377. dd: '%d ദിവസം',
  4378. M: 'ഒരു മാസം',
  4379. MM: '%d മാസം',
  4380. y: 'ഒരു വർഷം',
  4381. yy: '%d വർഷം'
  4382. },
  4383. meridiemParse: /രാത്രി|രാവിലെ|ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി/i,
  4384. meridiemHour: function meridiemHour(hour, meridiem) {
  4385. if (hour === 12) {
  4386. hour = 0;
  4387. }
  4388. if (meridiem === 'രാത്രി' && hour >= 4 || meridiem === 'ഉച്ച കഴിഞ്ഞ്' || meridiem === 'വൈകുന്നേരം') {
  4389. return hour + 12;
  4390. } else {
  4391. return hour;
  4392. }
  4393. },
  4394. meridiem: function meridiem(hour, minute, isLower) {
  4395. if (hour < 4) {
  4396. return 'രാത്രി';
  4397. } else if (hour < 12) {
  4398. return 'രാവിലെ';
  4399. } else if (hour < 17) {
  4400. return 'ഉച്ച കഴിഞ്ഞ്';
  4401. } else if (hour < 20) {
  4402. return 'വൈകുന്നേരം';
  4403. } else {
  4404. return 'രാത്രി';
  4405. }
  4406. }
  4407. });
  4408. return ml;
  4409. });
  4410. /***/ }),
  4411. /***/ 136:
  4412. /*!*****************************************************************************!*\
  4413. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/mn.js ***!
  4414. \*****************************************************************************/
  4415. /*! no static exports found */
  4416. /***/ (function(module, exports, __webpack_require__) {
  4417. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  4418. //! moment.js locale configuration
  4419. //! locale : Mongolian [mn]
  4420. //! author : Javkhlantugs Nyamdorj : https://github.com/javkhaanj7
  4421. ;
  4422. (function (global, factory) {
  4423. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  4424. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  4425. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  4426. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  4427. })(this, function (moment) {
  4428. 'use strict';
  4429. //! moment.js locale configuration
  4430. function translate(number, withoutSuffix, key, isFuture) {
  4431. switch (key) {
  4432. case 's':
  4433. return withoutSuffix ? 'хэдхэн секунд' : 'хэдхэн секундын';
  4434. case 'ss':
  4435. return number + (withoutSuffix ? ' секунд' : ' секундын');
  4436. case 'm':
  4437. case 'mm':
  4438. return number + (withoutSuffix ? ' минут' : ' минутын');
  4439. case 'h':
  4440. case 'hh':
  4441. return number + (withoutSuffix ? ' цаг' : ' цагийн');
  4442. case 'd':
  4443. case 'dd':
  4444. return number + (withoutSuffix ? ' өдөр' : ' өдрийн');
  4445. case 'M':
  4446. case 'MM':
  4447. return number + (withoutSuffix ? ' сар' : ' сарын');
  4448. case 'y':
  4449. case 'yy':
  4450. return number + (withoutSuffix ? ' жил' : ' жилийн');
  4451. default:
  4452. return number;
  4453. }
  4454. }
  4455. var mn = moment.defineLocale('mn', {
  4456. months: 'Нэгдүгээр сар_Хоёрдугаар сар_Гуравдугаар сар_Дөрөвдүгээр сар_Тавдугаар сар_Зургадугаар сар_Долдугаар сар_Наймдугаар сар_Есдүгээр сар_Аравдугаар сар_Арван нэгдүгээр сар_Арван хоёрдугаар сар'.split('_'),
  4457. monthsShort: '1 сар_2 сар_3 сар_4 сар_5 сар_6 сар_7 сар_8 сар_9 сар_10 сар_11 сар_12 сар'.split('_'),
  4458. monthsParseExact: true,
  4459. weekdays: 'Ням_Даваа_Мягмар_Лхагва_Пүрэв_Баасан_Бямба'.split('_'),
  4460. weekdaysShort: 'Ням_Дав_Мяг_Лха_Пүр_Баа_Бям'.split('_'),
  4461. weekdaysMin: 'Ня_Да_Мя_Лх_Пү_Ба_Бя'.split('_'),
  4462. weekdaysParseExact: true,
  4463. longDateFormat: {
  4464. LT: 'HH:mm',
  4465. LTS: 'HH:mm:ss',
  4466. L: 'YYYY-MM-DD',
  4467. LL: 'YYYY оны MMMMын D',
  4468. LLL: 'YYYY оны MMMMын D HH:mm',
  4469. LLLL: 'dddd, YYYY оны MMMMын D HH:mm'
  4470. },
  4471. meridiemParse: /ҮӨ|ҮХ/i,
  4472. isPM: function isPM(input) {
  4473. return input === 'ҮХ';
  4474. },
  4475. meridiem: function meridiem(hour, minute, isLower) {
  4476. if (hour < 12) {
  4477. return 'ҮӨ';
  4478. } else {
  4479. return 'ҮХ';
  4480. }
  4481. },
  4482. calendar: {
  4483. sameDay: '[Өнөөдөр] LT',
  4484. nextDay: '[Маргааш] LT',
  4485. nextWeek: '[Ирэх] dddd LT',
  4486. lastDay: '[Өчигдөр] LT',
  4487. lastWeek: '[Өнгөрсөн] dddd LT',
  4488. sameElse: 'L'
  4489. },
  4490. relativeTime: {
  4491. future: '%s дараа',
  4492. past: '%s өмнө',
  4493. s: translate,
  4494. ss: translate,
  4495. m: translate,
  4496. mm: translate,
  4497. h: translate,
  4498. hh: translate,
  4499. d: translate,
  4500. dd: translate,
  4501. M: translate,
  4502. MM: translate,
  4503. y: translate,
  4504. yy: translate
  4505. },
  4506. dayOfMonthOrdinalParse: /\d{1,2} өдөр/,
  4507. ordinal: function ordinal(number, period) {
  4508. switch (period) {
  4509. case 'd':
  4510. case 'D':
  4511. case 'DDD':
  4512. return number + ' өдөр';
  4513. default:
  4514. return number;
  4515. }
  4516. }
  4517. });
  4518. return mn;
  4519. });
  4520. /***/ }),
  4521. /***/ 137:
  4522. /*!*****************************************************************************!*\
  4523. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/mr.js ***!
  4524. \*****************************************************************************/
  4525. /*! no static exports found */
  4526. /***/ (function(module, exports, __webpack_require__) {
  4527. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  4528. //! moment.js locale configuration
  4529. //! locale : Marathi [mr]
  4530. //! author : Harshad Kale : https://github.com/kalehv
  4531. //! author : Vivek Athalye : https://github.com/vnathalye
  4532. ;
  4533. (function (global, factory) {
  4534. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  4535. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  4536. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  4537. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  4538. })(this, function (moment) {
  4539. 'use strict';
  4540. //! moment.js locale configuration
  4541. var symbolMap = {
  4542. 1: '१',
  4543. 2: '२',
  4544. 3: '३',
  4545. 4: '४',
  4546. 5: '५',
  4547. 6: '६',
  4548. 7: '७',
  4549. 8: '८',
  4550. 9: '९',
  4551. 0: '०'
  4552. },
  4553. numberMap = {
  4554. '१': '1',
  4555. '२': '2',
  4556. '३': '3',
  4557. '४': '4',
  4558. '५': '5',
  4559. '६': '6',
  4560. '७': '7',
  4561. '८': '8',
  4562. '९': '9',
  4563. '०': '0'
  4564. };
  4565. function relativeTimeMr(number, withoutSuffix, string, isFuture) {
  4566. var output = '';
  4567. if (withoutSuffix) {
  4568. switch (string) {
  4569. case 's':
  4570. output = 'काही सेकंद';
  4571. break;
  4572. case 'ss':
  4573. output = '%d सेकंद';
  4574. break;
  4575. case 'm':
  4576. output = 'एक मिनिट';
  4577. break;
  4578. case 'mm':
  4579. output = '%d मिनिटे';
  4580. break;
  4581. case 'h':
  4582. output = 'एक तास';
  4583. break;
  4584. case 'hh':
  4585. output = '%d तास';
  4586. break;
  4587. case 'd':
  4588. output = 'एक दिवस';
  4589. break;
  4590. case 'dd':
  4591. output = '%d दिवस';
  4592. break;
  4593. case 'M':
  4594. output = 'एक महिना';
  4595. break;
  4596. case 'MM':
  4597. output = '%d महिने';
  4598. break;
  4599. case 'y':
  4600. output = 'एक वर्ष';
  4601. break;
  4602. case 'yy':
  4603. output = '%d वर्षे';
  4604. break;
  4605. }
  4606. } else {
  4607. switch (string) {
  4608. case 's':
  4609. output = 'काही सेकंदां';
  4610. break;
  4611. case 'ss':
  4612. output = '%d सेकंदां';
  4613. break;
  4614. case 'm':
  4615. output = 'एका मिनिटा';
  4616. break;
  4617. case 'mm':
  4618. output = '%d मिनिटां';
  4619. break;
  4620. case 'h':
  4621. output = 'एका तासा';
  4622. break;
  4623. case 'hh':
  4624. output = '%d तासां';
  4625. break;
  4626. case 'd':
  4627. output = 'एका दिवसा';
  4628. break;
  4629. case 'dd':
  4630. output = '%d दिवसां';
  4631. break;
  4632. case 'M':
  4633. output = 'एका महिन्या';
  4634. break;
  4635. case 'MM':
  4636. output = '%d महिन्यां';
  4637. break;
  4638. case 'y':
  4639. output = 'एका वर्षा';
  4640. break;
  4641. case 'yy':
  4642. output = '%d वर्षां';
  4643. break;
  4644. }
  4645. }
  4646. return output.replace(/%d/i, number);
  4647. }
  4648. var mr = moment.defineLocale('mr', {
  4649. months: 'जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर'.split('_'),
  4650. monthsShort: 'जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.'.split('_'),
  4651. monthsParseExact: true,
  4652. weekdays: 'रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार'.split('_'),
  4653. weekdaysShort: 'रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि'.split('_'),
  4654. weekdaysMin: 'र_सो_मं_बु_गु_शु_श'.split('_'),
  4655. longDateFormat: {
  4656. LT: 'A h:mm वाजता',
  4657. LTS: 'A h:mm:ss वाजता',
  4658. L: 'DD/MM/YYYY',
  4659. LL: 'D MMMM YYYY',
  4660. LLL: 'D MMMM YYYY, A h:mm वाजता',
  4661. LLLL: 'dddd, D MMMM YYYY, A h:mm वाजता'
  4662. },
  4663. calendar: {
  4664. sameDay: '[आज] LT',
  4665. nextDay: '[उद्या] LT',
  4666. nextWeek: 'dddd, LT',
  4667. lastDay: '[काल] LT',
  4668. lastWeek: '[मागील] dddd, LT',
  4669. sameElse: 'L'
  4670. },
  4671. relativeTime: {
  4672. future: '%sमध्ये',
  4673. past: '%sपूर्वी',
  4674. s: relativeTimeMr,
  4675. ss: relativeTimeMr,
  4676. m: relativeTimeMr,
  4677. mm: relativeTimeMr,
  4678. h: relativeTimeMr,
  4679. hh: relativeTimeMr,
  4680. d: relativeTimeMr,
  4681. dd: relativeTimeMr,
  4682. M: relativeTimeMr,
  4683. MM: relativeTimeMr,
  4684. y: relativeTimeMr,
  4685. yy: relativeTimeMr
  4686. },
  4687. preparse: function preparse(string) {
  4688. return string.replace(/[१२३४५६७८९०]/g, function (match) {
  4689. return numberMap[match];
  4690. });
  4691. },
  4692. postformat: function postformat(string) {
  4693. return string.replace(/\d/g, function (match) {
  4694. return symbolMap[match];
  4695. });
  4696. },
  4697. meridiemParse: /पहाटे|सकाळी|दुपारी|सायंकाळी|रात्री/,
  4698. meridiemHour: function meridiemHour(hour, meridiem) {
  4699. if (hour === 12) {
  4700. hour = 0;
  4701. }
  4702. if (meridiem === 'पहाटे' || meridiem === 'सकाळी') {
  4703. return hour;
  4704. } else if (meridiem === 'दुपारी' || meridiem === 'सायंकाळी' || meridiem === 'रात्री') {
  4705. return hour >= 12 ? hour : hour + 12;
  4706. }
  4707. },
  4708. meridiem: function meridiem(hour, minute, isLower) {
  4709. if (hour >= 0 && hour < 6) {
  4710. return 'पहाटे';
  4711. } else if (hour < 12) {
  4712. return 'सकाळी';
  4713. } else if (hour < 17) {
  4714. return 'दुपारी';
  4715. } else if (hour < 20) {
  4716. return 'सायंकाळी';
  4717. } else {
  4718. return 'रात्री';
  4719. }
  4720. },
  4721. week: {
  4722. dow: 0,
  4723. // Sunday is the first day of the week.
  4724. doy: 6 // The week that contains Jan 6th is the first week of the year.
  4725. }
  4726. });
  4727. return mr;
  4728. });
  4729. /***/ }),
  4730. /***/ 138:
  4731. /*!*****************************************************************************!*\
  4732. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/ms.js ***!
  4733. \*****************************************************************************/
  4734. /*! no static exports found */
  4735. /***/ (function(module, exports, __webpack_require__) {
  4736. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  4737. //! moment.js locale configuration
  4738. //! locale : Malay [ms]
  4739. //! author : Weldan Jamili : https://github.com/weldan
  4740. ;
  4741. (function (global, factory) {
  4742. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  4743. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  4744. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  4745. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  4746. })(this, function (moment) {
  4747. 'use strict';
  4748. //! moment.js locale configuration
  4749. var ms = moment.defineLocale('ms', {
  4750. months: 'Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember'.split('_'),
  4751. monthsShort: 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis'.split('_'),
  4752. weekdays: 'Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu'.split('_'),
  4753. weekdaysShort: 'Ahd_Isn_Sel_Rab_Kha_Jum_Sab'.split('_'),
  4754. weekdaysMin: 'Ah_Is_Sl_Rb_Km_Jm_Sb'.split('_'),
  4755. longDateFormat: {
  4756. LT: 'HH.mm',
  4757. LTS: 'HH.mm.ss',
  4758. L: 'DD/MM/YYYY',
  4759. LL: 'D MMMM YYYY',
  4760. LLL: 'D MMMM YYYY [pukul] HH.mm',
  4761. LLLL: 'dddd, D MMMM YYYY [pukul] HH.mm'
  4762. },
  4763. meridiemParse: /pagi|tengahari|petang|malam/,
  4764. meridiemHour: function meridiemHour(hour, meridiem) {
  4765. if (hour === 12) {
  4766. hour = 0;
  4767. }
  4768. if (meridiem === 'pagi') {
  4769. return hour;
  4770. } else if (meridiem === 'tengahari') {
  4771. return hour >= 11 ? hour : hour + 12;
  4772. } else if (meridiem === 'petang' || meridiem === 'malam') {
  4773. return hour + 12;
  4774. }
  4775. },
  4776. meridiem: function meridiem(hours, minutes, isLower) {
  4777. if (hours < 11) {
  4778. return 'pagi';
  4779. } else if (hours < 15) {
  4780. return 'tengahari';
  4781. } else if (hours < 19) {
  4782. return 'petang';
  4783. } else {
  4784. return 'malam';
  4785. }
  4786. },
  4787. calendar: {
  4788. sameDay: '[Hari ini pukul] LT',
  4789. nextDay: '[Esok pukul] LT',
  4790. nextWeek: 'dddd [pukul] LT',
  4791. lastDay: '[Kelmarin pukul] LT',
  4792. lastWeek: 'dddd [lepas pukul] LT',
  4793. sameElse: 'L'
  4794. },
  4795. relativeTime: {
  4796. future: 'dalam %s',
  4797. past: '%s yang lepas',
  4798. s: 'beberapa saat',
  4799. ss: '%d saat',
  4800. m: 'seminit',
  4801. mm: '%d minit',
  4802. h: 'sejam',
  4803. hh: '%d jam',
  4804. d: 'sehari',
  4805. dd: '%d hari',
  4806. M: 'sebulan',
  4807. MM: '%d bulan',
  4808. y: 'setahun',
  4809. yy: '%d tahun'
  4810. },
  4811. week: {
  4812. dow: 1,
  4813. // Monday is the first day of the week.
  4814. doy: 7 // The week that contains Jan 7th is the first week of the year.
  4815. }
  4816. });
  4817. return ms;
  4818. });
  4819. /***/ }),
  4820. /***/ 139:
  4821. /*!********************************************************************************!*\
  4822. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/ms-my.js ***!
  4823. \********************************************************************************/
  4824. /*! no static exports found */
  4825. /***/ (function(module, exports, __webpack_require__) {
  4826. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  4827. //! moment.js locale configuration
  4828. //! locale : Malay [ms-my]
  4829. //! note : DEPRECATED, the correct one is [ms]
  4830. //! author : Weldan Jamili : https://github.com/weldan
  4831. ;
  4832. (function (global, factory) {
  4833. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  4834. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  4835. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  4836. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  4837. })(this, function (moment) {
  4838. 'use strict';
  4839. //! moment.js locale configuration
  4840. var msMy = moment.defineLocale('ms-my', {
  4841. months: 'Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember'.split('_'),
  4842. monthsShort: 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis'.split('_'),
  4843. weekdays: 'Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu'.split('_'),
  4844. weekdaysShort: 'Ahd_Isn_Sel_Rab_Kha_Jum_Sab'.split('_'),
  4845. weekdaysMin: 'Ah_Is_Sl_Rb_Km_Jm_Sb'.split('_'),
  4846. longDateFormat: {
  4847. LT: 'HH.mm',
  4848. LTS: 'HH.mm.ss',
  4849. L: 'DD/MM/YYYY',
  4850. LL: 'D MMMM YYYY',
  4851. LLL: 'D MMMM YYYY [pukul] HH.mm',
  4852. LLLL: 'dddd, D MMMM YYYY [pukul] HH.mm'
  4853. },
  4854. meridiemParse: /pagi|tengahari|petang|malam/,
  4855. meridiemHour: function meridiemHour(hour, meridiem) {
  4856. if (hour === 12) {
  4857. hour = 0;
  4858. }
  4859. if (meridiem === 'pagi') {
  4860. return hour;
  4861. } else if (meridiem === 'tengahari') {
  4862. return hour >= 11 ? hour : hour + 12;
  4863. } else if (meridiem === 'petang' || meridiem === 'malam') {
  4864. return hour + 12;
  4865. }
  4866. },
  4867. meridiem: function meridiem(hours, minutes, isLower) {
  4868. if (hours < 11) {
  4869. return 'pagi';
  4870. } else if (hours < 15) {
  4871. return 'tengahari';
  4872. } else if (hours < 19) {
  4873. return 'petang';
  4874. } else {
  4875. return 'malam';
  4876. }
  4877. },
  4878. calendar: {
  4879. sameDay: '[Hari ini pukul] LT',
  4880. nextDay: '[Esok pukul] LT',
  4881. nextWeek: 'dddd [pukul] LT',
  4882. lastDay: '[Kelmarin pukul] LT',
  4883. lastWeek: 'dddd [lepas pukul] LT',
  4884. sameElse: 'L'
  4885. },
  4886. relativeTime: {
  4887. future: 'dalam %s',
  4888. past: '%s yang lepas',
  4889. s: 'beberapa saat',
  4890. ss: '%d saat',
  4891. m: 'seminit',
  4892. mm: '%d minit',
  4893. h: 'sejam',
  4894. hh: '%d jam',
  4895. d: 'sehari',
  4896. dd: '%d hari',
  4897. M: 'sebulan',
  4898. MM: '%d bulan',
  4899. y: 'setahun',
  4900. yy: '%d tahun'
  4901. },
  4902. week: {
  4903. dow: 1,
  4904. // Monday is the first day of the week.
  4905. doy: 7 // The week that contains Jan 7th is the first week of the year.
  4906. }
  4907. });
  4908. return msMy;
  4909. });
  4910. /***/ }),
  4911. /***/ 14:
  4912. /*!************************************************************!*\
  4913. !*** ./node_modules/@babel/runtime/helpers/toPrimitive.js ***!
  4914. \************************************************************/
  4915. /*! no static exports found */
  4916. /***/ (function(module, exports, __webpack_require__) {
  4917. var _typeof = __webpack_require__(/*! ./typeof.js */ 13)["default"];
  4918. function _toPrimitive(input, hint) {
  4919. if (_typeof(input) !== "object" || input === null) return input;
  4920. var prim = input[Symbol.toPrimitive];
  4921. if (prim !== undefined) {
  4922. var res = prim.call(input, hint || "default");
  4923. if (_typeof(res) !== "object") return res;
  4924. throw new TypeError("@@toPrimitive must return a primitive value.");
  4925. }
  4926. return (hint === "string" ? String : Number)(input);
  4927. }
  4928. module.exports = _toPrimitive, module.exports.__esModule = true, module.exports["default"] = module.exports;
  4929. /***/ }),
  4930. /***/ 140:
  4931. /*!*****************************************************************************!*\
  4932. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/mt.js ***!
  4933. \*****************************************************************************/
  4934. /*! no static exports found */
  4935. /***/ (function(module, exports, __webpack_require__) {
  4936. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  4937. //! moment.js locale configuration
  4938. //! locale : Maltese (Malta) [mt]
  4939. //! author : Alessandro Maruccia : https://github.com/alesma
  4940. ;
  4941. (function (global, factory) {
  4942. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  4943. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  4944. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  4945. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  4946. })(this, function (moment) {
  4947. 'use strict';
  4948. //! moment.js locale configuration
  4949. var mt = moment.defineLocale('mt', {
  4950. months: 'Jannar_Frar_Marzu_April_Mejju_Ġunju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Diċembru'.split('_'),
  4951. monthsShort: 'Jan_Fra_Mar_Apr_Mej_Ġun_Lul_Aww_Set_Ott_Nov_Diċ'.split('_'),
  4952. weekdays: 'Il-Ħadd_It-Tnejn_It-Tlieta_L-Erbgħa_Il-Ħamis_Il-Ġimgħa_Is-Sibt'.split('_'),
  4953. weekdaysShort: 'Ħad_Tne_Tli_Erb_Ħam_Ġim_Sib'.split('_'),
  4954. weekdaysMin: 'Ħa_Tn_Tl_Er_Ħa_Ġi_Si'.split('_'),
  4955. longDateFormat: {
  4956. LT: 'HH:mm',
  4957. LTS: 'HH:mm:ss',
  4958. L: 'DD/MM/YYYY',
  4959. LL: 'D MMMM YYYY',
  4960. LLL: 'D MMMM YYYY HH:mm',
  4961. LLLL: 'dddd, D MMMM YYYY HH:mm'
  4962. },
  4963. calendar: {
  4964. sameDay: '[Illum fil-]LT',
  4965. nextDay: '[Għada fil-]LT',
  4966. nextWeek: 'dddd [fil-]LT',
  4967. lastDay: '[Il-bieraħ fil-]LT',
  4968. lastWeek: 'dddd [li għadda] [fil-]LT',
  4969. sameElse: 'L'
  4970. },
  4971. relativeTime: {
  4972. future: 'f’ %s',
  4973. past: '%s ilu',
  4974. s: 'ftit sekondi',
  4975. ss: '%d sekondi',
  4976. m: 'minuta',
  4977. mm: '%d minuti',
  4978. h: 'siegħa',
  4979. hh: '%d siegħat',
  4980. d: 'ġurnata',
  4981. dd: '%d ġranet',
  4982. M: 'xahar',
  4983. MM: '%d xhur',
  4984. y: 'sena',
  4985. yy: '%d sni'
  4986. },
  4987. dayOfMonthOrdinalParse: /\d{1,2}º/,
  4988. ordinal: '%dº',
  4989. week: {
  4990. dow: 1,
  4991. // Monday is the first day of the week.
  4992. doy: 4 // The week that contains Jan 4th is the first week of the year.
  4993. }
  4994. });
  4995. return mt;
  4996. });
  4997. /***/ }),
  4998. /***/ 141:
  4999. /*!*****************************************************************************!*\
  5000. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/my.js ***!
  5001. \*****************************************************************************/
  5002. /*! no static exports found */
  5003. /***/ (function(module, exports, __webpack_require__) {
  5004. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  5005. //! moment.js locale configuration
  5006. //! locale : Burmese [my]
  5007. //! author : Squar team, mysquar.com
  5008. //! author : David Rossellat : https://github.com/gholadr
  5009. //! author : Tin Aung Lin : https://github.com/thanyawzinmin
  5010. ;
  5011. (function (global, factory) {
  5012. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  5013. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  5014. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  5015. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  5016. })(this, function (moment) {
  5017. 'use strict';
  5018. //! moment.js locale configuration
  5019. var symbolMap = {
  5020. 1: '၁',
  5021. 2: '၂',
  5022. 3: '၃',
  5023. 4: '၄',
  5024. 5: '၅',
  5025. 6: '၆',
  5026. 7: '၇',
  5027. 8: '၈',
  5028. 9: '၉',
  5029. 0: '၀'
  5030. },
  5031. numberMap = {
  5032. '၁': '1',
  5033. '၂': '2',
  5034. '၃': '3',
  5035. '၄': '4',
  5036. '၅': '5',
  5037. '၆': '6',
  5038. '၇': '7',
  5039. '၈': '8',
  5040. '၉': '9',
  5041. '၀': '0'
  5042. };
  5043. var my = moment.defineLocale('my', {
  5044. months: 'ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ'.split('_'),
  5045. monthsShort: 'ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ'.split('_'),
  5046. weekdays: 'တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ'.split('_'),
  5047. weekdaysShort: 'နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ'.split('_'),
  5048. weekdaysMin: 'နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ'.split('_'),
  5049. longDateFormat: {
  5050. LT: 'HH:mm',
  5051. LTS: 'HH:mm:ss',
  5052. L: 'DD/MM/YYYY',
  5053. LL: 'D MMMM YYYY',
  5054. LLL: 'D MMMM YYYY HH:mm',
  5055. LLLL: 'dddd D MMMM YYYY HH:mm'
  5056. },
  5057. calendar: {
  5058. sameDay: '[ယနေ.] LT [မှာ]',
  5059. nextDay: '[မနက်ဖြန်] LT [မှာ]',
  5060. nextWeek: 'dddd LT [မှာ]',
  5061. lastDay: '[မနေ.က] LT [မှာ]',
  5062. lastWeek: '[ပြီးခဲ့သော] dddd LT [မှာ]',
  5063. sameElse: 'L'
  5064. },
  5065. relativeTime: {
  5066. future: 'လာမည့် %s မှာ',
  5067. past: 'လွန်ခဲ့သော %s က',
  5068. s: 'စက္ကန်.အနည်းငယ်',
  5069. ss: '%d စက္ကန့်',
  5070. m: 'တစ်မိနစ်',
  5071. mm: '%d မိနစ်',
  5072. h: 'တစ်နာရီ',
  5073. hh: '%d နာရီ',
  5074. d: 'တစ်ရက်',
  5075. dd: '%d ရက်',
  5076. M: 'တစ်လ',
  5077. MM: '%d လ',
  5078. y: 'တစ်နှစ်',
  5079. yy: '%d နှစ်'
  5080. },
  5081. preparse: function preparse(string) {
  5082. return string.replace(/[၁၂၃၄၅၆၇၈၉၀]/g, function (match) {
  5083. return numberMap[match];
  5084. });
  5085. },
  5086. postformat: function postformat(string) {
  5087. return string.replace(/\d/g, function (match) {
  5088. return symbolMap[match];
  5089. });
  5090. },
  5091. week: {
  5092. dow: 1,
  5093. // Monday is the first day of the week.
  5094. doy: 4 // The week that contains Jan 4th is the first week of the year.
  5095. }
  5096. });
  5097. return my;
  5098. });
  5099. /***/ }),
  5100. /***/ 142:
  5101. /*!*****************************************************************************!*\
  5102. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/nb.js ***!
  5103. \*****************************************************************************/
  5104. /*! no static exports found */
  5105. /***/ (function(module, exports, __webpack_require__) {
  5106. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  5107. //! moment.js locale configuration
  5108. //! locale : Norwegian Bokmål [nb]
  5109. //! authors : Espen Hovlandsdal : https://github.com/rexxars
  5110. //! Sigurd Gartmann : https://github.com/sigurdga
  5111. //! Stephen Ramthun : https://github.com/stephenramthun
  5112. ;
  5113. (function (global, factory) {
  5114. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  5115. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  5116. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  5117. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  5118. })(this, function (moment) {
  5119. 'use strict';
  5120. //! moment.js locale configuration
  5121. var nb = moment.defineLocale('nb', {
  5122. months: 'januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember'.split('_'),
  5123. monthsShort: 'jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.'.split('_'),
  5124. monthsParseExact: true,
  5125. weekdays: 'søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag'.split('_'),
  5126. weekdaysShort: 'sø._ma._ti._on._to._fr._lø.'.split('_'),
  5127. weekdaysMin: 'sø_ma_ti_on_to_fr_lø'.split('_'),
  5128. weekdaysParseExact: true,
  5129. longDateFormat: {
  5130. LT: 'HH:mm',
  5131. LTS: 'HH:mm:ss',
  5132. L: 'DD.MM.YYYY',
  5133. LL: 'D. MMMM YYYY',
  5134. LLL: 'D. MMMM YYYY [kl.] HH:mm',
  5135. LLLL: 'dddd D. MMMM YYYY [kl.] HH:mm'
  5136. },
  5137. calendar: {
  5138. sameDay: '[i dag kl.] LT',
  5139. nextDay: '[i morgen kl.] LT',
  5140. nextWeek: 'dddd [kl.] LT',
  5141. lastDay: '[i går kl.] LT',
  5142. lastWeek: '[forrige] dddd [kl.] LT',
  5143. sameElse: 'L'
  5144. },
  5145. relativeTime: {
  5146. future: 'om %s',
  5147. past: '%s siden',
  5148. s: 'noen sekunder',
  5149. ss: '%d sekunder',
  5150. m: 'ett minutt',
  5151. mm: '%d minutter',
  5152. h: 'en time',
  5153. hh: '%d timer',
  5154. d: 'en dag',
  5155. dd: '%d dager',
  5156. w: 'en uke',
  5157. ww: '%d uker',
  5158. M: 'en måned',
  5159. MM: '%d måneder',
  5160. y: 'ett år',
  5161. yy: '%d år'
  5162. },
  5163. dayOfMonthOrdinalParse: /\d{1,2}\./,
  5164. ordinal: '%d.',
  5165. week: {
  5166. dow: 1,
  5167. // Monday is the first day of the week.
  5168. doy: 4 // The week that contains Jan 4th is the first week of the year.
  5169. }
  5170. });
  5171. return nb;
  5172. });
  5173. /***/ }),
  5174. /***/ 143:
  5175. /*!*****************************************************************************!*\
  5176. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/ne.js ***!
  5177. \*****************************************************************************/
  5178. /*! no static exports found */
  5179. /***/ (function(module, exports, __webpack_require__) {
  5180. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  5181. //! moment.js locale configuration
  5182. //! locale : Nepalese [ne]
  5183. //! author : suvash : https://github.com/suvash
  5184. ;
  5185. (function (global, factory) {
  5186. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  5187. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  5188. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  5189. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  5190. })(this, function (moment) {
  5191. 'use strict';
  5192. //! moment.js locale configuration
  5193. var symbolMap = {
  5194. 1: '१',
  5195. 2: '२',
  5196. 3: '३',
  5197. 4: '४',
  5198. 5: '५',
  5199. 6: '६',
  5200. 7: '७',
  5201. 8: '८',
  5202. 9: '९',
  5203. 0: '०'
  5204. },
  5205. numberMap = {
  5206. '१': '1',
  5207. '२': '2',
  5208. '३': '3',
  5209. '४': '4',
  5210. '५': '5',
  5211. '६': '6',
  5212. '७': '7',
  5213. '८': '8',
  5214. '९': '9',
  5215. '०': '0'
  5216. };
  5217. var ne = moment.defineLocale('ne', {
  5218. months: 'जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर'.split('_'),
  5219. monthsShort: 'जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.'.split('_'),
  5220. monthsParseExact: true,
  5221. weekdays: 'आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार'.split('_'),
  5222. weekdaysShort: 'आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.'.split('_'),
  5223. weekdaysMin: 'आ._सो._मं._बु._बि._शु._श.'.split('_'),
  5224. weekdaysParseExact: true,
  5225. longDateFormat: {
  5226. LT: 'Aको h:mm बजे',
  5227. LTS: 'Aको h:mm:ss बजे',
  5228. L: 'DD/MM/YYYY',
  5229. LL: 'D MMMM YYYY',
  5230. LLL: 'D MMMM YYYY, Aको h:mm बजे',
  5231. LLLL: 'dddd, D MMMM YYYY, Aको h:mm बजे'
  5232. },
  5233. preparse: function preparse(string) {
  5234. return string.replace(/[१२३४५६७८९०]/g, function (match) {
  5235. return numberMap[match];
  5236. });
  5237. },
  5238. postformat: function postformat(string) {
  5239. return string.replace(/\d/g, function (match) {
  5240. return symbolMap[match];
  5241. });
  5242. },
  5243. meridiemParse: /राति|बिहान|दिउँसो|साँझ/,
  5244. meridiemHour: function meridiemHour(hour, meridiem) {
  5245. if (hour === 12) {
  5246. hour = 0;
  5247. }
  5248. if (meridiem === 'राति') {
  5249. return hour < 4 ? hour : hour + 12;
  5250. } else if (meridiem === 'बिहान') {
  5251. return hour;
  5252. } else if (meridiem === 'दिउँसो') {
  5253. return hour >= 10 ? hour : hour + 12;
  5254. } else if (meridiem === 'साँझ') {
  5255. return hour + 12;
  5256. }
  5257. },
  5258. meridiem: function meridiem(hour, minute, isLower) {
  5259. if (hour < 3) {
  5260. return 'राति';
  5261. } else if (hour < 12) {
  5262. return 'बिहान';
  5263. } else if (hour < 16) {
  5264. return 'दिउँसो';
  5265. } else if (hour < 20) {
  5266. return 'साँझ';
  5267. } else {
  5268. return 'राति';
  5269. }
  5270. },
  5271. calendar: {
  5272. sameDay: '[आज] LT',
  5273. nextDay: '[भोलि] LT',
  5274. nextWeek: '[आउँदो] dddd[,] LT',
  5275. lastDay: '[हिजो] LT',
  5276. lastWeek: '[गएको] dddd[,] LT',
  5277. sameElse: 'L'
  5278. },
  5279. relativeTime: {
  5280. future: '%sमा',
  5281. past: '%s अगाडि',
  5282. s: 'केही क्षण',
  5283. ss: '%d सेकेण्ड',
  5284. m: 'एक मिनेट',
  5285. mm: '%d मिनेट',
  5286. h: 'एक घण्टा',
  5287. hh: '%d घण्टा',
  5288. d: 'एक दिन',
  5289. dd: '%d दिन',
  5290. M: 'एक महिना',
  5291. MM: '%d महिना',
  5292. y: 'एक बर्ष',
  5293. yy: '%d बर्ष'
  5294. },
  5295. week: {
  5296. dow: 0,
  5297. // Sunday is the first day of the week.
  5298. doy: 6 // The week that contains Jan 6th is the first week of the year.
  5299. }
  5300. });
  5301. return ne;
  5302. });
  5303. /***/ }),
  5304. /***/ 144:
  5305. /*!*****************************************************************************!*\
  5306. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/nl.js ***!
  5307. \*****************************************************************************/
  5308. /*! no static exports found */
  5309. /***/ (function(module, exports, __webpack_require__) {
  5310. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  5311. //! moment.js locale configuration
  5312. //! locale : Dutch [nl]
  5313. //! author : Joris Röling : https://github.com/jorisroling
  5314. //! author : Jacob Middag : https://github.com/middagj
  5315. ;
  5316. (function (global, factory) {
  5317. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  5318. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  5319. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  5320. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  5321. })(this, function (moment) {
  5322. 'use strict';
  5323. //! moment.js locale configuration
  5324. var monthsShortWithDots = 'jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.'.split('_'),
  5325. monthsShortWithoutDots = 'jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec'.split('_'),
  5326. monthsParse = [/^jan/i, /^feb/i, /^maart|mrt.?$/i, /^apr/i, /^mei$/i, /^jun[i.]?$/i, /^jul[i.]?$/i, /^aug/i, /^sep/i, /^okt/i, /^nov/i, /^dec/i],
  5327. monthsRegex = /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;
  5328. var nl = moment.defineLocale('nl', {
  5329. months: 'januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december'.split('_'),
  5330. monthsShort: function monthsShort(m, format) {
  5331. if (!m) {
  5332. return monthsShortWithDots;
  5333. } else if (/-MMM-/.test(format)) {
  5334. return monthsShortWithoutDots[m.month()];
  5335. } else {
  5336. return monthsShortWithDots[m.month()];
  5337. }
  5338. },
  5339. monthsRegex: monthsRegex,
  5340. monthsShortRegex: monthsRegex,
  5341. monthsStrictRegex: /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,
  5342. monthsShortStrictRegex: /^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,
  5343. monthsParse: monthsParse,
  5344. longMonthsParse: monthsParse,
  5345. shortMonthsParse: monthsParse,
  5346. weekdays: 'zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag'.split('_'),
  5347. weekdaysShort: 'zo._ma._di._wo._do._vr._za.'.split('_'),
  5348. weekdaysMin: 'zo_ma_di_wo_do_vr_za'.split('_'),
  5349. weekdaysParseExact: true,
  5350. longDateFormat: {
  5351. LT: 'HH:mm',
  5352. LTS: 'HH:mm:ss',
  5353. L: 'DD-MM-YYYY',
  5354. LL: 'D MMMM YYYY',
  5355. LLL: 'D MMMM YYYY HH:mm',
  5356. LLLL: 'dddd D MMMM YYYY HH:mm'
  5357. },
  5358. calendar: {
  5359. sameDay: '[vandaag om] LT',
  5360. nextDay: '[morgen om] LT',
  5361. nextWeek: 'dddd [om] LT',
  5362. lastDay: '[gisteren om] LT',
  5363. lastWeek: '[afgelopen] dddd [om] LT',
  5364. sameElse: 'L'
  5365. },
  5366. relativeTime: {
  5367. future: 'over %s',
  5368. past: '%s geleden',
  5369. s: 'een paar seconden',
  5370. ss: '%d seconden',
  5371. m: 'één minuut',
  5372. mm: '%d minuten',
  5373. h: 'één uur',
  5374. hh: '%d uur',
  5375. d: 'één dag',
  5376. dd: '%d dagen',
  5377. w: 'één week',
  5378. ww: '%d weken',
  5379. M: 'één maand',
  5380. MM: '%d maanden',
  5381. y: 'één jaar',
  5382. yy: '%d jaar'
  5383. },
  5384. dayOfMonthOrdinalParse: /\d{1,2}(ste|de)/,
  5385. ordinal: function ordinal(number) {
  5386. return number + (number === 1 || number === 8 || number >= 20 ? 'ste' : 'de');
  5387. },
  5388. week: {
  5389. dow: 1,
  5390. // Monday is the first day of the week.
  5391. doy: 4 // The week that contains Jan 4th is the first week of the year.
  5392. }
  5393. });
  5394. return nl;
  5395. });
  5396. /***/ }),
  5397. /***/ 145:
  5398. /*!********************************************************************************!*\
  5399. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/nl-be.js ***!
  5400. \********************************************************************************/
  5401. /*! no static exports found */
  5402. /***/ (function(module, exports, __webpack_require__) {
  5403. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  5404. //! moment.js locale configuration
  5405. //! locale : Dutch (Belgium) [nl-be]
  5406. //! author : Joris Röling : https://github.com/jorisroling
  5407. //! author : Jacob Middag : https://github.com/middagj
  5408. ;
  5409. (function (global, factory) {
  5410. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  5411. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  5412. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  5413. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  5414. })(this, function (moment) {
  5415. 'use strict';
  5416. //! moment.js locale configuration
  5417. var monthsShortWithDots = 'jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.'.split('_'),
  5418. monthsShortWithoutDots = 'jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec'.split('_'),
  5419. monthsParse = [/^jan/i, /^feb/i, /^maart|mrt.?$/i, /^apr/i, /^mei$/i, /^jun[i.]?$/i, /^jul[i.]?$/i, /^aug/i, /^sep/i, /^okt/i, /^nov/i, /^dec/i],
  5420. monthsRegex = /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;
  5421. var nlBe = moment.defineLocale('nl-be', {
  5422. months: 'januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december'.split('_'),
  5423. monthsShort: function monthsShort(m, format) {
  5424. if (!m) {
  5425. return monthsShortWithDots;
  5426. } else if (/-MMM-/.test(format)) {
  5427. return monthsShortWithoutDots[m.month()];
  5428. } else {
  5429. return monthsShortWithDots[m.month()];
  5430. }
  5431. },
  5432. monthsRegex: monthsRegex,
  5433. monthsShortRegex: monthsRegex,
  5434. monthsStrictRegex: /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,
  5435. monthsShortStrictRegex: /^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,
  5436. monthsParse: monthsParse,
  5437. longMonthsParse: monthsParse,
  5438. shortMonthsParse: monthsParse,
  5439. weekdays: 'zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag'.split('_'),
  5440. weekdaysShort: 'zo._ma._di._wo._do._vr._za.'.split('_'),
  5441. weekdaysMin: 'zo_ma_di_wo_do_vr_za'.split('_'),
  5442. weekdaysParseExact: true,
  5443. longDateFormat: {
  5444. LT: 'HH:mm',
  5445. LTS: 'HH:mm:ss',
  5446. L: 'DD/MM/YYYY',
  5447. LL: 'D MMMM YYYY',
  5448. LLL: 'D MMMM YYYY HH:mm',
  5449. LLLL: 'dddd D MMMM YYYY HH:mm'
  5450. },
  5451. calendar: {
  5452. sameDay: '[vandaag om] LT',
  5453. nextDay: '[morgen om] LT',
  5454. nextWeek: 'dddd [om] LT',
  5455. lastDay: '[gisteren om] LT',
  5456. lastWeek: '[afgelopen] dddd [om] LT',
  5457. sameElse: 'L'
  5458. },
  5459. relativeTime: {
  5460. future: 'over %s',
  5461. past: '%s geleden',
  5462. s: 'een paar seconden',
  5463. ss: '%d seconden',
  5464. m: 'één minuut',
  5465. mm: '%d minuten',
  5466. h: 'één uur',
  5467. hh: '%d uur',
  5468. d: 'één dag',
  5469. dd: '%d dagen',
  5470. M: 'één maand',
  5471. MM: '%d maanden',
  5472. y: 'één jaar',
  5473. yy: '%d jaar'
  5474. },
  5475. dayOfMonthOrdinalParse: /\d{1,2}(ste|de)/,
  5476. ordinal: function ordinal(number) {
  5477. return number + (number === 1 || number === 8 || number >= 20 ? 'ste' : 'de');
  5478. },
  5479. week: {
  5480. dow: 1,
  5481. // Monday is the first day of the week.
  5482. doy: 4 // The week that contains Jan 4th is the first week of the year.
  5483. }
  5484. });
  5485. return nlBe;
  5486. });
  5487. /***/ }),
  5488. /***/ 146:
  5489. /*!*****************************************************************************!*\
  5490. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/nn.js ***!
  5491. \*****************************************************************************/
  5492. /*! no static exports found */
  5493. /***/ (function(module, exports, __webpack_require__) {
  5494. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  5495. //! moment.js locale configuration
  5496. //! locale : Nynorsk [nn]
  5497. //! authors : https://github.com/mechuwind
  5498. //! Stephen Ramthun : https://github.com/stephenramthun
  5499. ;
  5500. (function (global, factory) {
  5501. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  5502. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  5503. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  5504. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  5505. })(this, function (moment) {
  5506. 'use strict';
  5507. //! moment.js locale configuration
  5508. var nn = moment.defineLocale('nn', {
  5509. months: 'januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember'.split('_'),
  5510. monthsShort: 'jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.'.split('_'),
  5511. monthsParseExact: true,
  5512. weekdays: 'sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag'.split('_'),
  5513. weekdaysShort: 'su._må._ty._on._to._fr._lau.'.split('_'),
  5514. weekdaysMin: 'su_må_ty_on_to_fr_la'.split('_'),
  5515. weekdaysParseExact: true,
  5516. longDateFormat: {
  5517. LT: 'HH:mm',
  5518. LTS: 'HH:mm:ss',
  5519. L: 'DD.MM.YYYY',
  5520. LL: 'D. MMMM YYYY',
  5521. LLL: 'D. MMMM YYYY [kl.] H:mm',
  5522. LLLL: 'dddd D. MMMM YYYY [kl.] HH:mm'
  5523. },
  5524. calendar: {
  5525. sameDay: '[I dag klokka] LT',
  5526. nextDay: '[I morgon klokka] LT',
  5527. nextWeek: 'dddd [klokka] LT',
  5528. lastDay: '[I går klokka] LT',
  5529. lastWeek: '[Føregåande] dddd [klokka] LT',
  5530. sameElse: 'L'
  5531. },
  5532. relativeTime: {
  5533. future: 'om %s',
  5534. past: '%s sidan',
  5535. s: 'nokre sekund',
  5536. ss: '%d sekund',
  5537. m: 'eit minutt',
  5538. mm: '%d minutt',
  5539. h: 'ein time',
  5540. hh: '%d timar',
  5541. d: 'ein dag',
  5542. dd: '%d dagar',
  5543. w: 'ei veke',
  5544. ww: '%d veker',
  5545. M: 'ein månad',
  5546. MM: '%d månader',
  5547. y: 'eit år',
  5548. yy: '%d år'
  5549. },
  5550. dayOfMonthOrdinalParse: /\d{1,2}\./,
  5551. ordinal: '%d.',
  5552. week: {
  5553. dow: 1,
  5554. // Monday is the first day of the week.
  5555. doy: 4 // The week that contains Jan 4th is the first week of the year.
  5556. }
  5557. });
  5558. return nn;
  5559. });
  5560. /***/ }),
  5561. /***/ 147:
  5562. /*!*********************************************************************************!*\
  5563. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/oc-lnc.js ***!
  5564. \*********************************************************************************/
  5565. /*! no static exports found */
  5566. /***/ (function(module, exports, __webpack_require__) {
  5567. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  5568. //! moment.js locale configuration
  5569. //! locale : Occitan, lengadocian dialecte [oc-lnc]
  5570. //! author : Quentin PAGÈS : https://github.com/Quenty31
  5571. ;
  5572. (function (global, factory) {
  5573. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  5574. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  5575. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  5576. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  5577. })(this, function (moment) {
  5578. 'use strict';
  5579. //! moment.js locale configuration
  5580. var ocLnc = moment.defineLocale('oc-lnc', {
  5581. months: {
  5582. standalone: 'genièr_febrièr_març_abril_mai_junh_julhet_agost_setembre_octòbre_novembre_decembre'.split('_'),
  5583. format: "de genièr_de febrièr_de març_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'octòbre_de novembre_de decembre".split('_'),
  5584. isFormat: /D[oD]?(\s)+MMMM/
  5585. },
  5586. monthsShort: 'gen._febr._març_abr._mai_junh_julh._ago._set._oct._nov._dec.'.split('_'),
  5587. monthsParseExact: true,
  5588. weekdays: 'dimenge_diluns_dimars_dimècres_dijòus_divendres_dissabte'.split('_'),
  5589. weekdaysShort: 'dg._dl._dm._dc._dj._dv._ds.'.split('_'),
  5590. weekdaysMin: 'dg_dl_dm_dc_dj_dv_ds'.split('_'),
  5591. weekdaysParseExact: true,
  5592. longDateFormat: {
  5593. LT: 'H:mm',
  5594. LTS: 'H:mm:ss',
  5595. L: 'DD/MM/YYYY',
  5596. LL: 'D MMMM [de] YYYY',
  5597. ll: 'D MMM YYYY',
  5598. LLL: 'D MMMM [de] YYYY [a] H:mm',
  5599. lll: 'D MMM YYYY, H:mm',
  5600. LLLL: 'dddd D MMMM [de] YYYY [a] H:mm',
  5601. llll: 'ddd D MMM YYYY, H:mm'
  5602. },
  5603. calendar: {
  5604. sameDay: '[uèi a] LT',
  5605. nextDay: '[deman a] LT',
  5606. nextWeek: 'dddd [a] LT',
  5607. lastDay: '[ièr a] LT',
  5608. lastWeek: 'dddd [passat a] LT',
  5609. sameElse: 'L'
  5610. },
  5611. relativeTime: {
  5612. future: "d'aquí %s",
  5613. past: 'fa %s',
  5614. s: 'unas segondas',
  5615. ss: '%d segondas',
  5616. m: 'una minuta',
  5617. mm: '%d minutas',
  5618. h: 'una ora',
  5619. hh: '%d oras',
  5620. d: 'un jorn',
  5621. dd: '%d jorns',
  5622. M: 'un mes',
  5623. MM: '%d meses',
  5624. y: 'un an',
  5625. yy: '%d ans'
  5626. },
  5627. dayOfMonthOrdinalParse: /\d{1,2}(r|n|t|è|a)/,
  5628. ordinal: function ordinal(number, period) {
  5629. var output = number === 1 ? 'r' : number === 2 ? 'n' : number === 3 ? 'r' : number === 4 ? 't' : 'è';
  5630. if (period === 'w' || period === 'W') {
  5631. output = 'a';
  5632. }
  5633. return number + output;
  5634. },
  5635. week: {
  5636. dow: 1,
  5637. // Monday is the first day of the week.
  5638. doy: 4
  5639. }
  5640. });
  5641. return ocLnc;
  5642. });
  5643. /***/ }),
  5644. /***/ 148:
  5645. /*!********************************************************************************!*\
  5646. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/pa-in.js ***!
  5647. \********************************************************************************/
  5648. /*! no static exports found */
  5649. /***/ (function(module, exports, __webpack_require__) {
  5650. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  5651. //! moment.js locale configuration
  5652. //! locale : Punjabi (India) [pa-in]
  5653. //! author : Harpreet Singh : https://github.com/harpreetkhalsagtbit
  5654. ;
  5655. (function (global, factory) {
  5656. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  5657. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  5658. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  5659. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  5660. })(this, function (moment) {
  5661. 'use strict';
  5662. //! moment.js locale configuration
  5663. var symbolMap = {
  5664. 1: '੧',
  5665. 2: '੨',
  5666. 3: '੩',
  5667. 4: '੪',
  5668. 5: '੫',
  5669. 6: '੬',
  5670. 7: '੭',
  5671. 8: '੮',
  5672. 9: '੯',
  5673. 0: '੦'
  5674. },
  5675. numberMap = {
  5676. '੧': '1',
  5677. '੨': '2',
  5678. '੩': '3',
  5679. '੪': '4',
  5680. '੫': '5',
  5681. '੬': '6',
  5682. '੭': '7',
  5683. '੮': '8',
  5684. '੯': '9',
  5685. '੦': '0'
  5686. };
  5687. var paIn = moment.defineLocale('pa-in', {
  5688. // There are months name as per Nanakshahi Calendar but they are not used as rigidly in modern Punjabi.
  5689. months: 'ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ'.split('_'),
  5690. monthsShort: 'ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ'.split('_'),
  5691. weekdays: 'ਐਤਵਾਰ_ਸੋਮਵਾਰ_ਮੰਗਲਵਾਰ_ਬੁਧਵਾਰ_ਵੀਰਵਾਰ_ਸ਼ੁੱਕਰਵਾਰ_ਸ਼ਨੀਚਰਵਾਰ'.split('_'),
  5692. weekdaysShort: 'ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ'.split('_'),
  5693. weekdaysMin: 'ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ'.split('_'),
  5694. longDateFormat: {
  5695. LT: 'A h:mm ਵਜੇ',
  5696. LTS: 'A h:mm:ss ਵਜੇ',
  5697. L: 'DD/MM/YYYY',
  5698. LL: 'D MMMM YYYY',
  5699. LLL: 'D MMMM YYYY, A h:mm ਵਜੇ',
  5700. LLLL: 'dddd, D MMMM YYYY, A h:mm ਵਜੇ'
  5701. },
  5702. calendar: {
  5703. sameDay: '[ਅਜ] LT',
  5704. nextDay: '[ਕਲ] LT',
  5705. nextWeek: '[ਅਗਲਾ] dddd, LT',
  5706. lastDay: '[ਕਲ] LT',
  5707. lastWeek: '[ਪਿਛਲੇ] dddd, LT',
  5708. sameElse: 'L'
  5709. },
  5710. relativeTime: {
  5711. future: '%s ਵਿੱਚ',
  5712. past: '%s ਪਿਛਲੇ',
  5713. s: 'ਕੁਝ ਸਕਿੰਟ',
  5714. ss: '%d ਸਕਿੰਟ',
  5715. m: 'ਇਕ ਮਿੰਟ',
  5716. mm: '%d ਮਿੰਟ',
  5717. h: 'ਇੱਕ ਘੰਟਾ',
  5718. hh: '%d ਘੰਟੇ',
  5719. d: 'ਇੱਕ ਦਿਨ',
  5720. dd: '%d ਦਿਨ',
  5721. M: 'ਇੱਕ ਮਹੀਨਾ',
  5722. MM: '%d ਮਹੀਨੇ',
  5723. y: 'ਇੱਕ ਸਾਲ',
  5724. yy: '%d ਸਾਲ'
  5725. },
  5726. preparse: function preparse(string) {
  5727. return string.replace(/[੧੨੩੪੫੬੭੮੯੦]/g, function (match) {
  5728. return numberMap[match];
  5729. });
  5730. },
  5731. postformat: function postformat(string) {
  5732. return string.replace(/\d/g, function (match) {
  5733. return symbolMap[match];
  5734. });
  5735. },
  5736. // Punjabi notation for meridiems are quite fuzzy in practice. While there exists
  5737. // a rigid notion of a 'Pahar' it is not used as rigidly in modern Punjabi.
  5738. meridiemParse: /ਰਾਤ|ਸਵੇਰ|ਦੁਪਹਿਰ|ਸ਼ਾਮ/,
  5739. meridiemHour: function meridiemHour(hour, meridiem) {
  5740. if (hour === 12) {
  5741. hour = 0;
  5742. }
  5743. if (meridiem === 'ਰਾਤ') {
  5744. return hour < 4 ? hour : hour + 12;
  5745. } else if (meridiem === 'ਸਵੇਰ') {
  5746. return hour;
  5747. } else if (meridiem === 'ਦੁਪਹਿਰ') {
  5748. return hour >= 10 ? hour : hour + 12;
  5749. } else if (meridiem === 'ਸ਼ਾਮ') {
  5750. return hour + 12;
  5751. }
  5752. },
  5753. meridiem: function meridiem(hour, minute, isLower) {
  5754. if (hour < 4) {
  5755. return 'ਰਾਤ';
  5756. } else if (hour < 10) {
  5757. return 'ਸਵੇਰ';
  5758. } else if (hour < 17) {
  5759. return 'ਦੁਪਹਿਰ';
  5760. } else if (hour < 20) {
  5761. return 'ਸ਼ਾਮ';
  5762. } else {
  5763. return 'ਰਾਤ';
  5764. }
  5765. },
  5766. week: {
  5767. dow: 0,
  5768. // Sunday is the first day of the week.
  5769. doy: 6 // The week that contains Jan 6th is the first week of the year.
  5770. }
  5771. });
  5772. return paIn;
  5773. });
  5774. /***/ }),
  5775. /***/ 149:
  5776. /*!*****************************************************************************!*\
  5777. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/pl.js ***!
  5778. \*****************************************************************************/
  5779. /*! no static exports found */
  5780. /***/ (function(module, exports, __webpack_require__) {
  5781. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  5782. //! moment.js locale configuration
  5783. //! locale : Polish [pl]
  5784. //! author : Rafal Hirsz : https://github.com/evoL
  5785. ;
  5786. (function (global, factory) {
  5787. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  5788. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  5789. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  5790. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  5791. })(this, function (moment) {
  5792. 'use strict';
  5793. //! moment.js locale configuration
  5794. var monthsNominative = 'styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień'.split('_'),
  5795. monthsSubjective = 'stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia'.split('_'),
  5796. monthsParse = [/^sty/i, /^lut/i, /^mar/i, /^kwi/i, /^maj/i, /^cze/i, /^lip/i, /^sie/i, /^wrz/i, /^paź/i, /^lis/i, /^gru/i];
  5797. function plural(n) {
  5798. return n % 10 < 5 && n % 10 > 1 && ~~(n / 10) % 10 !== 1;
  5799. }
  5800. function translate(number, withoutSuffix, key) {
  5801. var result = number + ' ';
  5802. switch (key) {
  5803. case 'ss':
  5804. return result + (plural(number) ? 'sekundy' : 'sekund');
  5805. case 'm':
  5806. return withoutSuffix ? 'minuta' : 'minutę';
  5807. case 'mm':
  5808. return result + (plural(number) ? 'minuty' : 'minut');
  5809. case 'h':
  5810. return withoutSuffix ? 'godzina' : 'godzinę';
  5811. case 'hh':
  5812. return result + (plural(number) ? 'godziny' : 'godzin');
  5813. case 'ww':
  5814. return result + (plural(number) ? 'tygodnie' : 'tygodni');
  5815. case 'MM':
  5816. return result + (plural(number) ? 'miesiące' : 'miesięcy');
  5817. case 'yy':
  5818. return result + (plural(number) ? 'lata' : 'lat');
  5819. }
  5820. }
  5821. var pl = moment.defineLocale('pl', {
  5822. months: function months(momentToFormat, format) {
  5823. if (!momentToFormat) {
  5824. return monthsNominative;
  5825. } else if (/D MMMM/.test(format)) {
  5826. return monthsSubjective[momentToFormat.month()];
  5827. } else {
  5828. return monthsNominative[momentToFormat.month()];
  5829. }
  5830. },
  5831. monthsShort: 'sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru'.split('_'),
  5832. monthsParse: monthsParse,
  5833. longMonthsParse: monthsParse,
  5834. shortMonthsParse: monthsParse,
  5835. weekdays: 'niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota'.split('_'),
  5836. weekdaysShort: 'ndz_pon_wt_śr_czw_pt_sob'.split('_'),
  5837. weekdaysMin: 'Nd_Pn_Wt_Śr_Cz_Pt_So'.split('_'),
  5838. longDateFormat: {
  5839. LT: 'HH:mm',
  5840. LTS: 'HH:mm:ss',
  5841. L: 'DD.MM.YYYY',
  5842. LL: 'D MMMM YYYY',
  5843. LLL: 'D MMMM YYYY HH:mm',
  5844. LLLL: 'dddd, D MMMM YYYY HH:mm'
  5845. },
  5846. calendar: {
  5847. sameDay: '[Dziś o] LT',
  5848. nextDay: '[Jutro o] LT',
  5849. nextWeek: function nextWeek() {
  5850. switch (this.day()) {
  5851. case 0:
  5852. return '[W niedzielę o] LT';
  5853. case 2:
  5854. return '[We wtorek o] LT';
  5855. case 3:
  5856. return '[W środę o] LT';
  5857. case 6:
  5858. return '[W sobotę o] LT';
  5859. default:
  5860. return '[W] dddd [o] LT';
  5861. }
  5862. },
  5863. lastDay: '[Wczoraj o] LT',
  5864. lastWeek: function lastWeek() {
  5865. switch (this.day()) {
  5866. case 0:
  5867. return '[W zeszłą niedzielę o] LT';
  5868. case 3:
  5869. return '[W zeszłą środę o] LT';
  5870. case 6:
  5871. return '[W zeszłą sobotę o] LT';
  5872. default:
  5873. return '[W zeszły] dddd [o] LT';
  5874. }
  5875. },
  5876. sameElse: 'L'
  5877. },
  5878. relativeTime: {
  5879. future: 'za %s',
  5880. past: '%s temu',
  5881. s: 'kilka sekund',
  5882. ss: translate,
  5883. m: translate,
  5884. mm: translate,
  5885. h: translate,
  5886. hh: translate,
  5887. d: '1 dzień',
  5888. dd: '%d dni',
  5889. w: 'tydzień',
  5890. ww: translate,
  5891. M: 'miesiąc',
  5892. MM: translate,
  5893. y: 'rok',
  5894. yy: translate
  5895. },
  5896. dayOfMonthOrdinalParse: /\d{1,2}\./,
  5897. ordinal: '%d.',
  5898. week: {
  5899. dow: 1,
  5900. // Monday is the first day of the week.
  5901. doy: 4 // The week that contains Jan 4th is the first week of the year.
  5902. }
  5903. });
  5904. return pl;
  5905. });
  5906. /***/ }),
  5907. /***/ 15:
  5908. /*!**********************************************************!*\
  5909. !*** ./node_modules/@babel/runtime/helpers/construct.js ***!
  5910. \**********************************************************/
  5911. /*! no static exports found */
  5912. /***/ (function(module, exports, __webpack_require__) {
  5913. var setPrototypeOf = __webpack_require__(/*! ./setPrototypeOf.js */ 16);
  5914. var isNativeReflectConstruct = __webpack_require__(/*! ./isNativeReflectConstruct.js */ 17);
  5915. function _construct(Parent, args, Class) {
  5916. if (isNativeReflectConstruct()) {
  5917. module.exports = _construct = Reflect.construct.bind(), module.exports.__esModule = true, module.exports["default"] = module.exports;
  5918. } else {
  5919. module.exports = _construct = function _construct(Parent, args, Class) {
  5920. var a = [null];
  5921. a.push.apply(a, args);
  5922. var Constructor = Function.bind.apply(Parent, a);
  5923. var instance = new Constructor();
  5924. if (Class) setPrototypeOf(instance, Class.prototype);
  5925. return instance;
  5926. }, module.exports.__esModule = true, module.exports["default"] = module.exports;
  5927. }
  5928. return _construct.apply(null, arguments);
  5929. }
  5930. module.exports = _construct, module.exports.__esModule = true, module.exports["default"] = module.exports;
  5931. /***/ }),
  5932. /***/ 150:
  5933. /*!*****************************************************************************!*\
  5934. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/pt.js ***!
  5935. \*****************************************************************************/
  5936. /*! no static exports found */
  5937. /***/ (function(module, exports, __webpack_require__) {
  5938. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  5939. //! moment.js locale configuration
  5940. //! locale : Portuguese [pt]
  5941. //! author : Jefferson : https://github.com/jalex79
  5942. ;
  5943. (function (global, factory) {
  5944. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  5945. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  5946. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  5947. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  5948. })(this, function (moment) {
  5949. 'use strict';
  5950. //! moment.js locale configuration
  5951. var pt = moment.defineLocale('pt', {
  5952. months: 'janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro'.split('_'),
  5953. monthsShort: 'jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez'.split('_'),
  5954. weekdays: 'Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado'.split('_'),
  5955. weekdaysShort: 'Dom_Seg_Ter_Qua_Qui_Sex_Sáb'.split('_'),
  5956. weekdaysMin: 'Do_2ª_3ª_4ª_5ª_6ª_Sá'.split('_'),
  5957. weekdaysParseExact: true,
  5958. longDateFormat: {
  5959. LT: 'HH:mm',
  5960. LTS: 'HH:mm:ss',
  5961. L: 'DD/MM/YYYY',
  5962. LL: 'D [de] MMMM [de] YYYY',
  5963. LLL: 'D [de] MMMM [de] YYYY HH:mm',
  5964. LLLL: 'dddd, D [de] MMMM [de] YYYY HH:mm'
  5965. },
  5966. calendar: {
  5967. sameDay: '[Hoje às] LT',
  5968. nextDay: '[Amanhã às] LT',
  5969. nextWeek: 'dddd [às] LT',
  5970. lastDay: '[Ontem às] LT',
  5971. lastWeek: function lastWeek() {
  5972. return this.day() === 0 || this.day() === 6 ? '[Último] dddd [às] LT' // Saturday + Sunday
  5973. : '[Última] dddd [às] LT'; // Monday - Friday
  5974. },
  5975. sameElse: 'L'
  5976. },
  5977. relativeTime: {
  5978. future: 'em %s',
  5979. past: 'há %s',
  5980. s: 'segundos',
  5981. ss: '%d segundos',
  5982. m: 'um minuto',
  5983. mm: '%d minutos',
  5984. h: 'uma hora',
  5985. hh: '%d horas',
  5986. d: 'um dia',
  5987. dd: '%d dias',
  5988. w: 'uma semana',
  5989. ww: '%d semanas',
  5990. M: 'um mês',
  5991. MM: '%d meses',
  5992. y: 'um ano',
  5993. yy: '%d anos'
  5994. },
  5995. dayOfMonthOrdinalParse: /\d{1,2}º/,
  5996. ordinal: '%dº',
  5997. week: {
  5998. dow: 1,
  5999. // Monday is the first day of the week.
  6000. doy: 4 // The week that contains Jan 4th is the first week of the year.
  6001. }
  6002. });
  6003. return pt;
  6004. });
  6005. /***/ }),
  6006. /***/ 151:
  6007. /*!********************************************************************************!*\
  6008. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/pt-br.js ***!
  6009. \********************************************************************************/
  6010. /*! no static exports found */
  6011. /***/ (function(module, exports, __webpack_require__) {
  6012. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  6013. //! moment.js locale configuration
  6014. //! locale : Portuguese (Brazil) [pt-br]
  6015. //! author : Caio Ribeiro Pereira : https://github.com/caio-ribeiro-pereira
  6016. ;
  6017. (function (global, factory) {
  6018. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  6019. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  6020. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  6021. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  6022. })(this, function (moment) {
  6023. 'use strict';
  6024. //! moment.js locale configuration
  6025. var ptBr = moment.defineLocale('pt-br', {
  6026. months: 'janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro'.split('_'),
  6027. monthsShort: 'jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez'.split('_'),
  6028. weekdays: 'domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado'.split('_'),
  6029. weekdaysShort: 'dom_seg_ter_qua_qui_sex_sáb'.split('_'),
  6030. weekdaysMin: 'do_2ª_3ª_4ª_5ª_6ª_sá'.split('_'),
  6031. weekdaysParseExact: true,
  6032. longDateFormat: {
  6033. LT: 'HH:mm',
  6034. LTS: 'HH:mm:ss',
  6035. L: 'DD/MM/YYYY',
  6036. LL: 'D [de] MMMM [de] YYYY',
  6037. LLL: 'D [de] MMMM [de] YYYY [às] HH:mm',
  6038. LLLL: 'dddd, D [de] MMMM [de] YYYY [às] HH:mm'
  6039. },
  6040. calendar: {
  6041. sameDay: '[Hoje às] LT',
  6042. nextDay: '[Amanhã às] LT',
  6043. nextWeek: 'dddd [às] LT',
  6044. lastDay: '[Ontem às] LT',
  6045. lastWeek: function lastWeek() {
  6046. return this.day() === 0 || this.day() === 6 ? '[Último] dddd [às] LT' // Saturday + Sunday
  6047. : '[Última] dddd [às] LT'; // Monday - Friday
  6048. },
  6049. sameElse: 'L'
  6050. },
  6051. relativeTime: {
  6052. future: 'em %s',
  6053. past: 'há %s',
  6054. s: 'poucos segundos',
  6055. ss: '%d segundos',
  6056. m: 'um minuto',
  6057. mm: '%d minutos',
  6058. h: 'uma hora',
  6059. hh: '%d horas',
  6060. d: 'um dia',
  6061. dd: '%d dias',
  6062. M: 'um mês',
  6063. MM: '%d meses',
  6064. y: 'um ano',
  6065. yy: '%d anos'
  6066. },
  6067. dayOfMonthOrdinalParse: /\d{1,2}º/,
  6068. ordinal: '%dº',
  6069. invalidDate: 'Data inválida'
  6070. });
  6071. return ptBr;
  6072. });
  6073. /***/ }),
  6074. /***/ 152:
  6075. /*!*****************************************************************************!*\
  6076. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/ro.js ***!
  6077. \*****************************************************************************/
  6078. /*! no static exports found */
  6079. /***/ (function(module, exports, __webpack_require__) {
  6080. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  6081. //! moment.js locale configuration
  6082. //! locale : Romanian [ro]
  6083. //! author : Vlad Gurdiga : https://github.com/gurdiga
  6084. //! author : Valentin Agachi : https://github.com/avaly
  6085. //! author : Emanuel Cepoi : https://github.com/cepem
  6086. ;
  6087. (function (global, factory) {
  6088. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  6089. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  6090. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  6091. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  6092. })(this, function (moment) {
  6093. 'use strict';
  6094. //! moment.js locale configuration
  6095. function relativeTimeWithPlural(number, withoutSuffix, key) {
  6096. var format = {
  6097. ss: 'secunde',
  6098. mm: 'minute',
  6099. hh: 'ore',
  6100. dd: 'zile',
  6101. ww: 'săptămâni',
  6102. MM: 'luni',
  6103. yy: 'ani'
  6104. },
  6105. separator = ' ';
  6106. if (number % 100 >= 20 || number >= 100 && number % 100 === 0) {
  6107. separator = ' de ';
  6108. }
  6109. return number + separator + format[key];
  6110. }
  6111. var ro = moment.defineLocale('ro', {
  6112. months: 'ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie'.split('_'),
  6113. monthsShort: 'ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.'.split('_'),
  6114. monthsParseExact: true,
  6115. weekdays: 'duminică_luni_marți_miercuri_joi_vineri_sâmbătă'.split('_'),
  6116. weekdaysShort: 'Dum_Lun_Mar_Mie_Joi_Vin_Sâm'.split('_'),
  6117. weekdaysMin: 'Du_Lu_Ma_Mi_Jo_Vi_Sâ'.split('_'),
  6118. longDateFormat: {
  6119. LT: 'H:mm',
  6120. LTS: 'H:mm:ss',
  6121. L: 'DD.MM.YYYY',
  6122. LL: 'D MMMM YYYY',
  6123. LLL: 'D MMMM YYYY H:mm',
  6124. LLLL: 'dddd, D MMMM YYYY H:mm'
  6125. },
  6126. calendar: {
  6127. sameDay: '[azi la] LT',
  6128. nextDay: '[mâine la] LT',
  6129. nextWeek: 'dddd [la] LT',
  6130. lastDay: '[ieri la] LT',
  6131. lastWeek: '[fosta] dddd [la] LT',
  6132. sameElse: 'L'
  6133. },
  6134. relativeTime: {
  6135. future: 'peste %s',
  6136. past: '%s în urmă',
  6137. s: 'câteva secunde',
  6138. ss: relativeTimeWithPlural,
  6139. m: 'un minut',
  6140. mm: relativeTimeWithPlural,
  6141. h: 'o oră',
  6142. hh: relativeTimeWithPlural,
  6143. d: 'o zi',
  6144. dd: relativeTimeWithPlural,
  6145. w: 'o săptămână',
  6146. ww: relativeTimeWithPlural,
  6147. M: 'o lună',
  6148. MM: relativeTimeWithPlural,
  6149. y: 'un an',
  6150. yy: relativeTimeWithPlural
  6151. },
  6152. week: {
  6153. dow: 1,
  6154. // Monday is the first day of the week.
  6155. doy: 7 // The week that contains Jan 7th is the first week of the year.
  6156. }
  6157. });
  6158. return ro;
  6159. });
  6160. /***/ }),
  6161. /***/ 153:
  6162. /*!*****************************************************************************!*\
  6163. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/ru.js ***!
  6164. \*****************************************************************************/
  6165. /*! no static exports found */
  6166. /***/ (function(module, exports, __webpack_require__) {
  6167. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  6168. //! moment.js locale configuration
  6169. //! locale : Russian [ru]
  6170. //! author : Viktorminator : https://github.com/Viktorminator
  6171. //! author : Menelion Elensúle : https://github.com/Oire
  6172. //! author : Коренберг Марк : https://github.com/socketpair
  6173. ;
  6174. (function (global, factory) {
  6175. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  6176. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  6177. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  6178. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  6179. })(this, function (moment) {
  6180. 'use strict';
  6181. //! moment.js locale configuration
  6182. function plural(word, num) {
  6183. var forms = word.split('_');
  6184. return num % 10 === 1 && num % 100 !== 11 ? forms[0] : num % 10 >= 2 && num % 10 <= 4 && (num % 100 < 10 || num % 100 >= 20) ? forms[1] : forms[2];
  6185. }
  6186. function relativeTimeWithPlural(number, withoutSuffix, key) {
  6187. var format = {
  6188. ss: withoutSuffix ? 'секунда_секунды_секунд' : 'секунду_секунды_секунд',
  6189. mm: withoutSuffix ? 'минута_минуты_минут' : 'минуту_минуты_минут',
  6190. hh: 'час_часа_часов',
  6191. dd: 'день_дня_дней',
  6192. ww: 'неделя_недели_недель',
  6193. MM: 'месяц_месяца_месяцев',
  6194. yy: 'год_года_лет'
  6195. };
  6196. if (key === 'm') {
  6197. return withoutSuffix ? 'минута' : 'минуту';
  6198. } else {
  6199. return number + ' ' + plural(format[key], +number);
  6200. }
  6201. }
  6202. var monthsParse = [/^янв/i, /^фев/i, /^мар/i, /^апр/i, /^ма[йя]/i, /^июн/i, /^июл/i, /^авг/i, /^сен/i, /^окт/i, /^ноя/i, /^дек/i];
  6203. // http://new.gramota.ru/spravka/rules/139-prop : § 103
  6204. // Сокращения месяцев: http://new.gramota.ru/spravka/buro/search-answer?s=242637
  6205. // CLDR data: http://www.unicode.org/cldr/charts/28/summary/ru.html#1753
  6206. var ru = moment.defineLocale('ru', {
  6207. months: {
  6208. format: 'января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря'.split('_'),
  6209. standalone: 'январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь'.split('_')
  6210. },
  6211. monthsShort: {
  6212. // по CLDR именно "июл." и "июн.", но какой смысл менять букву на точку?
  6213. format: 'янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.'.split('_'),
  6214. standalone: 'янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.'.split('_')
  6215. },
  6216. weekdays: {
  6217. standalone: 'воскресенье_понедельник_вторник_среда_четверг_пятница_суббота'.split('_'),
  6218. format: 'воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу'.split('_'),
  6219. isFormat: /\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?] ?dddd/
  6220. },
  6221. weekdaysShort: 'вс_пн_вт_ср_чт_пт_сб'.split('_'),
  6222. weekdaysMin: 'вс_пн_вт_ср_чт_пт_сб'.split('_'),
  6223. monthsParse: monthsParse,
  6224. longMonthsParse: monthsParse,
  6225. shortMonthsParse: monthsParse,
  6226. // полные названия с падежами, по три буквы, для некоторых, по 4 буквы, сокращения с точкой и без точки
  6227. monthsRegex: /^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,
  6228. // копия предыдущего
  6229. monthsShortRegex: /^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,
  6230. // полные названия с падежами
  6231. monthsStrictRegex: /^(январ[яь]|феврал[яь]|марта?|апрел[яь]|ма[яй]|июн[яь]|июл[яь]|августа?|сентябр[яь]|октябр[яь]|ноябр[яь]|декабр[яь])/i,
  6232. // Выражение, которое соответствует только сокращённым формам
  6233. monthsShortStrictRegex: /^(янв\.|февр?\.|мар[т.]|апр\.|ма[яй]|июн[ья.]|июл[ья.]|авг\.|сент?\.|окт\.|нояб?\.|дек\.)/i,
  6234. longDateFormat: {
  6235. LT: 'H:mm',
  6236. LTS: 'H:mm:ss',
  6237. L: 'DD.MM.YYYY',
  6238. LL: 'D MMMM YYYY г.',
  6239. LLL: 'D MMMM YYYY г., H:mm',
  6240. LLLL: 'dddd, D MMMM YYYY г., H:mm'
  6241. },
  6242. calendar: {
  6243. sameDay: '[Сегодня, в] LT',
  6244. nextDay: '[Завтра, в] LT',
  6245. lastDay: '[Вчера, в] LT',
  6246. nextWeek: function nextWeek(now) {
  6247. if (now.week() !== this.week()) {
  6248. switch (this.day()) {
  6249. case 0:
  6250. return '[В следующее] dddd, [в] LT';
  6251. case 1:
  6252. case 2:
  6253. case 4:
  6254. return '[В следующий] dddd, [в] LT';
  6255. case 3:
  6256. case 5:
  6257. case 6:
  6258. return '[В следующую] dddd, [в] LT';
  6259. }
  6260. } else {
  6261. if (this.day() === 2) {
  6262. return '[Во] dddd, [в] LT';
  6263. } else {
  6264. return '[В] dddd, [в] LT';
  6265. }
  6266. }
  6267. },
  6268. lastWeek: function lastWeek(now) {
  6269. if (now.week() !== this.week()) {
  6270. switch (this.day()) {
  6271. case 0:
  6272. return '[В прошлое] dddd, [в] LT';
  6273. case 1:
  6274. case 2:
  6275. case 4:
  6276. return '[В прошлый] dddd, [в] LT';
  6277. case 3:
  6278. case 5:
  6279. case 6:
  6280. return '[В прошлую] dddd, [в] LT';
  6281. }
  6282. } else {
  6283. if (this.day() === 2) {
  6284. return '[Во] dddd, [в] LT';
  6285. } else {
  6286. return '[В] dddd, [в] LT';
  6287. }
  6288. }
  6289. },
  6290. sameElse: 'L'
  6291. },
  6292. relativeTime: {
  6293. future: 'через %s',
  6294. past: '%s назад',
  6295. s: 'несколько секунд',
  6296. ss: relativeTimeWithPlural,
  6297. m: relativeTimeWithPlural,
  6298. mm: relativeTimeWithPlural,
  6299. h: 'час',
  6300. hh: relativeTimeWithPlural,
  6301. d: 'день',
  6302. dd: relativeTimeWithPlural,
  6303. w: 'неделя',
  6304. ww: relativeTimeWithPlural,
  6305. M: 'месяц',
  6306. MM: relativeTimeWithPlural,
  6307. y: 'год',
  6308. yy: relativeTimeWithPlural
  6309. },
  6310. meridiemParse: /ночи|утра|дня|вечера/i,
  6311. isPM: function isPM(input) {
  6312. return /^(дня|вечера)$/.test(input);
  6313. },
  6314. meridiem: function meridiem(hour, minute, isLower) {
  6315. if (hour < 4) {
  6316. return 'ночи';
  6317. } else if (hour < 12) {
  6318. return 'утра';
  6319. } else if (hour < 17) {
  6320. return 'дня';
  6321. } else {
  6322. return 'вечера';
  6323. }
  6324. },
  6325. dayOfMonthOrdinalParse: /\d{1,2}-(й|го|я)/,
  6326. ordinal: function ordinal(number, period) {
  6327. switch (period) {
  6328. case 'M':
  6329. case 'd':
  6330. case 'DDD':
  6331. return number + '-й';
  6332. case 'D':
  6333. return number + '-го';
  6334. case 'w':
  6335. case 'W':
  6336. return number + '-я';
  6337. default:
  6338. return number;
  6339. }
  6340. },
  6341. week: {
  6342. dow: 1,
  6343. // Monday is the first day of the week.
  6344. doy: 4 // The week that contains Jan 4th is the first week of the year.
  6345. }
  6346. });
  6347. return ru;
  6348. });
  6349. /***/ }),
  6350. /***/ 154:
  6351. /*!*****************************************************************************!*\
  6352. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/sd.js ***!
  6353. \*****************************************************************************/
  6354. /*! no static exports found */
  6355. /***/ (function(module, exports, __webpack_require__) {
  6356. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  6357. //! moment.js locale configuration
  6358. //! locale : Sindhi [sd]
  6359. //! author : Narain Sagar : https://github.com/narainsagar
  6360. ;
  6361. (function (global, factory) {
  6362. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  6363. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  6364. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  6365. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  6366. })(this, function (moment) {
  6367. 'use strict';
  6368. //! moment.js locale configuration
  6369. var months = ['جنوري', 'فيبروري', 'مارچ', 'اپريل', 'مئي', 'جون', 'جولاءِ', 'آگسٽ', 'سيپٽمبر', 'آڪٽوبر', 'نومبر', 'ڊسمبر'],
  6370. days = ['آچر', 'سومر', 'اڱارو', 'اربع', 'خميس', 'جمع', 'ڇنڇر'];
  6371. var sd = moment.defineLocale('sd', {
  6372. months: months,
  6373. monthsShort: months,
  6374. weekdays: days,
  6375. weekdaysShort: days,
  6376. weekdaysMin: days,
  6377. longDateFormat: {
  6378. LT: 'HH:mm',
  6379. LTS: 'HH:mm:ss',
  6380. L: 'DD/MM/YYYY',
  6381. LL: 'D MMMM YYYY',
  6382. LLL: 'D MMMM YYYY HH:mm',
  6383. LLLL: 'dddd، D MMMM YYYY HH:mm'
  6384. },
  6385. meridiemParse: /صبح|شام/,
  6386. isPM: function isPM(input) {
  6387. return 'شام' === input;
  6388. },
  6389. meridiem: function meridiem(hour, minute, isLower) {
  6390. if (hour < 12) {
  6391. return 'صبح';
  6392. }
  6393. return 'شام';
  6394. },
  6395. calendar: {
  6396. sameDay: '[اڄ] LT',
  6397. nextDay: '[سڀاڻي] LT',
  6398. nextWeek: 'dddd [اڳين هفتي تي] LT',
  6399. lastDay: '[ڪالهه] LT',
  6400. lastWeek: '[گزريل هفتي] dddd [تي] LT',
  6401. sameElse: 'L'
  6402. },
  6403. relativeTime: {
  6404. future: '%s پوء',
  6405. past: '%s اڳ',
  6406. s: 'چند سيڪنڊ',
  6407. ss: '%d سيڪنڊ',
  6408. m: 'هڪ منٽ',
  6409. mm: '%d منٽ',
  6410. h: 'هڪ ڪلاڪ',
  6411. hh: '%d ڪلاڪ',
  6412. d: 'هڪ ڏينهن',
  6413. dd: '%d ڏينهن',
  6414. M: 'هڪ مهينو',
  6415. MM: '%d مهينا',
  6416. y: 'هڪ سال',
  6417. yy: '%d سال'
  6418. },
  6419. preparse: function preparse(string) {
  6420. return string.replace(/،/g, ',');
  6421. },
  6422. postformat: function postformat(string) {
  6423. return string.replace(/,/g, '،');
  6424. },
  6425. week: {
  6426. dow: 1,
  6427. // Monday is the first day of the week.
  6428. doy: 4 // The week that contains Jan 4th is the first week of the year.
  6429. }
  6430. });
  6431. return sd;
  6432. });
  6433. /***/ }),
  6434. /***/ 155:
  6435. /*!*****************************************************************************!*\
  6436. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/se.js ***!
  6437. \*****************************************************************************/
  6438. /*! no static exports found */
  6439. /***/ (function(module, exports, __webpack_require__) {
  6440. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  6441. //! moment.js locale configuration
  6442. //! locale : Northern Sami [se]
  6443. //! authors : Bård Rolstad Henriksen : https://github.com/karamell
  6444. ;
  6445. (function (global, factory) {
  6446. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  6447. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  6448. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  6449. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  6450. })(this, function (moment) {
  6451. 'use strict';
  6452. //! moment.js locale configuration
  6453. var se = moment.defineLocale('se', {
  6454. months: 'ođđajagemánnu_guovvamánnu_njukčamánnu_cuoŋománnu_miessemánnu_geassemánnu_suoidnemánnu_borgemánnu_čakčamánnu_golggotmánnu_skábmamánnu_juovlamánnu'.split('_'),
  6455. monthsShort: 'ođđj_guov_njuk_cuo_mies_geas_suoi_borg_čakč_golg_skáb_juov'.split('_'),
  6456. weekdays: 'sotnabeaivi_vuossárga_maŋŋebárga_gaskavahkku_duorastat_bearjadat_lávvardat'.split('_'),
  6457. weekdaysShort: 'sotn_vuos_maŋ_gask_duor_bear_láv'.split('_'),
  6458. weekdaysMin: 's_v_m_g_d_b_L'.split('_'),
  6459. longDateFormat: {
  6460. LT: 'HH:mm',
  6461. LTS: 'HH:mm:ss',
  6462. L: 'DD.MM.YYYY',
  6463. LL: 'MMMM D. [b.] YYYY',
  6464. LLL: 'MMMM D. [b.] YYYY [ti.] HH:mm',
  6465. LLLL: 'dddd, MMMM D. [b.] YYYY [ti.] HH:mm'
  6466. },
  6467. calendar: {
  6468. sameDay: '[otne ti] LT',
  6469. nextDay: '[ihttin ti] LT',
  6470. nextWeek: 'dddd [ti] LT',
  6471. lastDay: '[ikte ti] LT',
  6472. lastWeek: '[ovddit] dddd [ti] LT',
  6473. sameElse: 'L'
  6474. },
  6475. relativeTime: {
  6476. future: '%s geažes',
  6477. past: 'maŋit %s',
  6478. s: 'moadde sekunddat',
  6479. ss: '%d sekunddat',
  6480. m: 'okta minuhta',
  6481. mm: '%d minuhtat',
  6482. h: 'okta diimmu',
  6483. hh: '%d diimmut',
  6484. d: 'okta beaivi',
  6485. dd: '%d beaivvit',
  6486. M: 'okta mánnu',
  6487. MM: '%d mánut',
  6488. y: 'okta jahki',
  6489. yy: '%d jagit'
  6490. },
  6491. dayOfMonthOrdinalParse: /\d{1,2}\./,
  6492. ordinal: '%d.',
  6493. week: {
  6494. dow: 1,
  6495. // Monday is the first day of the week.
  6496. doy: 4 // The week that contains Jan 4th is the first week of the year.
  6497. }
  6498. });
  6499. return se;
  6500. });
  6501. /***/ }),
  6502. /***/ 156:
  6503. /*!*****************************************************************************!*\
  6504. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/si.js ***!
  6505. \*****************************************************************************/
  6506. /*! no static exports found */
  6507. /***/ (function(module, exports, __webpack_require__) {
  6508. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  6509. //! moment.js locale configuration
  6510. //! locale : Sinhalese [si]
  6511. //! author : Sampath Sitinamaluwa : https://github.com/sampathsris
  6512. ;
  6513. (function (global, factory) {
  6514. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  6515. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  6516. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  6517. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  6518. })(this, function (moment) {
  6519. 'use strict';
  6520. //! moment.js locale configuration
  6521. /*jshint -W100*/
  6522. var si = moment.defineLocale('si', {
  6523. months: 'ජනවාරි_පෙබරවාරි_මාර්තු_අප්‍රේල්_මැයි_ජූනි_ජූලි_අගෝස්තු_සැප්තැම්බර්_ඔක්තෝබර්_නොවැම්බර්_දෙසැම්බර්'.split('_'),
  6524. monthsShort: 'ජන_පෙබ_මාර්_අප්_මැයි_ජූනි_ජූලි_අගෝ_සැප්_ඔක්_නොවැ_දෙසැ'.split('_'),
  6525. weekdays: 'ඉරිදා_සඳුදා_අඟහරුවාදා_බදාදා_බ්‍රහස්පතින්දා_සිකුරාදා_සෙනසුරාදා'.split('_'),
  6526. weekdaysShort: 'ඉරි_සඳු_අඟ_බදා_බ්‍රහ_සිකු_සෙන'.split('_'),
  6527. weekdaysMin: 'ඉ_ස_අ_බ_බ්‍ර_සි_සෙ'.split('_'),
  6528. weekdaysParseExact: true,
  6529. longDateFormat: {
  6530. LT: 'a h:mm',
  6531. LTS: 'a h:mm:ss',
  6532. L: 'YYYY/MM/DD',
  6533. LL: 'YYYY MMMM D',
  6534. LLL: 'YYYY MMMM D, a h:mm',
  6535. LLLL: 'YYYY MMMM D [වැනි] dddd, a h:mm:ss'
  6536. },
  6537. calendar: {
  6538. sameDay: '[අද] LT[ට]',
  6539. nextDay: '[හෙට] LT[ට]',
  6540. nextWeek: 'dddd LT[ට]',
  6541. lastDay: '[ඊයේ] LT[ට]',
  6542. lastWeek: '[පසුගිය] dddd LT[ට]',
  6543. sameElse: 'L'
  6544. },
  6545. relativeTime: {
  6546. future: '%sකින්',
  6547. past: '%sකට පෙර',
  6548. s: 'තත්පර කිහිපය',
  6549. ss: 'තත්පර %d',
  6550. m: 'මිනිත්තුව',
  6551. mm: 'මිනිත්තු %d',
  6552. h: 'පැය',
  6553. hh: 'පැය %d',
  6554. d: 'දිනය',
  6555. dd: 'දින %d',
  6556. M: 'මාසය',
  6557. MM: 'මාස %d',
  6558. y: 'වසර',
  6559. yy: 'වසර %d'
  6560. },
  6561. dayOfMonthOrdinalParse: /\d{1,2} වැනි/,
  6562. ordinal: function ordinal(number) {
  6563. return number + ' වැනි';
  6564. },
  6565. meridiemParse: /පෙර වරු|පස් වරු|පෙ.ව|ප.ව./,
  6566. isPM: function isPM(input) {
  6567. return input === 'ප.ව.' || input === 'පස් වරු';
  6568. },
  6569. meridiem: function meridiem(hours, minutes, isLower) {
  6570. if (hours > 11) {
  6571. return isLower ? 'ප.ව.' : 'පස් වරු';
  6572. } else {
  6573. return isLower ? 'පෙ.ව.' : 'පෙර වරු';
  6574. }
  6575. }
  6576. });
  6577. return si;
  6578. });
  6579. /***/ }),
  6580. /***/ 157:
  6581. /*!*****************************************************************************!*\
  6582. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/sk.js ***!
  6583. \*****************************************************************************/
  6584. /*! no static exports found */
  6585. /***/ (function(module, exports, __webpack_require__) {
  6586. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  6587. //! moment.js locale configuration
  6588. //! locale : Slovak [sk]
  6589. //! author : Martin Minka : https://github.com/k2s
  6590. //! based on work of petrbela : https://github.com/petrbela
  6591. ;
  6592. (function (global, factory) {
  6593. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  6594. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  6595. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  6596. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  6597. })(this, function (moment) {
  6598. 'use strict';
  6599. //! moment.js locale configuration
  6600. var months = 'január_február_marec_apríl_máj_jún_júl_august_september_október_november_december'.split('_'),
  6601. monthsShort = 'jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec'.split('_');
  6602. function plural(n) {
  6603. return n > 1 && n < 5;
  6604. }
  6605. function translate(number, withoutSuffix, key, isFuture) {
  6606. var result = number + ' ';
  6607. switch (key) {
  6608. case 's':
  6609. // a few seconds / in a few seconds / a few seconds ago
  6610. return withoutSuffix || isFuture ? 'pár sekúnd' : 'pár sekundami';
  6611. case 'ss':
  6612. // 9 seconds / in 9 seconds / 9 seconds ago
  6613. if (withoutSuffix || isFuture) {
  6614. return result + (plural(number) ? 'sekundy' : 'sekúnd');
  6615. } else {
  6616. return result + 'sekundami';
  6617. }
  6618. case 'm':
  6619. // a minute / in a minute / a minute ago
  6620. return withoutSuffix ? 'minúta' : isFuture ? 'minútu' : 'minútou';
  6621. case 'mm':
  6622. // 9 minutes / in 9 minutes / 9 minutes ago
  6623. if (withoutSuffix || isFuture) {
  6624. return result + (plural(number) ? 'minúty' : 'minút');
  6625. } else {
  6626. return result + 'minútami';
  6627. }
  6628. case 'h':
  6629. // an hour / in an hour / an hour ago
  6630. return withoutSuffix ? 'hodina' : isFuture ? 'hodinu' : 'hodinou';
  6631. case 'hh':
  6632. // 9 hours / in 9 hours / 9 hours ago
  6633. if (withoutSuffix || isFuture) {
  6634. return result + (plural(number) ? 'hodiny' : 'hodín');
  6635. } else {
  6636. return result + 'hodinami';
  6637. }
  6638. case 'd':
  6639. // a day / in a day / a day ago
  6640. return withoutSuffix || isFuture ? 'deň' : 'dňom';
  6641. case 'dd':
  6642. // 9 days / in 9 days / 9 days ago
  6643. if (withoutSuffix || isFuture) {
  6644. return result + (plural(number) ? 'dni' : 'dní');
  6645. } else {
  6646. return result + 'dňami';
  6647. }
  6648. case 'M':
  6649. // a month / in a month / a month ago
  6650. return withoutSuffix || isFuture ? 'mesiac' : 'mesiacom';
  6651. case 'MM':
  6652. // 9 months / in 9 months / 9 months ago
  6653. if (withoutSuffix || isFuture) {
  6654. return result + (plural(number) ? 'mesiace' : 'mesiacov');
  6655. } else {
  6656. return result + 'mesiacmi';
  6657. }
  6658. case 'y':
  6659. // a year / in a year / a year ago
  6660. return withoutSuffix || isFuture ? 'rok' : 'rokom';
  6661. case 'yy':
  6662. // 9 years / in 9 years / 9 years ago
  6663. if (withoutSuffix || isFuture) {
  6664. return result + (plural(number) ? 'roky' : 'rokov');
  6665. } else {
  6666. return result + 'rokmi';
  6667. }
  6668. }
  6669. }
  6670. var sk = moment.defineLocale('sk', {
  6671. months: months,
  6672. monthsShort: monthsShort,
  6673. weekdays: 'nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota'.split('_'),
  6674. weekdaysShort: 'ne_po_ut_st_št_pi_so'.split('_'),
  6675. weekdaysMin: 'ne_po_ut_st_št_pi_so'.split('_'),
  6676. longDateFormat: {
  6677. LT: 'H:mm',
  6678. LTS: 'H:mm:ss',
  6679. L: 'DD.MM.YYYY',
  6680. LL: 'D. MMMM YYYY',
  6681. LLL: 'D. MMMM YYYY H:mm',
  6682. LLLL: 'dddd D. MMMM YYYY H:mm'
  6683. },
  6684. calendar: {
  6685. sameDay: '[dnes o] LT',
  6686. nextDay: '[zajtra o] LT',
  6687. nextWeek: function nextWeek() {
  6688. switch (this.day()) {
  6689. case 0:
  6690. return '[v nedeľu o] LT';
  6691. case 1:
  6692. case 2:
  6693. return '[v] dddd [o] LT';
  6694. case 3:
  6695. return '[v stredu o] LT';
  6696. case 4:
  6697. return '[vo štvrtok o] LT';
  6698. case 5:
  6699. return '[v piatok o] LT';
  6700. case 6:
  6701. return '[v sobotu o] LT';
  6702. }
  6703. },
  6704. lastDay: '[včera o] LT',
  6705. lastWeek: function lastWeek() {
  6706. switch (this.day()) {
  6707. case 0:
  6708. return '[minulú nedeľu o] LT';
  6709. case 1:
  6710. case 2:
  6711. return '[minulý] dddd [o] LT';
  6712. case 3:
  6713. return '[minulú stredu o] LT';
  6714. case 4:
  6715. case 5:
  6716. return '[minulý] dddd [o] LT';
  6717. case 6:
  6718. return '[minulú sobotu o] LT';
  6719. }
  6720. },
  6721. sameElse: 'L'
  6722. },
  6723. relativeTime: {
  6724. future: 'za %s',
  6725. past: 'pred %s',
  6726. s: translate,
  6727. ss: translate,
  6728. m: translate,
  6729. mm: translate,
  6730. h: translate,
  6731. hh: translate,
  6732. d: translate,
  6733. dd: translate,
  6734. M: translate,
  6735. MM: translate,
  6736. y: translate,
  6737. yy: translate
  6738. },
  6739. dayOfMonthOrdinalParse: /\d{1,2}\./,
  6740. ordinal: '%d.',
  6741. week: {
  6742. dow: 1,
  6743. // Monday is the first day of the week.
  6744. doy: 4 // The week that contains Jan 4th is the first week of the year.
  6745. }
  6746. });
  6747. return sk;
  6748. });
  6749. /***/ }),
  6750. /***/ 1575:
  6751. /*!************************************************************************************************!*\
  6752. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/uni_modules/uni-popup/components/uni-popup/popup.js ***!
  6753. \************************************************************************************************/
  6754. /*! no static exports found */
  6755. /***/ (function(module, exports, __webpack_require__) {
  6756. "use strict";
  6757. Object.defineProperty(exports, "__esModule", {
  6758. value: true
  6759. });
  6760. exports.default = void 0;
  6761. var _default = {
  6762. data: function data() {
  6763. return {};
  6764. },
  6765. created: function created() {
  6766. this.popup = this.getParent();
  6767. },
  6768. methods: {
  6769. /**
  6770. * 获取父元素实例
  6771. */
  6772. getParent: function getParent() {
  6773. var name = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'uniPopup';
  6774. var parent = this.$parent;
  6775. var parentName = parent.$options.name;
  6776. while (parentName !== name) {
  6777. parent = parent.$parent;
  6778. if (!parent) return false;
  6779. parentName = parent.$options.name;
  6780. }
  6781. return parent;
  6782. }
  6783. }
  6784. };
  6785. exports.default = _default;
  6786. /***/ }),
  6787. /***/ 1576:
  6788. /*!*****************************************************************************************************!*\
  6789. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/uni_modules/uni-popup/components/uni-popup/i18n/index.js ***!
  6790. \*****************************************************************************************************/
  6791. /*! no static exports found */
  6792. /***/ (function(module, exports, __webpack_require__) {
  6793. "use strict";
  6794. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  6795. Object.defineProperty(exports, "__esModule", {
  6796. value: true
  6797. });
  6798. exports.default = void 0;
  6799. var _en = _interopRequireDefault(__webpack_require__(/*! ./en.json */ 1577));
  6800. var _zhHans = _interopRequireDefault(__webpack_require__(/*! ./zh-Hans.json */ 1578));
  6801. var _zhHant = _interopRequireDefault(__webpack_require__(/*! ./zh-Hant.json */ 1579));
  6802. var _default = {
  6803. en: _en.default,
  6804. 'zh-Hans': _zhHans.default,
  6805. 'zh-Hant': _zhHant.default
  6806. };
  6807. exports.default = _default;
  6808. /***/ }),
  6809. /***/ 1577:
  6810. /*!****************************************************************************************************!*\
  6811. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/uni_modules/uni-popup/components/uni-popup/i18n/en.json ***!
  6812. \****************************************************************************************************/
  6813. /*! exports provided: uni-popup.cancel, uni-popup.ok, uni-popup.placeholder, uni-popup.title, uni-popup.shareTitle, default */
  6814. /***/ (function(module) {
  6815. module.exports = JSON.parse("{\"uni-popup.cancel\":\"cancel\",\"uni-popup.ok\":\"ok\",\"uni-popup.placeholder\":\"pleace enter\",\"uni-popup.title\":\"Hint\",\"uni-popup.shareTitle\":\"Share to\"}");
  6816. /***/ }),
  6817. /***/ 1578:
  6818. /*!*********************************************************************************************************!*\
  6819. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/uni_modules/uni-popup/components/uni-popup/i18n/zh-Hans.json ***!
  6820. \*********************************************************************************************************/
  6821. /*! exports provided: uni-popup.cancel, uni-popup.ok, uni-popup.placeholder, uni-popup.title, uni-popup.shareTitle, default */
  6822. /***/ (function(module) {
  6823. module.exports = JSON.parse("{\"uni-popup.cancel\":\"取消\",\"uni-popup.ok\":\"确定\",\"uni-popup.placeholder\":\"请输入\",\"uni-popup.title\":\"提示\",\"uni-popup.shareTitle\":\"分享到\"}");
  6824. /***/ }),
  6825. /***/ 1579:
  6826. /*!*********************************************************************************************************!*\
  6827. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/uni_modules/uni-popup/components/uni-popup/i18n/zh-Hant.json ***!
  6828. \*********************************************************************************************************/
  6829. /*! exports provided: uni-popup.cancel, uni-popup.ok, uni-popup.placeholder, uni-popup.title, uni-popup.shareTitle, default */
  6830. /***/ (function(module) {
  6831. module.exports = JSON.parse("{\"uni-popup.cancel\":\"取消\",\"uni-popup.ok\":\"確定\",\"uni-popup.placeholder\":\"請輸入\",\"uni-popup.title\":\"提示\",\"uni-popup.shareTitle\":\"分享到\"}");
  6832. /***/ }),
  6833. /***/ 158:
  6834. /*!*****************************************************************************!*\
  6835. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/sl.js ***!
  6836. \*****************************************************************************/
  6837. /*! no static exports found */
  6838. /***/ (function(module, exports, __webpack_require__) {
  6839. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  6840. //! moment.js locale configuration
  6841. //! locale : Slovenian [sl]
  6842. //! author : Robert Sedovšek : https://github.com/sedovsek
  6843. ;
  6844. (function (global, factory) {
  6845. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  6846. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  6847. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  6848. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  6849. })(this, function (moment) {
  6850. 'use strict';
  6851. //! moment.js locale configuration
  6852. function processRelativeTime(number, withoutSuffix, key, isFuture) {
  6853. var result = number + ' ';
  6854. switch (key) {
  6855. case 's':
  6856. return withoutSuffix || isFuture ? 'nekaj sekund' : 'nekaj sekundami';
  6857. case 'ss':
  6858. if (number === 1) {
  6859. result += withoutSuffix ? 'sekundo' : 'sekundi';
  6860. } else if (number === 2) {
  6861. result += withoutSuffix || isFuture ? 'sekundi' : 'sekundah';
  6862. } else if (number < 5) {
  6863. result += withoutSuffix || isFuture ? 'sekunde' : 'sekundah';
  6864. } else {
  6865. result += 'sekund';
  6866. }
  6867. return result;
  6868. case 'm':
  6869. return withoutSuffix ? 'ena minuta' : 'eno minuto';
  6870. case 'mm':
  6871. if (number === 1) {
  6872. result += withoutSuffix ? 'minuta' : 'minuto';
  6873. } else if (number === 2) {
  6874. result += withoutSuffix || isFuture ? 'minuti' : 'minutama';
  6875. } else if (number < 5) {
  6876. result += withoutSuffix || isFuture ? 'minute' : 'minutami';
  6877. } else {
  6878. result += withoutSuffix || isFuture ? 'minut' : 'minutami';
  6879. }
  6880. return result;
  6881. case 'h':
  6882. return withoutSuffix ? 'ena ura' : 'eno uro';
  6883. case 'hh':
  6884. if (number === 1) {
  6885. result += withoutSuffix ? 'ura' : 'uro';
  6886. } else if (number === 2) {
  6887. result += withoutSuffix || isFuture ? 'uri' : 'urama';
  6888. } else if (number < 5) {
  6889. result += withoutSuffix || isFuture ? 'ure' : 'urami';
  6890. } else {
  6891. result += withoutSuffix || isFuture ? 'ur' : 'urami';
  6892. }
  6893. return result;
  6894. case 'd':
  6895. return withoutSuffix || isFuture ? 'en dan' : 'enim dnem';
  6896. case 'dd':
  6897. if (number === 1) {
  6898. result += withoutSuffix || isFuture ? 'dan' : 'dnem';
  6899. } else if (number === 2) {
  6900. result += withoutSuffix || isFuture ? 'dni' : 'dnevoma';
  6901. } else {
  6902. result += withoutSuffix || isFuture ? 'dni' : 'dnevi';
  6903. }
  6904. return result;
  6905. case 'M':
  6906. return withoutSuffix || isFuture ? 'en mesec' : 'enim mesecem';
  6907. case 'MM':
  6908. if (number === 1) {
  6909. result += withoutSuffix || isFuture ? 'mesec' : 'mesecem';
  6910. } else if (number === 2) {
  6911. result += withoutSuffix || isFuture ? 'meseca' : 'mesecema';
  6912. } else if (number < 5) {
  6913. result += withoutSuffix || isFuture ? 'mesece' : 'meseci';
  6914. } else {
  6915. result += withoutSuffix || isFuture ? 'mesecev' : 'meseci';
  6916. }
  6917. return result;
  6918. case 'y':
  6919. return withoutSuffix || isFuture ? 'eno leto' : 'enim letom';
  6920. case 'yy':
  6921. if (number === 1) {
  6922. result += withoutSuffix || isFuture ? 'leto' : 'letom';
  6923. } else if (number === 2) {
  6924. result += withoutSuffix || isFuture ? 'leti' : 'letoma';
  6925. } else if (number < 5) {
  6926. result += withoutSuffix || isFuture ? 'leta' : 'leti';
  6927. } else {
  6928. result += withoutSuffix || isFuture ? 'let' : 'leti';
  6929. }
  6930. return result;
  6931. }
  6932. }
  6933. var sl = moment.defineLocale('sl', {
  6934. months: 'januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december'.split('_'),
  6935. monthsShort: 'jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.'.split('_'),
  6936. monthsParseExact: true,
  6937. weekdays: 'nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota'.split('_'),
  6938. weekdaysShort: 'ned._pon._tor._sre._čet._pet._sob.'.split('_'),
  6939. weekdaysMin: 'ne_po_to_sr_če_pe_so'.split('_'),
  6940. weekdaysParseExact: true,
  6941. longDateFormat: {
  6942. LT: 'H:mm',
  6943. LTS: 'H:mm:ss',
  6944. L: 'DD. MM. YYYY',
  6945. LL: 'D. MMMM YYYY',
  6946. LLL: 'D. MMMM YYYY H:mm',
  6947. LLLL: 'dddd, D. MMMM YYYY H:mm'
  6948. },
  6949. calendar: {
  6950. sameDay: '[danes ob] LT',
  6951. nextDay: '[jutri ob] LT',
  6952. nextWeek: function nextWeek() {
  6953. switch (this.day()) {
  6954. case 0:
  6955. return '[v] [nedeljo] [ob] LT';
  6956. case 3:
  6957. return '[v] [sredo] [ob] LT';
  6958. case 6:
  6959. return '[v] [soboto] [ob] LT';
  6960. case 1:
  6961. case 2:
  6962. case 4:
  6963. case 5:
  6964. return '[v] dddd [ob] LT';
  6965. }
  6966. },
  6967. lastDay: '[včeraj ob] LT',
  6968. lastWeek: function lastWeek() {
  6969. switch (this.day()) {
  6970. case 0:
  6971. return '[prejšnjo] [nedeljo] [ob] LT';
  6972. case 3:
  6973. return '[prejšnjo] [sredo] [ob] LT';
  6974. case 6:
  6975. return '[prejšnjo] [soboto] [ob] LT';
  6976. case 1:
  6977. case 2:
  6978. case 4:
  6979. case 5:
  6980. return '[prejšnji] dddd [ob] LT';
  6981. }
  6982. },
  6983. sameElse: 'L'
  6984. },
  6985. relativeTime: {
  6986. future: 'čez %s',
  6987. past: 'pred %s',
  6988. s: processRelativeTime,
  6989. ss: processRelativeTime,
  6990. m: processRelativeTime,
  6991. mm: processRelativeTime,
  6992. h: processRelativeTime,
  6993. hh: processRelativeTime,
  6994. d: processRelativeTime,
  6995. dd: processRelativeTime,
  6996. M: processRelativeTime,
  6997. MM: processRelativeTime,
  6998. y: processRelativeTime,
  6999. yy: processRelativeTime
  7000. },
  7001. dayOfMonthOrdinalParse: /\d{1,2}\./,
  7002. ordinal: '%d.',
  7003. week: {
  7004. dow: 1,
  7005. // Monday is the first day of the week.
  7006. doy: 7 // The week that contains Jan 7th is the first week of the year.
  7007. }
  7008. });
  7009. return sl;
  7010. });
  7011. /***/ }),
  7012. /***/ 159:
  7013. /*!*****************************************************************************!*\
  7014. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/sq.js ***!
  7015. \*****************************************************************************/
  7016. /*! no static exports found */
  7017. /***/ (function(module, exports, __webpack_require__) {
  7018. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  7019. //! moment.js locale configuration
  7020. //! locale : Albanian [sq]
  7021. //! author : Flakërim Ismani : https://github.com/flakerimi
  7022. //! author : Menelion Elensúle : https://github.com/Oire
  7023. //! author : Oerd Cukalla : https://github.com/oerd
  7024. ;
  7025. (function (global, factory) {
  7026. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  7027. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  7028. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  7029. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  7030. })(this, function (moment) {
  7031. 'use strict';
  7032. //! moment.js locale configuration
  7033. var sq = moment.defineLocale('sq', {
  7034. months: 'Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor'.split('_'),
  7035. monthsShort: 'Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj'.split('_'),
  7036. weekdays: 'E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë'.split('_'),
  7037. weekdaysShort: 'Die_Hën_Mar_Mër_Enj_Pre_Sht'.split('_'),
  7038. weekdaysMin: 'D_H_Ma_Më_E_P_Sh'.split('_'),
  7039. weekdaysParseExact: true,
  7040. meridiemParse: /PD|MD/,
  7041. isPM: function isPM(input) {
  7042. return input.charAt(0) === 'M';
  7043. },
  7044. meridiem: function meridiem(hours, minutes, isLower) {
  7045. return hours < 12 ? 'PD' : 'MD';
  7046. },
  7047. longDateFormat: {
  7048. LT: 'HH:mm',
  7049. LTS: 'HH:mm:ss',
  7050. L: 'DD/MM/YYYY',
  7051. LL: 'D MMMM YYYY',
  7052. LLL: 'D MMMM YYYY HH:mm',
  7053. LLLL: 'dddd, D MMMM YYYY HH:mm'
  7054. },
  7055. calendar: {
  7056. sameDay: '[Sot në] LT',
  7057. nextDay: '[Nesër në] LT',
  7058. nextWeek: 'dddd [në] LT',
  7059. lastDay: '[Dje në] LT',
  7060. lastWeek: 'dddd [e kaluar në] LT',
  7061. sameElse: 'L'
  7062. },
  7063. relativeTime: {
  7064. future: 'në %s',
  7065. past: '%s më parë',
  7066. s: 'disa sekonda',
  7067. ss: '%d sekonda',
  7068. m: 'një minutë',
  7069. mm: '%d minuta',
  7070. h: 'një orë',
  7071. hh: '%d orë',
  7072. d: 'një ditë',
  7073. dd: '%d ditë',
  7074. M: 'një muaj',
  7075. MM: '%d muaj',
  7076. y: 'një vit',
  7077. yy: '%d vite'
  7078. },
  7079. dayOfMonthOrdinalParse: /\d{1,2}\./,
  7080. ordinal: '%d.',
  7081. week: {
  7082. dow: 1,
  7083. // Monday is the first day of the week.
  7084. doy: 4 // The week that contains Jan 4th is the first week of the year.
  7085. }
  7086. });
  7087. return sq;
  7088. });
  7089. /***/ }),
  7090. /***/ 16:
  7091. /*!***************************************************************!*\
  7092. !*** ./node_modules/@babel/runtime/helpers/setPrototypeOf.js ***!
  7093. \***************************************************************/
  7094. /*! no static exports found */
  7095. /***/ (function(module, exports) {
  7096. function _setPrototypeOf(o, p) {
  7097. module.exports = _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
  7098. o.__proto__ = p;
  7099. return o;
  7100. }, module.exports.__esModule = true, module.exports["default"] = module.exports;
  7101. return _setPrototypeOf(o, p);
  7102. }
  7103. module.exports = _setPrototypeOf, module.exports.__esModule = true, module.exports["default"] = module.exports;
  7104. /***/ }),
  7105. /***/ 160:
  7106. /*!*****************************************************************************!*\
  7107. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/sr.js ***!
  7108. \*****************************************************************************/
  7109. /*! no static exports found */
  7110. /***/ (function(module, exports, __webpack_require__) {
  7111. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  7112. //! moment.js locale configuration
  7113. //! locale : Serbian [sr]
  7114. //! author : Milan Janačković<milanjanackovic@gmail.com> : https://github.com/milan-j
  7115. //! author : Stefan Crnjaković <stefan@hotmail.rs> : https://github.com/crnjakovic
  7116. ;
  7117. (function (global, factory) {
  7118. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  7119. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  7120. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  7121. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  7122. })(this, function (moment) {
  7123. 'use strict';
  7124. //! moment.js locale configuration
  7125. var translator = {
  7126. words: {
  7127. //Different grammatical cases
  7128. ss: ['sekunda', 'sekunde', 'sekundi'],
  7129. m: ['jedan minut', 'jedne minute'],
  7130. mm: ['minut', 'minute', 'minuta'],
  7131. h: ['jedan sat', 'jednog sata'],
  7132. hh: ['sat', 'sata', 'sati'],
  7133. dd: ['dan', 'dana', 'dana'],
  7134. MM: ['mesec', 'meseca', 'meseci'],
  7135. yy: ['godina', 'godine', 'godina']
  7136. },
  7137. correctGrammaticalCase: function correctGrammaticalCase(number, wordKey) {
  7138. return number === 1 ? wordKey[0] : number >= 2 && number <= 4 ? wordKey[1] : wordKey[2];
  7139. },
  7140. translate: function translate(number, withoutSuffix, key) {
  7141. var wordKey = translator.words[key];
  7142. if (key.length === 1) {
  7143. return withoutSuffix ? wordKey[0] : wordKey[1];
  7144. } else {
  7145. return number + ' ' + translator.correctGrammaticalCase(number, wordKey);
  7146. }
  7147. }
  7148. };
  7149. var sr = moment.defineLocale('sr', {
  7150. months: 'januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar'.split('_'),
  7151. monthsShort: 'jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.'.split('_'),
  7152. monthsParseExact: true,
  7153. weekdays: 'nedelja_ponedeljak_utorak_sreda_četvrtak_petak_subota'.split('_'),
  7154. weekdaysShort: 'ned._pon._uto._sre._čet._pet._sub.'.split('_'),
  7155. weekdaysMin: 'ne_po_ut_sr_če_pe_su'.split('_'),
  7156. weekdaysParseExact: true,
  7157. longDateFormat: {
  7158. LT: 'H:mm',
  7159. LTS: 'H:mm:ss',
  7160. L: 'D. M. YYYY.',
  7161. LL: 'D. MMMM YYYY.',
  7162. LLL: 'D. MMMM YYYY. H:mm',
  7163. LLLL: 'dddd, D. MMMM YYYY. H:mm'
  7164. },
  7165. calendar: {
  7166. sameDay: '[danas u] LT',
  7167. nextDay: '[sutra u] LT',
  7168. nextWeek: function nextWeek() {
  7169. switch (this.day()) {
  7170. case 0:
  7171. return '[u] [nedelju] [u] LT';
  7172. case 3:
  7173. return '[u] [sredu] [u] LT';
  7174. case 6:
  7175. return '[u] [subotu] [u] LT';
  7176. case 1:
  7177. case 2:
  7178. case 4:
  7179. case 5:
  7180. return '[u] dddd [u] LT';
  7181. }
  7182. },
  7183. lastDay: '[juče u] LT',
  7184. lastWeek: function lastWeek() {
  7185. var lastWeekDays = ['[prošle] [nedelje] [u] LT', '[prošlog] [ponedeljka] [u] LT', '[prošlog] [utorka] [u] LT', '[prošle] [srede] [u] LT', '[prošlog] [četvrtka] [u] LT', '[prošlog] [petka] [u] LT', '[prošle] [subote] [u] LT'];
  7186. return lastWeekDays[this.day()];
  7187. },
  7188. sameElse: 'L'
  7189. },
  7190. relativeTime: {
  7191. future: 'za %s',
  7192. past: 'pre %s',
  7193. s: 'nekoliko sekundi',
  7194. ss: translator.translate,
  7195. m: translator.translate,
  7196. mm: translator.translate,
  7197. h: translator.translate,
  7198. hh: translator.translate,
  7199. d: 'dan',
  7200. dd: translator.translate,
  7201. M: 'mesec',
  7202. MM: translator.translate,
  7203. y: 'godinu',
  7204. yy: translator.translate
  7205. },
  7206. dayOfMonthOrdinalParse: /\d{1,2}\./,
  7207. ordinal: '%d.',
  7208. week: {
  7209. dow: 1,
  7210. // Monday is the first day of the week.
  7211. doy: 7 // The week that contains Jan 7th is the first week of the year.
  7212. }
  7213. });
  7214. return sr;
  7215. });
  7216. /***/ }),
  7217. /***/ 161:
  7218. /*!**********************************************************************************!*\
  7219. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/sr-cyrl.js ***!
  7220. \**********************************************************************************/
  7221. /*! no static exports found */
  7222. /***/ (function(module, exports, __webpack_require__) {
  7223. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  7224. //! moment.js locale configuration
  7225. //! locale : Serbian Cyrillic [sr-cyrl]
  7226. //! author : Milan Janačković<milanjanackovic@gmail.com> : https://github.com/milan-j
  7227. //! author : Stefan Crnjaković <stefan@hotmail.rs> : https://github.com/crnjakovic
  7228. ;
  7229. (function (global, factory) {
  7230. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  7231. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  7232. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  7233. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  7234. })(this, function (moment) {
  7235. 'use strict';
  7236. //! moment.js locale configuration
  7237. var translator = {
  7238. words: {
  7239. //Different grammatical cases
  7240. ss: ['секунда', 'секунде', 'секунди'],
  7241. m: ['један минут', 'једне минуте'],
  7242. mm: ['минут', 'минуте', 'минута'],
  7243. h: ['један сат', 'једног сата'],
  7244. hh: ['сат', 'сата', 'сати'],
  7245. dd: ['дан', 'дана', 'дана'],
  7246. MM: ['месец', 'месеца', 'месеци'],
  7247. yy: ['година', 'године', 'година']
  7248. },
  7249. correctGrammaticalCase: function correctGrammaticalCase(number, wordKey) {
  7250. return number === 1 ? wordKey[0] : number >= 2 && number <= 4 ? wordKey[1] : wordKey[2];
  7251. },
  7252. translate: function translate(number, withoutSuffix, key) {
  7253. var wordKey = translator.words[key];
  7254. if (key.length === 1) {
  7255. return withoutSuffix ? wordKey[0] : wordKey[1];
  7256. } else {
  7257. return number + ' ' + translator.correctGrammaticalCase(number, wordKey);
  7258. }
  7259. }
  7260. };
  7261. var srCyrl = moment.defineLocale('sr-cyrl', {
  7262. months: 'јануар_фебруар_март_април_мај_јун_јул_август_септембар_октобар_новембар_децембар'.split('_'),
  7263. monthsShort: 'јан._феб._мар._апр._мај_јун_јул_авг._сеп._окт._нов._дец.'.split('_'),
  7264. monthsParseExact: true,
  7265. weekdays: 'недеља_понедељак_уторак_среда_четвртак_петак_субота'.split('_'),
  7266. weekdaysShort: 'нед._пон._уто._сре._чет._пет._суб.'.split('_'),
  7267. weekdaysMin: 'не_по_ут_ср_че_пе_су'.split('_'),
  7268. weekdaysParseExact: true,
  7269. longDateFormat: {
  7270. LT: 'H:mm',
  7271. LTS: 'H:mm:ss',
  7272. L: 'D. M. YYYY.',
  7273. LL: 'D. MMMM YYYY.',
  7274. LLL: 'D. MMMM YYYY. H:mm',
  7275. LLLL: 'dddd, D. MMMM YYYY. H:mm'
  7276. },
  7277. calendar: {
  7278. sameDay: '[данас у] LT',
  7279. nextDay: '[сутра у] LT',
  7280. nextWeek: function nextWeek() {
  7281. switch (this.day()) {
  7282. case 0:
  7283. return '[у] [недељу] [у] LT';
  7284. case 3:
  7285. return '[у] [среду] [у] LT';
  7286. case 6:
  7287. return '[у] [суботу] [у] LT';
  7288. case 1:
  7289. case 2:
  7290. case 4:
  7291. case 5:
  7292. return '[у] dddd [у] LT';
  7293. }
  7294. },
  7295. lastDay: '[јуче у] LT',
  7296. lastWeek: function lastWeek() {
  7297. var lastWeekDays = ['[прошле] [недеље] [у] LT', '[прошлог] [понедељка] [у] LT', '[прошлог] [уторка] [у] LT', '[прошле] [среде] [у] LT', '[прошлог] [четвртка] [у] LT', '[прошлог] [петка] [у] LT', '[прошле] [суботе] [у] LT'];
  7298. return lastWeekDays[this.day()];
  7299. },
  7300. sameElse: 'L'
  7301. },
  7302. relativeTime: {
  7303. future: 'за %s',
  7304. past: 'пре %s',
  7305. s: 'неколико секунди',
  7306. ss: translator.translate,
  7307. m: translator.translate,
  7308. mm: translator.translate,
  7309. h: translator.translate,
  7310. hh: translator.translate,
  7311. d: 'дан',
  7312. dd: translator.translate,
  7313. M: 'месец',
  7314. MM: translator.translate,
  7315. y: 'годину',
  7316. yy: translator.translate
  7317. },
  7318. dayOfMonthOrdinalParse: /\d{1,2}\./,
  7319. ordinal: '%d.',
  7320. week: {
  7321. dow: 1,
  7322. // Monday is the first day of the week.
  7323. doy: 7 // The week that contains Jan 1st is the first week of the year.
  7324. }
  7325. });
  7326. return srCyrl;
  7327. });
  7328. /***/ }),
  7329. /***/ 1615:
  7330. /*!*****************************************************************************!*\
  7331. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/pages/home/pointsgoods/static.js ***!
  7332. \*****************************************************************************/
  7333. /*! no static exports found */
  7334. /***/ (function(module, exports, __webpack_require__) {
  7335. "use strict";
  7336. Object.defineProperty(exports, "__esModule", {
  7337. value: true
  7338. });
  7339. exports.header = void 0;
  7340. var header = [{
  7341. 'name': "商品",
  7342. 'id': 0,
  7343. 'isActive': false
  7344. }, {
  7345. 'name': "详情",
  7346. 'id': 1,
  7347. 'isActive': false
  7348. }, {
  7349. 'name': "记录",
  7350. 'id': 2,
  7351. 'isActive': false
  7352. }];
  7353. exports.header = header;
  7354. /***/ }),
  7355. /***/ 162:
  7356. /*!*****************************************************************************!*\
  7357. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/ss.js ***!
  7358. \*****************************************************************************/
  7359. /*! no static exports found */
  7360. /***/ (function(module, exports, __webpack_require__) {
  7361. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  7362. //! moment.js locale configuration
  7363. //! locale : siSwati [ss]
  7364. //! author : Nicolai Davies<mail@nicolai.io> : https://github.com/nicolaidavies
  7365. ;
  7366. (function (global, factory) {
  7367. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  7368. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  7369. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  7370. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  7371. })(this, function (moment) {
  7372. 'use strict';
  7373. //! moment.js locale configuration
  7374. var ss = moment.defineLocale('ss', {
  7375. months: "Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split('_'),
  7376. monthsShort: 'Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo'.split('_'),
  7377. weekdays: 'Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo'.split('_'),
  7378. weekdaysShort: 'Lis_Umb_Lsb_Les_Lsi_Lsh_Umg'.split('_'),
  7379. weekdaysMin: 'Li_Us_Lb_Lt_Ls_Lh_Ug'.split('_'),
  7380. weekdaysParseExact: true,
  7381. longDateFormat: {
  7382. LT: 'h:mm A',
  7383. LTS: 'h:mm:ss A',
  7384. L: 'DD/MM/YYYY',
  7385. LL: 'D MMMM YYYY',
  7386. LLL: 'D MMMM YYYY h:mm A',
  7387. LLLL: 'dddd, D MMMM YYYY h:mm A'
  7388. },
  7389. calendar: {
  7390. sameDay: '[Namuhla nga] LT',
  7391. nextDay: '[Kusasa nga] LT',
  7392. nextWeek: 'dddd [nga] LT',
  7393. lastDay: '[Itolo nga] LT',
  7394. lastWeek: 'dddd [leliphelile] [nga] LT',
  7395. sameElse: 'L'
  7396. },
  7397. relativeTime: {
  7398. future: 'nga %s',
  7399. past: 'wenteka nga %s',
  7400. s: 'emizuzwana lomcane',
  7401. ss: '%d mzuzwana',
  7402. m: 'umzuzu',
  7403. mm: '%d emizuzu',
  7404. h: 'lihora',
  7405. hh: '%d emahora',
  7406. d: 'lilanga',
  7407. dd: '%d emalanga',
  7408. M: 'inyanga',
  7409. MM: '%d tinyanga',
  7410. y: 'umnyaka',
  7411. yy: '%d iminyaka'
  7412. },
  7413. meridiemParse: /ekuseni|emini|entsambama|ebusuku/,
  7414. meridiem: function meridiem(hours, minutes, isLower) {
  7415. if (hours < 11) {
  7416. return 'ekuseni';
  7417. } else if (hours < 15) {
  7418. return 'emini';
  7419. } else if (hours < 19) {
  7420. return 'entsambama';
  7421. } else {
  7422. return 'ebusuku';
  7423. }
  7424. },
  7425. meridiemHour: function meridiemHour(hour, meridiem) {
  7426. if (hour === 12) {
  7427. hour = 0;
  7428. }
  7429. if (meridiem === 'ekuseni') {
  7430. return hour;
  7431. } else if (meridiem === 'emini') {
  7432. return hour >= 11 ? hour : hour + 12;
  7433. } else if (meridiem === 'entsambama' || meridiem === 'ebusuku') {
  7434. if (hour === 0) {
  7435. return 0;
  7436. }
  7437. return hour + 12;
  7438. }
  7439. },
  7440. dayOfMonthOrdinalParse: /\d{1,2}/,
  7441. ordinal: '%d',
  7442. week: {
  7443. dow: 1,
  7444. // Monday is the first day of the week.
  7445. doy: 4 // The week that contains Jan 4th is the first week of the year.
  7446. }
  7447. });
  7448. return ss;
  7449. });
  7450. /***/ }),
  7451. /***/ 163:
  7452. /*!*****************************************************************************!*\
  7453. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/sv.js ***!
  7454. \*****************************************************************************/
  7455. /*! no static exports found */
  7456. /***/ (function(module, exports, __webpack_require__) {
  7457. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  7458. //! moment.js locale configuration
  7459. //! locale : Swedish [sv]
  7460. //! author : Jens Alm : https://github.com/ulmus
  7461. ;
  7462. (function (global, factory) {
  7463. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  7464. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  7465. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  7466. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  7467. })(this, function (moment) {
  7468. 'use strict';
  7469. //! moment.js locale configuration
  7470. var sv = moment.defineLocale('sv', {
  7471. months: 'januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december'.split('_'),
  7472. monthsShort: 'jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec'.split('_'),
  7473. weekdays: 'söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag'.split('_'),
  7474. weekdaysShort: 'sön_mån_tis_ons_tor_fre_lör'.split('_'),
  7475. weekdaysMin: 'sö_må_ti_on_to_fr_lö'.split('_'),
  7476. longDateFormat: {
  7477. LT: 'HH:mm',
  7478. LTS: 'HH:mm:ss',
  7479. L: 'YYYY-MM-DD',
  7480. LL: 'D MMMM YYYY',
  7481. LLL: 'D MMMM YYYY [kl.] HH:mm',
  7482. LLLL: 'dddd D MMMM YYYY [kl.] HH:mm',
  7483. lll: 'D MMM YYYY HH:mm',
  7484. llll: 'ddd D MMM YYYY HH:mm'
  7485. },
  7486. calendar: {
  7487. sameDay: '[Idag] LT',
  7488. nextDay: '[Imorgon] LT',
  7489. lastDay: '[Igår] LT',
  7490. nextWeek: '[På] dddd LT',
  7491. lastWeek: '[I] dddd[s] LT',
  7492. sameElse: 'L'
  7493. },
  7494. relativeTime: {
  7495. future: 'om %s',
  7496. past: 'för %s sedan',
  7497. s: 'några sekunder',
  7498. ss: '%d sekunder',
  7499. m: 'en minut',
  7500. mm: '%d minuter',
  7501. h: 'en timme',
  7502. hh: '%d timmar',
  7503. d: 'en dag',
  7504. dd: '%d dagar',
  7505. M: 'en månad',
  7506. MM: '%d månader',
  7507. y: 'ett år',
  7508. yy: '%d år'
  7509. },
  7510. dayOfMonthOrdinalParse: /\d{1,2}(\:e|\:a)/,
  7511. ordinal: function ordinal(number) {
  7512. var b = number % 10,
  7513. output = ~~(number % 100 / 10) === 1 ? ':e' : b === 1 ? ':a' : b === 2 ? ':a' : b === 3 ? ':e' : ':e';
  7514. return number + output;
  7515. },
  7516. week: {
  7517. dow: 1,
  7518. // Monday is the first day of the week.
  7519. doy: 4 // The week that contains Jan 4th is the first week of the year.
  7520. }
  7521. });
  7522. return sv;
  7523. });
  7524. /***/ }),
  7525. /***/ 164:
  7526. /*!*****************************************************************************!*\
  7527. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/sw.js ***!
  7528. \*****************************************************************************/
  7529. /*! no static exports found */
  7530. /***/ (function(module, exports, __webpack_require__) {
  7531. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  7532. //! moment.js locale configuration
  7533. //! locale : Swahili [sw]
  7534. //! author : Fahad Kassim : https://github.com/fadsel
  7535. ;
  7536. (function (global, factory) {
  7537. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  7538. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  7539. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  7540. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  7541. })(this, function (moment) {
  7542. 'use strict';
  7543. //! moment.js locale configuration
  7544. var sw = moment.defineLocale('sw', {
  7545. months: 'Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba'.split('_'),
  7546. monthsShort: 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des'.split('_'),
  7547. weekdays: 'Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi'.split('_'),
  7548. weekdaysShort: 'Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos'.split('_'),
  7549. weekdaysMin: 'J2_J3_J4_J5_Al_Ij_J1'.split('_'),
  7550. weekdaysParseExact: true,
  7551. longDateFormat: {
  7552. LT: 'hh:mm A',
  7553. LTS: 'HH:mm:ss',
  7554. L: 'DD.MM.YYYY',
  7555. LL: 'D MMMM YYYY',
  7556. LLL: 'D MMMM YYYY HH:mm',
  7557. LLLL: 'dddd, D MMMM YYYY HH:mm'
  7558. },
  7559. calendar: {
  7560. sameDay: '[leo saa] LT',
  7561. nextDay: '[kesho saa] LT',
  7562. nextWeek: '[wiki ijayo] dddd [saat] LT',
  7563. lastDay: '[jana] LT',
  7564. lastWeek: '[wiki iliyopita] dddd [saat] LT',
  7565. sameElse: 'L'
  7566. },
  7567. relativeTime: {
  7568. future: '%s baadaye',
  7569. past: 'tokea %s',
  7570. s: 'hivi punde',
  7571. ss: 'sekunde %d',
  7572. m: 'dakika moja',
  7573. mm: 'dakika %d',
  7574. h: 'saa limoja',
  7575. hh: 'masaa %d',
  7576. d: 'siku moja',
  7577. dd: 'siku %d',
  7578. M: 'mwezi mmoja',
  7579. MM: 'miezi %d',
  7580. y: 'mwaka mmoja',
  7581. yy: 'miaka %d'
  7582. },
  7583. week: {
  7584. dow: 1,
  7585. // Monday is the first day of the week.
  7586. doy: 7 // The week that contains Jan 7th is the first week of the year.
  7587. }
  7588. });
  7589. return sw;
  7590. });
  7591. /***/ }),
  7592. /***/ 165:
  7593. /*!*****************************************************************************!*\
  7594. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/ta.js ***!
  7595. \*****************************************************************************/
  7596. /*! no static exports found */
  7597. /***/ (function(module, exports, __webpack_require__) {
  7598. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  7599. //! moment.js locale configuration
  7600. //! locale : Tamil [ta]
  7601. //! author : Arjunkumar Krishnamoorthy : https://github.com/tk120404
  7602. ;
  7603. (function (global, factory) {
  7604. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  7605. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  7606. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  7607. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  7608. })(this, function (moment) {
  7609. 'use strict';
  7610. //! moment.js locale configuration
  7611. var symbolMap = {
  7612. 1: '௧',
  7613. 2: '௨',
  7614. 3: '௩',
  7615. 4: '௪',
  7616. 5: '௫',
  7617. 6: '௬',
  7618. 7: '௭',
  7619. 8: '௮',
  7620. 9: '௯',
  7621. 0: '௦'
  7622. },
  7623. numberMap = {
  7624. '௧': '1',
  7625. '௨': '2',
  7626. '௩': '3',
  7627. '௪': '4',
  7628. '௫': '5',
  7629. '௬': '6',
  7630. '௭': '7',
  7631. '௮': '8',
  7632. '௯': '9',
  7633. '௦': '0'
  7634. };
  7635. var ta = moment.defineLocale('ta', {
  7636. months: 'ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்'.split('_'),
  7637. monthsShort: 'ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்'.split('_'),
  7638. weekdays: 'ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை'.split('_'),
  7639. weekdaysShort: 'ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி'.split('_'),
  7640. weekdaysMin: 'ஞா_தி_செ_பு_வி_வெ_ச'.split('_'),
  7641. longDateFormat: {
  7642. LT: 'HH:mm',
  7643. LTS: 'HH:mm:ss',
  7644. L: 'DD/MM/YYYY',
  7645. LL: 'D MMMM YYYY',
  7646. LLL: 'D MMMM YYYY, HH:mm',
  7647. LLLL: 'dddd, D MMMM YYYY, HH:mm'
  7648. },
  7649. calendar: {
  7650. sameDay: '[இன்று] LT',
  7651. nextDay: '[நாளை] LT',
  7652. nextWeek: 'dddd, LT',
  7653. lastDay: '[நேற்று] LT',
  7654. lastWeek: '[கடந்த வாரம்] dddd, LT',
  7655. sameElse: 'L'
  7656. },
  7657. relativeTime: {
  7658. future: '%s இல்',
  7659. past: '%s முன்',
  7660. s: 'ஒரு சில விநாடிகள்',
  7661. ss: '%d விநாடிகள்',
  7662. m: 'ஒரு நிமிடம்',
  7663. mm: '%d நிமிடங்கள்',
  7664. h: 'ஒரு மணி நேரம்',
  7665. hh: '%d மணி நேரம்',
  7666. d: 'ஒரு நாள்',
  7667. dd: '%d நாட்கள்',
  7668. M: 'ஒரு மாதம்',
  7669. MM: '%d மாதங்கள்',
  7670. y: 'ஒரு வருடம்',
  7671. yy: '%d ஆண்டுகள்'
  7672. },
  7673. dayOfMonthOrdinalParse: /\d{1,2}வது/,
  7674. ordinal: function ordinal(number) {
  7675. return number + 'வது';
  7676. },
  7677. preparse: function preparse(string) {
  7678. return string.replace(/[௧௨௩௪௫௬௭௮௯௦]/g, function (match) {
  7679. return numberMap[match];
  7680. });
  7681. },
  7682. postformat: function postformat(string) {
  7683. return string.replace(/\d/g, function (match) {
  7684. return symbolMap[match];
  7685. });
  7686. },
  7687. // refer http://ta.wikipedia.org/s/1er1
  7688. meridiemParse: /யாமம்|வைகறை|காலை|நண்பகல்|எற்பாடு|மாலை/,
  7689. meridiem: function meridiem(hour, minute, isLower) {
  7690. if (hour < 2) {
  7691. return ' யாமம்';
  7692. } else if (hour < 6) {
  7693. return ' வைகறை'; // வைகறை
  7694. } else if (hour < 10) {
  7695. return ' காலை'; // காலை
  7696. } else if (hour < 14) {
  7697. return ' நண்பகல்'; // நண்பகல்
  7698. } else if (hour < 18) {
  7699. return ' எற்பாடு'; // எற்பாடு
  7700. } else if (hour < 22) {
  7701. return ' மாலை'; // மாலை
  7702. } else {
  7703. return ' யாமம்';
  7704. }
  7705. },
  7706. meridiemHour: function meridiemHour(hour, meridiem) {
  7707. if (hour === 12) {
  7708. hour = 0;
  7709. }
  7710. if (meridiem === 'யாமம்') {
  7711. return hour < 2 ? hour : hour + 12;
  7712. } else if (meridiem === 'வைகறை' || meridiem === 'காலை') {
  7713. return hour;
  7714. } else if (meridiem === 'நண்பகல்') {
  7715. return hour >= 10 ? hour : hour + 12;
  7716. } else {
  7717. return hour + 12;
  7718. }
  7719. },
  7720. week: {
  7721. dow: 0,
  7722. // Sunday is the first day of the week.
  7723. doy: 6 // The week that contains Jan 6th is the first week of the year.
  7724. }
  7725. });
  7726. return ta;
  7727. });
  7728. /***/ }),
  7729. /***/ 166:
  7730. /*!*****************************************************************************!*\
  7731. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/te.js ***!
  7732. \*****************************************************************************/
  7733. /*! no static exports found */
  7734. /***/ (function(module, exports, __webpack_require__) {
  7735. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  7736. //! moment.js locale configuration
  7737. //! locale : Telugu [te]
  7738. //! author : Krishna Chaitanya Thota : https://github.com/kcthota
  7739. ;
  7740. (function (global, factory) {
  7741. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  7742. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  7743. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  7744. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  7745. })(this, function (moment) {
  7746. 'use strict';
  7747. //! moment.js locale configuration
  7748. var te = moment.defineLocale('te', {
  7749. months: 'జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జులై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్_డిసెంబర్'.split('_'),
  7750. monthsShort: 'జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జులై_ఆగ._సెప్._అక్టో._నవ._డిసె.'.split('_'),
  7751. monthsParseExact: true,
  7752. weekdays: 'ఆదివారం_సోమవారం_మంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం'.split('_'),
  7753. weekdaysShort: 'ఆది_సోమ_మంగళ_బుధ_గురు_శుక్ర_శని'.split('_'),
  7754. weekdaysMin: 'ఆ_సో_మం_బు_గు_శు_శ'.split('_'),
  7755. longDateFormat: {
  7756. LT: 'A h:mm',
  7757. LTS: 'A h:mm:ss',
  7758. L: 'DD/MM/YYYY',
  7759. LL: 'D MMMM YYYY',
  7760. LLL: 'D MMMM YYYY, A h:mm',
  7761. LLLL: 'dddd, D MMMM YYYY, A h:mm'
  7762. },
  7763. calendar: {
  7764. sameDay: '[నేడు] LT',
  7765. nextDay: '[రేపు] LT',
  7766. nextWeek: 'dddd, LT',
  7767. lastDay: '[నిన్న] LT',
  7768. lastWeek: '[గత] dddd, LT',
  7769. sameElse: 'L'
  7770. },
  7771. relativeTime: {
  7772. future: '%s లో',
  7773. past: '%s క్రితం',
  7774. s: 'కొన్ని క్షణాలు',
  7775. ss: '%d సెకన్లు',
  7776. m: 'ఒక నిమిషం',
  7777. mm: '%d నిమిషాలు',
  7778. h: 'ఒక గంట',
  7779. hh: '%d గంటలు',
  7780. d: 'ఒక రోజు',
  7781. dd: '%d రోజులు',
  7782. M: 'ఒక నెల',
  7783. MM: '%d నెలలు',
  7784. y: 'ఒక సంవత్సరం',
  7785. yy: '%d సంవత్సరాలు'
  7786. },
  7787. dayOfMonthOrdinalParse: /\d{1,2}వ/,
  7788. ordinal: '%dవ',
  7789. meridiemParse: /రాత్రి|ఉదయం|మధ్యాహ్నం|సాయంత్రం/,
  7790. meridiemHour: function meridiemHour(hour, meridiem) {
  7791. if (hour === 12) {
  7792. hour = 0;
  7793. }
  7794. if (meridiem === 'రాత్రి') {
  7795. return hour < 4 ? hour : hour + 12;
  7796. } else if (meridiem === 'ఉదయం') {
  7797. return hour;
  7798. } else if (meridiem === 'మధ్యాహ్నం') {
  7799. return hour >= 10 ? hour : hour + 12;
  7800. } else if (meridiem === 'సాయంత్రం') {
  7801. return hour + 12;
  7802. }
  7803. },
  7804. meridiem: function meridiem(hour, minute, isLower) {
  7805. if (hour < 4) {
  7806. return 'రాత్రి';
  7807. } else if (hour < 10) {
  7808. return 'ఉదయం';
  7809. } else if (hour < 17) {
  7810. return 'మధ్యాహ్నం';
  7811. } else if (hour < 20) {
  7812. return 'సాయంత్రం';
  7813. } else {
  7814. return 'రాత్రి';
  7815. }
  7816. },
  7817. week: {
  7818. dow: 0,
  7819. // Sunday is the first day of the week.
  7820. doy: 6 // The week that contains Jan 6th is the first week of the year.
  7821. }
  7822. });
  7823. return te;
  7824. });
  7825. /***/ }),
  7826. /***/ 167:
  7827. /*!******************************************************************************!*\
  7828. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/tet.js ***!
  7829. \******************************************************************************/
  7830. /*! no static exports found */
  7831. /***/ (function(module, exports, __webpack_require__) {
  7832. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  7833. //! moment.js locale configuration
  7834. //! locale : Tetun Dili (East Timor) [tet]
  7835. //! author : Joshua Brooks : https://github.com/joshbrooks
  7836. //! author : Onorio De J. Afonso : https://github.com/marobo
  7837. //! author : Sonia Simoes : https://github.com/soniasimoes
  7838. ;
  7839. (function (global, factory) {
  7840. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  7841. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  7842. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  7843. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  7844. })(this, function (moment) {
  7845. 'use strict';
  7846. //! moment.js locale configuration
  7847. var tet = moment.defineLocale('tet', {
  7848. months: 'Janeiru_Fevereiru_Marsu_Abril_Maiu_Juñu_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru'.split('_'),
  7849. monthsShort: 'Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez'.split('_'),
  7850. weekdays: 'Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu'.split('_'),
  7851. weekdaysShort: 'Dom_Seg_Ters_Kua_Kint_Sest_Sab'.split('_'),
  7852. weekdaysMin: 'Do_Seg_Te_Ku_Ki_Ses_Sa'.split('_'),
  7853. longDateFormat: {
  7854. LT: 'HH:mm',
  7855. LTS: 'HH:mm:ss',
  7856. L: 'DD/MM/YYYY',
  7857. LL: 'D MMMM YYYY',
  7858. LLL: 'D MMMM YYYY HH:mm',
  7859. LLLL: 'dddd, D MMMM YYYY HH:mm'
  7860. },
  7861. calendar: {
  7862. sameDay: '[Ohin iha] LT',
  7863. nextDay: '[Aban iha] LT',
  7864. nextWeek: 'dddd [iha] LT',
  7865. lastDay: '[Horiseik iha] LT',
  7866. lastWeek: 'dddd [semana kotuk] [iha] LT',
  7867. sameElse: 'L'
  7868. },
  7869. relativeTime: {
  7870. future: 'iha %s',
  7871. past: '%s liuba',
  7872. s: 'segundu balun',
  7873. ss: 'segundu %d',
  7874. m: 'minutu ida',
  7875. mm: 'minutu %d',
  7876. h: 'oras ida',
  7877. hh: 'oras %d',
  7878. d: 'loron ida',
  7879. dd: 'loron %d',
  7880. M: 'fulan ida',
  7881. MM: 'fulan %d',
  7882. y: 'tinan ida',
  7883. yy: 'tinan %d'
  7884. },
  7885. dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
  7886. ordinal: function ordinal(number) {
  7887. var b = number % 10,
  7888. output = ~~(number % 100 / 10) === 1 ? 'th' : b === 1 ? 'st' : b === 2 ? 'nd' : b === 3 ? 'rd' : 'th';
  7889. return number + output;
  7890. },
  7891. week: {
  7892. dow: 1,
  7893. // Monday is the first day of the week.
  7894. doy: 4 // The week that contains Jan 4th is the first week of the year.
  7895. }
  7896. });
  7897. return tet;
  7898. });
  7899. /***/ }),
  7900. /***/ 168:
  7901. /*!*****************************************************************************!*\
  7902. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/tg.js ***!
  7903. \*****************************************************************************/
  7904. /*! no static exports found */
  7905. /***/ (function(module, exports, __webpack_require__) {
  7906. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  7907. //! moment.js locale configuration
  7908. //! locale : Tajik [tg]
  7909. //! author : Orif N. Jr. : https://github.com/orif-jr
  7910. ;
  7911. (function (global, factory) {
  7912. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  7913. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  7914. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  7915. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  7916. })(this, function (moment) {
  7917. 'use strict';
  7918. //! moment.js locale configuration
  7919. var suffixes = {
  7920. 0: '-ум',
  7921. 1: '-ум',
  7922. 2: '-юм',
  7923. 3: '-юм',
  7924. 4: '-ум',
  7925. 5: '-ум',
  7926. 6: '-ум',
  7927. 7: '-ум',
  7928. 8: '-ум',
  7929. 9: '-ум',
  7930. 10: '-ум',
  7931. 12: '-ум',
  7932. 13: '-ум',
  7933. 20: '-ум',
  7934. 30: '-юм',
  7935. 40: '-ум',
  7936. 50: '-ум',
  7937. 60: '-ум',
  7938. 70: '-ум',
  7939. 80: '-ум',
  7940. 90: '-ум',
  7941. 100: '-ум'
  7942. };
  7943. var tg = moment.defineLocale('tg', {
  7944. months: {
  7945. format: 'январи_феврали_марти_апрели_майи_июни_июли_августи_сентябри_октябри_ноябри_декабри'.split('_'),
  7946. standalone: 'январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр'.split('_')
  7947. },
  7948. monthsShort: 'янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек'.split('_'),
  7949. weekdays: 'якшанбе_душанбе_сешанбе_чоршанбе_панҷшанбе_ҷумъа_шанбе'.split('_'),
  7950. weekdaysShort: 'яшб_дшб_сшб_чшб_пшб_ҷум_шнб'.split('_'),
  7951. weekdaysMin: 'яш_дш_сш_чш_пш_ҷм_шб'.split('_'),
  7952. longDateFormat: {
  7953. LT: 'HH:mm',
  7954. LTS: 'HH:mm:ss',
  7955. L: 'DD.MM.YYYY',
  7956. LL: 'D MMMM YYYY',
  7957. LLL: 'D MMMM YYYY HH:mm',
  7958. LLLL: 'dddd, D MMMM YYYY HH:mm'
  7959. },
  7960. calendar: {
  7961. sameDay: '[Имрӯз соати] LT',
  7962. nextDay: '[Фардо соати] LT',
  7963. lastDay: '[Дирӯз соати] LT',
  7964. nextWeek: 'dddd[и] [ҳафтаи оянда соати] LT',
  7965. lastWeek: 'dddd[и] [ҳафтаи гузашта соати] LT',
  7966. sameElse: 'L'
  7967. },
  7968. relativeTime: {
  7969. future: 'баъди %s',
  7970. past: '%s пеш',
  7971. s: 'якчанд сония',
  7972. m: 'як дақиқа',
  7973. mm: '%d дақиқа',
  7974. h: 'як соат',
  7975. hh: '%d соат',
  7976. d: 'як рӯз',
  7977. dd: '%d рӯз',
  7978. M: 'як моҳ',
  7979. MM: '%d моҳ',
  7980. y: 'як сол',
  7981. yy: '%d сол'
  7982. },
  7983. meridiemParse: /шаб|субҳ|рӯз|бегоҳ/,
  7984. meridiemHour: function meridiemHour(hour, meridiem) {
  7985. if (hour === 12) {
  7986. hour = 0;
  7987. }
  7988. if (meridiem === 'шаб') {
  7989. return hour < 4 ? hour : hour + 12;
  7990. } else if (meridiem === 'субҳ') {
  7991. return hour;
  7992. } else if (meridiem === 'рӯз') {
  7993. return hour >= 11 ? hour : hour + 12;
  7994. } else if (meridiem === 'бегоҳ') {
  7995. return hour + 12;
  7996. }
  7997. },
  7998. meridiem: function meridiem(hour, minute, isLower) {
  7999. if (hour < 4) {
  8000. return 'шаб';
  8001. } else if (hour < 11) {
  8002. return 'субҳ';
  8003. } else if (hour < 16) {
  8004. return 'рӯз';
  8005. } else if (hour < 19) {
  8006. return 'бегоҳ';
  8007. } else {
  8008. return 'шаб';
  8009. }
  8010. },
  8011. dayOfMonthOrdinalParse: /\d{1,2}-(ум|юм)/,
  8012. ordinal: function ordinal(number) {
  8013. var a = number % 10,
  8014. b = number >= 100 ? 100 : null;
  8015. return number + (suffixes[number] || suffixes[a] || suffixes[b]);
  8016. },
  8017. week: {
  8018. dow: 1,
  8019. // Monday is the first day of the week.
  8020. doy: 7 // The week that contains Jan 1th is the first week of the year.
  8021. }
  8022. });
  8023. return tg;
  8024. });
  8025. /***/ }),
  8026. /***/ 169:
  8027. /*!*****************************************************************************!*\
  8028. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/th.js ***!
  8029. \*****************************************************************************/
  8030. /*! no static exports found */
  8031. /***/ (function(module, exports, __webpack_require__) {
  8032. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  8033. //! moment.js locale configuration
  8034. //! locale : Thai [th]
  8035. //! author : Kridsada Thanabulpong : https://github.com/sirn
  8036. ;
  8037. (function (global, factory) {
  8038. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  8039. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  8040. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  8041. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  8042. })(this, function (moment) {
  8043. 'use strict';
  8044. //! moment.js locale configuration
  8045. var th = moment.defineLocale('th', {
  8046. months: 'มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม'.split('_'),
  8047. monthsShort: 'ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.'.split('_'),
  8048. monthsParseExact: true,
  8049. weekdays: 'อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์'.split('_'),
  8050. weekdaysShort: 'อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์'.split('_'),
  8051. // yes, three characters difference
  8052. weekdaysMin: 'อา._จ._อ._พ._พฤ._ศ._ส.'.split('_'),
  8053. weekdaysParseExact: true,
  8054. longDateFormat: {
  8055. LT: 'H:mm',
  8056. LTS: 'H:mm:ss',
  8057. L: 'DD/MM/YYYY',
  8058. LL: 'D MMMM YYYY',
  8059. LLL: 'D MMMM YYYY เวลา H:mm',
  8060. LLLL: 'วันddddที่ D MMMM YYYY เวลา H:mm'
  8061. },
  8062. meridiemParse: /ก่อนเที่ยง|หลังเที่ยง/,
  8063. isPM: function isPM(input) {
  8064. return input === 'หลังเที่ยง';
  8065. },
  8066. meridiem: function meridiem(hour, minute, isLower) {
  8067. if (hour < 12) {
  8068. return 'ก่อนเที่ยง';
  8069. } else {
  8070. return 'หลังเที่ยง';
  8071. }
  8072. },
  8073. calendar: {
  8074. sameDay: '[วันนี้ เวลา] LT',
  8075. nextDay: '[พรุ่งนี้ เวลา] LT',
  8076. nextWeek: 'dddd[หน้า เวลา] LT',
  8077. lastDay: '[เมื่อวานนี้ เวลา] LT',
  8078. lastWeek: '[วัน]dddd[ที่แล้ว เวลา] LT',
  8079. sameElse: 'L'
  8080. },
  8081. relativeTime: {
  8082. future: 'อีก %s',
  8083. past: '%sที่แล้ว',
  8084. s: 'ไม่กี่วินาที',
  8085. ss: '%d วินาที',
  8086. m: '1 นาที',
  8087. mm: '%d นาที',
  8088. h: '1 ชั่วโมง',
  8089. hh: '%d ชั่วโมง',
  8090. d: '1 วัน',
  8091. dd: '%d วัน',
  8092. w: '1 สัปดาห์',
  8093. ww: '%d สัปดาห์',
  8094. M: '1 เดือน',
  8095. MM: '%d เดือน',
  8096. y: '1 ปี',
  8097. yy: '%d ปี'
  8098. }
  8099. });
  8100. return th;
  8101. });
  8102. /***/ }),
  8103. /***/ 17:
  8104. /*!*************************************************************************!*\
  8105. !*** ./node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js ***!
  8106. \*************************************************************************/
  8107. /*! no static exports found */
  8108. /***/ (function(module, exports) {
  8109. function _isNativeReflectConstruct() {
  8110. if (typeof Reflect === "undefined" || !Reflect.construct) return false;
  8111. if (Reflect.construct.sham) return false;
  8112. if (typeof Proxy === "function") return true;
  8113. try {
  8114. Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
  8115. return true;
  8116. } catch (e) {
  8117. return false;
  8118. }
  8119. }
  8120. module.exports = _isNativeReflectConstruct, module.exports.__esModule = true, module.exports["default"] = module.exports;
  8121. /***/ }),
  8122. /***/ 170:
  8123. /*!*****************************************************************************!*\
  8124. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/tk.js ***!
  8125. \*****************************************************************************/
  8126. /*! no static exports found */
  8127. /***/ (function(module, exports, __webpack_require__) {
  8128. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  8129. //! moment.js locale configuration
  8130. //! locale : Turkmen [tk]
  8131. //! author : Atamyrat Abdyrahmanov : https://github.com/atamyratabdy
  8132. ;
  8133. (function (global, factory) {
  8134. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  8135. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  8136. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  8137. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  8138. })(this, function (moment) {
  8139. 'use strict';
  8140. //! moment.js locale configuration
  8141. var suffixes = {
  8142. 1: "'inji",
  8143. 5: "'inji",
  8144. 8: "'inji",
  8145. 70: "'inji",
  8146. 80: "'inji",
  8147. 2: "'nji",
  8148. 7: "'nji",
  8149. 20: "'nji",
  8150. 50: "'nji",
  8151. 3: "'ünji",
  8152. 4: "'ünji",
  8153. 100: "'ünji",
  8154. 6: "'njy",
  8155. 9: "'unjy",
  8156. 10: "'unjy",
  8157. 30: "'unjy",
  8158. 60: "'ynjy",
  8159. 90: "'ynjy"
  8160. };
  8161. var tk = moment.defineLocale('tk', {
  8162. months: 'Ýanwar_Fewral_Mart_Aprel_Maý_Iýun_Iýul_Awgust_Sentýabr_Oktýabr_Noýabr_Dekabr'.split('_'),
  8163. monthsShort: 'Ýan_Few_Mar_Apr_Maý_Iýn_Iýl_Awg_Sen_Okt_Noý_Dek'.split('_'),
  8164. weekdays: 'Ýekşenbe_Duşenbe_Sişenbe_Çarşenbe_Penşenbe_Anna_Şenbe'.split('_'),
  8165. weekdaysShort: 'Ýek_Duş_Siş_Çar_Pen_Ann_Şen'.split('_'),
  8166. weekdaysMin: 'Ýk_Dş_Sş_Çr_Pn_An_Şn'.split('_'),
  8167. longDateFormat: {
  8168. LT: 'HH:mm',
  8169. LTS: 'HH:mm:ss',
  8170. L: 'DD.MM.YYYY',
  8171. LL: 'D MMMM YYYY',
  8172. LLL: 'D MMMM YYYY HH:mm',
  8173. LLLL: 'dddd, D MMMM YYYY HH:mm'
  8174. },
  8175. calendar: {
  8176. sameDay: '[bugün sagat] LT',
  8177. nextDay: '[ertir sagat] LT',
  8178. nextWeek: '[indiki] dddd [sagat] LT',
  8179. lastDay: '[düýn] LT',
  8180. lastWeek: '[geçen] dddd [sagat] LT',
  8181. sameElse: 'L'
  8182. },
  8183. relativeTime: {
  8184. future: '%s soň',
  8185. past: '%s öň',
  8186. s: 'birnäçe sekunt',
  8187. m: 'bir minut',
  8188. mm: '%d minut',
  8189. h: 'bir sagat',
  8190. hh: '%d sagat',
  8191. d: 'bir gün',
  8192. dd: '%d gün',
  8193. M: 'bir aý',
  8194. MM: '%d aý',
  8195. y: 'bir ýyl',
  8196. yy: '%d ýyl'
  8197. },
  8198. ordinal: function ordinal(number, period) {
  8199. switch (period) {
  8200. case 'd':
  8201. case 'D':
  8202. case 'Do':
  8203. case 'DD':
  8204. return number;
  8205. default:
  8206. if (number === 0) {
  8207. // special case for zero
  8208. return number + "'unjy";
  8209. }
  8210. var a = number % 10,
  8211. b = number % 100 - a,
  8212. c = number >= 100 ? 100 : null;
  8213. return number + (suffixes[a] || suffixes[b] || suffixes[c]);
  8214. }
  8215. },
  8216. week: {
  8217. dow: 1,
  8218. // Monday is the first day of the week.
  8219. doy: 7 // The week that contains Jan 7th is the first week of the year.
  8220. }
  8221. });
  8222. return tk;
  8223. });
  8224. /***/ }),
  8225. /***/ 171:
  8226. /*!********************************************************************************!*\
  8227. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/tl-ph.js ***!
  8228. \********************************************************************************/
  8229. /*! no static exports found */
  8230. /***/ (function(module, exports, __webpack_require__) {
  8231. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  8232. //! moment.js locale configuration
  8233. //! locale : Tagalog (Philippines) [tl-ph]
  8234. //! author : Dan Hagman : https://github.com/hagmandan
  8235. ;
  8236. (function (global, factory) {
  8237. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  8238. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  8239. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  8240. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  8241. })(this, function (moment) {
  8242. 'use strict';
  8243. //! moment.js locale configuration
  8244. var tlPh = moment.defineLocale('tl-ph', {
  8245. months: 'Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre'.split('_'),
  8246. monthsShort: 'Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis'.split('_'),
  8247. weekdays: 'Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado'.split('_'),
  8248. weekdaysShort: 'Lin_Lun_Mar_Miy_Huw_Biy_Sab'.split('_'),
  8249. weekdaysMin: 'Li_Lu_Ma_Mi_Hu_Bi_Sab'.split('_'),
  8250. longDateFormat: {
  8251. LT: 'HH:mm',
  8252. LTS: 'HH:mm:ss',
  8253. L: 'MM/D/YYYY',
  8254. LL: 'MMMM D, YYYY',
  8255. LLL: 'MMMM D, YYYY HH:mm',
  8256. LLLL: 'dddd, MMMM DD, YYYY HH:mm'
  8257. },
  8258. calendar: {
  8259. sameDay: 'LT [ngayong araw]',
  8260. nextDay: '[Bukas ng] LT',
  8261. nextWeek: 'LT [sa susunod na] dddd',
  8262. lastDay: 'LT [kahapon]',
  8263. lastWeek: 'LT [noong nakaraang] dddd',
  8264. sameElse: 'L'
  8265. },
  8266. relativeTime: {
  8267. future: 'sa loob ng %s',
  8268. past: '%s ang nakalipas',
  8269. s: 'ilang segundo',
  8270. ss: '%d segundo',
  8271. m: 'isang minuto',
  8272. mm: '%d minuto',
  8273. h: 'isang oras',
  8274. hh: '%d oras',
  8275. d: 'isang araw',
  8276. dd: '%d araw',
  8277. M: 'isang buwan',
  8278. MM: '%d buwan',
  8279. y: 'isang taon',
  8280. yy: '%d taon'
  8281. },
  8282. dayOfMonthOrdinalParse: /\d{1,2}/,
  8283. ordinal: function ordinal(number) {
  8284. return number;
  8285. },
  8286. week: {
  8287. dow: 1,
  8288. // Monday is the first day of the week.
  8289. doy: 4 // The week that contains Jan 4th is the first week of the year.
  8290. }
  8291. });
  8292. return tlPh;
  8293. });
  8294. /***/ }),
  8295. /***/ 172:
  8296. /*!******************************************************************************!*\
  8297. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/tlh.js ***!
  8298. \******************************************************************************/
  8299. /*! no static exports found */
  8300. /***/ (function(module, exports, __webpack_require__) {
  8301. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  8302. //! moment.js locale configuration
  8303. //! locale : Klingon [tlh]
  8304. //! author : Dominika Kruk : https://github.com/amaranthrose
  8305. ;
  8306. (function (global, factory) {
  8307. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  8308. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  8309. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  8310. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  8311. })(this, function (moment) {
  8312. 'use strict';
  8313. //! moment.js locale configuration
  8314. var numbersNouns = 'pagh_wa’_cha’_wej_loS_vagh_jav_Soch_chorgh_Hut'.split('_');
  8315. function translateFuture(output) {
  8316. var time = output;
  8317. time = output.indexOf('jaj') !== -1 ? time.slice(0, -3) + 'leS' : output.indexOf('jar') !== -1 ? time.slice(0, -3) + 'waQ' : output.indexOf('DIS') !== -1 ? time.slice(0, -3) + 'nem' : time + ' pIq';
  8318. return time;
  8319. }
  8320. function translatePast(output) {
  8321. var time = output;
  8322. time = output.indexOf('jaj') !== -1 ? time.slice(0, -3) + 'Hu’' : output.indexOf('jar') !== -1 ? time.slice(0, -3) + 'wen' : output.indexOf('DIS') !== -1 ? time.slice(0, -3) + 'ben' : time + ' ret';
  8323. return time;
  8324. }
  8325. function translate(number, withoutSuffix, string, isFuture) {
  8326. var numberNoun = numberAsNoun(number);
  8327. switch (string) {
  8328. case 'ss':
  8329. return numberNoun + ' lup';
  8330. case 'mm':
  8331. return numberNoun + ' tup';
  8332. case 'hh':
  8333. return numberNoun + ' rep';
  8334. case 'dd':
  8335. return numberNoun + ' jaj';
  8336. case 'MM':
  8337. return numberNoun + ' jar';
  8338. case 'yy':
  8339. return numberNoun + ' DIS';
  8340. }
  8341. }
  8342. function numberAsNoun(number) {
  8343. var hundred = Math.floor(number % 1000 / 100),
  8344. ten = Math.floor(number % 100 / 10),
  8345. one = number % 10,
  8346. word = '';
  8347. if (hundred > 0) {
  8348. word += numbersNouns[hundred] + 'vatlh';
  8349. }
  8350. if (ten > 0) {
  8351. word += (word !== '' ? ' ' : '') + numbersNouns[ten] + 'maH';
  8352. }
  8353. if (one > 0) {
  8354. word += (word !== '' ? ' ' : '') + numbersNouns[one];
  8355. }
  8356. return word === '' ? 'pagh' : word;
  8357. }
  8358. var tlh = moment.defineLocale('tlh', {
  8359. months: 'tera’ jar wa’_tera’ jar cha’_tera’ jar wej_tera’ jar loS_tera’ jar vagh_tera’ jar jav_tera’ jar Soch_tera’ jar chorgh_tera’ jar Hut_tera’ jar wa’maH_tera’ jar wa’maH wa’_tera’ jar wa’maH cha’'.split('_'),
  8360. monthsShort: 'jar wa’_jar cha’_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa’maH_jar wa’maH wa’_jar wa’maH cha’'.split('_'),
  8361. monthsParseExact: true,
  8362. weekdays: 'lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj'.split('_'),
  8363. weekdaysShort: 'lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj'.split('_'),
  8364. weekdaysMin: 'lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj'.split('_'),
  8365. longDateFormat: {
  8366. LT: 'HH:mm',
  8367. LTS: 'HH:mm:ss',
  8368. L: 'DD.MM.YYYY',
  8369. LL: 'D MMMM YYYY',
  8370. LLL: 'D MMMM YYYY HH:mm',
  8371. LLLL: 'dddd, D MMMM YYYY HH:mm'
  8372. },
  8373. calendar: {
  8374. sameDay: '[DaHjaj] LT',
  8375. nextDay: '[wa’leS] LT',
  8376. nextWeek: 'LLL',
  8377. lastDay: '[wa’Hu’] LT',
  8378. lastWeek: 'LLL',
  8379. sameElse: 'L'
  8380. },
  8381. relativeTime: {
  8382. future: translateFuture,
  8383. past: translatePast,
  8384. s: 'puS lup',
  8385. ss: translate,
  8386. m: 'wa’ tup',
  8387. mm: translate,
  8388. h: 'wa’ rep',
  8389. hh: translate,
  8390. d: 'wa’ jaj',
  8391. dd: translate,
  8392. M: 'wa’ jar',
  8393. MM: translate,
  8394. y: 'wa’ DIS',
  8395. yy: translate
  8396. },
  8397. dayOfMonthOrdinalParse: /\d{1,2}\./,
  8398. ordinal: '%d.',
  8399. week: {
  8400. dow: 1,
  8401. // Monday is the first day of the week.
  8402. doy: 4 // The week that contains Jan 4th is the first week of the year.
  8403. }
  8404. });
  8405. return tlh;
  8406. });
  8407. /***/ }),
  8408. /***/ 173:
  8409. /*!*****************************************************************************!*\
  8410. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/tr.js ***!
  8411. \*****************************************************************************/
  8412. /*! no static exports found */
  8413. /***/ (function(module, exports, __webpack_require__) {
  8414. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  8415. //! moment.js locale configuration
  8416. //! locale : Turkish [tr]
  8417. //! authors : Erhan Gundogan : https://github.com/erhangundogan,
  8418. //! Burak Yiğit Kaya: https://github.com/BYK
  8419. ;
  8420. (function (global, factory) {
  8421. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  8422. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  8423. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  8424. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  8425. })(this, function (moment) {
  8426. 'use strict';
  8427. //! moment.js locale configuration
  8428. var suffixes = {
  8429. 1: "'inci",
  8430. 5: "'inci",
  8431. 8: "'inci",
  8432. 70: "'inci",
  8433. 80: "'inci",
  8434. 2: "'nci",
  8435. 7: "'nci",
  8436. 20: "'nci",
  8437. 50: "'nci",
  8438. 3: "'üncü",
  8439. 4: "'üncü",
  8440. 100: "'üncü",
  8441. 6: "'ncı",
  8442. 9: "'uncu",
  8443. 10: "'uncu",
  8444. 30: "'uncu",
  8445. 60: "'ıncı",
  8446. 90: "'ıncı"
  8447. };
  8448. var tr = moment.defineLocale('tr', {
  8449. months: 'Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık'.split('_'),
  8450. monthsShort: 'Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara'.split('_'),
  8451. weekdays: 'Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi'.split('_'),
  8452. weekdaysShort: 'Paz_Pts_Sal_Çar_Per_Cum_Cts'.split('_'),
  8453. weekdaysMin: 'Pz_Pt_Sa_Ça_Pe_Cu_Ct'.split('_'),
  8454. meridiem: function meridiem(hours, minutes, isLower) {
  8455. if (hours < 12) {
  8456. return isLower ? 'öö' : 'ÖÖ';
  8457. } else {
  8458. return isLower ? 'ös' : 'ÖS';
  8459. }
  8460. },
  8461. meridiemParse: /öö|ÖÖ|ös|ÖS/,
  8462. isPM: function isPM(input) {
  8463. return input === 'ös' || input === 'ÖS';
  8464. },
  8465. longDateFormat: {
  8466. LT: 'HH:mm',
  8467. LTS: 'HH:mm:ss',
  8468. L: 'DD.MM.YYYY',
  8469. LL: 'D MMMM YYYY',
  8470. LLL: 'D MMMM YYYY HH:mm',
  8471. LLLL: 'dddd, D MMMM YYYY HH:mm'
  8472. },
  8473. calendar: {
  8474. sameDay: '[bugün saat] LT',
  8475. nextDay: '[yarın saat] LT',
  8476. nextWeek: '[gelecek] dddd [saat] LT',
  8477. lastDay: '[dün] LT',
  8478. lastWeek: '[geçen] dddd [saat] LT',
  8479. sameElse: 'L'
  8480. },
  8481. relativeTime: {
  8482. future: '%s sonra',
  8483. past: '%s önce',
  8484. s: 'birkaç saniye',
  8485. ss: '%d saniye',
  8486. m: 'bir dakika',
  8487. mm: '%d dakika',
  8488. h: 'bir saat',
  8489. hh: '%d saat',
  8490. d: 'bir gün',
  8491. dd: '%d gün',
  8492. w: 'bir hafta',
  8493. ww: '%d hafta',
  8494. M: 'bir ay',
  8495. MM: '%d ay',
  8496. y: 'bir yıl',
  8497. yy: '%d yıl'
  8498. },
  8499. ordinal: function ordinal(number, period) {
  8500. switch (period) {
  8501. case 'd':
  8502. case 'D':
  8503. case 'Do':
  8504. case 'DD':
  8505. return number;
  8506. default:
  8507. if (number === 0) {
  8508. // special case for zero
  8509. return number + "'ıncı";
  8510. }
  8511. var a = number % 10,
  8512. b = number % 100 - a,
  8513. c = number >= 100 ? 100 : null;
  8514. return number + (suffixes[a] || suffixes[b] || suffixes[c]);
  8515. }
  8516. },
  8517. week: {
  8518. dow: 1,
  8519. // Monday is the first day of the week.
  8520. doy: 7 // The week that contains Jan 7th is the first week of the year.
  8521. }
  8522. });
  8523. return tr;
  8524. });
  8525. /***/ }),
  8526. /***/ 174:
  8527. /*!******************************************************************************!*\
  8528. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/tzl.js ***!
  8529. \******************************************************************************/
  8530. /*! no static exports found */
  8531. /***/ (function(module, exports, __webpack_require__) {
  8532. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  8533. //! moment.js locale configuration
  8534. //! locale : Talossan [tzl]
  8535. //! author : Robin van der Vliet : https://github.com/robin0van0der0v
  8536. //! author : Iustì Canun
  8537. ;
  8538. (function (global, factory) {
  8539. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  8540. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  8541. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  8542. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  8543. })(this, function (moment) {
  8544. 'use strict';
  8545. //! moment.js locale configuration
  8546. // After the year there should be a slash and the amount of years since December 26, 1979 in Roman numerals.
  8547. // This is currently too difficult (maybe even impossible) to add.
  8548. var tzl = moment.defineLocale('tzl', {
  8549. months: 'Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar'.split('_'),
  8550. monthsShort: 'Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec'.split('_'),
  8551. weekdays: 'Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi'.split('_'),
  8552. weekdaysShort: 'Súl_Lún_Mai_Már_Xhú_Vié_Sát'.split('_'),
  8553. weekdaysMin: 'Sú_Lú_Ma_Má_Xh_Vi_Sá'.split('_'),
  8554. longDateFormat: {
  8555. LT: 'HH.mm',
  8556. LTS: 'HH.mm.ss',
  8557. L: 'DD.MM.YYYY',
  8558. LL: 'D. MMMM [dallas] YYYY',
  8559. LLL: 'D. MMMM [dallas] YYYY HH.mm',
  8560. LLLL: 'dddd, [li] D. MMMM [dallas] YYYY HH.mm'
  8561. },
  8562. meridiemParse: /d\'o|d\'a/i,
  8563. isPM: function isPM(input) {
  8564. return "d'o" === input.toLowerCase();
  8565. },
  8566. meridiem: function meridiem(hours, minutes, isLower) {
  8567. if (hours > 11) {
  8568. return isLower ? "d'o" : "D'O";
  8569. } else {
  8570. return isLower ? "d'a" : "D'A";
  8571. }
  8572. },
  8573. calendar: {
  8574. sameDay: '[oxhi à] LT',
  8575. nextDay: '[demà à] LT',
  8576. nextWeek: 'dddd [à] LT',
  8577. lastDay: '[ieiri à] LT',
  8578. lastWeek: '[sür el] dddd [lasteu à] LT',
  8579. sameElse: 'L'
  8580. },
  8581. relativeTime: {
  8582. future: 'osprei %s',
  8583. past: 'ja%s',
  8584. s: processRelativeTime,
  8585. ss: processRelativeTime,
  8586. m: processRelativeTime,
  8587. mm: processRelativeTime,
  8588. h: processRelativeTime,
  8589. hh: processRelativeTime,
  8590. d: processRelativeTime,
  8591. dd: processRelativeTime,
  8592. M: processRelativeTime,
  8593. MM: processRelativeTime,
  8594. y: processRelativeTime,
  8595. yy: processRelativeTime
  8596. },
  8597. dayOfMonthOrdinalParse: /\d{1,2}\./,
  8598. ordinal: '%d.',
  8599. week: {
  8600. dow: 1,
  8601. // Monday is the first day of the week.
  8602. doy: 4 // The week that contains Jan 4th is the first week of the year.
  8603. }
  8604. });
  8605. function processRelativeTime(number, withoutSuffix, key, isFuture) {
  8606. var format = {
  8607. s: ['viensas secunds', "'iensas secunds"],
  8608. ss: [number + ' secunds', '' + number + ' secunds'],
  8609. m: ["'n míut", "'iens míut"],
  8610. mm: [number + ' míuts', '' + number + ' míuts'],
  8611. h: ["'n þora", "'iensa þora"],
  8612. hh: [number + ' þoras', '' + number + ' þoras'],
  8613. d: ["'n ziua", "'iensa ziua"],
  8614. dd: [number + ' ziuas', '' + number + ' ziuas'],
  8615. M: ["'n mes", "'iens mes"],
  8616. MM: [number + ' mesen', '' + number + ' mesen'],
  8617. y: ["'n ar", "'iens ar"],
  8618. yy: [number + ' ars', '' + number + ' ars']
  8619. };
  8620. return isFuture ? format[key][0] : withoutSuffix ? format[key][0] : format[key][1];
  8621. }
  8622. return tzl;
  8623. });
  8624. /***/ }),
  8625. /***/ 1749:
  8626. /*!*******************************************************************************************************************!*\
  8627. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/uni_modules/uni-swipe-action/components/uni-swipe-action-item/mpwxs.js ***!
  8628. \*******************************************************************************************************************/
  8629. /*! no static exports found */
  8630. /***/ (function(module, exports, __webpack_require__) {
  8631. "use strict";
  8632. /* WEBPACK VAR INJECTION */(function(uni) {
  8633. Object.defineProperty(exports, "__esModule", {
  8634. value: true
  8635. });
  8636. exports.default = void 0;
  8637. var _isPC = __webpack_require__(/*! ./isPC */ 1750);
  8638. var _default = {
  8639. data: function data() {
  8640. return {
  8641. position: [],
  8642. button: {},
  8643. btn: "[]"
  8644. };
  8645. },
  8646. // computed: {
  8647. // pos() {
  8648. // return JSON.stringify(this.position)
  8649. // },
  8650. // btn() {
  8651. // return JSON.stringify(this.button)
  8652. // }
  8653. // },
  8654. watch: {
  8655. button: {
  8656. handler: function handler(newVal) {
  8657. this.btn = JSON.stringify(newVal);
  8658. },
  8659. deep: true
  8660. },
  8661. show: function show(newVal) {
  8662. if (this.autoClose) return;
  8663. if (!this.button) {
  8664. this.init();
  8665. return;
  8666. }
  8667. this.button.show = newVal;
  8668. },
  8669. leftOptions: function leftOptions() {
  8670. this.init();
  8671. },
  8672. rightOptions: function rightOptions() {
  8673. this.init();
  8674. }
  8675. },
  8676. created: function created() {
  8677. if (this.swipeaction.children !== undefined) {
  8678. this.swipeaction.children.push(this);
  8679. }
  8680. },
  8681. mounted: function mounted() {
  8682. this.init();
  8683. },
  8684. beforeDestroy: function beforeDestroy() {
  8685. var _this = this;
  8686. this.swipeaction.children.forEach(function (item, index) {
  8687. if (item === _this) {
  8688. _this.swipeaction.children.splice(index, 1);
  8689. }
  8690. });
  8691. },
  8692. methods: {
  8693. init: function init() {
  8694. var _this2 = this;
  8695. clearTimeout(this.swipetimer);
  8696. this.swipetimer = setTimeout(function () {
  8697. _this2.getButtonSize();
  8698. }, 50);
  8699. },
  8700. closeSwipe: function closeSwipe(e) {
  8701. if (!this.autoClose) return;
  8702. this.swipeaction.closeOther(this);
  8703. },
  8704. change: function change(e) {
  8705. this.$emit('change', e.open);
  8706. var show = this.button.show;
  8707. if (show !== e.open) {
  8708. this.button.show = e.open;
  8709. }
  8710. },
  8711. appTouchStart: function appTouchStart(e) {
  8712. var clientX = e.changedTouches[0].clientX;
  8713. this.clientX = clientX;
  8714. this.timestamp = new Date().getTime();
  8715. },
  8716. appTouchEnd: function appTouchEnd(e, index, item, position) {
  8717. var clientX = e.changedTouches[0].clientX;
  8718. // fixed by xxxx 模拟点击事件,解决 ios 13 点击区域错位的问题
  8719. var diff = Math.abs(this.clientX - clientX);
  8720. var time = new Date().getTime() - this.timestamp;
  8721. if (diff < 40 && time < 300) {
  8722. this.$emit('click', {
  8723. content: item,
  8724. index: index,
  8725. position: position
  8726. });
  8727. }
  8728. },
  8729. onClickForPC: function onClickForPC(index, item, position) {
  8730. this.$emit('click', {
  8731. content: item,
  8732. index: index,
  8733. position: position
  8734. });
  8735. },
  8736. getButtonSize: function getButtonSize() {
  8737. var _this3 = this;
  8738. var views = uni.createSelectorQuery().in(this);
  8739. views.selectAll('.uni-swipe_button-group').boundingClientRect(function (data) {
  8740. var show = 'none';
  8741. if (_this3.autoClose) {
  8742. show = 'none';
  8743. } else {
  8744. show = _this3.show;
  8745. }
  8746. _this3.button = {
  8747. data: data,
  8748. show: show
  8749. };
  8750. }).exec();
  8751. }
  8752. }
  8753. };
  8754. exports.default = _default;
  8755. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  8756. /***/ }),
  8757. /***/ 175:
  8758. /*!******************************************************************************!*\
  8759. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/tzm.js ***!
  8760. \******************************************************************************/
  8761. /*! no static exports found */
  8762. /***/ (function(module, exports, __webpack_require__) {
  8763. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  8764. //! moment.js locale configuration
  8765. //! locale : Central Atlas Tamazight [tzm]
  8766. //! author : Abdel Said : https://github.com/abdelsaid
  8767. ;
  8768. (function (global, factory) {
  8769. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  8770. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  8771. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  8772. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  8773. })(this, function (moment) {
  8774. 'use strict';
  8775. //! moment.js locale configuration
  8776. var tzm = moment.defineLocale('tzm', {
  8777. months: 'ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ'.split('_'),
  8778. monthsShort: 'ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ'.split('_'),
  8779. weekdays: 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'),
  8780. weekdaysShort: 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'),
  8781. weekdaysMin: 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'),
  8782. longDateFormat: {
  8783. LT: 'HH:mm',
  8784. LTS: 'HH:mm:ss',
  8785. L: 'DD/MM/YYYY',
  8786. LL: 'D MMMM YYYY',
  8787. LLL: 'D MMMM YYYY HH:mm',
  8788. LLLL: 'dddd D MMMM YYYY HH:mm'
  8789. },
  8790. calendar: {
  8791. sameDay: '[ⴰⵙⴷⵅ ⴴ] LT',
  8792. nextDay: '[ⴰⵙⴽⴰ ⴴ] LT',
  8793. nextWeek: 'dddd [ⴴ] LT',
  8794. lastDay: '[ⴰⵚⴰⵏⵜ ⴴ] LT',
  8795. lastWeek: 'dddd [ⴴ] LT',
  8796. sameElse: 'L'
  8797. },
  8798. relativeTime: {
  8799. future: 'ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s',
  8800. past: 'ⵢⴰⵏ %s',
  8801. s: 'ⵉⵎⵉⴽ',
  8802. ss: '%d ⵉⵎⵉⴽ',
  8803. m: 'ⵎⵉⵏⵓⴺ',
  8804. mm: '%d ⵎⵉⵏⵓⴺ',
  8805. h: 'ⵙⴰⵄⴰ',
  8806. hh: '%d ⵜⴰⵙⵙⴰⵄⵉⵏ',
  8807. d: 'ⴰⵙⵙ',
  8808. dd: '%d oⵙⵙⴰⵏ',
  8809. M: 'ⴰⵢoⵓⵔ',
  8810. MM: '%d ⵉⵢⵢⵉⵔⵏ',
  8811. y: 'ⴰⵙⴳⴰⵙ',
  8812. yy: '%d ⵉⵙⴳⴰⵙⵏ'
  8813. },
  8814. week: {
  8815. dow: 6,
  8816. // Saturday is the first day of the week.
  8817. doy: 12 // The week that contains Jan 12th is the first week of the year.
  8818. }
  8819. });
  8820. return tzm;
  8821. });
  8822. /***/ }),
  8823. /***/ 1750:
  8824. /*!******************************************************************************************************************!*\
  8825. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/uni_modules/uni-swipe-action/components/uni-swipe-action-item/isPC.js ***!
  8826. \******************************************************************************************************************/
  8827. /*! no static exports found */
  8828. /***/ (function(module, exports, __webpack_require__) {
  8829. "use strict";
  8830. Object.defineProperty(exports, "__esModule", {
  8831. value: true
  8832. });
  8833. exports.isPC = isPC;
  8834. function isPC() {
  8835. var userAgentInfo = navigator.userAgent;
  8836. var Agents = ["Android", "iPhone", "SymbianOS", "Windows Phone", "iPad", "iPod"];
  8837. var flag = true;
  8838. for (var v = 0; v < Agents.length - 1; v++) {
  8839. if (userAgentInfo.indexOf(Agents[v]) > 0) {
  8840. flag = false;
  8841. break;
  8842. }
  8843. }
  8844. return flag;
  8845. }
  8846. /***/ }),
  8847. /***/ 176:
  8848. /*!***********************************************************************************!*\
  8849. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/tzm-latn.js ***!
  8850. \***********************************************************************************/
  8851. /*! no static exports found */
  8852. /***/ (function(module, exports, __webpack_require__) {
  8853. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  8854. //! moment.js locale configuration
  8855. //! locale : Central Atlas Tamazight Latin [tzm-latn]
  8856. //! author : Abdel Said : https://github.com/abdelsaid
  8857. ;
  8858. (function (global, factory) {
  8859. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  8860. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  8861. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  8862. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  8863. })(this, function (moment) {
  8864. 'use strict';
  8865. //! moment.js locale configuration
  8866. var tzmLatn = moment.defineLocale('tzm-latn', {
  8867. months: 'innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir'.split('_'),
  8868. monthsShort: 'innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir'.split('_'),
  8869. weekdays: 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'),
  8870. weekdaysShort: 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'),
  8871. weekdaysMin: 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'),
  8872. longDateFormat: {
  8873. LT: 'HH:mm',
  8874. LTS: 'HH:mm:ss',
  8875. L: 'DD/MM/YYYY',
  8876. LL: 'D MMMM YYYY',
  8877. LLL: 'D MMMM YYYY HH:mm',
  8878. LLLL: 'dddd D MMMM YYYY HH:mm'
  8879. },
  8880. calendar: {
  8881. sameDay: '[asdkh g] LT',
  8882. nextDay: '[aska g] LT',
  8883. nextWeek: 'dddd [g] LT',
  8884. lastDay: '[assant g] LT',
  8885. lastWeek: 'dddd [g] LT',
  8886. sameElse: 'L'
  8887. },
  8888. relativeTime: {
  8889. future: 'dadkh s yan %s',
  8890. past: 'yan %s',
  8891. s: 'imik',
  8892. ss: '%d imik',
  8893. m: 'minuḍ',
  8894. mm: '%d minuḍ',
  8895. h: 'saɛa',
  8896. hh: '%d tassaɛin',
  8897. d: 'ass',
  8898. dd: '%d ossan',
  8899. M: 'ayowr',
  8900. MM: '%d iyyirn',
  8901. y: 'asgas',
  8902. yy: '%d isgasn'
  8903. },
  8904. week: {
  8905. dow: 6,
  8906. // Saturday is the first day of the week.
  8907. doy: 12 // The week that contains Jan 12th is the first week of the year.
  8908. }
  8909. });
  8910. return tzmLatn;
  8911. });
  8912. /***/ }),
  8913. /***/ 1760:
  8914. /*!************************************************************************************!*\
  8915. !*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/uni-cloud/dist/index.js ***!
  8916. \************************************************************************************/
  8917. /*! no static exports found */
  8918. /***/ (function(module, exports, __webpack_require__) {
  8919. "use strict";
  8920. /* WEBPACK VAR INJECTION */(function(global, uni, wx) {
  8921. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  8922. Object.defineProperty(exports, "__esModule", {
  8923. value: true
  8924. });
  8925. exports.default = void 0;
  8926. var _regenerator = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/regenerator */ 1761));
  8927. var _assertThisInitialized2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/assertThisInitialized */ 1763));
  8928. var _slicedToArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/slicedToArray */ 5));
  8929. var _typeof2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/typeof */ 13));
  8930. var _toConsumableArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/toConsumableArray */ 18));
  8931. var _asyncToGenerator2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ 1764));
  8932. var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ 1765));
  8933. var _possibleConstructorReturn2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ 1766));
  8934. var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ 1767));
  8935. var _wrapNativeSuper2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/wrapNativeSuper */ 1768));
  8936. var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ 11));
  8937. var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ 23));
  8938. var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ 24));
  8939. var _uniI18n = __webpack_require__(/*! @dcloudio/uni-i18n */ 22);
  8940. var _pages = _interopRequireDefault(__webpack_require__(/*! @/pages.json */ 1770));
  8941. function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e34) { throw _e34; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e35) { didErr = true; err = _e35; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
  8942. function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
  8943. function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
  8944. function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
  8945. function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
  8946. function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
  8947. function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
  8948. "undefined" != typeof globalThis ? globalThis : "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof self && self;
  8949. function n(e) {
  8950. return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
  8951. }
  8952. function s(e, t, n) {
  8953. return e(n = {
  8954. path: t,
  8955. exports: {},
  8956. require: function require(e, t) {
  8957. return function () {
  8958. throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs");
  8959. }(null == t && n.path);
  8960. }
  8961. }, n.exports), n.exports;
  8962. }
  8963. var r = s(function (e, t) {
  8964. var n;
  8965. e.exports = (n = n || function (e, t) {
  8966. var n = Object.create || function () {
  8967. function e() {}
  8968. return function (t) {
  8969. var n;
  8970. return e.prototype = t, n = new e(), e.prototype = null, n;
  8971. };
  8972. }(),
  8973. s = {},
  8974. r = s.lib = {},
  8975. i = r.Base = {
  8976. extend: function extend(e) {
  8977. var t = n(this);
  8978. return e && t.mixIn(e), t.hasOwnProperty("init") && this.init !== t.init || (t.init = function () {
  8979. t.$super.init.apply(this, arguments);
  8980. }), t.init.prototype = t, t.$super = this, t;
  8981. },
  8982. create: function create() {
  8983. var e = this.extend();
  8984. return e.init.apply(e, arguments), e;
  8985. },
  8986. init: function init() {},
  8987. mixIn: function mixIn(e) {
  8988. for (var t in e) {
  8989. e.hasOwnProperty(t) && (this[t] = e[t]);
  8990. }
  8991. e.hasOwnProperty("toString") && (this.toString = e.toString);
  8992. },
  8993. clone: function clone() {
  8994. return this.init.prototype.extend(this);
  8995. }
  8996. },
  8997. o = r.WordArray = i.extend({
  8998. init: function init(e, n) {
  8999. e = this.words = e || [], this.sigBytes = n != t ? n : 4 * e.length;
  9000. },
  9001. toString: function toString(e) {
  9002. return (e || c).stringify(this);
  9003. },
  9004. concat: function concat(e) {
  9005. var t = this.words,
  9006. n = e.words,
  9007. s = this.sigBytes,
  9008. r = e.sigBytes;
  9009. if (this.clamp(), s % 4) for (var i = 0; i < r; i++) {
  9010. var o = n[i >>> 2] >>> 24 - i % 4 * 8 & 255;
  9011. t[s + i >>> 2] |= o << 24 - (s + i) % 4 * 8;
  9012. } else for (i = 0; i < r; i += 4) {
  9013. t[s + i >>> 2] = n[i >>> 2];
  9014. }
  9015. return this.sigBytes += r, this;
  9016. },
  9017. clamp: function clamp() {
  9018. var t = this.words,
  9019. n = this.sigBytes;
  9020. t[n >>> 2] &= 4294967295 << 32 - n % 4 * 8, t.length = e.ceil(n / 4);
  9021. },
  9022. clone: function clone() {
  9023. var e = i.clone.call(this);
  9024. return e.words = this.words.slice(0), e;
  9025. },
  9026. random: function random(t) {
  9027. for (var n, s = [], r = function r(t) {
  9028. t = t;
  9029. var n = 987654321,
  9030. s = 4294967295;
  9031. return function () {
  9032. var r = ((n = 36969 * (65535 & n) + (n >> 16) & s) << 16) + (t = 18e3 * (65535 & t) + (t >> 16) & s) & s;
  9033. return r /= 4294967296, (r += .5) * (e.random() > .5 ? 1 : -1);
  9034. };
  9035. }, i = 0; i < t; i += 4) {
  9036. var a = r(4294967296 * (n || e.random()));
  9037. n = 987654071 * a(), s.push(4294967296 * a() | 0);
  9038. }
  9039. return new o.init(s, t);
  9040. }
  9041. }),
  9042. a = s.enc = {},
  9043. c = a.Hex = {
  9044. stringify: function stringify(e) {
  9045. for (var t = e.words, n = e.sigBytes, s = [], r = 0; r < n; r++) {
  9046. var i = t[r >>> 2] >>> 24 - r % 4 * 8 & 255;
  9047. s.push((i >>> 4).toString(16)), s.push((15 & i).toString(16));
  9048. }
  9049. return s.join("");
  9050. },
  9051. parse: function parse(e) {
  9052. for (var t = e.length, n = [], s = 0; s < t; s += 2) {
  9053. n[s >>> 3] |= parseInt(e.substr(s, 2), 16) << 24 - s % 8 * 4;
  9054. }
  9055. return new o.init(n, t / 2);
  9056. }
  9057. },
  9058. u = a.Latin1 = {
  9059. stringify: function stringify(e) {
  9060. for (var t = e.words, n = e.sigBytes, s = [], r = 0; r < n; r++) {
  9061. var i = t[r >>> 2] >>> 24 - r % 4 * 8 & 255;
  9062. s.push(String.fromCharCode(i));
  9063. }
  9064. return s.join("");
  9065. },
  9066. parse: function parse(e) {
  9067. for (var t = e.length, n = [], s = 0; s < t; s++) {
  9068. n[s >>> 2] |= (255 & e.charCodeAt(s)) << 24 - s % 4 * 8;
  9069. }
  9070. return new o.init(n, t);
  9071. }
  9072. },
  9073. h = a.Utf8 = {
  9074. stringify: function stringify(e) {
  9075. try {
  9076. return decodeURIComponent(escape(u.stringify(e)));
  9077. } catch (e) {
  9078. throw new Error("Malformed UTF-8 data");
  9079. }
  9080. },
  9081. parse: function parse(e) {
  9082. return u.parse(unescape(encodeURIComponent(e)));
  9083. }
  9084. },
  9085. l = r.BufferedBlockAlgorithm = i.extend({
  9086. reset: function reset() {
  9087. this._data = new o.init(), this._nDataBytes = 0;
  9088. },
  9089. _append: function _append(e) {
  9090. "string" == typeof e && (e = h.parse(e)), this._data.concat(e), this._nDataBytes += e.sigBytes;
  9091. },
  9092. _process: function _process(t) {
  9093. var n = this._data,
  9094. s = n.words,
  9095. r = n.sigBytes,
  9096. i = this.blockSize,
  9097. a = r / (4 * i),
  9098. c = (a = t ? e.ceil(a) : e.max((0 | a) - this._minBufferSize, 0)) * i,
  9099. u = e.min(4 * c, r);
  9100. if (c) {
  9101. for (var h = 0; h < c; h += i) {
  9102. this._doProcessBlock(s, h);
  9103. }
  9104. var l = s.splice(0, c);
  9105. n.sigBytes -= u;
  9106. }
  9107. return new o.init(l, u);
  9108. },
  9109. clone: function clone() {
  9110. var e = i.clone.call(this);
  9111. return e._data = this._data.clone(), e;
  9112. },
  9113. _minBufferSize: 0
  9114. });
  9115. r.Hasher = l.extend({
  9116. cfg: i.extend(),
  9117. init: function init(e) {
  9118. this.cfg = this.cfg.extend(e), this.reset();
  9119. },
  9120. reset: function reset() {
  9121. l.reset.call(this), this._doReset();
  9122. },
  9123. update: function update(e) {
  9124. return this._append(e), this._process(), this;
  9125. },
  9126. finalize: function finalize(e) {
  9127. return e && this._append(e), this._doFinalize();
  9128. },
  9129. blockSize: 16,
  9130. _createHelper: function _createHelper(e) {
  9131. return function (t, n) {
  9132. return new e.init(n).finalize(t);
  9133. };
  9134. },
  9135. _createHmacHelper: function _createHmacHelper(e) {
  9136. return function (t, n) {
  9137. return new d.HMAC.init(e, n).finalize(t);
  9138. };
  9139. }
  9140. });
  9141. var d = s.algo = {};
  9142. return s;
  9143. }(Math), n);
  9144. }),
  9145. i = r,
  9146. o = (s(function (e, t) {
  9147. var n;
  9148. e.exports = (n = i, function (e) {
  9149. var t = n,
  9150. s = t.lib,
  9151. r = s.WordArray,
  9152. i = s.Hasher,
  9153. o = t.algo,
  9154. a = [];
  9155. !function () {
  9156. for (var t = 0; t < 64; t++) {
  9157. a[t] = 4294967296 * e.abs(e.sin(t + 1)) | 0;
  9158. }
  9159. }();
  9160. var c = o.MD5 = i.extend({
  9161. _doReset: function _doReset() {
  9162. this._hash = new r.init([1732584193, 4023233417, 2562383102, 271733878]);
  9163. },
  9164. _doProcessBlock: function _doProcessBlock(e, t) {
  9165. for (var n = 0; n < 16; n++) {
  9166. var s = t + n,
  9167. r = e[s];
  9168. e[s] = 16711935 & (r << 8 | r >>> 24) | 4278255360 & (r << 24 | r >>> 8);
  9169. }
  9170. var i = this._hash.words,
  9171. o = e[t + 0],
  9172. c = e[t + 1],
  9173. p = e[t + 2],
  9174. f = e[t + 3],
  9175. g = e[t + 4],
  9176. m = e[t + 5],
  9177. y = e[t + 6],
  9178. _ = e[t + 7],
  9179. w = e[t + 8],
  9180. v = e[t + 9],
  9181. S = e[t + 10],
  9182. I = e[t + 11],
  9183. b = e[t + 12],
  9184. k = e[t + 13],
  9185. T = e[t + 14],
  9186. C = e[t + 15],
  9187. P = i[0],
  9188. A = i[1],
  9189. E = i[2],
  9190. O = i[3];
  9191. P = u(P, A, E, O, o, 7, a[0]), O = u(O, P, A, E, c, 12, a[1]), E = u(E, O, P, A, p, 17, a[2]), A = u(A, E, O, P, f, 22, a[3]), P = u(P, A, E, O, g, 7, a[4]), O = u(O, P, A, E, m, 12, a[5]), E = u(E, O, P, A, y, 17, a[6]), A = u(A, E, O, P, _, 22, a[7]), P = u(P, A, E, O, w, 7, a[8]), O = u(O, P, A, E, v, 12, a[9]), E = u(E, O, P, A, S, 17, a[10]), A = u(A, E, O, P, I, 22, a[11]), P = u(P, A, E, O, b, 7, a[12]), O = u(O, P, A, E, k, 12, a[13]), E = u(E, O, P, A, T, 17, a[14]), P = h(P, A = u(A, E, O, P, C, 22, a[15]), E, O, c, 5, a[16]), O = h(O, P, A, E, y, 9, a[17]), E = h(E, O, P, A, I, 14, a[18]), A = h(A, E, O, P, o, 20, a[19]), P = h(P, A, E, O, m, 5, a[20]), O = h(O, P, A, E, S, 9, a[21]), E = h(E, O, P, A, C, 14, a[22]), A = h(A, E, O, P, g, 20, a[23]), P = h(P, A, E, O, v, 5, a[24]), O = h(O, P, A, E, T, 9, a[25]), E = h(E, O, P, A, f, 14, a[26]), A = h(A, E, O, P, w, 20, a[27]), P = h(P, A, E, O, k, 5, a[28]), O = h(O, P, A, E, p, 9, a[29]), E = h(E, O, P, A, _, 14, a[30]), P = l(P, A = h(A, E, O, P, b, 20, a[31]), E, O, m, 4, a[32]), O = l(O, P, A, E, w, 11, a[33]), E = l(E, O, P, A, I, 16, a[34]), A = l(A, E, O, P, T, 23, a[35]), P = l(P, A, E, O, c, 4, a[36]), O = l(O, P, A, E, g, 11, a[37]), E = l(E, O, P, A, _, 16, a[38]), A = l(A, E, O, P, S, 23, a[39]), P = l(P, A, E, O, k, 4, a[40]), O = l(O, P, A, E, o, 11, a[41]), E = l(E, O, P, A, f, 16, a[42]), A = l(A, E, O, P, y, 23, a[43]), P = l(P, A, E, O, v, 4, a[44]), O = l(O, P, A, E, b, 11, a[45]), E = l(E, O, P, A, C, 16, a[46]), P = d(P, A = l(A, E, O, P, p, 23, a[47]), E, O, o, 6, a[48]), O = d(O, P, A, E, _, 10, a[49]), E = d(E, O, P, A, T, 15, a[50]), A = d(A, E, O, P, m, 21, a[51]), P = d(P, A, E, O, b, 6, a[52]), O = d(O, P, A, E, f, 10, a[53]), E = d(E, O, P, A, S, 15, a[54]), A = d(A, E, O, P, c, 21, a[55]), P = d(P, A, E, O, w, 6, a[56]), O = d(O, P, A, E, C, 10, a[57]), E = d(E, O, P, A, y, 15, a[58]), A = d(A, E, O, P, k, 21, a[59]), P = d(P, A, E, O, g, 6, a[60]), O = d(O, P, A, E, I, 10, a[61]), E = d(E, O, P, A, p, 15, a[62]), A = d(A, E, O, P, v, 21, a[63]), i[0] = i[0] + P | 0, i[1] = i[1] + A | 0, i[2] = i[2] + E | 0, i[3] = i[3] + O | 0;
  9192. },
  9193. _doFinalize: function _doFinalize() {
  9194. var t = this._data,
  9195. n = t.words,
  9196. s = 8 * this._nDataBytes,
  9197. r = 8 * t.sigBytes;
  9198. n[r >>> 5] |= 128 << 24 - r % 32;
  9199. var i = e.floor(s / 4294967296),
  9200. o = s;
  9201. n[15 + (r + 64 >>> 9 << 4)] = 16711935 & (i << 8 | i >>> 24) | 4278255360 & (i << 24 | i >>> 8), n[14 + (r + 64 >>> 9 << 4)] = 16711935 & (o << 8 | o >>> 24) | 4278255360 & (o << 24 | o >>> 8), t.sigBytes = 4 * (n.length + 1), this._process();
  9202. for (var a = this._hash, c = a.words, u = 0; u < 4; u++) {
  9203. var h = c[u];
  9204. c[u] = 16711935 & (h << 8 | h >>> 24) | 4278255360 & (h << 24 | h >>> 8);
  9205. }
  9206. return a;
  9207. },
  9208. clone: function clone() {
  9209. var e = i.clone.call(this);
  9210. return e._hash = this._hash.clone(), e;
  9211. }
  9212. });
  9213. function u(e, t, n, s, r, i, o) {
  9214. var a = e + (t & n | ~t & s) + r + o;
  9215. return (a << i | a >>> 32 - i) + t;
  9216. }
  9217. function h(e, t, n, s, r, i, o) {
  9218. var a = e + (t & s | n & ~s) + r + o;
  9219. return (a << i | a >>> 32 - i) + t;
  9220. }
  9221. function l(e, t, n, s, r, i, o) {
  9222. var a = e + (t ^ n ^ s) + r + o;
  9223. return (a << i | a >>> 32 - i) + t;
  9224. }
  9225. function d(e, t, n, s, r, i, o) {
  9226. var a = e + (n ^ (t | ~s)) + r + o;
  9227. return (a << i | a >>> 32 - i) + t;
  9228. }
  9229. t.MD5 = i._createHelper(c), t.HmacMD5 = i._createHmacHelper(c);
  9230. }(Math), n.MD5);
  9231. }), s(function (e, t) {
  9232. var n;
  9233. e.exports = (n = i, void function () {
  9234. var e = n,
  9235. t = e.lib.Base,
  9236. s = e.enc.Utf8;
  9237. e.algo.HMAC = t.extend({
  9238. init: function init(e, t) {
  9239. e = this._hasher = new e.init(), "string" == typeof t && (t = s.parse(t));
  9240. var n = e.blockSize,
  9241. r = 4 * n;
  9242. t.sigBytes > r && (t = e.finalize(t)), t.clamp();
  9243. for (var i = this._oKey = t.clone(), o = this._iKey = t.clone(), a = i.words, c = o.words, u = 0; u < n; u++) {
  9244. a[u] ^= 1549556828, c[u] ^= 909522486;
  9245. }
  9246. i.sigBytes = o.sigBytes = r, this.reset();
  9247. },
  9248. reset: function reset() {
  9249. var e = this._hasher;
  9250. e.reset(), e.update(this._iKey);
  9251. },
  9252. update: function update(e) {
  9253. return this._hasher.update(e), this;
  9254. },
  9255. finalize: function finalize(e) {
  9256. var t = this._hasher,
  9257. n = t.finalize(e);
  9258. return t.reset(), t.finalize(this._oKey.clone().concat(n));
  9259. }
  9260. });
  9261. }());
  9262. }), s(function (e, t) {
  9263. e.exports = i.HmacMD5;
  9264. })),
  9265. a = s(function (e, t) {
  9266. e.exports = i.enc.Utf8;
  9267. }),
  9268. c = s(function (e, t) {
  9269. var n;
  9270. e.exports = (n = i, function () {
  9271. var e = n,
  9272. t = e.lib.WordArray;
  9273. function s(e, n, s) {
  9274. for (var r = [], i = 0, o = 0; o < n; o++) {
  9275. if (o % 4) {
  9276. var a = s[e.charCodeAt(o - 1)] << o % 4 * 2,
  9277. c = s[e.charCodeAt(o)] >>> 6 - o % 4 * 2;
  9278. r[i >>> 2] |= (a | c) << 24 - i % 4 * 8, i++;
  9279. }
  9280. }
  9281. return t.create(r, i);
  9282. }
  9283. e.enc.Base64 = {
  9284. stringify: function stringify(e) {
  9285. var t = e.words,
  9286. n = e.sigBytes,
  9287. s = this._map;
  9288. e.clamp();
  9289. for (var r = [], i = 0; i < n; i += 3) {
  9290. for (var o = (t[i >>> 2] >>> 24 - i % 4 * 8 & 255) << 16 | (t[i + 1 >>> 2] >>> 24 - (i + 1) % 4 * 8 & 255) << 8 | t[i + 2 >>> 2] >>> 24 - (i + 2) % 4 * 8 & 255, a = 0; a < 4 && i + .75 * a < n; a++) {
  9291. r.push(s.charAt(o >>> 6 * (3 - a) & 63));
  9292. }
  9293. }
  9294. var c = s.charAt(64);
  9295. if (c) for (; r.length % 4;) {
  9296. r.push(c);
  9297. }
  9298. return r.join("");
  9299. },
  9300. parse: function parse(e) {
  9301. var t = e.length,
  9302. n = this._map,
  9303. r = this._reverseMap;
  9304. if (!r) {
  9305. r = this._reverseMap = [];
  9306. for (var i = 0; i < n.length; i++) {
  9307. r[n.charCodeAt(i)] = i;
  9308. }
  9309. }
  9310. var o = n.charAt(64);
  9311. if (o) {
  9312. var a = e.indexOf(o);
  9313. -1 !== a && (t = a);
  9314. }
  9315. return s(e, t, r);
  9316. },
  9317. _map: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="
  9318. };
  9319. }(), n.enc.Base64);
  9320. });
  9321. var u = "FUNCTION",
  9322. h = "OBJECT",
  9323. l = "CLIENT_DB",
  9324. d = "pending",
  9325. p = "fullfilled",
  9326. f = "rejected";
  9327. function g(e) {
  9328. return Object.prototype.toString.call(e).slice(8, -1).toLowerCase();
  9329. }
  9330. function m(e) {
  9331. return "object" === g(e);
  9332. }
  9333. function y(e) {
  9334. return "function" == typeof e;
  9335. }
  9336. function _(e) {
  9337. return function () {
  9338. try {
  9339. return e.apply(e, arguments);
  9340. } catch (e) {
  9341. console.error(e);
  9342. }
  9343. };
  9344. }
  9345. var w = "REJECTED",
  9346. v = "NOT_PENDING";
  9347. var S = /*#__PURE__*/function () {
  9348. function S() {
  9349. var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
  9350. e = _ref.createPromise,
  9351. _ref$retryRule = _ref.retryRule,
  9352. t = _ref$retryRule === void 0 ? w : _ref$retryRule;
  9353. (0, _classCallCheck2.default)(this, S);
  9354. this.createPromise = e, this.status = null, this.promise = null, this.retryRule = t;
  9355. }
  9356. (0, _createClass2.default)(S, [{
  9357. key: "needRetry",
  9358. get: function get() {
  9359. if (!this.status) return !0;
  9360. switch (this.retryRule) {
  9361. case w:
  9362. return this.status === f;
  9363. case v:
  9364. return this.status !== d;
  9365. }
  9366. }
  9367. }, {
  9368. key: "exec",
  9369. value: function exec() {
  9370. var _this = this;
  9371. return this.needRetry ? (this.status = d, this.promise = this.createPromise().then(function (e) {
  9372. return _this.status = p, Promise.resolve(e);
  9373. }, function (e) {
  9374. return _this.status = f, Promise.reject(e);
  9375. }), this.promise) : this.promise;
  9376. }
  9377. }]);
  9378. return S;
  9379. }();
  9380. function I(e) {
  9381. return function (t) {
  9382. return new Promise(function (n, s) {
  9383. uni[e](_objectSpread(_objectSpread({}, t), {}, {
  9384. success: function success(e) {
  9385. n(e);
  9386. },
  9387. fail: function fail(e) {
  9388. s(e);
  9389. }
  9390. }));
  9391. });
  9392. };
  9393. }
  9394. function b(e) {
  9395. return e && "string" == typeof e ? JSON.parse(e) : e;
  9396. }
  9397. var k = "development" === "development",
  9398. T = "mp-weixin",
  9399. C = "true" === undefined || !0 === undefined,
  9400. P = b([]),
  9401. A = "h5" === T ? "web" : "app-plus" === T ? "app" : T,
  9402. E = b(undefined),
  9403. O = b([]) || [],
  9404. x = true;
  9405. var R = "";
  9406. try {
  9407. R = (__webpack_require__(/*! uni-stat-config */ 1771).default || __webpack_require__(/*! uni-stat-config */ 1771)).appid;
  9408. } catch (e) {}
  9409. var U = {};
  9410. function L(e) {
  9411. var t = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  9412. var n, s;
  9413. return n = U, s = e, Object.prototype.hasOwnProperty.call(n, s) || (U[e] = t), U[e];
  9414. }
  9415. "app" === A && (U = uni._globalUniCloudObj ? uni._globalUniCloudObj : uni._globalUniCloudObj = {});
  9416. var N = ["invoke", "success", "fail", "complete"],
  9417. D = L("_globalUniCloudInterceptor");
  9418. function F(e, t) {
  9419. D[e] || (D[e] = {}), m(t) && Object.keys(t).forEach(function (n) {
  9420. N.indexOf(n) > -1 && function (e, t, n) {
  9421. var s = D[e][t];
  9422. s || (s = D[e][t] = []), -1 === s.indexOf(n) && y(n) && s.push(n);
  9423. }(e, n, t[n]);
  9424. });
  9425. }
  9426. function q(e, t) {
  9427. D[e] || (D[e] = {}), m(t) ? Object.keys(t).forEach(function (n) {
  9428. N.indexOf(n) > -1 && function (e, t, n) {
  9429. var s = D[e][t];
  9430. if (!s) return;
  9431. var r = s.indexOf(n);
  9432. r > -1 && s.splice(r, 1);
  9433. }(e, n, t[n]);
  9434. }) : delete D[e];
  9435. }
  9436. function M(e, t) {
  9437. return e && 0 !== e.length ? e.reduce(function (e, n) {
  9438. return e.then(function () {
  9439. return n(t);
  9440. });
  9441. }, Promise.resolve()) : Promise.resolve();
  9442. }
  9443. function K(e, t) {
  9444. return D[e] && D[e][t] || [];
  9445. }
  9446. function j(e) {
  9447. F("callObject", e);
  9448. }
  9449. var B = L("_globalUniCloudListener"),
  9450. $ = "response",
  9451. W = "needLogin",
  9452. z = "refreshToken",
  9453. J = "clientdb",
  9454. H = "cloudfunction",
  9455. G = "cloudobject";
  9456. function V(e) {
  9457. return B[e] || (B[e] = []), B[e];
  9458. }
  9459. function Q(e, t) {
  9460. var n = V(e);
  9461. n.includes(t) || n.push(t);
  9462. }
  9463. function Y(e, t) {
  9464. var n = V(e),
  9465. s = n.indexOf(t);
  9466. -1 !== s && n.splice(s, 1);
  9467. }
  9468. function X(e, t) {
  9469. var n = V(e);
  9470. for (var _e2 = 0; _e2 < n.length; _e2++) {
  9471. (0, n[_e2])(t);
  9472. }
  9473. }
  9474. var Z,
  9475. ee = !1;
  9476. function te() {
  9477. return Z || (Z = new Promise(function (e) {
  9478. ee && e(), function t() {
  9479. if ("function" == typeof getCurrentPages) {
  9480. var _t2 = getCurrentPages();
  9481. _t2 && _t2[0] && (ee = !0, e());
  9482. }
  9483. ee || setTimeout(function () {
  9484. t();
  9485. }, 30);
  9486. }();
  9487. }), Z);
  9488. }
  9489. function ne(e) {
  9490. var t = {};
  9491. for (var _n2 in e) {
  9492. var _s2 = e[_n2];
  9493. y(_s2) && (t[_n2] = _(_s2));
  9494. }
  9495. return t;
  9496. }
  9497. var se = /*#__PURE__*/function (_Error) {
  9498. (0, _inherits2.default)(se, _Error);
  9499. var _super = _createSuper(se);
  9500. function se(e) {
  9501. var _this2;
  9502. (0, _classCallCheck2.default)(this, se);
  9503. _this2 = _super.call(this, e.message), _this2.errMsg = e.message || e.errMsg || "unknown system error", _this2.code = _this2.errCode = e.code || e.errCode || "SYSTEM_ERROR", _this2.errSubject = _this2.subject = e.subject || e.errSubject, _this2.cause = e.cause, _this2.requestId = e.requestId;
  9504. return _this2;
  9505. }
  9506. (0, _createClass2.default)(se, [{
  9507. key: "toJson",
  9508. value: function toJson() {
  9509. var e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;
  9510. if (!(e >= 10)) return e++, {
  9511. errCode: this.errCode,
  9512. errMsg: this.errMsg,
  9513. errSubject: this.errSubject,
  9514. cause: this.cause && this.cause.toJson ? this.cause.toJson(e) : this.cause
  9515. };
  9516. }
  9517. }]);
  9518. return se;
  9519. }( /*#__PURE__*/(0, _wrapNativeSuper2.default)(Error));
  9520. var re = {
  9521. request: function request(e) {
  9522. return uni.request(e);
  9523. },
  9524. uploadFile: function uploadFile(e) {
  9525. return uni.uploadFile(e);
  9526. },
  9527. setStorageSync: function setStorageSync(e, t) {
  9528. return uni.setStorageSync(e, t);
  9529. },
  9530. getStorageSync: function getStorageSync(e) {
  9531. return uni.getStorageSync(e);
  9532. },
  9533. removeStorageSync: function removeStorageSync(e) {
  9534. return uni.removeStorageSync(e);
  9535. },
  9536. clearStorageSync: function clearStorageSync() {
  9537. return uni.clearStorageSync();
  9538. }
  9539. };
  9540. function ie() {
  9541. return {
  9542. token: re.getStorageSync("uni_id_token") || re.getStorageSync("uniIdToken"),
  9543. tokenExpired: re.getStorageSync("uni_id_token_expired")
  9544. };
  9545. }
  9546. function oe() {
  9547. var _ref2 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
  9548. e = _ref2.token,
  9549. t = _ref2.tokenExpired;
  9550. e && re.setStorageSync("uni_id_token", e), t && re.setStorageSync("uni_id_token_expired", t);
  9551. }
  9552. var ae, ce;
  9553. function ue() {
  9554. return ae || (ae = uni.getSystemInfoSync()), ae;
  9555. }
  9556. function he() {
  9557. var e, t;
  9558. try {
  9559. if (uni.getLaunchOptionsSync) {
  9560. if (uni.getLaunchOptionsSync.toString().indexOf("not yet implemented") > -1) return;
  9561. var _uni$getLaunchOptions = uni.getLaunchOptionsSync(),
  9562. _n3 = _uni$getLaunchOptions.scene,
  9563. _s3 = _uni$getLaunchOptions.channel;
  9564. e = _s3, t = _n3;
  9565. }
  9566. } catch (e) {}
  9567. return {
  9568. channel: e,
  9569. scene: t
  9570. };
  9571. }
  9572. function le() {
  9573. var e = uni.getLocale && uni.getLocale() || "en";
  9574. if (ce) return _objectSpread(_objectSpread({}, ce), {}, {
  9575. locale: e,
  9576. LOCALE: e
  9577. });
  9578. var t = ue(),
  9579. n = t.deviceId,
  9580. s = t.osName,
  9581. r = t.uniPlatform,
  9582. i = t.appId,
  9583. o = ["pixelRatio", "brand", "model", "system", "language", "version", "platform", "host", "SDKVersion", "swanNativeVersion", "app", "AppPlatform", "fontSizeSetting"];
  9584. for (var _e3 = 0; _e3 < o.length; _e3++) {
  9585. delete t[o[_e3]];
  9586. }
  9587. return ce = _objectSpread(_objectSpread({
  9588. PLATFORM: r,
  9589. OS: s,
  9590. APPID: i,
  9591. DEVICEID: n
  9592. }, he()), t), _objectSpread(_objectSpread({}, ce), {}, {
  9593. locale: e,
  9594. LOCALE: e
  9595. });
  9596. }
  9597. var de = {
  9598. sign: function sign(e, t) {
  9599. var n = "";
  9600. return Object.keys(e).sort().forEach(function (t) {
  9601. e[t] && (n = n + "&" + t + "=" + e[t]);
  9602. }), n = n.slice(1), o(n, t).toString();
  9603. },
  9604. wrappedRequest: function wrappedRequest(e, t) {
  9605. return new Promise(function (n, s) {
  9606. t(Object.assign(e, {
  9607. complete: function complete(e) {
  9608. e || (e = {}), k && "web" === A && e.errMsg && 0 === e.errMsg.indexOf("request:fail") && console.warn("发布H5,需要在uniCloud后台操作,绑定安全域名,否则会因为跨域问题而无法访问。教程参考:https://uniapp.dcloud.io/uniCloud/quickstart?id=useinh5");
  9609. var t = e.data && e.data.header && e.data.header["x-serverless-request-id"] || e.header && e.header["request-id"];
  9610. if (!e.statusCode || e.statusCode >= 400) return s(new se({
  9611. code: "SYS_ERR",
  9612. message: e.errMsg || "request:fail",
  9613. requestId: t
  9614. }));
  9615. var r = e.data;
  9616. if (r.error) return s(new se({
  9617. code: r.error.code,
  9618. message: r.error.message,
  9619. requestId: t
  9620. }));
  9621. r.result = r.data, r.requestId = t, delete r.data, n(r);
  9622. }
  9623. }));
  9624. });
  9625. },
  9626. toBase64: function toBase64(e) {
  9627. return c.stringify(a.parse(e));
  9628. }
  9629. },
  9630. pe = {
  9631. "uniCloud.init.paramRequired": "{param} required",
  9632. "uniCloud.uploadFile.fileError": "filePath should be instance of File"
  9633. };
  9634. var _e4 = (0, _uniI18n.initVueI18n)({
  9635. "zh-Hans": {
  9636. "uniCloud.init.paramRequired": "缺少参数:{param}",
  9637. "uniCloud.uploadFile.fileError": "filePath应为File对象"
  9638. },
  9639. "zh-Hant": {
  9640. "uniCloud.init.paramRequired": "缺少参数:{param}",
  9641. "uniCloud.uploadFile.fileError": "filePath应为File对象"
  9642. },
  9643. en: pe,
  9644. fr: {
  9645. "uniCloud.init.paramRequired": "{param} required",
  9646. "uniCloud.uploadFile.fileError": "filePath should be instance of File"
  9647. },
  9648. es: {
  9649. "uniCloud.init.paramRequired": "{param} required",
  9650. "uniCloud.uploadFile.fileError": "filePath should be instance of File"
  9651. },
  9652. ja: pe
  9653. }, "zh-Hans"),
  9654. fe = _e4.t;
  9655. var ge = /*#__PURE__*/function () {
  9656. function ge(e) {
  9657. var _this3 = this;
  9658. (0, _classCallCheck2.default)(this, ge);
  9659. ["spaceId", "clientSecret"].forEach(function (t) {
  9660. if (!Object.prototype.hasOwnProperty.call(e, t)) throw new Error(fe("uniCloud.init.paramRequired", {
  9661. param: t
  9662. }));
  9663. }), this.config = Object.assign({}, {
  9664. endpoint: 0 === e.spaceId.indexOf("mp-") ? "https://api.next.bspapp.com" : "https://api.bspapp.com"
  9665. }, e), this.config.provider = "aliyun", this.config.requestUrl = this.config.endpoint + "/client", this.config.envType = this.config.envType || "public", this.config.accessTokenKey = "access_token_" + this.config.spaceId, this.adapter = re, this._getAccessTokenPromiseHub = new S({
  9666. createPromise: function createPromise() {
  9667. return _this3.requestAuth(_this3.setupRequest({
  9668. method: "serverless.auth.user.anonymousAuthorize",
  9669. params: "{}"
  9670. }, "auth")).then(function (e) {
  9671. if (!e.result || !e.result.accessToken) throw new se({
  9672. code: "AUTH_FAILED",
  9673. message: "获取accessToken失败"
  9674. });
  9675. _this3.setAccessToken(e.result.accessToken);
  9676. });
  9677. },
  9678. retryRule: v
  9679. });
  9680. }
  9681. (0, _createClass2.default)(ge, [{
  9682. key: "hasAccessToken",
  9683. get: function get() {
  9684. return !!this.accessToken;
  9685. }
  9686. }, {
  9687. key: "setAccessToken",
  9688. value: function setAccessToken(e) {
  9689. this.accessToken = e;
  9690. }
  9691. }, {
  9692. key: "requestWrapped",
  9693. value: function requestWrapped(e) {
  9694. return de.wrappedRequest(e, this.adapter.request);
  9695. }
  9696. }, {
  9697. key: "requestAuth",
  9698. value: function requestAuth(e) {
  9699. return this.requestWrapped(e);
  9700. }
  9701. }, {
  9702. key: "request",
  9703. value: function request(e, t) {
  9704. var _this4 = this;
  9705. return Promise.resolve().then(function () {
  9706. return _this4.hasAccessToken ? t ? _this4.requestWrapped(e) : _this4.requestWrapped(e).catch(function (t) {
  9707. return new Promise(function (e, n) {
  9708. !t || "GATEWAY_INVALID_TOKEN" !== t.code && "InvalidParameter.InvalidToken" !== t.code ? n(t) : e();
  9709. }).then(function () {
  9710. return _this4.getAccessToken();
  9711. }).then(function () {
  9712. var t = _this4.rebuildRequest(e);
  9713. return _this4.request(t, !0);
  9714. });
  9715. }) : _this4.getAccessToken().then(function () {
  9716. var t = _this4.rebuildRequest(e);
  9717. return _this4.request(t, !0);
  9718. });
  9719. });
  9720. }
  9721. }, {
  9722. key: "rebuildRequest",
  9723. value: function rebuildRequest(e) {
  9724. var t = Object.assign({}, e);
  9725. return t.data.token = this.accessToken, t.header["x-basement-token"] = this.accessToken, t.header["x-serverless-sign"] = de.sign(t.data, this.config.clientSecret), t;
  9726. }
  9727. }, {
  9728. key: "setupRequest",
  9729. value: function setupRequest(e, t) {
  9730. var n = Object.assign({}, e, {
  9731. spaceId: this.config.spaceId,
  9732. timestamp: Date.now()
  9733. }),
  9734. s = {
  9735. "Content-Type": "application/json"
  9736. };
  9737. return "auth" !== t && (n.token = this.accessToken, s["x-basement-token"] = this.accessToken), s["x-serverless-sign"] = de.sign(n, this.config.clientSecret), {
  9738. url: this.config.requestUrl,
  9739. method: "POST",
  9740. data: n,
  9741. dataType: "json",
  9742. header: s
  9743. };
  9744. }
  9745. }, {
  9746. key: "getAccessToken",
  9747. value: function getAccessToken() {
  9748. return this._getAccessTokenPromiseHub.exec();
  9749. }
  9750. }, {
  9751. key: "authorize",
  9752. value: function () {
  9753. var _authorize = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {
  9754. return _regenerator.default.wrap(function _callee$(_context) {
  9755. while (1) {
  9756. switch (_context.prev = _context.next) {
  9757. case 0:
  9758. _context.next = 2;
  9759. return this.getAccessToken();
  9760. case 2:
  9761. case "end":
  9762. return _context.stop();
  9763. }
  9764. }
  9765. }, _callee, this);
  9766. }));
  9767. function authorize() {
  9768. return _authorize.apply(this, arguments);
  9769. }
  9770. return authorize;
  9771. }()
  9772. }, {
  9773. key: "callFunction",
  9774. value: function callFunction(e) {
  9775. var t = {
  9776. method: "serverless.function.runtime.invoke",
  9777. params: JSON.stringify({
  9778. functionTarget: e.name,
  9779. functionArgs: e.data || {}
  9780. })
  9781. };
  9782. return this.request(this.setupRequest(t));
  9783. }
  9784. }, {
  9785. key: "getOSSUploadOptionsFromPath",
  9786. value: function getOSSUploadOptionsFromPath(e) {
  9787. var t = {
  9788. method: "serverless.file.resource.generateProximalSign",
  9789. params: JSON.stringify(e)
  9790. };
  9791. return this.request(this.setupRequest(t));
  9792. }
  9793. }, {
  9794. key: "uploadFileToOSS",
  9795. value: function uploadFileToOSS(_ref3) {
  9796. var _this5 = this;
  9797. var e = _ref3.url,
  9798. t = _ref3.formData,
  9799. n = _ref3.name,
  9800. s = _ref3.filePath,
  9801. r = _ref3.fileType,
  9802. i = _ref3.onUploadProgress;
  9803. return new Promise(function (o, a) {
  9804. var c = _this5.adapter.uploadFile({
  9805. url: e,
  9806. formData: t,
  9807. name: n,
  9808. filePath: s,
  9809. fileType: r,
  9810. header: {
  9811. "X-OSS-server-side-encrpytion": "AES256"
  9812. },
  9813. success: function success(e) {
  9814. e && e.statusCode < 400 ? o(e) : a(new se({
  9815. code: "UPLOAD_FAILED",
  9816. message: "文件上传失败"
  9817. }));
  9818. },
  9819. fail: function fail(e) {
  9820. a(new se({
  9821. code: e.code || "UPLOAD_FAILED",
  9822. message: e.message || e.errMsg || "文件上传失败"
  9823. }));
  9824. }
  9825. });
  9826. "function" == typeof i && c && "function" == typeof c.onProgressUpdate && c.onProgressUpdate(function (e) {
  9827. i({
  9828. loaded: e.totalBytesSent,
  9829. total: e.totalBytesExpectedToSend
  9830. });
  9831. });
  9832. });
  9833. }
  9834. }, {
  9835. key: "reportOSSUpload",
  9836. value: function reportOSSUpload(e) {
  9837. var t = {
  9838. method: "serverless.file.resource.report",
  9839. params: JSON.stringify(e)
  9840. };
  9841. return this.request(this.setupRequest(t));
  9842. }
  9843. }, {
  9844. key: "uploadFile",
  9845. value: function () {
  9846. var _uploadFile = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee2(_ref4) {
  9847. var e, t, _ref4$fileType, n, s, r, i, o, a, c, u, h, l, d, p, f, m, y, _e5, _;
  9848. return _regenerator.default.wrap(function _callee2$(_context2) {
  9849. while (1) {
  9850. switch (_context2.prev = _context2.next) {
  9851. case 0:
  9852. e = _ref4.filePath, t = _ref4.cloudPath, _ref4$fileType = _ref4.fileType, n = _ref4$fileType === void 0 ? "image" : _ref4$fileType, s = _ref4.onUploadProgress, r = _ref4.config;
  9853. if (!("string" !== g(t))) {
  9854. _context2.next = 3;
  9855. break;
  9856. }
  9857. throw new se({
  9858. code: "INVALID_PARAM",
  9859. message: "cloudPath必须为字符串类型"
  9860. });
  9861. case 3:
  9862. if (t = t.trim()) {
  9863. _context2.next = 5;
  9864. break;
  9865. }
  9866. throw new se({
  9867. code: "CLOUDPATH_REQUIRED",
  9868. message: "cloudPath不可为空"
  9869. });
  9870. case 5:
  9871. if (!/:\/\//.test(t)) {
  9872. _context2.next = 7;
  9873. break;
  9874. }
  9875. throw new se({
  9876. code: "INVALID_PARAM",
  9877. message: "cloudPath不合法"
  9878. });
  9879. case 7:
  9880. i = r && r.envType || this.config.envType;
  9881. _context2.next = 10;
  9882. return this.getOSSUploadOptionsFromPath({
  9883. env: i,
  9884. filename: t
  9885. });
  9886. case 10:
  9887. o = _context2.sent.result;
  9888. a = "https://" + o.cdnDomain + "/" + o.ossPath;
  9889. c = o.securityToken;
  9890. u = o.accessKeyId;
  9891. h = o.signature;
  9892. l = o.host;
  9893. d = o.ossPath;
  9894. p = o.id;
  9895. f = o.policy;
  9896. m = o.ossCallbackUrl;
  9897. y = {
  9898. "Cache-Control": "max-age=2592000",
  9899. "Content-Disposition": "attachment",
  9900. OSSAccessKeyId: u,
  9901. Signature: h,
  9902. host: l,
  9903. id: p,
  9904. key: d,
  9905. policy: f,
  9906. success_action_status: 200
  9907. };
  9908. if (c && (y["x-oss-security-token"] = c), m) {
  9909. _e5 = JSON.stringify({
  9910. callbackUrl: m,
  9911. callbackBody: JSON.stringify({
  9912. fileId: p,
  9913. spaceId: this.config.spaceId
  9914. }),
  9915. callbackBodyType: "application/json"
  9916. });
  9917. y.callback = de.toBase64(_e5);
  9918. }
  9919. _ = {
  9920. url: "https://" + o.host,
  9921. formData: y,
  9922. fileName: "file",
  9923. name: "file",
  9924. filePath: e,
  9925. fileType: n
  9926. };
  9927. _context2.next = 25;
  9928. return this.uploadFileToOSS(Object.assign({}, _, {
  9929. onUploadProgress: s
  9930. }));
  9931. case 25:
  9932. if (!m) {
  9933. _context2.next = 27;
  9934. break;
  9935. }
  9936. return _context2.abrupt("return", {
  9937. success: !0,
  9938. filePath: e,
  9939. fileID: a
  9940. });
  9941. case 27:
  9942. _context2.next = 29;
  9943. return this.reportOSSUpload({
  9944. id: p
  9945. });
  9946. case 29:
  9947. if (!_context2.sent.success) {
  9948. _context2.next = 31;
  9949. break;
  9950. }
  9951. return _context2.abrupt("return", {
  9952. success: !0,
  9953. filePath: e,
  9954. fileID: a
  9955. });
  9956. case 31:
  9957. throw new se({
  9958. code: "UPLOAD_FAILED",
  9959. message: "文件上传失败"
  9960. });
  9961. case 32:
  9962. case "end":
  9963. return _context2.stop();
  9964. }
  9965. }
  9966. }, _callee2, this);
  9967. }));
  9968. function uploadFile(_x) {
  9969. return _uploadFile.apply(this, arguments);
  9970. }
  9971. return uploadFile;
  9972. }()
  9973. }, {
  9974. key: "getTempFileURL",
  9975. value: function getTempFileURL() {
  9976. var _ref5 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
  9977. e = _ref5.fileList;
  9978. return new Promise(function (t, n) {
  9979. Array.isArray(e) && 0 !== e.length || n(new se({
  9980. code: "INVALID_PARAM",
  9981. message: "fileList的元素必须是非空的字符串"
  9982. })), t({
  9983. fileList: e.map(function (e) {
  9984. return {
  9985. fileID: e,
  9986. tempFileURL: e
  9987. };
  9988. })
  9989. });
  9990. });
  9991. }
  9992. }, {
  9993. key: "getFileInfo",
  9994. value: function () {
  9995. var _getFileInfo = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee3() {
  9996. var _ref6,
  9997. e,
  9998. t,
  9999. _args3 = arguments;
  10000. return _regenerator.default.wrap(function _callee3$(_context3) {
  10001. while (1) {
  10002. switch (_context3.prev = _context3.next) {
  10003. case 0:
  10004. _ref6 = _args3.length > 0 && _args3[0] !== undefined ? _args3[0] : {}, e = _ref6.fileList;
  10005. if (!(!Array.isArray(e) || 0 === e.length)) {
  10006. _context3.next = 3;
  10007. break;
  10008. }
  10009. throw new se({
  10010. code: "INVALID_PARAM",
  10011. message: "fileList的元素必须是非空的字符串"
  10012. });
  10013. case 3:
  10014. t = {
  10015. method: "serverless.file.resource.info",
  10016. params: JSON.stringify({
  10017. id: e.map(function (e) {
  10018. return e.split("?")[0];
  10019. }).join(",")
  10020. })
  10021. };
  10022. _context3.next = 6;
  10023. return this.request(this.setupRequest(t));
  10024. case 6:
  10025. _context3.t0 = _context3.sent.result;
  10026. return _context3.abrupt("return", {
  10027. fileList: _context3.t0
  10028. });
  10029. case 8:
  10030. case "end":
  10031. return _context3.stop();
  10032. }
  10033. }
  10034. }, _callee3, this);
  10035. }));
  10036. function getFileInfo() {
  10037. return _getFileInfo.apply(this, arguments);
  10038. }
  10039. return getFileInfo;
  10040. }()
  10041. }]);
  10042. return ge;
  10043. }();
  10044. var me = {
  10045. init: function init(e) {
  10046. var t = new ge(e),
  10047. n = {
  10048. signInAnonymously: function signInAnonymously() {
  10049. return t.authorize();
  10050. },
  10051. getLoginState: function getLoginState() {
  10052. return Promise.resolve(!1);
  10053. }
  10054. };
  10055. return t.auth = function () {
  10056. return n;
  10057. }, t.customAuth = t.auth, t;
  10058. }
  10059. };
  10060. var ye = "undefined" != typeof location && "http:" === location.protocol ? "http:" : "https:";
  10061. var _e;
  10062. !function (e) {
  10063. e.local = "local", e.none = "none", e.session = "session";
  10064. }(_e || (_e = {}));
  10065. var we = function we() {};
  10066. var ve = function ve() {
  10067. var e;
  10068. if (!Promise) {
  10069. e = function e() {}, e.promise = {};
  10070. var _t3 = function _t3() {
  10071. throw new se({
  10072. message: 'Your Node runtime does support ES6 Promises. Set "global.Promise" to your preferred implementation of promises.'
  10073. });
  10074. };
  10075. return Object.defineProperty(e.promise, "then", {
  10076. get: _t3
  10077. }), Object.defineProperty(e.promise, "catch", {
  10078. get: _t3
  10079. }), e;
  10080. }
  10081. var t = new Promise(function (t, n) {
  10082. e = function e(_e6, s) {
  10083. return _e6 ? n(_e6) : t(s);
  10084. };
  10085. });
  10086. return e.promise = t, e;
  10087. };
  10088. function Se(e) {
  10089. return void 0 === e;
  10090. }
  10091. function Ie(e) {
  10092. return "[object Null]" === Object.prototype.toString.call(e);
  10093. }
  10094. var be;
  10095. function ke(e) {
  10096. var t = (n = e, "[object Array]" === Object.prototype.toString.call(n) ? e : [e]);
  10097. var n;
  10098. var _iterator = _createForOfIteratorHelper(t),
  10099. _step;
  10100. try {
  10101. for (_iterator.s(); !(_step = _iterator.n()).done;) {
  10102. var _e7 = _step.value;
  10103. var _t4 = _e7.isMatch,
  10104. _n4 = _e7.genAdapter,
  10105. _s4 = _e7.runtime;
  10106. if (_t4()) return {
  10107. adapter: _n4(),
  10108. runtime: _s4
  10109. };
  10110. }
  10111. } catch (err) {
  10112. _iterator.e(err);
  10113. } finally {
  10114. _iterator.f();
  10115. }
  10116. }
  10117. !function (e) {
  10118. e.WEB = "web", e.WX_MP = "wx_mp";
  10119. }(be || (be = {}));
  10120. var Te = {
  10121. adapter: null,
  10122. runtime: void 0
  10123. },
  10124. Ce = ["anonymousUuidKey"];
  10125. var Pe = /*#__PURE__*/function (_we) {
  10126. (0, _inherits2.default)(Pe, _we);
  10127. var _super2 = _createSuper(Pe);
  10128. function Pe() {
  10129. var _this6;
  10130. (0, _classCallCheck2.default)(this, Pe);
  10131. _this6 = _super2.call(this), Te.adapter.root.tcbObject || (Te.adapter.root.tcbObject = {});
  10132. return _this6;
  10133. }
  10134. (0, _createClass2.default)(Pe, [{
  10135. key: "setItem",
  10136. value: function setItem(e, t) {
  10137. Te.adapter.root.tcbObject[e] = t;
  10138. }
  10139. }, {
  10140. key: "getItem",
  10141. value: function getItem(e) {
  10142. return Te.adapter.root.tcbObject[e];
  10143. }
  10144. }, {
  10145. key: "removeItem",
  10146. value: function removeItem(e) {
  10147. delete Te.adapter.root.tcbObject[e];
  10148. }
  10149. }, {
  10150. key: "clear",
  10151. value: function clear() {
  10152. delete Te.adapter.root.tcbObject;
  10153. }
  10154. }]);
  10155. return Pe;
  10156. }(we);
  10157. function Ae(e, t) {
  10158. switch (e) {
  10159. case "local":
  10160. return t.localStorage || new Pe();
  10161. case "none":
  10162. return new Pe();
  10163. default:
  10164. return t.sessionStorage || new Pe();
  10165. }
  10166. }
  10167. var Ee = /*#__PURE__*/function () {
  10168. function Ee(e) {
  10169. (0, _classCallCheck2.default)(this, Ee);
  10170. if (!this._storage) {
  10171. this._persistence = Te.adapter.primaryStorage || e.persistence, this._storage = Ae(this._persistence, Te.adapter);
  10172. var _t5 = "access_token_".concat(e.env),
  10173. _n5 = "access_token_expire_".concat(e.env),
  10174. _s5 = "refresh_token_".concat(e.env),
  10175. _r = "anonymous_uuid_".concat(e.env),
  10176. _i = "login_type_".concat(e.env),
  10177. _o = "user_info_".concat(e.env);
  10178. this.keys = {
  10179. accessTokenKey: _t5,
  10180. accessTokenExpireKey: _n5,
  10181. refreshTokenKey: _s5,
  10182. anonymousUuidKey: _r,
  10183. loginTypeKey: _i,
  10184. userInfoKey: _o
  10185. };
  10186. }
  10187. }
  10188. (0, _createClass2.default)(Ee, [{
  10189. key: "updatePersistence",
  10190. value: function updatePersistence(e) {
  10191. if (e === this._persistence) return;
  10192. var t = "local" === this._persistence;
  10193. this._persistence = e;
  10194. var n = Ae(e, Te.adapter);
  10195. for (var _e8 in this.keys) {
  10196. var _s6 = this.keys[_e8];
  10197. if (t && Ce.includes(_e8)) continue;
  10198. var _r2 = this._storage.getItem(_s6);
  10199. Se(_r2) || Ie(_r2) || (n.setItem(_s6, _r2), this._storage.removeItem(_s6));
  10200. }
  10201. this._storage = n;
  10202. }
  10203. }, {
  10204. key: "setStore",
  10205. value: function setStore(e, t, n) {
  10206. if (!this._storage) return;
  10207. var s = {
  10208. version: n || "localCachev1",
  10209. content: t
  10210. },
  10211. r = JSON.stringify(s);
  10212. try {
  10213. this._storage.setItem(e, r);
  10214. } catch (e) {
  10215. throw e;
  10216. }
  10217. }
  10218. }, {
  10219. key: "getStore",
  10220. value: function getStore(e, t) {
  10221. try {
  10222. if (!this._storage) return;
  10223. } catch (e) {
  10224. return "";
  10225. }
  10226. t = t || "localCachev1";
  10227. var n = this._storage.getItem(e);
  10228. if (!n) return "";
  10229. if (n.indexOf(t) >= 0) {
  10230. return JSON.parse(n).content;
  10231. }
  10232. return "";
  10233. }
  10234. }, {
  10235. key: "removeStore",
  10236. value: function removeStore(e) {
  10237. this._storage.removeItem(e);
  10238. }
  10239. }]);
  10240. return Ee;
  10241. }();
  10242. var Oe = {},
  10243. xe = {};
  10244. function Re(e) {
  10245. return Oe[e];
  10246. }
  10247. var Ue = /*#__PURE__*/(0, _createClass2.default)(function Ue(e, t) {
  10248. (0, _classCallCheck2.default)(this, Ue);
  10249. this.data = t || null, this.name = e;
  10250. });
  10251. var Le = /*#__PURE__*/function (_Ue) {
  10252. (0, _inherits2.default)(Le, _Ue);
  10253. var _super3 = _createSuper(Le);
  10254. function Le(e, t) {
  10255. var _this7;
  10256. (0, _classCallCheck2.default)(this, Le);
  10257. _this7 = _super3.call(this, "error", {
  10258. error: e,
  10259. data: t
  10260. }), _this7.error = e;
  10261. return _this7;
  10262. }
  10263. return (0, _createClass2.default)(Le);
  10264. }(Ue);
  10265. var Ne = new ( /*#__PURE__*/function () {
  10266. function _class() {
  10267. (0, _classCallCheck2.default)(this, _class);
  10268. this._listeners = {};
  10269. }
  10270. (0, _createClass2.default)(_class, [{
  10271. key: "on",
  10272. value: function on(e, t) {
  10273. return function (e, t, n) {
  10274. n[e] = n[e] || [], n[e].push(t);
  10275. }(e, t, this._listeners), this;
  10276. }
  10277. }, {
  10278. key: "off",
  10279. value: function off(e, t) {
  10280. return function (e, t, n) {
  10281. if (n && n[e]) {
  10282. var _s7 = n[e].indexOf(t);
  10283. -1 !== _s7 && n[e].splice(_s7, 1);
  10284. }
  10285. }(e, t, this._listeners), this;
  10286. }
  10287. }, {
  10288. key: "fire",
  10289. value: function fire(e, t) {
  10290. if (e instanceof Le) return console.error(e.error), this;
  10291. var n = "string" == typeof e ? new Ue(e, t || {}) : e;
  10292. var s = n.name;
  10293. if (this._listens(s)) {
  10294. n.target = this;
  10295. var _e9 = this._listeners[s] ? (0, _toConsumableArray2.default)(this._listeners[s]) : [];
  10296. var _iterator2 = _createForOfIteratorHelper(_e9),
  10297. _step2;
  10298. try {
  10299. for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
  10300. var _t6 = _step2.value;
  10301. _t6.call(this, n);
  10302. }
  10303. } catch (err) {
  10304. _iterator2.e(err);
  10305. } finally {
  10306. _iterator2.f();
  10307. }
  10308. }
  10309. return this;
  10310. }
  10311. }, {
  10312. key: "_listens",
  10313. value: function _listens(e) {
  10314. return this._listeners[e] && this._listeners[e].length > 0;
  10315. }
  10316. }]);
  10317. return _class;
  10318. }())();
  10319. function De(e, t) {
  10320. Ne.on(e, t);
  10321. }
  10322. function Fe(e) {
  10323. var t = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  10324. Ne.fire(e, t);
  10325. }
  10326. function qe(e, t) {
  10327. Ne.off(e, t);
  10328. }
  10329. var Me = "loginStateChanged",
  10330. Ke = "loginStateExpire",
  10331. je = "loginTypeChanged",
  10332. Be = "anonymousConverted",
  10333. $e = "refreshAccessToken";
  10334. var We;
  10335. !function (e) {
  10336. e.ANONYMOUS = "ANONYMOUS", e.WECHAT = "WECHAT", e.WECHAT_PUBLIC = "WECHAT-PUBLIC", e.WECHAT_OPEN = "WECHAT-OPEN", e.CUSTOM = "CUSTOM", e.EMAIL = "EMAIL", e.USERNAME = "USERNAME", e.NULL = "NULL";
  10337. }(We || (We = {}));
  10338. var ze = ["auth.getJwt", "auth.logout", "auth.signInWithTicket", "auth.signInAnonymously", "auth.signIn", "auth.fetchAccessTokenWithRefreshToken", "auth.signUpWithEmailAndPassword", "auth.activateEndUserMail", "auth.sendPasswordResetEmail", "auth.resetPasswordWithToken", "auth.isUsernameRegistered"],
  10339. Je = {
  10340. "X-SDK-Version": "1.3.5"
  10341. };
  10342. function He(e, t, n) {
  10343. var s = e[t];
  10344. e[t] = function (t) {
  10345. var r = {},
  10346. i = {};
  10347. n.forEach(function (n) {
  10348. var _n$call = n.call(e, t),
  10349. s = _n$call.data,
  10350. o = _n$call.headers;
  10351. Object.assign(r, s), Object.assign(i, o);
  10352. });
  10353. var o = t.data;
  10354. return o && function () {
  10355. var e;
  10356. if (e = o, "[object FormData]" !== Object.prototype.toString.call(e)) t.data = _objectSpread(_objectSpread({}, o), r);else for (var _e10 in r) {
  10357. o.append(_e10, r[_e10]);
  10358. }
  10359. }(), t.headers = _objectSpread(_objectSpread({}, t.headers || {}), i), s.call(e, t);
  10360. };
  10361. }
  10362. function Ge() {
  10363. var e = Math.random().toString(16).slice(2);
  10364. return {
  10365. data: {
  10366. seqId: e
  10367. },
  10368. headers: _objectSpread(_objectSpread({}, Je), {}, {
  10369. "x-seqid": e
  10370. })
  10371. };
  10372. }
  10373. var Ve = /*#__PURE__*/function () {
  10374. function Ve() {
  10375. var e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  10376. (0, _classCallCheck2.default)(this, Ve);
  10377. var t;
  10378. this.config = e, this._reqClass = new Te.adapter.reqClass({
  10379. timeout: this.config.timeout,
  10380. timeoutMsg: "\u8BF7\u6C42\u5728".concat(this.config.timeout / 1e3, "s\u5185\u672A\u5B8C\u6210\uFF0C\u5DF2\u4E2D\u65AD"),
  10381. restrictedMethods: ["post"]
  10382. }), this._cache = Re(this.config.env), this._localCache = (t = this.config.env, xe[t]), He(this._reqClass, "post", [Ge]), He(this._reqClass, "upload", [Ge]), He(this._reqClass, "download", [Ge]);
  10383. }
  10384. (0, _createClass2.default)(Ve, [{
  10385. key: "post",
  10386. value: function () {
  10387. var _post = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee4(e) {
  10388. return _regenerator.default.wrap(function _callee4$(_context4) {
  10389. while (1) {
  10390. switch (_context4.prev = _context4.next) {
  10391. case 0:
  10392. _context4.next = 2;
  10393. return this._reqClass.post(e);
  10394. case 2:
  10395. return _context4.abrupt("return", _context4.sent);
  10396. case 3:
  10397. case "end":
  10398. return _context4.stop();
  10399. }
  10400. }
  10401. }, _callee4, this);
  10402. }));
  10403. function post(_x2) {
  10404. return _post.apply(this, arguments);
  10405. }
  10406. return post;
  10407. }()
  10408. }, {
  10409. key: "upload",
  10410. value: function () {
  10411. var _upload = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee5(e) {
  10412. return _regenerator.default.wrap(function _callee5$(_context5) {
  10413. while (1) {
  10414. switch (_context5.prev = _context5.next) {
  10415. case 0:
  10416. _context5.next = 2;
  10417. return this._reqClass.upload(e);
  10418. case 2:
  10419. return _context5.abrupt("return", _context5.sent);
  10420. case 3:
  10421. case "end":
  10422. return _context5.stop();
  10423. }
  10424. }
  10425. }, _callee5, this);
  10426. }));
  10427. function upload(_x3) {
  10428. return _upload.apply(this, arguments);
  10429. }
  10430. return upload;
  10431. }()
  10432. }, {
  10433. key: "download",
  10434. value: function () {
  10435. var _download = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee6(e) {
  10436. return _regenerator.default.wrap(function _callee6$(_context6) {
  10437. while (1) {
  10438. switch (_context6.prev = _context6.next) {
  10439. case 0:
  10440. _context6.next = 2;
  10441. return this._reqClass.download(e);
  10442. case 2:
  10443. return _context6.abrupt("return", _context6.sent);
  10444. case 3:
  10445. case "end":
  10446. return _context6.stop();
  10447. }
  10448. }
  10449. }, _callee6, this);
  10450. }));
  10451. function download(_x4) {
  10452. return _download.apply(this, arguments);
  10453. }
  10454. return download;
  10455. }()
  10456. }, {
  10457. key: "refreshAccessToken",
  10458. value: function () {
  10459. var _refreshAccessToken2 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee7() {
  10460. var e, t;
  10461. return _regenerator.default.wrap(function _callee7$(_context7) {
  10462. while (1) {
  10463. switch (_context7.prev = _context7.next) {
  10464. case 0:
  10465. this._refreshAccessTokenPromise || (this._refreshAccessTokenPromise = this._refreshAccessToken());
  10466. _context7.prev = 1;
  10467. _context7.next = 4;
  10468. return this._refreshAccessTokenPromise;
  10469. case 4:
  10470. e = _context7.sent;
  10471. _context7.next = 10;
  10472. break;
  10473. case 7:
  10474. _context7.prev = 7;
  10475. _context7.t0 = _context7["catch"](1);
  10476. t = _context7.t0;
  10477. case 10:
  10478. if (!(this._refreshAccessTokenPromise = null, this._shouldRefreshAccessTokenHook = null, t)) {
  10479. _context7.next = 12;
  10480. break;
  10481. }
  10482. throw t;
  10483. case 12:
  10484. return _context7.abrupt("return", e);
  10485. case 13:
  10486. case "end":
  10487. return _context7.stop();
  10488. }
  10489. }
  10490. }, _callee7, this, [[1, 7]]);
  10491. }));
  10492. function refreshAccessToken() {
  10493. return _refreshAccessToken2.apply(this, arguments);
  10494. }
  10495. return refreshAccessToken;
  10496. }()
  10497. }, {
  10498. key: "_refreshAccessToken",
  10499. value: function () {
  10500. var _refreshAccessToken3 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee8() {
  10501. var _this$_cache$keys, e, t, n, s, r, i, o, a, _e11, _e12, _t7, _s8;
  10502. return _regenerator.default.wrap(function _callee8$(_context8) {
  10503. while (1) {
  10504. switch (_context8.prev = _context8.next) {
  10505. case 0:
  10506. _this$_cache$keys = this._cache.keys, e = _this$_cache$keys.accessTokenKey, t = _this$_cache$keys.accessTokenExpireKey, n = _this$_cache$keys.refreshTokenKey, s = _this$_cache$keys.loginTypeKey, r = _this$_cache$keys.anonymousUuidKey;
  10507. this._cache.removeStore(e), this._cache.removeStore(t);
  10508. i = this._cache.getStore(n);
  10509. if (i) {
  10510. _context8.next = 5;
  10511. break;
  10512. }
  10513. throw new se({
  10514. message: "未登录CloudBase"
  10515. });
  10516. case 5:
  10517. o = {
  10518. refresh_token: i
  10519. };
  10520. _context8.next = 8;
  10521. return this.request("auth.fetchAccessTokenWithRefreshToken", o);
  10522. case 8:
  10523. a = _context8.sent;
  10524. if (!a.data.code) {
  10525. _context8.next = 21;
  10526. break;
  10527. }
  10528. _e11 = a.data.code;
  10529. if (!("SIGN_PARAM_INVALID" === _e11 || "REFRESH_TOKEN_EXPIRED" === _e11 || "INVALID_REFRESH_TOKEN" === _e11)) {
  10530. _context8.next = 20;
  10531. break;
  10532. }
  10533. if (!(this._cache.getStore(s) === We.ANONYMOUS && "INVALID_REFRESH_TOKEN" === _e11)) {
  10534. _context8.next = 19;
  10535. break;
  10536. }
  10537. _e12 = this._cache.getStore(r);
  10538. _t7 = this._cache.getStore(n);
  10539. _context8.next = 17;
  10540. return this.send("auth.signInAnonymously", {
  10541. anonymous_uuid: _e12,
  10542. refresh_token: _t7
  10543. });
  10544. case 17:
  10545. _s8 = _context8.sent;
  10546. return _context8.abrupt("return", (this.setRefreshToken(_s8.refresh_token), this._refreshAccessToken()));
  10547. case 19:
  10548. Fe(Ke), this._cache.removeStore(n);
  10549. case 20:
  10550. throw new se({
  10551. code: a.data.code,
  10552. message: "\u5237\u65B0access token\u5931\u8D25\uFF1A".concat(a.data.code)
  10553. });
  10554. case 21:
  10555. if (!a.data.access_token) {
  10556. _context8.next = 23;
  10557. break;
  10558. }
  10559. return _context8.abrupt("return", (Fe($e), this._cache.setStore(e, a.data.access_token), this._cache.setStore(t, a.data.access_token_expire + Date.now()), {
  10560. accessToken: a.data.access_token,
  10561. accessTokenExpire: a.data.access_token_expire
  10562. }));
  10563. case 23:
  10564. a.data.refresh_token && (this._cache.removeStore(n), this._cache.setStore(n, a.data.refresh_token), this._refreshAccessToken());
  10565. case 24:
  10566. case "end":
  10567. return _context8.stop();
  10568. }
  10569. }
  10570. }, _callee8, this);
  10571. }));
  10572. function _refreshAccessToken() {
  10573. return _refreshAccessToken3.apply(this, arguments);
  10574. }
  10575. return _refreshAccessToken;
  10576. }()
  10577. }, {
  10578. key: "getAccessToken",
  10579. value: function () {
  10580. var _getAccessToken = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee9() {
  10581. var _this$_cache$keys2, e, t, n, s, r, i;
  10582. return _regenerator.default.wrap(function _callee9$(_context9) {
  10583. while (1) {
  10584. switch (_context9.prev = _context9.next) {
  10585. case 0:
  10586. _this$_cache$keys2 = this._cache.keys, e = _this$_cache$keys2.accessTokenKey, t = _this$_cache$keys2.accessTokenExpireKey, n = _this$_cache$keys2.refreshTokenKey;
  10587. if (this._cache.getStore(n)) {
  10588. _context9.next = 3;
  10589. break;
  10590. }
  10591. throw new se({
  10592. message: "refresh token不存在,登录状态异常"
  10593. });
  10594. case 3:
  10595. s = this._cache.getStore(e), r = this._cache.getStore(t), i = !0;
  10596. _context9.t0 = this._shouldRefreshAccessTokenHook;
  10597. if (!_context9.t0) {
  10598. _context9.next = 9;
  10599. break;
  10600. }
  10601. _context9.next = 8;
  10602. return this._shouldRefreshAccessTokenHook(s, r);
  10603. case 8:
  10604. _context9.t0 = !_context9.sent;
  10605. case 9:
  10606. _context9.t1 = _context9.t0;
  10607. if (!_context9.t1) {
  10608. _context9.next = 12;
  10609. break;
  10610. }
  10611. i = !1;
  10612. case 12:
  10613. return _context9.abrupt("return", (!s || !r || r < Date.now()) && i ? this.refreshAccessToken() : {
  10614. accessToken: s,
  10615. accessTokenExpire: r
  10616. });
  10617. case 13:
  10618. case "end":
  10619. return _context9.stop();
  10620. }
  10621. }
  10622. }, _callee9, this);
  10623. }));
  10624. function getAccessToken() {
  10625. return _getAccessToken.apply(this, arguments);
  10626. }
  10627. return getAccessToken;
  10628. }()
  10629. }, {
  10630. key: "request",
  10631. value: function () {
  10632. var _request = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee10(e, t, n) {
  10633. var s, r, i, _e13, o, _e14, _e15, a, c, u, h, l, d, p, f, g;
  10634. return _regenerator.default.wrap(function _callee10$(_context10) {
  10635. while (1) {
  10636. switch (_context10.prev = _context10.next) {
  10637. case 0:
  10638. s = "x-tcb-trace_".concat(this.config.env);
  10639. r = "application/x-www-form-urlencoded";
  10640. i = _objectSpread({
  10641. action: e,
  10642. env: this.config.env,
  10643. dataVersion: "2019-08-16"
  10644. }, t);
  10645. if (!(-1 === ze.indexOf(e))) {
  10646. _context10.next = 10;
  10647. break;
  10648. }
  10649. _e13 = this._cache.keys.refreshTokenKey;
  10650. _context10.t0 = this._cache.getStore(_e13);
  10651. if (!_context10.t0) {
  10652. _context10.next = 10;
  10653. break;
  10654. }
  10655. _context10.next = 9;
  10656. return this.getAccessToken();
  10657. case 9:
  10658. i.access_token = _context10.sent.accessToken;
  10659. case 10:
  10660. if ("storage.uploadFile" === e) {
  10661. o = new FormData();
  10662. for (_e14 in o) {
  10663. o.hasOwnProperty(_e14) && void 0 !== o[_e14] && o.append(_e14, i[_e14]);
  10664. }
  10665. r = "multipart/form-data";
  10666. } else {
  10667. r = "application/json", o = {};
  10668. for (_e15 in i) {
  10669. void 0 !== i[_e15] && (o[_e15] = i[_e15]);
  10670. }
  10671. }
  10672. a = {
  10673. headers: {
  10674. "content-type": r
  10675. }
  10676. };
  10677. n && n.onUploadProgress && (a.onUploadProgress = n.onUploadProgress);
  10678. c = this._localCache.getStore(s);
  10679. c && (a.headers["X-TCB-Trace"] = c);
  10680. u = t.parse, h = t.inQuery, l = t.search;
  10681. d = {
  10682. env: this.config.env
  10683. };
  10684. u && (d.parse = !0), h && (d = _objectSpread(_objectSpread({}, h), d));
  10685. p = function (e, t) {
  10686. var n = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
  10687. var s = /\?/.test(t);
  10688. var r = "";
  10689. for (var _e16 in n) {
  10690. "" === r ? !s && (t += "?") : r += "&", r += "".concat(_e16, "=").concat(encodeURIComponent(n[_e16]));
  10691. }
  10692. return /^http(s)?\:\/\//.test(t += r) ? t : "".concat(e).concat(t);
  10693. }(ye, "//tcb-api.tencentcloudapi.com/web", d);
  10694. l && (p += l);
  10695. _context10.next = 22;
  10696. return this.post(_objectSpread({
  10697. url: p,
  10698. data: o
  10699. }, a));
  10700. case 22:
  10701. f = _context10.sent;
  10702. g = f.header && f.header["x-tcb-trace"];
  10703. if (!(g && this._localCache.setStore(s, g), 200 !== Number(f.status) && 200 !== Number(f.statusCode) || !f.data)) {
  10704. _context10.next = 26;
  10705. break;
  10706. }
  10707. throw new se({
  10708. code: "NETWORK_ERROR",
  10709. message: "network request error"
  10710. });
  10711. case 26:
  10712. return _context10.abrupt("return", f);
  10713. case 27:
  10714. case "end":
  10715. return _context10.stop();
  10716. }
  10717. }
  10718. }, _callee10, this);
  10719. }));
  10720. function request(_x5, _x6, _x7) {
  10721. return _request.apply(this, arguments);
  10722. }
  10723. return request;
  10724. }()
  10725. }, {
  10726. key: "send",
  10727. value: function () {
  10728. var _send = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee11(e) {
  10729. var t,
  10730. n,
  10731. _n6,
  10732. _args11 = arguments;
  10733. return _regenerator.default.wrap(function _callee11$(_context11) {
  10734. while (1) {
  10735. switch (_context11.prev = _context11.next) {
  10736. case 0:
  10737. t = _args11.length > 1 && _args11[1] !== undefined ? _args11[1] : {};
  10738. _context11.next = 3;
  10739. return this.request(e, t, {
  10740. onUploadProgress: t.onUploadProgress
  10741. });
  10742. case 3:
  10743. n = _context11.sent;
  10744. if (!("ACCESS_TOKEN_EXPIRED" === n.data.code && -1 === ze.indexOf(e))) {
  10745. _context11.next = 13;
  10746. break;
  10747. }
  10748. _context11.next = 7;
  10749. return this.refreshAccessToken();
  10750. case 7:
  10751. _context11.next = 9;
  10752. return this.request(e, t, {
  10753. onUploadProgress: t.onUploadProgress
  10754. });
  10755. case 9:
  10756. _n6 = _context11.sent;
  10757. if (!_n6.data.code) {
  10758. _context11.next = 12;
  10759. break;
  10760. }
  10761. throw new se({
  10762. code: _n6.data.code,
  10763. message: _n6.data.message
  10764. });
  10765. case 12:
  10766. return _context11.abrupt("return", _n6.data);
  10767. case 13:
  10768. if (!n.data.code) {
  10769. _context11.next = 15;
  10770. break;
  10771. }
  10772. throw new se({
  10773. code: n.data.code,
  10774. message: n.data.message
  10775. });
  10776. case 15:
  10777. return _context11.abrupt("return", n.data);
  10778. case 16:
  10779. case "end":
  10780. return _context11.stop();
  10781. }
  10782. }
  10783. }, _callee11, this);
  10784. }));
  10785. function send(_x8) {
  10786. return _send.apply(this, arguments);
  10787. }
  10788. return send;
  10789. }()
  10790. }, {
  10791. key: "setRefreshToken",
  10792. value: function setRefreshToken(e) {
  10793. var _this$_cache$keys3 = this._cache.keys,
  10794. t = _this$_cache$keys3.accessTokenKey,
  10795. n = _this$_cache$keys3.accessTokenExpireKey,
  10796. s = _this$_cache$keys3.refreshTokenKey;
  10797. this._cache.removeStore(t), this._cache.removeStore(n), this._cache.setStore(s, e);
  10798. }
  10799. }]);
  10800. return Ve;
  10801. }();
  10802. var Qe = {};
  10803. function Ye(e) {
  10804. return Qe[e];
  10805. }
  10806. var Xe = /*#__PURE__*/function () {
  10807. function Xe(e) {
  10808. (0, _classCallCheck2.default)(this, Xe);
  10809. this.config = e, this._cache = Re(e.env), this._request = Ye(e.env);
  10810. }
  10811. (0, _createClass2.default)(Xe, [{
  10812. key: "setRefreshToken",
  10813. value: function setRefreshToken(e) {
  10814. var _this$_cache$keys4 = this._cache.keys,
  10815. t = _this$_cache$keys4.accessTokenKey,
  10816. n = _this$_cache$keys4.accessTokenExpireKey,
  10817. s = _this$_cache$keys4.refreshTokenKey;
  10818. this._cache.removeStore(t), this._cache.removeStore(n), this._cache.setStore(s, e);
  10819. }
  10820. }, {
  10821. key: "setAccessToken",
  10822. value: function setAccessToken(e, t) {
  10823. var _this$_cache$keys5 = this._cache.keys,
  10824. n = _this$_cache$keys5.accessTokenKey,
  10825. s = _this$_cache$keys5.accessTokenExpireKey;
  10826. this._cache.setStore(n, e), this._cache.setStore(s, t);
  10827. }
  10828. }, {
  10829. key: "refreshUserInfo",
  10830. value: function () {
  10831. var _refreshUserInfo = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee12() {
  10832. var _yield$this$_request$, e;
  10833. return _regenerator.default.wrap(function _callee12$(_context12) {
  10834. while (1) {
  10835. switch (_context12.prev = _context12.next) {
  10836. case 0:
  10837. _context12.next = 2;
  10838. return this._request.send("auth.getUserInfo", {});
  10839. case 2:
  10840. _yield$this$_request$ = _context12.sent;
  10841. e = _yield$this$_request$.data;
  10842. return _context12.abrupt("return", (this.setLocalUserInfo(e), e));
  10843. case 5:
  10844. case "end":
  10845. return _context12.stop();
  10846. }
  10847. }
  10848. }, _callee12, this);
  10849. }));
  10850. function refreshUserInfo() {
  10851. return _refreshUserInfo.apply(this, arguments);
  10852. }
  10853. return refreshUserInfo;
  10854. }()
  10855. }, {
  10856. key: "setLocalUserInfo",
  10857. value: function setLocalUserInfo(e) {
  10858. var t = this._cache.keys.userInfoKey;
  10859. this._cache.setStore(t, e);
  10860. }
  10861. }]);
  10862. return Xe;
  10863. }();
  10864. var Ze = /*#__PURE__*/function () {
  10865. function Ze(e) {
  10866. (0, _classCallCheck2.default)(this, Ze);
  10867. if (!e) throw new se({
  10868. code: "PARAM_ERROR",
  10869. message: "envId is not defined"
  10870. });
  10871. this._envId = e, this._cache = Re(this._envId), this._request = Ye(this._envId), this.setUserInfo();
  10872. }
  10873. (0, _createClass2.default)(Ze, [{
  10874. key: "linkWithTicket",
  10875. value: function linkWithTicket(e) {
  10876. if ("string" != typeof e) throw new se({
  10877. code: "PARAM_ERROR",
  10878. message: "ticket must be string"
  10879. });
  10880. return this._request.send("auth.linkWithTicket", {
  10881. ticket: e
  10882. });
  10883. }
  10884. }, {
  10885. key: "linkWithRedirect",
  10886. value: function linkWithRedirect(e) {
  10887. e.signInWithRedirect();
  10888. }
  10889. }, {
  10890. key: "updatePassword",
  10891. value: function updatePassword(e, t) {
  10892. return this._request.send("auth.updatePassword", {
  10893. oldPassword: t,
  10894. newPassword: e
  10895. });
  10896. }
  10897. }, {
  10898. key: "updateEmail",
  10899. value: function updateEmail(e) {
  10900. return this._request.send("auth.updateEmail", {
  10901. newEmail: e
  10902. });
  10903. }
  10904. }, {
  10905. key: "updateUsername",
  10906. value: function updateUsername(e) {
  10907. if ("string" != typeof e) throw new se({
  10908. code: "PARAM_ERROR",
  10909. message: "username must be a string"
  10910. });
  10911. return this._request.send("auth.updateUsername", {
  10912. username: e
  10913. });
  10914. }
  10915. }, {
  10916. key: "getLinkedUidList",
  10917. value: function () {
  10918. var _getLinkedUidList = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee13() {
  10919. var _yield$this$_request$2, e, t, n;
  10920. return _regenerator.default.wrap(function _callee13$(_context13) {
  10921. while (1) {
  10922. switch (_context13.prev = _context13.next) {
  10923. case 0:
  10924. _context13.next = 2;
  10925. return this._request.send("auth.getLinkedUidList", {});
  10926. case 2:
  10927. _yield$this$_request$2 = _context13.sent;
  10928. e = _yield$this$_request$2.data;
  10929. t = !1;
  10930. n = e.users;
  10931. return _context13.abrupt("return", (n.forEach(function (e) {
  10932. e.wxOpenId && e.wxPublicId && (t = !0);
  10933. }), {
  10934. users: n,
  10935. hasPrimaryUid: t
  10936. }));
  10937. case 7:
  10938. case "end":
  10939. return _context13.stop();
  10940. }
  10941. }
  10942. }, _callee13, this);
  10943. }));
  10944. function getLinkedUidList() {
  10945. return _getLinkedUidList.apply(this, arguments);
  10946. }
  10947. return getLinkedUidList;
  10948. }()
  10949. }, {
  10950. key: "setPrimaryUid",
  10951. value: function setPrimaryUid(e) {
  10952. return this._request.send("auth.setPrimaryUid", {
  10953. uid: e
  10954. });
  10955. }
  10956. }, {
  10957. key: "unlink",
  10958. value: function unlink(e) {
  10959. return this._request.send("auth.unlink", {
  10960. platform: e
  10961. });
  10962. }
  10963. }, {
  10964. key: "update",
  10965. value: function () {
  10966. var _update = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee14(e) {
  10967. var t, n, s, r, i, o, _yield$this$_request$3, a;
  10968. return _regenerator.default.wrap(function _callee14$(_context14) {
  10969. while (1) {
  10970. switch (_context14.prev = _context14.next) {
  10971. case 0:
  10972. t = e.nickName;
  10973. n = e.gender;
  10974. s = e.avatarUrl;
  10975. r = e.province;
  10976. i = e.country;
  10977. o = e.city;
  10978. _context14.next = 8;
  10979. return this._request.send("auth.updateUserInfo", {
  10980. nickName: t,
  10981. gender: n,
  10982. avatarUrl: s,
  10983. province: r,
  10984. country: i,
  10985. city: o
  10986. });
  10987. case 8:
  10988. _yield$this$_request$3 = _context14.sent;
  10989. a = _yield$this$_request$3.data;
  10990. this.setLocalUserInfo(a);
  10991. case 11:
  10992. case "end":
  10993. return _context14.stop();
  10994. }
  10995. }
  10996. }, _callee14, this);
  10997. }));
  10998. function update(_x9) {
  10999. return _update.apply(this, arguments);
  11000. }
  11001. return update;
  11002. }()
  11003. }, {
  11004. key: "refresh",
  11005. value: function () {
  11006. var _refresh = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee15() {
  11007. var _yield$this$_request$4, e;
  11008. return _regenerator.default.wrap(function _callee15$(_context15) {
  11009. while (1) {
  11010. switch (_context15.prev = _context15.next) {
  11011. case 0:
  11012. _context15.next = 2;
  11013. return this._request.send("auth.getUserInfo", {});
  11014. case 2:
  11015. _yield$this$_request$4 = _context15.sent;
  11016. e = _yield$this$_request$4.data;
  11017. return _context15.abrupt("return", (this.setLocalUserInfo(e), e));
  11018. case 5:
  11019. case "end":
  11020. return _context15.stop();
  11021. }
  11022. }
  11023. }, _callee15, this);
  11024. }));
  11025. function refresh() {
  11026. return _refresh.apply(this, arguments);
  11027. }
  11028. return refresh;
  11029. }()
  11030. }, {
  11031. key: "setUserInfo",
  11032. value: function setUserInfo() {
  11033. var _this8 = this;
  11034. var e = this._cache.keys.userInfoKey,
  11035. t = this._cache.getStore(e);
  11036. ["uid", "loginType", "openid", "wxOpenId", "wxPublicId", "unionId", "qqMiniOpenId", "email", "hasPassword", "customUserId", "nickName", "gender", "avatarUrl"].forEach(function (e) {
  11037. _this8[e] = t[e];
  11038. }), this.location = {
  11039. country: t.country,
  11040. province: t.province,
  11041. city: t.city
  11042. };
  11043. }
  11044. }, {
  11045. key: "setLocalUserInfo",
  11046. value: function setLocalUserInfo(e) {
  11047. var t = this._cache.keys.userInfoKey;
  11048. this._cache.setStore(t, e), this.setUserInfo();
  11049. }
  11050. }]);
  11051. return Ze;
  11052. }();
  11053. var et = /*#__PURE__*/function () {
  11054. function et(e) {
  11055. (0, _classCallCheck2.default)(this, et);
  11056. if (!e) throw new se({
  11057. code: "PARAM_ERROR",
  11058. message: "envId is not defined"
  11059. });
  11060. this._cache = Re(e);
  11061. var _this$_cache$keys6 = this._cache.keys,
  11062. t = _this$_cache$keys6.refreshTokenKey,
  11063. n = _this$_cache$keys6.accessTokenKey,
  11064. s = _this$_cache$keys6.accessTokenExpireKey,
  11065. r = this._cache.getStore(t),
  11066. i = this._cache.getStore(n),
  11067. o = this._cache.getStore(s);
  11068. this.credential = {
  11069. refreshToken: r,
  11070. accessToken: i,
  11071. accessTokenExpire: o
  11072. }, this.user = new Ze(e);
  11073. }
  11074. (0, _createClass2.default)(et, [{
  11075. key: "isAnonymousAuth",
  11076. get: function get() {
  11077. return this.loginType === We.ANONYMOUS;
  11078. }
  11079. }, {
  11080. key: "isCustomAuth",
  11081. get: function get() {
  11082. return this.loginType === We.CUSTOM;
  11083. }
  11084. }, {
  11085. key: "isWeixinAuth",
  11086. get: function get() {
  11087. return this.loginType === We.WECHAT || this.loginType === We.WECHAT_OPEN || this.loginType === We.WECHAT_PUBLIC;
  11088. }
  11089. }, {
  11090. key: "loginType",
  11091. get: function get() {
  11092. return this._cache.getStore(this._cache.keys.loginTypeKey);
  11093. }
  11094. }]);
  11095. return et;
  11096. }();
  11097. var tt = /*#__PURE__*/function (_Xe) {
  11098. (0, _inherits2.default)(tt, _Xe);
  11099. var _super4 = _createSuper(tt);
  11100. function tt() {
  11101. (0, _classCallCheck2.default)(this, tt);
  11102. return _super4.apply(this, arguments);
  11103. }
  11104. (0, _createClass2.default)(tt, [{
  11105. key: "signIn",
  11106. value: function () {
  11107. var _signIn = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee16() {
  11108. var _this$_cache$keys7, e, t, n, s, r, _e17;
  11109. return _regenerator.default.wrap(function _callee16$(_context16) {
  11110. while (1) {
  11111. switch (_context16.prev = _context16.next) {
  11112. case 0:
  11113. this._cache.updatePersistence("local");
  11114. _this$_cache$keys7 = this._cache.keys;
  11115. e = _this$_cache$keys7.anonymousUuidKey;
  11116. t = _this$_cache$keys7.refreshTokenKey;
  11117. n = this._cache.getStore(e) || void 0;
  11118. s = this._cache.getStore(t) || void 0;
  11119. _context16.next = 8;
  11120. return this._request.send("auth.signInAnonymously", {
  11121. anonymous_uuid: n,
  11122. refresh_token: s
  11123. });
  11124. case 8:
  11125. r = _context16.sent;
  11126. if (!(r.uuid && r.refresh_token)) {
  11127. _context16.next = 20;
  11128. break;
  11129. }
  11130. this._setAnonymousUUID(r.uuid);
  11131. this.setRefreshToken(r.refresh_token);
  11132. _context16.next = 14;
  11133. return this._request.refreshAccessToken();
  11134. case 14:
  11135. Fe(Me);
  11136. Fe(je, {
  11137. env: this.config.env,
  11138. loginType: We.ANONYMOUS,
  11139. persistence: "local"
  11140. });
  11141. _e17 = new et(this.config.env);
  11142. _context16.next = 19;
  11143. return _e17.user.refresh();
  11144. case 19:
  11145. return _context16.abrupt("return", _e17);
  11146. case 20:
  11147. throw new se({
  11148. message: "匿名登录失败"
  11149. });
  11150. case 21:
  11151. case "end":
  11152. return _context16.stop();
  11153. }
  11154. }
  11155. }, _callee16, this);
  11156. }));
  11157. function signIn() {
  11158. return _signIn.apply(this, arguments);
  11159. }
  11160. return signIn;
  11161. }()
  11162. }, {
  11163. key: "linkAndRetrieveDataWithTicket",
  11164. value: function () {
  11165. var _linkAndRetrieveDataWithTicket = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee17(e) {
  11166. var _this$_cache$keys8, t, n, s, r, i;
  11167. return _regenerator.default.wrap(function _callee17$(_context17) {
  11168. while (1) {
  11169. switch (_context17.prev = _context17.next) {
  11170. case 0:
  11171. _this$_cache$keys8 = this._cache.keys;
  11172. t = _this$_cache$keys8.anonymousUuidKey;
  11173. n = _this$_cache$keys8.refreshTokenKey;
  11174. s = this._cache.getStore(t);
  11175. r = this._cache.getStore(n);
  11176. _context17.next = 7;
  11177. return this._request.send("auth.linkAndRetrieveDataWithTicket", {
  11178. anonymous_uuid: s,
  11179. refresh_token: r,
  11180. ticket: e
  11181. });
  11182. case 7:
  11183. i = _context17.sent;
  11184. if (!i.refresh_token) {
  11185. _context17.next = 16;
  11186. break;
  11187. }
  11188. this._clearAnonymousUUID();
  11189. this.setRefreshToken(i.refresh_token);
  11190. _context17.next = 13;
  11191. return this._request.refreshAccessToken();
  11192. case 13:
  11193. Fe(Be, {
  11194. env: this.config.env
  11195. });
  11196. Fe(je, {
  11197. loginType: We.CUSTOM,
  11198. persistence: "local"
  11199. });
  11200. return _context17.abrupt("return", {
  11201. credential: {
  11202. refreshToken: i.refresh_token
  11203. }
  11204. });
  11205. case 16:
  11206. throw new se({
  11207. message: "匿名转化失败"
  11208. });
  11209. case 17:
  11210. case "end":
  11211. return _context17.stop();
  11212. }
  11213. }
  11214. }, _callee17, this);
  11215. }));
  11216. function linkAndRetrieveDataWithTicket(_x10) {
  11217. return _linkAndRetrieveDataWithTicket.apply(this, arguments);
  11218. }
  11219. return linkAndRetrieveDataWithTicket;
  11220. }()
  11221. }, {
  11222. key: "_setAnonymousUUID",
  11223. value: function _setAnonymousUUID(e) {
  11224. var _this$_cache$keys9 = this._cache.keys,
  11225. t = _this$_cache$keys9.anonymousUuidKey,
  11226. n = _this$_cache$keys9.loginTypeKey;
  11227. this._cache.removeStore(t), this._cache.setStore(t, e), this._cache.setStore(n, We.ANONYMOUS);
  11228. }
  11229. }, {
  11230. key: "_clearAnonymousUUID",
  11231. value: function _clearAnonymousUUID() {
  11232. this._cache.removeStore(this._cache.keys.anonymousUuidKey);
  11233. }
  11234. }]);
  11235. return tt;
  11236. }(Xe);
  11237. var nt = /*#__PURE__*/function (_Xe2) {
  11238. (0, _inherits2.default)(nt, _Xe2);
  11239. var _super5 = _createSuper(nt);
  11240. function nt() {
  11241. (0, _classCallCheck2.default)(this, nt);
  11242. return _super5.apply(this, arguments);
  11243. }
  11244. (0, _createClass2.default)(nt, [{
  11245. key: "signIn",
  11246. value: function () {
  11247. var _signIn2 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee18(e) {
  11248. var t, n;
  11249. return _regenerator.default.wrap(function _callee18$(_context18) {
  11250. while (1) {
  11251. switch (_context18.prev = _context18.next) {
  11252. case 0:
  11253. if (!("string" != typeof e)) {
  11254. _context18.next = 2;
  11255. break;
  11256. }
  11257. throw new se({
  11258. code: "PARAM_ERROR",
  11259. message: "ticket must be a string"
  11260. });
  11261. case 2:
  11262. t = this._cache.keys.refreshTokenKey;
  11263. _context18.next = 5;
  11264. return this._request.send("auth.signInWithTicket", {
  11265. ticket: e,
  11266. refresh_token: this._cache.getStore(t) || ""
  11267. });
  11268. case 5:
  11269. n = _context18.sent;
  11270. if (!n.refresh_token) {
  11271. _context18.next = 15;
  11272. break;
  11273. }
  11274. this.setRefreshToken(n.refresh_token);
  11275. _context18.next = 10;
  11276. return this._request.refreshAccessToken();
  11277. case 10:
  11278. Fe(Me);
  11279. Fe(je, {
  11280. env: this.config.env,
  11281. loginType: We.CUSTOM,
  11282. persistence: this.config.persistence
  11283. });
  11284. _context18.next = 14;
  11285. return this.refreshUserInfo();
  11286. case 14:
  11287. return _context18.abrupt("return", new et(this.config.env));
  11288. case 15:
  11289. throw new se({
  11290. message: "自定义登录失败"
  11291. });
  11292. case 16:
  11293. case "end":
  11294. return _context18.stop();
  11295. }
  11296. }
  11297. }, _callee18, this);
  11298. }));
  11299. function signIn(_x11) {
  11300. return _signIn2.apply(this, arguments);
  11301. }
  11302. return signIn;
  11303. }()
  11304. }]);
  11305. return nt;
  11306. }(Xe);
  11307. var st = /*#__PURE__*/function (_Xe3) {
  11308. (0, _inherits2.default)(st, _Xe3);
  11309. var _super6 = _createSuper(st);
  11310. function st() {
  11311. (0, _classCallCheck2.default)(this, st);
  11312. return _super6.apply(this, arguments);
  11313. }
  11314. (0, _createClass2.default)(st, [{
  11315. key: "signIn",
  11316. value: function () {
  11317. var _signIn3 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee19(e, t) {
  11318. var n, s, r, i, o;
  11319. return _regenerator.default.wrap(function _callee19$(_context19) {
  11320. while (1) {
  11321. switch (_context19.prev = _context19.next) {
  11322. case 0:
  11323. if (!("string" != typeof e)) {
  11324. _context19.next = 2;
  11325. break;
  11326. }
  11327. throw new se({
  11328. code: "PARAM_ERROR",
  11329. message: "email must be a string"
  11330. });
  11331. case 2:
  11332. n = this._cache.keys.refreshTokenKey;
  11333. _context19.next = 5;
  11334. return this._request.send("auth.signIn", {
  11335. loginType: "EMAIL",
  11336. email: e,
  11337. password: t,
  11338. refresh_token: this._cache.getStore(n) || ""
  11339. });
  11340. case 5:
  11341. s = _context19.sent;
  11342. r = s.refresh_token;
  11343. i = s.access_token;
  11344. o = s.access_token_expire;
  11345. if (!r) {
  11346. _context19.next = 22;
  11347. break;
  11348. }
  11349. this.setRefreshToken(r);
  11350. if (!(i && o)) {
  11351. _context19.next = 15;
  11352. break;
  11353. }
  11354. this.setAccessToken(i, o);
  11355. _context19.next = 17;
  11356. break;
  11357. case 15:
  11358. _context19.next = 17;
  11359. return this._request.refreshAccessToken();
  11360. case 17:
  11361. _context19.next = 19;
  11362. return this.refreshUserInfo();
  11363. case 19:
  11364. Fe(Me);
  11365. Fe(je, {
  11366. env: this.config.env,
  11367. loginType: We.EMAIL,
  11368. persistence: this.config.persistence
  11369. });
  11370. return _context19.abrupt("return", new et(this.config.env));
  11371. case 22:
  11372. throw s.code ? new se({
  11373. code: s.code,
  11374. message: "\u90AE\u7BB1\u767B\u5F55\u5931\u8D25: ".concat(s.message)
  11375. }) : new se({
  11376. message: "邮箱登录失败"
  11377. });
  11378. case 23:
  11379. case "end":
  11380. return _context19.stop();
  11381. }
  11382. }
  11383. }, _callee19, this);
  11384. }));
  11385. function signIn(_x12, _x13) {
  11386. return _signIn3.apply(this, arguments);
  11387. }
  11388. return signIn;
  11389. }()
  11390. }, {
  11391. key: "activate",
  11392. value: function () {
  11393. var _activate = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee20(e) {
  11394. return _regenerator.default.wrap(function _callee20$(_context20) {
  11395. while (1) {
  11396. switch (_context20.prev = _context20.next) {
  11397. case 0:
  11398. return _context20.abrupt("return", this._request.send("auth.activateEndUserMail", {
  11399. token: e
  11400. }));
  11401. case 1:
  11402. case "end":
  11403. return _context20.stop();
  11404. }
  11405. }
  11406. }, _callee20, this);
  11407. }));
  11408. function activate(_x14) {
  11409. return _activate.apply(this, arguments);
  11410. }
  11411. return activate;
  11412. }()
  11413. }, {
  11414. key: "resetPasswordWithToken",
  11415. value: function () {
  11416. var _resetPasswordWithToken = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee21(e, t) {
  11417. return _regenerator.default.wrap(function _callee21$(_context21) {
  11418. while (1) {
  11419. switch (_context21.prev = _context21.next) {
  11420. case 0:
  11421. return _context21.abrupt("return", this._request.send("auth.resetPasswordWithToken", {
  11422. token: e,
  11423. newPassword: t
  11424. }));
  11425. case 1:
  11426. case "end":
  11427. return _context21.stop();
  11428. }
  11429. }
  11430. }, _callee21, this);
  11431. }));
  11432. function resetPasswordWithToken(_x15, _x16) {
  11433. return _resetPasswordWithToken.apply(this, arguments);
  11434. }
  11435. return resetPasswordWithToken;
  11436. }()
  11437. }]);
  11438. return st;
  11439. }(Xe);
  11440. var rt = /*#__PURE__*/function (_Xe4) {
  11441. (0, _inherits2.default)(rt, _Xe4);
  11442. var _super7 = _createSuper(rt);
  11443. function rt() {
  11444. (0, _classCallCheck2.default)(this, rt);
  11445. return _super7.apply(this, arguments);
  11446. }
  11447. (0, _createClass2.default)(rt, [{
  11448. key: "signIn",
  11449. value: function () {
  11450. var _signIn4 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee22(e, t) {
  11451. var n, s, r, i, o;
  11452. return _regenerator.default.wrap(function _callee22$(_context22) {
  11453. while (1) {
  11454. switch (_context22.prev = _context22.next) {
  11455. case 0:
  11456. if (!("string" != typeof e)) {
  11457. _context22.next = 2;
  11458. break;
  11459. }
  11460. throw new se({
  11461. code: "PARAM_ERROR",
  11462. message: "username must be a string"
  11463. });
  11464. case 2:
  11465. "string" != typeof t && (t = "", console.warn("password is empty"));
  11466. n = this._cache.keys.refreshTokenKey;
  11467. _context22.next = 6;
  11468. return this._request.send("auth.signIn", {
  11469. loginType: We.USERNAME,
  11470. username: e,
  11471. password: t,
  11472. refresh_token: this._cache.getStore(n) || ""
  11473. });
  11474. case 6:
  11475. s = _context22.sent;
  11476. r = s.refresh_token;
  11477. i = s.access_token_expire;
  11478. o = s.access_token;
  11479. if (!r) {
  11480. _context22.next = 23;
  11481. break;
  11482. }
  11483. this.setRefreshToken(r);
  11484. if (!(o && i)) {
  11485. _context22.next = 16;
  11486. break;
  11487. }
  11488. this.setAccessToken(o, i);
  11489. _context22.next = 18;
  11490. break;
  11491. case 16:
  11492. _context22.next = 18;
  11493. return this._request.refreshAccessToken();
  11494. case 18:
  11495. _context22.next = 20;
  11496. return this.refreshUserInfo();
  11497. case 20:
  11498. Fe(Me);
  11499. Fe(je, {
  11500. env: this.config.env,
  11501. loginType: We.USERNAME,
  11502. persistence: this.config.persistence
  11503. });
  11504. return _context22.abrupt("return", new et(this.config.env));
  11505. case 23:
  11506. throw s.code ? new se({
  11507. code: s.code,
  11508. message: "\u7528\u6237\u540D\u5BC6\u7801\u767B\u5F55\u5931\u8D25: ".concat(s.message)
  11509. }) : new se({
  11510. message: "用户名密码登录失败"
  11511. });
  11512. case 24:
  11513. case "end":
  11514. return _context22.stop();
  11515. }
  11516. }
  11517. }, _callee22, this);
  11518. }));
  11519. function signIn(_x17, _x18) {
  11520. return _signIn4.apply(this, arguments);
  11521. }
  11522. return signIn;
  11523. }()
  11524. }]);
  11525. return rt;
  11526. }(Xe);
  11527. var it = /*#__PURE__*/function () {
  11528. function it(e) {
  11529. (0, _classCallCheck2.default)(this, it);
  11530. this.config = e, this._cache = Re(e.env), this._request = Ye(e.env), this._onAnonymousConverted = this._onAnonymousConverted.bind(this), this._onLoginTypeChanged = this._onLoginTypeChanged.bind(this), De(je, this._onLoginTypeChanged);
  11531. }
  11532. (0, _createClass2.default)(it, [{
  11533. key: "currentUser",
  11534. get: function get() {
  11535. var e = this.hasLoginState();
  11536. return e && e.user || null;
  11537. }
  11538. }, {
  11539. key: "loginType",
  11540. get: function get() {
  11541. return this._cache.getStore(this._cache.keys.loginTypeKey);
  11542. }
  11543. }, {
  11544. key: "anonymousAuthProvider",
  11545. value: function anonymousAuthProvider() {
  11546. return new tt(this.config);
  11547. }
  11548. }, {
  11549. key: "customAuthProvider",
  11550. value: function customAuthProvider() {
  11551. return new nt(this.config);
  11552. }
  11553. }, {
  11554. key: "emailAuthProvider",
  11555. value: function emailAuthProvider() {
  11556. return new st(this.config);
  11557. }
  11558. }, {
  11559. key: "usernameAuthProvider",
  11560. value: function usernameAuthProvider() {
  11561. return new rt(this.config);
  11562. }
  11563. }, {
  11564. key: "signInAnonymously",
  11565. value: function () {
  11566. var _signInAnonymously = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee23() {
  11567. return _regenerator.default.wrap(function _callee23$(_context23) {
  11568. while (1) {
  11569. switch (_context23.prev = _context23.next) {
  11570. case 0:
  11571. return _context23.abrupt("return", new tt(this.config).signIn());
  11572. case 1:
  11573. case "end":
  11574. return _context23.stop();
  11575. }
  11576. }
  11577. }, _callee23, this);
  11578. }));
  11579. function signInAnonymously() {
  11580. return _signInAnonymously.apply(this, arguments);
  11581. }
  11582. return signInAnonymously;
  11583. }()
  11584. }, {
  11585. key: "signInWithEmailAndPassword",
  11586. value: function () {
  11587. var _signInWithEmailAndPassword = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee24(e, t) {
  11588. return _regenerator.default.wrap(function _callee24$(_context24) {
  11589. while (1) {
  11590. switch (_context24.prev = _context24.next) {
  11591. case 0:
  11592. return _context24.abrupt("return", new st(this.config).signIn(e, t));
  11593. case 1:
  11594. case "end":
  11595. return _context24.stop();
  11596. }
  11597. }
  11598. }, _callee24, this);
  11599. }));
  11600. function signInWithEmailAndPassword(_x19, _x20) {
  11601. return _signInWithEmailAndPassword.apply(this, arguments);
  11602. }
  11603. return signInWithEmailAndPassword;
  11604. }()
  11605. }, {
  11606. key: "signInWithUsernameAndPassword",
  11607. value: function signInWithUsernameAndPassword(e, t) {
  11608. return new rt(this.config).signIn(e, t);
  11609. }
  11610. }, {
  11611. key: "linkAndRetrieveDataWithTicket",
  11612. value: function () {
  11613. var _linkAndRetrieveDataWithTicket2 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee25(e) {
  11614. return _regenerator.default.wrap(function _callee25$(_context25) {
  11615. while (1) {
  11616. switch (_context25.prev = _context25.next) {
  11617. case 0:
  11618. this._anonymousAuthProvider || (this._anonymousAuthProvider = new tt(this.config)), De(Be, this._onAnonymousConverted);
  11619. _context25.next = 3;
  11620. return this._anonymousAuthProvider.linkAndRetrieveDataWithTicket(e);
  11621. case 3:
  11622. return _context25.abrupt("return", _context25.sent);
  11623. case 4:
  11624. case "end":
  11625. return _context25.stop();
  11626. }
  11627. }
  11628. }, _callee25, this);
  11629. }));
  11630. function linkAndRetrieveDataWithTicket(_x21) {
  11631. return _linkAndRetrieveDataWithTicket2.apply(this, arguments);
  11632. }
  11633. return linkAndRetrieveDataWithTicket;
  11634. }()
  11635. }, {
  11636. key: "signOut",
  11637. value: function () {
  11638. var _signOut = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee26() {
  11639. var _this$_cache$keys10, e, t, n, s, r;
  11640. return _regenerator.default.wrap(function _callee26$(_context26) {
  11641. while (1) {
  11642. switch (_context26.prev = _context26.next) {
  11643. case 0:
  11644. if (!(this.loginType === We.ANONYMOUS)) {
  11645. _context26.next = 2;
  11646. break;
  11647. }
  11648. throw new se({
  11649. message: "匿名用户不支持登出操作"
  11650. });
  11651. case 2:
  11652. _this$_cache$keys10 = this._cache.keys, e = _this$_cache$keys10.refreshTokenKey, t = _this$_cache$keys10.accessTokenKey, n = _this$_cache$keys10.accessTokenExpireKey, s = this._cache.getStore(e);
  11653. if (s) {
  11654. _context26.next = 5;
  11655. break;
  11656. }
  11657. return _context26.abrupt("return");
  11658. case 5:
  11659. _context26.next = 7;
  11660. return this._request.send("auth.logout", {
  11661. refresh_token: s
  11662. });
  11663. case 7:
  11664. r = _context26.sent;
  11665. return _context26.abrupt("return", (this._cache.removeStore(e), this._cache.removeStore(t), this._cache.removeStore(n), Fe(Me), Fe(je, {
  11666. env: this.config.env,
  11667. loginType: We.NULL,
  11668. persistence: this.config.persistence
  11669. }), r));
  11670. case 9:
  11671. case "end":
  11672. return _context26.stop();
  11673. }
  11674. }
  11675. }, _callee26, this);
  11676. }));
  11677. function signOut() {
  11678. return _signOut.apply(this, arguments);
  11679. }
  11680. return signOut;
  11681. }()
  11682. }, {
  11683. key: "signUpWithEmailAndPassword",
  11684. value: function () {
  11685. var _signUpWithEmailAndPassword = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee27(e, t) {
  11686. return _regenerator.default.wrap(function _callee27$(_context27) {
  11687. while (1) {
  11688. switch (_context27.prev = _context27.next) {
  11689. case 0:
  11690. return _context27.abrupt("return", this._request.send("auth.signUpWithEmailAndPassword", {
  11691. email: e,
  11692. password: t
  11693. }));
  11694. case 1:
  11695. case "end":
  11696. return _context27.stop();
  11697. }
  11698. }
  11699. }, _callee27, this);
  11700. }));
  11701. function signUpWithEmailAndPassword(_x22, _x23) {
  11702. return _signUpWithEmailAndPassword.apply(this, arguments);
  11703. }
  11704. return signUpWithEmailAndPassword;
  11705. }()
  11706. }, {
  11707. key: "sendPasswordResetEmail",
  11708. value: function () {
  11709. var _sendPasswordResetEmail = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee28(e) {
  11710. return _regenerator.default.wrap(function _callee28$(_context28) {
  11711. while (1) {
  11712. switch (_context28.prev = _context28.next) {
  11713. case 0:
  11714. return _context28.abrupt("return", this._request.send("auth.sendPasswordResetEmail", {
  11715. email: e
  11716. }));
  11717. case 1:
  11718. case "end":
  11719. return _context28.stop();
  11720. }
  11721. }
  11722. }, _callee28, this);
  11723. }));
  11724. function sendPasswordResetEmail(_x24) {
  11725. return _sendPasswordResetEmail.apply(this, arguments);
  11726. }
  11727. return sendPasswordResetEmail;
  11728. }()
  11729. }, {
  11730. key: "onLoginStateChanged",
  11731. value: function onLoginStateChanged(e) {
  11732. var _this9 = this;
  11733. De(Me, function () {
  11734. var t = _this9.hasLoginState();
  11735. e.call(_this9, t);
  11736. });
  11737. var t = this.hasLoginState();
  11738. e.call(this, t);
  11739. }
  11740. }, {
  11741. key: "onLoginStateExpired",
  11742. value: function onLoginStateExpired(e) {
  11743. De(Ke, e.bind(this));
  11744. }
  11745. }, {
  11746. key: "onAccessTokenRefreshed",
  11747. value: function onAccessTokenRefreshed(e) {
  11748. De($e, e.bind(this));
  11749. }
  11750. }, {
  11751. key: "onAnonymousConverted",
  11752. value: function onAnonymousConverted(e) {
  11753. De(Be, e.bind(this));
  11754. }
  11755. }, {
  11756. key: "onLoginTypeChanged",
  11757. value: function onLoginTypeChanged(e) {
  11758. var _this10 = this;
  11759. De(je, function () {
  11760. var t = _this10.hasLoginState();
  11761. e.call(_this10, t);
  11762. });
  11763. }
  11764. }, {
  11765. key: "getAccessToken",
  11766. value: function () {
  11767. var _getAccessToken2 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee29() {
  11768. return _regenerator.default.wrap(function _callee29$(_context29) {
  11769. while (1) {
  11770. switch (_context29.prev = _context29.next) {
  11771. case 0:
  11772. _context29.next = 2;
  11773. return this._request.getAccessToken();
  11774. case 2:
  11775. _context29.t0 = _context29.sent.accessToken;
  11776. _context29.t1 = this.config.env;
  11777. return _context29.abrupt("return", {
  11778. accessToken: _context29.t0,
  11779. env: _context29.t1
  11780. });
  11781. case 5:
  11782. case "end":
  11783. return _context29.stop();
  11784. }
  11785. }
  11786. }, _callee29, this);
  11787. }));
  11788. function getAccessToken() {
  11789. return _getAccessToken2.apply(this, arguments);
  11790. }
  11791. return getAccessToken;
  11792. }()
  11793. }, {
  11794. key: "hasLoginState",
  11795. value: function hasLoginState() {
  11796. var e = this._cache.keys.refreshTokenKey;
  11797. return this._cache.getStore(e) ? new et(this.config.env) : null;
  11798. }
  11799. }, {
  11800. key: "isUsernameRegistered",
  11801. value: function () {
  11802. var _isUsernameRegistered = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee30(e) {
  11803. var _yield$this$_request$5, t;
  11804. return _regenerator.default.wrap(function _callee30$(_context30) {
  11805. while (1) {
  11806. switch (_context30.prev = _context30.next) {
  11807. case 0:
  11808. if (!("string" != typeof e)) {
  11809. _context30.next = 2;
  11810. break;
  11811. }
  11812. throw new se({
  11813. code: "PARAM_ERROR",
  11814. message: "username must be a string"
  11815. });
  11816. case 2:
  11817. _context30.next = 4;
  11818. return this._request.send("auth.isUsernameRegistered", {
  11819. username: e
  11820. });
  11821. case 4:
  11822. _yield$this$_request$5 = _context30.sent;
  11823. t = _yield$this$_request$5.data;
  11824. return _context30.abrupt("return", t && t.isRegistered);
  11825. case 7:
  11826. case "end":
  11827. return _context30.stop();
  11828. }
  11829. }
  11830. }, _callee30, this);
  11831. }));
  11832. function isUsernameRegistered(_x25) {
  11833. return _isUsernameRegistered.apply(this, arguments);
  11834. }
  11835. return isUsernameRegistered;
  11836. }()
  11837. }, {
  11838. key: "getLoginState",
  11839. value: function getLoginState() {
  11840. return Promise.resolve(this.hasLoginState());
  11841. }
  11842. }, {
  11843. key: "signInWithTicket",
  11844. value: function () {
  11845. var _signInWithTicket = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee31(e) {
  11846. return _regenerator.default.wrap(function _callee31$(_context31) {
  11847. while (1) {
  11848. switch (_context31.prev = _context31.next) {
  11849. case 0:
  11850. return _context31.abrupt("return", new nt(this.config).signIn(e));
  11851. case 1:
  11852. case "end":
  11853. return _context31.stop();
  11854. }
  11855. }
  11856. }, _callee31, this);
  11857. }));
  11858. function signInWithTicket(_x26) {
  11859. return _signInWithTicket.apply(this, arguments);
  11860. }
  11861. return signInWithTicket;
  11862. }()
  11863. }, {
  11864. key: "shouldRefreshAccessToken",
  11865. value: function shouldRefreshAccessToken(e) {
  11866. this._request._shouldRefreshAccessTokenHook = e.bind(this);
  11867. }
  11868. }, {
  11869. key: "getUserInfo",
  11870. value: function getUserInfo() {
  11871. return this._request.send("auth.getUserInfo", {}).then(function (e) {
  11872. return e.code ? e : _objectSpread(_objectSpread({}, e.data), {}, {
  11873. requestId: e.seqId
  11874. });
  11875. });
  11876. }
  11877. }, {
  11878. key: "getAuthHeader",
  11879. value: function getAuthHeader() {
  11880. var _this$_cache$keys11 = this._cache.keys,
  11881. e = _this$_cache$keys11.refreshTokenKey,
  11882. t = _this$_cache$keys11.accessTokenKey,
  11883. n = this._cache.getStore(e);
  11884. return {
  11885. "x-cloudbase-credentials": this._cache.getStore(t) + "/@@/" + n
  11886. };
  11887. }
  11888. }, {
  11889. key: "_onAnonymousConverted",
  11890. value: function _onAnonymousConverted(e) {
  11891. var t = e.data.env;
  11892. t === this.config.env && this._cache.updatePersistence(this.config.persistence);
  11893. }
  11894. }, {
  11895. key: "_onLoginTypeChanged",
  11896. value: function _onLoginTypeChanged(e) {
  11897. var _e$data = e.data,
  11898. t = _e$data.loginType,
  11899. n = _e$data.persistence,
  11900. s = _e$data.env;
  11901. s === this.config.env && (this._cache.updatePersistence(n), this._cache.setStore(this._cache.keys.loginTypeKey, t));
  11902. }
  11903. }]);
  11904. return it;
  11905. }();
  11906. var ot = function ot(e, t) {
  11907. t = t || ve();
  11908. var n = Ye(this.config.env),
  11909. s = e.cloudPath,
  11910. r = e.filePath,
  11911. i = e.onUploadProgress,
  11912. _e$fileType = e.fileType,
  11913. o = _e$fileType === void 0 ? "image" : _e$fileType;
  11914. return n.send("storage.getUploadMetadata", {
  11915. path: s
  11916. }).then(function (e) {
  11917. var _e$data2 = e.data,
  11918. a = _e$data2.url,
  11919. c = _e$data2.authorization,
  11920. u = _e$data2.token,
  11921. h = _e$data2.fileId,
  11922. l = _e$data2.cosFileId,
  11923. d = e.requestId,
  11924. p = {
  11925. key: s,
  11926. signature: c,
  11927. "x-cos-meta-fileid": l,
  11928. success_action_status: "201",
  11929. "x-cos-security-token": u
  11930. };
  11931. n.upload({
  11932. url: a,
  11933. data: p,
  11934. file: r,
  11935. name: s,
  11936. fileType: o,
  11937. onUploadProgress: i
  11938. }).then(function (e) {
  11939. 201 === e.statusCode ? t(null, {
  11940. fileID: h,
  11941. requestId: d
  11942. }) : t(new se({
  11943. code: "STORAGE_REQUEST_FAIL",
  11944. message: "STORAGE_REQUEST_FAIL: ".concat(e.data)
  11945. }));
  11946. }).catch(function (e) {
  11947. t(e);
  11948. });
  11949. }).catch(function (e) {
  11950. t(e);
  11951. }), t.promise;
  11952. },
  11953. at = function at(e, t) {
  11954. t = t || ve();
  11955. var n = Ye(this.config.env),
  11956. s = e.cloudPath;
  11957. return n.send("storage.getUploadMetadata", {
  11958. path: s
  11959. }).then(function (e) {
  11960. t(null, e);
  11961. }).catch(function (e) {
  11962. t(e);
  11963. }), t.promise;
  11964. },
  11965. ct = function ct(_ref7, t) {
  11966. var e = _ref7.fileList;
  11967. if (t = t || ve(), !e || !Array.isArray(e)) return {
  11968. code: "INVALID_PARAM",
  11969. message: "fileList必须是非空的数组"
  11970. };
  11971. var _iterator3 = _createForOfIteratorHelper(e),
  11972. _step3;
  11973. try {
  11974. for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
  11975. var _t8 = _step3.value;
  11976. if (!_t8 || "string" != typeof _t8) return {
  11977. code: "INVALID_PARAM",
  11978. message: "fileList的元素必须是非空的字符串"
  11979. };
  11980. }
  11981. } catch (err) {
  11982. _iterator3.e(err);
  11983. } finally {
  11984. _iterator3.f();
  11985. }
  11986. var n = {
  11987. fileid_list: e
  11988. };
  11989. return Ye(this.config.env).send("storage.batchDeleteFile", n).then(function (e) {
  11990. e.code ? t(null, e) : t(null, {
  11991. fileList: e.data.delete_list,
  11992. requestId: e.requestId
  11993. });
  11994. }).catch(function (e) {
  11995. t(e);
  11996. }), t.promise;
  11997. },
  11998. ut = function ut(_ref8, t) {
  11999. var e = _ref8.fileList;
  12000. t = t || ve(), e && Array.isArray(e) || t(null, {
  12001. code: "INVALID_PARAM",
  12002. message: "fileList必须是非空的数组"
  12003. });
  12004. var n = [];
  12005. var _iterator4 = _createForOfIteratorHelper(e),
  12006. _step4;
  12007. try {
  12008. for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) {
  12009. var _s9 = _step4.value;
  12010. "object" == (0, _typeof2.default)(_s9) ? (_s9.hasOwnProperty("fileID") && _s9.hasOwnProperty("maxAge") || t(null, {
  12011. code: "INVALID_PARAM",
  12012. message: "fileList的元素必须是包含fileID和maxAge的对象"
  12013. }), n.push({
  12014. fileid: _s9.fileID,
  12015. max_age: _s9.maxAge
  12016. })) : "string" == typeof _s9 ? n.push({
  12017. fileid: _s9
  12018. }) : t(null, {
  12019. code: "INVALID_PARAM",
  12020. message: "fileList的元素必须是字符串"
  12021. });
  12022. }
  12023. } catch (err) {
  12024. _iterator4.e(err);
  12025. } finally {
  12026. _iterator4.f();
  12027. }
  12028. var s = {
  12029. file_list: n
  12030. };
  12031. return Ye(this.config.env).send("storage.batchGetDownloadUrl", s).then(function (e) {
  12032. e.code ? t(null, e) : t(null, {
  12033. fileList: e.data.download_list,
  12034. requestId: e.requestId
  12035. });
  12036. }).catch(function (e) {
  12037. t(e);
  12038. }), t.promise;
  12039. },
  12040. ht = /*#__PURE__*/function () {
  12041. var _ref10 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee32(_ref9, t) {
  12042. var e, n, s, r;
  12043. return _regenerator.default.wrap(function _callee32$(_context32) {
  12044. while (1) {
  12045. switch (_context32.prev = _context32.next) {
  12046. case 0:
  12047. e = _ref9.fileID;
  12048. _context32.next = 3;
  12049. return ut.call(this, {
  12050. fileList: [{
  12051. fileID: e,
  12052. maxAge: 600
  12053. }]
  12054. });
  12055. case 3:
  12056. n = _context32.sent.fileList[0];
  12057. if (!("SUCCESS" !== n.code)) {
  12058. _context32.next = 6;
  12059. break;
  12060. }
  12061. return _context32.abrupt("return", t ? t(n) : new Promise(function (e) {
  12062. e(n);
  12063. }));
  12064. case 6:
  12065. s = Ye(this.config.env);
  12066. r = n.download_url;
  12067. if (!(r = encodeURI(r), !t)) {
  12068. _context32.next = 10;
  12069. break;
  12070. }
  12071. return _context32.abrupt("return", s.download({
  12072. url: r
  12073. }));
  12074. case 10:
  12075. _context32.t0 = t;
  12076. _context32.next = 13;
  12077. return s.download({
  12078. url: r
  12079. });
  12080. case 13:
  12081. _context32.t1 = _context32.sent;
  12082. (0, _context32.t0)(_context32.t1);
  12083. case 15:
  12084. case "end":
  12085. return _context32.stop();
  12086. }
  12087. }
  12088. }, _callee32, this);
  12089. }));
  12090. return function ht(_x27, _x28) {
  12091. return _ref10.apply(this, arguments);
  12092. };
  12093. }(),
  12094. lt = function lt(_ref11, i) {
  12095. var e = _ref11.name,
  12096. t = _ref11.data,
  12097. n = _ref11.query,
  12098. s = _ref11.parse,
  12099. r = _ref11.search;
  12100. var o = i || ve();
  12101. var a;
  12102. try {
  12103. a = t ? JSON.stringify(t) : "";
  12104. } catch (e) {
  12105. return Promise.reject(e);
  12106. }
  12107. if (!e) return Promise.reject(new se({
  12108. code: "PARAM_ERROR",
  12109. message: "函数名不能为空"
  12110. }));
  12111. var c = {
  12112. inQuery: n,
  12113. parse: s,
  12114. search: r,
  12115. function_name: e,
  12116. request_data: a
  12117. };
  12118. return Ye(this.config.env).send("functions.invokeFunction", c).then(function (e) {
  12119. if (e.code) o(null, e);else {
  12120. var _t9 = e.data.response_data;
  12121. if (s) o(null, {
  12122. result: _t9,
  12123. requestId: e.requestId
  12124. });else try {
  12125. _t9 = JSON.parse(e.data.response_data), o(null, {
  12126. result: _t9,
  12127. requestId: e.requestId
  12128. });
  12129. } catch (e) {
  12130. o(new se({
  12131. message: "response data must be json"
  12132. }));
  12133. }
  12134. }
  12135. return o.promise;
  12136. }).catch(function (e) {
  12137. o(e);
  12138. }), o.promise;
  12139. },
  12140. dt = {
  12141. timeout: 15e3,
  12142. persistence: "session"
  12143. },
  12144. pt = {};
  12145. var ft = /*#__PURE__*/function () {
  12146. function ft(e) {
  12147. (0, _classCallCheck2.default)(this, ft);
  12148. this.config = e || this.config, this.authObj = void 0;
  12149. }
  12150. (0, _createClass2.default)(ft, [{
  12151. key: "init",
  12152. value: function init(e) {
  12153. switch (Te.adapter || (this.requestClient = new Te.adapter.reqClass({
  12154. timeout: e.timeout || 5e3,
  12155. timeoutMsg: "\u8BF7\u6C42\u5728".concat((e.timeout || 5e3) / 1e3, "s\u5185\u672A\u5B8C\u6210\uFF0C\u5DF2\u4E2D\u65AD")
  12156. })), this.config = _objectSpread(_objectSpread({}, dt), e), !0) {
  12157. case this.config.timeout > 6e5:
  12158. console.warn("timeout大于可配置上限[10分钟],已重置为上限数值"), this.config.timeout = 6e5;
  12159. break;
  12160. case this.config.timeout < 100:
  12161. console.warn("timeout小于可配置下限[100ms],已重置为下限数值"), this.config.timeout = 100;
  12162. }
  12163. return new ft(this.config);
  12164. }
  12165. }, {
  12166. key: "auth",
  12167. value: function auth() {
  12168. var _ref12 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
  12169. e = _ref12.persistence;
  12170. if (this.authObj) return this.authObj;
  12171. var t = e || Te.adapter.primaryStorage || dt.persistence;
  12172. var n;
  12173. return t !== this.config.persistence && (this.config.persistence = t), function (e) {
  12174. var t = e.env;
  12175. Oe[t] = new Ee(e), xe[t] = new Ee(_objectSpread(_objectSpread({}, e), {}, {
  12176. persistence: "local"
  12177. }));
  12178. }(this.config), n = this.config, Qe[n.env] = new Ve(n), this.authObj = new it(this.config), this.authObj;
  12179. }
  12180. }, {
  12181. key: "on",
  12182. value: function on(e, t) {
  12183. return De.apply(this, [e, t]);
  12184. }
  12185. }, {
  12186. key: "off",
  12187. value: function off(e, t) {
  12188. return qe.apply(this, [e, t]);
  12189. }
  12190. }, {
  12191. key: "callFunction",
  12192. value: function callFunction(e, t) {
  12193. return lt.apply(this, [e, t]);
  12194. }
  12195. }, {
  12196. key: "deleteFile",
  12197. value: function deleteFile(e, t) {
  12198. return ct.apply(this, [e, t]);
  12199. }
  12200. }, {
  12201. key: "getTempFileURL",
  12202. value: function getTempFileURL(e, t) {
  12203. return ut.apply(this, [e, t]);
  12204. }
  12205. }, {
  12206. key: "downloadFile",
  12207. value: function downloadFile(e, t) {
  12208. return ht.apply(this, [e, t]);
  12209. }
  12210. }, {
  12211. key: "uploadFile",
  12212. value: function uploadFile(e, t) {
  12213. return ot.apply(this, [e, t]);
  12214. }
  12215. }, {
  12216. key: "getUploadMetadata",
  12217. value: function getUploadMetadata(e, t) {
  12218. return at.apply(this, [e, t]);
  12219. }
  12220. }, {
  12221. key: "registerExtension",
  12222. value: function registerExtension(e) {
  12223. pt[e.name] = e;
  12224. }
  12225. }, {
  12226. key: "invokeExtension",
  12227. value: function () {
  12228. var _invokeExtension = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee33(e, t) {
  12229. var n;
  12230. return _regenerator.default.wrap(function _callee33$(_context33) {
  12231. while (1) {
  12232. switch (_context33.prev = _context33.next) {
  12233. case 0:
  12234. n = pt[e];
  12235. if (n) {
  12236. _context33.next = 3;
  12237. break;
  12238. }
  12239. throw new se({
  12240. message: "\u6269\u5C55".concat(e, " \u5FC5\u987B\u5148\u6CE8\u518C")
  12241. });
  12242. case 3:
  12243. _context33.next = 5;
  12244. return n.invoke(t, this);
  12245. case 5:
  12246. return _context33.abrupt("return", _context33.sent);
  12247. case 6:
  12248. case "end":
  12249. return _context33.stop();
  12250. }
  12251. }
  12252. }, _callee33, this);
  12253. }));
  12254. function invokeExtension(_x29, _x30) {
  12255. return _invokeExtension.apply(this, arguments);
  12256. }
  12257. return invokeExtension;
  12258. }()
  12259. }, {
  12260. key: "useAdapters",
  12261. value: function useAdapters(e) {
  12262. var _ref13 = ke(e) || {},
  12263. t = _ref13.adapter,
  12264. n = _ref13.runtime;
  12265. t && (Te.adapter = t), n && (Te.runtime = n);
  12266. }
  12267. }]);
  12268. return ft;
  12269. }();
  12270. var gt = new ft();
  12271. function mt(e, t, n) {
  12272. void 0 === n && (n = {});
  12273. var s = /\?/.test(t),
  12274. r = "";
  12275. for (var i in n) {
  12276. "" === r ? !s && (t += "?") : r += "&", r += i + "=" + encodeURIComponent(n[i]);
  12277. }
  12278. return /^http(s)?:\/\//.test(t += r) ? t : "" + e + t;
  12279. }
  12280. var yt = /*#__PURE__*/function () {
  12281. function yt() {
  12282. (0, _classCallCheck2.default)(this, yt);
  12283. }
  12284. (0, _createClass2.default)(yt, [{
  12285. key: "post",
  12286. value: function post(e) {
  12287. var t = e.url,
  12288. n = e.data,
  12289. s = e.headers;
  12290. return new Promise(function (e, r) {
  12291. re.request({
  12292. url: mt("https:", t),
  12293. data: n,
  12294. method: "POST",
  12295. header: s,
  12296. success: function success(t) {
  12297. e(t);
  12298. },
  12299. fail: function fail(e) {
  12300. r(e);
  12301. }
  12302. });
  12303. });
  12304. }
  12305. }, {
  12306. key: "upload",
  12307. value: function upload(e) {
  12308. return new Promise(function (t, n) {
  12309. var s = e.url,
  12310. r = e.file,
  12311. i = e.data,
  12312. o = e.headers,
  12313. a = e.fileType,
  12314. c = re.uploadFile({
  12315. url: mt("https:", s),
  12316. name: "file",
  12317. formData: Object.assign({}, i),
  12318. filePath: r,
  12319. fileType: a,
  12320. header: o,
  12321. success: function success(e) {
  12322. var n = {
  12323. statusCode: e.statusCode,
  12324. data: e.data || {}
  12325. };
  12326. 200 === e.statusCode && i.success_action_status && (n.statusCode = parseInt(i.success_action_status, 10)), t(n);
  12327. },
  12328. fail: function fail(e) {
  12329. n(new Error(e.errMsg || "uploadFile:fail"));
  12330. }
  12331. });
  12332. "function" == typeof e.onUploadProgress && c && "function" == typeof c.onProgressUpdate && c.onProgressUpdate(function (t) {
  12333. e.onUploadProgress({
  12334. loaded: t.totalBytesSent,
  12335. total: t.totalBytesExpectedToSend
  12336. });
  12337. });
  12338. });
  12339. }
  12340. }]);
  12341. return yt;
  12342. }();
  12343. var _t = {
  12344. setItem: function setItem(e, t) {
  12345. re.setStorageSync(e, t);
  12346. },
  12347. getItem: function getItem(e) {
  12348. return re.getStorageSync(e);
  12349. },
  12350. removeItem: function removeItem(e) {
  12351. re.removeStorageSync(e);
  12352. },
  12353. clear: function clear() {
  12354. re.clearStorageSync();
  12355. }
  12356. };
  12357. var wt = {
  12358. genAdapter: function genAdapter() {
  12359. return {
  12360. root: {},
  12361. reqClass: yt,
  12362. localStorage: _t,
  12363. primaryStorage: "local"
  12364. };
  12365. },
  12366. isMatch: function isMatch() {
  12367. return !0;
  12368. },
  12369. runtime: "uni_app"
  12370. };
  12371. gt.useAdapters(wt);
  12372. var vt = gt,
  12373. St = vt.init;
  12374. vt.init = function (e) {
  12375. e.env = e.spaceId;
  12376. var t = St.call(this, e);
  12377. t.config.provider = "tencent", t.config.spaceId = e.spaceId;
  12378. var n = t.auth;
  12379. return t.auth = function (e) {
  12380. var t = n.call(this, e);
  12381. return ["linkAndRetrieveDataWithTicket", "signInAnonymously", "signOut", "getAccessToken", "getLoginState", "signInWithTicket", "getUserInfo"].forEach(function (e) {
  12382. var n;
  12383. t[e] = (n = t[e], function (e) {
  12384. e = e || {};
  12385. var _ne = ne(e),
  12386. t = _ne.success,
  12387. s = _ne.fail,
  12388. r = _ne.complete;
  12389. if (!(t || s || r)) return n.call(this, e);
  12390. n.call(this, e).then(function (e) {
  12391. t && t(e), r && r(e);
  12392. }, function (e) {
  12393. s && s(e), r && r(e);
  12394. });
  12395. }).bind(t);
  12396. }), t;
  12397. }, t.customAuth = t.auth, t;
  12398. };
  12399. var It = vt;
  12400. var bt = /*#__PURE__*/function (_ge) {
  12401. (0, _inherits2.default)(bt, _ge);
  12402. var _super8 = _createSuper(bt);
  12403. function bt() {
  12404. (0, _classCallCheck2.default)(this, bt);
  12405. return _super8.apply(this, arguments);
  12406. }
  12407. (0, _createClass2.default)(bt, [{
  12408. key: "getAccessToken",
  12409. value: function getAccessToken() {
  12410. var _this11 = this;
  12411. return new Promise(function (e, t) {
  12412. var n = "Anonymous_Access_token";
  12413. _this11.setAccessToken(n), e(n);
  12414. });
  12415. }
  12416. }, {
  12417. key: "setupRequest",
  12418. value: function setupRequest(e, t) {
  12419. var n = Object.assign({}, e, {
  12420. spaceId: this.config.spaceId,
  12421. timestamp: Date.now()
  12422. }),
  12423. s = {
  12424. "Content-Type": "application/json"
  12425. };
  12426. "auth" !== t && (n.token = this.accessToken, s["x-basement-token"] = this.accessToken), s["x-serverless-sign"] = de.sign(n, this.config.clientSecret);
  12427. var r = le();
  12428. s["x-client-info"] = encodeURIComponent(JSON.stringify(r));
  12429. var _ie = ie(),
  12430. i = _ie.token;
  12431. return s["x-client-token"] = i, {
  12432. url: this.config.requestUrl,
  12433. method: "POST",
  12434. data: n,
  12435. dataType: "json",
  12436. header: JSON.parse(JSON.stringify(s))
  12437. };
  12438. }
  12439. }, {
  12440. key: "uploadFileToOSS",
  12441. value: function uploadFileToOSS(_ref14) {
  12442. var _this12 = this;
  12443. var e = _ref14.url,
  12444. t = _ref14.formData,
  12445. n = _ref14.name,
  12446. s = _ref14.filePath,
  12447. r = _ref14.fileType,
  12448. i = _ref14.onUploadProgress;
  12449. return new Promise(function (o, a) {
  12450. var c = _this12.adapter.uploadFile({
  12451. url: e,
  12452. formData: t,
  12453. name: n,
  12454. filePath: s,
  12455. fileType: r,
  12456. success: function success(e) {
  12457. e && e.statusCode < 400 ? o(e) : a(new se({
  12458. code: "UPLOAD_FAILED",
  12459. message: "文件上传失败"
  12460. }));
  12461. },
  12462. fail: function fail(e) {
  12463. a(new se({
  12464. code: e.code || "UPLOAD_FAILED",
  12465. message: e.message || e.errMsg || "文件上传失败"
  12466. }));
  12467. }
  12468. });
  12469. "function" == typeof i && c && "function" == typeof c.onProgressUpdate && c.onProgressUpdate(function (e) {
  12470. i({
  12471. loaded: e.totalBytesSent,
  12472. total: e.totalBytesExpectedToSend
  12473. });
  12474. });
  12475. });
  12476. }
  12477. }, {
  12478. key: "uploadFile",
  12479. value: function uploadFile(_ref15) {
  12480. var _this13 = this;
  12481. var e = _ref15.filePath,
  12482. t = _ref15.cloudPath,
  12483. _ref15$fileType = _ref15.fileType,
  12484. n = _ref15$fileType === void 0 ? "image" : _ref15$fileType,
  12485. s = _ref15.onUploadProgress;
  12486. if (!t) throw new se({
  12487. code: "CLOUDPATH_REQUIRED",
  12488. message: "cloudPath不可为空"
  12489. });
  12490. var r;
  12491. return this.getOSSUploadOptionsFromPath({
  12492. cloudPath: t
  12493. }).then(function (t) {
  12494. var _t$result = t.result,
  12495. i = _t$result.url,
  12496. o = _t$result.formData,
  12497. a = _t$result.name;
  12498. r = t.result.fileUrl;
  12499. var c = {
  12500. url: i,
  12501. formData: o,
  12502. name: a,
  12503. filePath: e,
  12504. fileType: n
  12505. };
  12506. return _this13.uploadFileToOSS(Object.assign({}, c, {
  12507. onUploadProgress: s
  12508. }));
  12509. }).then(function () {
  12510. return _this13.reportOSSUpload({
  12511. cloudPath: t
  12512. });
  12513. }).then(function (t) {
  12514. return new Promise(function (n, s) {
  12515. t.success ? n({
  12516. success: !0,
  12517. filePath: e,
  12518. fileID: r
  12519. }) : s(new se({
  12520. code: "UPLOAD_FAILED",
  12521. message: "文件上传失败"
  12522. }));
  12523. });
  12524. });
  12525. }
  12526. }, {
  12527. key: "deleteFile",
  12528. value: function deleteFile(_ref16) {
  12529. var e = _ref16.fileList;
  12530. var t = {
  12531. method: "serverless.file.resource.delete",
  12532. params: JSON.stringify({
  12533. fileList: e
  12534. })
  12535. };
  12536. return this.request(this.setupRequest(t)).then(function (e) {
  12537. if (e.success) return e.result;
  12538. throw new se({
  12539. code: "DELETE_FILE_FAILED",
  12540. message: "删除文件失败"
  12541. });
  12542. });
  12543. }
  12544. }, {
  12545. key: "getTempFileURL",
  12546. value: function getTempFileURL() {
  12547. var _ref17 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
  12548. e = _ref17.fileList;
  12549. if (!Array.isArray(e) || 0 === e.length) throw new se({
  12550. code: "INVALID_PARAM",
  12551. message: "fileList的元素必须是非空的字符串"
  12552. });
  12553. var t = {
  12554. method: "serverless.file.resource.getTempFileURL",
  12555. params: JSON.stringify({
  12556. fileList: e
  12557. })
  12558. };
  12559. return this.request(this.setupRequest(t)).then(function (e) {
  12560. if (e.success) return {
  12561. fileList: e.result.fileList.map(function (e) {
  12562. return {
  12563. fileID: e.fileID,
  12564. tempFileURL: e.tempFileURL
  12565. };
  12566. })
  12567. };
  12568. throw new se({
  12569. code: "GET_TEMP_FILE_URL_FAILED",
  12570. message: "获取临时文件链接失败"
  12571. });
  12572. });
  12573. }
  12574. }]);
  12575. return bt;
  12576. }(ge);
  12577. var kt = {
  12578. init: function init(e) {
  12579. var t = new bt(e),
  12580. n = {
  12581. signInAnonymously: function signInAnonymously() {
  12582. return t.authorize();
  12583. },
  12584. getLoginState: function getLoginState() {
  12585. return Promise.resolve(!1);
  12586. }
  12587. };
  12588. return t.auth = function () {
  12589. return n;
  12590. }, t.customAuth = t.auth, t;
  12591. }
  12592. };
  12593. function Tt(_ref18) {
  12594. var e = _ref18.data;
  12595. var t;
  12596. t = le();
  12597. var n = JSON.parse(JSON.stringify(e || {}));
  12598. if (Object.assign(n, {
  12599. clientInfo: t
  12600. }), !n.uniIdToken) {
  12601. var _ie2 = ie(),
  12602. _e18 = _ie2.token;
  12603. _e18 && (n.uniIdToken = _e18);
  12604. }
  12605. return n;
  12606. }
  12607. function Ct() {
  12608. return _Ct.apply(this, arguments);
  12609. }
  12610. function _Ct() {
  12611. _Ct = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee54() {
  12612. var _this26 = this;
  12613. var _ref60,
  12614. e,
  12615. t,
  12616. _this$__dev__,
  12617. n,
  12618. s,
  12619. r,
  12620. i,
  12621. o,
  12622. a,
  12623. _args6 = arguments;
  12624. return _regenerator.default.wrap(function _callee54$(_context54) {
  12625. while (1) {
  12626. switch (_context54.prev = _context54.next) {
  12627. case 0:
  12628. _ref60 = _args6.length > 0 && _args6[0] !== undefined ? _args6[0] : {}, e = _ref60.name, t = _ref60.data;
  12629. _context54.next = 3;
  12630. return this.__dev__.initLocalNetwork();
  12631. case 3:
  12632. _this$__dev__ = this.__dev__, n = _this$__dev__.localAddress, s = _this$__dev__.localPort, r = {
  12633. aliyun: "aliyun",
  12634. tencent: "tcb"
  12635. }[this.config.provider], i = this.config.spaceId, o = "http://".concat(n, ":").concat(s, "/system/check-function"), a = "http://".concat(n, ":").concat(s, "/cloudfunctions/").concat(e);
  12636. return _context54.abrupt("return", new Promise(function (t, n) {
  12637. re.request({
  12638. method: "POST",
  12639. url: o,
  12640. data: {
  12641. name: e,
  12642. platform: A,
  12643. provider: r,
  12644. spaceId: i
  12645. },
  12646. timeout: 3e3,
  12647. success: function success(e) {
  12648. t(e);
  12649. },
  12650. fail: function fail() {
  12651. t({
  12652. data: {
  12653. code: "NETWORK_ERROR",
  12654. message: "连接本地调试服务失败,请检查客户端是否和主机在同一局域网下,自动切换为已部署的云函数。"
  12655. }
  12656. });
  12657. }
  12658. });
  12659. }).then(function () {
  12660. var _ref61 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
  12661. e = _ref61.data;
  12662. var _ref62 = e || {},
  12663. t = _ref62.code,
  12664. n = _ref62.message;
  12665. return {
  12666. code: 0 === t ? 0 : t || "SYS_ERR",
  12667. message: n || "SYS_ERR"
  12668. };
  12669. }).then(function (_ref63) {
  12670. var n = _ref63.code,
  12671. s = _ref63.message;
  12672. if (0 !== n) {
  12673. switch (n) {
  12674. case "MODULE_ENCRYPTED":
  12675. console.error("\u6B64\u4E91\u51FD\u6570\uFF08".concat(e, "\uFF09\u4F9D\u8D56\u52A0\u5BC6\u516C\u5171\u6A21\u5757\u4E0D\u53EF\u672C\u5730\u8C03\u8BD5\uFF0C\u81EA\u52A8\u5207\u6362\u4E3A\u4E91\u7AEF\u5DF2\u90E8\u7F72\u7684\u4E91\u51FD\u6570"));
  12676. break;
  12677. case "FUNCTION_ENCRYPTED":
  12678. console.error("\u6B64\u4E91\u51FD\u6570\uFF08".concat(e, "\uFF09\u5DF2\u52A0\u5BC6\u4E0D\u53EF\u672C\u5730\u8C03\u8BD5\uFF0C\u81EA\u52A8\u5207\u6362\u4E3A\u4E91\u7AEF\u5DF2\u90E8\u7F72\u7684\u4E91\u51FD\u6570"));
  12679. break;
  12680. case "ACTION_ENCRYPTED":
  12681. console.error(s || "需要访问加密的uni-clientDB-action,自动切换为云端环境");
  12682. break;
  12683. case "NETWORK_ERROR":
  12684. {
  12685. var _e30 = "连接本地调试服务失败,请检查客户端是否和主机在同一局域网下";
  12686. throw console.error(_e30), new Error(_e30);
  12687. }
  12688. case "SWITCH_TO_CLOUD":
  12689. break;
  12690. default:
  12691. {
  12692. var _e31 = "\u68C0\u6D4B\u672C\u5730\u8C03\u8BD5\u670D\u52A1\u51FA\u73B0\u9519\u8BEF\uFF1A".concat(s, "\uFF0C\u8BF7\u68C0\u67E5\u7F51\u7EDC\u73AF\u5883\u6216\u91CD\u542F\u5BA2\u6237\u7AEF\u518D\u8BD5");
  12693. throw console.error(_e31), new Error(_e31);
  12694. }
  12695. }
  12696. return _this26._callCloudFunction({
  12697. name: e,
  12698. data: t
  12699. });
  12700. }
  12701. return new Promise(function (e, n) {
  12702. var s = Tt.call(_this26, {
  12703. data: t
  12704. });
  12705. re.request({
  12706. method: "POST",
  12707. url: a,
  12708. data: {
  12709. provider: r,
  12710. platform: A,
  12711. param: s
  12712. },
  12713. success: function success() {
  12714. var _ref64 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
  12715. t = _ref64.statusCode,
  12716. s = _ref64.data;
  12717. return !t || t >= 400 ? n(new se({
  12718. code: s.code || "SYS_ERR",
  12719. message: s.message || "request:fail"
  12720. })) : e({
  12721. result: s
  12722. });
  12723. },
  12724. fail: function fail(e) {
  12725. n(new se({
  12726. code: e.code || e.errCode || "SYS_ERR",
  12727. message: e.message || e.errMsg || "request:fail"
  12728. }));
  12729. }
  12730. });
  12731. });
  12732. }));
  12733. case 5:
  12734. case "end":
  12735. return _context54.stop();
  12736. }
  12737. }
  12738. }, _callee54, this);
  12739. }));
  12740. return _Ct.apply(this, arguments);
  12741. }
  12742. var Pt = [{
  12743. rule: /fc_function_not_found|FUNCTION_NOT_FOUND/,
  12744. content: ",云函数[{functionName}]在云端不存在,请检查此云函数名称是否正确以及该云函数是否已上传到服务空间",
  12745. mode: "append"
  12746. }];
  12747. var At = /[\\^$.*+?()[\]{}|]/g,
  12748. Et = RegExp(At.source);
  12749. function Ot(e, t, n) {
  12750. return e.replace(new RegExp((s = t) && Et.test(s) ? s.replace(At, "\\$&") : s, "g"), n);
  12751. var s;
  12752. }
  12753. var xt = "none",
  12754. Rt = "request",
  12755. Ut = "response",
  12756. Lt = "both";
  12757. var Nt = /*#__PURE__*/function () {
  12758. function Nt() {
  12759. var _ref19 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
  12760. e = _ref19.secretType,
  12761. t = _ref19.uniCloudIns;
  12762. (0, _classCallCheck2.default)(this, Nt);
  12763. this.clientType = "", this.secretType = e || xt, this.uniCloudIns = t;
  12764. var _this$uniCloudIns$con = this.uniCloudIns.config,
  12765. n = _this$uniCloudIns$con.provider,
  12766. s = _this$uniCloudIns$con.spaceId;
  12767. var r;
  12768. this.provider = n, this.spaceId = s, this.scopedGlobalCache = (r = this.uniCloudIns, L("_globalUniCloudSecureNetworkCache__{spaceId}".replace("{spaceId}", r.config.spaceId)));
  12769. }
  12770. (0, _createClass2.default)(Nt, [{
  12771. key: "getSystemInfo",
  12772. value: function getSystemInfo() {
  12773. return this._systemInfo || (this._systemInfo = ue()), this._systemInfo;
  12774. }
  12775. }, {
  12776. key: "appId",
  12777. get: function get() {
  12778. return this.getSystemInfo().appId;
  12779. }
  12780. }, {
  12781. key: "deviceId",
  12782. get: function get() {
  12783. return this.getSystemInfo().deviceId;
  12784. }
  12785. }, {
  12786. key: "encryptData",
  12787. value: function () {
  12788. var _encryptData = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee34(e) {
  12789. return _regenerator.default.wrap(function _callee34$(_context34) {
  12790. while (1) {
  12791. switch (_context34.prev = _context34.next) {
  12792. case 0:
  12793. return _context34.abrupt("return", this.secretType === xt ? e : this.platformEncryptData(e));
  12794. case 1:
  12795. case "end":
  12796. return _context34.stop();
  12797. }
  12798. }
  12799. }, _callee34, this);
  12800. }));
  12801. function encryptData(_x31) {
  12802. return _encryptData.apply(this, arguments);
  12803. }
  12804. return encryptData;
  12805. }()
  12806. }, {
  12807. key: "decryptResult",
  12808. value: function () {
  12809. var _decryptResult = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee35(e) {
  12810. var _ref20, t, n;
  12811. return _regenerator.default.wrap(function _callee35$(_context35) {
  12812. while (1) {
  12813. switch (_context35.prev = _context35.next) {
  12814. case 0:
  12815. if (!(this.secretType === xt)) {
  12816. _context35.next = 2;
  12817. break;
  12818. }
  12819. return _context35.abrupt("return", e);
  12820. case 2:
  12821. _ref20 = e || {}, t = _ref20.errCode, n = _ref20.content;
  12822. return _context35.abrupt("return", t || !n ? e : this.secretType === Rt ? n : this.platformDecryptResult(e));
  12823. case 4:
  12824. case "end":
  12825. return _context35.stop();
  12826. }
  12827. }
  12828. }, _callee35, this);
  12829. }));
  12830. function decryptResult(_x32) {
  12831. return _decryptResult.apply(this, arguments);
  12832. }
  12833. return decryptResult;
  12834. }()
  12835. }, {
  12836. key: "wrapVerifyClientCallFunction",
  12837. value: function wrapVerifyClientCallFunction(e) {
  12838. var t = this;
  12839. return /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee36() {
  12840. var _ref22,
  12841. n,
  12842. _ref22$data,
  12843. s,
  12844. r,
  12845. _args36 = arguments;
  12846. return _regenerator.default.wrap(function _callee36$(_context36) {
  12847. while (1) {
  12848. switch (_context36.prev = _context36.next) {
  12849. case 0:
  12850. _ref22 = _args36.length > 0 && _args36[0] !== undefined ? _args36[0] : {}, n = _ref22.name, _ref22$data = _ref22.data, s = _ref22$data === void 0 ? {} : _ref22$data;
  12851. _context36.next = 3;
  12852. return t.prepare();
  12853. case 3:
  12854. _context36.next = 5;
  12855. return t.platformGetSignOption();
  12856. case 5:
  12857. (s = JSON.parse(JSON.stringify(s)))._uniCloudOptions = _context36.sent;
  12858. _context36.next = 8;
  12859. return e({
  12860. name: n,
  12861. data: s
  12862. });
  12863. case 8:
  12864. r = _context36.sent;
  12865. _context36.t0 = t.isClientKeyNotFound(r);
  12866. if (!_context36.t0) {
  12867. _context36.next = 19;
  12868. break;
  12869. }
  12870. _context36.next = 13;
  12871. return t.prepare({
  12872. forceUpdate: !0
  12873. });
  12874. case 13:
  12875. _context36.next = 15;
  12876. return t.platformGetSignOption();
  12877. case 15:
  12878. s._uniCloudOptions = _context36.sent;
  12879. _context36.next = 18;
  12880. return e({
  12881. name: n,
  12882. data: s
  12883. });
  12884. case 18:
  12885. r = _context36.sent;
  12886. case 19:
  12887. return _context36.abrupt("return", r);
  12888. case 20:
  12889. case "end":
  12890. return _context36.stop();
  12891. }
  12892. }
  12893. }, _callee36);
  12894. }));
  12895. }
  12896. }, {
  12897. key: "wrapEncryptDataCallFunction",
  12898. value: function wrapEncryptDataCallFunction(e) {
  12899. var t = this;
  12900. return /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee37() {
  12901. var _ref24,
  12902. n,
  12903. _ref24$data,
  12904. s,
  12905. r,
  12906. i,
  12907. _r3,
  12908. _args37 = arguments;
  12909. return _regenerator.default.wrap(function _callee37$(_context37) {
  12910. while (1) {
  12911. switch (_context37.prev = _context37.next) {
  12912. case 0:
  12913. _ref24 = _args37.length > 0 && _args37[0] !== undefined ? _args37[0] : {}, n = _ref24.name, _ref24$data = _ref24.data, s = _ref24$data === void 0 ? {} : _ref24$data;
  12914. _context37.next = 3;
  12915. return t.prepare();
  12916. case 3:
  12917. _context37.next = 5;
  12918. return t.encryptData(s);
  12919. case 5:
  12920. r = _context37.sent;
  12921. _context37.next = 8;
  12922. return e({
  12923. name: n,
  12924. data: r
  12925. });
  12926. case 8:
  12927. i = _context37.sent;
  12928. if (!t.isClientKeyNotFound(i)) {
  12929. _context37.next = 21;
  12930. break;
  12931. }
  12932. _context37.next = 12;
  12933. return t.prepare({
  12934. forceUpdate: !0
  12935. });
  12936. case 12:
  12937. _context37.next = 14;
  12938. return t.encryptData(s);
  12939. case 14:
  12940. _r3 = _context37.sent;
  12941. _context37.next = 17;
  12942. return t.platformGetSignOption();
  12943. case 17:
  12944. s._uniCloudOptions = _context37.sent;
  12945. _context37.next = 20;
  12946. return e({
  12947. name: n,
  12948. data: _r3
  12949. });
  12950. case 20:
  12951. i = _context37.sent;
  12952. case 21:
  12953. _context37.next = 23;
  12954. return t.decryptResult(i.result);
  12955. case 23:
  12956. i.result = _context37.sent;
  12957. return _context37.abrupt("return", i);
  12958. case 25:
  12959. case "end":
  12960. return _context37.stop();
  12961. }
  12962. }
  12963. }, _callee37);
  12964. }));
  12965. }
  12966. }]);
  12967. return Nt;
  12968. }();
  12969. /*! MIT License. Copyright 2015-2018 Richard Moore <me@ricmoo.com>. See LICENSE.txt. */
  12970. function Dt(e) {
  12971. return parseInt(e) === e;
  12972. }
  12973. function Ft(e) {
  12974. if (!Dt(e.length)) return !1;
  12975. for (var t = 0; t < e.length; t++) {
  12976. if (!Dt(e[t]) || e[t] < 0 || e[t] > 255) return !1;
  12977. }
  12978. return !0;
  12979. }
  12980. function qt(e, t) {
  12981. if (e.buffer && "Uint8Array" === e.name) return t && (e = e.slice ? e.slice() : Array.prototype.slice.call(e)), e;
  12982. if (Array.isArray(e)) {
  12983. if (!Ft(e)) throw new Error("Array contains invalid value: " + e);
  12984. return new Uint8Array(e);
  12985. }
  12986. if (Dt(e.length) && Ft(e)) return new Uint8Array(e);
  12987. throw new Error("unsupported array-like object");
  12988. }
  12989. function Mt(e) {
  12990. return new Uint8Array(e);
  12991. }
  12992. function Kt(e, t, n, s, r) {
  12993. null == s && null == r || (e = e.slice ? e.slice(s, r) : Array.prototype.slice.call(e, s, r)), t.set(e, n);
  12994. }
  12995. var jt,
  12996. Bt = {
  12997. toBytes: function toBytes(e) {
  12998. var t = [],
  12999. n = 0;
  13000. for (e = encodeURI(e); n < e.length;) {
  13001. var s = e.charCodeAt(n++);
  13002. 37 === s ? (t.push(parseInt(e.substr(n, 2), 16)), n += 2) : t.push(s);
  13003. }
  13004. return qt(t);
  13005. },
  13006. fromBytes: function fromBytes(e) {
  13007. for (var t = [], n = 0; n < e.length;) {
  13008. var s = e[n];
  13009. s < 128 ? (t.push(String.fromCharCode(s)), n++) : s > 191 && s < 224 ? (t.push(String.fromCharCode((31 & s) << 6 | 63 & e[n + 1])), n += 2) : (t.push(String.fromCharCode((15 & s) << 12 | (63 & e[n + 1]) << 6 | 63 & e[n + 2])), n += 3);
  13010. }
  13011. return t.join("");
  13012. }
  13013. },
  13014. $t = (jt = "0123456789abcdef", {
  13015. toBytes: function toBytes(e) {
  13016. for (var t = [], n = 0; n < e.length; n += 2) {
  13017. t.push(parseInt(e.substr(n, 2), 16));
  13018. }
  13019. return t;
  13020. },
  13021. fromBytes: function fromBytes(e) {
  13022. for (var t = [], n = 0; n < e.length; n++) {
  13023. var s = e[n];
  13024. t.push(jt[(240 & s) >> 4] + jt[15 & s]);
  13025. }
  13026. return t.join("");
  13027. }
  13028. }),
  13029. Wt = {
  13030. 16: 10,
  13031. 24: 12,
  13032. 32: 14
  13033. },
  13034. zt = [1, 2, 4, 8, 16, 32, 64, 128, 27, 54, 108, 216, 171, 77, 154, 47, 94, 188, 99, 198, 151, 53, 106, 212, 179, 125, 250, 239, 197, 145],
  13035. Jt = [99, 124, 119, 123, 242, 107, 111, 197, 48, 1, 103, 43, 254, 215, 171, 118, 202, 130, 201, 125, 250, 89, 71, 240, 173, 212, 162, 175, 156, 164, 114, 192, 183, 253, 147, 38, 54, 63, 247, 204, 52, 165, 229, 241, 113, 216, 49, 21, 4, 199, 35, 195, 24, 150, 5, 154, 7, 18, 128, 226, 235, 39, 178, 117, 9, 131, 44, 26, 27, 110, 90, 160, 82, 59, 214, 179, 41, 227, 47, 132, 83, 209, 0, 237, 32, 252, 177, 91, 106, 203, 190, 57, 74, 76, 88, 207, 208, 239, 170, 251, 67, 77, 51, 133, 69, 249, 2, 127, 80, 60, 159, 168, 81, 163, 64, 143, 146, 157, 56, 245, 188, 182, 218, 33, 16, 255, 243, 210, 205, 12, 19, 236, 95, 151, 68, 23, 196, 167, 126, 61, 100, 93, 25, 115, 96, 129, 79, 220, 34, 42, 144, 136, 70, 238, 184, 20, 222, 94, 11, 219, 224, 50, 58, 10, 73, 6, 36, 92, 194, 211, 172, 98, 145, 149, 228, 121, 231, 200, 55, 109, 141, 213, 78, 169, 108, 86, 244, 234, 101, 122, 174, 8, 186, 120, 37, 46, 28, 166, 180, 198, 232, 221, 116, 31, 75, 189, 139, 138, 112, 62, 181, 102, 72, 3, 246, 14, 97, 53, 87, 185, 134, 193, 29, 158, 225, 248, 152, 17, 105, 217, 142, 148, 155, 30, 135, 233, 206, 85, 40, 223, 140, 161, 137, 13, 191, 230, 66, 104, 65, 153, 45, 15, 176, 84, 187, 22],
  13036. Ht = [82, 9, 106, 213, 48, 54, 165, 56, 191, 64, 163, 158, 129, 243, 215, 251, 124, 227, 57, 130, 155, 47, 255, 135, 52, 142, 67, 68, 196, 222, 233, 203, 84, 123, 148, 50, 166, 194, 35, 61, 238, 76, 149, 11, 66, 250, 195, 78, 8, 46, 161, 102, 40, 217, 36, 178, 118, 91, 162, 73, 109, 139, 209, 37, 114, 248, 246, 100, 134, 104, 152, 22, 212, 164, 92, 204, 93, 101, 182, 146, 108, 112, 72, 80, 253, 237, 185, 218, 94, 21, 70, 87, 167, 141, 157, 132, 144, 216, 171, 0, 140, 188, 211, 10, 247, 228, 88, 5, 184, 179, 69, 6, 208, 44, 30, 143, 202, 63, 15, 2, 193, 175, 189, 3, 1, 19, 138, 107, 58, 145, 17, 65, 79, 103, 220, 234, 151, 242, 207, 206, 240, 180, 230, 115, 150, 172, 116, 34, 231, 173, 53, 133, 226, 249, 55, 232, 28, 117, 223, 110, 71, 241, 26, 113, 29, 41, 197, 137, 111, 183, 98, 14, 170, 24, 190, 27, 252, 86, 62, 75, 198, 210, 121, 32, 154, 219, 192, 254, 120, 205, 90, 244, 31, 221, 168, 51, 136, 7, 199, 49, 177, 18, 16, 89, 39, 128, 236, 95, 96, 81, 127, 169, 25, 181, 74, 13, 45, 229, 122, 159, 147, 201, 156, 239, 160, 224, 59, 77, 174, 42, 245, 176, 200, 235, 187, 60, 131, 83, 153, 97, 23, 43, 4, 126, 186, 119, 214, 38, 225, 105, 20, 99, 85, 33, 12, 125],
  13037. Gt = [3328402341, 4168907908, 4000806809, 4135287693, 4294111757, 3597364157, 3731845041, 2445657428, 1613770832, 33620227, 3462883241, 1445669757, 3892248089, 3050821474, 1303096294, 3967186586, 2412431941, 528646813, 2311702848, 4202528135, 4026202645, 2992200171, 2387036105, 4226871307, 1101901292, 3017069671, 1604494077, 1169141738, 597466303, 1403299063, 3832705686, 2613100635, 1974974402, 3791519004, 1033081774, 1277568618, 1815492186, 2118074177, 4126668546, 2211236943, 1748251740, 1369810420, 3521504564, 4193382664, 3799085459, 2883115123, 1647391059, 706024767, 134480908, 2512897874, 1176707941, 2646852446, 806885416, 932615841, 168101135, 798661301, 235341577, 605164086, 461406363, 3756188221, 3454790438, 1311188841, 2142417613, 3933566367, 302582043, 495158174, 1479289972, 874125870, 907746093, 3698224818, 3025820398, 1537253627, 2756858614, 1983593293, 3084310113, 2108928974, 1378429307, 3722699582, 1580150641, 327451799, 2790478837, 3117535592, 0, 3253595436, 1075847264, 3825007647, 2041688520, 3059440621, 3563743934, 2378943302, 1740553945, 1916352843, 2487896798, 2555137236, 2958579944, 2244988746, 3151024235, 3320835882, 1336584933, 3992714006, 2252555205, 2588757463, 1714631509, 293963156, 2319795663, 3925473552, 67240454, 4269768577, 2689618160, 2017213508, 631218106, 1269344483, 2723238387, 1571005438, 2151694528, 93294474, 1066570413, 563977660, 1882732616, 4059428100, 1673313503, 2008463041, 2950355573, 1109467491, 537923632, 3858759450, 4260623118, 3218264685, 2177748300, 403442708, 638784309, 3287084079, 3193921505, 899127202, 2286175436, 773265209, 2479146071, 1437050866, 4236148354, 2050833735, 3362022572, 3126681063, 840505643, 3866325909, 3227541664, 427917720, 2655997905, 2749160575, 1143087718, 1412049534, 999329963, 193497219, 2353415882, 3354324521, 1807268051, 672404540, 2816401017, 3160301282, 369822493, 2916866934, 3688947771, 1681011286, 1949973070, 336202270, 2454276571, 201721354, 1210328172, 3093060836, 2680341085, 3184776046, 1135389935, 3294782118, 965841320, 831886756, 3554993207, 4068047243, 3588745010, 2345191491, 1849112409, 3664604599, 26054028, 2983581028, 2622377682, 1235855840, 3630984372, 2891339514, 4092916743, 3488279077, 3395642799, 4101667470, 1202630377, 268961816, 1874508501, 4034427016, 1243948399, 1546530418, 941366308, 1470539505, 1941222599, 2546386513, 3421038627, 2715671932, 3899946140, 1042226977, 2521517021, 1639824860, 227249030, 260737669, 3765465232, 2084453954, 1907733956, 3429263018, 2420656344, 100860677, 4160157185, 470683154, 3261161891, 1781871967, 2924959737, 1773779408, 394692241, 2579611992, 974986535, 664706745, 3655459128, 3958962195, 731420851, 571543859, 3530123707, 2849626480, 126783113, 865375399, 765172662, 1008606754, 361203602, 3387549984, 2278477385, 2857719295, 1344809080, 2782912378, 59542671, 1503764984, 160008576, 437062935, 1707065306, 3622233649, 2218934982, 3496503480, 2185314755, 697932208, 1512910199, 504303377, 2075177163, 2824099068, 1841019862, 739644986],
  13038. Vt = [2781242211, 2230877308, 2582542199, 2381740923, 234877682, 3184946027, 2984144751, 1418839493, 1348481072, 50462977, 2848876391, 2102799147, 434634494, 1656084439, 3863849899, 2599188086, 1167051466, 2636087938, 1082771913, 2281340285, 368048890, 3954334041, 3381544775, 201060592, 3963727277, 1739838676, 4250903202, 3930435503, 3206782108, 4149453988, 2531553906, 1536934080, 3262494647, 484572669, 2923271059, 1783375398, 1517041206, 1098792767, 49674231, 1334037708, 1550332980, 4098991525, 886171109, 150598129, 2481090929, 1940642008, 1398944049, 1059722517, 201851908, 1385547719, 1699095331, 1587397571, 674240536, 2704774806, 252314885, 3039795866, 151914247, 908333586, 2602270848, 1038082786, 651029483, 1766729511, 3447698098, 2682942837, 454166793, 2652734339, 1951935532, 775166490, 758520603, 3000790638, 4004797018, 4217086112, 4137964114, 1299594043, 1639438038, 3464344499, 2068982057, 1054729187, 1901997871, 2534638724, 4121318227, 1757008337, 0, 750906861, 1614815264, 535035132, 3363418545, 3988151131, 3201591914, 1183697867, 3647454910, 1265776953, 3734260298, 3566750796, 3903871064, 1250283471, 1807470800, 717615087, 3847203498, 384695291, 3313910595, 3617213773, 1432761139, 2484176261, 3481945413, 283769337, 100925954, 2180939647, 4037038160, 1148730428, 3123027871, 3813386408, 4087501137, 4267549603, 3229630528, 2315620239, 2906624658, 3156319645, 1215313976, 82966005, 3747855548, 3245848246, 1974459098, 1665278241, 807407632, 451280895, 251524083, 1841287890, 1283575245, 337120268, 891687699, 801369324, 3787349855, 2721421207, 3431482436, 959321879, 1469301956, 4065699751, 2197585534, 1199193405, 2898814052, 3887750493, 724703513, 2514908019, 2696962144, 2551808385, 3516813135, 2141445340, 1715741218, 2119445034, 2872807568, 2198571144, 3398190662, 700968686, 3547052216, 1009259540, 2041044702, 3803995742, 487983883, 1991105499, 1004265696, 1449407026, 1316239930, 504629770, 3683797321, 168560134, 1816667172, 3837287516, 1570751170, 1857934291, 4014189740, 2797888098, 2822345105, 2754712981, 936633572, 2347923833, 852879335, 1133234376, 1500395319, 3084545389, 2348912013, 1689376213, 3533459022, 3762923945, 3034082412, 4205598294, 133428468, 634383082, 2949277029, 2398386810, 3913789102, 403703816, 3580869306, 2297460856, 1867130149, 1918643758, 607656988, 4049053350, 3346248884, 1368901318, 600565992, 2090982877, 2632479860, 557719327, 3717614411, 3697393085, 2249034635, 2232388234, 2430627952, 1115438654, 3295786421, 2865522278, 3633334344, 84280067, 33027830, 303828494, 2747425121, 1600795957, 4188952407, 3496589753, 2434238086, 1486471617, 658119965, 3106381470, 953803233, 334231800, 3005978776, 857870609, 3151128937, 1890179545, 2298973838, 2805175444, 3056442267, 574365214, 2450884487, 550103529, 1233637070, 4289353045, 2018519080, 2057691103, 2399374476, 4166623649, 2148108681, 387583245, 3664101311, 836232934, 3330556482, 3100665960, 3280093505, 2955516313, 2002398509, 287182607, 3413881008, 4238890068, 3597515707, 975967766],
  13039. Qt = [1671808611, 2089089148, 2006576759, 2072901243, 4061003762, 1807603307, 1873927791, 3310653893, 810573872, 16974337, 1739181671, 729634347, 4263110654, 3613570519, 2883997099, 1989864566, 3393556426, 2191335298, 3376449993, 2106063485, 4195741690, 1508618841, 1204391495, 4027317232, 2917941677, 3563566036, 2734514082, 2951366063, 2629772188, 2767672228, 1922491506, 3227229120, 3082974647, 4246528509, 2477669779, 644500518, 911895606, 1061256767, 4144166391, 3427763148, 878471220, 2784252325, 3845444069, 4043897329, 1905517169, 3631459288, 827548209, 356461077, 67897348, 3344078279, 593839651, 3277757891, 405286936, 2527147926, 84871685, 2595565466, 118033927, 305538066, 2157648768, 3795705826, 3945188843, 661212711, 2999812018, 1973414517, 152769033, 2208177539, 745822252, 439235610, 455947803, 1857215598, 1525593178, 2700827552, 1391895634, 994932283, 3596728278, 3016654259, 695947817, 3812548067, 795958831, 2224493444, 1408607827, 3513301457, 0, 3979133421, 543178784, 4229948412, 2982705585, 1542305371, 1790891114, 3410398667, 3201918910, 961245753, 1256100938, 1289001036, 1491644504, 3477767631, 3496721360, 4012557807, 2867154858, 4212583931, 1137018435, 1305975373, 861234739, 2241073541, 1171229253, 4178635257, 33948674, 2139225727, 1357946960, 1011120188, 2679776671, 2833468328, 1374921297, 2751356323, 1086357568, 2408187279, 2460827538, 2646352285, 944271416, 4110742005, 3168756668, 3066132406, 3665145818, 560153121, 271589392, 4279952895, 4077846003, 3530407890, 3444343245, 202643468, 322250259, 3962553324, 1608629855, 2543990167, 1154254916, 389623319, 3294073796, 2817676711, 2122513534, 1028094525, 1689045092, 1575467613, 422261273, 1939203699, 1621147744, 2174228865, 1339137615, 3699352540, 577127458, 712922154, 2427141008, 2290289544, 1187679302, 3995715566, 3100863416, 339486740, 3732514782, 1591917662, 186455563, 3681988059, 3762019296, 844522546, 978220090, 169743370, 1239126601, 101321734, 611076132, 1558493276, 3260915650, 3547250131, 2901361580, 1655096418, 2443721105, 2510565781, 3828863972, 2039214713, 3878868455, 3359869896, 928607799, 1840765549, 2374762893, 3580146133, 1322425422, 2850048425, 1823791212, 1459268694, 4094161908, 3928346602, 1706019429, 2056189050, 2934523822, 135794696, 3134549946, 2022240376, 628050469, 779246638, 472135708, 2800834470, 3032970164, 3327236038, 3894660072, 3715932637, 1956440180, 522272287, 1272813131, 3185336765, 2340818315, 2323976074, 1888542832, 1044544574, 3049550261, 1722469478, 1222152264, 50660867, 4127324150, 236067854, 1638122081, 895445557, 1475980887, 3117443513, 2257655686, 3243809217, 489110045, 2662934430, 3778599393, 4162055160, 2561878936, 288563729, 1773916777, 3648039385, 2391345038, 2493985684, 2612407707, 505560094, 2274497927, 3911240169, 3460925390, 1442818645, 678973480, 3749357023, 2358182796, 2717407649, 2306869641, 219617805, 3218761151, 3862026214, 1120306242, 1756942440, 1103331905, 2578459033, 762796589, 252780047, 2966125488, 1425844308, 3151392187, 372911126],
  13040. Yt = [1667474886, 2088535288, 2004326894, 2071694838, 4075949567, 1802223062, 1869591006, 3318043793, 808472672, 16843522, 1734846926, 724270422, 4278065639, 3621216949, 2880169549, 1987484396, 3402253711, 2189597983, 3385409673, 2105378810, 4210693615, 1499065266, 1195886990, 4042263547, 2913856577, 3570689971, 2728590687, 2947541573, 2627518243, 2762274643, 1920112356, 3233831835, 3082273397, 4261223649, 2475929149, 640051788, 909531756, 1061110142, 4160160501, 3435941763, 875846760, 2779116625, 3857003729, 4059105529, 1903268834, 3638064043, 825316194, 353713962, 67374088, 3351728789, 589522246, 3284360861, 404236336, 2526454071, 84217610, 2593830191, 117901582, 303183396, 2155911963, 3806477791, 3958056653, 656894286, 2998062463, 1970642922, 151591698, 2206440989, 741110872, 437923380, 454765878, 1852748508, 1515908788, 2694904667, 1381168804, 993742198, 3604373943, 3014905469, 690584402, 3823320797, 791638366, 2223281939, 1398011302, 3520161977, 0, 3991743681, 538992704, 4244381667, 2981218425, 1532751286, 1785380564, 3419096717, 3200178535, 960056178, 1246420628, 1280103576, 1482221744, 3486468741, 3503319995, 4025428677, 2863326543, 4227536621, 1128514950, 1296947098, 859002214, 2240123921, 1162203018, 4193849577, 33687044, 2139062782, 1347481760, 1010582648, 2678045221, 2829640523, 1364325282, 2745433693, 1077985408, 2408548869, 2459086143, 2644360225, 943212656, 4126475505, 3166494563, 3065430391, 3671750063, 555836226, 269496352, 4294908645, 4092792573, 3537006015, 3452783745, 202118168, 320025894, 3974901699, 1600119230, 2543297077, 1145359496, 387397934, 3301201811, 2812801621, 2122220284, 1027426170, 1684319432, 1566435258, 421079858, 1936954854, 1616945344, 2172753945, 1330631070, 3705438115, 572679748, 707427924, 2425400123, 2290647819, 1179044492, 4008585671, 3099120491, 336870440, 3739122087, 1583276732, 185277718, 3688593069, 3772791771, 842159716, 976899700, 168435220, 1229577106, 101059084, 606366792, 1549591736, 3267517855, 3553849021, 2897014595, 1650632388, 2442242105, 2509612081, 3840161747, 2038008818, 3890688725, 3368567691, 926374254, 1835907034, 2374863873, 3587531953, 1313788572, 2846482505, 1819063512, 1448540844, 4109633523, 3941213647, 1701162954, 2054852340, 2930698567, 134748176, 3132806511, 2021165296, 623210314, 774795868, 471606328, 2795958615, 3031746419, 3334885783, 3907527627, 3722280097, 1953799400, 522133822, 1263263126, 3183336545, 2341176845, 2324333839, 1886425312, 1044267644, 3048588401, 1718004428, 1212733584, 50529542, 4143317495, 235803164, 1633788866, 892690282, 1465383342, 3115962473, 2256965911, 3250673817, 488449850, 2661202215, 3789633753, 4177007595, 2560144171, 286339874, 1768537042, 3654906025, 2391705863, 2492770099, 2610673197, 505291324, 2273808917, 3924369609, 3469625735, 1431699370, 673740880, 3755965093, 2358021891, 2711746649, 2307489801, 218961690, 3217021541, 3873845719, 1111672452, 1751693520, 1094828930, 2576986153, 757954394, 252645662, 2964376443, 1414855848, 3149649517, 370555436],
  13041. Xt = [1374988112, 2118214995, 437757123, 975658646, 1001089995, 530400753, 2902087851, 1273168787, 540080725, 2910219766, 2295101073, 4110568485, 1340463100, 3307916247, 641025152, 3043140495, 3736164937, 632953703, 1172967064, 1576976609, 3274667266, 2169303058, 2370213795, 1809054150, 59727847, 361929877, 3211623147, 2505202138, 3569255213, 1484005843, 1239443753, 2395588676, 1975683434, 4102977912, 2572697195, 666464733, 3202437046, 4035489047, 3374361702, 2110667444, 1675577880, 3843699074, 2538681184, 1649639237, 2976151520, 3144396420, 4269907996, 4178062228, 1883793496, 2403728665, 2497604743, 1383856311, 2876494627, 1917518562, 3810496343, 1716890410, 3001755655, 800440835, 2261089178, 3543599269, 807962610, 599762354, 33778362, 3977675356, 2328828971, 2809771154, 4077384432, 1315562145, 1708848333, 101039829, 3509871135, 3299278474, 875451293, 2733856160, 92987698, 2767645557, 193195065, 1080094634, 1584504582, 3178106961, 1042385657, 2531067453, 3711829422, 1306967366, 2438237621, 1908694277, 67556463, 1615861247, 429456164, 3602770327, 2302690252, 1742315127, 2968011453, 126454664, 3877198648, 2043211483, 2709260871, 2084704233, 4169408201, 0, 159417987, 841739592, 504459436, 1817866830, 4245618683, 260388950, 1034867998, 908933415, 168810852, 1750902305, 2606453969, 607530554, 202008497, 2472011535, 3035535058, 463180190, 2160117071, 1641816226, 1517767529, 470948374, 3801332234, 3231722213, 1008918595, 303765277, 235474187, 4069246893, 766945465, 337553864, 1475418501, 2943682380, 4003061179, 2743034109, 4144047775, 1551037884, 1147550661, 1543208500, 2336434550, 3408119516, 3069049960, 3102011747, 3610369226, 1113818384, 328671808, 2227573024, 2236228733, 3535486456, 2935566865, 3341394285, 496906059, 3702665459, 226906860, 2009195472, 733156972, 2842737049, 294930682, 1206477858, 2835123396, 2700099354, 1451044056, 573804783, 2269728455, 3644379585, 2362090238, 2564033334, 2801107407, 2776292904, 3669462566, 1068351396, 742039012, 1350078989, 1784663195, 1417561698, 4136440770, 2430122216, 775550814, 2193862645, 2673705150, 1775276924, 1876241833, 3475313331, 3366754619, 270040487, 3902563182, 3678124923, 3441850377, 1851332852, 3969562369, 2203032232, 3868552805, 2868897406, 566021896, 4011190502, 3135740889, 1248802510, 3936291284, 699432150, 832877231, 708780849, 3332740144, 899835584, 1951317047, 4236429990, 3767586992, 866637845, 4043610186, 1106041591, 2144161806, 395441711, 1984812685, 1139781709, 3433712980, 3835036895, 2664543715, 1282050075, 3240894392, 1181045119, 2640243204, 25965917, 4203181171, 4211818798, 3009879386, 2463879762, 3910161971, 1842759443, 2597806476, 933301370, 1509430414, 3943906441, 3467192302, 3076639029, 3776767469, 2051518780, 2631065433, 1441952575, 404016761, 1942435775, 1408749034, 1610459739, 3745345300, 2017778566, 3400528769, 3110650942, 941896748, 3265478751, 371049330, 3168937228, 675039627, 4279080257, 967311729, 135050206, 3635733660, 1683407248, 2076935265, 3576870512, 1215061108, 3501741890],
  13042. Zt = [1347548327, 1400783205, 3273267108, 2520393566, 3409685355, 4045380933, 2880240216, 2471224067, 1428173050, 4138563181, 2441661558, 636813900, 4233094615, 3620022987, 2149987652, 2411029155, 1239331162, 1730525723, 2554718734, 3781033664, 46346101, 310463728, 2743944855, 3328955385, 3875770207, 2501218972, 3955191162, 3667219033, 768917123, 3545789473, 692707433, 1150208456, 1786102409, 2029293177, 1805211710, 3710368113, 3065962831, 401639597, 1724457132, 3028143674, 409198410, 2196052529, 1620529459, 1164071807, 3769721975, 2226875310, 486441376, 2499348523, 1483753576, 428819965, 2274680428, 3075636216, 598438867, 3799141122, 1474502543, 711349675, 129166120, 53458370, 2592523643, 2782082824, 4063242375, 2988687269, 3120694122, 1559041666, 730517276, 2460449204, 4042459122, 2706270690, 3446004468, 3573941694, 533804130, 2328143614, 2637442643, 2695033685, 839224033, 1973745387, 957055980, 2856345839, 106852767, 1371368976, 4181598602, 1033297158, 2933734917, 1179510461, 3046200461, 91341917, 1862534868, 4284502037, 605657339, 2547432937, 3431546947, 2003294622, 3182487618, 2282195339, 954669403, 3682191598, 1201765386, 3917234703, 3388507166, 0, 2198438022, 1211247597, 2887651696, 1315723890, 4227665663, 1443857720, 507358933, 657861945, 1678381017, 560487590, 3516619604, 975451694, 2970356327, 261314535, 3535072918, 2652609425, 1333838021, 2724322336, 1767536459, 370938394, 182621114, 3854606378, 1128014560, 487725847, 185469197, 2918353863, 3106780840, 3356761769, 2237133081, 1286567175, 3152976349, 4255350624, 2683765030, 3160175349, 3309594171, 878443390, 1988838185, 3704300486, 1756818940, 1673061617, 3403100636, 272786309, 1075025698, 545572369, 2105887268, 4174560061, 296679730, 1841768865, 1260232239, 4091327024, 3960309330, 3497509347, 1814803222, 2578018489, 4195456072, 575138148, 3299409036, 446754879, 3629546796, 4011996048, 3347532110, 3252238545, 4270639778, 915985419, 3483825537, 681933534, 651868046, 2755636671, 3828103837, 223377554, 2607439820, 1649704518, 3270937875, 3901806776, 1580087799, 4118987695, 3198115200, 2087309459, 2842678573, 3016697106, 1003007129, 2802849917, 1860738147, 2077965243, 164439672, 4100872472, 32283319, 2827177882, 1709610350, 2125135846, 136428751, 3874428392, 3652904859, 3460984630, 3572145929, 3593056380, 2939266226, 824852259, 818324884, 3224740454, 930369212, 2801566410, 2967507152, 355706840, 1257309336, 4148292826, 243256656, 790073846, 2373340630, 1296297904, 1422699085, 3756299780, 3818836405, 457992840, 3099667487, 2135319889, 77422314, 1560382517, 1945798516, 788204353, 1521706781, 1385356242, 870912086, 325965383, 2358957921, 2050466060, 2388260884, 2313884476, 4006521127, 901210569, 3990953189, 1014646705, 1503449823, 1062597235, 2031621326, 3212035895, 3931371469, 1533017514, 350174575, 2256028891, 2177544179, 1052338372, 741876788, 1606591296, 1914052035, 213705253, 2334669897, 1107234197, 1899603969, 3725069491, 2631447780, 2422494913, 1635502980, 1893020342, 1950903388, 1120974935],
  13043. en = [2807058932, 1699970625, 2764249623, 1586903591, 1808481195, 1173430173, 1487645946, 59984867, 4199882800, 1844882806, 1989249228, 1277555970, 3623636965, 3419915562, 1149249077, 2744104290, 1514790577, 459744698, 244860394, 3235995134, 1963115311, 4027744588, 2544078150, 4190530515, 1608975247, 2627016082, 2062270317, 1507497298, 2200818878, 567498868, 1764313568, 3359936201, 2305455554, 2037970062, 1047239e3, 1910319033, 1337376481, 2904027272, 2892417312, 984907214, 1243112415, 830661914, 861968209, 2135253587, 2011214180, 2927934315, 2686254721, 731183368, 1750626376, 4246310725, 1820824798, 4172763771, 3542330227, 48394827, 2404901663, 2871682645, 671593195, 3254988725, 2073724613, 145085239, 2280796200, 2779915199, 1790575107, 2187128086, 472615631, 3029510009, 4075877127, 3802222185, 4107101658, 3201631749, 1646252340, 4270507174, 1402811438, 1436590835, 3778151818, 3950355702, 3963161475, 4020912224, 2667994737, 273792366, 2331590177, 104699613, 95345982, 3175501286, 2377486676, 1560637892, 3564045318, 369057872, 4213447064, 3919042237, 1137477952, 2658625497, 1119727848, 2340947849, 1530455833, 4007360968, 172466556, 266959938, 516552836, 0, 2256734592, 3980931627, 1890328081, 1917742170, 4294704398, 945164165, 3575528878, 958871085, 3647212047, 2787207260, 1423022939, 775562294, 1739656202, 3876557655, 2530391278, 2443058075, 3310321856, 547512796, 1265195639, 437656594, 3121275539, 719700128, 3762502690, 387781147, 218828297, 3350065803, 2830708150, 2848461854, 428169201, 122466165, 3720081049, 1627235199, 648017665, 4122762354, 1002783846, 2117360635, 695634755, 3336358691, 4234721005, 4049844452, 3704280881, 2232435299, 574624663, 287343814, 612205898, 1039717051, 840019705, 2708326185, 793451934, 821288114, 1391201670, 3822090177, 376187827, 3113855344, 1224348052, 1679968233, 2361698556, 1058709744, 752375421, 2431590963, 1321699145, 3519142200, 2734591178, 188127444, 2177869557, 3727205754, 2384911031, 3215212461, 2648976442, 2450346104, 3432737375, 1180849278, 331544205, 3102249176, 4150144569, 2952102595, 2159976285, 2474404304, 766078933, 313773861, 2570832044, 2108100632, 1668212892, 3145456443, 2013908262, 418672217, 3070356634, 2594734927, 1852171925, 3867060991, 3473416636, 3907448597, 2614737639, 919489135, 164948639, 2094410160, 2997825956, 590424639, 2486224549, 1723872674, 3157750862, 3399941250, 3501252752, 3625268135, 2555048196, 3673637356, 1343127501, 4130281361, 3599595085, 2957853679, 1297403050, 81781910, 3051593425, 2283490410, 532201772, 1367295589, 3926170974, 895287692, 1953757831, 1093597963, 492483431, 3528626907, 1446242576, 1192455638, 1636604631, 209336225, 344873464, 1015671571, 669961897, 3375740769, 3857572124, 2973530695, 3747192018, 1933530610, 3464042516, 935293895, 3454686199, 2858115069, 1863638845, 3683022916, 4085369519, 3292445032, 875313188, 1080017571, 3279033885, 621591778, 1233856572, 2504130317, 24197544, 3017672716, 3835484340, 3247465558, 2220981195, 3060847922, 1551124588, 1463996600],
  13044. tn = [4104605777, 1097159550, 396673818, 660510266, 2875968315, 2638606623, 4200115116, 3808662347, 821712160, 1986918061, 3430322568, 38544885, 3856137295, 718002117, 893681702, 1654886325, 2975484382, 3122358053, 3926825029, 4274053469, 796197571, 1290801793, 1184342925, 3556361835, 2405426947, 2459735317, 1836772287, 1381620373, 3196267988, 1948373848, 3764988233, 3385345166, 3263785589, 2390325492, 1480485785, 3111247143, 3780097726, 2293045232, 548169417, 3459953789, 3746175075, 439452389, 1362321559, 1400849762, 1685577905, 1806599355, 2174754046, 137073913, 1214797936, 1174215055, 3731654548, 2079897426, 1943217067, 1258480242, 529487843, 1437280870, 3945269170, 3049390895, 3313212038, 923313619, 679998e3, 3215307299, 57326082, 377642221, 3474729866, 2041877159, 133361907, 1776460110, 3673476453, 96392454, 878845905, 2801699524, 777231668, 4082475170, 2330014213, 4142626212, 2213296395, 1626319424, 1906247262, 1846563261, 562755902, 3708173718, 1040559837, 3871163981, 1418573201, 3294430577, 114585348, 1343618912, 2566595609, 3186202582, 1078185097, 3651041127, 3896688048, 2307622919, 425408743, 3371096953, 2081048481, 1108339068, 2216610296, 0, 2156299017, 736970802, 292596766, 1517440620, 251657213, 2235061775, 2933202493, 758720310, 265905162, 1554391400, 1532285339, 908999204, 174567692, 1474760595, 4002861748, 2610011675, 3234156416, 3693126241, 2001430874, 303699484, 2478443234, 2687165888, 585122620, 454499602, 151849742, 2345119218, 3064510765, 514443284, 4044981591, 1963412655, 2581445614, 2137062819, 19308535, 1928707164, 1715193156, 4219352155, 1126790795, 600235211, 3992742070, 3841024952, 836553431, 1669664834, 2535604243, 3323011204, 1243905413, 3141400786, 4180808110, 698445255, 2653899549, 2989552604, 2253581325, 3252932727, 3004591147, 1891211689, 2487810577, 3915653703, 4237083816, 4030667424, 2100090966, 865136418, 1229899655, 953270745, 3399679628, 3557504664, 4118925222, 2061379749, 3079546586, 2915017791, 983426092, 2022837584, 1607244650, 2118541908, 2366882550, 3635996816, 972512814, 3283088770, 1568718495, 3499326569, 3576539503, 621982671, 2895723464, 410887952, 2623762152, 1002142683, 645401037, 1494807662, 2595684844, 1335535747, 2507040230, 4293295786, 3167684641, 367585007, 3885750714, 1865862730, 2668221674, 2960971305, 2763173681, 1059270954, 2777952454, 2724642869, 1320957812, 2194319100, 2429595872, 2815956275, 77089521, 3973773121, 3444575871, 2448830231, 1305906550, 4021308739, 2857194700, 2516901860, 3518358430, 1787304780, 740276417, 1699839814, 1592394909, 2352307457, 2272556026, 188821243, 1729977011, 3687994002, 274084841, 3594982253, 3613494426, 2701949495, 4162096729, 322734571, 2837966542, 1640576439, 484830689, 1202797690, 3537852828, 4067639125, 349075736, 3342319475, 4157467219, 4255800159, 1030690015, 1155237496, 2951971274, 1757691577, 607398968, 2738905026, 499347990, 3794078908, 1011452712, 227885567, 2818666809, 213114376, 3034881240, 1455525988, 3414450555, 850817237, 1817998408, 3092726480],
  13045. nn = [0, 235474187, 470948374, 303765277, 941896748, 908933415, 607530554, 708780849, 1883793496, 2118214995, 1817866830, 1649639237, 1215061108, 1181045119, 1417561698, 1517767529, 3767586992, 4003061179, 4236429990, 4069246893, 3635733660, 3602770327, 3299278474, 3400528769, 2430122216, 2664543715, 2362090238, 2193862645, 2835123396, 2801107407, 3035535058, 3135740889, 3678124923, 3576870512, 3341394285, 3374361702, 3810496343, 3977675356, 4279080257, 4043610186, 2876494627, 2776292904, 3076639029, 3110650942, 2472011535, 2640243204, 2403728665, 2169303058, 1001089995, 899835584, 666464733, 699432150, 59727847, 226906860, 530400753, 294930682, 1273168787, 1172967064, 1475418501, 1509430414, 1942435775, 2110667444, 1876241833, 1641816226, 2910219766, 2743034109, 2976151520, 3211623147, 2505202138, 2606453969, 2302690252, 2269728455, 3711829422, 3543599269, 3240894392, 3475313331, 3843699074, 3943906441, 4178062228, 4144047775, 1306967366, 1139781709, 1374988112, 1610459739, 1975683434, 2076935265, 1775276924, 1742315127, 1034867998, 866637845, 566021896, 800440835, 92987698, 193195065, 429456164, 395441711, 1984812685, 2017778566, 1784663195, 1683407248, 1315562145, 1080094634, 1383856311, 1551037884, 101039829, 135050206, 437757123, 337553864, 1042385657, 807962610, 573804783, 742039012, 2531067453, 2564033334, 2328828971, 2227573024, 2935566865, 2700099354, 3001755655, 3168937228, 3868552805, 3902563182, 4203181171, 4102977912, 3736164937, 3501741890, 3265478751, 3433712980, 1106041591, 1340463100, 1576976609, 1408749034, 2043211483, 2009195472, 1708848333, 1809054150, 832877231, 1068351396, 766945465, 599762354, 159417987, 126454664, 361929877, 463180190, 2709260871, 2943682380, 3178106961, 3009879386, 2572697195, 2538681184, 2236228733, 2336434550, 3509871135, 3745345300, 3441850377, 3274667266, 3910161971, 3877198648, 4110568485, 4211818798, 2597806476, 2497604743, 2261089178, 2295101073, 2733856160, 2902087851, 3202437046, 2968011453, 3936291284, 3835036895, 4136440770, 4169408201, 3535486456, 3702665459, 3467192302, 3231722213, 2051518780, 1951317047, 1716890410, 1750902305, 1113818384, 1282050075, 1584504582, 1350078989, 168810852, 67556463, 371049330, 404016761, 841739592, 1008918595, 775550814, 540080725, 3969562369, 3801332234, 4035489047, 4269907996, 3569255213, 3669462566, 3366754619, 3332740144, 2631065433, 2463879762, 2160117071, 2395588676, 2767645557, 2868897406, 3102011747, 3069049960, 202008497, 33778362, 270040487, 504459436, 875451293, 975658646, 675039627, 641025152, 2084704233, 1917518562, 1615861247, 1851332852, 1147550661, 1248802510, 1484005843, 1451044056, 933301370, 967311729, 733156972, 632953703, 260388950, 25965917, 328671808, 496906059, 1206477858, 1239443753, 1543208500, 1441952575, 2144161806, 1908694277, 1675577880, 1842759443, 3610369226, 3644379585, 3408119516, 3307916247, 4011190502, 3776767469, 4077384432, 4245618683, 2809771154, 2842737049, 3144396420, 3043140495, 2673705150, 2438237621, 2203032232, 2370213795],
  13046. sn = [0, 185469197, 370938394, 487725847, 741876788, 657861945, 975451694, 824852259, 1483753576, 1400783205, 1315723890, 1164071807, 1950903388, 2135319889, 1649704518, 1767536459, 2967507152, 3152976349, 2801566410, 2918353863, 2631447780, 2547432937, 2328143614, 2177544179, 3901806776, 3818836405, 4270639778, 4118987695, 3299409036, 3483825537, 3535072918, 3652904859, 2077965243, 1893020342, 1841768865, 1724457132, 1474502543, 1559041666, 1107234197, 1257309336, 598438867, 681933534, 901210569, 1052338372, 261314535, 77422314, 428819965, 310463728, 3409685355, 3224740454, 3710368113, 3593056380, 3875770207, 3960309330, 4045380933, 4195456072, 2471224067, 2554718734, 2237133081, 2388260884, 3212035895, 3028143674, 2842678573, 2724322336, 4138563181, 4255350624, 3769721975, 3955191162, 3667219033, 3516619604, 3431546947, 3347532110, 2933734917, 2782082824, 3099667487, 3016697106, 2196052529, 2313884476, 2499348523, 2683765030, 1179510461, 1296297904, 1347548327, 1533017514, 1786102409, 1635502980, 2087309459, 2003294622, 507358933, 355706840, 136428751, 53458370, 839224033, 957055980, 605657339, 790073846, 2373340630, 2256028891, 2607439820, 2422494913, 2706270690, 2856345839, 3075636216, 3160175349, 3573941694, 3725069491, 3273267108, 3356761769, 4181598602, 4063242375, 4011996048, 3828103837, 1033297158, 915985419, 730517276, 545572369, 296679730, 446754879, 129166120, 213705253, 1709610350, 1860738147, 1945798516, 2029293177, 1239331162, 1120974935, 1606591296, 1422699085, 4148292826, 4233094615, 3781033664, 3931371469, 3682191598, 3497509347, 3446004468, 3328955385, 2939266226, 2755636671, 3106780840, 2988687269, 2198438022, 2282195339, 2501218972, 2652609425, 1201765386, 1286567175, 1371368976, 1521706781, 1805211710, 1620529459, 2105887268, 1988838185, 533804130, 350174575, 164439672, 46346101, 870912086, 954669403, 636813900, 788204353, 2358957921, 2274680428, 2592523643, 2441661558, 2695033685, 2880240216, 3065962831, 3182487618, 3572145929, 3756299780, 3270937875, 3388507166, 4174560061, 4091327024, 4006521127, 3854606378, 1014646705, 930369212, 711349675, 560487590, 272786309, 457992840, 106852767, 223377554, 1678381017, 1862534868, 1914052035, 2031621326, 1211247597, 1128014560, 1580087799, 1428173050, 32283319, 182621114, 401639597, 486441376, 768917123, 651868046, 1003007129, 818324884, 1503449823, 1385356242, 1333838021, 1150208456, 1973745387, 2125135846, 1673061617, 1756818940, 2970356327, 3120694122, 2802849917, 2887651696, 2637442643, 2520393566, 2334669897, 2149987652, 3917234703, 3799141122, 4284502037, 4100872472, 3309594171, 3460984630, 3545789473, 3629546796, 2050466060, 1899603969, 1814803222, 1730525723, 1443857720, 1560382517, 1075025698, 1260232239, 575138148, 692707433, 878443390, 1062597235, 243256656, 91341917, 409198410, 325965383, 3403100636, 3252238545, 3704300486, 3620022987, 3874428392, 3990953189, 4042459122, 4227665663, 2460449204, 2578018489, 2226875310, 2411029155, 3198115200, 3046200461, 2827177882, 2743944855],
  13047. rn = [0, 218828297, 437656594, 387781147, 875313188, 958871085, 775562294, 590424639, 1750626376, 1699970625, 1917742170, 2135253587, 1551124588, 1367295589, 1180849278, 1265195639, 3501252752, 3720081049, 3399941250, 3350065803, 3835484340, 3919042237, 4270507174, 4085369519, 3102249176, 3051593425, 2734591178, 2952102595, 2361698556, 2177869557, 2530391278, 2614737639, 3145456443, 3060847922, 2708326185, 2892417312, 2404901663, 2187128086, 2504130317, 2555048196, 3542330227, 3727205754, 3375740769, 3292445032, 3876557655, 3926170974, 4246310725, 4027744588, 1808481195, 1723872674, 1910319033, 2094410160, 1608975247, 1391201670, 1173430173, 1224348052, 59984867, 244860394, 428169201, 344873464, 935293895, 984907214, 766078933, 547512796, 1844882806, 1627235199, 2011214180, 2062270317, 1507497298, 1423022939, 1137477952, 1321699145, 95345982, 145085239, 532201772, 313773861, 830661914, 1015671571, 731183368, 648017665, 3175501286, 2957853679, 2807058932, 2858115069, 2305455554, 2220981195, 2474404304, 2658625497, 3575528878, 3625268135, 3473416636, 3254988725, 3778151818, 3963161475, 4213447064, 4130281361, 3599595085, 3683022916, 3432737375, 3247465558, 3802222185, 4020912224, 4172763771, 4122762354, 3201631749, 3017672716, 2764249623, 2848461854, 2331590177, 2280796200, 2431590963, 2648976442, 104699613, 188127444, 472615631, 287343814, 840019705, 1058709744, 671593195, 621591778, 1852171925, 1668212892, 1953757831, 2037970062, 1514790577, 1463996600, 1080017571, 1297403050, 3673637356, 3623636965, 3235995134, 3454686199, 4007360968, 3822090177, 4107101658, 4190530515, 2997825956, 3215212461, 2830708150, 2779915199, 2256734592, 2340947849, 2627016082, 2443058075, 172466556, 122466165, 273792366, 492483431, 1047239e3, 861968209, 612205898, 695634755, 1646252340, 1863638845, 2013908262, 1963115311, 1446242576, 1530455833, 1277555970, 1093597963, 1636604631, 1820824798, 2073724613, 1989249228, 1436590835, 1487645946, 1337376481, 1119727848, 164948639, 81781910, 331544205, 516552836, 1039717051, 821288114, 669961897, 719700128, 2973530695, 3157750862, 2871682645, 2787207260, 2232435299, 2283490410, 2667994737, 2450346104, 3647212047, 3564045318, 3279033885, 3464042516, 3980931627, 3762502690, 4150144569, 4199882800, 3070356634, 3121275539, 2904027272, 2686254721, 2200818878, 2384911031, 2570832044, 2486224549, 3747192018, 3528626907, 3310321856, 3359936201, 3950355702, 3867060991, 4049844452, 4234721005, 1739656202, 1790575107, 2108100632, 1890328081, 1402811438, 1586903591, 1233856572, 1149249077, 266959938, 48394827, 369057872, 418672217, 1002783846, 919489135, 567498868, 752375421, 209336225, 24197544, 376187827, 459744698, 945164165, 895287692, 574624663, 793451934, 1679968233, 1764313568, 2117360635, 1933530610, 1343127501, 1560637892, 1243112415, 1192455638, 3704280881, 3519142200, 3336358691, 3419915562, 3907448597, 3857572124, 4075877127, 4294704398, 3029510009, 3113855344, 2927934315, 2744104290, 2159976285, 2377486676, 2594734927, 2544078150],
  13048. on = [0, 151849742, 303699484, 454499602, 607398968, 758720310, 908999204, 1059270954, 1214797936, 1097159550, 1517440620, 1400849762, 1817998408, 1699839814, 2118541908, 2001430874, 2429595872, 2581445614, 2194319100, 2345119218, 3034881240, 3186202582, 2801699524, 2951971274, 3635996816, 3518358430, 3399679628, 3283088770, 4237083816, 4118925222, 4002861748, 3885750714, 1002142683, 850817237, 698445255, 548169417, 529487843, 377642221, 227885567, 77089521, 1943217067, 2061379749, 1640576439, 1757691577, 1474760595, 1592394909, 1174215055, 1290801793, 2875968315, 2724642869, 3111247143, 2960971305, 2405426947, 2253581325, 2638606623, 2487810577, 3808662347, 3926825029, 4044981591, 4162096729, 3342319475, 3459953789, 3576539503, 3693126241, 1986918061, 2137062819, 1685577905, 1836772287, 1381620373, 1532285339, 1078185097, 1229899655, 1040559837, 923313619, 740276417, 621982671, 439452389, 322734571, 137073913, 19308535, 3871163981, 4021308739, 4104605777, 4255800159, 3263785589, 3414450555, 3499326569, 3651041127, 2933202493, 2815956275, 3167684641, 3049390895, 2330014213, 2213296395, 2566595609, 2448830231, 1305906550, 1155237496, 1607244650, 1455525988, 1776460110, 1626319424, 2079897426, 1928707164, 96392454, 213114376, 396673818, 514443284, 562755902, 679998e3, 865136418, 983426092, 3708173718, 3557504664, 3474729866, 3323011204, 4180808110, 4030667424, 3945269170, 3794078908, 2507040230, 2623762152, 2272556026, 2390325492, 2975484382, 3092726480, 2738905026, 2857194700, 3973773121, 3856137295, 4274053469, 4157467219, 3371096953, 3252932727, 3673476453, 3556361835, 2763173681, 2915017791, 3064510765, 3215307299, 2156299017, 2307622919, 2459735317, 2610011675, 2081048481, 1963412655, 1846563261, 1729977011, 1480485785, 1362321559, 1243905413, 1126790795, 878845905, 1030690015, 645401037, 796197571, 274084841, 425408743, 38544885, 188821243, 3613494426, 3731654548, 3313212038, 3430322568, 4082475170, 4200115116, 3780097726, 3896688048, 2668221674, 2516901860, 2366882550, 2216610296, 3141400786, 2989552604, 2837966542, 2687165888, 1202797690, 1320957812, 1437280870, 1554391400, 1669664834, 1787304780, 1906247262, 2022837584, 265905162, 114585348, 499347990, 349075736, 736970802, 585122620, 972512814, 821712160, 2595684844, 2478443234, 2293045232, 2174754046, 3196267988, 3079546586, 2895723464, 2777952454, 3537852828, 3687994002, 3234156416, 3385345166, 4142626212, 4293295786, 3841024952, 3992742070, 174567692, 57326082, 410887952, 292596766, 777231668, 660510266, 1011452712, 893681702, 1108339068, 1258480242, 1343618912, 1494807662, 1715193156, 1865862730, 1948373848, 2100090966, 2701949495, 2818666809, 3004591147, 3122358053, 2235061775, 2352307457, 2535604243, 2653899549, 3915653703, 3764988233, 4219352155, 4067639125, 3444575871, 3294430577, 3746175075, 3594982253, 836553431, 953270745, 600235211, 718002117, 367585007, 484830689, 133361907, 251657213, 2041877159, 1891211689, 1806599355, 1654886325, 1568718495, 1418573201, 1335535747, 1184342925];
  13049. function an(e) {
  13050. for (var t = [], n = 0; n < e.length; n += 4) {
  13051. t.push(e[n] << 24 | e[n + 1] << 16 | e[n + 2] << 8 | e[n + 3]);
  13052. }
  13053. return t;
  13054. }
  13055. var cn = /*#__PURE__*/function () {
  13056. function cn(e) {
  13057. (0, _classCallCheck2.default)(this, cn);
  13058. if (!(this instanceof cn)) throw Error("AES must be instanitated with `new`");
  13059. Object.defineProperty(this, "key", {
  13060. value: qt(e, !0)
  13061. }), this._prepare();
  13062. }
  13063. (0, _createClass2.default)(cn, [{
  13064. key: "_prepare",
  13065. value: function _prepare() {
  13066. var e = Wt[this.key.length];
  13067. if (null == e) throw new Error("invalid key size (must be 16, 24 or 32 bytes)");
  13068. this._Ke = [], this._Kd = [];
  13069. for (var t = 0; t <= e; t++) {
  13070. this._Ke.push([0, 0, 0, 0]), this._Kd.push([0, 0, 0, 0]);
  13071. }
  13072. var n,
  13073. s = 4 * (e + 1),
  13074. r = this.key.length / 4,
  13075. i = an(this.key);
  13076. for (t = 0; t < r; t++) {
  13077. n = t >> 2, this._Ke[n][t % 4] = i[t], this._Kd[e - n][t % 4] = i[t];
  13078. }
  13079. for (var o, a = 0, c = r; c < s;) {
  13080. if (o = i[r - 1], i[0] ^= Jt[o >> 16 & 255] << 24 ^ Jt[o >> 8 & 255] << 16 ^ Jt[255 & o] << 8 ^ Jt[o >> 24 & 255] ^ zt[a] << 24, a += 1, 8 != r) for (t = 1; t < r; t++) {
  13081. i[t] ^= i[t - 1];
  13082. } else {
  13083. for (t = 1; t < r / 2; t++) {
  13084. i[t] ^= i[t - 1];
  13085. }
  13086. o = i[r / 2 - 1], i[r / 2] ^= Jt[255 & o] ^ Jt[o >> 8 & 255] << 8 ^ Jt[o >> 16 & 255] << 16 ^ Jt[o >> 24 & 255] << 24;
  13087. for (t = r / 2 + 1; t < r; t++) {
  13088. i[t] ^= i[t - 1];
  13089. }
  13090. }
  13091. for (t = 0; t < r && c < s;) {
  13092. u = c >> 2, h = c % 4, this._Ke[u][h] = i[t], this._Kd[e - u][h] = i[t++], c++;
  13093. }
  13094. }
  13095. for (var u = 1; u < e; u++) {
  13096. for (var h = 0; h < 4; h++) {
  13097. o = this._Kd[u][h], this._Kd[u][h] = nn[o >> 24 & 255] ^ sn[o >> 16 & 255] ^ rn[o >> 8 & 255] ^ on[255 & o];
  13098. }
  13099. }
  13100. }
  13101. }, {
  13102. key: "encrypt",
  13103. value: function encrypt(e) {
  13104. if (16 != e.length) throw new Error("invalid plaintext size (must be 16 bytes)");
  13105. for (var t = this._Ke.length - 1, n = [0, 0, 0, 0], s = an(e), r = 0; r < 4; r++) {
  13106. s[r] ^= this._Ke[0][r];
  13107. }
  13108. for (var i = 1; i < t; i++) {
  13109. for (r = 0; r < 4; r++) {
  13110. n[r] = Gt[s[r] >> 24 & 255] ^ Vt[s[(r + 1) % 4] >> 16 & 255] ^ Qt[s[(r + 2) % 4] >> 8 & 255] ^ Yt[255 & s[(r + 3) % 4]] ^ this._Ke[i][r];
  13111. }
  13112. s = n.slice();
  13113. }
  13114. var o,
  13115. a = Mt(16);
  13116. for (r = 0; r < 4; r++) {
  13117. o = this._Ke[t][r], a[4 * r] = 255 & (Jt[s[r] >> 24 & 255] ^ o >> 24), a[4 * r + 1] = 255 & (Jt[s[(r + 1) % 4] >> 16 & 255] ^ o >> 16), a[4 * r + 2] = 255 & (Jt[s[(r + 2) % 4] >> 8 & 255] ^ o >> 8), a[4 * r + 3] = 255 & (Jt[255 & s[(r + 3) % 4]] ^ o);
  13118. }
  13119. return a;
  13120. }
  13121. }, {
  13122. key: "decrypt",
  13123. value: function decrypt(e) {
  13124. if (16 != e.length) throw new Error("invalid ciphertext size (must be 16 bytes)");
  13125. for (var t = this._Kd.length - 1, n = [0, 0, 0, 0], s = an(e), r = 0; r < 4; r++) {
  13126. s[r] ^= this._Kd[0][r];
  13127. }
  13128. for (var i = 1; i < t; i++) {
  13129. for (r = 0; r < 4; r++) {
  13130. n[r] = Xt[s[r] >> 24 & 255] ^ Zt[s[(r + 3) % 4] >> 16 & 255] ^ en[s[(r + 2) % 4] >> 8 & 255] ^ tn[255 & s[(r + 1) % 4]] ^ this._Kd[i][r];
  13131. }
  13132. s = n.slice();
  13133. }
  13134. var o,
  13135. a = Mt(16);
  13136. for (r = 0; r < 4; r++) {
  13137. o = this._Kd[t][r], a[4 * r] = 255 & (Ht[s[r] >> 24 & 255] ^ o >> 24), a[4 * r + 1] = 255 & (Ht[s[(r + 3) % 4] >> 16 & 255] ^ o >> 16), a[4 * r + 2] = 255 & (Ht[s[(r + 2) % 4] >> 8 & 255] ^ o >> 8), a[4 * r + 3] = 255 & (Ht[255 & s[(r + 1) % 4]] ^ o);
  13138. }
  13139. return a;
  13140. }
  13141. }]);
  13142. return cn;
  13143. }();
  13144. var un = /*#__PURE__*/function () {
  13145. function un(e) {
  13146. (0, _classCallCheck2.default)(this, un);
  13147. if (!(this instanceof un)) throw Error("AES must be instanitated with `new`");
  13148. this.description = "Electronic Code Block", this.name = "ecb", this._aes = new cn(e);
  13149. }
  13150. (0, _createClass2.default)(un, [{
  13151. key: "encrypt",
  13152. value: function encrypt(e) {
  13153. if ((e = qt(e)).length % 16 != 0) throw new Error("invalid plaintext size (must be multiple of 16 bytes)");
  13154. for (var t = Mt(e.length), n = Mt(16), s = 0; s < e.length; s += 16) {
  13155. Kt(e, n, 0, s, s + 16), Kt(n = this._aes.encrypt(n), t, s);
  13156. }
  13157. return t;
  13158. }
  13159. }, {
  13160. key: "decrypt",
  13161. value: function decrypt(e) {
  13162. if ((e = qt(e)).length % 16 != 0) throw new Error("invalid ciphertext size (must be multiple of 16 bytes)");
  13163. for (var t = Mt(e.length), n = Mt(16), s = 0; s < e.length; s += 16) {
  13164. Kt(e, n, 0, s, s + 16), Kt(n = this._aes.decrypt(n), t, s);
  13165. }
  13166. return t;
  13167. }
  13168. }]);
  13169. return un;
  13170. }();
  13171. var hn = /*#__PURE__*/function () {
  13172. function hn(e, t) {
  13173. (0, _classCallCheck2.default)(this, hn);
  13174. if (!(this instanceof hn)) throw Error("AES must be instanitated with `new`");
  13175. if (this.description = "Cipher Block Chaining", this.name = "cbc", t) {
  13176. if (16 != t.length) throw new Error("invalid initialation vector size (must be 16 bytes)");
  13177. } else t = Mt(16);
  13178. this._lastCipherblock = qt(t, !0), this._aes = new cn(e);
  13179. }
  13180. (0, _createClass2.default)(hn, [{
  13181. key: "encrypt",
  13182. value: function encrypt(e) {
  13183. if ((e = qt(e)).length % 16 != 0) throw new Error("invalid plaintext size (must be multiple of 16 bytes)");
  13184. for (var t = Mt(e.length), n = Mt(16), s = 0; s < e.length; s += 16) {
  13185. Kt(e, n, 0, s, s + 16);
  13186. for (var r = 0; r < 16; r++) {
  13187. n[r] ^= this._lastCipherblock[r];
  13188. }
  13189. this._lastCipherblock = this._aes.encrypt(n), Kt(this._lastCipherblock, t, s);
  13190. }
  13191. return t;
  13192. }
  13193. }, {
  13194. key: "decrypt",
  13195. value: function decrypt(e) {
  13196. if ((e = qt(e)).length % 16 != 0) throw new Error("invalid ciphertext size (must be multiple of 16 bytes)");
  13197. for (var t = Mt(e.length), n = Mt(16), s = 0; s < e.length; s += 16) {
  13198. Kt(e, n, 0, s, s + 16), n = this._aes.decrypt(n);
  13199. for (var r = 0; r < 16; r++) {
  13200. t[s + r] = n[r] ^ this._lastCipherblock[r];
  13201. }
  13202. Kt(e, this._lastCipherblock, 0, s, s + 16);
  13203. }
  13204. return t;
  13205. }
  13206. }]);
  13207. return hn;
  13208. }();
  13209. var ln = /*#__PURE__*/function () {
  13210. function ln(e, t, n) {
  13211. (0, _classCallCheck2.default)(this, ln);
  13212. if (!(this instanceof ln)) throw Error("AES must be instanitated with `new`");
  13213. if (this.description = "Cipher Feedback", this.name = "cfb", t) {
  13214. if (16 != t.length) throw new Error("invalid initialation vector size (must be 16 size)");
  13215. } else t = Mt(16);
  13216. n || (n = 1), this.segmentSize = n, this._shiftRegister = qt(t, !0), this._aes = new cn(e);
  13217. }
  13218. (0, _createClass2.default)(ln, [{
  13219. key: "encrypt",
  13220. value: function encrypt(e) {
  13221. if (e.length % this.segmentSize != 0) throw new Error("invalid plaintext size (must be segmentSize bytes)");
  13222. for (var t, n = qt(e, !0), s = 0; s < n.length; s += this.segmentSize) {
  13223. t = this._aes.encrypt(this._shiftRegister);
  13224. for (var r = 0; r < this.segmentSize; r++) {
  13225. n[s + r] ^= t[r];
  13226. }
  13227. Kt(this._shiftRegister, this._shiftRegister, 0, this.segmentSize), Kt(n, this._shiftRegister, 16 - this.segmentSize, s, s + this.segmentSize);
  13228. }
  13229. return n;
  13230. }
  13231. }, {
  13232. key: "decrypt",
  13233. value: function decrypt(e) {
  13234. if (e.length % this.segmentSize != 0) throw new Error("invalid ciphertext size (must be segmentSize bytes)");
  13235. for (var t, n = qt(e, !0), s = 0; s < n.length; s += this.segmentSize) {
  13236. t = this._aes.encrypt(this._shiftRegister);
  13237. for (var r = 0; r < this.segmentSize; r++) {
  13238. n[s + r] ^= t[r];
  13239. }
  13240. Kt(this._shiftRegister, this._shiftRegister, 0, this.segmentSize), Kt(e, this._shiftRegister, 16 - this.segmentSize, s, s + this.segmentSize);
  13241. }
  13242. return n;
  13243. }
  13244. }]);
  13245. return ln;
  13246. }();
  13247. var dn = /*#__PURE__*/function () {
  13248. function dn(e, t) {
  13249. (0, _classCallCheck2.default)(this, dn);
  13250. if (!(this instanceof dn)) throw Error("AES must be instanitated with `new`");
  13251. if (this.description = "Output Feedback", this.name = "ofb", t) {
  13252. if (16 != t.length) throw new Error("invalid initialation vector size (must be 16 bytes)");
  13253. } else t = Mt(16);
  13254. this._lastPrecipher = qt(t, !0), this._lastPrecipherIndex = 16, this._aes = new cn(e);
  13255. }
  13256. (0, _createClass2.default)(dn, [{
  13257. key: "encrypt",
  13258. value: function encrypt(e) {
  13259. for (var t = qt(e, !0), n = 0; n < t.length; n++) {
  13260. 16 === this._lastPrecipherIndex && (this._lastPrecipher = this._aes.encrypt(this._lastPrecipher), this._lastPrecipherIndex = 0), t[n] ^= this._lastPrecipher[this._lastPrecipherIndex++];
  13261. }
  13262. return t;
  13263. }
  13264. }, {
  13265. key: "decrypt",
  13266. value: function decrypt(e) {
  13267. return this.encrypt(e);
  13268. }
  13269. }]);
  13270. return dn;
  13271. }();
  13272. var pn = /*#__PURE__*/function () {
  13273. function pn(e) {
  13274. (0, _classCallCheck2.default)(this, pn);
  13275. if (!(this instanceof pn)) throw Error("Counter must be instanitated with `new`");
  13276. 0 === e || e || (e = 1), "number" == typeof e ? (this._counter = Mt(16), this.setValue(e)) : this.setBytes(e);
  13277. }
  13278. (0, _createClass2.default)(pn, [{
  13279. key: "setValue",
  13280. value: function setValue(e) {
  13281. if ("number" != typeof e || parseInt(e) != e) throw new Error("invalid counter value (must be an integer)");
  13282. if (e > Number.MAX_SAFE_INTEGER) throw new Error("integer value out of safe range");
  13283. for (var t = 15; t >= 0; --t) {
  13284. this._counter[t] = e % 256, e = parseInt(e / 256);
  13285. }
  13286. }
  13287. }, {
  13288. key: "setBytes",
  13289. value: function setBytes(e) {
  13290. if (16 != (e = qt(e, !0)).length) throw new Error("invalid counter bytes size (must be 16 bytes)");
  13291. this._counter = e;
  13292. }
  13293. }, {
  13294. key: "increment",
  13295. value: function increment() {
  13296. for (var e = 15; e >= 0; e--) {
  13297. if (255 !== this._counter[e]) {
  13298. this._counter[e]++;
  13299. break;
  13300. }
  13301. this._counter[e] = 0;
  13302. }
  13303. }
  13304. }]);
  13305. return pn;
  13306. }();
  13307. var fn = /*#__PURE__*/function () {
  13308. function fn(e, t) {
  13309. (0, _classCallCheck2.default)(this, fn);
  13310. if (!(this instanceof fn)) throw Error("AES must be instanitated with `new`");
  13311. this.description = "Counter", this.name = "ctr", t instanceof pn || (t = new pn(t)), this._counter = t, this._remainingCounter = null, this._remainingCounterIndex = 16, this._aes = new cn(e);
  13312. }
  13313. (0, _createClass2.default)(fn, [{
  13314. key: "encrypt",
  13315. value: function encrypt(e) {
  13316. for (var t = qt(e, !0), n = 0; n < t.length; n++) {
  13317. 16 === this._remainingCounterIndex && (this._remainingCounter = this._aes.encrypt(this._counter._counter), this._remainingCounterIndex = 0, this._counter.increment()), t[n] ^= this._remainingCounter[this._remainingCounterIndex++];
  13318. }
  13319. return t;
  13320. }
  13321. }, {
  13322. key: "decrypt",
  13323. value: function decrypt(e) {
  13324. return this.encrypt(e);
  13325. }
  13326. }]);
  13327. return fn;
  13328. }();
  13329. var gn = {
  13330. AES: cn,
  13331. Counter: pn,
  13332. ModeOfOperation: {
  13333. ecb: un,
  13334. cbc: hn,
  13335. cfb: ln,
  13336. ofb: dn,
  13337. ctr: fn
  13338. },
  13339. utils: {
  13340. hex: $t,
  13341. utf8: Bt
  13342. },
  13343. padding: {
  13344. pkcs7: {
  13345. pad: function pad(e) {
  13346. var t = 16 - (e = qt(e, !0)).length % 16,
  13347. n = Mt(e.length + t);
  13348. Kt(e, n);
  13349. for (var s = e.length; s < n.length; s++) {
  13350. n[s] = t;
  13351. }
  13352. return n;
  13353. },
  13354. strip: function strip(e) {
  13355. if ((e = qt(e, !0)).length < 16) throw new Error("PKCS#7 invalid length");
  13356. var t = e[e.length - 1];
  13357. if (t > 16) throw new Error("PKCS#7 padding byte out of range");
  13358. for (var n = e.length - t, s = 0; s < t; s++) {
  13359. if (e[n + s] !== t) throw new Error("PKCS#7 invalid padding byte");
  13360. }
  13361. var r = Mt(n);
  13362. return Kt(e, r, 0, 0, n), r;
  13363. }
  13364. }
  13365. },
  13366. _arrayTest: {
  13367. coerceArray: qt,
  13368. createArray: Mt,
  13369. copyArray: Kt
  13370. }
  13371. };
  13372. function mn(e, t, n) {
  13373. var s = new Uint8Array(uni.base64ToArrayBuffer(t)),
  13374. r = gn.utils.utf8.toBytes(n),
  13375. i = gn.utils.utf8.toBytes(e),
  13376. o = new gn.ModeOfOperation.cbc(s, r),
  13377. a = gn.padding.pkcs7.pad(i),
  13378. c = o.encrypt(a);
  13379. return uni.arrayBufferToBase64(c);
  13380. }
  13381. var yn = {
  13382. code: 2e4,
  13383. message: "System error"
  13384. },
  13385. _n = {
  13386. code: 20101,
  13387. message: "Invalid client"
  13388. },
  13389. wn = {
  13390. code: 20102,
  13391. message: "Get encrypt key failed"
  13392. },
  13393. vn = {
  13394. 10001: "Secure network is not supported on current playground or unimpsdk",
  13395. 10003: "Config missing in current app. If the problem pesist, please contact DCloud.",
  13396. 10009: "Encrypt payload failed",
  13397. 10010: "Decrypt response failed"
  13398. };
  13399. function Sn(e) {
  13400. var _ref25 = e || {},
  13401. t = _ref25.errSubject,
  13402. n = _ref25.subject,
  13403. s = _ref25.errCode,
  13404. r = _ref25.errMsg,
  13405. i = _ref25.code,
  13406. o = _ref25.message,
  13407. a = _ref25.cause;
  13408. return new se({
  13409. subject: t || n || "uni-secure-network",
  13410. code: s || i || yn.code,
  13411. message: r || o,
  13412. cause: a
  13413. });
  13414. }
  13415. var In,
  13416. bn,
  13417. kn = null;
  13418. var Tn = /*#__PURE__*/function (_Nt) {
  13419. (0, _inherits2.default)(Tn, _Nt);
  13420. var _super9 = _createSuper(Tn);
  13421. function Tn(e) {
  13422. var _this14;
  13423. (0, _classCallCheck2.default)(this, Tn);
  13424. _this14 = _super9.call(this, e), _this14.clientType = "mp-weixin", _this14.userEncryptKey = null;
  13425. return _this14;
  13426. }
  13427. (0, _createClass2.default)(Tn, [{
  13428. key: "isLogin",
  13429. value: function isLogin() {
  13430. return !!this.scopedGlobalCache.mpWeixinCode || !!this.scopedGlobalCache.mpWeixinOpenid;
  13431. }
  13432. }, {
  13433. key: "prepare",
  13434. value: function () {
  13435. var _prepare2 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee38() {
  13436. return _regenerator.default.wrap(function _callee38$(_context38) {
  13437. while (1) {
  13438. switch (_context38.prev = _context38.next) {
  13439. case 0:
  13440. if (this.isLogin()) {
  13441. _context38.next = 7;
  13442. break;
  13443. }
  13444. if (this.scopedGlobalCache.initPromise) {
  13445. _context38.next = 3;
  13446. break;
  13447. }
  13448. throw new Error("`uniCloud.initSecureNetworkByWeixin` has not yet been called");
  13449. case 3:
  13450. _context38.next = 5;
  13451. return this.scopedGlobalCache.initPromise;
  13452. case 5:
  13453. if (this.isLogin()) {
  13454. _context38.next = 7;
  13455. break;
  13456. }
  13457. throw new Error("uniCloud.initSecureNetworkByWeixin` has not yet been called or successfully excuted");
  13458. case 7:
  13459. case "end":
  13460. return _context38.stop();
  13461. }
  13462. }
  13463. }, _callee38, this);
  13464. }));
  13465. function prepare() {
  13466. return _prepare2.apply(this, arguments);
  13467. }
  13468. return prepare;
  13469. }()
  13470. }, {
  13471. key: "getUserEncryptKey",
  13472. value: function () {
  13473. var _getUserEncryptKey = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee39() {
  13474. var _this15 = this;
  13475. var e;
  13476. return _regenerator.default.wrap(function _callee39$(_context39) {
  13477. while (1) {
  13478. switch (_context39.prev = _context39.next) {
  13479. case 0:
  13480. if (!this.userEncryptKey) {
  13481. _context39.next = 2;
  13482. break;
  13483. }
  13484. return _context39.abrupt("return", this.userEncryptKey);
  13485. case 2:
  13486. if (!(kn && kn.expireTime)) {
  13487. _context39.next = 6;
  13488. break;
  13489. }
  13490. e = Date.now();
  13491. if (!(kn.expireTime - e > 0)) {
  13492. _context39.next = 6;
  13493. break;
  13494. }
  13495. return _context39.abrupt("return", (this.userEncryptKey = kn, this.userEncryptKey));
  13496. case 6:
  13497. return _context39.abrupt("return", new Promise(function (e, t) {
  13498. uni.getUserCryptoManager().getLatestUserKey({
  13499. success: function success(t) {
  13500. kn = t, _this15.userEncryptKey = t, e(_this15.userEncryptKey);
  13501. },
  13502. fail: function fail(e) {
  13503. t(Sn(_objectSpread(_objectSpread({}, wn), {}, {
  13504. cause: e
  13505. })));
  13506. }
  13507. });
  13508. }));
  13509. case 7:
  13510. case "end":
  13511. return _context39.stop();
  13512. }
  13513. }
  13514. }, _callee39, this);
  13515. }));
  13516. function getUserEncryptKey() {
  13517. return _getUserEncryptKey.apply(this, arguments);
  13518. }
  13519. return getUserEncryptKey;
  13520. }()
  13521. }, {
  13522. key: "getWxAppId",
  13523. value: function getWxAppId() {
  13524. return wx.getAccountInfoSync().miniProgram.appId;
  13525. }
  13526. }, {
  13527. key: "platformGetSignOption",
  13528. value: function () {
  13529. var _platformGetSignOption = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee40() {
  13530. var _yield$this$getUserEn, e, t, n;
  13531. return _regenerator.default.wrap(function _callee40$(_context40) {
  13532. while (1) {
  13533. switch (_context40.prev = _context40.next) {
  13534. case 0:
  13535. _context40.next = 2;
  13536. return this.getUserEncryptKey();
  13537. case 2:
  13538. _yield$this$getUserEn = _context40.sent;
  13539. e = _yield$this$getUserEn.encryptKey;
  13540. t = _yield$this$getUserEn.iv;
  13541. n = _yield$this$getUserEn.version;
  13542. return _context40.abrupt("return", {
  13543. verifyClientSign: mn(JSON.stringify({
  13544. data: JSON.stringify({}),
  13545. appId: this.appId,
  13546. deviceId: this.deviceId,
  13547. wxAppId: this.getWxAppId(),
  13548. simulator: "devtools" === ue().platform,
  13549. timestamp: Date.now()
  13550. }), e, t),
  13551. encryptKeyId: n,
  13552. mpWeixinCode: this.scopedGlobalCache.mpWeixinCode,
  13553. mpWeixinOpenid: this.scopedGlobalCache.mpWeixinOpenid
  13554. });
  13555. case 7:
  13556. case "end":
  13557. return _context40.stop();
  13558. }
  13559. }
  13560. }, _callee40, this);
  13561. }));
  13562. function platformGetSignOption() {
  13563. return _platformGetSignOption.apply(this, arguments);
  13564. }
  13565. return platformGetSignOption;
  13566. }()
  13567. }, {
  13568. key: "platformEncryptData",
  13569. value: function () {
  13570. var _platformEncryptData = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee41(e) {
  13571. var _yield$this$getUserEn2, t, n, s, r;
  13572. return _regenerator.default.wrap(function _callee41$(_context41) {
  13573. while (1) {
  13574. switch (_context41.prev = _context41.next) {
  13575. case 0:
  13576. _context41.next = 2;
  13577. return this.getUserEncryptKey();
  13578. case 2:
  13579. _yield$this$getUserEn2 = _context41.sent;
  13580. t = _yield$this$getUserEn2.encryptKey;
  13581. n = _yield$this$getUserEn2.iv;
  13582. s = _yield$this$getUserEn2.version;
  13583. r = {
  13584. secretType: this.secretType,
  13585. encryptKeyId: s,
  13586. mpWeixinCode: this.scopedGlobalCache.mpWeixinCode,
  13587. mpWeixinOpenid: this.scopedGlobalCache.mpWeixinOpenid
  13588. };
  13589. return _context41.abrupt("return", this.secretType === Ut ? {
  13590. content: e,
  13591. _uniCloudOptions: r
  13592. } : {
  13593. content: mn(JSON.stringify({
  13594. data: JSON.stringify(e),
  13595. appId: this.appId,
  13596. deviceId: this.deviceId,
  13597. wxAppId: this.getWxAppId(),
  13598. simulator: "devtools" === ue().platform,
  13599. timestamp: Date.now()
  13600. }), t, n),
  13601. _uniCloudOptions: r
  13602. });
  13603. case 8:
  13604. case "end":
  13605. return _context41.stop();
  13606. }
  13607. }
  13608. }, _callee41, this);
  13609. }));
  13610. function platformEncryptData(_x33) {
  13611. return _platformEncryptData.apply(this, arguments);
  13612. }
  13613. return platformEncryptData;
  13614. }()
  13615. }, {
  13616. key: "platformDecryptResult",
  13617. value: function () {
  13618. var _platformDecryptResult = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee42(e) {
  13619. var t, _yield$this$getUserEn3, n, s;
  13620. return _regenerator.default.wrap(function _callee42$(_context42) {
  13621. while (1) {
  13622. switch (_context42.prev = _context42.next) {
  13623. case 0:
  13624. t = e.content;
  13625. _context42.next = 3;
  13626. return this.getUserEncryptKey();
  13627. case 3:
  13628. _yield$this$getUserEn3 = _context42.sent;
  13629. n = _yield$this$getUserEn3.encryptKey;
  13630. s = _yield$this$getUserEn3.iv;
  13631. return _context42.abrupt("return", JSON.parse(function (e, t, n) {
  13632. var s = new Uint8Array(uni.base64ToArrayBuffer(e)),
  13633. r = new Uint8Array(uni.base64ToArrayBuffer(t)),
  13634. i = gn.utils.utf8.toBytes(n),
  13635. o = new gn.ModeOfOperation.cbc(r, i),
  13636. a = gn.padding.pkcs7.strip(o.decrypt(s));
  13637. return gn.utils.utf8.fromBytes(a);
  13638. }(t, n, s)));
  13639. case 7:
  13640. case "end":
  13641. return _context42.stop();
  13642. }
  13643. }
  13644. }, _callee42, this);
  13645. }));
  13646. function platformDecryptResult(_x34) {
  13647. return _platformDecryptResult.apply(this, arguments);
  13648. }
  13649. return platformDecryptResult;
  13650. }()
  13651. }, {
  13652. key: "isClientKeyNotFound",
  13653. value: function isClientKeyNotFound() {
  13654. return !1;
  13655. }
  13656. }]);
  13657. return Tn;
  13658. }(Nt);
  13659. function Cn(e) {
  13660. var t = ["hasClientKey", "encryptGetClientKeyPayload", "setClientKey", "encrypt", "decrypt"],
  13661. n = {};
  13662. var _loop = function _loop(_s10) {
  13663. var r = t[_s10];
  13664. n[r] = function () {
  13665. for (var _len = arguments.length, t = new Array(_len), _key = 0; _key < _len; _key++) {
  13666. t[_key] = arguments[_key];
  13667. }
  13668. return new Promise(function (n, s) {
  13669. "function" == typeof e[r] ? e[r].apply(e, t.concat([function () {
  13670. var _ref26 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
  13671. e = _ref26.type,
  13672. t = _ref26.data,
  13673. r = _ref26.errCode,
  13674. i = _ref26.errMsg,
  13675. o = _ref26.errSubject,
  13676. a = _ref26.message;
  13677. "success" === e ? n(t) : s(Sn({
  13678. errCode: r,
  13679. errMsg: vn[r] || i || a,
  13680. errSubject: o
  13681. }));
  13682. }])) : s(Sn({
  13683. message: "请检查manifest.json内是否开启安全网络模块,另外注意标准基座不支持安全网络模块"
  13684. }));
  13685. });
  13686. };
  13687. };
  13688. for (var _s10 = 0; _s10 < t.length; _s10++) {
  13689. _loop(_s10);
  13690. }
  13691. return n;
  13692. }
  13693. var Pn = /*#__PURE__*/function (_Nt2) {
  13694. (0, _inherits2.default)(Pn, _Nt2);
  13695. var _super10 = _createSuper(Pn);
  13696. function Pn(e) {
  13697. var _this16;
  13698. (0, _classCallCheck2.default)(this, Pn);
  13699. _this16 = _super10.call(this, e), _this16.clientType = "app", _this16.appUtils = _objectSpread({}, Cn(uni.requireNativePlugin("plus"))), _this16.systemInfo = In || (In = ue());
  13700. return _this16;
  13701. }
  13702. (0, _createClass2.default)(Pn, [{
  13703. key: "hasClientKey",
  13704. value: function () {
  13705. var _hasClientKey = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee43() {
  13706. return _regenerator.default.wrap(function _callee43$(_context43) {
  13707. while (1) {
  13708. switch (_context43.prev = _context43.next) {
  13709. case 0:
  13710. _context43.next = 2;
  13711. return this.appUtils.hasClientKey({
  13712. provider: this.provider,
  13713. spaceId: this.spaceId
  13714. });
  13715. case 2:
  13716. this._hasClientKey = _context43.sent;
  13717. return _context43.abrupt("return", this._hasClientKey);
  13718. case 4:
  13719. case "end":
  13720. return _context43.stop();
  13721. }
  13722. }
  13723. }, _callee43, this);
  13724. }));
  13725. function hasClientKey() {
  13726. return _hasClientKey.apply(this, arguments);
  13727. }
  13728. return hasClientKey;
  13729. }()
  13730. }, {
  13731. key: "getAppClientKey",
  13732. value: function () {
  13733. var _getAppClientKey = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee44() {
  13734. var _yield$this$appUtils$, e, t, n, s, r;
  13735. return _regenerator.default.wrap(function _callee44$(_context44) {
  13736. while (1) {
  13737. switch (_context44.prev = _context44.next) {
  13738. case 0:
  13739. _context44.next = 2;
  13740. return this.appUtils.encryptGetClientKeyPayload({
  13741. data: JSON.stringify({})
  13742. });
  13743. case 2:
  13744. _yield$this$appUtils$ = _context44.sent;
  13745. e = _yield$this$appUtils$.data;
  13746. t = _yield$this$appUtils$.key;
  13747. _context44.next = 7;
  13748. return this.uniCloudIns.callFunction({
  13749. name: "DCloud-clientDB",
  13750. data: {
  13751. redirectTo: "encryption",
  13752. action: "getAppClientKey",
  13753. data: e,
  13754. key: t
  13755. }
  13756. });
  13757. case 7:
  13758. _context44.t0 = _context44.sent.result;
  13759. if (_context44.t0) {
  13760. _context44.next = 10;
  13761. break;
  13762. }
  13763. _context44.t0 = {};
  13764. case 10:
  13765. n = _context44.t0;
  13766. if (!(0 !== n.errCode)) {
  13767. _context44.next = 13;
  13768. break;
  13769. }
  13770. throw function (e) {
  13771. return new se({
  13772. subject: e.errSubject || "uni-secure-network",
  13773. code: e.errCode || e.code || yn.code,
  13774. message: e.errMsg || e.message
  13775. });
  13776. }(n);
  13777. case 13:
  13778. s = n.clientKey, r = n.key;
  13779. _context44.next = 16;
  13780. return this.appUtils.setClientKey({
  13781. provider: this.provider,
  13782. spaceId: this.spaceId,
  13783. clientKey: s,
  13784. key: r
  13785. });
  13786. case 16:
  13787. case "end":
  13788. return _context44.stop();
  13789. }
  13790. }
  13791. }, _callee44, this);
  13792. }));
  13793. function getAppClientKey() {
  13794. return _getAppClientKey.apply(this, arguments);
  13795. }
  13796. return getAppClientKey;
  13797. }()
  13798. }, {
  13799. key: "ensureClientKey",
  13800. value: function () {
  13801. var _ensureClientKey = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee45() {
  13802. var _this17 = this;
  13803. var _ref27,
  13804. _ref27$forceUpdate,
  13805. e,
  13806. _args45 = arguments;
  13807. return _regenerator.default.wrap(function _callee45$(_context45) {
  13808. while (1) {
  13809. switch (_context45.prev = _context45.next) {
  13810. case 0:
  13811. _ref27 = _args45.length > 0 && _args45[0] !== undefined ? _args45[0] : {}, _ref27$forceUpdate = _ref27.forceUpdate, e = _ref27$forceUpdate === void 0 ? !1 : _ref27$forceUpdate;
  13812. _context45.t1 = !0;
  13813. _context45.next = 4;
  13814. return this.hasClientKey();
  13815. case 4:
  13816. _context45.t2 = _context45.sent;
  13817. _context45.t0 = _context45.t1 !== _context45.t2;
  13818. if (_context45.t0) {
  13819. _context45.next = 8;
  13820. break;
  13821. }
  13822. _context45.t0 = e;
  13823. case 8:
  13824. if (!_context45.t0) {
  13825. _context45.next = 10;
  13826. break;
  13827. }
  13828. return _context45.abrupt("return", (e && this.scopedGlobalCache.initPromise && this.scopedGlobalCache.initStatus === d || !e && this.scopedGlobalCache.initPromise && this.scopedGlobalCache.initStatus !== f || (this.scopedGlobalCache.initPromise = this.getAppClientKey(), this.scopedGlobalCache.initPromise.then(function (e) {
  13829. _this17.scopedGlobalCache.initStatus = p;
  13830. }).catch(function (e) {
  13831. throw _this17.scopedGlobalCache.initStatus = f, e;
  13832. }), this.scopedGlobalCache.initStatus = d), this.scopedGlobalCache.initPromise));
  13833. case 10:
  13834. case "end":
  13835. return _context45.stop();
  13836. }
  13837. }
  13838. }, _callee45, this);
  13839. }));
  13840. function ensureClientKey() {
  13841. return _ensureClientKey.apply(this, arguments);
  13842. }
  13843. return ensureClientKey;
  13844. }()
  13845. }, {
  13846. key: "prepare",
  13847. value: function () {
  13848. var _prepare3 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee46() {
  13849. var _ref28,
  13850. _ref28$forceUpdate,
  13851. e,
  13852. _args46 = arguments;
  13853. return _regenerator.default.wrap(function _callee46$(_context46) {
  13854. while (1) {
  13855. switch (_context46.prev = _context46.next) {
  13856. case 0:
  13857. _ref28 = _args46.length > 0 && _args46[0] !== undefined ? _args46[0] : {}, _ref28$forceUpdate = _ref28.forceUpdate, e = _ref28$forceUpdate === void 0 ? !1 : _ref28$forceUpdate;
  13858. _context46.next = 3;
  13859. return this.ensureClientKey({
  13860. forceUpdate: e
  13861. });
  13862. case 3:
  13863. case "end":
  13864. return _context46.stop();
  13865. }
  13866. }
  13867. }, _callee46, this);
  13868. }));
  13869. function prepare() {
  13870. return _prepare3.apply(this, arguments);
  13871. }
  13872. return prepare;
  13873. }()
  13874. }, {
  13875. key: "platformGetSignOption",
  13876. value: function () {
  13877. var _platformGetSignOption2 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee47() {
  13878. var _yield$this$appUtils$2, e, t;
  13879. return _regenerator.default.wrap(function _callee47$(_context47) {
  13880. while (1) {
  13881. switch (_context47.prev = _context47.next) {
  13882. case 0:
  13883. _context47.next = 2;
  13884. return this.appUtils.encrypt({
  13885. provider: this.provider,
  13886. spaceId: this.spaceId,
  13887. data: JSON.stringify({})
  13888. });
  13889. case 2:
  13890. _yield$this$appUtils$2 = _context47.sent;
  13891. e = _yield$this$appUtils$2.data;
  13892. t = _yield$this$appUtils$2.key;
  13893. return _context47.abrupt("return", {
  13894. verifyClientSign: e,
  13895. encryptKeyId: t
  13896. });
  13897. case 6:
  13898. case "end":
  13899. return _context47.stop();
  13900. }
  13901. }
  13902. }, _callee47, this);
  13903. }));
  13904. function platformGetSignOption() {
  13905. return _platformGetSignOption2.apply(this, arguments);
  13906. }
  13907. return platformGetSignOption;
  13908. }()
  13909. }, {
  13910. key: "platformEncryptData",
  13911. value: function () {
  13912. var _platformEncryptData2 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee48(e) {
  13913. var _yield$this$appUtils$3, t, n, s;
  13914. return _regenerator.default.wrap(function _callee48$(_context48) {
  13915. while (1) {
  13916. switch (_context48.prev = _context48.next) {
  13917. case 0:
  13918. _context48.next = 2;
  13919. return this.appUtils.encrypt({
  13920. provider: this.provider,
  13921. spaceId: this.spaceId,
  13922. data: JSON.stringify(e)
  13923. });
  13924. case 2:
  13925. _yield$this$appUtils$3 = _context48.sent;
  13926. t = _yield$this$appUtils$3.data;
  13927. n = _yield$this$appUtils$3.key;
  13928. s = {
  13929. secretType: this.secretType,
  13930. encryptKeyId: n
  13931. };
  13932. return _context48.abrupt("return", this.secretType === Ut ? {
  13933. content: e,
  13934. _uniCloudOptions: s
  13935. } : {
  13936. content: t,
  13937. _uniCloudOptions: s
  13938. });
  13939. case 7:
  13940. case "end":
  13941. return _context48.stop();
  13942. }
  13943. }
  13944. }, _callee48, this);
  13945. }));
  13946. function platformEncryptData(_x35) {
  13947. return _platformEncryptData2.apply(this, arguments);
  13948. }
  13949. return platformEncryptData;
  13950. }()
  13951. }, {
  13952. key: "platformDecryptResult",
  13953. value: function () {
  13954. var _platformDecryptResult2 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee49(e) {
  13955. var t, _e$_uniCloudOptions, n, s, r;
  13956. return _regenerator.default.wrap(function _callee49$(_context49) {
  13957. while (1) {
  13958. switch (_context49.prev = _context49.next) {
  13959. case 0:
  13960. t = e.content;
  13961. _e$_uniCloudOptions = e._uniCloudOptions;
  13962. n = _e$_uniCloudOptions === void 0 ? {} : _e$_uniCloudOptions;
  13963. s = n.encryptKeyId;
  13964. _context49.next = 6;
  13965. return this.appUtils.decrypt({
  13966. provider: this.provider,
  13967. spaceId: this.spaceId,
  13968. data: t,
  13969. key: s
  13970. });
  13971. case 6:
  13972. r = _context49.sent;
  13973. return _context49.abrupt("return", JSON.parse(r.data));
  13974. case 8:
  13975. case "end":
  13976. return _context49.stop();
  13977. }
  13978. }
  13979. }, _callee49, this);
  13980. }));
  13981. function platformDecryptResult(_x36) {
  13982. return _platformDecryptResult2.apply(this, arguments);
  13983. }
  13984. return platformDecryptResult;
  13985. }()
  13986. }, {
  13987. key: "isClientKeyNotFound",
  13988. value: function isClientKeyNotFound() {
  13989. var e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  13990. var t = e.result || {};
  13991. return 70009 === t.errCode && "uni-secure-network" === t.errSubject;
  13992. }
  13993. }]);
  13994. return Pn;
  13995. }(Nt);
  13996. function An() {
  13997. var _ref29 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
  13998. e = _ref29.secretType;
  13999. return e === Rt || e === Ut || e === Lt;
  14000. }
  14001. function En() {
  14002. var _ref30 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
  14003. e = _ref30.name,
  14004. _ref30$data = _ref30.data,
  14005. t = _ref30$data === void 0 ? {} : _ref30$data;
  14006. return "app" === A && "DCloud-clientDB" === e && "encryption" === t.redirectTo && "getAppClientKey" === t.action;
  14007. }
  14008. function On() {
  14009. var _ref31 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
  14010. e = _ref31.provider,
  14011. t = _ref31.spaceId,
  14012. n = _ref31.functionName;
  14013. var _ue = ue(),
  14014. s = _ue.appId,
  14015. r = _ue.uniPlatform,
  14016. i = _ue.osName;
  14017. var o = r;
  14018. "app" === r && (o = i);
  14019. var a = function () {
  14020. var _ref32 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
  14021. e = _ref32.provider,
  14022. t = _ref32.spaceId;
  14023. var n = P;
  14024. if (!n) return {};
  14025. e = function (e) {
  14026. return "tencent" === e ? "tcb" : e;
  14027. }(e);
  14028. var s = n.find(function (n) {
  14029. return n.provider === e && n.spaceId === t;
  14030. });
  14031. return s && s.config;
  14032. }({
  14033. provider: e,
  14034. spaceId: t
  14035. });
  14036. if (!a || !a.accessControl || !a.accessControl.enable) return !1;
  14037. var c = a.accessControl.function || {},
  14038. u = Object.keys(c);
  14039. if (0 === u.length) return !0;
  14040. var h = function (e, t) {
  14041. var n, s, r;
  14042. for (var _i2 = 0; _i2 < e.length; _i2++) {
  14043. var _o2 = e[_i2];
  14044. _o2 !== t ? "*" !== _o2 ? _o2.split(",").map(function (e) {
  14045. return e.trim();
  14046. }).indexOf(t) > -1 && (s = _o2) : r = _o2 : n = _o2;
  14047. }
  14048. return n || s || r;
  14049. }(u, n);
  14050. if (!h) return !1;
  14051. if ((c[h] || []).find(function () {
  14052. var e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  14053. return e.appId === s && (e.platform || "").toLowerCase() === o.toLowerCase();
  14054. })) return !0;
  14055. throw console.error("\u6B64\u5E94\u7528[appId: ".concat(s, ", platform: ").concat(o, "]\u4E0D\u5728\u4E91\u7AEF\u914D\u7F6E\u7684\u5141\u8BB8\u8BBF\u95EE\u7684\u5E94\u7528\u5217\u8868\u5185\uFF0C\u53C2\u8003\uFF1Ahttps://uniapp.dcloud.net.cn/uniCloud/secure-network.html#verify-client")), Sn(_n);
  14056. }
  14057. function xn(_ref33) {
  14058. var e = _ref33.functionName,
  14059. t = _ref33.result,
  14060. n = _ref33.logPvd;
  14061. if (k && this.__dev__.debugLog && t && t.requestId) {
  14062. var _s11 = JSON.stringify({
  14063. spaceId: this.config.spaceId,
  14064. functionName: e,
  14065. requestId: t.requestId
  14066. });
  14067. console.log("[".concat(n, "-request]").concat(_s11, "[/").concat(n, "-request]"));
  14068. }
  14069. }
  14070. function Rn(e) {
  14071. var t = e.callFunction,
  14072. n = function n(_n7) {
  14073. var _this18 = this;
  14074. var s = _n7.name;
  14075. _n7.data = Tt.call(e, {
  14076. data: _n7.data
  14077. });
  14078. var r = {
  14079. aliyun: "aliyun",
  14080. tencent: "tcb",
  14081. tcb: "tcb"
  14082. }[this.config.provider],
  14083. i = An(_n7),
  14084. o = En(_n7),
  14085. a = i || o;
  14086. return t.call(this, _n7).then(function (e) {
  14087. return e.errCode = 0, !a && xn.call(_this18, {
  14088. functionName: s,
  14089. result: e,
  14090. logPvd: r
  14091. }), Promise.resolve(e);
  14092. }, function (e) {
  14093. return !a && xn.call(_this18, {
  14094. functionName: s,
  14095. result: e,
  14096. logPvd: r
  14097. }), e && e.message && (e.message = function () {
  14098. var _ref34 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
  14099. _ref34$message = _ref34.message,
  14100. e = _ref34$message === void 0 ? "" : _ref34$message,
  14101. _ref34$extraInfo = _ref34.extraInfo,
  14102. t = _ref34$extraInfo === void 0 ? {} : _ref34$extraInfo,
  14103. _ref34$formatter = _ref34.formatter,
  14104. n = _ref34$formatter === void 0 ? [] : _ref34$formatter;
  14105. for (var _s12 = 0; _s12 < n.length; _s12++) {
  14106. var _n$_s = n[_s12],
  14107. _r4 = _n$_s.rule,
  14108. _i3 = _n$_s.content,
  14109. _o3 = _n$_s.mode,
  14110. _a = e.match(_r4);
  14111. if (!_a) continue;
  14112. var _c = _i3;
  14113. for (var _e19 = 1; _e19 < _a.length; _e19++) {
  14114. _c = Ot(_c, "{$".concat(_e19, "}"), _a[_e19]);
  14115. }
  14116. for (var _e20 in t) {
  14117. _c = Ot(_c, "{".concat(_e20, "}"), t[_e20]);
  14118. }
  14119. return "replace" === _o3 ? _c : e + _c;
  14120. }
  14121. return e;
  14122. }({
  14123. message: "[".concat(_n7.name, "]: ").concat(e.message),
  14124. formatter: Pt,
  14125. extraInfo: {
  14126. functionName: s
  14127. }
  14128. })), Promise.reject(e);
  14129. });
  14130. };
  14131. e.callFunction = function (t) {
  14132. var _e$config = e.config,
  14133. s = _e$config.provider,
  14134. r = _e$config.spaceId,
  14135. i = t.name;
  14136. var o, a;
  14137. if (t.data = t.data || {}, k && e.__dev__.debugInfo && !e.__dev__.debugInfo.forceRemote && O ? (e._callCloudFunction || (e._callCloudFunction = n, e._callLocalFunction = Ct), o = Ct) : o = n, o = o.bind(e), En(t)) a = n.call(e, t);else if (function (_ref35) {
  14138. var e = _ref35.name,
  14139. _ref35$data = _ref35.data,
  14140. t = _ref35$data === void 0 ? {} : _ref35$data;
  14141. return "mp-weixin" === A && "uni-id-co" === e && "secureNetworkHandshakeByWeixin" === t.method;
  14142. }(t)) a = o.call(e, t);else if (An(t)) {
  14143. a = new bn({
  14144. secretType: t.secretType,
  14145. uniCloudIns: e
  14146. }).wrapEncryptDataCallFunction(n.bind(e))(t);
  14147. } else if (On({
  14148. provider: s,
  14149. spaceId: r,
  14150. functionName: i
  14151. })) {
  14152. a = new bn({
  14153. secretType: t.secretType,
  14154. uniCloudIns: e
  14155. }).wrapVerifyClientCallFunction(n.bind(e))(t);
  14156. } else a = o(t);
  14157. return Object.defineProperty(a, "result", {
  14158. get: function get() {
  14159. return console.warn("当前返回结果为Promise类型,不可直接访问其result属性,详情请参考:https://uniapp.dcloud.net.cn/uniCloud/faq?id=promise"), {};
  14160. }
  14161. }), a;
  14162. };
  14163. }
  14164. bn = "mp-weixin" !== A && "app" !== A ? /*#__PURE__*/function () {
  14165. function _class2() {
  14166. (0, _classCallCheck2.default)(this, _class2);
  14167. throw Sn({
  14168. message: "Platform ".concat(A, " is not supported by secure network")
  14169. });
  14170. }
  14171. return (0, _createClass2.default)(_class2);
  14172. }() : C ? "mp-weixin" === A ? Tn : Pn : /*#__PURE__*/function () {
  14173. function _class3() {
  14174. (0, _classCallCheck2.default)(this, _class3);
  14175. throw Sn({
  14176. message: "Platform ".concat(A, " is not enabled, please check whether secure network module is enabled in your manifest.json")
  14177. });
  14178. }
  14179. return (0, _createClass2.default)(_class3);
  14180. }();
  14181. var Un = Symbol("CLIENT_DB_INTERNAL");
  14182. function Ln(e, t) {
  14183. return e.then = "DoNotReturnProxyWithAFunctionNamedThen", e._internalType = Un, e.inspect = null, e.__ob__ = void 0, new Proxy(e, {
  14184. get: function get(e, n, s) {
  14185. if ("_uniClient" === n) return null;
  14186. if ("symbol" == (0, _typeof2.default)(n)) return e[n];
  14187. if (n in e || "string" != typeof n) {
  14188. var _t10 = e[n];
  14189. return "function" == typeof _t10 ? _t10.bind(e) : _t10;
  14190. }
  14191. return t.get(e, n, s);
  14192. }
  14193. });
  14194. }
  14195. function Nn(e) {
  14196. return {
  14197. on: function on(t, n) {
  14198. e[t] = e[t] || [], e[t].indexOf(n) > -1 || e[t].push(n);
  14199. },
  14200. off: function off(t, n) {
  14201. e[t] = e[t] || [];
  14202. var s = e[t].indexOf(n);
  14203. -1 !== s && e[t].splice(s, 1);
  14204. }
  14205. };
  14206. }
  14207. var Dn = ["db.Geo", "db.command", "command.aggregate"];
  14208. function Fn(e, t) {
  14209. return Dn.indexOf("".concat(e, ".").concat(t)) > -1;
  14210. }
  14211. function qn(e) {
  14212. switch (g(e)) {
  14213. case "array":
  14214. return e.map(function (e) {
  14215. return qn(e);
  14216. });
  14217. case "object":
  14218. return e._internalType === Un || Object.keys(e).forEach(function (t) {
  14219. e[t] = qn(e[t]);
  14220. }), e;
  14221. case "regexp":
  14222. return {
  14223. $regexp: {
  14224. source: e.source,
  14225. flags: e.flags
  14226. }
  14227. };
  14228. case "date":
  14229. return {
  14230. $date: e.toISOString()
  14231. };
  14232. default:
  14233. return e;
  14234. }
  14235. }
  14236. function Mn(e) {
  14237. return e && e.content && e.content.$method;
  14238. }
  14239. var Kn = /*#__PURE__*/function () {
  14240. function Kn(e, t, n) {
  14241. (0, _classCallCheck2.default)(this, Kn);
  14242. this.content = e, this.prevStage = t || null, this.udb = null, this._database = n;
  14243. }
  14244. (0, _createClass2.default)(Kn, [{
  14245. key: "toJSON",
  14246. value: function toJSON() {
  14247. var e = this;
  14248. var t = [e.content];
  14249. for (; e.prevStage;) {
  14250. e = e.prevStage, t.push(e.content);
  14251. }
  14252. return {
  14253. $db: t.reverse().map(function (e) {
  14254. return {
  14255. $method: e.$method,
  14256. $param: qn(e.$param)
  14257. };
  14258. })
  14259. };
  14260. }
  14261. }, {
  14262. key: "toString",
  14263. value: function toString() {
  14264. return JSON.stringify(this.toJSON());
  14265. }
  14266. }, {
  14267. key: "getAction",
  14268. value: function getAction() {
  14269. var e = this.toJSON().$db.find(function (e) {
  14270. return "action" === e.$method;
  14271. });
  14272. return e && e.$param && e.$param[0];
  14273. }
  14274. }, {
  14275. key: "getCommand",
  14276. value: function getCommand() {
  14277. return {
  14278. $db: this.toJSON().$db.filter(function (e) {
  14279. return "action" !== e.$method;
  14280. })
  14281. };
  14282. }
  14283. }, {
  14284. key: "isAggregate",
  14285. get: function get() {
  14286. var e = this;
  14287. for (; e;) {
  14288. var t = Mn(e),
  14289. _n8 = Mn(e.prevStage);
  14290. if ("aggregate" === t && "collection" === _n8 || "pipeline" === t) return !0;
  14291. e = e.prevStage;
  14292. }
  14293. return !1;
  14294. }
  14295. }, {
  14296. key: "isCommand",
  14297. get: function get() {
  14298. var e = this;
  14299. for (; e;) {
  14300. if ("command" === Mn(e)) return !0;
  14301. e = e.prevStage;
  14302. }
  14303. return !1;
  14304. }
  14305. }, {
  14306. key: "isAggregateCommand",
  14307. get: function get() {
  14308. var e = this;
  14309. for (; e;) {
  14310. var t = Mn(e),
  14311. _n9 = Mn(e.prevStage);
  14312. if ("aggregate" === t && "command" === _n9) return !0;
  14313. e = e.prevStage;
  14314. }
  14315. return !1;
  14316. }
  14317. }, {
  14318. key: "getNextStageFn",
  14319. value: function getNextStageFn(e) {
  14320. var t = this;
  14321. return function () {
  14322. return jn({
  14323. $method: e,
  14324. $param: qn(Array.from(arguments))
  14325. }, t, t._database);
  14326. };
  14327. }
  14328. }, {
  14329. key: "count",
  14330. get: function get() {
  14331. return this.isAggregate ? this.getNextStageFn("count") : function () {
  14332. return this._send("count", Array.from(arguments));
  14333. };
  14334. }
  14335. }, {
  14336. key: "remove",
  14337. get: function get() {
  14338. return this.isCommand ? this.getNextStageFn("remove") : function () {
  14339. return this._send("remove", Array.from(arguments));
  14340. };
  14341. }
  14342. }, {
  14343. key: "get",
  14344. value: function get() {
  14345. return this._send("get", Array.from(arguments));
  14346. }
  14347. }, {
  14348. key: "add",
  14349. get: function get() {
  14350. return this.isCommand ? this.getNextStageFn("add") : function () {
  14351. return this._send("add", Array.from(arguments));
  14352. };
  14353. }
  14354. }, {
  14355. key: "update",
  14356. value: function update() {
  14357. return this._send("update", Array.from(arguments));
  14358. }
  14359. }, {
  14360. key: "end",
  14361. value: function end() {
  14362. return this._send("end", Array.from(arguments));
  14363. }
  14364. }, {
  14365. key: "set",
  14366. get: function get() {
  14367. return this.isCommand ? this.getNextStageFn("set") : function () {
  14368. throw new Error("JQL禁止使用set方法");
  14369. };
  14370. }
  14371. }, {
  14372. key: "_send",
  14373. value: function _send(e, t) {
  14374. var n = this.getAction(),
  14375. s = this.getCommand();
  14376. if (s.$db.push({
  14377. $method: e,
  14378. $param: qn(t)
  14379. }), k) {
  14380. var _e21 = s.$db.find(function (e) {
  14381. return "collection" === e.$method;
  14382. }),
  14383. _t11 = _e21 && _e21.$param;
  14384. _t11 && 1 === _t11.length && "string" == typeof _e21.$param[0] && _e21.$param[0].indexOf(",") > -1 && console.warn("检测到使用JQL语法联表查询时,未使用getTemp先过滤主表数据,在主表数据量大的情况下可能会查询缓慢。\n- 如何优化请参考此文档:https://uniapp.dcloud.net.cn/uniCloud/jql?id=lookup-with-temp \n- 如果主表数据量很小请忽略此信息,项目发行时不会出现此提示。");
  14385. }
  14386. return this._database._callCloudFunction({
  14387. action: n,
  14388. command: s
  14389. });
  14390. }
  14391. }]);
  14392. return Kn;
  14393. }();
  14394. function jn(e, t, n) {
  14395. return Ln(new Kn(e, t, n), {
  14396. get: function get(e, t) {
  14397. var s = "db";
  14398. return e && e.content && (s = e.content.$method), Fn(s, t) ? jn({
  14399. $method: t
  14400. }, e, n) : function () {
  14401. return jn({
  14402. $method: t,
  14403. $param: qn(Array.from(arguments))
  14404. }, e, n);
  14405. };
  14406. }
  14407. });
  14408. }
  14409. function Bn(_ref36) {
  14410. var e = _ref36.path,
  14411. t = _ref36.method;
  14412. return /*#__PURE__*/function () {
  14413. function _class4() {
  14414. (0, _classCallCheck2.default)(this, _class4);
  14415. this.param = Array.from(arguments);
  14416. }
  14417. (0, _createClass2.default)(_class4, [{
  14418. key: "toJSON",
  14419. value: function toJSON() {
  14420. return {
  14421. $newDb: [].concat((0, _toConsumableArray2.default)(e.map(function (e) {
  14422. return {
  14423. $method: e
  14424. };
  14425. })), [{
  14426. $method: t,
  14427. $param: this.param
  14428. }])
  14429. };
  14430. }
  14431. }, {
  14432. key: "toString",
  14433. value: function toString() {
  14434. return JSON.stringify(this.toJSON());
  14435. }
  14436. }]);
  14437. return _class4;
  14438. }();
  14439. }
  14440. function $n(e) {
  14441. var t = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  14442. return Ln(new e(t), {
  14443. get: function get(e, t) {
  14444. return Fn("db", t) ? jn({
  14445. $method: t
  14446. }, null, e) : function () {
  14447. return jn({
  14448. $method: t,
  14449. $param: qn(Array.from(arguments))
  14450. }, null, e);
  14451. };
  14452. }
  14453. });
  14454. }
  14455. var Wn = /*#__PURE__*/function (_ref37) {
  14456. (0, _inherits2.default)(Wn, _ref37);
  14457. var _super11 = _createSuper(Wn);
  14458. function Wn() {
  14459. (0, _classCallCheck2.default)(this, Wn);
  14460. return _super11.apply(this, arguments);
  14461. }
  14462. (0, _createClass2.default)(Wn, [{
  14463. key: "_parseResult",
  14464. value: function _parseResult(e) {
  14465. return this._isJQL ? e.result : e;
  14466. }
  14467. }, {
  14468. key: "_callCloudFunction",
  14469. value: function _callCloudFunction(_ref38) {
  14470. var _this19 = this;
  14471. var e = _ref38.action,
  14472. t = _ref38.command,
  14473. n = _ref38.multiCommand,
  14474. s = _ref38.queryList;
  14475. function r(e, t) {
  14476. if (n && s) for (var _n10 = 0; _n10 < s.length; _n10++) {
  14477. var _r5 = s[_n10];
  14478. _r5.udb && "function" == typeof _r5.udb.setResult && (t ? _r5.udb.setResult(t) : _r5.udb.setResult(e.result.dataList[_n10]));
  14479. }
  14480. }
  14481. var i = this,
  14482. o = this._isJQL ? "databaseForJQL" : "database";
  14483. function a(e) {
  14484. return i._callback("error", [e]), M(K(o, "fail"), e).then(function () {
  14485. return M(K(o, "complete"), e);
  14486. }).then(function () {
  14487. return r(null, e), X($, {
  14488. type: J,
  14489. content: e
  14490. }), Promise.reject(e);
  14491. });
  14492. }
  14493. var c = M(K(o, "invoke")),
  14494. u = this._uniClient;
  14495. return c.then(function () {
  14496. return u.callFunction({
  14497. name: "DCloud-clientDB",
  14498. type: l,
  14499. data: {
  14500. action: e,
  14501. command: t,
  14502. multiCommand: n
  14503. }
  14504. });
  14505. }).then(function (e) {
  14506. var _e$result = e.result,
  14507. t = _e$result.code,
  14508. n = _e$result.message,
  14509. s = _e$result.token,
  14510. c = _e$result.tokenExpired,
  14511. _e$result$systemInfo = _e$result.systemInfo,
  14512. u = _e$result$systemInfo === void 0 ? [] : _e$result$systemInfo;
  14513. if (u) for (var _e22 = 0; _e22 < u.length; _e22++) {
  14514. var _u$_e = u[_e22],
  14515. _t12 = _u$_e.level,
  14516. _n11 = _u$_e.message,
  14517. _s13 = _u$_e.detail,
  14518. _r6 = console["app" === A && "warn" === _t12 ? "error" : _t12] || console.log;
  14519. var _i4 = "[System Info]" + _n11;
  14520. _s13 && (_i4 = "".concat(_i4, "\n\u8BE6\u7EC6\u4FE1\u606F\uFF1A").concat(_s13)), _r6(_i4);
  14521. }
  14522. if (t) {
  14523. return a(new se({
  14524. code: t,
  14525. message: n,
  14526. requestId: e.requestId
  14527. }));
  14528. }
  14529. e.result.errCode = e.result.errCode || e.result.code, e.result.errMsg = e.result.errMsg || e.result.message, s && c && (oe({
  14530. token: s,
  14531. tokenExpired: c
  14532. }), _this19._callbackAuth("refreshToken", [{
  14533. token: s,
  14534. tokenExpired: c
  14535. }]), _this19._callback("refreshToken", [{
  14536. token: s,
  14537. tokenExpired: c
  14538. }]), X(z, {
  14539. token: s,
  14540. tokenExpired: c
  14541. }));
  14542. var h = [{
  14543. prop: "affectedDocs",
  14544. tips: "affectedDocs不再推荐使用,请使用inserted/deleted/updated/data.length替代"
  14545. }, {
  14546. prop: "code",
  14547. tips: "code不再推荐使用,请使用errCode替代"
  14548. }, {
  14549. prop: "message",
  14550. tips: "message不再推荐使用,请使用errMsg替代"
  14551. }];
  14552. var _loop2 = function _loop2(_t13) {
  14553. var _h$_t = h[_t13],
  14554. n = _h$_t.prop,
  14555. s = _h$_t.tips;
  14556. if (n in e.result) {
  14557. var _t14 = e.result[n];
  14558. Object.defineProperty(e.result, n, {
  14559. get: function get() {
  14560. return console.warn(s), _t14;
  14561. }
  14562. });
  14563. }
  14564. };
  14565. for (var _t13 = 0; _t13 < h.length; _t13++) {
  14566. _loop2(_t13);
  14567. }
  14568. return function (e) {
  14569. return M(K(o, "success"), e).then(function () {
  14570. return M(K(o, "complete"), e);
  14571. }).then(function () {
  14572. r(e, null);
  14573. var t = i._parseResult(e);
  14574. return X($, {
  14575. type: J,
  14576. content: t
  14577. }), Promise.resolve(t);
  14578. });
  14579. }(e);
  14580. }, function (e) {
  14581. /fc_function_not_found|FUNCTION_NOT_FOUND/g.test(e.message) && console.warn("clientDB未初始化,请在web控制台保存一次schema以开启clientDB");
  14582. return a(new se({
  14583. code: e.code || "SYSTEM_ERROR",
  14584. message: e.message,
  14585. requestId: e.requestId
  14586. }));
  14587. });
  14588. }
  14589. }]);
  14590. return Wn;
  14591. }( /*#__PURE__*/function () {
  14592. function _class5() {
  14593. var _ref39 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
  14594. _ref39$uniClient = _ref39.uniClient,
  14595. e = _ref39$uniClient === void 0 ? {} : _ref39$uniClient,
  14596. _ref39$isJQL = _ref39.isJQL,
  14597. t = _ref39$isJQL === void 0 ? !1 : _ref39$isJQL;
  14598. (0, _classCallCheck2.default)(this, _class5);
  14599. this._uniClient = e, this._authCallBacks = {}, this._dbCallBacks = {}, e._isDefault && (this._dbCallBacks = L("_globalUniCloudDatabaseCallback")), t || (this.auth = Nn(this._authCallBacks)), this._isJQL = t, Object.assign(this, Nn(this._dbCallBacks)), this.env = Ln({}, {
  14600. get: function get(e, t) {
  14601. return {
  14602. $env: t
  14603. };
  14604. }
  14605. }), this.Geo = Ln({}, {
  14606. get: function get(e, t) {
  14607. return Bn({
  14608. path: ["Geo"],
  14609. method: t
  14610. });
  14611. }
  14612. }), this.serverDate = Bn({
  14613. path: [],
  14614. method: "serverDate"
  14615. }), this.RegExp = Bn({
  14616. path: [],
  14617. method: "RegExp"
  14618. });
  14619. }
  14620. (0, _createClass2.default)(_class5, [{
  14621. key: "getCloudEnv",
  14622. value: function getCloudEnv(e) {
  14623. if ("string" != typeof e || !e.trim()) throw new Error("getCloudEnv参数错误");
  14624. return {
  14625. $env: e.replace("$cloudEnv_", "")
  14626. };
  14627. }
  14628. }, {
  14629. key: "_callback",
  14630. value: function _callback(e, t) {
  14631. var n = this._dbCallBacks;
  14632. n[e] && n[e].forEach(function (e) {
  14633. e.apply(void 0, (0, _toConsumableArray2.default)(t));
  14634. });
  14635. }
  14636. }, {
  14637. key: "_callbackAuth",
  14638. value: function _callbackAuth(e, t) {
  14639. var n = this._authCallBacks;
  14640. n[e] && n[e].forEach(function (e) {
  14641. e.apply(void 0, (0, _toConsumableArray2.default)(t));
  14642. });
  14643. }
  14644. }, {
  14645. key: "multiSend",
  14646. value: function multiSend() {
  14647. var e = Array.from(arguments),
  14648. t = e.map(function (e) {
  14649. var t = e.getAction(),
  14650. n = e.getCommand();
  14651. if ("getTemp" !== n.$db[n.$db.length - 1].$method) throw new Error("multiSend只支持子命令内使用getTemp");
  14652. return {
  14653. action: t,
  14654. command: n
  14655. };
  14656. });
  14657. return this._callCloudFunction({
  14658. multiCommand: t,
  14659. queryList: e
  14660. });
  14661. }
  14662. }]);
  14663. return _class5;
  14664. }());
  14665. var zn = "token无效,跳转登录页面",
  14666. Jn = "token过期,跳转登录页面",
  14667. Hn = {
  14668. TOKEN_INVALID_TOKEN_EXPIRED: Jn,
  14669. TOKEN_INVALID_INVALID_CLIENTID: zn,
  14670. TOKEN_INVALID: zn,
  14671. TOKEN_INVALID_WRONG_TOKEN: zn,
  14672. TOKEN_INVALID_ANONYMOUS_USER: zn
  14673. },
  14674. Gn = {
  14675. "uni-id-token-expired": Jn,
  14676. "uni-id-check-token-failed": zn,
  14677. "uni-id-token-not-exist": zn,
  14678. "uni-id-check-device-feature-failed": zn
  14679. };
  14680. function Vn(e, t) {
  14681. var n = "";
  14682. return n = e ? "".concat(e, "/").concat(t) : t, n.replace(/^\//, "");
  14683. }
  14684. function Qn() {
  14685. var e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
  14686. var t = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : "";
  14687. var n = [],
  14688. s = [];
  14689. return e.forEach(function (e) {
  14690. !0 === e.needLogin ? n.push(Vn(t, e.path)) : !1 === e.needLogin && s.push(Vn(t, e.path));
  14691. }), {
  14692. needLoginPage: n,
  14693. notNeedLoginPage: s
  14694. };
  14695. }
  14696. function Yn(e) {
  14697. return e.split("?")[0].replace(/^\//, "");
  14698. }
  14699. function Xn() {
  14700. return function (e) {
  14701. var t = e && e.$page && e.$page.fullPath || "";
  14702. return t ? ("/" !== t.charAt(0) && (t = "/" + t), t) : t;
  14703. }(function () {
  14704. var e = getCurrentPages();
  14705. return e[e.length - 1];
  14706. }());
  14707. }
  14708. function Zn() {
  14709. return Yn(Xn());
  14710. }
  14711. function es() {
  14712. var e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : "";
  14713. var t = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  14714. if (!e) return !1;
  14715. if (!(t && t.list && t.list.length)) return !1;
  14716. var n = t.list,
  14717. s = Yn(e);
  14718. return n.some(function (e) {
  14719. return e.pagePath === s;
  14720. });
  14721. }
  14722. var ts = !!_pages.default.uniIdRouter;
  14723. var _ref40 = function () {
  14724. var _ref21 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : _pages.default,
  14725. _ref21$pages = _ref21.pages,
  14726. e = _ref21$pages === void 0 ? [] : _ref21$pages,
  14727. _ref21$subPackages = _ref21.subPackages,
  14728. n = _ref21$subPackages === void 0 ? [] : _ref21$subPackages,
  14729. _ref21$uniIdRouter = _ref21.uniIdRouter,
  14730. s = _ref21$uniIdRouter === void 0 ? {} : _ref21$uniIdRouter,
  14731. _ref21$tabBar = _ref21.tabBar,
  14732. r = _ref21$tabBar === void 0 ? {} : _ref21$tabBar;
  14733. var i = s.loginPage,
  14734. _s$needLogin = s.needLogin,
  14735. o = _s$needLogin === void 0 ? [] : _s$needLogin,
  14736. _s$resToLogin = s.resToLogin,
  14737. a = _s$resToLogin === void 0 ? !0 : _s$resToLogin,
  14738. _Qn = Qn(e),
  14739. c = _Qn.needLoginPage,
  14740. u = _Qn.notNeedLoginPage,
  14741. _ref23 = function () {
  14742. var e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
  14743. var t = [],
  14744. n = [];
  14745. return e.forEach(function (e) {
  14746. var s = e.root,
  14747. _e$pages = e.pages,
  14748. r = _e$pages === void 0 ? [] : _e$pages,
  14749. _Qn2 = Qn(r, s),
  14750. i = _Qn2.needLoginPage,
  14751. o = _Qn2.notNeedLoginPage;
  14752. t.push.apply(t, (0, _toConsumableArray2.default)(i)), n.push.apply(n, (0, _toConsumableArray2.default)(o));
  14753. }), {
  14754. needLoginPage: t,
  14755. notNeedLoginPage: n
  14756. };
  14757. }(n),
  14758. h = _ref23.needLoginPage,
  14759. l = _ref23.notNeedLoginPage;
  14760. return {
  14761. loginPage: i,
  14762. routerNeedLogin: o,
  14763. resToLogin: a,
  14764. needLoginPage: [].concat((0, _toConsumableArray2.default)(c), (0, _toConsumableArray2.default)(h)),
  14765. notNeedLoginPage: [].concat((0, _toConsumableArray2.default)(u), (0, _toConsumableArray2.default)(l)),
  14766. loginPageInTabBar: es(i, r)
  14767. };
  14768. }(),
  14769. ns = _ref40.loginPage,
  14770. ss = _ref40.routerNeedLogin,
  14771. rs = _ref40.resToLogin,
  14772. is = _ref40.needLoginPage,
  14773. os = _ref40.notNeedLoginPage,
  14774. as = _ref40.loginPageInTabBar;
  14775. if (is.indexOf(ns) > -1) throw new Error("Login page [".concat(ns, "] should not be \"needLogin\", please check your pages.json"));
  14776. function cs(e) {
  14777. var t = Zn();
  14778. if ("/" === e.charAt(0)) return e;
  14779. var _e$split = e.split("?"),
  14780. _e$split2 = (0, _slicedToArray2.default)(_e$split, 2),
  14781. n = _e$split2[0],
  14782. s = _e$split2[1],
  14783. r = n.replace(/^\//, "").split("/"),
  14784. i = t.split("/");
  14785. i.pop();
  14786. for (var _e23 = 0; _e23 < r.length; _e23++) {
  14787. var _t15 = r[_e23];
  14788. ".." === _t15 ? i.pop() : "." !== _t15 && i.push(_t15);
  14789. }
  14790. return "" === i[0] && i.shift(), "/" + i.join("/") + (s ? "?" + s : "");
  14791. }
  14792. function us(e) {
  14793. var t = Yn(cs(e));
  14794. return !(os.indexOf(t) > -1) && (is.indexOf(t) > -1 || ss.some(function (t) {
  14795. return function (e, t) {
  14796. return new RegExp(t).test(e);
  14797. }(e, t);
  14798. }));
  14799. }
  14800. function hs(_ref41) {
  14801. var e = _ref41.redirect;
  14802. var t = Yn(e),
  14803. n = Yn(ns);
  14804. return Zn() !== n && t !== n;
  14805. }
  14806. function ls() {
  14807. var _ref42 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
  14808. e = _ref42.api,
  14809. t = _ref42.redirect;
  14810. if (!t || !hs({
  14811. redirect: t
  14812. })) return;
  14813. var n = function (e, t) {
  14814. return "/" !== e.charAt(0) && (e = "/" + e), t ? e.indexOf("?") > -1 ? e + "&uniIdRedirectUrl=".concat(encodeURIComponent(t)) : e + "?uniIdRedirectUrl=".concat(encodeURIComponent(t)) : e;
  14815. }(ns, t);
  14816. as ? "navigateTo" !== e && "redirectTo" !== e || (e = "switchTab") : "switchTab" === e && (e = "navigateTo");
  14817. var s = {
  14818. navigateTo: uni.navigateTo,
  14819. redirectTo: uni.redirectTo,
  14820. switchTab: uni.switchTab,
  14821. reLaunch: uni.reLaunch
  14822. };
  14823. setTimeout(function () {
  14824. s[e]({
  14825. url: n
  14826. });
  14827. });
  14828. }
  14829. function ds() {
  14830. var _ref43 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
  14831. e = _ref43.url;
  14832. var t = {
  14833. abortLoginPageJump: !1,
  14834. autoToLoginPage: !1
  14835. },
  14836. n = function () {
  14837. var _ie3 = ie(),
  14838. e = _ie3.token,
  14839. t = _ie3.tokenExpired;
  14840. var n;
  14841. if (e) {
  14842. if (t < Date.now()) {
  14843. var _e24 = "uni-id-token-expired";
  14844. n = {
  14845. errCode: _e24,
  14846. errMsg: Gn[_e24]
  14847. };
  14848. }
  14849. } else {
  14850. var _e25 = "uni-id-check-token-failed";
  14851. n = {
  14852. errCode: _e25,
  14853. errMsg: Gn[_e25]
  14854. };
  14855. }
  14856. return n;
  14857. }();
  14858. if (us(e) && n) {
  14859. n.uniIdRedirectUrl = e;
  14860. if (V(W).length > 0) return setTimeout(function () {
  14861. X(W, n);
  14862. }, 0), t.abortLoginPageJump = !0, t;
  14863. t.autoToLoginPage = !0;
  14864. }
  14865. return t;
  14866. }
  14867. function ps() {
  14868. !function () {
  14869. var e = Xn(),
  14870. _ds = ds({
  14871. url: e
  14872. }),
  14873. t = _ds.abortLoginPageJump,
  14874. n = _ds.autoToLoginPage;
  14875. t || n && ls({
  14876. api: "redirectTo",
  14877. redirect: e
  14878. });
  14879. }();
  14880. var e = ["navigateTo", "redirectTo", "reLaunch", "switchTab"];
  14881. var _loop3 = function _loop3(_t16) {
  14882. var n = e[_t16];
  14883. uni.addInterceptor(n, {
  14884. invoke: function invoke(e) {
  14885. var _ds2 = ds({
  14886. url: e.url
  14887. }),
  14888. t = _ds2.abortLoginPageJump,
  14889. s = _ds2.autoToLoginPage;
  14890. return t ? e : s ? (ls({
  14891. api: n,
  14892. redirect: cs(e.url)
  14893. }), !1) : e;
  14894. }
  14895. });
  14896. };
  14897. for (var _t16 = 0; _t16 < e.length; _t16++) {
  14898. _loop3(_t16);
  14899. }
  14900. }
  14901. function fs() {
  14902. this.onResponse(function (e) {
  14903. var t = e.type,
  14904. n = e.content;
  14905. var s = !1;
  14906. switch (t) {
  14907. case "cloudobject":
  14908. s = function (e) {
  14909. if ("object" != (0, _typeof2.default)(e)) return !1;
  14910. var _ref44 = e || {},
  14911. t = _ref44.errCode;
  14912. return t in Gn;
  14913. }(n);
  14914. break;
  14915. case "clientdb":
  14916. s = function (e) {
  14917. if ("object" != (0, _typeof2.default)(e)) return !1;
  14918. var _ref45 = e || {},
  14919. t = _ref45.errCode;
  14920. return t in Hn;
  14921. }(n);
  14922. }
  14923. s && function () {
  14924. var e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  14925. var t = V(W);
  14926. te().then(function () {
  14927. var n = Xn();
  14928. if (n && hs({
  14929. redirect: n
  14930. })) return t.length > 0 ? X(W, Object.assign({
  14931. uniIdRedirectUrl: n
  14932. }, e)) : void (ns && ls({
  14933. api: "navigateTo",
  14934. redirect: n
  14935. }));
  14936. });
  14937. }(n);
  14938. });
  14939. }
  14940. function gs(e) {
  14941. !function (e) {
  14942. e.onResponse = function (e) {
  14943. Q($, e);
  14944. }, e.offResponse = function (e) {
  14945. Y($, e);
  14946. };
  14947. }(e), function (e) {
  14948. e.onNeedLogin = function (e) {
  14949. Q(W, e);
  14950. }, e.offNeedLogin = function (e) {
  14951. Y(W, e);
  14952. }, ts && (L("_globalUniCloudStatus").needLoginInit || (L("_globalUniCloudStatus").needLoginInit = !0, te().then(function () {
  14953. ps.call(e);
  14954. }), rs && fs.call(e)));
  14955. }(e), function (e) {
  14956. e.onRefreshToken = function (e) {
  14957. Q(z, e);
  14958. }, e.offRefreshToken = function (e) {
  14959. Y(z, e);
  14960. };
  14961. }(e);
  14962. }
  14963. var ms;
  14964. var ys = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",
  14965. _s = /^(?:[A-Za-z\d+/]{4})*?(?:[A-Za-z\d+/]{2}(?:==)?|[A-Za-z\d+/]{3}=?)?$/;
  14966. function ws() {
  14967. var e = ie().token || "",
  14968. t = e.split(".");
  14969. if (!e || 3 !== t.length) return {
  14970. uid: null,
  14971. role: [],
  14972. permission: [],
  14973. tokenExpired: 0
  14974. };
  14975. var n;
  14976. try {
  14977. n = JSON.parse((s = t[1], decodeURIComponent(ms(s).split("").map(function (e) {
  14978. return "%" + ("00" + e.charCodeAt(0).toString(16)).slice(-2);
  14979. }).join(""))));
  14980. } catch (e) {
  14981. throw new Error("获取当前用户信息出错,详细错误信息为:" + e.message);
  14982. }
  14983. var s;
  14984. return n.tokenExpired = 1e3 * n.exp, delete n.exp, delete n.iat, n;
  14985. }
  14986. ms = "function" != typeof atob ? function (e) {
  14987. if (e = String(e).replace(/[\t\n\f\r ]+/g, ""), !_s.test(e)) throw new Error("Failed to execute 'atob' on 'Window': The string to be decoded is not correctly encoded.");
  14988. var t;
  14989. e += "==".slice(2 - (3 & e.length));
  14990. for (var n, s, r = "", i = 0; i < e.length;) {
  14991. t = ys.indexOf(e.charAt(i++)) << 18 | ys.indexOf(e.charAt(i++)) << 12 | (n = ys.indexOf(e.charAt(i++))) << 6 | (s = ys.indexOf(e.charAt(i++))), r += 64 === n ? String.fromCharCode(t >> 16 & 255) : 64 === s ? String.fromCharCode(t >> 16 & 255, t >> 8 & 255) : String.fromCharCode(t >> 16 & 255, t >> 8 & 255, 255 & t);
  14992. }
  14993. return r;
  14994. } : atob;
  14995. var vs = s(function (e, t) {
  14996. Object.defineProperty(t, "__esModule", {
  14997. value: !0
  14998. });
  14999. var n = "chooseAndUploadFile:ok",
  15000. s = "chooseAndUploadFile:fail";
  15001. function r(e, t) {
  15002. return e.tempFiles.forEach(function (e, n) {
  15003. e.name || (e.name = e.path.substring(e.path.lastIndexOf("/") + 1)), t && (e.fileType = t), e.cloudPath = Date.now() + "_" + n + e.name.substring(e.name.lastIndexOf("."));
  15004. }), e.tempFilePaths || (e.tempFilePaths = e.tempFiles.map(function (e) {
  15005. return e.path;
  15006. })), e;
  15007. }
  15008. function i(e, t, _ref46) {
  15009. var s = _ref46.onChooseFile,
  15010. r = _ref46.onUploadProgress;
  15011. return t.then(function (e) {
  15012. if (s) {
  15013. var _t17 = s(e);
  15014. if (void 0 !== _t17) return Promise.resolve(_t17).then(function (t) {
  15015. return void 0 === t ? e : t;
  15016. });
  15017. }
  15018. return e;
  15019. }).then(function (t) {
  15020. return !1 === t ? {
  15021. errMsg: n,
  15022. tempFilePaths: [],
  15023. tempFiles: []
  15024. } : function (e, t) {
  15025. var s = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 5;
  15026. var r = arguments.length > 3 ? arguments[3] : undefined;
  15027. (t = Object.assign({}, t)).errMsg = n;
  15028. var i = t.tempFiles,
  15029. o = i.length;
  15030. var a = 0;
  15031. return new Promise(function (n) {
  15032. for (; a < s;) {
  15033. c();
  15034. }
  15035. function c() {
  15036. var s = a++;
  15037. if (s >= o) return void (!i.find(function (e) {
  15038. return !e.url && !e.errMsg;
  15039. }) && n(t));
  15040. var u = i[s];
  15041. e.uploadFile({
  15042. filePath: u.path,
  15043. cloudPath: u.cloudPath,
  15044. fileType: u.fileType,
  15045. onUploadProgress: function onUploadProgress(e) {
  15046. e.index = s, e.tempFile = u, e.tempFilePath = u.path, r && r(e);
  15047. }
  15048. }).then(function (e) {
  15049. u.url = e.fileID, s < o && c();
  15050. }).catch(function (e) {
  15051. u.errMsg = e.errMsg || e.message, s < o && c();
  15052. });
  15053. }
  15054. });
  15055. }(e, t, 5, r);
  15056. });
  15057. }
  15058. t.initChooseAndUploadFile = function (e) {
  15059. return function () {
  15060. var t = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {
  15061. type: "all"
  15062. };
  15063. return "image" === t.type ? i(e, function (e) {
  15064. var t = e.count,
  15065. n = e.sizeType,
  15066. _e$sourceType = e.sourceType,
  15067. i = _e$sourceType === void 0 ? ["album", "camera"] : _e$sourceType,
  15068. o = e.extension;
  15069. return new Promise(function (e, a) {
  15070. uni.chooseImage({
  15071. count: t,
  15072. sizeType: n,
  15073. sourceType: i,
  15074. extension: o,
  15075. success: function success(t) {
  15076. e(r(t, "image"));
  15077. },
  15078. fail: function fail(e) {
  15079. a({
  15080. errMsg: e.errMsg.replace("chooseImage:fail", s)
  15081. });
  15082. }
  15083. });
  15084. });
  15085. }(t), t) : "video" === t.type ? i(e, function (e) {
  15086. var t = e.camera,
  15087. n = e.compressed,
  15088. i = e.maxDuration,
  15089. _e$sourceType2 = e.sourceType,
  15090. o = _e$sourceType2 === void 0 ? ["album", "camera"] : _e$sourceType2,
  15091. a = e.extension;
  15092. return new Promise(function (e, c) {
  15093. uni.chooseVideo({
  15094. camera: t,
  15095. compressed: n,
  15096. maxDuration: i,
  15097. sourceType: o,
  15098. extension: a,
  15099. success: function success(t) {
  15100. var n = t.tempFilePath,
  15101. s = t.duration,
  15102. i = t.size,
  15103. o = t.height,
  15104. a = t.width;
  15105. e(r({
  15106. errMsg: "chooseVideo:ok",
  15107. tempFilePaths: [n],
  15108. tempFiles: [{
  15109. name: t.tempFile && t.tempFile.name || "",
  15110. path: n,
  15111. size: i,
  15112. type: t.tempFile && t.tempFile.type || "",
  15113. width: a,
  15114. height: o,
  15115. duration: s,
  15116. fileType: "video",
  15117. cloudPath: ""
  15118. }]
  15119. }, "video"));
  15120. },
  15121. fail: function fail(e) {
  15122. c({
  15123. errMsg: e.errMsg.replace("chooseVideo:fail", s)
  15124. });
  15125. }
  15126. });
  15127. });
  15128. }(t), t) : i(e, function (e) {
  15129. var t = e.count,
  15130. n = e.extension;
  15131. return new Promise(function (e, i) {
  15132. var o = uni.chooseFile;
  15133. if ("undefined" != typeof wx && "function" == typeof wx.chooseMessageFile && (o = wx.chooseMessageFile), "function" != typeof o) return i({
  15134. errMsg: s + " 请指定 type 类型,该平台仅支持选择 image 或 video。"
  15135. });
  15136. o({
  15137. type: "all",
  15138. count: t,
  15139. extension: n,
  15140. success: function success(t) {
  15141. e(r(t));
  15142. },
  15143. fail: function fail(e) {
  15144. i({
  15145. errMsg: e.errMsg.replace("chooseFile:fail", s)
  15146. });
  15147. }
  15148. });
  15149. });
  15150. }(t), t);
  15151. };
  15152. };
  15153. }),
  15154. Ss = n(vs);
  15155. var Is = "manual";
  15156. function bs(e) {
  15157. return {
  15158. props: {
  15159. localdata: {
  15160. type: Array,
  15161. default: function _default() {
  15162. return [];
  15163. }
  15164. },
  15165. options: {
  15166. type: [Object, Array],
  15167. default: function _default() {
  15168. return {};
  15169. }
  15170. },
  15171. spaceInfo: {
  15172. type: Object,
  15173. default: function _default() {
  15174. return {};
  15175. }
  15176. },
  15177. collection: {
  15178. type: [String, Array],
  15179. default: ""
  15180. },
  15181. action: {
  15182. type: String,
  15183. default: ""
  15184. },
  15185. field: {
  15186. type: String,
  15187. default: ""
  15188. },
  15189. orderby: {
  15190. type: String,
  15191. default: ""
  15192. },
  15193. where: {
  15194. type: [String, Object],
  15195. default: ""
  15196. },
  15197. pageData: {
  15198. type: String,
  15199. default: "add"
  15200. },
  15201. pageCurrent: {
  15202. type: Number,
  15203. default: 1
  15204. },
  15205. pageSize: {
  15206. type: Number,
  15207. default: 20
  15208. },
  15209. getcount: {
  15210. type: [Boolean, String],
  15211. default: !1
  15212. },
  15213. gettree: {
  15214. type: [Boolean, String],
  15215. default: !1
  15216. },
  15217. gettreepath: {
  15218. type: [Boolean, String],
  15219. default: !1
  15220. },
  15221. startwith: {
  15222. type: String,
  15223. default: ""
  15224. },
  15225. limitlevel: {
  15226. type: Number,
  15227. default: 10
  15228. },
  15229. groupby: {
  15230. type: String,
  15231. default: ""
  15232. },
  15233. groupField: {
  15234. type: String,
  15235. default: ""
  15236. },
  15237. distinct: {
  15238. type: [Boolean, String],
  15239. default: !1
  15240. },
  15241. foreignKey: {
  15242. type: String,
  15243. default: ""
  15244. },
  15245. loadtime: {
  15246. type: String,
  15247. default: "auto"
  15248. },
  15249. manual: {
  15250. type: Boolean,
  15251. default: !1
  15252. }
  15253. },
  15254. data: function data() {
  15255. return {
  15256. mixinDatacomLoading: !1,
  15257. mixinDatacomHasMore: !1,
  15258. mixinDatacomResData: [],
  15259. mixinDatacomErrorMessage: "",
  15260. mixinDatacomPage: {}
  15261. };
  15262. },
  15263. created: function created() {
  15264. var _this20 = this;
  15265. this.mixinDatacomPage = {
  15266. current: this.pageCurrent,
  15267. size: this.pageSize,
  15268. count: 0
  15269. }, this.$watch(function () {
  15270. var e = [];
  15271. return ["pageCurrent", "pageSize", "localdata", "collection", "action", "field", "orderby", "where", "getont", "getcount", "gettree", "groupby", "groupField", "distinct"].forEach(function (t) {
  15272. e.push(_this20[t]);
  15273. }), e;
  15274. }, function (e, t) {
  15275. if (_this20.loadtime === Is) return;
  15276. var n = !1;
  15277. var s = [];
  15278. for (var _r7 = 2; _r7 < e.length; _r7++) {
  15279. e[_r7] !== t[_r7] && (s.push(e[_r7]), n = !0);
  15280. }
  15281. e[0] !== t[0] && (_this20.mixinDatacomPage.current = _this20.pageCurrent), _this20.mixinDatacomPage.size = _this20.pageSize, _this20.onMixinDatacomPropsChange(n, s);
  15282. });
  15283. },
  15284. methods: {
  15285. onMixinDatacomPropsChange: function onMixinDatacomPropsChange(e, t) {},
  15286. mixinDatacomEasyGet: function mixinDatacomEasyGet() {
  15287. var _this21 = this;
  15288. var _ref47 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
  15289. _ref47$getone = _ref47.getone,
  15290. e = _ref47$getone === void 0 ? !1 : _ref47$getone,
  15291. t = _ref47.success,
  15292. n = _ref47.fail;
  15293. this.mixinDatacomLoading || (this.mixinDatacomLoading = !0, this.mixinDatacomErrorMessage = "", this.mixinDatacomGet().then(function (n) {
  15294. _this21.mixinDatacomLoading = !1;
  15295. var _n$result = n.result,
  15296. s = _n$result.data,
  15297. r = _n$result.count;
  15298. _this21.getcount && (_this21.mixinDatacomPage.count = r), _this21.mixinDatacomHasMore = s.length < _this21.pageSize;
  15299. var i = e ? s.length ? s[0] : void 0 : s;
  15300. _this21.mixinDatacomResData = i, t && t(i);
  15301. }).catch(function (e) {
  15302. _this21.mixinDatacomLoading = !1, _this21.mixinDatacomErrorMessage = e, n && n(e);
  15303. }));
  15304. },
  15305. mixinDatacomGet: function mixinDatacomGet() {
  15306. var _n12;
  15307. var t = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  15308. var n = e.database(this.spaceInfo);
  15309. var s = t.action || this.action;
  15310. s && (n = n.action(s));
  15311. var r = t.collection || this.collection;
  15312. n = Array.isArray(r) ? (_n12 = n).collection.apply(_n12, (0, _toConsumableArray2.default)(r)) : n.collection(r);
  15313. var i = t.where || this.where;
  15314. i && Object.keys(i).length && (n = n.where(i));
  15315. var o = t.field || this.field;
  15316. o && (n = n.field(o));
  15317. var a = t.foreignKey || this.foreignKey;
  15318. a && (n = n.foreignKey(a));
  15319. var c = t.groupby || this.groupby;
  15320. c && (n = n.groupBy(c));
  15321. var u = t.groupField || this.groupField;
  15322. u && (n = n.groupField(u));
  15323. !0 === (void 0 !== t.distinct ? t.distinct : this.distinct) && (n = n.distinct());
  15324. var h = t.orderby || this.orderby;
  15325. h && (n = n.orderBy(h));
  15326. var l = void 0 !== t.pageCurrent ? t.pageCurrent : this.mixinDatacomPage.current,
  15327. d = void 0 !== t.pageSize ? t.pageSize : this.mixinDatacomPage.size,
  15328. p = void 0 !== t.getcount ? t.getcount : this.getcount,
  15329. f = void 0 !== t.gettree ? t.gettree : this.gettree,
  15330. g = void 0 !== t.gettreepath ? t.gettreepath : this.gettreepath,
  15331. m = {
  15332. getCount: p
  15333. },
  15334. y = {
  15335. limitLevel: void 0 !== t.limitlevel ? t.limitlevel : this.limitlevel,
  15336. startWith: void 0 !== t.startwith ? t.startwith : this.startwith
  15337. };
  15338. return f && (m.getTree = y), g && (m.getTreePath = y), n = n.skip(d * (l - 1)).limit(d).get(m), n;
  15339. }
  15340. }
  15341. };
  15342. }
  15343. function ks(e) {
  15344. return function (t) {
  15345. var n = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  15346. n = function (e) {
  15347. var t = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  15348. return e.customUI = t.customUI || e.customUI, e.parseSystemError = t.parseSystemError || e.parseSystemError, Object.assign(e.loadingOptions, t.loadingOptions), Object.assign(e.errorOptions, t.errorOptions), "object" == (0, _typeof2.default)(t.secretMethods) && (e.secretMethods = t.secretMethods), e;
  15349. }({
  15350. customUI: !1,
  15351. loadingOptions: {
  15352. title: "加载中...",
  15353. mask: !0
  15354. },
  15355. errorOptions: {
  15356. type: "modal",
  15357. retry: !1
  15358. }
  15359. }, n);
  15360. var _n13 = n,
  15361. s = _n13.customUI,
  15362. r = _n13.loadingOptions,
  15363. i = _n13.errorOptions,
  15364. o = _n13.parseSystemError,
  15365. a = !s;
  15366. return new Proxy({}, {
  15367. get: function get(s, c) {
  15368. return function () {
  15369. var _ref48 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
  15370. e = _ref48.fn,
  15371. t = _ref48.interceptorName,
  15372. n = _ref48.getCallbackArgs;
  15373. return /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee50() {
  15374. var _len2,
  15375. s,
  15376. _key2,
  15377. r,
  15378. i,
  15379. o,
  15380. _args = arguments;
  15381. return _regenerator.default.wrap(function _callee50$(_context50) {
  15382. while (1) {
  15383. switch (_context50.prev = _context50.next) {
  15384. case 0:
  15385. for (_len2 = _args.length, s = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
  15386. s[_key2] = _args[_key2];
  15387. }
  15388. r = n ? n({
  15389. params: s
  15390. }) : {};
  15391. _context50.prev = 2;
  15392. _context50.next = 5;
  15393. return M(K(t, "invoke"), _objectSpread({}, r));
  15394. case 5:
  15395. _context50.next = 7;
  15396. return e.apply(void 0, s);
  15397. case 7:
  15398. i = _context50.sent;
  15399. _context50.next = 10;
  15400. return M(K(t, "success"), _objectSpread(_objectSpread({}, r), {}, {
  15401. result: i
  15402. }));
  15403. case 10:
  15404. return _context50.abrupt("return", i);
  15405. case 13:
  15406. _context50.prev = 13;
  15407. _context50.t0 = _context50["catch"](2);
  15408. o = _context50.t0;
  15409. _context50.next = 18;
  15410. return M(K(t, "fail"), _objectSpread(_objectSpread({}, r), {}, {
  15411. error: o
  15412. }));
  15413. case 18:
  15414. throw o;
  15415. case 19:
  15416. _context50.prev = 19;
  15417. _context50.next = 22;
  15418. return M(K(t, "complete"), o ? _objectSpread(_objectSpread({}, r), {}, {
  15419. error: o
  15420. }) : _objectSpread(_objectSpread({}, r), {}, {
  15421. result: i
  15422. }));
  15423. case 22:
  15424. return _context50.finish(19);
  15425. case 23:
  15426. case "end":
  15427. return _context50.stop();
  15428. }
  15429. }
  15430. }, _callee50, null, [[2, 13, 19, 23]]);
  15431. }));
  15432. }({
  15433. fn: function () {
  15434. var _s14 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee52() {
  15435. var l,
  15436. _len3,
  15437. u,
  15438. _key3,
  15439. d,
  15440. p,
  15441. _ref50,
  15442. f,
  15443. g,
  15444. m,
  15445. y,
  15446. _e26,
  15447. _yield,
  15448. _t18,
  15449. _n14,
  15450. _args4 = arguments;
  15451. return _regenerator.default.wrap(function _callee52$(_context52) {
  15452. while (1) {
  15453. switch (_context52.prev = _context52.next) {
  15454. case 0:
  15455. a && uni.showLoading({
  15456. title: r.title,
  15457. mask: r.mask
  15458. });
  15459. for (_len3 = _args4.length, u = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {
  15460. u[_key3] = _args4[_key3];
  15461. }
  15462. d = {
  15463. name: t,
  15464. type: h,
  15465. data: {
  15466. method: c,
  15467. params: u
  15468. }
  15469. };
  15470. "object" == (0, _typeof2.default)(n.secretMethods) && function (e, t) {
  15471. var n = t.data.method,
  15472. s = e.secretMethods || {},
  15473. r = s[n] || s["*"];
  15474. r && (t.secretType = r);
  15475. }(n, d);
  15476. p = !1;
  15477. _context52.prev = 5;
  15478. _context52.next = 8;
  15479. return e.callFunction(d);
  15480. case 8:
  15481. l = _context52.sent;
  15482. _context52.next = 14;
  15483. break;
  15484. case 11:
  15485. _context52.prev = 11;
  15486. _context52.t0 = _context52["catch"](5);
  15487. p = !0, l = {
  15488. result: new se(_context52.t0)
  15489. };
  15490. case 14:
  15491. _ref50 = l.result || {}, f = _ref50.errSubject, g = _ref50.errCode, m = _ref50.errMsg, y = _ref50.newToken;
  15492. if (!(a && uni.hideLoading(), y && y.token && y.tokenExpired && (oe(y), X(z, _objectSpread({}, y))), g)) {
  15493. _context52.next = 39;
  15494. break;
  15495. }
  15496. _e26 = m;
  15497. if (!(p && o)) {
  15498. _context52.next = 24;
  15499. break;
  15500. }
  15501. _context52.next = 20;
  15502. return o({
  15503. objectName: t,
  15504. methodName: c,
  15505. params: u,
  15506. errSubject: f,
  15507. errCode: g,
  15508. errMsg: m
  15509. });
  15510. case 20:
  15511. _context52.t1 = _context52.sent.errMsg;
  15512. if (_context52.t1) {
  15513. _context52.next = 23;
  15514. break;
  15515. }
  15516. _context52.t1 = m;
  15517. case 23:
  15518. _e26 = _context52.t1;
  15519. case 24:
  15520. if (!a) {
  15521. _context52.next = 37;
  15522. break;
  15523. }
  15524. if (!("toast" === i.type)) {
  15525. _context52.next = 29;
  15526. break;
  15527. }
  15528. uni.showToast({
  15529. title: _e26,
  15530. icon: "none"
  15531. });
  15532. _context52.next = 37;
  15533. break;
  15534. case 29:
  15535. if (!("modal" !== i.type)) {
  15536. _context52.next = 31;
  15537. break;
  15538. }
  15539. throw new Error("Invalid errorOptions.type: ".concat(i.type));
  15540. case 31:
  15541. _context52.next = 33;
  15542. return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee51() {
  15543. var _ref52,
  15544. e,
  15545. t,
  15546. n,
  15547. s,
  15548. r,
  15549. _args2 = arguments;
  15550. return _regenerator.default.wrap(function _callee51$(_context51) {
  15551. while (1) {
  15552. switch (_context51.prev = _context51.next) {
  15553. case 0:
  15554. _ref52 = _args2.length > 0 && _args2[0] !== undefined ? _args2[0] : {}, e = _ref52.title, t = _ref52.content, n = _ref52.showCancel, s = _ref52.cancelText, r = _ref52.confirmText;
  15555. return _context51.abrupt("return", new Promise(function (i, o) {
  15556. uni.showModal({
  15557. title: e,
  15558. content: t,
  15559. showCancel: n,
  15560. cancelText: s,
  15561. confirmText: r,
  15562. success: function success(e) {
  15563. i(e);
  15564. },
  15565. fail: function fail() {
  15566. i({
  15567. confirm: !1,
  15568. cancel: !0
  15569. });
  15570. }
  15571. });
  15572. }));
  15573. case 2:
  15574. case "end":
  15575. return _context51.stop();
  15576. }
  15577. }
  15578. }, _callee51);
  15579. }))({
  15580. title: "提示",
  15581. content: _e26,
  15582. showCancel: i.retry,
  15583. cancelText: "取消",
  15584. confirmText: i.retry ? "重试" : "确定"
  15585. });
  15586. case 33:
  15587. _yield = _context52.sent;
  15588. _t18 = _yield.confirm;
  15589. if (!(i.retry && _t18)) {
  15590. _context52.next = 37;
  15591. break;
  15592. }
  15593. return _context52.abrupt("return", s.apply(void 0, u));
  15594. case 37:
  15595. _n14 = new se({
  15596. subject: f,
  15597. code: g,
  15598. message: m,
  15599. requestId: l.requestId
  15600. });
  15601. throw _n14.detail = l.result, X($, {
  15602. type: G,
  15603. content: _n14
  15604. }), _n14;
  15605. case 39:
  15606. return _context52.abrupt("return", (X($, {
  15607. type: G,
  15608. content: l.result
  15609. }), l.result));
  15610. case 40:
  15611. case "end":
  15612. return _context52.stop();
  15613. }
  15614. }
  15615. }, _callee52, null, [[5, 11]]);
  15616. }));
  15617. function s() {
  15618. return _s14.apply(this, arguments);
  15619. }
  15620. return s;
  15621. }(),
  15622. interceptorName: "callObject",
  15623. getCallbackArgs: function getCallbackArgs() {
  15624. var _ref53 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
  15625. e = _ref53.params;
  15626. return {
  15627. objectName: t,
  15628. methodName: c,
  15629. params: e
  15630. };
  15631. }
  15632. });
  15633. }
  15634. });
  15635. };
  15636. }
  15637. function Ts(e) {
  15638. return L("_globalUniCloudSecureNetworkCache__{spaceId}".replace("{spaceId}", e.config.spaceId));
  15639. }
  15640. function Cs() {
  15641. return _Cs.apply(this, arguments);
  15642. }
  15643. function _Cs() {
  15644. _Cs = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee55() {
  15645. var _ref65,
  15646. e,
  15647. _ref65$callLoginByWei,
  15648. t,
  15649. n,
  15650. s,
  15651. r,
  15652. _args7 = arguments;
  15653. return _regenerator.default.wrap(function _callee55$(_context55) {
  15654. while (1) {
  15655. switch (_context55.prev = _context55.next) {
  15656. case 0:
  15657. _ref65 = _args7.length > 0 && _args7[0] !== undefined ? _args7[0] : {}, e = _ref65.openid, _ref65$callLoginByWei = _ref65.callLoginByWeixin, t = _ref65$callLoginByWei === void 0 ? !1 : _ref65$callLoginByWei;
  15658. n = Ts(this);
  15659. if (!("mp-weixin" !== A)) {
  15660. _context55.next = 4;
  15661. break;
  15662. }
  15663. throw new Error("[SecureNetwork] API `initSecureNetworkByWeixin` is not supported on platform `".concat(A, "`"));
  15664. case 4:
  15665. if (!(e && t)) {
  15666. _context55.next = 6;
  15667. break;
  15668. }
  15669. throw new Error("[SecureNetwork] openid and callLoginByWeixin cannot be passed at the same time");
  15670. case 6:
  15671. if (!e) {
  15672. _context55.next = 8;
  15673. break;
  15674. }
  15675. return _context55.abrupt("return", (n.mpWeixinOpenid = e, {}));
  15676. case 8:
  15677. _context55.next = 10;
  15678. return new Promise(function (e, t) {
  15679. uni.login({
  15680. success: function success(t) {
  15681. e(t.code);
  15682. },
  15683. fail: function fail(e) {
  15684. t(new Error(e.errMsg));
  15685. }
  15686. });
  15687. });
  15688. case 10:
  15689. s = _context55.sent;
  15690. r = this.importObject("uni-id-co", {
  15691. customUI: !0
  15692. });
  15693. _context55.next = 14;
  15694. return r.secureNetworkHandshakeByWeixin({
  15695. code: s,
  15696. callLoginByWeixin: t
  15697. });
  15698. case 14:
  15699. n.mpWeixinCode = s;
  15700. return _context55.abrupt("return", {
  15701. code: s
  15702. });
  15703. case 16:
  15704. case "end":
  15705. return _context55.stop();
  15706. }
  15707. }
  15708. }, _callee55, this);
  15709. }));
  15710. return _Cs.apply(this, arguments);
  15711. }
  15712. function Ps(_x37) {
  15713. return _Ps.apply(this, arguments);
  15714. }
  15715. function _Ps() {
  15716. _Ps = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee56(e) {
  15717. var t;
  15718. return _regenerator.default.wrap(function _callee56$(_context56) {
  15719. while (1) {
  15720. switch (_context56.prev = _context56.next) {
  15721. case 0:
  15722. t = Ts(this);
  15723. return _context56.abrupt("return", (t.initPromise || (t.initPromise = Cs.call(this, e)), t.initPromise));
  15724. case 2:
  15725. case "end":
  15726. return _context56.stop();
  15727. }
  15728. }
  15729. }, _callee56, this);
  15730. }));
  15731. return _Ps.apply(this, arguments);
  15732. }
  15733. function As(e) {
  15734. return function () {
  15735. var _ref54 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
  15736. t = _ref54.openid,
  15737. _ref54$callLoginByWei = _ref54.callLoginByWeixin,
  15738. n = _ref54$callLoginByWei === void 0 ? !1 : _ref54$callLoginByWei;
  15739. return Ps.call(e, {
  15740. openid: t,
  15741. callLoginByWeixin: n
  15742. });
  15743. };
  15744. }
  15745. var Es = /*#__PURE__*/function (_ref55) {
  15746. (0, _inherits2.default)(Es, _ref55);
  15747. var _super12 = _createSuper(Es);
  15748. function Es() {
  15749. var _this22;
  15750. (0, _classCallCheck2.default)(this, Es);
  15751. _this22 = _super12.call(this), _this22._uniPushMessageCallback = _this22._receivePushMessage.bind((0, _assertThisInitialized2.default)(_this22)), _this22._currentMessageId = -1, _this22._payloadQueue = [];
  15752. return _this22;
  15753. }
  15754. (0, _createClass2.default)(Es, [{
  15755. key: "init",
  15756. value: function init() {
  15757. var _this23 = this;
  15758. return Promise.all([I("getSystemInfo")(), I("getPushClientId")()]).then(function () {
  15759. var _ref56 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [],
  15760. _ref57 = (0, _slicedToArray2.default)(_ref56, 2),
  15761. _ref57$ = _ref57[0];
  15762. _ref57$ = _ref57$ === void 0 ? {} : _ref57$;
  15763. var e = _ref57$.appId,
  15764. _ref57$2 = _ref57[1];
  15765. _ref57$2 = _ref57$2 === void 0 ? {} : _ref57$2;
  15766. var t = _ref57$2.cid;
  15767. if (!e) throw new Error("Invalid appId, please check the manifest.json file");
  15768. if (!t) throw new Error("Invalid push client id");
  15769. _this23._appId = e, _this23._pushClientId = t, _this23._seqId = Date.now() + "-" + Math.floor(9e5 * Math.random() + 1e5), _this23.emit("open"), _this23._initMessageListener();
  15770. }, function (e) {
  15771. throw _this23.emit("error", e), _this23.close(), e;
  15772. });
  15773. }
  15774. }, {
  15775. key: "open",
  15776. value: function () {
  15777. var _open = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee53() {
  15778. return _regenerator.default.wrap(function _callee53$(_context53) {
  15779. while (1) {
  15780. switch (_context53.prev = _context53.next) {
  15781. case 0:
  15782. return _context53.abrupt("return", this.init());
  15783. case 1:
  15784. case "end":
  15785. return _context53.stop();
  15786. }
  15787. }
  15788. }, _callee53, this);
  15789. }));
  15790. function open() {
  15791. return _open.apply(this, arguments);
  15792. }
  15793. return open;
  15794. }()
  15795. }, {
  15796. key: "_isUniCloudSSE",
  15797. value: function _isUniCloudSSE(e) {
  15798. if ("receive" !== e.type) return !1;
  15799. var t = e && e.data && e.data.payload;
  15800. return !(!t || "UNI_CLOUD_SSE" !== t.channel || t.seqId !== this._seqId);
  15801. }
  15802. }, {
  15803. key: "_receivePushMessage",
  15804. value: function _receivePushMessage(e) {
  15805. if (!this._isUniCloudSSE(e)) return;
  15806. var t = e && e.data && e.data.payload,
  15807. n = t.action,
  15808. s = t.messageId,
  15809. r = t.message;
  15810. this._payloadQueue.push({
  15811. action: n,
  15812. messageId: s,
  15813. message: r
  15814. }), this._consumMessage();
  15815. }
  15816. }, {
  15817. key: "_consumMessage",
  15818. value: function _consumMessage() {
  15819. var _this24 = this;
  15820. for (;;) {
  15821. var _e27 = this._payloadQueue.find(function (e) {
  15822. return e.messageId === _this24._currentMessageId + 1;
  15823. });
  15824. if (!_e27) break;
  15825. this._currentMessageId++, this._parseMessagePayload(_e27);
  15826. }
  15827. }
  15828. }, {
  15829. key: "_parseMessagePayload",
  15830. value: function _parseMessagePayload(e) {
  15831. var t = e.action,
  15832. n = e.messageId,
  15833. s = e.message;
  15834. "end" === t ? this._end({
  15835. messageId: n,
  15836. message: s
  15837. }) : "message" === t && this._appendMessage({
  15838. messageId: n,
  15839. message: s
  15840. });
  15841. }
  15842. }, {
  15843. key: "_appendMessage",
  15844. value: function _appendMessage() {
  15845. var _ref58 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
  15846. e = _ref58.messageId,
  15847. t = _ref58.message;
  15848. this.emit("message", t);
  15849. }
  15850. }, {
  15851. key: "_end",
  15852. value: function _end() {
  15853. var _ref59 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
  15854. e = _ref59.messageId,
  15855. t = _ref59.message;
  15856. this.emit("end", t), this.close();
  15857. }
  15858. }, {
  15859. key: "_initMessageListener",
  15860. value: function _initMessageListener() {
  15861. uni.onPushMessage(this._uniPushMessageCallback);
  15862. }
  15863. }, {
  15864. key: "_destroy",
  15865. value: function _destroy() {
  15866. uni.offPushMessage(this._uniPushMessageCallback);
  15867. }
  15868. }, {
  15869. key: "toJSON",
  15870. value: function toJSON() {
  15871. return {
  15872. appId: this._appId,
  15873. pushClientId: this._pushClientId,
  15874. seqId: this._seqId
  15875. };
  15876. }
  15877. }, {
  15878. key: "close",
  15879. value: function close() {
  15880. this._destroy(), this.emit("close");
  15881. }
  15882. }]);
  15883. return Es;
  15884. }( /*#__PURE__*/function () {
  15885. function _class6() {
  15886. (0, _classCallCheck2.default)(this, _class6);
  15887. this._callback = {};
  15888. }
  15889. (0, _createClass2.default)(_class6, [{
  15890. key: "addListener",
  15891. value: function addListener(e, t) {
  15892. this._callback[e] || (this._callback[e] = []), this._callback[e].push(t);
  15893. }
  15894. }, {
  15895. key: "on",
  15896. value: function on(e, t) {
  15897. return this.addListener(e, t);
  15898. }
  15899. }, {
  15900. key: "removeListener",
  15901. value: function removeListener(e, t) {
  15902. if (!t) throw new Error('The "listener" argument must be of type function. Received undefined');
  15903. var n = this._callback[e];
  15904. if (!n) return;
  15905. var s = function (e, t) {
  15906. for (var _n15 = e.length - 1; _n15 >= 0; _n15--) {
  15907. if (e[_n15] === t) return _n15;
  15908. }
  15909. return -1;
  15910. }(n, t);
  15911. n.splice(s, 1);
  15912. }
  15913. }, {
  15914. key: "off",
  15915. value: function off(e, t) {
  15916. return this.removeListener(e, t);
  15917. }
  15918. }, {
  15919. key: "removeAllListener",
  15920. value: function removeAllListener(e) {
  15921. delete this._callback[e];
  15922. }
  15923. }, {
  15924. key: "emit",
  15925. value: function emit(e) {
  15926. var n = this._callback[e];
  15927. for (var _len4 = arguments.length, t = new Array(_len4 > 1 ? _len4 - 1 : 0), _key4 = 1; _key4 < _len4; _key4++) {
  15928. t[_key4 - 1] = arguments[_key4];
  15929. }
  15930. if (n) for (var _e28 = 0; _e28 < n.length; _e28++) {
  15931. n[_e28].apply(n, t);
  15932. }
  15933. }
  15934. }]);
  15935. return _class6;
  15936. }());
  15937. function Os(_x38, _x39) {
  15938. return _Os.apply(this, arguments);
  15939. }
  15940. function _Os() {
  15941. _Os = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee57(e, t) {
  15942. var n, _e32, s;
  15943. return _regenerator.default.wrap(function _callee57$(_context57) {
  15944. while (1) {
  15945. switch (_context57.prev = _context57.next) {
  15946. case 0:
  15947. n = "http://".concat(e, ":").concat(t, "/system/ping");
  15948. _context57.prev = 1;
  15949. _context57.next = 4;
  15950. return s = {
  15951. url: n,
  15952. timeout: 500
  15953. }, new Promise(function (e, t) {
  15954. re.request(_objectSpread(_objectSpread({}, s), {}, {
  15955. success: function success(t) {
  15956. e(t);
  15957. },
  15958. fail: function fail(e) {
  15959. t(e);
  15960. }
  15961. }));
  15962. });
  15963. case 4:
  15964. _e32 = _context57.sent;
  15965. return _context57.abrupt("return", !(!_e32.data || 0 !== _e32.data.code));
  15966. case 8:
  15967. _context57.prev = 8;
  15968. _context57.t0 = _context57["catch"](1);
  15969. return _context57.abrupt("return", !1);
  15970. case 11:
  15971. case "end":
  15972. return _context57.stop();
  15973. }
  15974. }
  15975. }, _callee57, null, [[1, 8]]);
  15976. }));
  15977. return _Os.apply(this, arguments);
  15978. }
  15979. function xs(_x40) {
  15980. return _xs.apply(this, arguments);
  15981. }
  15982. function _xs() {
  15983. _xs = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee59(e) {
  15984. var _ue2, _e33, _t20, t, _t$debugInfo, n, s, _yield2, r, i, o;
  15985. return _regenerator.default.wrap(function _callee59$(_context59) {
  15986. while (1) {
  15987. switch (_context59.prev = _context59.next) {
  15988. case 0:
  15989. if (k) {
  15990. _context59.next = 2;
  15991. break;
  15992. }
  15993. return _context59.abrupt("return", Promise.resolve());
  15994. case 2:
  15995. if ("app" === A) {
  15996. _ue2 = ue(), _e33 = _ue2.osName, _t20 = _ue2.osVersion;
  15997. "ios" === _e33 && function (e) {
  15998. if (!e || "string" != typeof e) return 0;
  15999. var t = e.match(/^(\d+)./);
  16000. return t && t[1] ? parseInt(t[1]) : 0;
  16001. }(_t20) >= 14 && console.warn("iOS 14及以上版本连接uniCloud本地调试服务需要允许客户端查找并连接到本地网络上的设备(仅开发模式生效,发行模式会连接uniCloud云端服务)");
  16002. }
  16003. t = e.__dev__;
  16004. if (t.debugInfo) {
  16005. _context59.next = 6;
  16006. break;
  16007. }
  16008. return _context59.abrupt("return");
  16009. case 6:
  16010. _t$debugInfo = t.debugInfo;
  16011. n = _t$debugInfo.address;
  16012. s = _t$debugInfo.servePort;
  16013. _context59.next = 11;
  16014. return function () {
  16015. var _ref66 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee58(e, t) {
  16016. var n, _s15, _r8;
  16017. return _regenerator.default.wrap(function _callee58$(_context58) {
  16018. while (1) {
  16019. switch (_context58.prev = _context58.next) {
  16020. case 0:
  16021. _s15 = 0;
  16022. case 1:
  16023. if (!(_s15 < e.length)) {
  16024. _context58.next = 11;
  16025. break;
  16026. }
  16027. _r8 = e[_s15];
  16028. _context58.next = 5;
  16029. return Os(_r8, t);
  16030. case 5:
  16031. if (!_context58.sent) {
  16032. _context58.next = 8;
  16033. break;
  16034. }
  16035. n = _r8;
  16036. return _context58.abrupt("break", 11);
  16037. case 8:
  16038. _s15++;
  16039. _context58.next = 1;
  16040. break;
  16041. case 11:
  16042. return _context58.abrupt("return", {
  16043. address: n,
  16044. port: t
  16045. });
  16046. case 12:
  16047. case "end":
  16048. return _context58.stop();
  16049. }
  16050. }
  16051. }, _callee58);
  16052. }));
  16053. return function (_x41, _x42) {
  16054. return _ref66.apply(this, arguments);
  16055. };
  16056. }()(n, s);
  16057. case 11:
  16058. _yield2 = _context59.sent;
  16059. r = _yield2.address;
  16060. if (!r) {
  16061. _context59.next = 15;
  16062. break;
  16063. }
  16064. return _context59.abrupt("return", (t.localAddress = r, void (t.localPort = s)));
  16065. case 15:
  16066. i = console["app" === A ? "error" : "warn"];
  16067. o = "";
  16068. if (!("remote" === t.debugInfo.initialLaunchType ? (t.debugInfo.forceRemote = !0, o = "当前客户端和HBuilderX不在同一局域网下(或其他网络原因无法连接HBuilderX),uniCloud本地调试服务不对当前客户端生效。\n- 如果不使用uniCloud本地调试服务,请直接忽略此信息。\n- 如需使用uniCloud本地调试服务,请将客户端与主机连接到同一局域网下并重新运行到客户端。") : o = "无法连接uniCloud本地调试服务,请检查当前客户端是否与主机在同一局域网下。\n- 如需使用uniCloud本地调试服务,请将客户端与主机连接到同一局域网下并重新运行到客户端。", o += "\n- 如果在HBuilderX开启的状态下切换过网络环境,请重启HBuilderX后再试\n- 检查系统防火墙是否拦截了HBuilderX自带的nodejs\n- 检查是否错误的使用拦截器修改uni.request方法的参数", "web" === A && (o += "\n- 部分浏览器开启节流模式之后访问本地地址受限,请检查是否启用了节流模式"), 0 === A.indexOf("mp-") && (o += "\n- 小程序中如何使用uniCloud,请参考:https://uniapp.dcloud.net.cn/uniCloud/publish.html#useinmp"), !t.debugInfo.forceRemote)) {
  16069. _context59.next = 19;
  16070. break;
  16071. }
  16072. throw new Error(o);
  16073. case 19:
  16074. i(o);
  16075. case 20:
  16076. case "end":
  16077. return _context59.stop();
  16078. }
  16079. }
  16080. }, _callee59);
  16081. }));
  16082. return _xs.apply(this, arguments);
  16083. }
  16084. function Rs(e) {
  16085. e._initPromiseHub || (e._initPromiseHub = new S({
  16086. createPromise: function createPromise() {
  16087. var t = Promise.resolve();
  16088. var n;
  16089. n = 1, t = new Promise(function (e) {
  16090. setTimeout(function () {
  16091. e();
  16092. }, n);
  16093. });
  16094. var s = e.auth();
  16095. return t.then(function () {
  16096. return s.getLoginState();
  16097. }).then(function (e) {
  16098. return e ? Promise.resolve() : s.signInAnonymously();
  16099. });
  16100. }
  16101. }));
  16102. }
  16103. var Us = {
  16104. tcb: It,
  16105. tencent: It,
  16106. aliyun: me,
  16107. private: kt
  16108. };
  16109. var Ls = new ( /*#__PURE__*/function () {
  16110. function _class7() {
  16111. (0, _classCallCheck2.default)(this, _class7);
  16112. }
  16113. (0, _createClass2.default)(_class7, [{
  16114. key: "init",
  16115. value: function init(e) {
  16116. var t = {};
  16117. var n = Us[e.provider];
  16118. if (!n) throw new Error("未提供正确的provider参数");
  16119. t = n.init(e), k && function (e) {
  16120. if (!k) return;
  16121. var t = {};
  16122. e.__dev__ = t, t.debugLog = k && ("web" === A && navigator.userAgent.indexOf("HBuilderX") > 0 || "app" === A);
  16123. var n = E;
  16124. n && !n.code && (t.debugInfo = n);
  16125. var s = new S({
  16126. createPromise: function createPromise() {
  16127. return xs(e);
  16128. }
  16129. });
  16130. t.initLocalNetwork = function () {
  16131. return s.exec();
  16132. };
  16133. }(t), Rs(t), Rn(t), function (e) {
  16134. var t = e.uploadFile;
  16135. e.uploadFile = function (e) {
  16136. return t.call(this, e);
  16137. };
  16138. }(t), function (e) {
  16139. e.database = function (t) {
  16140. if (t && Object.keys(t).length > 0) return e.init(t).database();
  16141. if (this._database) return this._database;
  16142. var n = $n(Wn, {
  16143. uniClient: e
  16144. });
  16145. return this._database = n, n;
  16146. }, e.databaseForJQL = function (t) {
  16147. if (t && Object.keys(t).length > 0) return e.init(t).databaseForJQL();
  16148. if (this._databaseForJQL) return this._databaseForJQL;
  16149. var n = $n(Wn, {
  16150. uniClient: e,
  16151. isJQL: !0
  16152. });
  16153. return this._databaseForJQL = n, n;
  16154. };
  16155. }(t), function (e) {
  16156. e.getCurrentUserInfo = ws, e.chooseAndUploadFile = Ss.initChooseAndUploadFile(e), Object.assign(e, {
  16157. get mixinDatacom() {
  16158. return bs(e);
  16159. }
  16160. }), e.SSEChannel = Es, e.initSecureNetworkByWeixin = As(e), e.importObject = ks(e);
  16161. }(t);
  16162. return ["callFunction", "uploadFile", "deleteFile", "getTempFileURL", "downloadFile", "chooseAndUploadFile"].forEach(function (e) {
  16163. if (!t[e]) return;
  16164. var n = t[e];
  16165. t[e] = function () {
  16166. return n.apply(t, Array.from(arguments));
  16167. }, t[e] = function (e, t) {
  16168. return function (n) {
  16169. var _this25 = this;
  16170. var s = !1;
  16171. if ("callFunction" === t) {
  16172. var _e29 = n && n.type || u;
  16173. s = _e29 !== u;
  16174. }
  16175. var r = "callFunction" === t && !s,
  16176. i = this._initPromiseHub.exec();
  16177. n = n || {};
  16178. var _ne2 = ne(n),
  16179. o = _ne2.success,
  16180. a = _ne2.fail,
  16181. c = _ne2.complete,
  16182. h = i.then(function () {
  16183. return s ? Promise.resolve() : M(K(t, "invoke"), n);
  16184. }).then(function () {
  16185. return e.call(_this25, n);
  16186. }).then(function (e) {
  16187. return s ? Promise.resolve(e) : M(K(t, "success"), e).then(function () {
  16188. return M(K(t, "complete"), e);
  16189. }).then(function () {
  16190. return r && X($, {
  16191. type: H,
  16192. content: e
  16193. }), Promise.resolve(e);
  16194. });
  16195. }, function (e) {
  16196. return s ? Promise.reject(e) : M(K(t, "fail"), e).then(function () {
  16197. return M(K(t, "complete"), e);
  16198. }).then(function () {
  16199. return X($, {
  16200. type: H,
  16201. content: e
  16202. }), Promise.reject(e);
  16203. });
  16204. });
  16205. if (!(o || a || c)) return h;
  16206. h.then(function (e) {
  16207. o && o(e), c && c(e), r && X($, {
  16208. type: H,
  16209. content: e
  16210. });
  16211. }, function (e) {
  16212. a && a(e), c && c(e), r && X($, {
  16213. type: H,
  16214. content: e
  16215. });
  16216. });
  16217. };
  16218. }(t[e], e).bind(t);
  16219. }), t.init = this.init, t;
  16220. }
  16221. }]);
  16222. return _class7;
  16223. }())();
  16224. (function () {
  16225. var e = O;
  16226. var t = {};
  16227. if (e && 1 === e.length) t = e[0], Ls = Ls.init(t), Ls._isDefault = !0;else {
  16228. var _t19 = ["auth", "callFunction", "uploadFile", "deleteFile", "getTempFileURL", "downloadFile", "database", "getCurrentUSerInfo", "importObject"];
  16229. var _n16;
  16230. _n16 = e && e.length > 0 ? "应用有多个服务空间,请通过uniCloud.init方法指定要使用的服务空间" : x ? "应用未关联服务空间,请在uniCloud目录右键关联服务空间" : "uni-app cli项目内使用uniCloud需要使用HBuilderX的运行菜单运行项目,且需要在uniCloud目录关联服务空间", _t19.forEach(function (e) {
  16231. Ls[e] = function () {
  16232. return console.error(_n16), Promise.reject(new se({
  16233. code: "SYS_ERR",
  16234. message: _n16
  16235. }));
  16236. };
  16237. });
  16238. }
  16239. Object.assign(Ls, {
  16240. get mixinDatacom() {
  16241. return bs(Ls);
  16242. }
  16243. }), gs(Ls), Ls.addInterceptor = F, Ls.removeInterceptor = q, Ls.interceptObject = j, k && "web" === A && (window.uniCloud = Ls);
  16244. })();
  16245. var Ns = Ls;
  16246. exports.default = Ns;
  16247. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../../webpack/buildin/global.js */ 3), __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"], __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/wx.js */ 1)["default"]))
  16248. /***/ }),
  16249. /***/ 1761:
  16250. /*!************************************************************************************************!*\
  16251. !*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/@babel/runtime/regenerator/index.js ***!
  16252. \************************************************************************************************/
  16253. /*! no static exports found */
  16254. /***/ (function(module, exports, __webpack_require__) {
  16255. // TODO(Babel 8): Remove this file.
  16256. var runtime = __webpack_require__(/*! @babel/runtime/helpers/regeneratorRuntime */ 1762)();
  16257. module.exports = runtime;
  16258. /***/ }),
  16259. /***/ 1762:
  16260. /*!*******************************************************************!*\
  16261. !*** ./node_modules/@babel/runtime/helpers/regeneratorRuntime.js ***!
  16262. \*******************************************************************/
  16263. /*! no static exports found */
  16264. /***/ (function(module, exports, __webpack_require__) {
  16265. var _typeof = __webpack_require__(/*! ./typeof.js */ 13)["default"];
  16266. function _regeneratorRuntime() {
  16267. "use strict";
  16268. /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
  16269. module.exports = _regeneratorRuntime = function _regeneratorRuntime() {
  16270. return exports;
  16271. }, module.exports.__esModule = true, module.exports["default"] = module.exports;
  16272. var exports = {},
  16273. Op = Object.prototype,
  16274. hasOwn = Op.hasOwnProperty,
  16275. defineProperty = Object.defineProperty || function (obj, key, desc) {
  16276. obj[key] = desc.value;
  16277. },
  16278. $Symbol = "function" == typeof Symbol ? Symbol : {},
  16279. iteratorSymbol = $Symbol.iterator || "@@iterator",
  16280. asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator",
  16281. toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag";
  16282. function define(obj, key, value) {
  16283. return Object.defineProperty(obj, key, {
  16284. value: value,
  16285. enumerable: !0,
  16286. configurable: !0,
  16287. writable: !0
  16288. }), obj[key];
  16289. }
  16290. try {
  16291. define({}, "");
  16292. } catch (err) {
  16293. define = function define(obj, key, value) {
  16294. return obj[key] = value;
  16295. };
  16296. }
  16297. function wrap(innerFn, outerFn, self, tryLocsList) {
  16298. var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator,
  16299. generator = Object.create(protoGenerator.prototype),
  16300. context = new Context(tryLocsList || []);
  16301. return defineProperty(generator, "_invoke", {
  16302. value: makeInvokeMethod(innerFn, self, context)
  16303. }), generator;
  16304. }
  16305. function tryCatch(fn, obj, arg) {
  16306. try {
  16307. return {
  16308. type: "normal",
  16309. arg: fn.call(obj, arg)
  16310. };
  16311. } catch (err) {
  16312. return {
  16313. type: "throw",
  16314. arg: err
  16315. };
  16316. }
  16317. }
  16318. exports.wrap = wrap;
  16319. var ContinueSentinel = {};
  16320. function Generator() {}
  16321. function GeneratorFunction() {}
  16322. function GeneratorFunctionPrototype() {}
  16323. var IteratorPrototype = {};
  16324. define(IteratorPrototype, iteratorSymbol, function () {
  16325. return this;
  16326. });
  16327. var getProto = Object.getPrototypeOf,
  16328. NativeIteratorPrototype = getProto && getProto(getProto(values([])));
  16329. NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype);
  16330. var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype);
  16331. function defineIteratorMethods(prototype) {
  16332. ["next", "throw", "return"].forEach(function (method) {
  16333. define(prototype, method, function (arg) {
  16334. return this._invoke(method, arg);
  16335. });
  16336. });
  16337. }
  16338. function AsyncIterator(generator, PromiseImpl) {
  16339. function invoke(method, arg, resolve, reject) {
  16340. var record = tryCatch(generator[method], generator, arg);
  16341. if ("throw" !== record.type) {
  16342. var result = record.arg,
  16343. value = result.value;
  16344. return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) {
  16345. invoke("next", value, resolve, reject);
  16346. }, function (err) {
  16347. invoke("throw", err, resolve, reject);
  16348. }) : PromiseImpl.resolve(value).then(function (unwrapped) {
  16349. result.value = unwrapped, resolve(result);
  16350. }, function (error) {
  16351. return invoke("throw", error, resolve, reject);
  16352. });
  16353. }
  16354. reject(record.arg);
  16355. }
  16356. var previousPromise;
  16357. defineProperty(this, "_invoke", {
  16358. value: function value(method, arg) {
  16359. function callInvokeWithMethodAndArg() {
  16360. return new PromiseImpl(function (resolve, reject) {
  16361. invoke(method, arg, resolve, reject);
  16362. });
  16363. }
  16364. return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
  16365. }
  16366. });
  16367. }
  16368. function makeInvokeMethod(innerFn, self, context) {
  16369. var state = "suspendedStart";
  16370. return function (method, arg) {
  16371. if ("executing" === state) throw new Error("Generator is already running");
  16372. if ("completed" === state) {
  16373. if ("throw" === method) throw arg;
  16374. return doneResult();
  16375. }
  16376. for (context.method = method, context.arg = arg;;) {
  16377. var delegate = context.delegate;
  16378. if (delegate) {
  16379. var delegateResult = maybeInvokeDelegate(delegate, context);
  16380. if (delegateResult) {
  16381. if (delegateResult === ContinueSentinel) continue;
  16382. return delegateResult;
  16383. }
  16384. }
  16385. if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) {
  16386. if ("suspendedStart" === state) throw state = "completed", context.arg;
  16387. context.dispatchException(context.arg);
  16388. } else "return" === context.method && context.abrupt("return", context.arg);
  16389. state = "executing";
  16390. var record = tryCatch(innerFn, self, context);
  16391. if ("normal" === record.type) {
  16392. if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue;
  16393. return {
  16394. value: record.arg,
  16395. done: context.done
  16396. };
  16397. }
  16398. "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg);
  16399. }
  16400. };
  16401. }
  16402. function maybeInvokeDelegate(delegate, context) {
  16403. var methodName = context.method,
  16404. method = delegate.iterator[methodName];
  16405. if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel;
  16406. var record = tryCatch(method, delegate.iterator, context.arg);
  16407. if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel;
  16408. var info = record.arg;
  16409. return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel);
  16410. }
  16411. function pushTryEntry(locs) {
  16412. var entry = {
  16413. tryLoc: locs[0]
  16414. };
  16415. 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry);
  16416. }
  16417. function resetTryEntry(entry) {
  16418. var record = entry.completion || {};
  16419. record.type = "normal", delete record.arg, entry.completion = record;
  16420. }
  16421. function Context(tryLocsList) {
  16422. this.tryEntries = [{
  16423. tryLoc: "root"
  16424. }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0);
  16425. }
  16426. function values(iterable) {
  16427. if (iterable) {
  16428. var iteratorMethod = iterable[iteratorSymbol];
  16429. if (iteratorMethod) return iteratorMethod.call(iterable);
  16430. if ("function" == typeof iterable.next) return iterable;
  16431. if (!isNaN(iterable.length)) {
  16432. var i = -1,
  16433. next = function next() {
  16434. for (; ++i < iterable.length;) {
  16435. if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next;
  16436. }
  16437. return next.value = undefined, next.done = !0, next;
  16438. };
  16439. return next.next = next;
  16440. }
  16441. }
  16442. return {
  16443. next: doneResult
  16444. };
  16445. }
  16446. function doneResult() {
  16447. return {
  16448. value: undefined,
  16449. done: !0
  16450. };
  16451. }
  16452. return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", {
  16453. value: GeneratorFunctionPrototype,
  16454. configurable: !0
  16455. }), defineProperty(GeneratorFunctionPrototype, "constructor", {
  16456. value: GeneratorFunction,
  16457. configurable: !0
  16458. }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) {
  16459. var ctor = "function" == typeof genFun && genFun.constructor;
  16460. return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name));
  16461. }, exports.mark = function (genFun) {
  16462. return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun;
  16463. }, exports.awrap = function (arg) {
  16464. return {
  16465. __await: arg
  16466. };
  16467. }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () {
  16468. return this;
  16469. }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) {
  16470. void 0 === PromiseImpl && (PromiseImpl = Promise);
  16471. var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl);
  16472. return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) {
  16473. return result.done ? result.value : iter.next();
  16474. });
  16475. }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () {
  16476. return this;
  16477. }), define(Gp, "toString", function () {
  16478. return "[object Generator]";
  16479. }), exports.keys = function (val) {
  16480. var object = Object(val),
  16481. keys = [];
  16482. for (var key in object) {
  16483. keys.push(key);
  16484. }
  16485. return keys.reverse(), function next() {
  16486. for (; keys.length;) {
  16487. var key = keys.pop();
  16488. if (key in object) return next.value = key, next.done = !1, next;
  16489. }
  16490. return next.done = !0, next;
  16491. };
  16492. }, exports.values = values, Context.prototype = {
  16493. constructor: Context,
  16494. reset: function reset(skipTempReset) {
  16495. if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) {
  16496. "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined);
  16497. }
  16498. },
  16499. stop: function stop() {
  16500. this.done = !0;
  16501. var rootRecord = this.tryEntries[0].completion;
  16502. if ("throw" === rootRecord.type) throw rootRecord.arg;
  16503. return this.rval;
  16504. },
  16505. dispatchException: function dispatchException(exception) {
  16506. if (this.done) throw exception;
  16507. var context = this;
  16508. function handle(loc, caught) {
  16509. return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught;
  16510. }
  16511. for (var i = this.tryEntries.length - 1; i >= 0; --i) {
  16512. var entry = this.tryEntries[i],
  16513. record = entry.completion;
  16514. if ("root" === entry.tryLoc) return handle("end");
  16515. if (entry.tryLoc <= this.prev) {
  16516. var hasCatch = hasOwn.call(entry, "catchLoc"),
  16517. hasFinally = hasOwn.call(entry, "finallyLoc");
  16518. if (hasCatch && hasFinally) {
  16519. if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
  16520. if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
  16521. } else if (hasCatch) {
  16522. if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
  16523. } else {
  16524. if (!hasFinally) throw new Error("try statement without catch or finally");
  16525. if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
  16526. }
  16527. }
  16528. }
  16529. },
  16530. abrupt: function abrupt(type, arg) {
  16531. for (var i = this.tryEntries.length - 1; i >= 0; --i) {
  16532. var entry = this.tryEntries[i];
  16533. if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) {
  16534. var finallyEntry = entry;
  16535. break;
  16536. }
  16537. }
  16538. finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null);
  16539. var record = finallyEntry ? finallyEntry.completion : {};
  16540. return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record);
  16541. },
  16542. complete: function complete(record, afterLoc) {
  16543. if ("throw" === record.type) throw record.arg;
  16544. return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel;
  16545. },
  16546. finish: function finish(finallyLoc) {
  16547. for (var i = this.tryEntries.length - 1; i >= 0; --i) {
  16548. var entry = this.tryEntries[i];
  16549. if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel;
  16550. }
  16551. },
  16552. "catch": function _catch(tryLoc) {
  16553. for (var i = this.tryEntries.length - 1; i >= 0; --i) {
  16554. var entry = this.tryEntries[i];
  16555. if (entry.tryLoc === tryLoc) {
  16556. var record = entry.completion;
  16557. if ("throw" === record.type) {
  16558. var thrown = record.arg;
  16559. resetTryEntry(entry);
  16560. }
  16561. return thrown;
  16562. }
  16563. }
  16564. throw new Error("illegal catch attempt");
  16565. },
  16566. delegateYield: function delegateYield(iterable, resultName, nextLoc) {
  16567. return this.delegate = {
  16568. iterator: values(iterable),
  16569. resultName: resultName,
  16570. nextLoc: nextLoc
  16571. }, "next" === this.method && (this.arg = undefined), ContinueSentinel;
  16572. }
  16573. }, exports;
  16574. }
  16575. module.exports = _regeneratorRuntime, module.exports.__esModule = true, module.exports["default"] = module.exports;
  16576. /***/ }),
  16577. /***/ 1763:
  16578. /*!**********************************************************************!*\
  16579. !*** ./node_modules/@babel/runtime/helpers/assertThisInitialized.js ***!
  16580. \**********************************************************************/
  16581. /*! no static exports found */
  16582. /***/ (function(module, exports) {
  16583. function _assertThisInitialized(self) {
  16584. if (self === void 0) {
  16585. throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
  16586. }
  16587. return self;
  16588. }
  16589. module.exports = _assertThisInitialized, module.exports.__esModule = true, module.exports["default"] = module.exports;
  16590. /***/ }),
  16591. /***/ 1764:
  16592. /*!*****************************************************************!*\
  16593. !*** ./node_modules/@babel/runtime/helpers/asyncToGenerator.js ***!
  16594. \*****************************************************************/
  16595. /*! no static exports found */
  16596. /***/ (function(module, exports) {
  16597. function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
  16598. try {
  16599. var info = gen[key](arg);
  16600. var value = info.value;
  16601. } catch (error) {
  16602. reject(error);
  16603. return;
  16604. }
  16605. if (info.done) {
  16606. resolve(value);
  16607. } else {
  16608. Promise.resolve(value).then(_next, _throw);
  16609. }
  16610. }
  16611. function _asyncToGenerator(fn) {
  16612. return function () {
  16613. var self = this,
  16614. args = arguments;
  16615. return new Promise(function (resolve, reject) {
  16616. var gen = fn.apply(self, args);
  16617. function _next(value) {
  16618. asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
  16619. }
  16620. function _throw(err) {
  16621. asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
  16622. }
  16623. _next(undefined);
  16624. });
  16625. };
  16626. }
  16627. module.exports = _asyncToGenerator, module.exports.__esModule = true, module.exports["default"] = module.exports;
  16628. /***/ }),
  16629. /***/ 1765:
  16630. /*!*********************************************************!*\
  16631. !*** ./node_modules/@babel/runtime/helpers/inherits.js ***!
  16632. \*********************************************************/
  16633. /*! no static exports found */
  16634. /***/ (function(module, exports, __webpack_require__) {
  16635. var setPrototypeOf = __webpack_require__(/*! ./setPrototypeOf.js */ 16);
  16636. function _inherits(subClass, superClass) {
  16637. if (typeof superClass !== "function" && superClass !== null) {
  16638. throw new TypeError("Super expression must either be null or a function");
  16639. }
  16640. subClass.prototype = Object.create(superClass && superClass.prototype, {
  16641. constructor: {
  16642. value: subClass,
  16643. writable: true,
  16644. configurable: true
  16645. }
  16646. });
  16647. Object.defineProperty(subClass, "prototype", {
  16648. writable: false
  16649. });
  16650. if (superClass) setPrototypeOf(subClass, superClass);
  16651. }
  16652. module.exports = _inherits, module.exports.__esModule = true, module.exports["default"] = module.exports;
  16653. /***/ }),
  16654. /***/ 1766:
  16655. /*!**************************************************************************!*\
  16656. !*** ./node_modules/@babel/runtime/helpers/possibleConstructorReturn.js ***!
  16657. \**************************************************************************/
  16658. /*! no static exports found */
  16659. /***/ (function(module, exports, __webpack_require__) {
  16660. var _typeof = __webpack_require__(/*! ./typeof.js */ 13)["default"];
  16661. var assertThisInitialized = __webpack_require__(/*! ./assertThisInitialized.js */ 1763);
  16662. function _possibleConstructorReturn(self, call) {
  16663. if (call && (_typeof(call) === "object" || typeof call === "function")) {
  16664. return call;
  16665. } else if (call !== void 0) {
  16666. throw new TypeError("Derived constructors may only return object or undefined");
  16667. }
  16668. return assertThisInitialized(self);
  16669. }
  16670. module.exports = _possibleConstructorReturn, module.exports.__esModule = true, module.exports["default"] = module.exports;
  16671. /***/ }),
  16672. /***/ 1767:
  16673. /*!***************************************************************!*\
  16674. !*** ./node_modules/@babel/runtime/helpers/getPrototypeOf.js ***!
  16675. \***************************************************************/
  16676. /*! no static exports found */
  16677. /***/ (function(module, exports) {
  16678. function _getPrototypeOf(o) {
  16679. module.exports = _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {
  16680. return o.__proto__ || Object.getPrototypeOf(o);
  16681. }, module.exports.__esModule = true, module.exports["default"] = module.exports;
  16682. return _getPrototypeOf(o);
  16683. }
  16684. module.exports = _getPrototypeOf, module.exports.__esModule = true, module.exports["default"] = module.exports;
  16685. /***/ }),
  16686. /***/ 1768:
  16687. /*!****************************************************************!*\
  16688. !*** ./node_modules/@babel/runtime/helpers/wrapNativeSuper.js ***!
  16689. \****************************************************************/
  16690. /*! no static exports found */
  16691. /***/ (function(module, exports, __webpack_require__) {
  16692. var getPrototypeOf = __webpack_require__(/*! ./getPrototypeOf.js */ 1767);
  16693. var setPrototypeOf = __webpack_require__(/*! ./setPrototypeOf.js */ 16);
  16694. var isNativeFunction = __webpack_require__(/*! ./isNativeFunction.js */ 1769);
  16695. var construct = __webpack_require__(/*! ./construct.js */ 15);
  16696. function _wrapNativeSuper(Class) {
  16697. var _cache = typeof Map === "function" ? new Map() : undefined;
  16698. module.exports = _wrapNativeSuper = function _wrapNativeSuper(Class) {
  16699. if (Class === null || !isNativeFunction(Class)) return Class;
  16700. if (typeof Class !== "function") {
  16701. throw new TypeError("Super expression must either be null or a function");
  16702. }
  16703. if (typeof _cache !== "undefined") {
  16704. if (_cache.has(Class)) return _cache.get(Class);
  16705. _cache.set(Class, Wrapper);
  16706. }
  16707. function Wrapper() {
  16708. return construct(Class, arguments, getPrototypeOf(this).constructor);
  16709. }
  16710. Wrapper.prototype = Object.create(Class.prototype, {
  16711. constructor: {
  16712. value: Wrapper,
  16713. enumerable: false,
  16714. writable: true,
  16715. configurable: true
  16716. }
  16717. });
  16718. return setPrototypeOf(Wrapper, Class);
  16719. }, module.exports.__esModule = true, module.exports["default"] = module.exports;
  16720. return _wrapNativeSuper(Class);
  16721. }
  16722. module.exports = _wrapNativeSuper, module.exports.__esModule = true, module.exports["default"] = module.exports;
  16723. /***/ }),
  16724. /***/ 1769:
  16725. /*!*****************************************************************!*\
  16726. !*** ./node_modules/@babel/runtime/helpers/isNativeFunction.js ***!
  16727. \*****************************************************************/
  16728. /*! no static exports found */
  16729. /***/ (function(module, exports) {
  16730. function _isNativeFunction(fn) {
  16731. return Function.toString.call(fn).indexOf("[native code]") !== -1;
  16732. }
  16733. module.exports = _isNativeFunction, module.exports.__esModule = true, module.exports["default"] = module.exports;
  16734. /***/ }),
  16735. /***/ 177:
  16736. /*!********************************************************************************!*\
  16737. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/ug-cn.js ***!
  16738. \********************************************************************************/
  16739. /*! no static exports found */
  16740. /***/ (function(module, exports, __webpack_require__) {
  16741. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  16742. //! moment.js locale configuration
  16743. //! locale : Uyghur (China) [ug-cn]
  16744. //! author: boyaq : https://github.com/boyaq
  16745. ;
  16746. (function (global, factory) {
  16747. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  16748. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  16749. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  16750. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  16751. })(this, function (moment) {
  16752. 'use strict';
  16753. //! moment.js locale configuration
  16754. var ugCn = moment.defineLocale('ug-cn', {
  16755. months: 'يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر'.split('_'),
  16756. monthsShort: 'يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر'.split('_'),
  16757. weekdays: 'يەكشەنبە_دۈشەنبە_سەيشەنبە_چارشەنبە_پەيشەنبە_جۈمە_شەنبە'.split('_'),
  16758. weekdaysShort: 'يە_دۈ_سە_چا_پە_جۈ_شە'.split('_'),
  16759. weekdaysMin: 'يە_دۈ_سە_چا_پە_جۈ_شە'.split('_'),
  16760. longDateFormat: {
  16761. LT: 'HH:mm',
  16762. LTS: 'HH:mm:ss',
  16763. L: 'YYYY-MM-DD',
  16764. LL: 'YYYY-يىلىM-ئاينىڭD-كۈنى',
  16765. LLL: 'YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm',
  16766. LLLL: 'dddd، YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm'
  16767. },
  16768. meridiemParse: /يېرىم كېچە|سەھەر|چۈشتىن بۇرۇن|چۈش|چۈشتىن كېيىن|كەچ/,
  16769. meridiemHour: function meridiemHour(hour, meridiem) {
  16770. if (hour === 12) {
  16771. hour = 0;
  16772. }
  16773. if (meridiem === 'يېرىم كېچە' || meridiem === 'سەھەر' || meridiem === 'چۈشتىن بۇرۇن') {
  16774. return hour;
  16775. } else if (meridiem === 'چۈشتىن كېيىن' || meridiem === 'كەچ') {
  16776. return hour + 12;
  16777. } else {
  16778. return hour >= 11 ? hour : hour + 12;
  16779. }
  16780. },
  16781. meridiem: function meridiem(hour, minute, isLower) {
  16782. var hm = hour * 100 + minute;
  16783. if (hm < 600) {
  16784. return 'يېرىم كېچە';
  16785. } else if (hm < 900) {
  16786. return 'سەھەر';
  16787. } else if (hm < 1130) {
  16788. return 'چۈشتىن بۇرۇن';
  16789. } else if (hm < 1230) {
  16790. return 'چۈش';
  16791. } else if (hm < 1800) {
  16792. return 'چۈشتىن كېيىن';
  16793. } else {
  16794. return 'كەچ';
  16795. }
  16796. },
  16797. calendar: {
  16798. sameDay: '[بۈگۈن سائەت] LT',
  16799. nextDay: '[ئەتە سائەت] LT',
  16800. nextWeek: '[كېلەركى] dddd [سائەت] LT',
  16801. lastDay: '[تۆنۈگۈن] LT',
  16802. lastWeek: '[ئالدىنقى] dddd [سائەت] LT',
  16803. sameElse: 'L'
  16804. },
  16805. relativeTime: {
  16806. future: '%s كېيىن',
  16807. past: '%s بۇرۇن',
  16808. s: 'نەچچە سېكونت',
  16809. ss: '%d سېكونت',
  16810. m: 'بىر مىنۇت',
  16811. mm: '%d مىنۇت',
  16812. h: 'بىر سائەت',
  16813. hh: '%d سائەت',
  16814. d: 'بىر كۈن',
  16815. dd: '%d كۈن',
  16816. M: 'بىر ئاي',
  16817. MM: '%d ئاي',
  16818. y: 'بىر يىل',
  16819. yy: '%d يىل'
  16820. },
  16821. dayOfMonthOrdinalParse: /\d{1,2}(-كۈنى|-ئاي|-ھەپتە)/,
  16822. ordinal: function ordinal(number, period) {
  16823. switch (period) {
  16824. case 'd':
  16825. case 'D':
  16826. case 'DDD':
  16827. return number + '-كۈنى';
  16828. case 'w':
  16829. case 'W':
  16830. return number + '-ھەپتە';
  16831. default:
  16832. return number;
  16833. }
  16834. },
  16835. preparse: function preparse(string) {
  16836. return string.replace(/،/g, ',');
  16837. },
  16838. postformat: function postformat(string) {
  16839. return string.replace(/,/g, '،');
  16840. },
  16841. week: {
  16842. // GB/T 7408-1994《数据元和交换格式·信息交换·日期和时间表示法》与ISO 8601:1988等效
  16843. dow: 1,
  16844. // Monday is the first day of the week.
  16845. doy: 7 // The week that contains Jan 1st is the first week of the year.
  16846. }
  16847. });
  16848. return ugCn;
  16849. });
  16850. /***/ }),
  16851. /***/ 1770:
  16852. /*!************************************************************************************!*\
  16853. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/pages.json?{"type":"origin-pages-json"} ***!
  16854. \************************************************************************************/
  16855. /*! no static exports found */
  16856. /***/ (function(module, exports, __webpack_require__) {
  16857. "use strict";
  16858. Object.defineProperty(exports, "__esModule", {
  16859. value: true
  16860. });
  16861. exports.default = void 0;
  16862. var _default = {
  16863. "pages": [{
  16864. "path": "pages/home/index/Index",
  16865. "style": {
  16866. "navigationBarTitleText": "首页"
  16867. }
  16868. }, {
  16869. "path": "pages/home/special/Index",
  16870. "style": {
  16871. "navigationBarTitleText": "活动页"
  16872. }
  16873. }, {
  16874. "path": "pages/home/storespecial/Index",
  16875. "style": {
  16876. "navigationBarTitleText": "店铺活动页"
  16877. }
  16878. }, {
  16879. "path": "pages/home/storedetail/Storedetail",
  16880. "style": {
  16881. "navigationBarTitleText": "店铺详情"
  16882. }
  16883. }, {
  16884. "path": "pages/home/storedetail/Storemap",
  16885. "style": {
  16886. "navigationBarTitleText": "店铺地图"
  16887. }
  16888. }, {
  16889. "path": "pages/home/storedetail/StoreVoucher",
  16890. "style": {
  16891. "navigationBarTitleText": "店铺代金券"
  16892. }
  16893. }],
  16894. "subPackages": [{
  16895. "root": "pages/home/storegoodslist",
  16896. "pages": [{
  16897. "path": "Goodslist",
  16898. "style": {
  16899. "navigationBarTitleText": "店铺商品列表"
  16900. }
  16901. }]
  16902. }, {
  16903. "root": "pages/home/storegoodsclass",
  16904. "pages": [{
  16905. "path": "Goodsclass",
  16906. "style": {
  16907. "navigationBarTitleText": "店铺搜索"
  16908. }
  16909. }]
  16910. }, {
  16911. "root": "pages/home/groupbuy",
  16912. "pages": [{
  16913. "path": "GroupBuyList",
  16914. "style": {
  16915. "navigationBarTitleText": "抢购列表"
  16916. }
  16917. }]
  16918. }, {
  16919. "root": "pages/home/vrgroupbuy",
  16920. "pages": [{
  16921. "path": "GroupBuyList",
  16922. "style": {
  16923. "navigationBarTitleText": "虚拟抢购列表"
  16924. }
  16925. }]
  16926. }, {
  16927. "root": "pages/home/map",
  16928. "pages": [{
  16929. "path": "Map",
  16930. "style": {
  16931. "navigationBarTitleText": "地图"
  16932. }
  16933. }]
  16934. }, {
  16935. "root": "pages/home/storeclass",
  16936. "pages": [{
  16937. "path": "Storeclass",
  16938. "style": {
  16939. "navigationBarTitleText": "店铺分类"
  16940. }
  16941. }]
  16942. }, {
  16943. "root": "pages/home/brand",
  16944. "pages": [{
  16945. "path": "Brand",
  16946. "style": {
  16947. "navigationBarTitleText": "品牌"
  16948. }
  16949. }]
  16950. }, {
  16951. "root": "pages/home/search",
  16952. "pages": [{
  16953. "path": "Search",
  16954. "style": {
  16955. "navigationBarTitleText": "搜索"
  16956. }
  16957. }]
  16958. }, {
  16959. "root": "pages/home/storelist",
  16960. "pages": [{
  16961. "path": "Storelist",
  16962. "style": {
  16963. "navigationBarTitleText": "店铺列表"
  16964. }
  16965. }]
  16966. }, {
  16967. "root": "pages/home/goodslist",
  16968. "pages": [{
  16969. "path": "Goodslist",
  16970. "style": {
  16971. "navigationBarTitleText": "商品列表"
  16972. }
  16973. }]
  16974. }, {
  16975. "root": "pages/home/memberbind",
  16976. "pages": [{
  16977. "path": "Bind",
  16978. "style": {
  16979. "navigationBarTitleText": "用户绑定"
  16980. }
  16981. }]
  16982. }, {
  16983. "root": "pages/home/memberforget",
  16984. "pages": [{
  16985. "path": "Forget",
  16986. "style": {
  16987. "navigationBarTitleText": "忘记密码"
  16988. }
  16989. }]
  16990. }, {
  16991. "root": "pages/home/memberlogin",
  16992. "pages": [{
  16993. "path": "Login",
  16994. "style": {
  16995. "navigationBarTitleText": "用户登录"
  16996. }
  16997. }]
  16998. }, {
  16999. "root": "pages/home/memberregister",
  17000. "pages": [{
  17001. "path": "Register",
  17002. "style": {
  17003. "navigationBarTitleText": "用户注册"
  17004. }
  17005. }]
  17006. }, {
  17007. "root": "pages/home/storeabout",
  17008. "pages": [{
  17009. "path": "Storeabout",
  17010. "style": {
  17011. "navigationBarTitleText": "店铺介绍"
  17012. }
  17013. }]
  17014. }, {
  17015. "root": "pages/home/goodsclass",
  17016. "pages": [{
  17017. "path": "Goodsclass",
  17018. "style": {
  17019. "navigationBarTitleText": "商品分类"
  17020. }
  17021. }]
  17022. }, {
  17023. "root": "pages/home/bonus",
  17024. "pages": [{
  17025. "path": "Detail",
  17026. "style": {
  17027. "navigationBarTitleText": "红包"
  17028. }
  17029. }]
  17030. }, {
  17031. "root": "pages/home/pintuan",
  17032. "pages": [{
  17033. "path": "PintuanList",
  17034. "style": {
  17035. "navigationBarTitleText": "拼团列表"
  17036. }
  17037. }]
  17038. }, {
  17039. "root": "pages/home/chain",
  17040. "pages": [{
  17041. "path": "ChainNearby",
  17042. "style": {
  17043. "navigationBarTitleText": "附近门店"
  17044. }
  17045. }]
  17046. }, {
  17047. "root": "pages/home/presell",
  17048. "pages": [{
  17049. "path": "PresellList",
  17050. "style": {
  17051. "navigationBarTitleText": "预售"
  17052. }
  17053. }]
  17054. }, {
  17055. "root": "pages/home/bargain",
  17056. "pages": [{
  17057. "path": "Bargainlist",
  17058. "style": {
  17059. "navigationBarTitleText": "砍价列表页"
  17060. }
  17061. }, {
  17062. "path": "Bargainshare",
  17063. "style": {
  17064. "navigationBarTitleText": "砍价分享页"
  17065. }
  17066. }]
  17067. }, {
  17068. "root": "pages/home/pointsgoods",
  17069. "pages": [{
  17070. "path": "Index",
  17071. "style": {
  17072. "navigationBarTitleText": "积分商品"
  17073. }
  17074. }, {
  17075. "path": "Detail",
  17076. "style": {
  17077. "navigationBarTitleText": "积分商品详情"
  17078. }
  17079. }, {
  17080. "path": "PointMallVoucher",
  17081. "style": {
  17082. "navigationBarTitleText": "积分代金券"
  17083. }
  17084. }, {
  17085. "path": "PointVoucher",
  17086. "style": {
  17087. "navigationBarTitleText": "积分代金券"
  17088. }
  17089. }, {
  17090. "path": "PointProd",
  17091. "style": {
  17092. "navigationBarTitleText": "积分商城"
  17093. }
  17094. }]
  17095. }, {
  17096. "root": "pages/home/goodsdetail",
  17097. "pages": [{
  17098. "path": "Goodsdetail",
  17099. "style": {
  17100. "navigationBarTitleText": "商品详情"
  17101. }
  17102. }, {
  17103. "path": "GoodsVideo",
  17104. "style": {
  17105. "navigationBarTitleText": "商品视频"
  17106. }
  17107. }, {
  17108. "path": "GoodsConsult",
  17109. "style": {
  17110. "navigationBarTitleText": "商品咨询"
  17111. }
  17112. }, {
  17113. "path": "GoodsEvaluation",
  17114. "style": {
  17115. "navigationBarTitleText": "商品评价"
  17116. }
  17117. }, {
  17118. "path": "ChainList",
  17119. "style": {
  17120. "navigationBarTitleText": "门店列表"
  17121. }
  17122. }]
  17123. }, {
  17124. "root": "pages/home/activity",
  17125. "pages": [{
  17126. "path": "Activitylist",
  17127. "style": {
  17128. "navigationBarTitleText": "活动列表"
  17129. }
  17130. }, {
  17131. "path": "Activitydetail",
  17132. "style": {
  17133. "navigationBarTitleText": "活动详情"
  17134. }
  17135. }]
  17136. }, {
  17137. "root": "pages/home/article",
  17138. "pages": [{
  17139. "path": "Document",
  17140. "style": {
  17141. "navigationBarTitleText": "协议"
  17142. }
  17143. }, {
  17144. "path": "Articleclass",
  17145. "style": {
  17146. "navigationBarTitleText": "文章分类"
  17147. }
  17148. }, {
  17149. "path": "Articlelist",
  17150. "style": {
  17151. "navigationBarTitleText": "文章列表"
  17152. }
  17153. }, {
  17154. "path": "Articledetail",
  17155. "style": {
  17156. "navigationBarTitleText": "文章详情"
  17157. }
  17158. }]
  17159. }, {
  17160. "root": "pages/home/marketmanage",
  17161. "pages": [{
  17162. "path": "Marketmanagelist",
  17163. "style": {
  17164. "navigationBarTitleText": "活动列表"
  17165. }
  17166. }, {
  17167. "path": "Marketcard",
  17168. "style": {
  17169. "navigationBarTitleText": "刮刮卡"
  17170. }
  17171. }, {
  17172. "path": "Marketzodiac",
  17173. "style": {
  17174. "navigationBarTitleText": "生肖翻翻看"
  17175. }
  17176. }, {
  17177. "path": "Marketwheel",
  17178. "style": {
  17179. "navigationBarTitleText": "大转盘"
  17180. }
  17181. }, {
  17182. "path": "Marketegg",
  17183. "style": {
  17184. "navigationBarTitleText": "砸金蛋"
  17185. }
  17186. }]
  17187. }, {
  17188. "root": "pages/member",
  17189. "pages": [{
  17190. "path": "index/Index",
  17191. "style": {
  17192. "navigationBarTitleText": "用户中心"
  17193. }
  17194. }, {
  17195. "path": "cart/Cart",
  17196. "style": {
  17197. "navigationBarTitleText": "购物车"
  17198. }
  17199. }, {
  17200. "path": "account/Account",
  17201. "style": {
  17202. "navigationBarTitleText": "我的钱包"
  17203. }
  17204. }, {
  17205. "path": "orderreturn/Orderreturn",
  17206. "style": {
  17207. "navigationBarTitleText": "退款退货"
  17208. }
  17209. }, {
  17210. "path": "predeposit/PredepositList",
  17211. "style": {
  17212. "navigationBarTitleText": "资金明细"
  17213. }
  17214. }, {
  17215. "path": "predeposit/RechargeCardList",
  17216. "style": {
  17217. "navigationBarTitleText": "充值卡明细"
  17218. }
  17219. }, {
  17220. "path": "withdraw/WithdrawList",
  17221. "style": {
  17222. "navigationBarTitleText": "提现明细"
  17223. }
  17224. }, {
  17225. "path": "chat/ChatInfo",
  17226. "style": {
  17227. "navigationBarTitleText": "聊天信息"
  17228. }
  17229. }, {
  17230. "path": "chat/ChatList",
  17231. "style": {
  17232. "navigationBarTitleText": "聊天列表"
  17233. }
  17234. }, {
  17235. "path": "friend/FriendList",
  17236. "style": {
  17237. "navigationBarTitleText": "好友列表"
  17238. }
  17239. }, {
  17240. "path": "consult/ConsultList",
  17241. "style": {
  17242. "navigationBarTitleText": "咨询列表"
  17243. }
  17244. }, {
  17245. "path": "recharge/RechargeList",
  17246. "style": {
  17247. "navigationBarTitleText": "充值明细"
  17248. }
  17249. }, {
  17250. "path": "mallvoucher/MallVoucherList",
  17251. "style": {
  17252. "navigationBarTitleText": "平台代金券列表"
  17253. }
  17254. }, {
  17255. "path": "voucher/VoucherList",
  17256. "style": {
  17257. "navigationBarTitleText": "代金券列表"
  17258. }
  17259. }, {
  17260. "path": "voucher/VoucherPrivate",
  17261. "style": {
  17262. "navigationBarTitleText": "代金券"
  17263. }
  17264. }, {
  17265. "path": "notice/NoticeList",
  17266. "style": {
  17267. "navigationBarTitleText": "消息列表"
  17268. }
  17269. }, {
  17270. "path": "setting/AccountSet",
  17271. "style": {
  17272. "navigationBarTitleText": "账号设置"
  17273. }
  17274. }, {
  17275. "path": "profile/ProfileSet",
  17276. "style": {
  17277. "navigationBarTitleText": "个人信息"
  17278. }
  17279. }, {
  17280. "path": "point/PointList",
  17281. "style": {
  17282. "navigationBarTitleText": "积分明细"
  17283. }
  17284. }, {
  17285. "path": "point/PointSignin",
  17286. "style": {
  17287. "navigationBarTitleText": "签到送积分"
  17288. }
  17289. }, {
  17290. "path": "address/AddressList",
  17291. "style": {
  17292. "navigationBarTitleText": "地址列表"
  17293. }
  17294. }, {
  17295. "path": "address/AddressForm",
  17296. "style": {
  17297. "navigationBarTitleText": "地址编辑"
  17298. }
  17299. }, {
  17300. "path": "address/ChainForm",
  17301. "style": {
  17302. "navigationBarTitleText": "门店编辑"
  17303. }
  17304. }, {
  17305. "path": "bank/BankList",
  17306. "style": {
  17307. "navigationBarTitleText": "提现账户列表"
  17308. }
  17309. }, {
  17310. "path": "bank/BankForm",
  17311. "style": {
  17312. "navigationBarTitleText": "提现账户编辑"
  17313. }
  17314. }, {
  17315. "path": "refund/RefundList",
  17316. "style": {
  17317. "navigationBarTitleText": "退款列表"
  17318. }
  17319. }, {
  17320. "path": "refund/RefundForm",
  17321. "style": {
  17322. "navigationBarTitleText": "退款编辑"
  17323. }
  17324. }, {
  17325. "path": "refund/RefundView",
  17326. "style": {
  17327. "navigationBarTitleText": "退款详情"
  17328. }
  17329. }, {
  17330. "path": "vrrefund/VrRefundList",
  17331. "style": {
  17332. "navigationBarTitleText": "退款列表"
  17333. }
  17334. }, {
  17335. "path": "vrrefund/VrRefundForm",
  17336. "style": {
  17337. "navigationBarTitleText": "退款编辑"
  17338. }
  17339. }, {
  17340. "path": "vrrefund/VrRefundView",
  17341. "style": {
  17342. "navigationBarTitleText": "退款详情"
  17343. }
  17344. }, {
  17345. "path": "return/ReturnList",
  17346. "style": {
  17347. "navigationBarTitleText": "退货列表"
  17348. }
  17349. }, {
  17350. "path": "return/ReturnForm",
  17351. "style": {
  17352. "navigationBarTitleText": "退货编辑"
  17353. }
  17354. }, {
  17355. "path": "return/ReturnView",
  17356. "style": {
  17357. "navigationBarTitleText": "退货详情"
  17358. }
  17359. }, {
  17360. "path": "return/ReturnSend",
  17361. "style": {
  17362. "navigationBarTitleText": "退货"
  17363. }
  17364. }, {
  17365. "path": "invoice/InvoiceList",
  17366. "style": {
  17367. "navigationBarTitleText": "发票列表"
  17368. }
  17369. }, {
  17370. "path": "invoice/InvoiceForm",
  17371. "style": {
  17372. "navigationBarTitleText": "发票编辑"
  17373. }
  17374. }, {
  17375. "path": "buy/step1",
  17376. "style": {
  17377. "navigationBarTitleText": "下单"
  17378. }
  17379. }, {
  17380. "path": "vrbuy/step1",
  17381. "style": {
  17382. "navigationBarTitleText": "下单"
  17383. }
  17384. }, {
  17385. "path": "pointsbuy/step1",
  17386. "style": {
  17387. "navigationBarTitleText": "积分商品下单"
  17388. }
  17389. }, {
  17390. "path": "pointscart/Cart",
  17391. "style": {
  17392. "navigationBarTitleText": "积分商品购物车"
  17393. }
  17394. }, {
  17395. "path": "pointsorder/OrderList",
  17396. "style": {
  17397. "navigationBarTitleText": "积分订单列表"
  17398. }
  17399. }, {
  17400. "path": "pointsorder/OrderDetail",
  17401. "style": {
  17402. "navigationBarTitleText": "积分订单详情"
  17403. }
  17404. }, {
  17405. "path": "inform/InformList",
  17406. "style": {
  17407. "navigationBarTitleText": "商家投诉"
  17408. }
  17409. }, {
  17410. "path": "inform/InformForm",
  17411. "style": {
  17412. "navigationBarTitleText": "商家投诉"
  17413. }
  17414. }, {
  17415. "path": "complaint/ComplaintList",
  17416. "style": {
  17417. "navigationBarTitleText": "商家投诉"
  17418. }
  17419. }, {
  17420. "path": "complaint/ComplaintForm",
  17421. "style": {
  17422. "navigationBarTitleText": "商家投诉"
  17423. }
  17424. }, {
  17425. "path": "buy/pay",
  17426. "style": {
  17427. "navigationBarTitleText": "支付界面"
  17428. }
  17429. }, {
  17430. "path": "order/OrderList",
  17431. "style": {
  17432. "navigationBarTitleText": "我的订单"
  17433. }
  17434. }, {
  17435. "path": "order/OrderSearch",
  17436. "style": {
  17437. "navigationBarTitleText": "订单搜索"
  17438. }
  17439. }, {
  17440. "path": "favorite/Favorite",
  17441. "style": {
  17442. "navigationBarTitleText": "我的收藏"
  17443. }
  17444. }, {
  17445. "path": "order/OrderDetail",
  17446. "style": {
  17447. "navigationBarTitleText": "订单详情"
  17448. }
  17449. }, {
  17450. "path": "order/OrderDeliver",
  17451. "style": {
  17452. "navigationBarTitleText": "物流跟踪"
  17453. }
  17454. }, {
  17455. "path": "order/OrderEvaluate",
  17456. "style": {
  17457. "navigationBarTitleText": "评价订单"
  17458. }
  17459. }, {
  17460. "path": "vrorder/OrderDetail",
  17461. "style": {
  17462. "navigationBarTitleText": "订单详情"
  17463. }
  17464. }, {
  17465. "path": "vrorder/OrderEvaluate",
  17466. "style": {
  17467. "navigationBarTitleText": "评价订单"
  17468. }
  17469. }, {
  17470. "path": "vrorder/OrderList",
  17471. "style": {
  17472. "navigationBarTitleText": "我的订单"
  17473. }
  17474. }, {
  17475. "path": "evaluate/EvaluateList",
  17476. "style": {
  17477. "navigationBarTitleText": "用户订单评价列表"
  17478. }
  17479. }, {
  17480. "path": "inviter/InviterManage",
  17481. "style": {
  17482. "navigationBarTitleText": "推广海报"
  17483. }
  17484. }, {
  17485. "path": "inviter/InviterUser",
  17486. "style": {
  17487. "navigationBarTitleText": "推广会员"
  17488. }
  17489. }, {
  17490. "path": "inviter/InviterOrder",
  17491. "style": {
  17492. "navigationBarTitleText": "推广佣金"
  17493. }
  17494. }, {
  17495. "path": "marketmanagelog/Marketmanagelog",
  17496. "style": {
  17497. "navigationBarTitleText": "活动记录"
  17498. }
  17499. }, {
  17500. "path": "bonusreceive/Bonusreceive",
  17501. "style": {
  17502. "navigationBarTitleText": "红包领取记录"
  17503. }
  17504. }, {
  17505. "path": "bargain/Bargainlist",
  17506. "style": {
  17507. "navigationBarTitleText": "砍价列表页"
  17508. }
  17509. }, {
  17510. "path": "arrivalnotice/Arrivalnotice",
  17511. "style": {
  17512. "navigationBarTitleText": "到货通知页面"
  17513. }
  17514. }, {
  17515. "path": "browse/BrowseList",
  17516. "style": {
  17517. "navigationBarTitleText": "浏览历史页面"
  17518. }
  17519. }, {
  17520. "path": "feedback/Feedback",
  17521. "style": {
  17522. "navigationBarTitleText": "意见反馈"
  17523. }
  17524. }, {
  17525. "path": "auth/Auth",
  17526. "style": {
  17527. "navigationBarTitleText": "会员认证页面"
  17528. }
  17529. }, {
  17530. "path": "live/LiveDetail",
  17531. "style": {
  17532. "navigationBarTitleText": "直播详情"
  17533. }
  17534. }, {
  17535. "path": "live/LiveList",
  17536. "style": {
  17537. "navigationBarTitleText": "直播列表"
  17538. }
  17539. }, {
  17540. "path": "sellerjoinin/Step1",
  17541. "style": {
  17542. "navigationBarTitleText": "店铺入驻"
  17543. }
  17544. }, {
  17545. "path": "sellerjoinin/Step2",
  17546. "style": {
  17547. "navigationBarTitleText": "店铺入驻"
  17548. }
  17549. }, {
  17550. "path": "sellerjoinin/Step3",
  17551. "style": {
  17552. "navigationBarTitleText": "店铺入驻"
  17553. }
  17554. }, {
  17555. "path": "sellerjoinin/Step4",
  17556. "style": {
  17557. "navigationBarTitleText": "店铺入驻"
  17558. }
  17559. }, {
  17560. "path": "sellerjoinin/Step5",
  17561. "style": {
  17562. "navigationBarTitleText": "店铺入驻"
  17563. }
  17564. }]
  17565. }],
  17566. "globalStyle": {
  17567. "navigationBarBackgroundColor": "#ffffff",
  17568. "navigationBarTextStyle": "black",
  17569. "navigationStyle": "custom"
  17570. },
  17571. "condition": {
  17572. "current": 0,
  17573. "list": [{
  17574. "name": "LiveDetail",
  17575. "path": "pages/member/live/LiveDetail",
  17576. "query": "live_apply_id=1&test=1"
  17577. }]
  17578. }
  17579. };
  17580. exports.default = _default;
  17581. /***/ }),
  17582. /***/ 1771:
  17583. /*!***********************************************************************!*\
  17584. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/pages.json?{"type":"stat"} ***!
  17585. \***********************************************************************/
  17586. /*! no static exports found */
  17587. /***/ (function(module, exports, __webpack_require__) {
  17588. "use strict";
  17589. Object.defineProperty(exports, "__esModule", {
  17590. value: true
  17591. });
  17592. exports.default = void 0;
  17593. var _default = {
  17594. "appid": "__UNI__DBB63B5"
  17595. };
  17596. exports.default = _default;
  17597. /***/ }),
  17598. /***/ 1772:
  17599. /*!*****************************************************************************************************************************!*\
  17600. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/uni_modules/uni-file-picker/components/uni-file-picker/choose-and-upload-file.js ***!
  17601. \*****************************************************************************************************************************/
  17602. /*! no static exports found */
  17603. /***/ (function(module, exports, __webpack_require__) {
  17604. "use strict";
  17605. /* WEBPACK VAR INJECTION */(function(uni, wx, uniCloud) {
  17606. Object.defineProperty(exports, '__esModule', {
  17607. value: true
  17608. });
  17609. var ERR_MSG_OK = 'chooseAndUploadFile:ok';
  17610. var ERR_MSG_FAIL = 'chooseAndUploadFile:fail';
  17611. function chooseImage(opts) {
  17612. var count = opts.count,
  17613. sizeType = opts.sizeType,
  17614. sourceType = opts.sourceType,
  17615. extension = opts.extension;
  17616. return new Promise(function (resolve, reject) {
  17617. uni.chooseImage({
  17618. count: count,
  17619. sizeType: sizeType,
  17620. sourceType: sourceType,
  17621. extension: extension,
  17622. success: function success(res) {
  17623. resolve(normalizeChooseAndUploadFileRes(res, 'image'));
  17624. },
  17625. fail: function fail(res) {
  17626. reject({
  17627. errMsg: res.errMsg.replace('chooseImage:fail', ERR_MSG_FAIL)
  17628. });
  17629. }
  17630. });
  17631. });
  17632. }
  17633. function chooseVideo(opts) {
  17634. var camera = opts.camera,
  17635. compressed = opts.compressed,
  17636. maxDuration = opts.maxDuration,
  17637. sourceType = opts.sourceType,
  17638. extension = opts.extension;
  17639. return new Promise(function (resolve, reject) {
  17640. uni.chooseVideo({
  17641. camera: camera,
  17642. compressed: compressed,
  17643. maxDuration: maxDuration,
  17644. sourceType: sourceType,
  17645. extension: extension,
  17646. success: function success(res) {
  17647. var tempFilePath = res.tempFilePath,
  17648. duration = res.duration,
  17649. size = res.size,
  17650. height = res.height,
  17651. width = res.width;
  17652. resolve(normalizeChooseAndUploadFileRes({
  17653. errMsg: 'chooseVideo:ok',
  17654. tempFilePaths: [tempFilePath],
  17655. tempFiles: [{
  17656. name: res.tempFile && res.tempFile.name || '',
  17657. path: tempFilePath,
  17658. size: size,
  17659. type: res.tempFile && res.tempFile.type || '',
  17660. width: width,
  17661. height: height,
  17662. duration: duration,
  17663. fileType: 'video',
  17664. cloudPath: ''
  17665. }]
  17666. }, 'video'));
  17667. },
  17668. fail: function fail(res) {
  17669. reject({
  17670. errMsg: res.errMsg.replace('chooseVideo:fail', ERR_MSG_FAIL)
  17671. });
  17672. }
  17673. });
  17674. });
  17675. }
  17676. function chooseAll(opts) {
  17677. var count = opts.count,
  17678. extension = opts.extension;
  17679. return new Promise(function (resolve, reject) {
  17680. var chooseFile = uni.chooseFile;
  17681. if (typeof wx !== 'undefined' && typeof wx.chooseMessageFile === 'function') {
  17682. chooseFile = wx.chooseMessageFile;
  17683. }
  17684. if (typeof chooseFile !== 'function') {
  17685. return reject({
  17686. errMsg: ERR_MSG_FAIL + ' 请指定 type 类型,该平台仅支持选择 image 或 video。'
  17687. });
  17688. }
  17689. chooseFile({
  17690. type: 'all',
  17691. count: count,
  17692. extension: extension,
  17693. success: function success(res) {
  17694. resolve(normalizeChooseAndUploadFileRes(res));
  17695. },
  17696. fail: function fail(res) {
  17697. reject({
  17698. errMsg: res.errMsg.replace('chooseFile:fail', ERR_MSG_FAIL)
  17699. });
  17700. }
  17701. });
  17702. });
  17703. }
  17704. function normalizeChooseAndUploadFileRes(res, fileType) {
  17705. res.tempFiles.forEach(function (item, index) {
  17706. if (!item.name) {
  17707. item.name = item.path.substring(item.path.lastIndexOf('/') + 1);
  17708. }
  17709. if (fileType) {
  17710. item.fileType = fileType;
  17711. }
  17712. item.cloudPath = Date.now() + '_' + index + item.name.substring(item.name.lastIndexOf('.'));
  17713. });
  17714. // wx.chooseMessageFile
  17715. if (!res.tempFilePaths) {
  17716. res.tempFilePaths = res.tempFiles.map(function (file) {
  17717. return file.path;
  17718. });
  17719. }
  17720. return res;
  17721. }
  17722. function uploadCloudFiles(res) {
  17723. var max = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 5;
  17724. var _onUploadProgress = arguments.length > 2 ? arguments[2] : undefined;
  17725. res = Object.assign({}, res);
  17726. res.errMsg = ERR_MSG_OK;
  17727. var files = res.tempFiles;
  17728. var len = files.length;
  17729. var count = 0;
  17730. return new Promise(function (resolve) {
  17731. while (count < max) {
  17732. next();
  17733. }
  17734. function next() {
  17735. var cur = count++;
  17736. if (cur >= len) {
  17737. !files.find(function (item) {
  17738. return !item.url && !item.errMsg;
  17739. }) && resolve(res);
  17740. return;
  17741. }
  17742. var fileItem = files[cur];
  17743. uniCloud.uploadFile({
  17744. filePath: fileItem.path,
  17745. cloudPath: fileItem.cloudPath,
  17746. fileType: fileItem.fileType,
  17747. onUploadProgress: function onUploadProgress(res) {
  17748. res.index = cur;
  17749. res.tempFile = fileItem;
  17750. res.tempFilePath = fileItem.path;
  17751. _onUploadProgress && _onUploadProgress(res);
  17752. }
  17753. }).then(function (res) {
  17754. fileItem.url = res.fileID;
  17755. if (cur < len) {
  17756. next();
  17757. }
  17758. }).catch(function (res) {
  17759. // fileItem.errMsg = res.message;
  17760. fileItem.errMsg = res.errMsg || res.message;
  17761. if (cur < len) {
  17762. next();
  17763. }
  17764. });
  17765. }
  17766. });
  17767. }
  17768. function uploadFiles(choosePromise, _ref) {
  17769. var onChooseFile = _ref.onChooseFile,
  17770. onUploadProgress = _ref.onUploadProgress;
  17771. return choosePromise.then(function (res) {
  17772. if (onChooseFile) {
  17773. var customChooseRes = onChooseFile(res);
  17774. if (typeof customChooseRes !== 'undefined') {
  17775. return Promise.resolve(customChooseRes).then(function (chooseRes) {
  17776. return typeof chooseRes === 'undefined' ? res : chooseRes;
  17777. });
  17778. }
  17779. }
  17780. return res;
  17781. }).then(function (res) {
  17782. if (res === false) {
  17783. return {
  17784. errMsg: ERR_MSG_OK,
  17785. tempFilePaths: [],
  17786. tempFiles: []
  17787. };
  17788. }
  17789. return uploadCloudFiles(res, 5, onUploadProgress);
  17790. });
  17791. }
  17792. function chooseAndUploadFile() {
  17793. var opts = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {
  17794. type: 'all'
  17795. };
  17796. opts.sourceType = ['album', 'camera'];
  17797. if (opts.type === 'image') {
  17798. return uploadFiles(chooseImage(opts), opts);
  17799. } else if (opts.type === 'video') {
  17800. return uploadFiles(chooseVideo(opts), opts);
  17801. }
  17802. return uploadFiles(chooseAll(opts), opts);
  17803. }
  17804. exports.chooseAndUploadFile = chooseAndUploadFile;
  17805. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"], __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/wx.js */ 1)["default"], __webpack_require__(/*! ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/uni-cloud/dist/index.js */ 1760)["default"]))
  17806. /***/ }),
  17807. /***/ 178:
  17808. /*!*****************************************************************************!*\
  17809. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/uk.js ***!
  17810. \*****************************************************************************/
  17811. /*! no static exports found */
  17812. /***/ (function(module, exports, __webpack_require__) {
  17813. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  17814. //! moment.js locale configuration
  17815. //! locale : Ukrainian [uk]
  17816. //! author : zemlanin : https://github.com/zemlanin
  17817. //! Author : Menelion Elensúle : https://github.com/Oire
  17818. ;
  17819. (function (global, factory) {
  17820. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  17821. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  17822. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  17823. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  17824. })(this, function (moment) {
  17825. 'use strict';
  17826. //! moment.js locale configuration
  17827. function plural(word, num) {
  17828. var forms = word.split('_');
  17829. return num % 10 === 1 && num % 100 !== 11 ? forms[0] : num % 10 >= 2 && num % 10 <= 4 && (num % 100 < 10 || num % 100 >= 20) ? forms[1] : forms[2];
  17830. }
  17831. function relativeTimeWithPlural(number, withoutSuffix, key) {
  17832. var format = {
  17833. ss: withoutSuffix ? 'секунда_секунди_секунд' : 'секунду_секунди_секунд',
  17834. mm: withoutSuffix ? 'хвилина_хвилини_хвилин' : 'хвилину_хвилини_хвилин',
  17835. hh: withoutSuffix ? 'година_години_годин' : 'годину_години_годин',
  17836. dd: 'день_дні_днів',
  17837. MM: 'місяць_місяці_місяців',
  17838. yy: 'рік_роки_років'
  17839. };
  17840. if (key === 'm') {
  17841. return withoutSuffix ? 'хвилина' : 'хвилину';
  17842. } else if (key === 'h') {
  17843. return withoutSuffix ? 'година' : 'годину';
  17844. } else {
  17845. return number + ' ' + plural(format[key], +number);
  17846. }
  17847. }
  17848. function weekdaysCaseReplace(m, format) {
  17849. var weekdays = {
  17850. nominative: 'неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота'.split('_'),
  17851. accusative: 'неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу'.split('_'),
  17852. genitive: 'неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи'.split('_')
  17853. },
  17854. nounCase;
  17855. if (m === true) {
  17856. return weekdays['nominative'].slice(1, 7).concat(weekdays['nominative'].slice(0, 1));
  17857. }
  17858. if (!m) {
  17859. return weekdays['nominative'];
  17860. }
  17861. nounCase = /(\[[ВвУу]\]) ?dddd/.test(format) ? 'accusative' : /\[?(?:минулої|наступної)? ?\] ?dddd/.test(format) ? 'genitive' : 'nominative';
  17862. return weekdays[nounCase][m.day()];
  17863. }
  17864. function processHoursFunction(str) {
  17865. return function () {
  17866. return str + 'о' + (this.hours() === 11 ? 'б' : '') + '] LT';
  17867. };
  17868. }
  17869. var uk = moment.defineLocale('uk', {
  17870. months: {
  17871. format: 'січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня'.split('_'),
  17872. standalone: 'січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень'.split('_')
  17873. },
  17874. monthsShort: 'січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд'.split('_'),
  17875. weekdays: weekdaysCaseReplace,
  17876. weekdaysShort: 'нд_пн_вт_ср_чт_пт_сб'.split('_'),
  17877. weekdaysMin: 'нд_пн_вт_ср_чт_пт_сб'.split('_'),
  17878. longDateFormat: {
  17879. LT: 'HH:mm',
  17880. LTS: 'HH:mm:ss',
  17881. L: 'DD.MM.YYYY',
  17882. LL: 'D MMMM YYYY р.',
  17883. LLL: 'D MMMM YYYY р., HH:mm',
  17884. LLLL: 'dddd, D MMMM YYYY р., HH:mm'
  17885. },
  17886. calendar: {
  17887. sameDay: processHoursFunction('[Сьогодні '),
  17888. nextDay: processHoursFunction('[Завтра '),
  17889. lastDay: processHoursFunction('[Вчора '),
  17890. nextWeek: processHoursFunction('[У] dddd ['),
  17891. lastWeek: function lastWeek() {
  17892. switch (this.day()) {
  17893. case 0:
  17894. case 3:
  17895. case 5:
  17896. case 6:
  17897. return processHoursFunction('[Минулої] dddd [').call(this);
  17898. case 1:
  17899. case 2:
  17900. case 4:
  17901. return processHoursFunction('[Минулого] dddd [').call(this);
  17902. }
  17903. },
  17904. sameElse: 'L'
  17905. },
  17906. relativeTime: {
  17907. future: 'за %s',
  17908. past: '%s тому',
  17909. s: 'декілька секунд',
  17910. ss: relativeTimeWithPlural,
  17911. m: relativeTimeWithPlural,
  17912. mm: relativeTimeWithPlural,
  17913. h: 'годину',
  17914. hh: relativeTimeWithPlural,
  17915. d: 'день',
  17916. dd: relativeTimeWithPlural,
  17917. M: 'місяць',
  17918. MM: relativeTimeWithPlural,
  17919. y: 'рік',
  17920. yy: relativeTimeWithPlural
  17921. },
  17922. // M. E.: those two are virtually unused but a user might want to implement them for his/her website for some reason
  17923. meridiemParse: /ночі|ранку|дня|вечора/,
  17924. isPM: function isPM(input) {
  17925. return /^(дня|вечора)$/.test(input);
  17926. },
  17927. meridiem: function meridiem(hour, minute, isLower) {
  17928. if (hour < 4) {
  17929. return 'ночі';
  17930. } else if (hour < 12) {
  17931. return 'ранку';
  17932. } else if (hour < 17) {
  17933. return 'дня';
  17934. } else {
  17935. return 'вечора';
  17936. }
  17937. },
  17938. dayOfMonthOrdinalParse: /\d{1,2}-(й|го)/,
  17939. ordinal: function ordinal(number, period) {
  17940. switch (period) {
  17941. case 'M':
  17942. case 'd':
  17943. case 'DDD':
  17944. case 'w':
  17945. case 'W':
  17946. return number + '-й';
  17947. case 'D':
  17948. return number + '-го';
  17949. default:
  17950. return number;
  17951. }
  17952. },
  17953. week: {
  17954. dow: 1,
  17955. // Monday is the first day of the week.
  17956. doy: 7 // The week that contains Jan 7th is the first week of the year.
  17957. }
  17958. });
  17959. return uk;
  17960. });
  17961. /***/ }),
  17962. /***/ 179:
  17963. /*!*****************************************************************************!*\
  17964. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/ur.js ***!
  17965. \*****************************************************************************/
  17966. /*! no static exports found */
  17967. /***/ (function(module, exports, __webpack_require__) {
  17968. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  17969. //! moment.js locale configuration
  17970. //! locale : Urdu [ur]
  17971. //! author : Sawood Alam : https://github.com/ibnesayeed
  17972. //! author : Zack : https://github.com/ZackVision
  17973. ;
  17974. (function (global, factory) {
  17975. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  17976. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  17977. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  17978. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  17979. })(this, function (moment) {
  17980. 'use strict';
  17981. //! moment.js locale configuration
  17982. var months = ['جنوری', 'فروری', 'مارچ', 'اپریل', 'مئی', 'جون', 'جولائی', 'اگست', 'ستمبر', 'اکتوبر', 'نومبر', 'دسمبر'],
  17983. days = ['اتوار', 'پیر', 'منگل', 'بدھ', 'جمعرات', 'جمعہ', 'ہفتہ'];
  17984. var ur = moment.defineLocale('ur', {
  17985. months: months,
  17986. monthsShort: months,
  17987. weekdays: days,
  17988. weekdaysShort: days,
  17989. weekdaysMin: days,
  17990. longDateFormat: {
  17991. LT: 'HH:mm',
  17992. LTS: 'HH:mm:ss',
  17993. L: 'DD/MM/YYYY',
  17994. LL: 'D MMMM YYYY',
  17995. LLL: 'D MMMM YYYY HH:mm',
  17996. LLLL: 'dddd، D MMMM YYYY HH:mm'
  17997. },
  17998. meridiemParse: /صبح|شام/,
  17999. isPM: function isPM(input) {
  18000. return 'شام' === input;
  18001. },
  18002. meridiem: function meridiem(hour, minute, isLower) {
  18003. if (hour < 12) {
  18004. return 'صبح';
  18005. }
  18006. return 'شام';
  18007. },
  18008. calendar: {
  18009. sameDay: '[آج بوقت] LT',
  18010. nextDay: '[کل بوقت] LT',
  18011. nextWeek: 'dddd [بوقت] LT',
  18012. lastDay: '[گذشتہ روز بوقت] LT',
  18013. lastWeek: '[گذشتہ] dddd [بوقت] LT',
  18014. sameElse: 'L'
  18015. },
  18016. relativeTime: {
  18017. future: '%s بعد',
  18018. past: '%s قبل',
  18019. s: 'چند سیکنڈ',
  18020. ss: '%d سیکنڈ',
  18021. m: 'ایک منٹ',
  18022. mm: '%d منٹ',
  18023. h: 'ایک گھنٹہ',
  18024. hh: '%d گھنٹے',
  18025. d: 'ایک دن',
  18026. dd: '%d دن',
  18027. M: 'ایک ماہ',
  18028. MM: '%d ماہ',
  18029. y: 'ایک سال',
  18030. yy: '%d سال'
  18031. },
  18032. preparse: function preparse(string) {
  18033. return string.replace(/،/g, ',');
  18034. },
  18035. postformat: function postformat(string) {
  18036. return string.replace(/,/g, '،');
  18037. },
  18038. week: {
  18039. dow: 1,
  18040. // Monday is the first day of the week.
  18041. doy: 4 // The week that contains Jan 4th is the first week of the year.
  18042. }
  18043. });
  18044. return ur;
  18045. });
  18046. /***/ }),
  18047. /***/ 1796:
  18048. /*!********************************************************!*\
  18049. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/api/area.js ***!
  18050. \********************************************************/
  18051. /*! no static exports found */
  18052. /***/ (function(module, exports, __webpack_require__) {
  18053. "use strict";
  18054. Object.defineProperty(exports, "__esModule", {
  18055. value: true
  18056. });
  18057. exports.getAreaTree = exports.getAreaList = void 0;
  18058. var _network = __webpack_require__(/*! ../util/network */ 38);
  18059. //
  18060. var getAreaTree = function getAreaTree() {
  18061. return (0, _network.requestApi)('/Area/area_app', 'POST', {});
  18062. };
  18063. exports.getAreaTree = getAreaTree;
  18064. var getAreaList = function getAreaList() {
  18065. return (0, _network.requestApi)('/Area/area_list', 'POST', {});
  18066. };
  18067. exports.getAreaList = getAreaList;
  18068. /***/ }),
  18069. /***/ 18:
  18070. /*!******************************************************************!*\
  18071. !*** ./node_modules/@babel/runtime/helpers/toConsumableArray.js ***!
  18072. \******************************************************************/
  18073. /*! no static exports found */
  18074. /***/ (function(module, exports, __webpack_require__) {
  18075. var arrayWithoutHoles = __webpack_require__(/*! ./arrayWithoutHoles.js */ 19);
  18076. var iterableToArray = __webpack_require__(/*! ./iterableToArray.js */ 20);
  18077. var unsupportedIterableToArray = __webpack_require__(/*! ./unsupportedIterableToArray.js */ 8);
  18078. var nonIterableSpread = __webpack_require__(/*! ./nonIterableSpread.js */ 21);
  18079. function _toConsumableArray(arr) {
  18080. return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();
  18081. }
  18082. module.exports = _toConsumableArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
  18083. /***/ }),
  18084. /***/ 180:
  18085. /*!*****************************************************************************!*\
  18086. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/uz.js ***!
  18087. \*****************************************************************************/
  18088. /*! no static exports found */
  18089. /***/ (function(module, exports, __webpack_require__) {
  18090. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  18091. //! moment.js locale configuration
  18092. //! locale : Uzbek [uz]
  18093. //! author : Sardor Muminov : https://github.com/muminoff
  18094. ;
  18095. (function (global, factory) {
  18096. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  18097. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  18098. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  18099. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  18100. })(this, function (moment) {
  18101. 'use strict';
  18102. //! moment.js locale configuration
  18103. var uz = moment.defineLocale('uz', {
  18104. months: 'январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр'.split('_'),
  18105. monthsShort: 'янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек'.split('_'),
  18106. weekdays: 'Якшанба_Душанба_Сешанба_Чоршанба_Пайшанба_Жума_Шанба'.split('_'),
  18107. weekdaysShort: 'Якш_Душ_Сеш_Чор_Пай_Жум_Шан'.split('_'),
  18108. weekdaysMin: 'Як_Ду_Се_Чо_Па_Жу_Ша'.split('_'),
  18109. longDateFormat: {
  18110. LT: 'HH:mm',
  18111. LTS: 'HH:mm:ss',
  18112. L: 'DD/MM/YYYY',
  18113. LL: 'D MMMM YYYY',
  18114. LLL: 'D MMMM YYYY HH:mm',
  18115. LLLL: 'D MMMM YYYY, dddd HH:mm'
  18116. },
  18117. calendar: {
  18118. sameDay: '[Бугун соат] LT [да]',
  18119. nextDay: '[Эртага] LT [да]',
  18120. nextWeek: 'dddd [куни соат] LT [да]',
  18121. lastDay: '[Кеча соат] LT [да]',
  18122. lastWeek: '[Утган] dddd [куни соат] LT [да]',
  18123. sameElse: 'L'
  18124. },
  18125. relativeTime: {
  18126. future: 'Якин %s ичида',
  18127. past: 'Бир неча %s олдин',
  18128. s: 'фурсат',
  18129. ss: '%d фурсат',
  18130. m: 'бир дакика',
  18131. mm: '%d дакика',
  18132. h: 'бир соат',
  18133. hh: '%d соат',
  18134. d: 'бир кун',
  18135. dd: '%d кун',
  18136. M: 'бир ой',
  18137. MM: '%d ой',
  18138. y: 'бир йил',
  18139. yy: '%d йил'
  18140. },
  18141. week: {
  18142. dow: 1,
  18143. // Monday is the first day of the week.
  18144. doy: 7 // The week that contains Jan 4th is the first week of the year.
  18145. }
  18146. });
  18147. return uz;
  18148. });
  18149. /***/ }),
  18150. /***/ 181:
  18151. /*!**********************************************************************************!*\
  18152. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/uz-latn.js ***!
  18153. \**********************************************************************************/
  18154. /*! no static exports found */
  18155. /***/ (function(module, exports, __webpack_require__) {
  18156. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  18157. //! moment.js locale configuration
  18158. //! locale : Uzbek Latin [uz-latn]
  18159. //! author : Rasulbek Mirzayev : github.com/Rasulbeeek
  18160. ;
  18161. (function (global, factory) {
  18162. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  18163. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  18164. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  18165. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  18166. })(this, function (moment) {
  18167. 'use strict';
  18168. //! moment.js locale configuration
  18169. var uzLatn = moment.defineLocale('uz-latn', {
  18170. months: 'Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr'.split('_'),
  18171. monthsShort: 'Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek'.split('_'),
  18172. weekdays: 'Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba'.split('_'),
  18173. weekdaysShort: 'Yak_Dush_Sesh_Chor_Pay_Jum_Shan'.split('_'),
  18174. weekdaysMin: 'Ya_Du_Se_Cho_Pa_Ju_Sha'.split('_'),
  18175. longDateFormat: {
  18176. LT: 'HH:mm',
  18177. LTS: 'HH:mm:ss',
  18178. L: 'DD/MM/YYYY',
  18179. LL: 'D MMMM YYYY',
  18180. LLL: 'D MMMM YYYY HH:mm',
  18181. LLLL: 'D MMMM YYYY, dddd HH:mm'
  18182. },
  18183. calendar: {
  18184. sameDay: '[Bugun soat] LT [da]',
  18185. nextDay: '[Ertaga] LT [da]',
  18186. nextWeek: 'dddd [kuni soat] LT [da]',
  18187. lastDay: '[Kecha soat] LT [da]',
  18188. lastWeek: "[O'tgan] dddd [kuni soat] LT [da]",
  18189. sameElse: 'L'
  18190. },
  18191. relativeTime: {
  18192. future: 'Yaqin %s ichida',
  18193. past: 'Bir necha %s oldin',
  18194. s: 'soniya',
  18195. ss: '%d soniya',
  18196. m: 'bir daqiqa',
  18197. mm: '%d daqiqa',
  18198. h: 'bir soat',
  18199. hh: '%d soat',
  18200. d: 'bir kun',
  18201. dd: '%d kun',
  18202. M: 'bir oy',
  18203. MM: '%d oy',
  18204. y: 'bir yil',
  18205. yy: '%d yil'
  18206. },
  18207. week: {
  18208. dow: 1,
  18209. // Monday is the first day of the week.
  18210. doy: 7 // The week that contains Jan 7th is the first week of the year.
  18211. }
  18212. });
  18213. return uzLatn;
  18214. });
  18215. /***/ }),
  18216. /***/ 182:
  18217. /*!*****************************************************************************!*\
  18218. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/vi.js ***!
  18219. \*****************************************************************************/
  18220. /*! no static exports found */
  18221. /***/ (function(module, exports, __webpack_require__) {
  18222. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  18223. //! moment.js locale configuration
  18224. //! locale : Vietnamese [vi]
  18225. //! author : Bang Nguyen : https://github.com/bangnk
  18226. //! author : Chien Kira : https://github.com/chienkira
  18227. ;
  18228. (function (global, factory) {
  18229. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  18230. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  18231. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  18232. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  18233. })(this, function (moment) {
  18234. 'use strict';
  18235. //! moment.js locale configuration
  18236. var vi = moment.defineLocale('vi', {
  18237. months: 'tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12'.split('_'),
  18238. monthsShort: 'Thg 01_Thg 02_Thg 03_Thg 04_Thg 05_Thg 06_Thg 07_Thg 08_Thg 09_Thg 10_Thg 11_Thg 12'.split('_'),
  18239. monthsParseExact: true,
  18240. weekdays: 'chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy'.split('_'),
  18241. weekdaysShort: 'CN_T2_T3_T4_T5_T6_T7'.split('_'),
  18242. weekdaysMin: 'CN_T2_T3_T4_T5_T6_T7'.split('_'),
  18243. weekdaysParseExact: true,
  18244. meridiemParse: /sa|ch/i,
  18245. isPM: function isPM(input) {
  18246. return /^ch$/i.test(input);
  18247. },
  18248. meridiem: function meridiem(hours, minutes, isLower) {
  18249. if (hours < 12) {
  18250. return isLower ? 'sa' : 'SA';
  18251. } else {
  18252. return isLower ? 'ch' : 'CH';
  18253. }
  18254. },
  18255. longDateFormat: {
  18256. LT: 'HH:mm',
  18257. LTS: 'HH:mm:ss',
  18258. L: 'DD/MM/YYYY',
  18259. LL: 'D MMMM [năm] YYYY',
  18260. LLL: 'D MMMM [năm] YYYY HH:mm',
  18261. LLLL: 'dddd, D MMMM [năm] YYYY HH:mm',
  18262. l: 'DD/M/YYYY',
  18263. ll: 'D MMM YYYY',
  18264. lll: 'D MMM YYYY HH:mm',
  18265. llll: 'ddd, D MMM YYYY HH:mm'
  18266. },
  18267. calendar: {
  18268. sameDay: '[Hôm nay lúc] LT',
  18269. nextDay: '[Ngày mai lúc] LT',
  18270. nextWeek: 'dddd [tuần tới lúc] LT',
  18271. lastDay: '[Hôm qua lúc] LT',
  18272. lastWeek: 'dddd [tuần trước lúc] LT',
  18273. sameElse: 'L'
  18274. },
  18275. relativeTime: {
  18276. future: '%s tới',
  18277. past: '%s trước',
  18278. s: 'vài giây',
  18279. ss: '%d giây',
  18280. m: 'một phút',
  18281. mm: '%d phút',
  18282. h: 'một giờ',
  18283. hh: '%d giờ',
  18284. d: 'một ngày',
  18285. dd: '%d ngày',
  18286. w: 'một tuần',
  18287. ww: '%d tuần',
  18288. M: 'một tháng',
  18289. MM: '%d tháng',
  18290. y: 'một năm',
  18291. yy: '%d năm'
  18292. },
  18293. dayOfMonthOrdinalParse: /\d{1,2}/,
  18294. ordinal: function ordinal(number) {
  18295. return number;
  18296. },
  18297. week: {
  18298. dow: 1,
  18299. // Monday is the first day of the week.
  18300. doy: 4 // The week that contains Jan 4th is the first week of the year.
  18301. }
  18302. });
  18303. return vi;
  18304. });
  18305. /***/ }),
  18306. /***/ 183:
  18307. /*!***********************************************************************************!*\
  18308. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/x-pseudo.js ***!
  18309. \***********************************************************************************/
  18310. /*! no static exports found */
  18311. /***/ (function(module, exports, __webpack_require__) {
  18312. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  18313. //! moment.js locale configuration
  18314. //! locale : Pseudo [x-pseudo]
  18315. //! author : Andrew Hood : https://github.com/andrewhood125
  18316. ;
  18317. (function (global, factory) {
  18318. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  18319. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  18320. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  18321. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  18322. })(this, function (moment) {
  18323. 'use strict';
  18324. //! moment.js locale configuration
  18325. var xPseudo = moment.defineLocale('x-pseudo', {
  18326. months: 'J~áñúá~rý_F~ébrú~árý_~Márc~h_Áp~ríl_~Máý_~Júñé~_Júl~ý_Áú~gúst~_Sép~témb~ér_Ó~ctób~ér_Ñ~óvém~bér_~Décé~mbér'.split('_'),
  18327. monthsShort: 'J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc'.split('_'),
  18328. monthsParseExact: true,
  18329. weekdays: 'S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý'.split('_'),
  18330. weekdaysShort: 'S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát'.split('_'),
  18331. weekdaysMin: 'S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá'.split('_'),
  18332. weekdaysParseExact: true,
  18333. longDateFormat: {
  18334. LT: 'HH:mm',
  18335. L: 'DD/MM/YYYY',
  18336. LL: 'D MMMM YYYY',
  18337. LLL: 'D MMMM YYYY HH:mm',
  18338. LLLL: 'dddd, D MMMM YYYY HH:mm'
  18339. },
  18340. calendar: {
  18341. sameDay: '[T~ódá~ý át] LT',
  18342. nextDay: '[T~ómó~rró~w át] LT',
  18343. nextWeek: 'dddd [át] LT',
  18344. lastDay: '[Ý~ést~érdá~ý át] LT',
  18345. lastWeek: '[L~ást] dddd [át] LT',
  18346. sameElse: 'L'
  18347. },
  18348. relativeTime: {
  18349. future: 'í~ñ %s',
  18350. past: '%s á~gó',
  18351. s: 'á ~féw ~sécó~ñds',
  18352. ss: '%d s~écóñ~ds',
  18353. m: 'á ~míñ~úté',
  18354. mm: '%d m~íñú~tés',
  18355. h: 'á~ñ hó~úr',
  18356. hh: '%d h~óúrs',
  18357. d: 'á ~dáý',
  18358. dd: '%d d~áýs',
  18359. M: 'á ~móñ~th',
  18360. MM: '%d m~óñt~hs',
  18361. y: 'á ~ýéár',
  18362. yy: '%d ý~éárs'
  18363. },
  18364. dayOfMonthOrdinalParse: /\d{1,2}(th|st|nd|rd)/,
  18365. ordinal: function ordinal(number) {
  18366. var b = number % 10,
  18367. output = ~~(number % 100 / 10) === 1 ? 'th' : b === 1 ? 'st' : b === 2 ? 'nd' : b === 3 ? 'rd' : 'th';
  18368. return number + output;
  18369. },
  18370. week: {
  18371. dow: 1,
  18372. // Monday is the first day of the week.
  18373. doy: 4 // The week that contains Jan 4th is the first week of the year.
  18374. }
  18375. });
  18376. return xPseudo;
  18377. });
  18378. /***/ }),
  18379. /***/ 184:
  18380. /*!*****************************************************************************!*\
  18381. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/yo.js ***!
  18382. \*****************************************************************************/
  18383. /*! no static exports found */
  18384. /***/ (function(module, exports, __webpack_require__) {
  18385. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  18386. //! moment.js locale configuration
  18387. //! locale : Yoruba Nigeria [yo]
  18388. //! author : Atolagbe Abisoye : https://github.com/andela-batolagbe
  18389. ;
  18390. (function (global, factory) {
  18391. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  18392. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  18393. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  18394. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  18395. })(this, function (moment) {
  18396. 'use strict';
  18397. //! moment.js locale configuration
  18398. var yo = moment.defineLocale('yo', {
  18399. months: 'Sẹ́rẹ́_Èrèlè_Ẹrẹ̀nà_Ìgbé_Èbibi_Òkùdu_Agẹmo_Ògún_Owewe_Ọ̀wàrà_Bélú_Ọ̀pẹ̀̀'.split('_'),
  18400. monthsShort: 'Sẹ́r_Èrl_Ẹrn_Ìgb_Èbi_Òkù_Agẹ_Ògú_Owe_Ọ̀wà_Bél_Ọ̀pẹ̀̀'.split('_'),
  18401. weekdays: 'Àìkú_Ajé_Ìsẹ́gun_Ọjọ́rú_Ọjọ́bọ_Ẹtì_Àbámẹ́ta'.split('_'),
  18402. weekdaysShort: 'Àìk_Ajé_Ìsẹ́_Ọjr_Ọjb_Ẹtì_Àbá'.split('_'),
  18403. weekdaysMin: 'Àì_Aj_Ìs_Ọr_Ọb_Ẹt_Àb'.split('_'),
  18404. longDateFormat: {
  18405. LT: 'h:mm A',
  18406. LTS: 'h:mm:ss A',
  18407. L: 'DD/MM/YYYY',
  18408. LL: 'D MMMM YYYY',
  18409. LLL: 'D MMMM YYYY h:mm A',
  18410. LLLL: 'dddd, D MMMM YYYY h:mm A'
  18411. },
  18412. calendar: {
  18413. sameDay: '[Ònì ni] LT',
  18414. nextDay: '[Ọ̀la ni] LT',
  18415. nextWeek: "dddd [Ọsẹ̀ tón'bọ] [ni] LT",
  18416. lastDay: '[Àna ni] LT',
  18417. lastWeek: 'dddd [Ọsẹ̀ tólọ́] [ni] LT',
  18418. sameElse: 'L'
  18419. },
  18420. relativeTime: {
  18421. future: 'ní %s',
  18422. past: '%s kọjá',
  18423. s: 'ìsẹjú aayá die',
  18424. ss: 'aayá %d',
  18425. m: 'ìsẹjú kan',
  18426. mm: 'ìsẹjú %d',
  18427. h: 'wákati kan',
  18428. hh: 'wákati %d',
  18429. d: 'ọjọ́ kan',
  18430. dd: 'ọjọ́ %d',
  18431. M: 'osù kan',
  18432. MM: 'osù %d',
  18433. y: 'ọdún kan',
  18434. yy: 'ọdún %d'
  18435. },
  18436. dayOfMonthOrdinalParse: /ọjọ́\s\d{1,2}/,
  18437. ordinal: 'ọjọ́ %d',
  18438. week: {
  18439. dow: 1,
  18440. // Monday is the first day of the week.
  18441. doy: 4 // The week that contains Jan 4th is the first week of the year.
  18442. }
  18443. });
  18444. return yo;
  18445. });
  18446. /***/ }),
  18447. /***/ 185:
  18448. /*!********************************************************************************!*\
  18449. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/zh-cn.js ***!
  18450. \********************************************************************************/
  18451. /*! no static exports found */
  18452. /***/ (function(module, exports, __webpack_require__) {
  18453. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  18454. //! moment.js locale configuration
  18455. //! locale : Chinese (China) [zh-cn]
  18456. //! author : suupic : https://github.com/suupic
  18457. //! author : Zeno Zeng : https://github.com/zenozeng
  18458. //! author : uu109 : https://github.com/uu109
  18459. ;
  18460. (function (global, factory) {
  18461. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  18462. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  18463. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  18464. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  18465. })(this, function (moment) {
  18466. 'use strict';
  18467. //! moment.js locale configuration
  18468. var zhCn = moment.defineLocale('zh-cn', {
  18469. months: '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split('_'),
  18470. monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split('_'),
  18471. weekdays: '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'),
  18472. weekdaysShort: '周日_周一_周二_周三_周四_周五_周六'.split('_'),
  18473. weekdaysMin: '日_一_二_三_四_五_六'.split('_'),
  18474. longDateFormat: {
  18475. LT: 'HH:mm',
  18476. LTS: 'HH:mm:ss',
  18477. L: 'YYYY/MM/DD',
  18478. LL: 'YYYY年M月D日',
  18479. LLL: 'YYYY年M月D日Ah点mm分',
  18480. LLLL: 'YYYY年M月D日ddddAh点mm分',
  18481. l: 'YYYY/M/D',
  18482. ll: 'YYYY年M月D日',
  18483. lll: 'YYYY年M月D日 HH:mm',
  18484. llll: 'YYYY年M月D日dddd HH:mm'
  18485. },
  18486. meridiemParse: /凌晨|早上|上午|中午|下午|晚上/,
  18487. meridiemHour: function meridiemHour(hour, meridiem) {
  18488. if (hour === 12) {
  18489. hour = 0;
  18490. }
  18491. if (meridiem === '凌晨' || meridiem === '早上' || meridiem === '上午') {
  18492. return hour;
  18493. } else if (meridiem === '下午' || meridiem === '晚上') {
  18494. return hour + 12;
  18495. } else {
  18496. // '中午'
  18497. return hour >= 11 ? hour : hour + 12;
  18498. }
  18499. },
  18500. meridiem: function meridiem(hour, minute, isLower) {
  18501. var hm = hour * 100 + minute;
  18502. if (hm < 600) {
  18503. return '凌晨';
  18504. } else if (hm < 900) {
  18505. return '早上';
  18506. } else if (hm < 1130) {
  18507. return '上午';
  18508. } else if (hm < 1230) {
  18509. return '中午';
  18510. } else if (hm < 1800) {
  18511. return '下午';
  18512. } else {
  18513. return '晚上';
  18514. }
  18515. },
  18516. calendar: {
  18517. sameDay: '[今天]LT',
  18518. nextDay: '[明天]LT',
  18519. nextWeek: function nextWeek(now) {
  18520. if (now.week() !== this.week()) {
  18521. return '[下]dddLT';
  18522. } else {
  18523. return '[本]dddLT';
  18524. }
  18525. },
  18526. lastDay: '[昨天]LT',
  18527. lastWeek: function lastWeek(now) {
  18528. if (this.week() !== now.week()) {
  18529. return '[上]dddLT';
  18530. } else {
  18531. return '[本]dddLT';
  18532. }
  18533. },
  18534. sameElse: 'L'
  18535. },
  18536. dayOfMonthOrdinalParse: /\d{1,2}(日|月|周)/,
  18537. ordinal: function ordinal(number, period) {
  18538. switch (period) {
  18539. case 'd':
  18540. case 'D':
  18541. case 'DDD':
  18542. return number + '日';
  18543. case 'M':
  18544. return number + '月';
  18545. case 'w':
  18546. case 'W':
  18547. return number + '周';
  18548. default:
  18549. return number;
  18550. }
  18551. },
  18552. relativeTime: {
  18553. future: '%s后',
  18554. past: '%s前',
  18555. s: '几秒',
  18556. ss: '%d 秒',
  18557. m: '1 分钟',
  18558. mm: '%d 分钟',
  18559. h: '1 小时',
  18560. hh: '%d 小时',
  18561. d: '1 天',
  18562. dd: '%d 天',
  18563. w: '1 周',
  18564. ww: '%d 周',
  18565. M: '1 个月',
  18566. MM: '%d 个月',
  18567. y: '1 年',
  18568. yy: '%d 年'
  18569. },
  18570. week: {
  18571. // GB/T 7408-1994《数据元和交换格式·信息交换·日期和时间表示法》与ISO 8601:1988等效
  18572. dow: 1,
  18573. // Monday is the first day of the week.
  18574. doy: 4 // The week that contains Jan 4th is the first week of the year.
  18575. }
  18576. });
  18577. return zhCn;
  18578. });
  18579. /***/ }),
  18580. /***/ 186:
  18581. /*!********************************************************************************!*\
  18582. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/zh-hk.js ***!
  18583. \********************************************************************************/
  18584. /*! no static exports found */
  18585. /***/ (function(module, exports, __webpack_require__) {
  18586. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  18587. //! moment.js locale configuration
  18588. //! locale : Chinese (Hong Kong) [zh-hk]
  18589. //! author : Ben : https://github.com/ben-lin
  18590. //! author : Chris Lam : https://github.com/hehachris
  18591. //! author : Konstantin : https://github.com/skfd
  18592. //! author : Anthony : https://github.com/anthonylau
  18593. ;
  18594. (function (global, factory) {
  18595. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  18596. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  18597. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  18598. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  18599. })(this, function (moment) {
  18600. 'use strict';
  18601. //! moment.js locale configuration
  18602. var zhHk = moment.defineLocale('zh-hk', {
  18603. months: '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split('_'),
  18604. monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split('_'),
  18605. weekdays: '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'),
  18606. weekdaysShort: '週日_週一_週二_週三_週四_週五_週六'.split('_'),
  18607. weekdaysMin: '日_一_二_三_四_五_六'.split('_'),
  18608. longDateFormat: {
  18609. LT: 'HH:mm',
  18610. LTS: 'HH:mm:ss',
  18611. L: 'YYYY/MM/DD',
  18612. LL: 'YYYY年M月D日',
  18613. LLL: 'YYYY年M月D日 HH:mm',
  18614. LLLL: 'YYYY年M月D日dddd HH:mm',
  18615. l: 'YYYY/M/D',
  18616. ll: 'YYYY年M月D日',
  18617. lll: 'YYYY年M月D日 HH:mm',
  18618. llll: 'YYYY年M月D日dddd HH:mm'
  18619. },
  18620. meridiemParse: /凌晨|早上|上午|中午|下午|晚上/,
  18621. meridiemHour: function meridiemHour(hour, meridiem) {
  18622. if (hour === 12) {
  18623. hour = 0;
  18624. }
  18625. if (meridiem === '凌晨' || meridiem === '早上' || meridiem === '上午') {
  18626. return hour;
  18627. } else if (meridiem === '中午') {
  18628. return hour >= 11 ? hour : hour + 12;
  18629. } else if (meridiem === '下午' || meridiem === '晚上') {
  18630. return hour + 12;
  18631. }
  18632. },
  18633. meridiem: function meridiem(hour, minute, isLower) {
  18634. var hm = hour * 100 + minute;
  18635. if (hm < 600) {
  18636. return '凌晨';
  18637. } else if (hm < 900) {
  18638. return '早上';
  18639. } else if (hm < 1200) {
  18640. return '上午';
  18641. } else if (hm === 1200) {
  18642. return '中午';
  18643. } else if (hm < 1800) {
  18644. return '下午';
  18645. } else {
  18646. return '晚上';
  18647. }
  18648. },
  18649. calendar: {
  18650. sameDay: '[今天]LT',
  18651. nextDay: '[明天]LT',
  18652. nextWeek: '[下]ddddLT',
  18653. lastDay: '[昨天]LT',
  18654. lastWeek: '[上]ddddLT',
  18655. sameElse: 'L'
  18656. },
  18657. dayOfMonthOrdinalParse: /\d{1,2}(日|月|週)/,
  18658. ordinal: function ordinal(number, period) {
  18659. switch (period) {
  18660. case 'd':
  18661. case 'D':
  18662. case 'DDD':
  18663. return number + '日';
  18664. case 'M':
  18665. return number + '月';
  18666. case 'w':
  18667. case 'W':
  18668. return number + '週';
  18669. default:
  18670. return number;
  18671. }
  18672. },
  18673. relativeTime: {
  18674. future: '%s後',
  18675. past: '%s前',
  18676. s: '幾秒',
  18677. ss: '%d 秒',
  18678. m: '1 分鐘',
  18679. mm: '%d 分鐘',
  18680. h: '1 小時',
  18681. hh: '%d 小時',
  18682. d: '1 天',
  18683. dd: '%d 天',
  18684. M: '1 個月',
  18685. MM: '%d 個月',
  18686. y: '1 年',
  18687. yy: '%d 年'
  18688. }
  18689. });
  18690. return zhHk;
  18691. });
  18692. /***/ }),
  18693. /***/ 187:
  18694. /*!********************************************************************************!*\
  18695. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/zh-mo.js ***!
  18696. \********************************************************************************/
  18697. /*! no static exports found */
  18698. /***/ (function(module, exports, __webpack_require__) {
  18699. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  18700. //! moment.js locale configuration
  18701. //! locale : Chinese (Macau) [zh-mo]
  18702. //! author : Ben : https://github.com/ben-lin
  18703. //! author : Chris Lam : https://github.com/hehachris
  18704. //! author : Tan Yuanhong : https://github.com/le0tan
  18705. ;
  18706. (function (global, factory) {
  18707. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  18708. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  18709. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  18710. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  18711. })(this, function (moment) {
  18712. 'use strict';
  18713. //! moment.js locale configuration
  18714. var zhMo = moment.defineLocale('zh-mo', {
  18715. months: '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split('_'),
  18716. monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split('_'),
  18717. weekdays: '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'),
  18718. weekdaysShort: '週日_週一_週二_週三_週四_週五_週六'.split('_'),
  18719. weekdaysMin: '日_一_二_三_四_五_六'.split('_'),
  18720. longDateFormat: {
  18721. LT: 'HH:mm',
  18722. LTS: 'HH:mm:ss',
  18723. L: 'DD/MM/YYYY',
  18724. LL: 'YYYY年M月D日',
  18725. LLL: 'YYYY年M月D日 HH:mm',
  18726. LLLL: 'YYYY年M月D日dddd HH:mm',
  18727. l: 'D/M/YYYY',
  18728. ll: 'YYYY年M月D日',
  18729. lll: 'YYYY年M月D日 HH:mm',
  18730. llll: 'YYYY年M月D日dddd HH:mm'
  18731. },
  18732. meridiemParse: /凌晨|早上|上午|中午|下午|晚上/,
  18733. meridiemHour: function meridiemHour(hour, meridiem) {
  18734. if (hour === 12) {
  18735. hour = 0;
  18736. }
  18737. if (meridiem === '凌晨' || meridiem === '早上' || meridiem === '上午') {
  18738. return hour;
  18739. } else if (meridiem === '中午') {
  18740. return hour >= 11 ? hour : hour + 12;
  18741. } else if (meridiem === '下午' || meridiem === '晚上') {
  18742. return hour + 12;
  18743. }
  18744. },
  18745. meridiem: function meridiem(hour, minute, isLower) {
  18746. var hm = hour * 100 + minute;
  18747. if (hm < 600) {
  18748. return '凌晨';
  18749. } else if (hm < 900) {
  18750. return '早上';
  18751. } else if (hm < 1130) {
  18752. return '上午';
  18753. } else if (hm < 1230) {
  18754. return '中午';
  18755. } else if (hm < 1800) {
  18756. return '下午';
  18757. } else {
  18758. return '晚上';
  18759. }
  18760. },
  18761. calendar: {
  18762. sameDay: '[今天] LT',
  18763. nextDay: '[明天] LT',
  18764. nextWeek: '[下]dddd LT',
  18765. lastDay: '[昨天] LT',
  18766. lastWeek: '[上]dddd LT',
  18767. sameElse: 'L'
  18768. },
  18769. dayOfMonthOrdinalParse: /\d{1,2}(日|月|週)/,
  18770. ordinal: function ordinal(number, period) {
  18771. switch (period) {
  18772. case 'd':
  18773. case 'D':
  18774. case 'DDD':
  18775. return number + '日';
  18776. case 'M':
  18777. return number + '月';
  18778. case 'w':
  18779. case 'W':
  18780. return number + '週';
  18781. default:
  18782. return number;
  18783. }
  18784. },
  18785. relativeTime: {
  18786. future: '%s內',
  18787. past: '%s前',
  18788. s: '幾秒',
  18789. ss: '%d 秒',
  18790. m: '1 分鐘',
  18791. mm: '%d 分鐘',
  18792. h: '1 小時',
  18793. hh: '%d 小時',
  18794. d: '1 天',
  18795. dd: '%d 天',
  18796. M: '1 個月',
  18797. MM: '%d 個月',
  18798. y: '1 年',
  18799. yy: '%d 年'
  18800. }
  18801. });
  18802. return zhMo;
  18803. });
  18804. /***/ }),
  18805. /***/ 188:
  18806. /*!********************************************************************************!*\
  18807. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/zh-tw.js ***!
  18808. \********************************************************************************/
  18809. /*! no static exports found */
  18810. /***/ (function(module, exports, __webpack_require__) {
  18811. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  18812. //! moment.js locale configuration
  18813. //! locale : Chinese (Taiwan) [zh-tw]
  18814. //! author : Ben : https://github.com/ben-lin
  18815. //! author : Chris Lam : https://github.com/hehachris
  18816. ;
  18817. (function (global, factory) {
  18818. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  18819. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  18820. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  18821. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  18822. })(this, function (moment) {
  18823. 'use strict';
  18824. //! moment.js locale configuration
  18825. var zhTw = moment.defineLocale('zh-tw', {
  18826. months: '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split('_'),
  18827. monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split('_'),
  18828. weekdays: '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'),
  18829. weekdaysShort: '週日_週一_週二_週三_週四_週五_週六'.split('_'),
  18830. weekdaysMin: '日_一_二_三_四_五_六'.split('_'),
  18831. longDateFormat: {
  18832. LT: 'HH:mm',
  18833. LTS: 'HH:mm:ss',
  18834. L: 'YYYY/MM/DD',
  18835. LL: 'YYYY年M月D日',
  18836. LLL: 'YYYY年M月D日 HH:mm',
  18837. LLLL: 'YYYY年M月D日dddd HH:mm',
  18838. l: 'YYYY/M/D',
  18839. ll: 'YYYY年M月D日',
  18840. lll: 'YYYY年M月D日 HH:mm',
  18841. llll: 'YYYY年M月D日dddd HH:mm'
  18842. },
  18843. meridiemParse: /凌晨|早上|上午|中午|下午|晚上/,
  18844. meridiemHour: function meridiemHour(hour, meridiem) {
  18845. if (hour === 12) {
  18846. hour = 0;
  18847. }
  18848. if (meridiem === '凌晨' || meridiem === '早上' || meridiem === '上午') {
  18849. return hour;
  18850. } else if (meridiem === '中午') {
  18851. return hour >= 11 ? hour : hour + 12;
  18852. } else if (meridiem === '下午' || meridiem === '晚上') {
  18853. return hour + 12;
  18854. }
  18855. },
  18856. meridiem: function meridiem(hour, minute, isLower) {
  18857. var hm = hour * 100 + minute;
  18858. if (hm < 600) {
  18859. return '凌晨';
  18860. } else if (hm < 900) {
  18861. return '早上';
  18862. } else if (hm < 1130) {
  18863. return '上午';
  18864. } else if (hm < 1230) {
  18865. return '中午';
  18866. } else if (hm < 1800) {
  18867. return '下午';
  18868. } else {
  18869. return '晚上';
  18870. }
  18871. },
  18872. calendar: {
  18873. sameDay: '[今天] LT',
  18874. nextDay: '[明天] LT',
  18875. nextWeek: '[下]dddd LT',
  18876. lastDay: '[昨天] LT',
  18877. lastWeek: '[上]dddd LT',
  18878. sameElse: 'L'
  18879. },
  18880. dayOfMonthOrdinalParse: /\d{1,2}(日|月|週)/,
  18881. ordinal: function ordinal(number, period) {
  18882. switch (period) {
  18883. case 'd':
  18884. case 'D':
  18885. case 'DDD':
  18886. return number + '日';
  18887. case 'M':
  18888. return number + '月';
  18889. case 'w':
  18890. case 'W':
  18891. return number + '週';
  18892. default:
  18893. return number;
  18894. }
  18895. },
  18896. relativeTime: {
  18897. future: '%s後',
  18898. past: '%s前',
  18899. s: '幾秒',
  18900. ss: '%d 秒',
  18901. m: '1 分鐘',
  18902. mm: '%d 分鐘',
  18903. h: '1 小時',
  18904. hh: '%d 小時',
  18905. d: '1 天',
  18906. dd: '%d 天',
  18907. M: '1 個月',
  18908. MM: '%d 個月',
  18909. y: '1 年',
  18910. yy: '%d 年'
  18911. }
  18912. });
  18913. return zhTw;
  18914. });
  18915. /***/ }),
  18916. /***/ 189:
  18917. /*!*********************************************************!*\
  18918. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/util/util.js ***!
  18919. \*********************************************************/
  18920. /*! no static exports found */
  18921. /***/ (function(module, exports, __webpack_require__) {
  18922. "use strict";
  18923. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  18924. Object.defineProperty(exports, "__esModule", {
  18925. value: true
  18926. });
  18927. exports.default = void 0;
  18928. var _moment = _interopRequireDefault(__webpack_require__(/*! moment */ 51));
  18929. var _config = __webpack_require__(/*! ../static/config */ 39);
  18930. var _default = {
  18931. stopPrevent: function stopPrevent(event) {
  18932. var e = event || window.event;
  18933. if (e.preventDefault) {
  18934. e.preventDefault();
  18935. } else {
  18936. window.event.returnValue = false; // IE
  18937. }
  18938. },
  18939. // arrayFilter: 数组去重
  18940. arrayFilter: function arrayFilter(array) {
  18941. var newAray = [];
  18942. for (var i = 0, len = array.length - 1; i <= len; i++) {
  18943. if (newAray.indexOf(array[i]) < 0) {
  18944. newAray.push(array[i]);
  18945. }
  18946. }
  18947. return newAray;
  18948. },
  18949. /**
  18950. *
  18951. * @param start 开始展示的字符
  18952. * @param end 结束字符展示位置
  18953. * @param target 目标字符
  18954. * @param length
  18955. * @returns {string|string}
  18956. */
  18957. replaceStr: function replaceStr(target, start, end, length) {
  18958. var str = '';
  18959. if (start) {
  18960. str = target.substr(start, length) + '***';
  18961. } else if (end) {
  18962. str = '***' + target.substr(end, length);
  18963. } else {
  18964. str = target.substr(0, 1) + '***' + target.substr(target.length - 1, 1);
  18965. }
  18966. return str;
  18967. },
  18968. /**
  18969. *
  18970. * @param date 日期
  18971. * @param format 显示的格式
  18972. * @returns {string}
  18973. */
  18974. formatDate: function formatDate(date, format) {
  18975. if (date) {
  18976. return (0, _moment.default)(date).format(format);
  18977. }
  18978. },
  18979. padLeftZero: function padLeftZero(str) {
  18980. return ('00' + str).substr(str.length);
  18981. },
  18982. /**
  18983. * 格式化价格(保留两位小数)
  18984. * @param price 价格
  18985. * @returns {string}
  18986. */
  18987. currencyPrice: function currencyPrice(price) {
  18988. return parseFloat(price).toFixed(2);
  18989. },
  18990. /**
  18991. * 是否是数值
  18992. * @param value 要判断的参数值
  18993. * @returns {boolean}
  18994. */
  18995. isNumber: function isNumber(value) {
  18996. var reg = new RegExp('^[0-9]*$');
  18997. if (!reg.test(value)) {
  18998. return false;
  18999. }
  19000. return true;
  19001. },
  19002. /**
  19003. *
  19004. * @param beginAt 开始时间(时间戳)
  19005. * @param endAt 结束时间(时间戳)
  19006. * @returns {number}
  19007. */
  19008. activityStatus: function activityStatus(beginAt, endAt) {
  19009. var status = -1; // (0: 未开始;1: 进行中;2: 已过期)
  19010. var timestamp = Date.parse(new Date()) / 1000;
  19011. if (beginAt > timestamp) {
  19012. status = 0;
  19013. } else if (timestamp > beginAt && timestamp < endAt) {
  19014. status = 1;
  19015. } else if (timestamp > endAt) {
  19016. status = 2;
  19017. }
  19018. return status;
  19019. },
  19020. /**
  19021. * 把秒数换为*天*时*分*秒的时间格式
  19022. * @param interval 时间间隔(单位为s)
  19023. * @returns {string|*}
  19024. */
  19025. formatTimeInterval: function formatTimeInterval(interval) {
  19026. var format = null;
  19027. var day = parseInt(interval / 60.0 / 60.0 / 24.0);
  19028. var hour = parseInt(interval / 60 / 60 % 24);
  19029. var minute = parseInt(interval / 60 % 60);
  19030. var second = interval % 60;
  19031. format = day + ' 天 ' + hour + ' 时 ' + minute + ' 分 ' + second + ' 秒';
  19032. return format;
  19033. },
  19034. /**
  19035. * 获取未读消息数
  19036. * @param zhiManager
  19037. * @param scoped
  19038. * @param key
  19039. */
  19040. getunreadCount: function getunreadCount(zhiManager, scoped, key) {
  19041. zhiManager.on('unread.count', function (data) {});
  19042. zhiManager.on('receivemessage', function (ret) {
  19043. scoped.key = ret;
  19044. });
  19045. },
  19046. /**
  19047. *
  19048. * @param timestamp 时间戳转化为日期
  19049. * @returns {string}
  19050. */
  19051. timestampToTime: function timestampToTime(timestamp) {
  19052. var date = new Date(timestamp * 1000); // 时间戳为10位需*1000,时间戳为13位的话不需乘1000
  19053. var Y = date.getFullYear() + '-';
  19054. var M = (date.getMonth() + 1 < 10 ? '0' + (date.getMonth() + 1) : date.getMonth() + 1) + '-';
  19055. var D = date.getDate() + ' ';
  19056. var h = date.getHours() + ':';
  19057. var m = date.getMinutes() + ':';
  19058. var s = date.getSeconds();
  19059. return Y + M + D + h + m + s;
  19060. },
  19061. getUrlKey: function getUrlKey(url, name) {
  19062. return decodeURIComponent((new RegExp('[?|&]' + name + '=' + '([^&;]+?)(&|#|;|$)').exec(url) || [, ''])[1].replace(/\+/g, '%20')) || null;
  19063. }
  19064. };
  19065. exports.default = _default;
  19066. /***/ }),
  19067. /***/ 19:
  19068. /*!******************************************************************!*\
  19069. !*** ./node_modules/@babel/runtime/helpers/arrayWithoutHoles.js ***!
  19070. \******************************************************************/
  19071. /*! no static exports found */
  19072. /***/ (function(module, exports, __webpack_require__) {
  19073. var arrayLikeToArray = __webpack_require__(/*! ./arrayLikeToArray.js */ 9);
  19074. function _arrayWithoutHoles(arr) {
  19075. if (Array.isArray(arr)) return arrayLikeToArray(arr);
  19076. }
  19077. module.exports = _arrayWithoutHoles, module.exports.__esModule = true, module.exports["default"] = module.exports;
  19078. /***/ }),
  19079. /***/ 1902:
  19080. /*!********************************************************************************************************************!*\
  19081. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/uni_modules/uni-transition/components/uni-transition/createAnimation.js ***!
  19082. \********************************************************************************************************************/
  19083. /*! no static exports found */
  19084. /***/ (function(module, exports, __webpack_require__) {
  19085. "use strict";
  19086. /* WEBPACK VAR INJECTION */(function(uni) {
  19087. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  19088. Object.defineProperty(exports, "__esModule", {
  19089. value: true
  19090. });
  19091. exports.createAnimation = createAnimation;
  19092. var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ 11));
  19093. var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ 23));
  19094. var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ 24));
  19095. function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
  19096. function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
  19097. // const defaultOption = {
  19098. // duration: 300,
  19099. // timingFunction: 'linear',
  19100. // delay: 0,
  19101. // transformOrigin: '50% 50% 0'
  19102. // }
  19103. var MPAnimation = /*#__PURE__*/function () {
  19104. function MPAnimation(options, _this) {
  19105. (0, _classCallCheck2.default)(this, MPAnimation);
  19106. this.options = options;
  19107. this.animation = uni.createAnimation(options);
  19108. this.currentStepAnimates = {};
  19109. this.next = 0;
  19110. this.$ = _this;
  19111. }
  19112. (0, _createClass2.default)(MPAnimation, [{
  19113. key: "_nvuePushAnimates",
  19114. value: function _nvuePushAnimates(type, args) {
  19115. var aniObj = this.currentStepAnimates[this.next];
  19116. var styles = {};
  19117. if (!aniObj) {
  19118. styles = {
  19119. styles: {},
  19120. config: {}
  19121. };
  19122. } else {
  19123. styles = aniObj;
  19124. }
  19125. if (animateTypes1.includes(type)) {
  19126. if (!styles.styles.transform) {
  19127. styles.styles.transform = '';
  19128. }
  19129. var unit = '';
  19130. if (type === 'rotate') {
  19131. unit = 'deg';
  19132. }
  19133. styles.styles.transform += "".concat(type, "(").concat(args + unit, ") ");
  19134. } else {
  19135. styles.styles[type] = "".concat(args);
  19136. }
  19137. this.currentStepAnimates[this.next] = styles;
  19138. }
  19139. }, {
  19140. key: "_animateRun",
  19141. value: function _animateRun() {
  19142. var styles = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  19143. var config = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  19144. var ref = this.$.$refs['ani'].ref;
  19145. if (!ref) return;
  19146. return new Promise(function (resolve, reject) {
  19147. nvueAnimation.transition(ref, _objectSpread({
  19148. styles: styles
  19149. }, config), function (res) {
  19150. resolve();
  19151. });
  19152. });
  19153. }
  19154. }, {
  19155. key: "_nvueNextAnimate",
  19156. value: function _nvueNextAnimate(animates) {
  19157. var _this2 = this;
  19158. var step = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
  19159. var fn = arguments.length > 2 ? arguments[2] : undefined;
  19160. var obj = animates[step];
  19161. if (obj) {
  19162. var styles = obj.styles,
  19163. config = obj.config;
  19164. this._animateRun(styles, config).then(function () {
  19165. step += 1;
  19166. _this2._nvueNextAnimate(animates, step, fn);
  19167. });
  19168. } else {
  19169. this.currentStepAnimates = {};
  19170. typeof fn === 'function' && fn();
  19171. this.isEnd = true;
  19172. }
  19173. }
  19174. }, {
  19175. key: "step",
  19176. value: function step() {
  19177. var config = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  19178. this.animation.step(config);
  19179. return this;
  19180. }
  19181. }, {
  19182. key: "run",
  19183. value: function run(fn) {
  19184. this.$.animationData = this.animation.export();
  19185. this.$.timer = setTimeout(function () {
  19186. typeof fn === 'function' && fn();
  19187. }, this.$.durationTime);
  19188. }
  19189. }]);
  19190. return MPAnimation;
  19191. }();
  19192. var animateTypes1 = ['matrix', 'matrix3d', 'rotate', 'rotate3d', 'rotateX', 'rotateY', 'rotateZ', 'scale', 'scale3d', 'scaleX', 'scaleY', 'scaleZ', 'skew', 'skewX', 'skewY', 'translate', 'translate3d', 'translateX', 'translateY', 'translateZ'];
  19193. var animateTypes2 = ['opacity', 'backgroundColor'];
  19194. var animateTypes3 = ['width', 'height', 'left', 'right', 'top', 'bottom'];
  19195. animateTypes1.concat(animateTypes2, animateTypes3).forEach(function (type) {
  19196. MPAnimation.prototype[type] = function () {
  19197. var _this$animation;
  19198. (_this$animation = this.animation)[type].apply(_this$animation, arguments);
  19199. return this;
  19200. };
  19201. });
  19202. function createAnimation(option, _this) {
  19203. if (!_this) return;
  19204. clearTimeout(_this.timer);
  19205. return new MPAnimation(option, _this);
  19206. }
  19207. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  19208. /***/ }),
  19209. /***/ 1915:
  19210. /*!************************************************************************************************!*\
  19211. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/uni_modules/uni-icons/components/uni-icons/icons.js ***!
  19212. \************************************************************************************************/
  19213. /*! no static exports found */
  19214. /***/ (function(module, exports, __webpack_require__) {
  19215. "use strict";
  19216. Object.defineProperty(exports, "__esModule", {
  19217. value: true
  19218. });
  19219. exports.default = void 0;
  19220. var _default = {
  19221. "pulldown": "\uE588",
  19222. "refreshempty": "\uE461",
  19223. "back": "\uE471",
  19224. "forward": "\uE470",
  19225. "more": "\uE507",
  19226. "more-filled": "\uE537",
  19227. "scan": "\uE612",
  19228. "qq": "\uE264",
  19229. "weibo": "\uE260",
  19230. "weixin": "\uE261",
  19231. "pengyouquan": "\uE262",
  19232. "loop": "\uE565",
  19233. "refresh": "\uE407",
  19234. "refresh-filled": "\uE437",
  19235. "arrowthindown": "\uE585",
  19236. "arrowthinleft": "\uE586",
  19237. "arrowthinright": "\uE587",
  19238. "arrowthinup": "\uE584",
  19239. "undo-filled": "\uE7D6",
  19240. "undo": "\uE406",
  19241. "redo": "\uE405",
  19242. "redo-filled": "\uE7D9",
  19243. "bars": "\uE563",
  19244. "chatboxes": "\uE203",
  19245. "camera": "\uE301",
  19246. "chatboxes-filled": "\uE233",
  19247. "camera-filled": "\uE7EF",
  19248. "cart-filled": "\uE7F4",
  19249. "cart": "\uE7F5",
  19250. "checkbox-filled": "\uE442",
  19251. "checkbox": "\uE7FA",
  19252. "arrowleft": "\uE582",
  19253. "arrowdown": "\uE581",
  19254. "arrowright": "\uE583",
  19255. "smallcircle-filled": "\uE801",
  19256. "arrowup": "\uE580",
  19257. "circle": "\uE411",
  19258. "eye-filled": "\uE568",
  19259. "eye-slash-filled": "\uE822",
  19260. "eye-slash": "\uE823",
  19261. "eye": "\uE824",
  19262. "flag-filled": "\uE825",
  19263. "flag": "\uE508",
  19264. "gear-filled": "\uE532",
  19265. "reload": "\uE462",
  19266. "gear": "\uE502",
  19267. "hand-thumbsdown-filled": "\uE83B",
  19268. "hand-thumbsdown": "\uE83C",
  19269. "hand-thumbsup-filled": "\uE83D",
  19270. "heart-filled": "\uE83E",
  19271. "hand-thumbsup": "\uE83F",
  19272. "heart": "\uE840",
  19273. "home": "\uE500",
  19274. "info": "\uE504",
  19275. "home-filled": "\uE530",
  19276. "info-filled": "\uE534",
  19277. "circle-filled": "\uE441",
  19278. "chat-filled": "\uE847",
  19279. "chat": "\uE263",
  19280. "mail-open-filled": "\uE84D",
  19281. "email-filled": "\uE231",
  19282. "mail-open": "\uE84E",
  19283. "email": "\uE201",
  19284. "checkmarkempty": "\uE472",
  19285. "list": "\uE562",
  19286. "locked-filled": "\uE856",
  19287. "locked": "\uE506",
  19288. "map-filled": "\uE85C",
  19289. "map-pin": "\uE85E",
  19290. "map-pin-ellipse": "\uE864",
  19291. "map": "\uE364",
  19292. "minus-filled": "\uE440",
  19293. "mic-filled": "\uE332",
  19294. "minus": "\uE410",
  19295. "micoff": "\uE360",
  19296. "mic": "\uE302",
  19297. "clear": "\uE434",
  19298. "smallcircle": "\uE868",
  19299. "close": "\uE404",
  19300. "closeempty": "\uE460",
  19301. "paperclip": "\uE567",
  19302. "paperplane": "\uE503",
  19303. "paperplane-filled": "\uE86E",
  19304. "person-filled": "\uE131",
  19305. "contact-filled": "\uE130",
  19306. "person": "\uE101",
  19307. "contact": "\uE100",
  19308. "images-filled": "\uE87A",
  19309. "phone": "\uE200",
  19310. "images": "\uE87B",
  19311. "image": "\uE363",
  19312. "image-filled": "\uE877",
  19313. "location-filled": "\uE333",
  19314. "location": "\uE303",
  19315. "plus-filled": "\uE439",
  19316. "plus": "\uE409",
  19317. "plusempty": "\uE468",
  19318. "help-filled": "\uE535",
  19319. "help": "\uE505",
  19320. "navigate-filled": "\uE884",
  19321. "navigate": "\uE501",
  19322. "mic-slash-filled": "\uE892",
  19323. "search": "\uE466",
  19324. "settings": "\uE560",
  19325. "sound": "\uE590",
  19326. "sound-filled": "\uE8A1",
  19327. "spinner-cycle": "\uE465",
  19328. "download-filled": "\uE8A4",
  19329. "personadd-filled": "\uE132",
  19330. "videocam-filled": "\uE8AF",
  19331. "personadd": "\uE102",
  19332. "upload": "\uE402",
  19333. "upload-filled": "\uE8B1",
  19334. "starhalf": "\uE463",
  19335. "star-filled": "\uE438",
  19336. "star": "\uE408",
  19337. "trash": "\uE401",
  19338. "phone-filled": "\uE230",
  19339. "compose": "\uE400",
  19340. "videocam": "\uE300",
  19341. "trash-filled": "\uE8DC",
  19342. "download": "\uE403",
  19343. "chatbubble-filled": "\uE232",
  19344. "chatbubble": "\uE202",
  19345. "cloud-download": "\uE8E4",
  19346. "cloud-upload-filled": "\uE8E5",
  19347. "cloud-upload": "\uE8E6",
  19348. "cloud-download-filled": "\uE8E9",
  19349. "headphones": "\uE8BF",
  19350. "shop": "\uE609"
  19351. };
  19352. exports.default = _default;
  19353. /***/ }),
  19354. /***/ 196:
  19355. /*!***********************************************************!*\
  19356. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/util/common.js ***!
  19357. \***********************************************************/
  19358. /*! no static exports found */
  19359. /***/ (function(module, exports, __webpack_require__) {
  19360. "use strict";
  19361. /* WEBPACK VAR INJECTION */(function(uni) {
  19362. Object.defineProperty(exports, "__esModule", {
  19363. value: true
  19364. });
  19365. exports.getDistance = getDistance;
  19366. exports.getFontSize = getFontSize;
  19367. exports.loadCSS = loadCSS;
  19368. exports.loadScript = loadScript;
  19369. exports.urlencode = urlencode;
  19370. var EARTH_RADIUS = 6378137.0; // 单位M
  19371. var PI = Math.PI;
  19372. function getRad(d) {
  19373. return d * PI / 180.0;
  19374. }
  19375. function getFontSize() {
  19376. var res = uni.getSystemInfoSync();
  19377. var width = res.windowWidth;
  19378. var size = 20;
  19379. if (width > 641) {
  19380. size = 23;
  19381. } else if (width > 414) {
  19382. size = 22;
  19383. } else if (width > 376) {
  19384. size = 21;
  19385. }
  19386. return size;
  19387. }
  19388. /**
  19389. * caculate the great circle distance
  19390. * @param {Object} lat1
  19391. * @param {Object} lng1
  19392. * @param {Object} lat2
  19393. * @param {Object} lng2
  19394. */
  19395. function getDistance(lat1, lng1, lat2, lng2) {
  19396. var f = getRad((lat1 + lat2) / 2);
  19397. var g = getRad((lat1 - lat2) / 2);
  19398. var l = getRad((lng1 - lng2) / 2);
  19399. var sg = Math.sin(g);
  19400. var sl = Math.sin(l);
  19401. var sf = Math.sin(f);
  19402. var s, c, w, r, d, h1, h2;
  19403. var a = EARTH_RADIUS;
  19404. var fl = 1 / 298.257;
  19405. sg = sg * sg;
  19406. sl = sl * sl;
  19407. sf = sf * sf;
  19408. s = sg * (1 - sl) + (1 - sf) * sl;
  19409. c = (1 - sg) * (1 - sl) + sf * sl;
  19410. w = Math.atan(Math.sqrt(s / c));
  19411. r = Math.sqrt(s * c) / w;
  19412. d = 2 * w * a;
  19413. h1 = (3 * r - 1) / 2 / c;
  19414. h2 = (3 * r + 1) / 2 / s;
  19415. return d * (1 + fl * (h1 * sf * (1 - sg) - h2 * (1 - sf) * sg));
  19416. }
  19417. // 将一个对象转成QueryString
  19418. function urlencode(data) {
  19419. var _result = [];
  19420. for (var key in data) {
  19421. var value = data[key];
  19422. _result.push(key + '=' + value);
  19423. }
  19424. return _result.join('&');
  19425. }
  19426. // 加载js
  19427. var scriptLoaded = {};
  19428. function loadScript(code, url, callback) {
  19429. if (typeof scriptLoaded[code] === 'undefined') {
  19430. var script = document.createElement('script');
  19431. script.src = url;
  19432. document.body.appendChild(script);
  19433. script.onload = function () {
  19434. scriptLoaded[code] = true;
  19435. callback();
  19436. };
  19437. } else {
  19438. callback();
  19439. }
  19440. }
  19441. // 加载css
  19442. var cssLoaded = {};
  19443. function loadCSS(code, url) {
  19444. var link = document.createElement('link');
  19445. link.href = url;
  19446. link.type = 'text/css';
  19447. link.rel = 'stylesheet';
  19448. document.body.appendChild(link);
  19449. link.onload = function () {
  19450. cssLoaded[code] = true;
  19451. };
  19452. }
  19453. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  19454. /***/ }),
  19455. /***/ 2:
  19456. /*!************************************************************!*\
  19457. !*** ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js ***!
  19458. \************************************************************/
  19459. /*! no static exports found */
  19460. /***/ (function(module, exports, __webpack_require__) {
  19461. "use strict";
  19462. /* WEBPACK VAR INJECTION */(function(wx, global) {
  19463. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  19464. Object.defineProperty(exports, "__esModule", {
  19465. value: true
  19466. });
  19467. exports.createApp = createApp;
  19468. exports.createComponent = createComponent;
  19469. exports.createPage = createPage;
  19470. exports.createPlugin = createPlugin;
  19471. exports.createSubpackageApp = createSubpackageApp;
  19472. exports.default = void 0;
  19473. var _slicedToArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/slicedToArray */ 5));
  19474. var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ 11));
  19475. var _construct2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/construct */ 15));
  19476. var _toConsumableArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/toConsumableArray */ 18));
  19477. var _typeof2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/typeof */ 13));
  19478. var _uniI18n = __webpack_require__(/*! @dcloudio/uni-i18n */ 22);
  19479. var _vue = _interopRequireDefault(__webpack_require__(/*! vue */ 25));
  19480. function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
  19481. function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
  19482. var realAtob;
  19483. var b64 = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';
  19484. var b64re = /^(?:[A-Za-z\d+/]{4})*?(?:[A-Za-z\d+/]{2}(?:==)?|[A-Za-z\d+/]{3}=?)?$/;
  19485. if (typeof atob !== 'function') {
  19486. realAtob = function realAtob(str) {
  19487. str = String(str).replace(/[\t\n\f\r ]+/g, '');
  19488. if (!b64re.test(str)) {
  19489. throw new Error("Failed to execute 'atob' on 'Window': The string to be decoded is not correctly encoded.");
  19490. }
  19491. // Adding the padding if missing, for semplicity
  19492. str += '=='.slice(2 - (str.length & 3));
  19493. var bitmap;
  19494. var result = '';
  19495. var r1;
  19496. var r2;
  19497. var i = 0;
  19498. for (; i < str.length;) {
  19499. bitmap = b64.indexOf(str.charAt(i++)) << 18 | b64.indexOf(str.charAt(i++)) << 12 | (r1 = b64.indexOf(str.charAt(i++))) << 6 | (r2 = b64.indexOf(str.charAt(i++)));
  19500. result += r1 === 64 ? String.fromCharCode(bitmap >> 16 & 255) : r2 === 64 ? String.fromCharCode(bitmap >> 16 & 255, bitmap >> 8 & 255) : String.fromCharCode(bitmap >> 16 & 255, bitmap >> 8 & 255, bitmap & 255);
  19501. }
  19502. return result;
  19503. };
  19504. } else {
  19505. // 注意atob只能在全局对象上调用,例如:`const Base64 = {atob};Base64.atob('xxxx')`是错误的用法
  19506. realAtob = atob;
  19507. }
  19508. function b64DecodeUnicode(str) {
  19509. return decodeURIComponent(realAtob(str).split('').map(function (c) {
  19510. return '%' + ('00' + c.charCodeAt(0).toString(16)).slice(-2);
  19511. }).join(''));
  19512. }
  19513. function getCurrentUserInfo() {
  19514. var token = wx.getStorageSync('uni_id_token') || '';
  19515. var tokenArr = token.split('.');
  19516. if (!token || tokenArr.length !== 3) {
  19517. return {
  19518. uid: null,
  19519. role: [],
  19520. permission: [],
  19521. tokenExpired: 0
  19522. };
  19523. }
  19524. var userInfo;
  19525. try {
  19526. userInfo = JSON.parse(b64DecodeUnicode(tokenArr[1]));
  19527. } catch (error) {
  19528. throw new Error('获取当前用户信息出错,详细错误信息为:' + error.message);
  19529. }
  19530. userInfo.tokenExpired = userInfo.exp * 1000;
  19531. delete userInfo.exp;
  19532. delete userInfo.iat;
  19533. return userInfo;
  19534. }
  19535. function uniIdMixin(Vue) {
  19536. Vue.prototype.uniIDHasRole = function (roleId) {
  19537. var _getCurrentUserInfo = getCurrentUserInfo(),
  19538. role = _getCurrentUserInfo.role;
  19539. return role.indexOf(roleId) > -1;
  19540. };
  19541. Vue.prototype.uniIDHasPermission = function (permissionId) {
  19542. var _getCurrentUserInfo2 = getCurrentUserInfo(),
  19543. permission = _getCurrentUserInfo2.permission;
  19544. return this.uniIDHasRole('admin') || permission.indexOf(permissionId) > -1;
  19545. };
  19546. Vue.prototype.uniIDTokenValid = function () {
  19547. var _getCurrentUserInfo3 = getCurrentUserInfo(),
  19548. tokenExpired = _getCurrentUserInfo3.tokenExpired;
  19549. return tokenExpired > Date.now();
  19550. };
  19551. }
  19552. var _toString = Object.prototype.toString;
  19553. var hasOwnProperty = Object.prototype.hasOwnProperty;
  19554. function isFn(fn) {
  19555. return typeof fn === 'function';
  19556. }
  19557. function isStr(str) {
  19558. return typeof str === 'string';
  19559. }
  19560. function isObject(obj) {
  19561. return obj !== null && (0, _typeof2.default)(obj) === 'object';
  19562. }
  19563. function isPlainObject(obj) {
  19564. return _toString.call(obj) === '[object Object]';
  19565. }
  19566. function hasOwn(obj, key) {
  19567. return hasOwnProperty.call(obj, key);
  19568. }
  19569. function noop() {}
  19570. /**
  19571. * Create a cached version of a pure function.
  19572. */
  19573. function cached(fn) {
  19574. var cache = Object.create(null);
  19575. return function cachedFn(str) {
  19576. var hit = cache[str];
  19577. return hit || (cache[str] = fn(str));
  19578. };
  19579. }
  19580. /**
  19581. * Camelize a hyphen-delimited string.
  19582. */
  19583. var camelizeRE = /-(\w)/g;
  19584. var camelize = cached(function (str) {
  19585. return str.replace(camelizeRE, function (_, c) {
  19586. return c ? c.toUpperCase() : '';
  19587. });
  19588. });
  19589. function sortObject(obj) {
  19590. var sortObj = {};
  19591. if (isPlainObject(obj)) {
  19592. Object.keys(obj).sort().forEach(function (key) {
  19593. sortObj[key] = obj[key];
  19594. });
  19595. }
  19596. return !Object.keys(sortObj) ? obj : sortObj;
  19597. }
  19598. var HOOKS = ['invoke', 'success', 'fail', 'complete', 'returnValue'];
  19599. var globalInterceptors = {};
  19600. var scopedInterceptors = {};
  19601. function mergeHook(parentVal, childVal) {
  19602. var res = childVal ? parentVal ? parentVal.concat(childVal) : Array.isArray(childVal) ? childVal : [childVal] : parentVal;
  19603. return res ? dedupeHooks(res) : res;
  19604. }
  19605. function dedupeHooks(hooks) {
  19606. var res = [];
  19607. for (var i = 0; i < hooks.length; i++) {
  19608. if (res.indexOf(hooks[i]) === -1) {
  19609. res.push(hooks[i]);
  19610. }
  19611. }
  19612. return res;
  19613. }
  19614. function removeHook(hooks, hook) {
  19615. var index = hooks.indexOf(hook);
  19616. if (index !== -1) {
  19617. hooks.splice(index, 1);
  19618. }
  19619. }
  19620. function mergeInterceptorHook(interceptor, option) {
  19621. Object.keys(option).forEach(function (hook) {
  19622. if (HOOKS.indexOf(hook) !== -1 && isFn(option[hook])) {
  19623. interceptor[hook] = mergeHook(interceptor[hook], option[hook]);
  19624. }
  19625. });
  19626. }
  19627. function removeInterceptorHook(interceptor, option) {
  19628. if (!interceptor || !option) {
  19629. return;
  19630. }
  19631. Object.keys(option).forEach(function (hook) {
  19632. if (HOOKS.indexOf(hook) !== -1 && isFn(option[hook])) {
  19633. removeHook(interceptor[hook], option[hook]);
  19634. }
  19635. });
  19636. }
  19637. function addInterceptor(method, option) {
  19638. if (typeof method === 'string' && isPlainObject(option)) {
  19639. mergeInterceptorHook(scopedInterceptors[method] || (scopedInterceptors[method] = {}), option);
  19640. } else if (isPlainObject(method)) {
  19641. mergeInterceptorHook(globalInterceptors, method);
  19642. }
  19643. }
  19644. function removeInterceptor(method, option) {
  19645. if (typeof method === 'string') {
  19646. if (isPlainObject(option)) {
  19647. removeInterceptorHook(scopedInterceptors[method], option);
  19648. } else {
  19649. delete scopedInterceptors[method];
  19650. }
  19651. } else if (isPlainObject(method)) {
  19652. removeInterceptorHook(globalInterceptors, method);
  19653. }
  19654. }
  19655. function wrapperHook(hook) {
  19656. return function (data) {
  19657. return hook(data) || data;
  19658. };
  19659. }
  19660. function isPromise(obj) {
  19661. return !!obj && ((0, _typeof2.default)(obj) === 'object' || typeof obj === 'function') && typeof obj.then === 'function';
  19662. }
  19663. function queue(hooks, data) {
  19664. var promise = false;
  19665. for (var i = 0; i < hooks.length; i++) {
  19666. var hook = hooks[i];
  19667. if (promise) {
  19668. promise = Promise.resolve(wrapperHook(hook));
  19669. } else {
  19670. var res = hook(data);
  19671. if (isPromise(res)) {
  19672. promise = Promise.resolve(res);
  19673. }
  19674. if (res === false) {
  19675. return {
  19676. then: function then() {}
  19677. };
  19678. }
  19679. }
  19680. }
  19681. return promise || {
  19682. then: function then(callback) {
  19683. return callback(data);
  19684. }
  19685. };
  19686. }
  19687. function wrapperOptions(interceptor) {
  19688. var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  19689. ['success', 'fail', 'complete'].forEach(function (name) {
  19690. if (Array.isArray(interceptor[name])) {
  19691. var oldCallback = options[name];
  19692. options[name] = function callbackInterceptor(res) {
  19693. queue(interceptor[name], res).then(function (res) {
  19694. /* eslint-disable no-mixed-operators */
  19695. return isFn(oldCallback) && oldCallback(res) || res;
  19696. });
  19697. };
  19698. }
  19699. });
  19700. return options;
  19701. }
  19702. function wrapperReturnValue(method, returnValue) {
  19703. var returnValueHooks = [];
  19704. if (Array.isArray(globalInterceptors.returnValue)) {
  19705. returnValueHooks.push.apply(returnValueHooks, (0, _toConsumableArray2.default)(globalInterceptors.returnValue));
  19706. }
  19707. var interceptor = scopedInterceptors[method];
  19708. if (interceptor && Array.isArray(interceptor.returnValue)) {
  19709. returnValueHooks.push.apply(returnValueHooks, (0, _toConsumableArray2.default)(interceptor.returnValue));
  19710. }
  19711. returnValueHooks.forEach(function (hook) {
  19712. returnValue = hook(returnValue) || returnValue;
  19713. });
  19714. return returnValue;
  19715. }
  19716. function getApiInterceptorHooks(method) {
  19717. var interceptor = Object.create(null);
  19718. Object.keys(globalInterceptors).forEach(function (hook) {
  19719. if (hook !== 'returnValue') {
  19720. interceptor[hook] = globalInterceptors[hook].slice();
  19721. }
  19722. });
  19723. var scopedInterceptor = scopedInterceptors[method];
  19724. if (scopedInterceptor) {
  19725. Object.keys(scopedInterceptor).forEach(function (hook) {
  19726. if (hook !== 'returnValue') {
  19727. interceptor[hook] = (interceptor[hook] || []).concat(scopedInterceptor[hook]);
  19728. }
  19729. });
  19730. }
  19731. return interceptor;
  19732. }
  19733. function invokeApi(method, api, options) {
  19734. for (var _len = arguments.length, params = new Array(_len > 3 ? _len - 3 : 0), _key = 3; _key < _len; _key++) {
  19735. params[_key - 3] = arguments[_key];
  19736. }
  19737. var interceptor = getApiInterceptorHooks(method);
  19738. if (interceptor && Object.keys(interceptor).length) {
  19739. if (Array.isArray(interceptor.invoke)) {
  19740. var res = queue(interceptor.invoke, options);
  19741. return res.then(function (options) {
  19742. return api.apply(void 0, [wrapperOptions(interceptor, options)].concat(params));
  19743. });
  19744. } else {
  19745. return api.apply(void 0, [wrapperOptions(interceptor, options)].concat(params));
  19746. }
  19747. }
  19748. return api.apply(void 0, [options].concat(params));
  19749. }
  19750. var promiseInterceptor = {
  19751. returnValue: function returnValue(res) {
  19752. if (!isPromise(res)) {
  19753. return res;
  19754. }
  19755. return new Promise(function (resolve, reject) {
  19756. res.then(function (res) {
  19757. if (res[0]) {
  19758. reject(res[0]);
  19759. } else {
  19760. resolve(res[1]);
  19761. }
  19762. });
  19763. });
  19764. }
  19765. };
  19766. var SYNC_API_RE = /^\$|Window$|WindowStyle$|sendHostEvent|sendNativeEvent|restoreGlobal|requireGlobal|getCurrentSubNVue|getMenuButtonBoundingClientRect|^report|interceptors|Interceptor$|getSubNVueById|requireNativePlugin|upx2px|hideKeyboard|canIUse|^create|Sync$|Manager$|base64ToArrayBuffer|arrayBufferToBase64|getLocale|setLocale|invokePushCallback|getWindowInfo|getDeviceInfo|getAppBaseInfo|getSystemSetting|getAppAuthorizeSetting|initUTS|requireUTS|registerUTS/;
  19767. var CONTEXT_API_RE = /^create|Manager$/;
  19768. // Context例外情况
  19769. var CONTEXT_API_RE_EXC = ['createBLEConnection'];
  19770. // 同步例外情况
  19771. var ASYNC_API = ['createBLEConnection', 'createPushMessage'];
  19772. var CALLBACK_API_RE = /^on|^off/;
  19773. function isContextApi(name) {
  19774. return CONTEXT_API_RE.test(name) && CONTEXT_API_RE_EXC.indexOf(name) === -1;
  19775. }
  19776. function isSyncApi(name) {
  19777. return SYNC_API_RE.test(name) && ASYNC_API.indexOf(name) === -1;
  19778. }
  19779. function isCallbackApi(name) {
  19780. return CALLBACK_API_RE.test(name) && name !== 'onPush';
  19781. }
  19782. function handlePromise(promise) {
  19783. return promise.then(function (data) {
  19784. return [null, data];
  19785. }).catch(function (err) {
  19786. return [err];
  19787. });
  19788. }
  19789. function shouldPromise(name) {
  19790. if (isContextApi(name) || isSyncApi(name) || isCallbackApi(name)) {
  19791. return false;
  19792. }
  19793. return true;
  19794. }
  19795. /* eslint-disable no-extend-native */
  19796. if (!Promise.prototype.finally) {
  19797. Promise.prototype.finally = function (callback) {
  19798. var promise = this.constructor;
  19799. return this.then(function (value) {
  19800. return promise.resolve(callback()).then(function () {
  19801. return value;
  19802. });
  19803. }, function (reason) {
  19804. return promise.resolve(callback()).then(function () {
  19805. throw reason;
  19806. });
  19807. });
  19808. };
  19809. }
  19810. function promisify(name, api) {
  19811. if (!shouldPromise(name) || !isFn(api)) {
  19812. return api;
  19813. }
  19814. return function promiseApi() {
  19815. var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  19816. for (var _len2 = arguments.length, params = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
  19817. params[_key2 - 1] = arguments[_key2];
  19818. }
  19819. if (isFn(options.success) || isFn(options.fail) || isFn(options.complete)) {
  19820. return wrapperReturnValue(name, invokeApi.apply(void 0, [name, api, options].concat(params)));
  19821. }
  19822. return wrapperReturnValue(name, handlePromise(new Promise(function (resolve, reject) {
  19823. invokeApi.apply(void 0, [name, api, Object.assign({}, options, {
  19824. success: resolve,
  19825. fail: reject
  19826. })].concat(params));
  19827. })));
  19828. };
  19829. }
  19830. var EPS = 1e-4;
  19831. var BASE_DEVICE_WIDTH = 750;
  19832. var isIOS = false;
  19833. var deviceWidth = 0;
  19834. var deviceDPR = 0;
  19835. function checkDeviceWidth() {
  19836. var _wx$getSystemInfoSync = wx.getSystemInfoSync(),
  19837. platform = _wx$getSystemInfoSync.platform,
  19838. pixelRatio = _wx$getSystemInfoSync.pixelRatio,
  19839. windowWidth = _wx$getSystemInfoSync.windowWidth; // uni=>wx runtime 编译目标是 uni 对象,内部不允许直接使用 uni
  19840. deviceWidth = windowWidth;
  19841. deviceDPR = pixelRatio;
  19842. isIOS = platform === 'ios';
  19843. }
  19844. function upx2px(number, newDeviceWidth) {
  19845. if (deviceWidth === 0) {
  19846. checkDeviceWidth();
  19847. }
  19848. number = Number(number);
  19849. if (number === 0) {
  19850. return 0;
  19851. }
  19852. var result = number / BASE_DEVICE_WIDTH * (newDeviceWidth || deviceWidth);
  19853. if (result < 0) {
  19854. result = -result;
  19855. }
  19856. result = Math.floor(result + EPS);
  19857. if (result === 0) {
  19858. if (deviceDPR === 1 || !isIOS) {
  19859. result = 1;
  19860. } else {
  19861. result = 0.5;
  19862. }
  19863. }
  19864. return number < 0 ? -result : result;
  19865. }
  19866. var LOCALE_ZH_HANS = 'zh-Hans';
  19867. var LOCALE_ZH_HANT = 'zh-Hant';
  19868. var LOCALE_EN = 'en';
  19869. var LOCALE_FR = 'fr';
  19870. var LOCALE_ES = 'es';
  19871. var messages = {};
  19872. var locale;
  19873. {
  19874. locale = normalizeLocale(wx.getSystemInfoSync().language) || LOCALE_EN;
  19875. }
  19876. function initI18nMessages() {
  19877. if (!isEnableLocale()) {
  19878. return;
  19879. }
  19880. var localeKeys = Object.keys(__uniConfig.locales);
  19881. if (localeKeys.length) {
  19882. localeKeys.forEach(function (locale) {
  19883. var curMessages = messages[locale];
  19884. var userMessages = __uniConfig.locales[locale];
  19885. if (curMessages) {
  19886. Object.assign(curMessages, userMessages);
  19887. } else {
  19888. messages[locale] = userMessages;
  19889. }
  19890. });
  19891. }
  19892. }
  19893. initI18nMessages();
  19894. var i18n = (0, _uniI18n.initVueI18n)(locale, {});
  19895. var t = i18n.t;
  19896. var i18nMixin = i18n.mixin = {
  19897. beforeCreate: function beforeCreate() {
  19898. var _this = this;
  19899. var unwatch = i18n.i18n.watchLocale(function () {
  19900. _this.$forceUpdate();
  19901. });
  19902. this.$once('hook:beforeDestroy', function () {
  19903. unwatch();
  19904. });
  19905. },
  19906. methods: {
  19907. $$t: function $$t(key, values) {
  19908. return t(key, values);
  19909. }
  19910. }
  19911. };
  19912. var setLocale = i18n.setLocale;
  19913. var getLocale = i18n.getLocale;
  19914. function initAppLocale(Vue, appVm, locale) {
  19915. var state = Vue.observable({
  19916. locale: locale || i18n.getLocale()
  19917. });
  19918. var localeWatchers = [];
  19919. appVm.$watchLocale = function (fn) {
  19920. localeWatchers.push(fn);
  19921. };
  19922. Object.defineProperty(appVm, '$locale', {
  19923. get: function get() {
  19924. return state.locale;
  19925. },
  19926. set: function set(v) {
  19927. state.locale = v;
  19928. localeWatchers.forEach(function (watch) {
  19929. return watch(v);
  19930. });
  19931. }
  19932. });
  19933. }
  19934. function isEnableLocale() {
  19935. return typeof __uniConfig !== 'undefined' && __uniConfig.locales && !!Object.keys(__uniConfig.locales).length;
  19936. }
  19937. function include(str, parts) {
  19938. return !!parts.find(function (part) {
  19939. return str.indexOf(part) !== -1;
  19940. });
  19941. }
  19942. function startsWith(str, parts) {
  19943. return parts.find(function (part) {
  19944. return str.indexOf(part) === 0;
  19945. });
  19946. }
  19947. function normalizeLocale(locale, messages) {
  19948. if (!locale) {
  19949. return;
  19950. }
  19951. locale = locale.trim().replace(/_/g, '-');
  19952. if (messages && messages[locale]) {
  19953. return locale;
  19954. }
  19955. locale = locale.toLowerCase();
  19956. if (locale === 'chinese') {
  19957. // 支付宝
  19958. return LOCALE_ZH_HANS;
  19959. }
  19960. if (locale.indexOf('zh') === 0) {
  19961. if (locale.indexOf('-hans') > -1) {
  19962. return LOCALE_ZH_HANS;
  19963. }
  19964. if (locale.indexOf('-hant') > -1) {
  19965. return LOCALE_ZH_HANT;
  19966. }
  19967. if (include(locale, ['-tw', '-hk', '-mo', '-cht'])) {
  19968. return LOCALE_ZH_HANT;
  19969. }
  19970. return LOCALE_ZH_HANS;
  19971. }
  19972. var lang = startsWith(locale, [LOCALE_EN, LOCALE_FR, LOCALE_ES]);
  19973. if (lang) {
  19974. return lang;
  19975. }
  19976. }
  19977. // export function initI18n() {
  19978. // const localeKeys = Object.keys(__uniConfig.locales || {})
  19979. // if (localeKeys.length) {
  19980. // localeKeys.forEach((locale) =>
  19981. // i18n.add(locale, __uniConfig.locales[locale])
  19982. // )
  19983. // }
  19984. // }
  19985. function getLocale$1() {
  19986. // 优先使用 $locale
  19987. if (isFn(getApp)) {
  19988. var app = getApp({
  19989. allowDefault: true
  19990. });
  19991. if (app && app.$vm) {
  19992. return app.$vm.$locale;
  19993. }
  19994. }
  19995. return normalizeLocale(wx.getSystemInfoSync().language) || LOCALE_EN;
  19996. }
  19997. function setLocale$1(locale) {
  19998. var app = isFn(getApp) ? getApp() : false;
  19999. if (!app) {
  20000. return false;
  20001. }
  20002. var oldLocale = app.$vm.$locale;
  20003. if (oldLocale !== locale) {
  20004. app.$vm.$locale = locale;
  20005. onLocaleChangeCallbacks.forEach(function (fn) {
  20006. return fn({
  20007. locale: locale
  20008. });
  20009. });
  20010. return true;
  20011. }
  20012. return false;
  20013. }
  20014. var onLocaleChangeCallbacks = [];
  20015. function onLocaleChange(fn) {
  20016. if (onLocaleChangeCallbacks.indexOf(fn) === -1) {
  20017. onLocaleChangeCallbacks.push(fn);
  20018. }
  20019. }
  20020. if (typeof global !== 'undefined') {
  20021. global.getLocale = getLocale$1;
  20022. }
  20023. var interceptors = {
  20024. promiseInterceptor: promiseInterceptor
  20025. };
  20026. var baseApi = /*#__PURE__*/Object.freeze({
  20027. __proto__: null,
  20028. upx2px: upx2px,
  20029. getLocale: getLocale$1,
  20030. setLocale: setLocale$1,
  20031. onLocaleChange: onLocaleChange,
  20032. addInterceptor: addInterceptor,
  20033. removeInterceptor: removeInterceptor,
  20034. interceptors: interceptors
  20035. });
  20036. function findExistsPageIndex(url) {
  20037. var pages = getCurrentPages();
  20038. var len = pages.length;
  20039. while (len--) {
  20040. var page = pages[len];
  20041. if (page.$page && page.$page.fullPath === url) {
  20042. return len;
  20043. }
  20044. }
  20045. return -1;
  20046. }
  20047. var redirectTo = {
  20048. name: function name(fromArgs) {
  20049. if (fromArgs.exists === 'back' && fromArgs.delta) {
  20050. return 'navigateBack';
  20051. }
  20052. return 'redirectTo';
  20053. },
  20054. args: function args(fromArgs) {
  20055. if (fromArgs.exists === 'back' && fromArgs.url) {
  20056. var existsPageIndex = findExistsPageIndex(fromArgs.url);
  20057. if (existsPageIndex !== -1) {
  20058. var delta = getCurrentPages().length - 1 - existsPageIndex;
  20059. if (delta > 0) {
  20060. fromArgs.delta = delta;
  20061. }
  20062. }
  20063. }
  20064. }
  20065. };
  20066. var previewImage = {
  20067. args: function args(fromArgs) {
  20068. var currentIndex = parseInt(fromArgs.current);
  20069. if (isNaN(currentIndex)) {
  20070. return;
  20071. }
  20072. var urls = fromArgs.urls;
  20073. if (!Array.isArray(urls)) {
  20074. return;
  20075. }
  20076. var len = urls.length;
  20077. if (!len) {
  20078. return;
  20079. }
  20080. if (currentIndex < 0) {
  20081. currentIndex = 0;
  20082. } else if (currentIndex >= len) {
  20083. currentIndex = len - 1;
  20084. }
  20085. if (currentIndex > 0) {
  20086. fromArgs.current = urls[currentIndex];
  20087. fromArgs.urls = urls.filter(function (item, index) {
  20088. return index < currentIndex ? item !== urls[currentIndex] : true;
  20089. });
  20090. } else {
  20091. fromArgs.current = urls[0];
  20092. }
  20093. return {
  20094. indicator: false,
  20095. loop: false
  20096. };
  20097. }
  20098. };
  20099. var UUID_KEY = '__DC_STAT_UUID';
  20100. var deviceId;
  20101. function useDeviceId(result) {
  20102. deviceId = deviceId || wx.getStorageSync(UUID_KEY);
  20103. if (!deviceId) {
  20104. deviceId = Date.now() + '' + Math.floor(Math.random() * 1e7);
  20105. wx.setStorage({
  20106. key: UUID_KEY,
  20107. data: deviceId
  20108. });
  20109. }
  20110. result.deviceId = deviceId;
  20111. }
  20112. function addSafeAreaInsets(result) {
  20113. if (result.safeArea) {
  20114. var safeArea = result.safeArea;
  20115. result.safeAreaInsets = {
  20116. top: safeArea.top,
  20117. left: safeArea.left,
  20118. right: result.windowWidth - safeArea.right,
  20119. bottom: result.screenHeight - safeArea.bottom
  20120. };
  20121. }
  20122. }
  20123. function populateParameters(result) {
  20124. var _result$brand = result.brand,
  20125. brand = _result$brand === void 0 ? '' : _result$brand,
  20126. _result$model = result.model,
  20127. model = _result$model === void 0 ? '' : _result$model,
  20128. _result$system = result.system,
  20129. system = _result$system === void 0 ? '' : _result$system,
  20130. _result$language = result.language,
  20131. language = _result$language === void 0 ? '' : _result$language,
  20132. theme = result.theme,
  20133. version = result.version,
  20134. platform = result.platform,
  20135. fontSizeSetting = result.fontSizeSetting,
  20136. SDKVersion = result.SDKVersion,
  20137. pixelRatio = result.pixelRatio,
  20138. deviceOrientation = result.deviceOrientation;
  20139. // const isQuickApp = "mp-weixin".indexOf('quickapp-webview') !== -1
  20140. var extraParam = {};
  20141. // osName osVersion
  20142. var osName = '';
  20143. var osVersion = '';
  20144. {
  20145. osName = system.split(' ')[0] || '';
  20146. osVersion = system.split(' ')[1] || '';
  20147. }
  20148. var hostVersion = version;
  20149. // deviceType
  20150. var deviceType = getGetDeviceType(result, model);
  20151. // deviceModel
  20152. var deviceBrand = getDeviceBrand(brand);
  20153. // hostName
  20154. var _hostName = getHostName(result);
  20155. // deviceOrientation
  20156. var _deviceOrientation = deviceOrientation; // 仅 微信 百度 支持
  20157. // devicePixelRatio
  20158. var _devicePixelRatio = pixelRatio;
  20159. // SDKVersion
  20160. var _SDKVersion = SDKVersion;
  20161. // hostLanguage
  20162. var hostLanguage = language.replace(/_/g, '-');
  20163. // wx.getAccountInfoSync
  20164. var parameters = {
  20165. appId: "__UNI__DBB63B5",
  20166. appName: "云咖交易",
  20167. appVersion: "3.0.3",
  20168. appVersionCode: "303",
  20169. appLanguage: getAppLanguage(hostLanguage),
  20170. uniCompileVersion: "3.7.11",
  20171. uniRuntimeVersion: "3.7.11",
  20172. uniPlatform: undefined || "mp-weixin",
  20173. deviceBrand: deviceBrand,
  20174. deviceModel: model,
  20175. deviceType: deviceType,
  20176. devicePixelRatio: _devicePixelRatio,
  20177. deviceOrientation: _deviceOrientation,
  20178. osName: osName.toLocaleLowerCase(),
  20179. osVersion: osVersion,
  20180. hostTheme: theme,
  20181. hostVersion: hostVersion,
  20182. hostLanguage: hostLanguage,
  20183. hostName: _hostName,
  20184. hostSDKVersion: _SDKVersion,
  20185. hostFontSizeSetting: fontSizeSetting,
  20186. windowTop: 0,
  20187. windowBottom: 0,
  20188. // TODO
  20189. osLanguage: undefined,
  20190. osTheme: undefined,
  20191. ua: undefined,
  20192. hostPackageName: undefined,
  20193. browserName: undefined,
  20194. browserVersion: undefined
  20195. };
  20196. Object.assign(result, parameters, extraParam);
  20197. }
  20198. function getGetDeviceType(result, model) {
  20199. var deviceType = result.deviceType || 'phone';
  20200. {
  20201. var deviceTypeMaps = {
  20202. ipad: 'pad',
  20203. windows: 'pc',
  20204. mac: 'pc'
  20205. };
  20206. var deviceTypeMapsKeys = Object.keys(deviceTypeMaps);
  20207. var _model = model.toLocaleLowerCase();
  20208. for (var index = 0; index < deviceTypeMapsKeys.length; index++) {
  20209. var _m = deviceTypeMapsKeys[index];
  20210. if (_model.indexOf(_m) !== -1) {
  20211. deviceType = deviceTypeMaps[_m];
  20212. break;
  20213. }
  20214. }
  20215. }
  20216. return deviceType;
  20217. }
  20218. function getDeviceBrand(brand) {
  20219. var deviceBrand = brand;
  20220. if (deviceBrand) {
  20221. deviceBrand = brand.toLocaleLowerCase();
  20222. }
  20223. return deviceBrand;
  20224. }
  20225. function getAppLanguage(defaultLanguage) {
  20226. return getLocale$1 ? getLocale$1() : defaultLanguage;
  20227. }
  20228. function getHostName(result) {
  20229. var _platform = 'WeChat';
  20230. var _hostName = result.hostName || _platform; // mp-jd
  20231. {
  20232. if (result.environment) {
  20233. _hostName = result.environment;
  20234. } else if (result.host && result.host.env) {
  20235. _hostName = result.host.env;
  20236. }
  20237. }
  20238. return _hostName;
  20239. }
  20240. var getSystemInfo = {
  20241. returnValue: function returnValue(result) {
  20242. useDeviceId(result);
  20243. addSafeAreaInsets(result);
  20244. populateParameters(result);
  20245. }
  20246. };
  20247. var showActionSheet = {
  20248. args: function args(fromArgs) {
  20249. if ((0, _typeof2.default)(fromArgs) === 'object') {
  20250. fromArgs.alertText = fromArgs.title;
  20251. }
  20252. }
  20253. };
  20254. var getAppBaseInfo = {
  20255. returnValue: function returnValue(result) {
  20256. var _result = result,
  20257. version = _result.version,
  20258. language = _result.language,
  20259. SDKVersion = _result.SDKVersion,
  20260. theme = _result.theme;
  20261. var _hostName = getHostName(result);
  20262. var hostLanguage = language.replace('_', '-');
  20263. result = sortObject(Object.assign(result, {
  20264. appId: "__UNI__DBB63B5",
  20265. appName: "云咖交易",
  20266. appVersion: "3.0.3",
  20267. appVersionCode: "303",
  20268. appLanguage: getAppLanguage(hostLanguage),
  20269. hostVersion: version,
  20270. hostLanguage: hostLanguage,
  20271. hostName: _hostName,
  20272. hostSDKVersion: SDKVersion,
  20273. hostTheme: theme
  20274. }));
  20275. }
  20276. };
  20277. var getDeviceInfo = {
  20278. returnValue: function returnValue(result) {
  20279. var _result2 = result,
  20280. brand = _result2.brand,
  20281. model = _result2.model;
  20282. var deviceType = getGetDeviceType(result, model);
  20283. var deviceBrand = getDeviceBrand(brand);
  20284. useDeviceId(result);
  20285. result = sortObject(Object.assign(result, {
  20286. deviceType: deviceType,
  20287. deviceBrand: deviceBrand,
  20288. deviceModel: model
  20289. }));
  20290. }
  20291. };
  20292. var getWindowInfo = {
  20293. returnValue: function returnValue(result) {
  20294. addSafeAreaInsets(result);
  20295. result = sortObject(Object.assign(result, {
  20296. windowTop: 0,
  20297. windowBottom: 0
  20298. }));
  20299. }
  20300. };
  20301. var getAppAuthorizeSetting = {
  20302. returnValue: function returnValue(result) {
  20303. var locationReducedAccuracy = result.locationReducedAccuracy;
  20304. result.locationAccuracy = 'unsupported';
  20305. if (locationReducedAccuracy === true) {
  20306. result.locationAccuracy = 'reduced';
  20307. } else if (locationReducedAccuracy === false) {
  20308. result.locationAccuracy = 'full';
  20309. }
  20310. }
  20311. };
  20312. // import navigateTo from 'uni-helpers/navigate-to'
  20313. var compressImage = {
  20314. args: function args(fromArgs) {
  20315. // https://developers.weixin.qq.com/community/develop/doc/000c08940c865011298e0a43256800?highLine=compressHeight
  20316. if (fromArgs.compressedHeight && !fromArgs.compressHeight) {
  20317. fromArgs.compressHeight = fromArgs.compressedHeight;
  20318. }
  20319. if (fromArgs.compressedWidth && !fromArgs.compressWidth) {
  20320. fromArgs.compressWidth = fromArgs.compressedWidth;
  20321. }
  20322. }
  20323. };
  20324. var protocols = {
  20325. redirectTo: redirectTo,
  20326. // navigateTo, // 由于在微信开发者工具的页面参数,会显示__id__参数,因此暂时关闭mp-weixin对于navigateTo的AOP
  20327. previewImage: previewImage,
  20328. getSystemInfo: getSystemInfo,
  20329. getSystemInfoSync: getSystemInfo,
  20330. showActionSheet: showActionSheet,
  20331. getAppBaseInfo: getAppBaseInfo,
  20332. getDeviceInfo: getDeviceInfo,
  20333. getWindowInfo: getWindowInfo,
  20334. getAppAuthorizeSetting: getAppAuthorizeSetting,
  20335. compressImage: compressImage
  20336. };
  20337. var todos = ['vibrate', 'preloadPage', 'unPreloadPage', 'loadSubPackage'];
  20338. var canIUses = [];
  20339. var CALLBACKS = ['success', 'fail', 'cancel', 'complete'];
  20340. function processCallback(methodName, method, returnValue) {
  20341. return function (res) {
  20342. return method(processReturnValue(methodName, res, returnValue));
  20343. };
  20344. }
  20345. function processArgs(methodName, fromArgs) {
  20346. var argsOption = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
  20347. var returnValue = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};
  20348. var keepFromArgs = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : false;
  20349. if (isPlainObject(fromArgs)) {
  20350. // 一般 api 的参数解析
  20351. var toArgs = keepFromArgs === true ? fromArgs : {}; // returnValue 为 false 时,说明是格式化返回值,直接在返回值对象上修改赋值
  20352. if (isFn(argsOption)) {
  20353. argsOption = argsOption(fromArgs, toArgs) || {};
  20354. }
  20355. for (var key in fromArgs) {
  20356. if (hasOwn(argsOption, key)) {
  20357. var keyOption = argsOption[key];
  20358. if (isFn(keyOption)) {
  20359. keyOption = keyOption(fromArgs[key], fromArgs, toArgs);
  20360. }
  20361. if (!keyOption) {
  20362. // 不支持的参数
  20363. console.warn("The '".concat(methodName, "' method of platform '\u5FAE\u4FE1\u5C0F\u7A0B\u5E8F' does not support option '").concat(key, "'"));
  20364. } else if (isStr(keyOption)) {
  20365. // 重写参数 key
  20366. toArgs[keyOption] = fromArgs[key];
  20367. } else if (isPlainObject(keyOption)) {
  20368. // {name:newName,value:value}可重新指定参数 key:value
  20369. toArgs[keyOption.name ? keyOption.name : key] = keyOption.value;
  20370. }
  20371. } else if (CALLBACKS.indexOf(key) !== -1) {
  20372. if (isFn(fromArgs[key])) {
  20373. toArgs[key] = processCallback(methodName, fromArgs[key], returnValue);
  20374. }
  20375. } else {
  20376. if (!keepFromArgs) {
  20377. toArgs[key] = fromArgs[key];
  20378. }
  20379. }
  20380. }
  20381. return toArgs;
  20382. } else if (isFn(fromArgs)) {
  20383. fromArgs = processCallback(methodName, fromArgs, returnValue);
  20384. }
  20385. return fromArgs;
  20386. }
  20387. function processReturnValue(methodName, res, returnValue) {
  20388. var keepReturnValue = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false;
  20389. if (isFn(protocols.returnValue)) {
  20390. // 处理通用 returnValue
  20391. res = protocols.returnValue(methodName, res);
  20392. }
  20393. return processArgs(methodName, res, returnValue, {}, keepReturnValue);
  20394. }
  20395. function wrapper(methodName, method) {
  20396. if (hasOwn(protocols, methodName)) {
  20397. var protocol = protocols[methodName];
  20398. if (!protocol) {
  20399. // 暂不支持的 api
  20400. return function () {
  20401. console.error("Platform '\u5FAE\u4FE1\u5C0F\u7A0B\u5E8F' does not support '".concat(methodName, "'."));
  20402. };
  20403. }
  20404. return function (arg1, arg2) {
  20405. // 目前 api 最多两个参数
  20406. var options = protocol;
  20407. if (isFn(protocol)) {
  20408. options = protocol(arg1);
  20409. }
  20410. arg1 = processArgs(methodName, arg1, options.args, options.returnValue);
  20411. var args = [arg1];
  20412. if (typeof arg2 !== 'undefined') {
  20413. args.push(arg2);
  20414. }
  20415. if (isFn(options.name)) {
  20416. methodName = options.name(arg1);
  20417. } else if (isStr(options.name)) {
  20418. methodName = options.name;
  20419. }
  20420. var returnValue = wx[methodName].apply(wx, args);
  20421. if (isSyncApi(methodName)) {
  20422. // 同步 api
  20423. return processReturnValue(methodName, returnValue, options.returnValue, isContextApi(methodName));
  20424. }
  20425. return returnValue;
  20426. };
  20427. }
  20428. return method;
  20429. }
  20430. var todoApis = Object.create(null);
  20431. var TODOS = ['onTabBarMidButtonTap', 'subscribePush', 'unsubscribePush', 'onPush', 'offPush', 'share'];
  20432. function createTodoApi(name) {
  20433. return function todoApi(_ref) {
  20434. var fail = _ref.fail,
  20435. complete = _ref.complete;
  20436. var res = {
  20437. errMsg: "".concat(name, ":fail method '").concat(name, "' not supported")
  20438. };
  20439. isFn(fail) && fail(res);
  20440. isFn(complete) && complete(res);
  20441. };
  20442. }
  20443. TODOS.forEach(function (name) {
  20444. todoApis[name] = createTodoApi(name);
  20445. });
  20446. var providers = {
  20447. oauth: ['weixin'],
  20448. share: ['weixin'],
  20449. payment: ['wxpay'],
  20450. push: ['weixin']
  20451. };
  20452. function getProvider(_ref2) {
  20453. var service = _ref2.service,
  20454. success = _ref2.success,
  20455. fail = _ref2.fail,
  20456. complete = _ref2.complete;
  20457. var res = false;
  20458. if (providers[service]) {
  20459. res = {
  20460. errMsg: 'getProvider:ok',
  20461. service: service,
  20462. provider: providers[service]
  20463. };
  20464. isFn(success) && success(res);
  20465. } else {
  20466. res = {
  20467. errMsg: 'getProvider:fail service not found'
  20468. };
  20469. isFn(fail) && fail(res);
  20470. }
  20471. isFn(complete) && complete(res);
  20472. }
  20473. var extraApi = /*#__PURE__*/Object.freeze({
  20474. __proto__: null,
  20475. getProvider: getProvider
  20476. });
  20477. var getEmitter = function () {
  20478. var Emitter;
  20479. return function getUniEmitter() {
  20480. if (!Emitter) {
  20481. Emitter = new _vue.default();
  20482. }
  20483. return Emitter;
  20484. };
  20485. }();
  20486. function apply(ctx, method, args) {
  20487. return ctx[method].apply(ctx, args);
  20488. }
  20489. function $on() {
  20490. return apply(getEmitter(), '$on', Array.prototype.slice.call(arguments));
  20491. }
  20492. function $off() {
  20493. return apply(getEmitter(), '$off', Array.prototype.slice.call(arguments));
  20494. }
  20495. function $once() {
  20496. return apply(getEmitter(), '$once', Array.prototype.slice.call(arguments));
  20497. }
  20498. function $emit() {
  20499. return apply(getEmitter(), '$emit', Array.prototype.slice.call(arguments));
  20500. }
  20501. var eventApi = /*#__PURE__*/Object.freeze({
  20502. __proto__: null,
  20503. $on: $on,
  20504. $off: $off,
  20505. $once: $once,
  20506. $emit: $emit
  20507. });
  20508. /**
  20509. * 框架内 try-catch
  20510. */
  20511. /**
  20512. * 开发者 try-catch
  20513. */
  20514. function tryCatch(fn) {
  20515. return function () {
  20516. try {
  20517. return fn.apply(fn, arguments);
  20518. } catch (e) {
  20519. // TODO
  20520. console.error(e);
  20521. }
  20522. };
  20523. }
  20524. function getApiCallbacks(params) {
  20525. var apiCallbacks = {};
  20526. for (var name in params) {
  20527. var param = params[name];
  20528. if (isFn(param)) {
  20529. apiCallbacks[name] = tryCatch(param);
  20530. delete params[name];
  20531. }
  20532. }
  20533. return apiCallbacks;
  20534. }
  20535. var cid;
  20536. var cidErrMsg;
  20537. var enabled;
  20538. function normalizePushMessage(message) {
  20539. try {
  20540. return JSON.parse(message);
  20541. } catch (e) {}
  20542. return message;
  20543. }
  20544. function invokePushCallback(args) {
  20545. if (args.type === 'enabled') {
  20546. enabled = true;
  20547. } else if (args.type === 'clientId') {
  20548. cid = args.cid;
  20549. cidErrMsg = args.errMsg;
  20550. invokeGetPushCidCallbacks(cid, args.errMsg);
  20551. } else if (args.type === 'pushMsg') {
  20552. var message = {
  20553. type: 'receive',
  20554. data: normalizePushMessage(args.message)
  20555. };
  20556. for (var i = 0; i < onPushMessageCallbacks.length; i++) {
  20557. var callback = onPushMessageCallbacks[i];
  20558. callback(message);
  20559. // 该消息已被阻止
  20560. if (message.stopped) {
  20561. break;
  20562. }
  20563. }
  20564. } else if (args.type === 'click') {
  20565. onPushMessageCallbacks.forEach(function (callback) {
  20566. callback({
  20567. type: 'click',
  20568. data: normalizePushMessage(args.message)
  20569. });
  20570. });
  20571. }
  20572. }
  20573. var getPushCidCallbacks = [];
  20574. function invokeGetPushCidCallbacks(cid, errMsg) {
  20575. getPushCidCallbacks.forEach(function (callback) {
  20576. callback(cid, errMsg);
  20577. });
  20578. getPushCidCallbacks.length = 0;
  20579. }
  20580. function getPushClientId(args) {
  20581. if (!isPlainObject(args)) {
  20582. args = {};
  20583. }
  20584. var _getApiCallbacks = getApiCallbacks(args),
  20585. success = _getApiCallbacks.success,
  20586. fail = _getApiCallbacks.fail,
  20587. complete = _getApiCallbacks.complete;
  20588. var hasSuccess = isFn(success);
  20589. var hasFail = isFn(fail);
  20590. var hasComplete = isFn(complete);
  20591. Promise.resolve().then(function () {
  20592. if (typeof enabled === 'undefined') {
  20593. enabled = false;
  20594. cid = '';
  20595. cidErrMsg = 'uniPush is not enabled';
  20596. }
  20597. getPushCidCallbacks.push(function (cid, errMsg) {
  20598. var res;
  20599. if (cid) {
  20600. res = {
  20601. errMsg: 'getPushClientId:ok',
  20602. cid: cid
  20603. };
  20604. hasSuccess && success(res);
  20605. } else {
  20606. res = {
  20607. errMsg: 'getPushClientId:fail' + (errMsg ? ' ' + errMsg : '')
  20608. };
  20609. hasFail && fail(res);
  20610. }
  20611. hasComplete && complete(res);
  20612. });
  20613. if (typeof cid !== 'undefined') {
  20614. invokeGetPushCidCallbacks(cid, cidErrMsg);
  20615. }
  20616. });
  20617. }
  20618. var onPushMessageCallbacks = [];
  20619. // 不使用 defineOnApi 实现,是因为 defineOnApi 依赖 UniServiceJSBridge ,该对象目前在小程序上未提供,故简单实现
  20620. var onPushMessage = function onPushMessage(fn) {
  20621. if (onPushMessageCallbacks.indexOf(fn) === -1) {
  20622. onPushMessageCallbacks.push(fn);
  20623. }
  20624. };
  20625. var offPushMessage = function offPushMessage(fn) {
  20626. if (!fn) {
  20627. onPushMessageCallbacks.length = 0;
  20628. } else {
  20629. var index = onPushMessageCallbacks.indexOf(fn);
  20630. if (index > -1) {
  20631. onPushMessageCallbacks.splice(index, 1);
  20632. }
  20633. }
  20634. };
  20635. var baseInfo = wx.getAppBaseInfo && wx.getAppBaseInfo();
  20636. if (!baseInfo) {
  20637. baseInfo = wx.getSystemInfoSync();
  20638. }
  20639. var host = baseInfo ? baseInfo.host : null;
  20640. var shareVideoMessage = host && host.env === 'SAAASDK' ? wx.miniapp.shareVideoMessage : wx.shareVideoMessage;
  20641. var api = /*#__PURE__*/Object.freeze({
  20642. __proto__: null,
  20643. shareVideoMessage: shareVideoMessage,
  20644. getPushClientId: getPushClientId,
  20645. onPushMessage: onPushMessage,
  20646. offPushMessage: offPushMessage,
  20647. invokePushCallback: invokePushCallback
  20648. });
  20649. var mocks = ['__route__', '__wxExparserNodeId__', '__wxWebviewId__'];
  20650. function findVmByVueId(vm, vuePid) {
  20651. var $children = vm.$children;
  20652. // 优先查找直属(反向查找:https://github.com/dcloudio/uni-app/issues/1200)
  20653. for (var i = $children.length - 1; i >= 0; i--) {
  20654. var childVm = $children[i];
  20655. if (childVm.$scope._$vueId === vuePid) {
  20656. return childVm;
  20657. }
  20658. }
  20659. // 反向递归查找
  20660. var parentVm;
  20661. for (var _i = $children.length - 1; _i >= 0; _i--) {
  20662. parentVm = findVmByVueId($children[_i], vuePid);
  20663. if (parentVm) {
  20664. return parentVm;
  20665. }
  20666. }
  20667. }
  20668. function initBehavior(options) {
  20669. return Behavior(options);
  20670. }
  20671. function isPage() {
  20672. return !!this.route;
  20673. }
  20674. function initRelation(detail) {
  20675. this.triggerEvent('__l', detail);
  20676. }
  20677. function selectAllComponents(mpInstance, selector, $refs) {
  20678. var components = mpInstance.selectAllComponents(selector) || [];
  20679. components.forEach(function (component) {
  20680. var ref = component.dataset.ref;
  20681. $refs[ref] = component.$vm || toSkip(component);
  20682. {
  20683. if (component.dataset.vueGeneric === 'scoped') {
  20684. component.selectAllComponents('.scoped-ref').forEach(function (scopedComponent) {
  20685. selectAllComponents(scopedComponent, selector, $refs);
  20686. });
  20687. }
  20688. }
  20689. });
  20690. }
  20691. function syncRefs(refs, newRefs) {
  20692. var oldKeys = (0, _construct2.default)(Set, (0, _toConsumableArray2.default)(Object.keys(refs)));
  20693. var newKeys = Object.keys(newRefs);
  20694. newKeys.forEach(function (key) {
  20695. var oldValue = refs[key];
  20696. var newValue = newRefs[key];
  20697. if (Array.isArray(oldValue) && Array.isArray(newValue) && oldValue.length === newValue.length && newValue.every(function (value) {
  20698. return oldValue.includes(value);
  20699. })) {
  20700. return;
  20701. }
  20702. refs[key] = newValue;
  20703. oldKeys.delete(key);
  20704. });
  20705. oldKeys.forEach(function (key) {
  20706. delete refs[key];
  20707. });
  20708. return refs;
  20709. }
  20710. function initRefs(vm) {
  20711. var mpInstance = vm.$scope;
  20712. var refs = {};
  20713. Object.defineProperty(vm, '$refs', {
  20714. get: function get() {
  20715. var $refs = {};
  20716. selectAllComponents(mpInstance, '.vue-ref', $refs);
  20717. // TODO 暂不考虑 for 中的 scoped
  20718. var forComponents = mpInstance.selectAllComponents('.vue-ref-in-for') || [];
  20719. forComponents.forEach(function (component) {
  20720. var ref = component.dataset.ref;
  20721. if (!$refs[ref]) {
  20722. $refs[ref] = [];
  20723. }
  20724. $refs[ref].push(component.$vm || toSkip(component));
  20725. });
  20726. return syncRefs(refs, $refs);
  20727. }
  20728. });
  20729. }
  20730. function handleLink(event) {
  20731. var _ref3 = event.detail || event.value,
  20732. vuePid = _ref3.vuePid,
  20733. vueOptions = _ref3.vueOptions; // detail 是微信,value 是百度(dipatch)
  20734. var parentVm;
  20735. if (vuePid) {
  20736. parentVm = findVmByVueId(this.$vm, vuePid);
  20737. }
  20738. if (!parentVm) {
  20739. parentVm = this.$vm;
  20740. }
  20741. vueOptions.parent = parentVm;
  20742. }
  20743. function markMPComponent(component) {
  20744. // 在 Vue 中标记为小程序组件
  20745. var IS_MP = '__v_isMPComponent';
  20746. Object.defineProperty(component, IS_MP, {
  20747. configurable: true,
  20748. enumerable: false,
  20749. value: true
  20750. });
  20751. return component;
  20752. }
  20753. function toSkip(obj) {
  20754. var OB = '__ob__';
  20755. var SKIP = '__v_skip';
  20756. if (isObject(obj) && Object.isExtensible(obj)) {
  20757. // 避免被 @vue/composition-api 观测
  20758. Object.defineProperty(obj, OB, {
  20759. configurable: true,
  20760. enumerable: false,
  20761. value: (0, _defineProperty2.default)({}, SKIP, true)
  20762. });
  20763. }
  20764. return obj;
  20765. }
  20766. var WORKLET_RE = /_(.*)_worklet_factory_/;
  20767. function initWorkletMethods(mpMethods, vueMethods) {
  20768. if (vueMethods) {
  20769. Object.keys(vueMethods).forEach(function (name) {
  20770. var matches = name.match(WORKLET_RE);
  20771. if (matches) {
  20772. var workletName = matches[1];
  20773. mpMethods[name] = vueMethods[name];
  20774. mpMethods[workletName] = vueMethods[workletName];
  20775. }
  20776. });
  20777. }
  20778. }
  20779. var MPPage = Page;
  20780. var MPComponent = Component;
  20781. var customizeRE = /:/g;
  20782. var customize = cached(function (str) {
  20783. return camelize(str.replace(customizeRE, '-'));
  20784. });
  20785. function initTriggerEvent(mpInstance) {
  20786. var oldTriggerEvent = mpInstance.triggerEvent;
  20787. var newTriggerEvent = function newTriggerEvent(event) {
  20788. for (var _len3 = arguments.length, args = new Array(_len3 > 1 ? _len3 - 1 : 0), _key3 = 1; _key3 < _len3; _key3++) {
  20789. args[_key3 - 1] = arguments[_key3];
  20790. }
  20791. // 事件名统一转驼峰格式,仅处理:当前组件为 vue 组件、当前组件为 vue 组件子组件
  20792. if (this.$vm || this.dataset && this.dataset.comType) {
  20793. event = customize(event);
  20794. } else {
  20795. // 针对微信/QQ小程序单独补充驼峰格式事件,以兼容历史项目
  20796. var newEvent = customize(event);
  20797. if (newEvent !== event) {
  20798. oldTriggerEvent.apply(this, [newEvent].concat(args));
  20799. }
  20800. }
  20801. return oldTriggerEvent.apply(this, [event].concat(args));
  20802. };
  20803. try {
  20804. // 京东小程序 triggerEvent 为只读
  20805. mpInstance.triggerEvent = newTriggerEvent;
  20806. } catch (error) {
  20807. mpInstance._triggerEvent = newTriggerEvent;
  20808. }
  20809. }
  20810. function initHook(name, options, isComponent) {
  20811. var oldHook = options[name];
  20812. options[name] = function () {
  20813. markMPComponent(this);
  20814. initTriggerEvent(this);
  20815. if (oldHook) {
  20816. for (var _len4 = arguments.length, args = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {
  20817. args[_key4] = arguments[_key4];
  20818. }
  20819. return oldHook.apply(this, args);
  20820. }
  20821. };
  20822. }
  20823. if (!MPPage.__$wrappered) {
  20824. MPPage.__$wrappered = true;
  20825. Page = function Page() {
  20826. var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  20827. initHook('onLoad', options);
  20828. return MPPage(options);
  20829. };
  20830. Page.after = MPPage.after;
  20831. Component = function Component() {
  20832. var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  20833. initHook('created', options);
  20834. return MPComponent(options);
  20835. };
  20836. }
  20837. var PAGE_EVENT_HOOKS = ['onPullDownRefresh', 'onReachBottom', 'onAddToFavorites', 'onShareTimeline', 'onShareAppMessage', 'onPageScroll', 'onResize', 'onTabItemTap'];
  20838. function initMocks(vm, mocks) {
  20839. var mpInstance = vm.$mp[vm.mpType];
  20840. mocks.forEach(function (mock) {
  20841. if (hasOwn(mpInstance, mock)) {
  20842. vm[mock] = mpInstance[mock];
  20843. }
  20844. });
  20845. }
  20846. function hasHook(hook, vueOptions) {
  20847. if (!vueOptions) {
  20848. return true;
  20849. }
  20850. if (_vue.default.options && Array.isArray(_vue.default.options[hook])) {
  20851. return true;
  20852. }
  20853. vueOptions = vueOptions.default || vueOptions;
  20854. if (isFn(vueOptions)) {
  20855. if (isFn(vueOptions.extendOptions[hook])) {
  20856. return true;
  20857. }
  20858. if (vueOptions.super && vueOptions.super.options && Array.isArray(vueOptions.super.options[hook])) {
  20859. return true;
  20860. }
  20861. return false;
  20862. }
  20863. if (isFn(vueOptions[hook]) || Array.isArray(vueOptions[hook])) {
  20864. return true;
  20865. }
  20866. var mixins = vueOptions.mixins;
  20867. if (Array.isArray(mixins)) {
  20868. return !!mixins.find(function (mixin) {
  20869. return hasHook(hook, mixin);
  20870. });
  20871. }
  20872. }
  20873. function initHooks(mpOptions, hooks, vueOptions) {
  20874. hooks.forEach(function (hook) {
  20875. if (hasHook(hook, vueOptions)) {
  20876. mpOptions[hook] = function (args) {
  20877. return this.$vm && this.$vm.__call_hook(hook, args);
  20878. };
  20879. }
  20880. });
  20881. }
  20882. function initUnknownHooks(mpOptions, vueOptions) {
  20883. var excludes = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];
  20884. findHooks(vueOptions).forEach(function (hook) {
  20885. return initHook$1(mpOptions, hook, excludes);
  20886. });
  20887. }
  20888. function findHooks(vueOptions) {
  20889. var hooks = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];
  20890. if (vueOptions) {
  20891. Object.keys(vueOptions).forEach(function (name) {
  20892. if (name.indexOf('on') === 0 && isFn(vueOptions[name])) {
  20893. hooks.push(name);
  20894. }
  20895. });
  20896. }
  20897. return hooks;
  20898. }
  20899. function initHook$1(mpOptions, hook, excludes) {
  20900. if (excludes.indexOf(hook) === -1 && !hasOwn(mpOptions, hook)) {
  20901. mpOptions[hook] = function (args) {
  20902. return this.$vm && this.$vm.__call_hook(hook, args);
  20903. };
  20904. }
  20905. }
  20906. function initVueComponent(Vue, vueOptions) {
  20907. vueOptions = vueOptions.default || vueOptions;
  20908. var VueComponent;
  20909. if (isFn(vueOptions)) {
  20910. VueComponent = vueOptions;
  20911. } else {
  20912. VueComponent = Vue.extend(vueOptions);
  20913. }
  20914. vueOptions = VueComponent.options;
  20915. return [VueComponent, vueOptions];
  20916. }
  20917. function initSlots(vm, vueSlots) {
  20918. if (Array.isArray(vueSlots) && vueSlots.length) {
  20919. var $slots = Object.create(null);
  20920. vueSlots.forEach(function (slotName) {
  20921. $slots[slotName] = true;
  20922. });
  20923. vm.$scopedSlots = vm.$slots = $slots;
  20924. }
  20925. }
  20926. function initVueIds(vueIds, mpInstance) {
  20927. vueIds = (vueIds || '').split(',');
  20928. var len = vueIds.length;
  20929. if (len === 1) {
  20930. mpInstance._$vueId = vueIds[0];
  20931. } else if (len === 2) {
  20932. mpInstance._$vueId = vueIds[0];
  20933. mpInstance._$vuePid = vueIds[1];
  20934. }
  20935. }
  20936. function initData(vueOptions, context) {
  20937. var data = vueOptions.data || {};
  20938. var methods = vueOptions.methods || {};
  20939. if (typeof data === 'function') {
  20940. try {
  20941. data = data.call(context); // 支持 Vue.prototype 上挂的数据
  20942. } catch (e) {
  20943. if (Object({"VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"云咖交易","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG) {
  20944. console.warn('根据 Vue 的 data 函数初始化小程序 data 失败,请尽量确保 data 函数中不访问 vm 对象,否则可能影响首次数据渲染速度。', data);
  20945. }
  20946. }
  20947. } else {
  20948. try {
  20949. // 对 data 格式化
  20950. data = JSON.parse(JSON.stringify(data));
  20951. } catch (e) {}
  20952. }
  20953. if (!isPlainObject(data)) {
  20954. data = {};
  20955. }
  20956. Object.keys(methods).forEach(function (methodName) {
  20957. if (context.__lifecycle_hooks__.indexOf(methodName) === -1 && !hasOwn(data, methodName)) {
  20958. data[methodName] = methods[methodName];
  20959. }
  20960. });
  20961. return data;
  20962. }
  20963. var PROP_TYPES = [String, Number, Boolean, Object, Array, null];
  20964. function createObserver(name) {
  20965. return function observer(newVal, oldVal) {
  20966. if (this.$vm) {
  20967. this.$vm[name] = newVal; // 为了触发其他非 render watcher
  20968. }
  20969. };
  20970. }
  20971. function initBehaviors(vueOptions, initBehavior) {
  20972. var vueBehaviors = vueOptions.behaviors;
  20973. var vueExtends = vueOptions.extends;
  20974. var vueMixins = vueOptions.mixins;
  20975. var vueProps = vueOptions.props;
  20976. if (!vueProps) {
  20977. vueOptions.props = vueProps = [];
  20978. }
  20979. var behaviors = [];
  20980. if (Array.isArray(vueBehaviors)) {
  20981. vueBehaviors.forEach(function (behavior) {
  20982. behaviors.push(behavior.replace('uni://', "wx".concat("://")));
  20983. if (behavior === 'uni://form-field') {
  20984. if (Array.isArray(vueProps)) {
  20985. vueProps.push('name');
  20986. vueProps.push('value');
  20987. } else {
  20988. vueProps.name = {
  20989. type: String,
  20990. default: ''
  20991. };
  20992. vueProps.value = {
  20993. type: [String, Number, Boolean, Array, Object, Date],
  20994. default: ''
  20995. };
  20996. }
  20997. }
  20998. });
  20999. }
  21000. if (isPlainObject(vueExtends) && vueExtends.props) {
  21001. behaviors.push(initBehavior({
  21002. properties: initProperties(vueExtends.props, true)
  21003. }));
  21004. }
  21005. if (Array.isArray(vueMixins)) {
  21006. vueMixins.forEach(function (vueMixin) {
  21007. if (isPlainObject(vueMixin) && vueMixin.props) {
  21008. behaviors.push(initBehavior({
  21009. properties: initProperties(vueMixin.props, true)
  21010. }));
  21011. }
  21012. });
  21013. }
  21014. return behaviors;
  21015. }
  21016. function parsePropType(key, type, defaultValue, file) {
  21017. // [String]=>String
  21018. if (Array.isArray(type) && type.length === 1) {
  21019. return type[0];
  21020. }
  21021. return type;
  21022. }
  21023. function initProperties(props) {
  21024. var isBehavior = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
  21025. var file = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : '';
  21026. var options = arguments.length > 3 ? arguments[3] : undefined;
  21027. var properties = {};
  21028. if (!isBehavior) {
  21029. properties.vueId = {
  21030. type: String,
  21031. value: ''
  21032. };
  21033. {
  21034. if (options.virtualHost) {
  21035. properties.virtualHostStyle = {
  21036. type: null,
  21037. value: ''
  21038. };
  21039. properties.virtualHostClass = {
  21040. type: null,
  21041. value: ''
  21042. };
  21043. }
  21044. }
  21045. // scopedSlotsCompiler auto
  21046. properties.scopedSlotsCompiler = {
  21047. type: String,
  21048. value: ''
  21049. };
  21050. properties.vueSlots = {
  21051. // 小程序不能直接定义 $slots 的 props,所以通过 vueSlots 转换到 $slots
  21052. type: null,
  21053. value: [],
  21054. observer: function observer(newVal, oldVal) {
  21055. var $slots = Object.create(null);
  21056. newVal.forEach(function (slotName) {
  21057. $slots[slotName] = true;
  21058. });
  21059. this.setData({
  21060. $slots: $slots
  21061. });
  21062. }
  21063. };
  21064. }
  21065. if (Array.isArray(props)) {
  21066. // ['title']
  21067. props.forEach(function (key) {
  21068. properties[key] = {
  21069. type: null,
  21070. observer: createObserver(key)
  21071. };
  21072. });
  21073. } else if (isPlainObject(props)) {
  21074. // {title:{type:String,default:''},content:String}
  21075. Object.keys(props).forEach(function (key) {
  21076. var opts = props[key];
  21077. if (isPlainObject(opts)) {
  21078. // title:{type:String,default:''}
  21079. var value = opts.default;
  21080. if (isFn(value)) {
  21081. value = value();
  21082. }
  21083. opts.type = parsePropType(key, opts.type);
  21084. properties[key] = {
  21085. type: PROP_TYPES.indexOf(opts.type) !== -1 ? opts.type : null,
  21086. value: value,
  21087. observer: createObserver(key)
  21088. };
  21089. } else {
  21090. // content:String
  21091. var type = parsePropType(key, opts);
  21092. properties[key] = {
  21093. type: PROP_TYPES.indexOf(type) !== -1 ? type : null,
  21094. observer: createObserver(key)
  21095. };
  21096. }
  21097. });
  21098. }
  21099. return properties;
  21100. }
  21101. function wrapper$1(event) {
  21102. // TODO 又得兼容 mpvue 的 mp 对象
  21103. try {
  21104. event.mp = JSON.parse(JSON.stringify(event));
  21105. } catch (e) {}
  21106. event.stopPropagation = noop;
  21107. event.preventDefault = noop;
  21108. event.target = event.target || {};
  21109. if (!hasOwn(event, 'detail')) {
  21110. event.detail = {};
  21111. }
  21112. if (hasOwn(event, 'markerId')) {
  21113. event.detail = (0, _typeof2.default)(event.detail) === 'object' ? event.detail : {};
  21114. event.detail.markerId = event.markerId;
  21115. }
  21116. if (isPlainObject(event.detail)) {
  21117. event.target = Object.assign({}, event.target, event.detail);
  21118. }
  21119. return event;
  21120. }
  21121. function getExtraValue(vm, dataPathsArray) {
  21122. var context = vm;
  21123. dataPathsArray.forEach(function (dataPathArray) {
  21124. var dataPath = dataPathArray[0];
  21125. var value = dataPathArray[2];
  21126. if (dataPath || typeof value !== 'undefined') {
  21127. // ['','',index,'disable']
  21128. var propPath = dataPathArray[1];
  21129. var valuePath = dataPathArray[3];
  21130. var vFor;
  21131. if (Number.isInteger(dataPath)) {
  21132. vFor = dataPath;
  21133. } else if (!dataPath) {
  21134. vFor = context;
  21135. } else if (typeof dataPath === 'string' && dataPath) {
  21136. if (dataPath.indexOf('#s#') === 0) {
  21137. vFor = dataPath.substr(3);
  21138. } else {
  21139. vFor = vm.__get_value(dataPath, context);
  21140. }
  21141. }
  21142. if (Number.isInteger(vFor)) {
  21143. context = value;
  21144. } else if (!propPath) {
  21145. context = vFor[value];
  21146. } else {
  21147. if (Array.isArray(vFor)) {
  21148. context = vFor.find(function (vForItem) {
  21149. return vm.__get_value(propPath, vForItem) === value;
  21150. });
  21151. } else if (isPlainObject(vFor)) {
  21152. context = Object.keys(vFor).find(function (vForKey) {
  21153. return vm.__get_value(propPath, vFor[vForKey]) === value;
  21154. });
  21155. } else {
  21156. console.error('v-for 暂不支持循环数据:', vFor);
  21157. }
  21158. }
  21159. if (valuePath) {
  21160. context = vm.__get_value(valuePath, context);
  21161. }
  21162. }
  21163. });
  21164. return context;
  21165. }
  21166. function processEventExtra(vm, extra, event, __args__) {
  21167. var extraObj = {};
  21168. if (Array.isArray(extra) && extra.length) {
  21169. /**
  21170. *[
  21171. * ['data.items', 'data.id', item.data.id],
  21172. * ['metas', 'id', meta.id]
  21173. *],
  21174. *[
  21175. * ['data.items', 'data.id', item.data.id],
  21176. * ['metas', 'id', meta.id]
  21177. *],
  21178. *'test'
  21179. */
  21180. extra.forEach(function (dataPath, index) {
  21181. if (typeof dataPath === 'string') {
  21182. if (!dataPath) {
  21183. // model,prop.sync
  21184. extraObj['$' + index] = vm;
  21185. } else {
  21186. if (dataPath === '$event') {
  21187. // $event
  21188. extraObj['$' + index] = event;
  21189. } else if (dataPath === 'arguments') {
  21190. extraObj['$' + index] = event.detail ? event.detail.__args__ || __args__ : __args__;
  21191. } else if (dataPath.indexOf('$event.') === 0) {
  21192. // $event.target.value
  21193. extraObj['$' + index] = vm.__get_value(dataPath.replace('$event.', ''), event);
  21194. } else {
  21195. extraObj['$' + index] = vm.__get_value(dataPath);
  21196. }
  21197. }
  21198. } else {
  21199. extraObj['$' + index] = getExtraValue(vm, dataPath);
  21200. }
  21201. });
  21202. }
  21203. return extraObj;
  21204. }
  21205. function getObjByArray(arr) {
  21206. var obj = {};
  21207. for (var i = 1; i < arr.length; i++) {
  21208. var element = arr[i];
  21209. obj[element[0]] = element[1];
  21210. }
  21211. return obj;
  21212. }
  21213. function processEventArgs(vm, event) {
  21214. var args = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];
  21215. var extra = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : [];
  21216. var isCustom = arguments.length > 4 ? arguments[4] : undefined;
  21217. var methodName = arguments.length > 5 ? arguments[5] : undefined;
  21218. var isCustomMPEvent = false; // wxcomponent 组件,传递原始 event 对象
  21219. // fixed 用户直接触发 mpInstance.triggerEvent
  21220. var __args__ = isPlainObject(event.detail) ? event.detail.__args__ || [event.detail] : [event.detail];
  21221. if (isCustom) {
  21222. // 自定义事件
  21223. isCustomMPEvent = event.currentTarget && event.currentTarget.dataset && event.currentTarget.dataset.comType === 'wx';
  21224. if (!args.length) {
  21225. // 无参数,直接传入 event 或 detail 数组
  21226. if (isCustomMPEvent) {
  21227. return [event];
  21228. }
  21229. return __args__;
  21230. }
  21231. }
  21232. var extraObj = processEventExtra(vm, extra, event, __args__);
  21233. var ret = [];
  21234. args.forEach(function (arg) {
  21235. if (arg === '$event') {
  21236. if (methodName === '__set_model' && !isCustom) {
  21237. // input v-model value
  21238. ret.push(event.target.value);
  21239. } else {
  21240. if (isCustom && !isCustomMPEvent) {
  21241. ret.push(__args__[0]);
  21242. } else {
  21243. // wxcomponent 组件或内置组件
  21244. ret.push(event);
  21245. }
  21246. }
  21247. } else {
  21248. if (Array.isArray(arg) && arg[0] === 'o') {
  21249. ret.push(getObjByArray(arg));
  21250. } else if (typeof arg === 'string' && hasOwn(extraObj, arg)) {
  21251. ret.push(extraObj[arg]);
  21252. } else {
  21253. ret.push(arg);
  21254. }
  21255. }
  21256. });
  21257. return ret;
  21258. }
  21259. var ONCE = '~';
  21260. var CUSTOM = '^';
  21261. function isMatchEventType(eventType, optType) {
  21262. return eventType === optType || optType === 'regionchange' && (eventType === 'begin' || eventType === 'end');
  21263. }
  21264. function getContextVm(vm) {
  21265. var $parent = vm.$parent;
  21266. // 父组件是 scoped slots 或者其他自定义组件时继续查找
  21267. while ($parent && $parent.$parent && ($parent.$options.generic || $parent.$parent.$options.generic || $parent.$scope._$vuePid)) {
  21268. $parent = $parent.$parent;
  21269. }
  21270. return $parent && $parent.$parent;
  21271. }
  21272. function handleEvent(event) {
  21273. var _this2 = this;
  21274. event = wrapper$1(event);
  21275. // [['tap',[['handle',[1,2,a]],['handle1',[1,2,a]]]]]
  21276. var dataset = (event.currentTarget || event.target).dataset;
  21277. if (!dataset) {
  21278. return console.warn('事件信息不存在');
  21279. }
  21280. var eventOpts = dataset.eventOpts || dataset['event-opts']; // 支付宝 web-view 组件 dataset 非驼峰
  21281. if (!eventOpts) {
  21282. return console.warn('事件信息不存在');
  21283. }
  21284. // [['handle',[1,2,a]],['handle1',[1,2,a]]]
  21285. var eventType = event.type;
  21286. var ret = [];
  21287. eventOpts.forEach(function (eventOpt) {
  21288. var type = eventOpt[0];
  21289. var eventsArray = eventOpt[1];
  21290. var isCustom = type.charAt(0) === CUSTOM;
  21291. type = isCustom ? type.slice(1) : type;
  21292. var isOnce = type.charAt(0) === ONCE;
  21293. type = isOnce ? type.slice(1) : type;
  21294. if (eventsArray && isMatchEventType(eventType, type)) {
  21295. eventsArray.forEach(function (eventArray) {
  21296. var methodName = eventArray[0];
  21297. if (methodName) {
  21298. var handlerCtx = _this2.$vm;
  21299. if (handlerCtx.$options.generic) {
  21300. // mp-weixin,mp-toutiao 抽象节点模拟 scoped slots
  21301. handlerCtx = getContextVm(handlerCtx) || handlerCtx;
  21302. }
  21303. if (methodName === '$emit') {
  21304. handlerCtx.$emit.apply(handlerCtx, processEventArgs(_this2.$vm, event, eventArray[1], eventArray[2], isCustom, methodName));
  21305. return;
  21306. }
  21307. var handler = handlerCtx[methodName];
  21308. if (!isFn(handler)) {
  21309. var _type = _this2.$vm.mpType === 'page' ? 'Page' : 'Component';
  21310. var path = _this2.route || _this2.is;
  21311. throw new Error("".concat(_type, " \"").concat(path, "\" does not have a method \"").concat(methodName, "\""));
  21312. }
  21313. if (isOnce) {
  21314. if (handler.once) {
  21315. return;
  21316. }
  21317. handler.once = true;
  21318. }
  21319. var params = processEventArgs(_this2.$vm, event, eventArray[1], eventArray[2], isCustom, methodName);
  21320. params = Array.isArray(params) ? params : [];
  21321. // 参数尾部增加原始事件对象用于复杂表达式内获取额外数据
  21322. if (/=\s*\S+\.eventParams\s*\|\|\s*\S+\[['"]event-params['"]\]/.test(handler.toString())) {
  21323. // eslint-disable-next-line no-sparse-arrays
  21324. params = params.concat([,,,,,,,,,, event]);
  21325. }
  21326. ret.push(handler.apply(handlerCtx, params));
  21327. }
  21328. });
  21329. }
  21330. });
  21331. if (eventType === 'input' && ret.length === 1 && typeof ret[0] !== 'undefined') {
  21332. return ret[0];
  21333. }
  21334. }
  21335. var eventChannels = {};
  21336. var eventChannelStack = [];
  21337. function getEventChannel(id) {
  21338. if (id) {
  21339. var eventChannel = eventChannels[id];
  21340. delete eventChannels[id];
  21341. return eventChannel;
  21342. }
  21343. return eventChannelStack.shift();
  21344. }
  21345. var hooks = ['onShow', 'onHide', 'onError', 'onPageNotFound', 'onThemeChange', 'onUnhandledRejection'];
  21346. function initEventChannel() {
  21347. _vue.default.prototype.getOpenerEventChannel = function () {
  21348. // 微信小程序使用自身getOpenerEventChannel
  21349. {
  21350. return this.$scope.getOpenerEventChannel();
  21351. }
  21352. };
  21353. var callHook = _vue.default.prototype.__call_hook;
  21354. _vue.default.prototype.__call_hook = function (hook, args) {
  21355. if (hook === 'onLoad' && args && args.__id__) {
  21356. this.__eventChannel__ = getEventChannel(args.__id__);
  21357. delete args.__id__;
  21358. }
  21359. return callHook.call(this, hook, args);
  21360. };
  21361. }
  21362. function initScopedSlotsParams() {
  21363. var center = {};
  21364. var parents = {};
  21365. _vue.default.prototype.$hasScopedSlotsParams = function (vueId) {
  21366. var has = center[vueId];
  21367. if (!has) {
  21368. parents[vueId] = this;
  21369. this.$on('hook:destroyed', function () {
  21370. delete parents[vueId];
  21371. });
  21372. }
  21373. return has;
  21374. };
  21375. _vue.default.prototype.$getScopedSlotsParams = function (vueId, name, key) {
  21376. var data = center[vueId];
  21377. if (data) {
  21378. var object = data[name] || {};
  21379. return key ? object[key] : object;
  21380. } else {
  21381. parents[vueId] = this;
  21382. this.$on('hook:destroyed', function () {
  21383. delete parents[vueId];
  21384. });
  21385. }
  21386. };
  21387. _vue.default.prototype.$setScopedSlotsParams = function (name, value) {
  21388. var vueIds = this.$options.propsData.vueId;
  21389. if (vueIds) {
  21390. var vueId = vueIds.split(',')[0];
  21391. var object = center[vueId] = center[vueId] || {};
  21392. object[name] = value;
  21393. if (parents[vueId]) {
  21394. parents[vueId].$forceUpdate();
  21395. }
  21396. }
  21397. };
  21398. _vue.default.mixin({
  21399. destroyed: function destroyed() {
  21400. var propsData = this.$options.propsData;
  21401. var vueId = propsData && propsData.vueId;
  21402. if (vueId) {
  21403. delete center[vueId];
  21404. delete parents[vueId];
  21405. }
  21406. }
  21407. });
  21408. }
  21409. function parseBaseApp(vm, _ref4) {
  21410. var mocks = _ref4.mocks,
  21411. initRefs = _ref4.initRefs;
  21412. initEventChannel();
  21413. {
  21414. initScopedSlotsParams();
  21415. }
  21416. if (vm.$options.store) {
  21417. _vue.default.prototype.$store = vm.$options.store;
  21418. }
  21419. uniIdMixin(_vue.default);
  21420. _vue.default.prototype.mpHost = "mp-weixin";
  21421. _vue.default.mixin({
  21422. beforeCreate: function beforeCreate() {
  21423. if (!this.$options.mpType) {
  21424. return;
  21425. }
  21426. this.mpType = this.$options.mpType;
  21427. this.$mp = (0, _defineProperty2.default)({
  21428. data: {}
  21429. }, this.mpType, this.$options.mpInstance);
  21430. this.$scope = this.$options.mpInstance;
  21431. delete this.$options.mpType;
  21432. delete this.$options.mpInstance;
  21433. if (this.mpType === 'page' && typeof getApp === 'function') {
  21434. // hack vue-i18n
  21435. var app = getApp();
  21436. if (app.$vm && app.$vm.$i18n) {
  21437. this._i18n = app.$vm.$i18n;
  21438. }
  21439. }
  21440. if (this.mpType !== 'app') {
  21441. initRefs(this);
  21442. initMocks(this, mocks);
  21443. }
  21444. }
  21445. });
  21446. var appOptions = {
  21447. onLaunch: function onLaunch(args) {
  21448. if (this.$vm) {
  21449. // 已经初始化过了,主要是为了百度,百度 onShow 在 onLaunch 之前
  21450. return;
  21451. }
  21452. {
  21453. if (wx.canIUse && !wx.canIUse('nextTick')) {
  21454. // 事实 上2.2.3 即可,简单使用 2.3.0 的 nextTick 判断
  21455. console.error('当前微信基础库版本过低,请将 微信开发者工具-详情-项目设置-调试基础库版本 更换为`2.3.0`以上');
  21456. }
  21457. }
  21458. this.$vm = vm;
  21459. this.$vm.$mp = {
  21460. app: this
  21461. };
  21462. this.$vm.$scope = this;
  21463. // vm 上也挂载 globalData
  21464. this.$vm.globalData = this.globalData;
  21465. this.$vm._isMounted = true;
  21466. this.$vm.__call_hook('mounted', args);
  21467. this.$vm.__call_hook('onLaunch', args);
  21468. }
  21469. };
  21470. // 兼容旧版本 globalData
  21471. appOptions.globalData = vm.$options.globalData || {};
  21472. // 将 methods 中的方法挂在 getApp() 中
  21473. var methods = vm.$options.methods;
  21474. if (methods) {
  21475. Object.keys(methods).forEach(function (name) {
  21476. appOptions[name] = methods[name];
  21477. });
  21478. }
  21479. initAppLocale(_vue.default, vm, normalizeLocale(wx.getSystemInfoSync().language) || LOCALE_EN);
  21480. initHooks(appOptions, hooks);
  21481. initUnknownHooks(appOptions, vm.$options);
  21482. return appOptions;
  21483. }
  21484. function parseApp(vm) {
  21485. return parseBaseApp(vm, {
  21486. mocks: mocks,
  21487. initRefs: initRefs
  21488. });
  21489. }
  21490. function createApp(vm) {
  21491. App(parseApp(vm));
  21492. return vm;
  21493. }
  21494. var encodeReserveRE = /[!'()*]/g;
  21495. var encodeReserveReplacer = function encodeReserveReplacer(c) {
  21496. return '%' + c.charCodeAt(0).toString(16);
  21497. };
  21498. var commaRE = /%2C/g;
  21499. // fixed encodeURIComponent which is more conformant to RFC3986:
  21500. // - escapes [!'()*]
  21501. // - preserve commas
  21502. var encode = function encode(str) {
  21503. return encodeURIComponent(str).replace(encodeReserveRE, encodeReserveReplacer).replace(commaRE, ',');
  21504. };
  21505. function stringifyQuery(obj) {
  21506. var encodeStr = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : encode;
  21507. var res = obj ? Object.keys(obj).map(function (key) {
  21508. var val = obj[key];
  21509. if (val === undefined) {
  21510. return '';
  21511. }
  21512. if (val === null) {
  21513. return encodeStr(key);
  21514. }
  21515. if (Array.isArray(val)) {
  21516. var result = [];
  21517. val.forEach(function (val2) {
  21518. if (val2 === undefined) {
  21519. return;
  21520. }
  21521. if (val2 === null) {
  21522. result.push(encodeStr(key));
  21523. } else {
  21524. result.push(encodeStr(key) + '=' + encodeStr(val2));
  21525. }
  21526. });
  21527. return result.join('&');
  21528. }
  21529. return encodeStr(key) + '=' + encodeStr(val);
  21530. }).filter(function (x) {
  21531. return x.length > 0;
  21532. }).join('&') : null;
  21533. return res ? "?".concat(res) : '';
  21534. }
  21535. function parseBaseComponent(vueComponentOptions) {
  21536. var _ref5 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {},
  21537. isPage = _ref5.isPage,
  21538. initRelation = _ref5.initRelation;
  21539. var needVueOptions = arguments.length > 2 ? arguments[2] : undefined;
  21540. var _initVueComponent = initVueComponent(_vue.default, vueComponentOptions),
  21541. _initVueComponent2 = (0, _slicedToArray2.default)(_initVueComponent, 2),
  21542. VueComponent = _initVueComponent2[0],
  21543. vueOptions = _initVueComponent2[1];
  21544. var options = _objectSpread({
  21545. multipleSlots: true,
  21546. addGlobalClass: true
  21547. }, vueOptions.options || {});
  21548. {
  21549. // 微信 multipleSlots 部分情况有 bug,导致内容顺序错乱 如 u-list,提供覆盖选项
  21550. if (vueOptions['mp-weixin'] && vueOptions['mp-weixin'].options) {
  21551. Object.assign(options, vueOptions['mp-weixin'].options);
  21552. }
  21553. }
  21554. var componentOptions = {
  21555. options: options,
  21556. data: initData(vueOptions, _vue.default.prototype),
  21557. behaviors: initBehaviors(vueOptions, initBehavior),
  21558. properties: initProperties(vueOptions.props, false, vueOptions.__file, options),
  21559. lifetimes: {
  21560. attached: function attached() {
  21561. var properties = this.properties;
  21562. var options = {
  21563. mpType: isPage.call(this) ? 'page' : 'component',
  21564. mpInstance: this,
  21565. propsData: properties
  21566. };
  21567. initVueIds(properties.vueId, this);
  21568. // 处理父子关系
  21569. initRelation.call(this, {
  21570. vuePid: this._$vuePid,
  21571. vueOptions: options
  21572. });
  21573. // 初始化 vue 实例
  21574. this.$vm = new VueComponent(options);
  21575. // 处理$slots,$scopedSlots(暂不支持动态变化$slots)
  21576. initSlots(this.$vm, properties.vueSlots);
  21577. // 触发首次 setData
  21578. this.$vm.$mount();
  21579. },
  21580. ready: function ready() {
  21581. // 当组件 props 默认值为 true,初始化时传入 false 会导致 created,ready 触发, 但 attached 不触发
  21582. // https://developers.weixin.qq.com/community/develop/doc/00066ae2844cc0f8eb883e2a557800
  21583. if (this.$vm) {
  21584. this.$vm._isMounted = true;
  21585. this.$vm.__call_hook('mounted');
  21586. this.$vm.__call_hook('onReady');
  21587. }
  21588. },
  21589. detached: function detached() {
  21590. this.$vm && this.$vm.$destroy();
  21591. }
  21592. },
  21593. pageLifetimes: {
  21594. show: function show(args) {
  21595. this.$vm && this.$vm.__call_hook('onPageShow', args);
  21596. },
  21597. hide: function hide() {
  21598. this.$vm && this.$vm.__call_hook('onPageHide');
  21599. },
  21600. resize: function resize(size) {
  21601. this.$vm && this.$vm.__call_hook('onPageResize', size);
  21602. }
  21603. },
  21604. methods: {
  21605. __l: handleLink,
  21606. __e: handleEvent
  21607. }
  21608. };
  21609. // externalClasses
  21610. if (vueOptions.externalClasses) {
  21611. componentOptions.externalClasses = vueOptions.externalClasses;
  21612. }
  21613. if (Array.isArray(vueOptions.wxsCallMethods)) {
  21614. vueOptions.wxsCallMethods.forEach(function (callMethod) {
  21615. componentOptions.methods[callMethod] = function (args) {
  21616. return this.$vm[callMethod](args);
  21617. };
  21618. });
  21619. }
  21620. if (needVueOptions) {
  21621. return [componentOptions, vueOptions, VueComponent];
  21622. }
  21623. if (isPage) {
  21624. return componentOptions;
  21625. }
  21626. return [componentOptions, VueComponent];
  21627. }
  21628. function parseComponent(vueComponentOptions, needVueOptions) {
  21629. return parseBaseComponent(vueComponentOptions, {
  21630. isPage: isPage,
  21631. initRelation: initRelation
  21632. }, needVueOptions);
  21633. }
  21634. var hooks$1 = ['onShow', 'onHide', 'onUnload'];
  21635. hooks$1.push.apply(hooks$1, PAGE_EVENT_HOOKS);
  21636. function parseBasePage(vuePageOptions) {
  21637. var _parseComponent = parseComponent(vuePageOptions, true),
  21638. _parseComponent2 = (0, _slicedToArray2.default)(_parseComponent, 2),
  21639. pageOptions = _parseComponent2[0],
  21640. vueOptions = _parseComponent2[1];
  21641. initHooks(pageOptions.methods, hooks$1, vueOptions);
  21642. pageOptions.methods.onLoad = function (query) {
  21643. this.options = query;
  21644. var copyQuery = Object.assign({}, query);
  21645. delete copyQuery.__id__;
  21646. this.$page = {
  21647. fullPath: '/' + (this.route || this.is) + stringifyQuery(copyQuery)
  21648. };
  21649. this.$vm.$mp.query = query; // 兼容 mpvue
  21650. this.$vm.__call_hook('onLoad', query);
  21651. };
  21652. {
  21653. initUnknownHooks(pageOptions.methods, vuePageOptions, ['onReady']);
  21654. }
  21655. {
  21656. initWorkletMethods(pageOptions.methods, vueOptions.methods);
  21657. }
  21658. return pageOptions;
  21659. }
  21660. function parsePage(vuePageOptions) {
  21661. return parseBasePage(vuePageOptions);
  21662. }
  21663. function createPage(vuePageOptions) {
  21664. {
  21665. return Component(parsePage(vuePageOptions));
  21666. }
  21667. }
  21668. function createComponent(vueOptions) {
  21669. {
  21670. return Component(parseComponent(vueOptions));
  21671. }
  21672. }
  21673. function createSubpackageApp(vm) {
  21674. var appOptions = parseApp(vm);
  21675. var app = getApp({
  21676. allowDefault: true
  21677. });
  21678. vm.$scope = app;
  21679. var globalData = app.globalData;
  21680. if (globalData) {
  21681. Object.keys(appOptions.globalData).forEach(function (name) {
  21682. if (!hasOwn(globalData, name)) {
  21683. globalData[name] = appOptions.globalData[name];
  21684. }
  21685. });
  21686. }
  21687. Object.keys(appOptions).forEach(function (name) {
  21688. if (!hasOwn(app, name)) {
  21689. app[name] = appOptions[name];
  21690. }
  21691. });
  21692. if (isFn(appOptions.onShow) && wx.onAppShow) {
  21693. wx.onAppShow(function () {
  21694. for (var _len5 = arguments.length, args = new Array(_len5), _key5 = 0; _key5 < _len5; _key5++) {
  21695. args[_key5] = arguments[_key5];
  21696. }
  21697. vm.__call_hook('onShow', args);
  21698. });
  21699. }
  21700. if (isFn(appOptions.onHide) && wx.onAppHide) {
  21701. wx.onAppHide(function () {
  21702. for (var _len6 = arguments.length, args = new Array(_len6), _key6 = 0; _key6 < _len6; _key6++) {
  21703. args[_key6] = arguments[_key6];
  21704. }
  21705. vm.__call_hook('onHide', args);
  21706. });
  21707. }
  21708. if (isFn(appOptions.onLaunch)) {
  21709. var args = wx.getLaunchOptionsSync && wx.getLaunchOptionsSync();
  21710. vm.__call_hook('onLaunch', args);
  21711. }
  21712. return vm;
  21713. }
  21714. function createPlugin(vm) {
  21715. var appOptions = parseApp(vm);
  21716. if (isFn(appOptions.onShow) && wx.onAppShow) {
  21717. wx.onAppShow(function () {
  21718. for (var _len7 = arguments.length, args = new Array(_len7), _key7 = 0; _key7 < _len7; _key7++) {
  21719. args[_key7] = arguments[_key7];
  21720. }
  21721. vm.__call_hook('onShow', args);
  21722. });
  21723. }
  21724. if (isFn(appOptions.onHide) && wx.onAppHide) {
  21725. wx.onAppHide(function () {
  21726. for (var _len8 = arguments.length, args = new Array(_len8), _key8 = 0; _key8 < _len8; _key8++) {
  21727. args[_key8] = arguments[_key8];
  21728. }
  21729. vm.__call_hook('onHide', args);
  21730. });
  21731. }
  21732. if (isFn(appOptions.onLaunch)) {
  21733. var args = wx.getLaunchOptionsSync && wx.getLaunchOptionsSync();
  21734. vm.__call_hook('onLaunch', args);
  21735. }
  21736. return vm;
  21737. }
  21738. todos.forEach(function (todoApi) {
  21739. protocols[todoApi] = false;
  21740. });
  21741. canIUses.forEach(function (canIUseApi) {
  21742. var apiName = protocols[canIUseApi] && protocols[canIUseApi].name ? protocols[canIUseApi].name : canIUseApi;
  21743. if (!wx.canIUse(apiName)) {
  21744. protocols[canIUseApi] = false;
  21745. }
  21746. });
  21747. var uni = {};
  21748. if (typeof Proxy !== 'undefined' && "mp-weixin" !== 'app-plus') {
  21749. uni = new Proxy({}, {
  21750. get: function get(target, name) {
  21751. if (hasOwn(target, name)) {
  21752. return target[name];
  21753. }
  21754. if (baseApi[name]) {
  21755. return baseApi[name];
  21756. }
  21757. if (api[name]) {
  21758. return promisify(name, api[name]);
  21759. }
  21760. {
  21761. if (extraApi[name]) {
  21762. return promisify(name, extraApi[name]);
  21763. }
  21764. if (todoApis[name]) {
  21765. return promisify(name, todoApis[name]);
  21766. }
  21767. }
  21768. if (eventApi[name]) {
  21769. return eventApi[name];
  21770. }
  21771. return promisify(name, wrapper(name, wx[name]));
  21772. },
  21773. set: function set(target, name, value) {
  21774. target[name] = value;
  21775. return true;
  21776. }
  21777. });
  21778. } else {
  21779. Object.keys(baseApi).forEach(function (name) {
  21780. uni[name] = baseApi[name];
  21781. });
  21782. {
  21783. Object.keys(todoApis).forEach(function (name) {
  21784. uni[name] = promisify(name, todoApis[name]);
  21785. });
  21786. Object.keys(extraApi).forEach(function (name) {
  21787. uni[name] = promisify(name, todoApis[name]);
  21788. });
  21789. }
  21790. Object.keys(eventApi).forEach(function (name) {
  21791. uni[name] = eventApi[name];
  21792. });
  21793. Object.keys(api).forEach(function (name) {
  21794. uni[name] = promisify(name, api[name]);
  21795. });
  21796. Object.keys(wx).forEach(function (name) {
  21797. if (hasOwn(wx, name) || hasOwn(protocols, name)) {
  21798. uni[name] = promisify(name, wrapper(name, wx[name]));
  21799. }
  21800. });
  21801. }
  21802. wx.createApp = createApp;
  21803. wx.createPage = createPage;
  21804. wx.createComponent = createComponent;
  21805. wx.createSubpackageApp = createSubpackageApp;
  21806. wx.createPlugin = createPlugin;
  21807. var uni$1 = uni;
  21808. var _default = uni$1;
  21809. exports.default = _default;
  21810. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/wx.js */ 1)["default"], __webpack_require__(/*! ./../../../webpack/buildin/global.js */ 3)))
  21811. /***/ }),
  21812. /***/ 20:
  21813. /*!****************************************************************!*\
  21814. !*** ./node_modules/@babel/runtime/helpers/iterableToArray.js ***!
  21815. \****************************************************************/
  21816. /*! no static exports found */
  21817. /***/ (function(module, exports) {
  21818. function _iterableToArray(iter) {
  21819. if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
  21820. }
  21821. module.exports = _iterableToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
  21822. /***/ }),
  21823. /***/ 2005:
  21824. /*!*******************************************************************************************************************!*\
  21825. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/uni_modules/uni-datetime-picker/components/uni-datetime-picker/util.js ***!
  21826. \*******************************************************************************************************************/
  21827. /*! no static exports found */
  21828. /***/ (function(module, exports, __webpack_require__) {
  21829. "use strict";
  21830. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  21831. Object.defineProperty(exports, "__esModule", {
  21832. value: true
  21833. });
  21834. exports.default = void 0;
  21835. var _typeof2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/typeof */ 13));
  21836. var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ 23));
  21837. var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ 24));
  21838. var _calendar = _interopRequireDefault(__webpack_require__(/*! ./calendar.js */ 2006));
  21839. var Calendar = /*#__PURE__*/function () {
  21840. function Calendar() {
  21841. var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
  21842. date = _ref.date,
  21843. selected = _ref.selected,
  21844. startDate = _ref.startDate,
  21845. endDate = _ref.endDate,
  21846. range = _ref.range;
  21847. (0, _classCallCheck2.default)(this, Calendar);
  21848. // 当前日期
  21849. this.date = this.getDate(new Date()); // 当前初入日期
  21850. // 打点信息
  21851. this.selected = selected || [];
  21852. // 范围开始
  21853. this.startDate = startDate;
  21854. // 范围结束
  21855. this.endDate = endDate;
  21856. this.range = range;
  21857. // 多选状态
  21858. this.cleanMultipleStatus();
  21859. // 每周日期
  21860. this.weeks = {};
  21861. // this._getWeek(this.date.fullDate)
  21862. // this.multipleStatus = multipleStatus
  21863. this.lastHover = false;
  21864. }
  21865. /**
  21866. * 设置日期
  21867. * @param {Object} date
  21868. */
  21869. (0, _createClass2.default)(Calendar, [{
  21870. key: "setDate",
  21871. value: function setDate(date) {
  21872. this.selectDate = this.getDate(date);
  21873. this._getWeek(this.selectDate.fullDate);
  21874. }
  21875. /**
  21876. * 清理多选状态
  21877. */
  21878. }, {
  21879. key: "cleanMultipleStatus",
  21880. value: function cleanMultipleStatus() {
  21881. this.multipleStatus = {
  21882. before: '',
  21883. after: '',
  21884. data: []
  21885. };
  21886. }
  21887. /**
  21888. * 重置开始日期
  21889. */
  21890. }, {
  21891. key: "resetSatrtDate",
  21892. value: function resetSatrtDate(startDate) {
  21893. // 范围开始
  21894. this.startDate = startDate;
  21895. }
  21896. /**
  21897. * 重置结束日期
  21898. */
  21899. }, {
  21900. key: "resetEndDate",
  21901. value: function resetEndDate(endDate) {
  21902. // 范围结束
  21903. this.endDate = endDate;
  21904. }
  21905. /**
  21906. * 获取任意时间
  21907. */
  21908. }, {
  21909. key: "getDate",
  21910. value: function getDate(date) {
  21911. var AddDayCount = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
  21912. var str = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'day';
  21913. if (!date) {
  21914. date = new Date();
  21915. }
  21916. if ((0, _typeof2.default)(date) !== 'object') {
  21917. date = date.replace(/-/g, '/');
  21918. }
  21919. var dd = new Date(date);
  21920. switch (str) {
  21921. case 'day':
  21922. dd.setDate(dd.getDate() + AddDayCount); // 获取AddDayCount天后的日期
  21923. break;
  21924. case 'month':
  21925. if (dd.getDate() === 31) {
  21926. dd.setDate(dd.getDate() + AddDayCount);
  21927. } else {
  21928. dd.setMonth(dd.getMonth() + AddDayCount); // 获取AddDayCount天后的日期
  21929. }
  21930. break;
  21931. case 'year':
  21932. dd.setFullYear(dd.getFullYear() + AddDayCount); // 获取AddDayCount天后的日期
  21933. break;
  21934. }
  21935. var y = dd.getFullYear();
  21936. var m = dd.getMonth() + 1 < 10 ? '0' + (dd.getMonth() + 1) : dd.getMonth() + 1; // 获取当前月份的日期,不足10补0
  21937. var d = dd.getDate() < 10 ? '0' + dd.getDate() : dd.getDate(); // 获取当前几号,不足10补0
  21938. return {
  21939. fullDate: y + '-' + m + '-' + d,
  21940. year: y,
  21941. month: m,
  21942. date: d,
  21943. day: dd.getDay()
  21944. };
  21945. }
  21946. /**
  21947. * 获取上月剩余天数
  21948. */
  21949. }, {
  21950. key: "_getLastMonthDays",
  21951. value: function _getLastMonthDays(firstDay, full) {
  21952. var dateArr = [];
  21953. for (var i = firstDay; i > 0; i--) {
  21954. var beforeDate = new Date(full.year, full.month - 1, -i + 1).getDate();
  21955. dateArr.push({
  21956. date: beforeDate,
  21957. month: full.month - 1,
  21958. lunar: this.getlunar(full.year, full.month - 1, beforeDate),
  21959. disable: true
  21960. });
  21961. }
  21962. return dateArr;
  21963. }
  21964. /**
  21965. * 获取本月天数
  21966. */
  21967. }, {
  21968. key: "_currentMonthDys",
  21969. value: function _currentMonthDys(dateData, full) {
  21970. var _this = this;
  21971. var dateArr = [];
  21972. var fullDate = this.date.fullDate;
  21973. var _loop = function _loop(i) {
  21974. var isinfo = false;
  21975. var nowDate = full.year + '-' + (full.month < 10 ? full.month : full.month) + '-' + (i < 10 ? '0' + i : i);
  21976. // 是否今天
  21977. var isDay = fullDate === nowDate;
  21978. // 获取打点信息
  21979. var info = _this.selected && _this.selected.find(function (item) {
  21980. if (_this.dateEqual(nowDate, item.date)) {
  21981. return item;
  21982. }
  21983. });
  21984. // 日期禁用
  21985. var disableBefore = true;
  21986. var disableAfter = true;
  21987. if (_this.startDate) {
  21988. // let dateCompBefore = this.dateCompare(this.startDate, fullDate)
  21989. // disableBefore = this.dateCompare(dateCompBefore ? this.startDate : fullDate, nowDate)
  21990. disableBefore = _this.dateCompare(_this.startDate, nowDate);
  21991. }
  21992. if (_this.endDate) {
  21993. // let dateCompAfter = this.dateCompare(fullDate, this.endDate)
  21994. // disableAfter = this.dateCompare(nowDate, dateCompAfter ? this.endDate : fullDate)
  21995. disableAfter = _this.dateCompare(nowDate, _this.endDate);
  21996. }
  21997. var multiples = _this.multipleStatus.data;
  21998. var checked = false;
  21999. var multiplesStatus = -1;
  22000. if (_this.range) {
  22001. if (multiples) {
  22002. multiplesStatus = multiples.findIndex(function (item) {
  22003. return _this.dateEqual(item, nowDate);
  22004. });
  22005. }
  22006. if (multiplesStatus !== -1) {
  22007. checked = true;
  22008. }
  22009. }
  22010. var data = {
  22011. fullDate: nowDate,
  22012. year: full.year,
  22013. date: i,
  22014. multiple: _this.range ? checked : false,
  22015. beforeMultiple: _this.dateEqual(_this.multipleStatus.before, nowDate),
  22016. afterMultiple: _this.dateEqual(_this.multipleStatus.after, nowDate),
  22017. month: full.month,
  22018. lunar: _this.getlunar(full.year, full.month, i),
  22019. disable: !(disableBefore && disableAfter),
  22020. isDay: isDay
  22021. };
  22022. if (info) {
  22023. data.extraInfo = info;
  22024. }
  22025. dateArr.push(data);
  22026. };
  22027. for (var i = 1; i <= dateData; i++) {
  22028. _loop(i);
  22029. }
  22030. return dateArr;
  22031. }
  22032. /**
  22033. * 获取下月天数
  22034. */
  22035. }, {
  22036. key: "_getNextMonthDays",
  22037. value: function _getNextMonthDays(surplus, full) {
  22038. var dateArr = [];
  22039. for (var i = 1; i < surplus + 1; i++) {
  22040. dateArr.push({
  22041. date: i,
  22042. month: Number(full.month) + 1,
  22043. lunar: this.getlunar(full.year, Number(full.month) + 1, i),
  22044. disable: true
  22045. });
  22046. }
  22047. return dateArr;
  22048. }
  22049. /**
  22050. * 获取当前日期详情
  22051. * @param {Object} date
  22052. */
  22053. }, {
  22054. key: "getInfo",
  22055. value: function getInfo(date) {
  22056. var _this2 = this;
  22057. if (!date) {
  22058. date = new Date();
  22059. }
  22060. var dateInfo = this.canlender.find(function (item) {
  22061. return item.fullDate === _this2.getDate(date).fullDate;
  22062. });
  22063. return dateInfo;
  22064. }
  22065. /**
  22066. * 比较时间大小
  22067. */
  22068. }, {
  22069. key: "dateCompare",
  22070. value: function dateCompare(startDate, endDate) {
  22071. // 计算截止时间
  22072. startDate = new Date(startDate.replace('-', '/').replace('-', '/'));
  22073. // 计算详细项的截止时间
  22074. endDate = new Date(endDate.replace('-', '/').replace('-', '/'));
  22075. if (startDate <= endDate) {
  22076. return true;
  22077. } else {
  22078. return false;
  22079. }
  22080. }
  22081. /**
  22082. * 比较时间是否相等
  22083. */
  22084. }, {
  22085. key: "dateEqual",
  22086. value: function dateEqual(before, after) {
  22087. // 计算截止时间
  22088. before = new Date(before.replace('-', '/').replace('-', '/'));
  22089. // 计算详细项的截止时间
  22090. after = new Date(after.replace('-', '/').replace('-', '/'));
  22091. if (before.getTime() - after.getTime() === 0) {
  22092. return true;
  22093. } else {
  22094. return false;
  22095. }
  22096. }
  22097. /**
  22098. * 获取日期范围内所有日期
  22099. * @param {Object} begin
  22100. * @param {Object} end
  22101. */
  22102. }, {
  22103. key: "geDateAll",
  22104. value: function geDateAll(begin, end) {
  22105. var arr = [];
  22106. var ab = begin.split('-');
  22107. var ae = end.split('-');
  22108. var db = new Date();
  22109. db.setFullYear(ab[0], ab[1] - 1, ab[2]);
  22110. var de = new Date();
  22111. de.setFullYear(ae[0], ae[1] - 1, ae[2]);
  22112. var unixDb = db.getTime() - 24 * 60 * 60 * 1000;
  22113. var unixDe = de.getTime() - 24 * 60 * 60 * 1000;
  22114. for (var k = unixDb; k <= unixDe;) {
  22115. k = k + 24 * 60 * 60 * 1000;
  22116. arr.push(this.getDate(new Date(parseInt(k))).fullDate);
  22117. }
  22118. return arr;
  22119. }
  22120. /**
  22121. * 计算阴历日期显示
  22122. */
  22123. }, {
  22124. key: "getlunar",
  22125. value: function getlunar(year, month, date) {
  22126. return _calendar.default.solar2lunar(year, month, date);
  22127. }
  22128. /**
  22129. * 设置打点
  22130. */
  22131. }, {
  22132. key: "setSelectInfo",
  22133. value: function setSelectInfo(data, value) {
  22134. this.selected = value;
  22135. this._getWeek(data);
  22136. }
  22137. /**
  22138. * 获取多选状态
  22139. */
  22140. }, {
  22141. key: "setMultiple",
  22142. value: function setMultiple(fullDate) {
  22143. var _this$multipleStatus = this.multipleStatus,
  22144. before = _this$multipleStatus.before,
  22145. after = _this$multipleStatus.after;
  22146. if (!this.range) return;
  22147. if (before && after) {
  22148. if (!this.lastHover) {
  22149. this.lastHover = true;
  22150. return;
  22151. }
  22152. this.multipleStatus.before = '';
  22153. this.multipleStatus.after = '';
  22154. this.multipleStatus.data = [];
  22155. this.multipleStatus.fulldate = '';
  22156. this.lastHover = false;
  22157. } else {
  22158. this.lastHover = false;
  22159. if (!before) {
  22160. this.multipleStatus.before = fullDate;
  22161. } else {
  22162. this.multipleStatus.after = fullDate;
  22163. if (this.dateCompare(this.multipleStatus.before, this.multipleStatus.after)) {
  22164. this.multipleStatus.data = this.geDateAll(this.multipleStatus.before, this.multipleStatus.after);
  22165. } else {
  22166. this.multipleStatus.data = this.geDateAll(this.multipleStatus.after, this.multipleStatus.before);
  22167. }
  22168. }
  22169. }
  22170. this._getWeek(fullDate);
  22171. }
  22172. /**
  22173. * 鼠标 hover 更新多选状态
  22174. */
  22175. }, {
  22176. key: "setHoverMultiple",
  22177. value: function setHoverMultiple(fullDate) {
  22178. var _this$multipleStatus2 = this.multipleStatus,
  22179. before = _this$multipleStatus2.before,
  22180. after = _this$multipleStatus2.after;
  22181. if (!this.range) return;
  22182. if (this.lastHover) return;
  22183. if (!before) {
  22184. this.multipleStatus.before = fullDate;
  22185. } else {
  22186. this.multipleStatus.after = fullDate;
  22187. if (this.dateCompare(this.multipleStatus.before, this.multipleStatus.after)) {
  22188. this.multipleStatus.data = this.geDateAll(this.multipleStatus.before, this.multipleStatus.after);
  22189. } else {
  22190. this.multipleStatus.data = this.geDateAll(this.multipleStatus.after, this.multipleStatus.before);
  22191. }
  22192. }
  22193. this._getWeek(fullDate);
  22194. }
  22195. /**
  22196. * 更新默认值多选状态
  22197. */
  22198. }, {
  22199. key: "setDefaultMultiple",
  22200. value: function setDefaultMultiple(before, after) {
  22201. this.multipleStatus.before = before;
  22202. this.multipleStatus.after = after;
  22203. if (before && after) {
  22204. if (this.dateCompare(before, after)) {
  22205. this.multipleStatus.data = this.geDateAll(before, after);
  22206. this._getWeek(after);
  22207. } else {
  22208. this.multipleStatus.data = this.geDateAll(after, before);
  22209. this._getWeek(before);
  22210. }
  22211. }
  22212. }
  22213. /**
  22214. * 获取每周数据
  22215. * @param {Object} dateData
  22216. */
  22217. }, {
  22218. key: "_getWeek",
  22219. value: function _getWeek(dateData) {
  22220. var _this$getDate = this.getDate(dateData),
  22221. fullDate = _this$getDate.fullDate,
  22222. year = _this$getDate.year,
  22223. month = _this$getDate.month,
  22224. date = _this$getDate.date,
  22225. day = _this$getDate.day;
  22226. var firstDay = new Date(year, month - 1, 1).getDay();
  22227. var currentDay = new Date(year, month, 0).getDate();
  22228. var dates = {
  22229. lastMonthDays: this._getLastMonthDays(firstDay, this.getDate(dateData)),
  22230. // 上个月末尾几天
  22231. currentMonthDys: this._currentMonthDys(currentDay, this.getDate(dateData)),
  22232. // 本月天数
  22233. nextMonthDays: [],
  22234. // 下个月开始几天
  22235. weeks: []
  22236. };
  22237. var canlender = [];
  22238. var surplus = 42 - (dates.lastMonthDays.length + dates.currentMonthDys.length);
  22239. dates.nextMonthDays = this._getNextMonthDays(surplus, this.getDate(dateData));
  22240. canlender = canlender.concat(dates.lastMonthDays, dates.currentMonthDys, dates.nextMonthDays);
  22241. var weeks = {};
  22242. // 拼接数组 上个月开始几天 + 本月天数+ 下个月开始几天
  22243. for (var i = 0; i < canlender.length; i++) {
  22244. if (i % 7 === 0) {
  22245. weeks[parseInt(i / 7)] = new Array(7);
  22246. }
  22247. weeks[parseInt(i / 7)][i % 7] = canlender[i];
  22248. }
  22249. this.canlender = canlender;
  22250. this.weeks = weeks;
  22251. }
  22252. //静态方法
  22253. // static init(date) {
  22254. // if (!this.instance) {
  22255. // this.instance = new Calendar(date);
  22256. // }
  22257. // return this.instance;
  22258. // }
  22259. }]);
  22260. return Calendar;
  22261. }();
  22262. var _default = Calendar;
  22263. exports.default = _default;
  22264. /***/ }),
  22265. /***/ 2006:
  22266. /*!***********************************************************************************************************************!*\
  22267. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/uni_modules/uni-datetime-picker/components/uni-datetime-picker/calendar.js ***!
  22268. \***********************************************************************************************************************/
  22269. /*! no static exports found */
  22270. /***/ (function(module, exports, __webpack_require__) {
  22271. "use strict";
  22272. Object.defineProperty(exports, "__esModule", {
  22273. value: true
  22274. });
  22275. exports.default = void 0;
  22276. /**
  22277. * @1900-2100区间内的公历、农历互转
  22278. * @charset UTF-8
  22279. * @github https://github.com/jjonline/calendar.js
  22280. * @Author Jea杨(JJonline@JJonline.Cn)
  22281. * @Time 2014-7-21
  22282. * @Time 2016-8-13 Fixed 2033hex、Attribution Annals
  22283. * @Time 2016-9-25 Fixed lunar LeapMonth Param Bug
  22284. * @Time 2017-7-24 Fixed use getTerm Func Param Error.use solar year,NOT lunar year
  22285. * @Version 1.0.3
  22286. * @公历转农历:calendar.solar2lunar(1987,11,01); //[you can ignore params of prefix 0]
  22287. * @农历转公历:calendar.lunar2solar(1987,09,10); //[you can ignore params of prefix 0]
  22288. */
  22289. /* eslint-disable */
  22290. var calendar = {
  22291. /**
  22292. * 农历1900-2100的润大小信息表
  22293. * @Array Of Property
  22294. * @return Hex
  22295. */
  22296. lunarInfo: [0x04bd8, 0x04ae0, 0x0a570, 0x054d5, 0x0d260, 0x0d950, 0x16554, 0x056a0, 0x09ad0, 0x055d2,
  22297. // 1900-1909
  22298. 0x04ae0, 0x0a5b6, 0x0a4d0, 0x0d250, 0x1d255, 0x0b540, 0x0d6a0, 0x0ada2, 0x095b0, 0x14977,
  22299. // 1910-1919
  22300. 0x04970, 0x0a4b0, 0x0b4b5, 0x06a50, 0x06d40, 0x1ab54, 0x02b60, 0x09570, 0x052f2, 0x04970,
  22301. // 1920-1929
  22302. 0x06566, 0x0d4a0, 0x0ea50, 0x06e95, 0x05ad0, 0x02b60, 0x186e3, 0x092e0, 0x1c8d7, 0x0c950,
  22303. // 1930-1939
  22304. 0x0d4a0, 0x1d8a6, 0x0b550, 0x056a0, 0x1a5b4, 0x025d0, 0x092d0, 0x0d2b2, 0x0a950, 0x0b557,
  22305. // 1940-1949
  22306. 0x06ca0, 0x0b550, 0x15355, 0x04da0, 0x0a5b0, 0x14573, 0x052b0, 0x0a9a8, 0x0e950, 0x06aa0,
  22307. // 1950-1959
  22308. 0x0aea6, 0x0ab50, 0x04b60, 0x0aae4, 0x0a570, 0x05260, 0x0f263, 0x0d950, 0x05b57, 0x056a0,
  22309. // 1960-1969
  22310. 0x096d0, 0x04dd5, 0x04ad0, 0x0a4d0, 0x0d4d4, 0x0d250, 0x0d558, 0x0b540, 0x0b6a0, 0x195a6,
  22311. // 1970-1979
  22312. 0x095b0, 0x049b0, 0x0a974, 0x0a4b0, 0x0b27a, 0x06a50, 0x06d40, 0x0af46, 0x0ab60, 0x09570,
  22313. // 1980-1989
  22314. 0x04af5, 0x04970, 0x064b0, 0x074a3, 0x0ea50, 0x06b58, 0x05ac0, 0x0ab60, 0x096d5, 0x092e0,
  22315. // 1990-1999
  22316. 0x0c960, 0x0d954, 0x0d4a0, 0x0da50, 0x07552, 0x056a0, 0x0abb7, 0x025d0, 0x092d0, 0x0cab5,
  22317. // 2000-2009
  22318. 0x0a950, 0x0b4a0, 0x0baa4, 0x0ad50, 0x055d9, 0x04ba0, 0x0a5b0, 0x15176, 0x052b0, 0x0a930,
  22319. // 2010-2019
  22320. 0x07954, 0x06aa0, 0x0ad50, 0x05b52, 0x04b60, 0x0a6e6, 0x0a4e0, 0x0d260, 0x0ea65, 0x0d530,
  22321. // 2020-2029
  22322. 0x05aa0, 0x076a3, 0x096d0, 0x04afb, 0x04ad0, 0x0a4d0, 0x1d0b6, 0x0d250, 0x0d520, 0x0dd45,
  22323. // 2030-2039
  22324. 0x0b5a0, 0x056d0, 0x055b2, 0x049b0, 0x0a577, 0x0a4b0, 0x0aa50, 0x1b255, 0x06d20, 0x0ada0,
  22325. // 2040-2049
  22326. /** Add By JJonline@JJonline.Cn**/
  22327. 0x14b63, 0x09370, 0x049f8, 0x04970, 0x064b0, 0x168a6, 0x0ea50, 0x06b20, 0x1a6c4, 0x0aae0,
  22328. // 2050-2059
  22329. 0x0a2e0, 0x0d2e3, 0x0c960, 0x0d557, 0x0d4a0, 0x0da50, 0x05d55, 0x056a0, 0x0a6d0, 0x055d4,
  22330. // 2060-2069
  22331. 0x052d0, 0x0a9b8, 0x0a950, 0x0b4a0, 0x0b6a6, 0x0ad50, 0x055a0, 0x0aba4, 0x0a5b0, 0x052b0,
  22332. // 2070-2079
  22333. 0x0b273, 0x06930, 0x07337, 0x06aa0, 0x0ad50, 0x14b55, 0x04b60, 0x0a570, 0x054e4, 0x0d160,
  22334. // 2080-2089
  22335. 0x0e968, 0x0d520, 0x0daa0, 0x16aa6, 0x056d0, 0x04ae0, 0x0a9d4, 0x0a2d0, 0x0d150, 0x0f252,
  22336. // 2090-2099
  22337. 0x0d520],
  22338. // 2100
  22339. /**
  22340. * 公历每个月份的天数普通表
  22341. * @Array Of Property
  22342. * @return Number
  22343. */
  22344. solarMonth: [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31],
  22345. /**
  22346. * 天干地支之天干速查表
  22347. * @Array Of Property trans["甲","乙","丙","丁","戊","己","庚","辛","壬","癸"]
  22348. * @return Cn string
  22349. */
  22350. Gan: ["\u7532", "\u4E59", "\u4E19", "\u4E01", "\u620A", "\u5DF1", "\u5E9A", "\u8F9B", "\u58EC", "\u7678"],
  22351. /**
  22352. * 天干地支之地支速查表
  22353. * @Array Of Property
  22354. * @trans["子","丑","寅","卯","辰","巳","午","未","申","酉","戌","亥"]
  22355. * @return Cn string
  22356. */
  22357. Zhi: ["\u5B50", "\u4E11", "\u5BC5", "\u536F", "\u8FB0", "\u5DF3", "\u5348", "\u672A", "\u7533", "\u9149", "\u620C", "\u4EA5"],
  22358. /**
  22359. * 天干地支之地支速查表<=>生肖
  22360. * @Array Of Property
  22361. * @trans["鼠","牛","虎","兔","龙","蛇","马","羊","猴","鸡","狗","猪"]
  22362. * @return Cn string
  22363. */
  22364. Animals: ["\u9F20", "\u725B", "\u864E", "\u5154", "\u9F99", "\u86C7", "\u9A6C", "\u7F8A", "\u7334", "\u9E21", "\u72D7", "\u732A"],
  22365. /**
  22366. * 24节气速查表
  22367. * @Array Of Property
  22368. * @trans["小寒","大寒","立春","雨水","惊蛰","春分","清明","谷雨","立夏","小满","芒种","夏至","小暑","大暑","立秋","处暑","白露","秋分","寒露","霜降","立冬","小雪","大雪","冬至"]
  22369. * @return Cn string
  22370. */
  22371. solarTerm: ["\u5C0F\u5BD2", "\u5927\u5BD2", "\u7ACB\u6625", "\u96E8\u6C34", "\u60CA\u86F0", "\u6625\u5206", "\u6E05\u660E", "\u8C37\u96E8", "\u7ACB\u590F", "\u5C0F\u6EE1", "\u8292\u79CD", "\u590F\u81F3", "\u5C0F\u6691", "\u5927\u6691", "\u7ACB\u79CB", "\u5904\u6691", "\u767D\u9732", "\u79CB\u5206", "\u5BD2\u9732", "\u971C\u964D", "\u7ACB\u51AC", "\u5C0F\u96EA", "\u5927\u96EA", "\u51AC\u81F3"],
  22372. /**
  22373. * 1900-2100各年的24节气日期速查表
  22374. * @Array Of Property
  22375. * @return 0x string For splice
  22376. */
  22377. sTermInfo: ['9778397bd097c36b0b6fc9274c91aa', '97b6b97bd19801ec9210c965cc920e', '97bcf97c3598082c95f8c965cc920f', '97bd0b06bdb0722c965ce1cfcc920f', 'b027097bd097c36b0b6fc9274c91aa', '97b6b97bd19801ec9210c965cc920e', '97bcf97c359801ec95f8c965cc920f', '97bd0b06bdb0722c965ce1cfcc920f', 'b027097bd097c36b0b6fc9274c91aa', '97b6b97bd19801ec9210c965cc920e', '97bcf97c359801ec95f8c965cc920f', '97bd0b06bdb0722c965ce1cfcc920f', 'b027097bd097c36b0b6fc9274c91aa', '9778397bd19801ec9210c965cc920e', '97b6b97bd19801ec95f8c965cc920f', '97bd09801d98082c95f8e1cfcc920f', '97bd097bd097c36b0b6fc9210c8dc2', '9778397bd197c36c9210c9274c91aa', '97b6b97bd19801ec95f8c965cc920e', '97bd09801d98082c95f8e1cfcc920f', '97bd097bd097c36b0b6fc9210c8dc2', '9778397bd097c36c9210c9274c91aa', '97b6b97bd19801ec95f8c965cc920e', '97bcf97c3598082c95f8e1cfcc920f', '97bd097bd097c36b0b6fc9210c8dc2', '9778397bd097c36c9210c9274c91aa', '97b6b97bd19801ec9210c965cc920e', '97bcf97c3598082c95f8c965cc920f', '97bd097bd097c35b0b6fc920fb0722', '9778397bd097c36b0b6fc9274c91aa', '97b6b97bd19801ec9210c965cc920e', '97bcf97c3598082c95f8c965cc920f', '97bd097bd097c35b0b6fc920fb0722', '9778397bd097c36b0b6fc9274c91aa', '97b6b97bd19801ec9210c965cc920e', '97bcf97c359801ec95f8c965cc920f', '97bd097bd097c35b0b6fc920fb0722', '9778397bd097c36b0b6fc9274c91aa', '97b6b97bd19801ec9210c965cc920e', '97bcf97c359801ec95f8c965cc920f', '97bd097bd097c35b0b6fc920fb0722', '9778397bd097c36b0b6fc9274c91aa', '97b6b97bd19801ec9210c965cc920e', '97bcf97c359801ec95f8c965cc920f', '97bd097bd07f595b0b6fc920fb0722', '9778397bd097c36b0b6fc9210c8dc2', '9778397bd19801ec9210c9274c920e', '97b6b97bd19801ec95f8c965cc920f', '97bd07f5307f595b0b0bc920fb0722', '7f0e397bd097c36b0b6fc9210c8dc2', '9778397bd097c36c9210c9274c920e', '97b6b97bd19801ec95f8c965cc920f', '97bd07f5307f595b0b0bc920fb0722', '7f0e397bd097c36b0b6fc9210c8dc2', '9778397bd097c36c9210c9274c91aa', '97b6b97bd19801ec9210c965cc920e', '97bd07f1487f595b0b0bc920fb0722', '7f0e397bd097c36b0b6fc9210c8dc2', '9778397bd097c36b0b6fc9274c91aa', '97b6b97bd19801ec9210c965cc920e', '97bcf7f1487f595b0b0bb0b6fb0722', '7f0e397bd097c35b0b6fc920fb0722', '9778397bd097c36b0b6fc9274c91aa', '97b6b97bd19801ec9210c965cc920e', '97bcf7f1487f595b0b0bb0b6fb0722', '7f0e397bd097c35b0b6fc920fb0722', '9778397bd097c36b0b6fc9274c91aa', '97b6b97bd19801ec9210c965cc920e', '97bcf7f1487f531b0b0bb0b6fb0722', '7f0e397bd097c35b0b6fc920fb0722', '9778397bd097c36b0b6fc9274c91aa', '97b6b97bd19801ec9210c965cc920e', '97bcf7f1487f531b0b0bb0b6fb0722', '7f0e397bd07f595b0b6fc920fb0722', '9778397bd097c36b0b6fc9274c91aa', '97b6b97bd19801ec9210c9274c920e', '97bcf7f0e47f531b0b0bb0b6fb0722', '7f0e397bd07f595b0b0bc920fb0722', '9778397bd097c36b0b6fc9210c91aa', '97b6b97bd197c36c9210c9274c920e', '97bcf7f0e47f531b0b0bb0b6fb0722', '7f0e397bd07f595b0b0bc920fb0722', '9778397bd097c36b0b6fc9210c8dc2', '9778397bd097c36c9210c9274c920e', '97b6b7f0e47f531b0723b0b6fb0722', '7f0e37f5307f595b0b0bc920fb0722', '7f0e397bd097c36b0b6fc9210c8dc2', '9778397bd097c36b0b70c9274c91aa', '97b6b7f0e47f531b0723b0b6fb0721', '7f0e37f1487f595b0b0bb0b6fb0722', '7f0e397bd097c35b0b6fc9210c8dc2', '9778397bd097c36b0b6fc9274c91aa', '97b6b7f0e47f531b0723b0b6fb0721', '7f0e27f1487f595b0b0bb0b6fb0722', '7f0e397bd097c35b0b6fc920fb0722', '9778397bd097c36b0b6fc9274c91aa', '97b6b7f0e47f531b0723b0b6fb0721', '7f0e27f1487f531b0b0bb0b6fb0722', '7f0e397bd097c35b0b6fc920fb0722', '9778397bd097c36b0b6fc9274c91aa', '97b6b7f0e47f531b0723b0b6fb0721', '7f0e27f1487f531b0b0bb0b6fb0722', '7f0e397bd097c35b0b6fc920fb0722', '9778397bd097c36b0b6fc9274c91aa', '97b6b7f0e47f531b0723b0b6fb0721', '7f0e27f1487f531b0b0bb0b6fb0722', '7f0e397bd07f595b0b0bc920fb0722', '9778397bd097c36b0b6fc9274c91aa', '97b6b7f0e47f531b0723b0787b0721', '7f0e27f0e47f531b0b0bb0b6fb0722', '7f0e397bd07f595b0b0bc920fb0722', '9778397bd097c36b0b6fc9210c91aa', '97b6b7f0e47f149b0723b0787b0721', '7f0e27f0e47f531b0723b0b6fb0722', '7f0e397bd07f595b0b0bc920fb0722', '9778397bd097c36b0b6fc9210c8dc2', '977837f0e37f149b0723b0787b0721', '7f07e7f0e47f531b0723b0b6fb0722', '7f0e37f5307f595b0b0bc920fb0722', '7f0e397bd097c35b0b6fc9210c8dc2', '977837f0e37f14998082b0787b0721', '7f07e7f0e47f531b0723b0b6fb0721', '7f0e37f1487f595b0b0bb0b6fb0722', '7f0e397bd097c35b0b6fc9210c8dc2', '977837f0e37f14998082b0787b06bd', '7f07e7f0e47f531b0723b0b6fb0721', '7f0e27f1487f531b0b0bb0b6fb0722', '7f0e397bd097c35b0b6fc920fb0722', '977837f0e37f14998082b0787b06bd', '7f07e7f0e47f531b0723b0b6fb0721', '7f0e27f1487f531b0b0bb0b6fb0722', '7f0e397bd097c35b0b6fc920fb0722', '977837f0e37f14998082b0787b06bd', '7f07e7f0e47f531b0723b0b6fb0721', '7f0e27f1487f531b0b0bb0b6fb0722', '7f0e397bd07f595b0b0bc920fb0722', '977837f0e37f14998082b0787b06bd', '7f07e7f0e47f531b0723b0b6fb0721', '7f0e27f1487f531b0b0bb0b6fb0722', '7f0e397bd07f595b0b0bc920fb0722', '977837f0e37f14998082b0787b06bd', '7f07e7f0e47f149b0723b0787b0721', '7f0e27f0e47f531b0b0bb0b6fb0722', '7f0e397bd07f595b0b0bc920fb0722', '977837f0e37f14998082b0723b06bd', '7f07e7f0e37f149b0723b0787b0721', '7f0e27f0e47f531b0723b0b6fb0722', '7f0e397bd07f595b0b0bc920fb0722', '977837f0e37f14898082b0723b02d5', '7ec967f0e37f14998082b0787b0721', '7f07e7f0e47f531b0723b0b6fb0722', '7f0e37f1487f595b0b0bb0b6fb0722', '7f0e37f0e37f14898082b0723b02d5', '7ec967f0e37f14998082b0787b0721', '7f07e7f0e47f531b0723b0b6fb0722', '7f0e37f1487f531b0b0bb0b6fb0722', '7f0e37f0e37f14898082b0723b02d5', '7ec967f0e37f14998082b0787b06bd', '7f07e7f0e47f531b0723b0b6fb0721', '7f0e37f1487f531b0b0bb0b6fb0722', '7f0e37f0e37f14898082b072297c35', '7ec967f0e37f14998082b0787b06bd', '7f07e7f0e47f531b0723b0b6fb0721', '7f0e27f1487f531b0b0bb0b6fb0722', '7f0e37f0e37f14898082b072297c35', '7ec967f0e37f14998082b0787b06bd', '7f07e7f0e47f531b0723b0b6fb0721', '7f0e27f1487f531b0b0bb0b6fb0722', '7f0e37f0e366aa89801eb072297c35', '7ec967f0e37f14998082b0787b06bd', '7f07e7f0e47f149b0723b0787b0721', '7f0e27f1487f531b0b0bb0b6fb0722', '7f0e37f0e366aa89801eb072297c35', '7ec967f0e37f14998082b0723b06bd', '7f07e7f0e47f149b0723b0787b0721', '7f0e27f0e47f531b0723b0b6fb0722', '7f0e37f0e366aa89801eb072297c35', '7ec967f0e37f14998082b0723b06bd', '7f07e7f0e37f14998083b0787b0721', '7f0e27f0e47f531b0723b0b6fb0722', '7f0e37f0e366aa89801eb072297c35', '7ec967f0e37f14898082b0723b02d5', '7f07e7f0e37f14998082b0787b0721', '7f07e7f0e47f531b0723b0b6fb0722', '7f0e36665b66aa89801e9808297c35', '665f67f0e37f14898082b0723b02d5', '7ec967f0e37f14998082b0787b0721', '7f07e7f0e47f531b0723b0b6fb0722', '7f0e36665b66a449801e9808297c35', '665f67f0e37f14898082b0723b02d5', '7ec967f0e37f14998082b0787b06bd', '7f07e7f0e47f531b0723b0b6fb0721', '7f0e36665b66a449801e9808297c35', '665f67f0e37f14898082b072297c35', '7ec967f0e37f14998082b0787b06bd', '7f07e7f0e47f531b0723b0b6fb0721', '7f0e26665b66a449801e9808297c35', '665f67f0e37f1489801eb072297c35', '7ec967f0e37f14998082b0787b06bd', '7f07e7f0e47f531b0723b0b6fb0721', '7f0e27f1487f531b0b0bb0b6fb0722'],
  22378. /**
  22379. * 数字转中文速查表
  22380. * @Array Of Property
  22381. * @trans ['日','一','二','三','四','五','六','七','八','九','十']
  22382. * @return Cn string
  22383. */
  22384. nStr1: ["\u65E5", "\u4E00", "\u4E8C", "\u4E09", "\u56DB", "\u4E94", "\u516D", "\u4E03", "\u516B", "\u4E5D", "\u5341"],
  22385. /**
  22386. * 日期转农历称呼速查表
  22387. * @Array Of Property
  22388. * @trans ['初','十','廿','卅']
  22389. * @return Cn string
  22390. */
  22391. nStr2: ["\u521D", "\u5341", "\u5EFF", "\u5345"],
  22392. /**
  22393. * 月份转农历称呼速查表
  22394. * @Array Of Property
  22395. * @trans ['正','一','二','三','四','五','六','七','八','九','十','冬','腊']
  22396. * @return Cn string
  22397. */
  22398. nStr3: ["\u6B63", "\u4E8C", "\u4E09", "\u56DB", "\u4E94", "\u516D", "\u4E03", "\u516B", "\u4E5D", "\u5341", "\u51AC", "\u814A"],
  22399. /**
  22400. * 返回农历y年一整年的总天数
  22401. * @param lunar Year
  22402. * @return Number
  22403. * @eg:var count = calendar.lYearDays(1987) ;//count=387
  22404. */
  22405. lYearDays: function lYearDays(y) {
  22406. var i;
  22407. var sum = 348;
  22408. for (i = 0x8000; i > 0x8; i >>= 1) {
  22409. sum += this.lunarInfo[y - 1900] & i ? 1 : 0;
  22410. }
  22411. return sum + this.leapDays(y);
  22412. },
  22413. /**
  22414. * 返回农历y年闰月是哪个月;若y年没有闰月 则返回0
  22415. * @param lunar Year
  22416. * @return Number (0-12)
  22417. * @eg:var leapMonth = calendar.leapMonth(1987) ;//leapMonth=6
  22418. */
  22419. leapMonth: function leapMonth(y) {
  22420. // 闰字编码 \u95f0
  22421. return this.lunarInfo[y - 1900] & 0xf;
  22422. },
  22423. /**
  22424. * 返回农历y年闰月的天数 若该年没有闰月则返回0
  22425. * @param lunar Year
  22426. * @return Number (0、29、30)
  22427. * @eg:var leapMonthDay = calendar.leapDays(1987) ;//leapMonthDay=29
  22428. */
  22429. leapDays: function leapDays(y) {
  22430. if (this.leapMonth(y)) {
  22431. return this.lunarInfo[y - 1900] & 0x10000 ? 30 : 29;
  22432. }
  22433. return 0;
  22434. },
  22435. /**
  22436. * 返回农历y年m月(非闰月)的总天数,计算m为闰月时的天数请使用leapDays方法
  22437. * @param lunar Year
  22438. * @return Number (-1、29、30)
  22439. * @eg:var MonthDay = calendar.monthDays(1987,9) ;//MonthDay=29
  22440. */
  22441. monthDays: function monthDays(y, m) {
  22442. if (m > 12 || m < 1) {
  22443. return -1;
  22444. } // 月份参数从1至12,参数错误返回-1
  22445. return this.lunarInfo[y - 1900] & 0x10000 >> m ? 30 : 29;
  22446. },
  22447. /**
  22448. * 返回公历(!)y年m月的天数
  22449. * @param solar Year
  22450. * @return Number (-1、28、29、30、31)
  22451. * @eg:var solarMonthDay = calendar.leapDays(1987) ;//solarMonthDay=30
  22452. */
  22453. solarDays: function solarDays(y, m) {
  22454. if (m > 12 || m < 1) {
  22455. return -1;
  22456. } // 若参数错误 返回-1
  22457. var ms = m - 1;
  22458. if (ms == 1) {
  22459. // 2月份的闰平规律测算后确认返回28或29
  22460. return y % 4 == 0 && y % 100 != 0 || y % 400 == 0 ? 29 : 28;
  22461. } else {
  22462. return this.solarMonth[ms];
  22463. }
  22464. },
  22465. /**
  22466. * 农历年份转换为干支纪年
  22467. * @param lYear 农历年的年份数
  22468. * @return Cn string
  22469. */
  22470. toGanZhiYear: function toGanZhiYear(lYear) {
  22471. var ganKey = (lYear - 3) % 10;
  22472. var zhiKey = (lYear - 3) % 12;
  22473. if (ganKey == 0) ganKey = 10; // 如果余数为0则为最后一个天干
  22474. if (zhiKey == 0) zhiKey = 12; // 如果余数为0则为最后一个地支
  22475. return this.Gan[ganKey - 1] + this.Zhi[zhiKey - 1];
  22476. },
  22477. /**
  22478. * 公历月、日判断所属星座
  22479. * @param cMonth [description]
  22480. * @param cDay [description]
  22481. * @return Cn string
  22482. */
  22483. toAstro: function toAstro(cMonth, cDay) {
  22484. var s = "\u9B54\u7FAF\u6C34\u74F6\u53CC\u9C7C\u767D\u7F8A\u91D1\u725B\u53CC\u5B50\u5DE8\u87F9\u72EE\u5B50\u5904\u5973\u5929\u79E4\u5929\u874E\u5C04\u624B\u9B54\u7FAF";
  22485. var arr = [20, 19, 21, 21, 21, 22, 23, 23, 23, 23, 22, 22];
  22486. return s.substr(cMonth * 2 - (cDay < arr[cMonth - 1] ? 2 : 0), 2) + "\u5EA7"; // 座
  22487. },
  22488. /**
  22489. * 传入offset偏移量返回干支
  22490. * @param offset 相对甲子的偏移量
  22491. * @return Cn string
  22492. */
  22493. toGanZhi: function toGanZhi(offset) {
  22494. return this.Gan[offset % 10] + this.Zhi[offset % 12];
  22495. },
  22496. /**
  22497. * 传入公历(!)y年获得该年第n个节气的公历日期
  22498. * @param y公历年(1900-2100);n二十四节气中的第几个节气(1~24);从n=1(小寒)算起
  22499. * @return day Number
  22500. * @eg:var _24 = calendar.getTerm(1987,3) ;//_24=4;意即1987年2月4日立春
  22501. */
  22502. getTerm: function getTerm(y, n) {
  22503. if (y < 1900 || y > 2100) {
  22504. return -1;
  22505. }
  22506. if (n < 1 || n > 24) {
  22507. return -1;
  22508. }
  22509. var _table = this.sTermInfo[y - 1900];
  22510. var _info = [parseInt('0x' + _table.substr(0, 5)).toString(), parseInt('0x' + _table.substr(5, 5)).toString(), parseInt('0x' + _table.substr(10, 5)).toString(), parseInt('0x' + _table.substr(15, 5)).toString(), parseInt('0x' + _table.substr(20, 5)).toString(), parseInt('0x' + _table.substr(25, 5)).toString()];
  22511. var _calday = [_info[0].substr(0, 1), _info[0].substr(1, 2), _info[0].substr(3, 1), _info[0].substr(4, 2), _info[1].substr(0, 1), _info[1].substr(1, 2), _info[1].substr(3, 1), _info[1].substr(4, 2), _info[2].substr(0, 1), _info[2].substr(1, 2), _info[2].substr(3, 1), _info[2].substr(4, 2), _info[3].substr(0, 1), _info[3].substr(1, 2), _info[3].substr(3, 1), _info[3].substr(4, 2), _info[4].substr(0, 1), _info[4].substr(1, 2), _info[4].substr(3, 1), _info[4].substr(4, 2), _info[5].substr(0, 1), _info[5].substr(1, 2), _info[5].substr(3, 1), _info[5].substr(4, 2)];
  22512. return parseInt(_calday[n - 1]);
  22513. },
  22514. /**
  22515. * 传入农历数字月份返回汉语通俗表示法
  22516. * @param lunar month
  22517. * @return Cn string
  22518. * @eg:var cnMonth = calendar.toChinaMonth(12) ;//cnMonth='腊月'
  22519. */
  22520. toChinaMonth: function toChinaMonth(m) {
  22521. // 月 => \u6708
  22522. if (m > 12 || m < 1) {
  22523. return -1;
  22524. } // 若参数错误 返回-1
  22525. var s = this.nStr3[m - 1];
  22526. s += "\u6708"; // 加上月字
  22527. return s;
  22528. },
  22529. /**
  22530. * 传入农历日期数字返回汉字表示法
  22531. * @param lunar day
  22532. * @return Cn string
  22533. * @eg:var cnDay = calendar.toChinaDay(21) ;//cnMonth='廿一'
  22534. */
  22535. toChinaDay: function toChinaDay(d) {
  22536. // 日 => \u65e5
  22537. var s;
  22538. switch (d) {
  22539. case 10:
  22540. s = "\u521D\u5341";
  22541. break;
  22542. case 20:
  22543. s = "\u4E8C\u5341";
  22544. break;
  22545. break;
  22546. case 30:
  22547. s = "\u4E09\u5341";
  22548. break;
  22549. break;
  22550. default:
  22551. s = this.nStr2[Math.floor(d / 10)];
  22552. s += this.nStr1[d % 10];
  22553. }
  22554. return s;
  22555. },
  22556. /**
  22557. * 年份转生肖[!仅能大致转换] => 精确划分生肖分界线是“立春”
  22558. * @param y year
  22559. * @return Cn string
  22560. * @eg:var animal = calendar.getAnimal(1987) ;//animal='兔'
  22561. */
  22562. getAnimal: function getAnimal(y) {
  22563. return this.Animals[(y - 4) % 12];
  22564. },
  22565. /**
  22566. * 传入阳历年月日获得详细的公历、农历object信息 <=>JSON
  22567. * @param y solar year
  22568. * @param m solar month
  22569. * @param d solar day
  22570. * @return JSON object
  22571. * @eg:console.log(calendar.solar2lunar(1987,11,01));
  22572. */
  22573. solar2lunar: function solar2lunar(y, m, d) {
  22574. // 参数区间1900.1.31~2100.12.31
  22575. // 年份限定、上限
  22576. if (y < 1900 || y > 2100) {
  22577. return -1; // undefined转换为数字变为NaN
  22578. }
  22579. // 公历传参最下限
  22580. if (y == 1900 && m == 1 && d < 31) {
  22581. return -1;
  22582. }
  22583. // 未传参 获得当天
  22584. if (!y) {
  22585. var objDate = new Date();
  22586. } else {
  22587. var objDate = new Date(y, parseInt(m) - 1, d);
  22588. }
  22589. var i;
  22590. var leap = 0;
  22591. var temp = 0;
  22592. // 修正ymd参数
  22593. var y = objDate.getFullYear();
  22594. var m = objDate.getMonth() + 1;
  22595. var d = objDate.getDate();
  22596. var offset = (Date.UTC(objDate.getFullYear(), objDate.getMonth(), objDate.getDate()) - Date.UTC(1900, 0, 31)) / 86400000;
  22597. for (i = 1900; i < 2101 && offset > 0; i++) {
  22598. temp = this.lYearDays(i);
  22599. offset -= temp;
  22600. }
  22601. if (offset < 0) {
  22602. offset += temp;
  22603. i--;
  22604. }
  22605. // 是否今天
  22606. var isTodayObj = new Date();
  22607. var isToday = false;
  22608. if (isTodayObj.getFullYear() == y && isTodayObj.getMonth() + 1 == m && isTodayObj.getDate() == d) {
  22609. isToday = true;
  22610. }
  22611. // 星期几
  22612. var nWeek = objDate.getDay();
  22613. var cWeek = this.nStr1[nWeek];
  22614. // 数字表示周几顺应天朝周一开始的惯例
  22615. if (nWeek == 0) {
  22616. nWeek = 7;
  22617. }
  22618. // 农历年
  22619. var year = i;
  22620. var leap = this.leapMonth(i); // 闰哪个月
  22621. var isLeap = false;
  22622. // 效验闰月
  22623. for (i = 1; i < 13 && offset > 0; i++) {
  22624. // 闰月
  22625. if (leap > 0 && i == leap + 1 && isLeap == false) {
  22626. --i;
  22627. isLeap = true;
  22628. temp = this.leapDays(year); // 计算农历闰月天数
  22629. } else {
  22630. temp = this.monthDays(year, i); // 计算农历普通月天数
  22631. }
  22632. // 解除闰月
  22633. if (isLeap == true && i == leap + 1) {
  22634. isLeap = false;
  22635. }
  22636. offset -= temp;
  22637. }
  22638. // 闰月导致数组下标重叠取反
  22639. if (offset == 0 && leap > 0 && i == leap + 1) {
  22640. if (isLeap) {
  22641. isLeap = false;
  22642. } else {
  22643. isLeap = true;
  22644. --i;
  22645. }
  22646. }
  22647. if (offset < 0) {
  22648. offset += temp;
  22649. --i;
  22650. }
  22651. // 农历月
  22652. var month = i;
  22653. // 农历日
  22654. var day = offset + 1;
  22655. // 天干地支处理
  22656. var sm = m - 1;
  22657. var gzY = this.toGanZhiYear(year);
  22658. // 当月的两个节气
  22659. // bugfix-2017-7-24 11:03:38 use lunar Year Param `y` Not `year`
  22660. var firstNode = this.getTerm(y, m * 2 - 1); // 返回当月「节」为几日开始
  22661. var secondNode = this.getTerm(y, m * 2); // 返回当月「节」为几日开始
  22662. // 依据12节气修正干支月
  22663. var gzM = this.toGanZhi((y - 1900) * 12 + m + 11);
  22664. if (d >= firstNode) {
  22665. gzM = this.toGanZhi((y - 1900) * 12 + m + 12);
  22666. }
  22667. // 传入的日期的节气与否
  22668. var isTerm = false;
  22669. var Term = null;
  22670. if (firstNode == d) {
  22671. isTerm = true;
  22672. Term = this.solarTerm[m * 2 - 2];
  22673. }
  22674. if (secondNode == d) {
  22675. isTerm = true;
  22676. Term = this.solarTerm[m * 2 - 1];
  22677. }
  22678. // 日柱 当月一日与 1900/1/1 相差天数
  22679. var dayCyclical = Date.UTC(y, sm, 1, 0, 0, 0, 0) / 86400000 + 25567 + 10;
  22680. var gzD = this.toGanZhi(dayCyclical + d - 1);
  22681. // 该日期所属的星座
  22682. var astro = this.toAstro(m, d);
  22683. return {
  22684. 'lYear': year,
  22685. 'lMonth': month,
  22686. 'lDay': day,
  22687. 'Animal': this.getAnimal(year),
  22688. 'IMonthCn': (isLeap ? "\u95F0" : '') + this.toChinaMonth(month),
  22689. 'IDayCn': this.toChinaDay(day),
  22690. 'cYear': y,
  22691. 'cMonth': m,
  22692. 'cDay': d,
  22693. 'gzYear': gzY,
  22694. 'gzMonth': gzM,
  22695. 'gzDay': gzD,
  22696. 'isToday': isToday,
  22697. 'isLeap': isLeap,
  22698. 'nWeek': nWeek,
  22699. 'ncWeek': "\u661F\u671F" + cWeek,
  22700. 'isTerm': isTerm,
  22701. 'Term': Term,
  22702. 'astro': astro
  22703. };
  22704. },
  22705. /**
  22706. * 传入农历年月日以及传入的月份是否闰月获得详细的公历、农历object信息 <=>JSON
  22707. * @param y lunar year
  22708. * @param m lunar month
  22709. * @param d lunar day
  22710. * @param isLeapMonth lunar month is leap or not.[如果是农历闰月第四个参数赋值true即可]
  22711. * @return JSON object
  22712. * @eg:console.log(calendar.lunar2solar(1987,9,10));
  22713. */
  22714. lunar2solar: function lunar2solar(y, m, d, isLeapMonth) {
  22715. // 参数区间1900.1.31~2100.12.1
  22716. var isLeapMonth = !!isLeapMonth;
  22717. var leapOffset = 0;
  22718. var leapMonth = this.leapMonth(y);
  22719. var leapDay = this.leapDays(y);
  22720. if (isLeapMonth && leapMonth != m) {
  22721. return -1;
  22722. } // 传参要求计算该闰月公历 但该年得出的闰月与传参的月份并不同
  22723. if (y == 2100 && m == 12 && d > 1 || y == 1900 && m == 1 && d < 31) {
  22724. return -1;
  22725. } // 超出了最大极限值
  22726. var day = this.monthDays(y, m);
  22727. var _day = day;
  22728. // bugFix 2016-9-25
  22729. // if month is leap, _day use leapDays method
  22730. if (isLeapMonth) {
  22731. _day = this.leapDays(y, m);
  22732. }
  22733. if (y < 1900 || y > 2100 || d > _day) {
  22734. return -1;
  22735. } // 参数合法性效验
  22736. // 计算农历的时间差
  22737. var offset = 0;
  22738. for (var i = 1900; i < y; i++) {
  22739. offset += this.lYearDays(i);
  22740. }
  22741. var leap = 0;
  22742. var isAdd = false;
  22743. for (var i = 1; i < m; i++) {
  22744. leap = this.leapMonth(y);
  22745. if (!isAdd) {
  22746. // 处理闰月
  22747. if (leap <= i && leap > 0) {
  22748. offset += this.leapDays(y);
  22749. isAdd = true;
  22750. }
  22751. }
  22752. offset += this.monthDays(y, i);
  22753. }
  22754. // 转换闰月农历 需补充该年闰月的前一个月的时差
  22755. if (isLeapMonth) {
  22756. offset += day;
  22757. }
  22758. // 1900年农历正月一日的公历时间为1900年1月30日0时0分0秒(该时间也是本农历的最开始起始点)
  22759. var stmap = Date.UTC(1900, 1, 30, 0, 0, 0);
  22760. var calObj = new Date((offset + d - 31) * 86400000 + stmap);
  22761. var cY = calObj.getUTCFullYear();
  22762. var cM = calObj.getUTCMonth() + 1;
  22763. var cD = calObj.getUTCDate();
  22764. return this.solar2lunar(cY, cM, cD);
  22765. }
  22766. };
  22767. var _default = calendar;
  22768. exports.default = _default;
  22769. /***/ }),
  22770. /***/ 21:
  22771. /*!******************************************************************!*\
  22772. !*** ./node_modules/@babel/runtime/helpers/nonIterableSpread.js ***!
  22773. \******************************************************************/
  22774. /*! no static exports found */
  22775. /***/ (function(module, exports) {
  22776. function _nonIterableSpread() {
  22777. throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
  22778. }
  22779. module.exports = _nonIterableSpread, module.exports.__esModule = true, module.exports["default"] = module.exports;
  22780. /***/ }),
  22781. /***/ 213:
  22782. /*!*******************************************************************!*\
  22783. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/api/homestoredetail.js ***!
  22784. \*******************************************************************/
  22785. /*! no static exports found */
  22786. /***/ (function(module, exports, __webpack_require__) {
  22787. "use strict";
  22788. Object.defineProperty(exports, "__esModule", {
  22789. value: true
  22790. });
  22791. exports.receiveVoucher = exports.getStoreVoucher = exports.getStoreMap = exports.getStoreInfo = exports.getStoreGoodsList = exports.getStoreGoodsClass = void 0;
  22792. var _network = __webpack_require__(/*! ../util/network */ 38);
  22793. // 获取当前店铺所有代金券
  22794. var getStoreVoucher = function getStoreVoucher(storeId) {
  22795. return (0, _network.requestApi)('/Voucher/voucher_tpl_list', 'POST', {
  22796. 'store_id': storeId,
  22797. // 所属店铺
  22798. 'gettype': 'points'
  22799. });
  22800. };
  22801. // 领取取代金券
  22802. exports.getStoreVoucher = getStoreVoucher;
  22803. var receiveVoucher = function receiveVoucher(tid) {
  22804. return (0, _network.requestApi)('/Membervoucher/voucher_point', 'POST', {
  22805. 'tid': tid
  22806. }, 'member');
  22807. };
  22808. // 获取当前店铺信息
  22809. exports.receiveVoucher = receiveVoucher;
  22810. var getStoreInfo = function getStoreInfo(storeId, token) {
  22811. return (0, _network.requestApi)('/Store/store_info', 'POST', {
  22812. 'store_id': storeId,
  22813. // 所属店铺
  22814. 'key': token
  22815. });
  22816. };
  22817. // 获取当前店铺地图
  22818. exports.getStoreInfo = getStoreInfo;
  22819. var getStoreMap = function getStoreMap(data) {
  22820. return (0, _network.requestApi)('/Store/get_store_map', 'POST', data);
  22821. };
  22822. // 获取店铺分类
  22823. exports.getStoreMap = getStoreMap;
  22824. var getStoreGoodsClass = function getStoreGoodsClass(storeId) {
  22825. return (0, _network.requestApi)('/Store/store_goods_class', 'POST', {
  22826. 'store_id': storeId // 所属店铺
  22827. });
  22828. };
  22829. // 获取店铺商品
  22830. exports.getStoreGoodsClass = getStoreGoodsClass;
  22831. var getStoreGoodsList = function getStoreGoodsList(params) {
  22832. return (0, _network.requestApi)('/Store/store_goods', 'POST', {
  22833. 'page': params.page,
  22834. 'per_page': params.per_page,
  22835. 'storegc_id': params.gc_id,
  22836. 'keyword': params.keyword,
  22837. 'store_id': params.store_id,
  22838. // 所属店铺
  22839. 'sort_order': params.sort_order,
  22840. 'sort_key': params.sort_key
  22841. });
  22842. };
  22843. exports.getStoreGoodsList = getStoreGoodsList;
  22844. /***/ }),
  22845. /***/ 22:
  22846. /*!*************************************************************!*\
  22847. !*** ./node_modules/@dcloudio/uni-i18n/dist/uni-i18n.es.js ***!
  22848. \*************************************************************/
  22849. /*! no static exports found */
  22850. /***/ (function(module, exports, __webpack_require__) {
  22851. "use strict";
  22852. /* WEBPACK VAR INJECTION */(function(uni, global) {
  22853. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  22854. Object.defineProperty(exports, "__esModule", {
  22855. value: true
  22856. });
  22857. exports.LOCALE_ZH_HANT = exports.LOCALE_ZH_HANS = exports.LOCALE_FR = exports.LOCALE_ES = exports.LOCALE_EN = exports.I18n = exports.Formatter = void 0;
  22858. exports.compileI18nJsonStr = compileI18nJsonStr;
  22859. exports.hasI18nJson = hasI18nJson;
  22860. exports.initVueI18n = initVueI18n;
  22861. exports.isI18nStr = isI18nStr;
  22862. exports.isString = void 0;
  22863. exports.normalizeLocale = normalizeLocale;
  22864. exports.parseI18nJson = parseI18nJson;
  22865. exports.resolveLocale = resolveLocale;
  22866. var _slicedToArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/slicedToArray */ 5));
  22867. var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ 23));
  22868. var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ 24));
  22869. var _typeof2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/typeof */ 13));
  22870. var isArray = Array.isArray;
  22871. var isObject = function isObject(val) {
  22872. return val !== null && (0, _typeof2.default)(val) === 'object';
  22873. };
  22874. var defaultDelimiters = ['{', '}'];
  22875. var BaseFormatter = /*#__PURE__*/function () {
  22876. function BaseFormatter() {
  22877. (0, _classCallCheck2.default)(this, BaseFormatter);
  22878. this._caches = Object.create(null);
  22879. }
  22880. (0, _createClass2.default)(BaseFormatter, [{
  22881. key: "interpolate",
  22882. value: function interpolate(message, values) {
  22883. var delimiters = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : defaultDelimiters;
  22884. if (!values) {
  22885. return [message];
  22886. }
  22887. var tokens = this._caches[message];
  22888. if (!tokens) {
  22889. tokens = parse(message, delimiters);
  22890. this._caches[message] = tokens;
  22891. }
  22892. return compile(tokens, values);
  22893. }
  22894. }]);
  22895. return BaseFormatter;
  22896. }();
  22897. exports.Formatter = BaseFormatter;
  22898. var RE_TOKEN_LIST_VALUE = /^(?:\d)+/;
  22899. var RE_TOKEN_NAMED_VALUE = /^(?:\w)+/;
  22900. function parse(format, _ref) {
  22901. var _ref2 = (0, _slicedToArray2.default)(_ref, 2),
  22902. startDelimiter = _ref2[0],
  22903. endDelimiter = _ref2[1];
  22904. var tokens = [];
  22905. var position = 0;
  22906. var text = '';
  22907. while (position < format.length) {
  22908. var char = format[position++];
  22909. if (char === startDelimiter) {
  22910. if (text) {
  22911. tokens.push({
  22912. type: 'text',
  22913. value: text
  22914. });
  22915. }
  22916. text = '';
  22917. var sub = '';
  22918. char = format[position++];
  22919. while (char !== undefined && char !== endDelimiter) {
  22920. sub += char;
  22921. char = format[position++];
  22922. }
  22923. var isClosed = char === endDelimiter;
  22924. var type = RE_TOKEN_LIST_VALUE.test(sub) ? 'list' : isClosed && RE_TOKEN_NAMED_VALUE.test(sub) ? 'named' : 'unknown';
  22925. tokens.push({
  22926. value: sub,
  22927. type: type
  22928. });
  22929. }
  22930. // else if (char === '%') {
  22931. // // when found rails i18n syntax, skip text capture
  22932. // if (format[position] !== '{') {
  22933. // text += char
  22934. // }
  22935. // }
  22936. else {
  22937. text += char;
  22938. }
  22939. }
  22940. text && tokens.push({
  22941. type: 'text',
  22942. value: text
  22943. });
  22944. return tokens;
  22945. }
  22946. function compile(tokens, values) {
  22947. var compiled = [];
  22948. var index = 0;
  22949. var mode = isArray(values) ? 'list' : isObject(values) ? 'named' : 'unknown';
  22950. if (mode === 'unknown') {
  22951. return compiled;
  22952. }
  22953. while (index < tokens.length) {
  22954. var token = tokens[index];
  22955. switch (token.type) {
  22956. case 'text':
  22957. compiled.push(token.value);
  22958. break;
  22959. case 'list':
  22960. compiled.push(values[parseInt(token.value, 10)]);
  22961. break;
  22962. case 'named':
  22963. if (mode === 'named') {
  22964. compiled.push(values[token.value]);
  22965. } else {
  22966. if (true) {
  22967. console.warn("Type of token '".concat(token.type, "' and format of value '").concat(mode, "' don't match!"));
  22968. }
  22969. }
  22970. break;
  22971. case 'unknown':
  22972. if (true) {
  22973. console.warn("Detect 'unknown' type of token!");
  22974. }
  22975. break;
  22976. }
  22977. index++;
  22978. }
  22979. return compiled;
  22980. }
  22981. var LOCALE_ZH_HANS = 'zh-Hans';
  22982. exports.LOCALE_ZH_HANS = LOCALE_ZH_HANS;
  22983. var LOCALE_ZH_HANT = 'zh-Hant';
  22984. exports.LOCALE_ZH_HANT = LOCALE_ZH_HANT;
  22985. var LOCALE_EN = 'en';
  22986. exports.LOCALE_EN = LOCALE_EN;
  22987. var LOCALE_FR = 'fr';
  22988. exports.LOCALE_FR = LOCALE_FR;
  22989. var LOCALE_ES = 'es';
  22990. exports.LOCALE_ES = LOCALE_ES;
  22991. var hasOwnProperty = Object.prototype.hasOwnProperty;
  22992. var hasOwn = function hasOwn(val, key) {
  22993. return hasOwnProperty.call(val, key);
  22994. };
  22995. var defaultFormatter = new BaseFormatter();
  22996. function include(str, parts) {
  22997. return !!parts.find(function (part) {
  22998. return str.indexOf(part) !== -1;
  22999. });
  23000. }
  23001. function startsWith(str, parts) {
  23002. return parts.find(function (part) {
  23003. return str.indexOf(part) === 0;
  23004. });
  23005. }
  23006. function normalizeLocale(locale, messages) {
  23007. if (!locale) {
  23008. return;
  23009. }
  23010. locale = locale.trim().replace(/_/g, '-');
  23011. if (messages && messages[locale]) {
  23012. return locale;
  23013. }
  23014. locale = locale.toLowerCase();
  23015. if (locale.indexOf('zh') === 0) {
  23016. if (locale.indexOf('-hans') > -1) {
  23017. return LOCALE_ZH_HANS;
  23018. }
  23019. if (locale.indexOf('-hant') > -1) {
  23020. return LOCALE_ZH_HANT;
  23021. }
  23022. if (include(locale, ['-tw', '-hk', '-mo', '-cht'])) {
  23023. return LOCALE_ZH_HANT;
  23024. }
  23025. return LOCALE_ZH_HANS;
  23026. }
  23027. var lang = startsWith(locale, [LOCALE_EN, LOCALE_FR, LOCALE_ES]);
  23028. if (lang) {
  23029. return lang;
  23030. }
  23031. }
  23032. var I18n = /*#__PURE__*/function () {
  23033. function I18n(_ref3) {
  23034. var locale = _ref3.locale,
  23035. fallbackLocale = _ref3.fallbackLocale,
  23036. messages = _ref3.messages,
  23037. watcher = _ref3.watcher,
  23038. formater = _ref3.formater;
  23039. (0, _classCallCheck2.default)(this, I18n);
  23040. this.locale = LOCALE_EN;
  23041. this.fallbackLocale = LOCALE_EN;
  23042. this.message = {};
  23043. this.messages = {};
  23044. this.watchers = [];
  23045. if (fallbackLocale) {
  23046. this.fallbackLocale = fallbackLocale;
  23047. }
  23048. this.formater = formater || defaultFormatter;
  23049. this.messages = messages || {};
  23050. this.setLocale(locale || LOCALE_EN);
  23051. if (watcher) {
  23052. this.watchLocale(watcher);
  23053. }
  23054. }
  23055. (0, _createClass2.default)(I18n, [{
  23056. key: "setLocale",
  23057. value: function setLocale(locale) {
  23058. var _this = this;
  23059. var oldLocale = this.locale;
  23060. this.locale = normalizeLocale(locale, this.messages) || this.fallbackLocale;
  23061. if (!this.messages[this.locale]) {
  23062. // 可能初始化时不存在
  23063. this.messages[this.locale] = {};
  23064. }
  23065. this.message = this.messages[this.locale];
  23066. // 仅发生变化时,通知
  23067. if (oldLocale !== this.locale) {
  23068. this.watchers.forEach(function (watcher) {
  23069. watcher(_this.locale, oldLocale);
  23070. });
  23071. }
  23072. }
  23073. }, {
  23074. key: "getLocale",
  23075. value: function getLocale() {
  23076. return this.locale;
  23077. }
  23078. }, {
  23079. key: "watchLocale",
  23080. value: function watchLocale(fn) {
  23081. var _this2 = this;
  23082. var index = this.watchers.push(fn) - 1;
  23083. return function () {
  23084. _this2.watchers.splice(index, 1);
  23085. };
  23086. }
  23087. }, {
  23088. key: "add",
  23089. value: function add(locale, message) {
  23090. var override = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;
  23091. var curMessages = this.messages[locale];
  23092. if (curMessages) {
  23093. if (override) {
  23094. Object.assign(curMessages, message);
  23095. } else {
  23096. Object.keys(message).forEach(function (key) {
  23097. if (!hasOwn(curMessages, key)) {
  23098. curMessages[key] = message[key];
  23099. }
  23100. });
  23101. }
  23102. } else {
  23103. this.messages[locale] = message;
  23104. }
  23105. }
  23106. }, {
  23107. key: "f",
  23108. value: function f(message, values, delimiters) {
  23109. return this.formater.interpolate(message, values, delimiters).join('');
  23110. }
  23111. }, {
  23112. key: "t",
  23113. value: function t(key, locale, values) {
  23114. var message = this.message;
  23115. if (typeof locale === 'string') {
  23116. locale = normalizeLocale(locale, this.messages);
  23117. locale && (message = this.messages[locale]);
  23118. } else {
  23119. values = locale;
  23120. }
  23121. if (!hasOwn(message, key)) {
  23122. console.warn("Cannot translate the value of keypath ".concat(key, ". Use the value of keypath as default."));
  23123. return key;
  23124. }
  23125. return this.formater.interpolate(message[key], values).join('');
  23126. }
  23127. }]);
  23128. return I18n;
  23129. }();
  23130. exports.I18n = I18n;
  23131. function watchAppLocale(appVm, i18n) {
  23132. // 需要保证 watch 的触发在组件渲染之前
  23133. if (appVm.$watchLocale) {
  23134. // vue2
  23135. appVm.$watchLocale(function (newLocale) {
  23136. i18n.setLocale(newLocale);
  23137. });
  23138. } else {
  23139. appVm.$watch(function () {
  23140. return appVm.$locale;
  23141. }, function (newLocale) {
  23142. i18n.setLocale(newLocale);
  23143. });
  23144. }
  23145. }
  23146. function getDefaultLocale() {
  23147. if (typeof uni !== 'undefined' && uni.getLocale) {
  23148. return uni.getLocale();
  23149. }
  23150. // 小程序平台,uni 和 uni-i18n 互相引用,导致访问不到 uni,故在 global 上挂了 getLocale
  23151. if (typeof global !== 'undefined' && global.getLocale) {
  23152. return global.getLocale();
  23153. }
  23154. return LOCALE_EN;
  23155. }
  23156. function initVueI18n(locale) {
  23157. var messages = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  23158. var fallbackLocale = arguments.length > 2 ? arguments[2] : undefined;
  23159. var watcher = arguments.length > 3 ? arguments[3] : undefined;
  23160. // 兼容旧版本入参
  23161. if (typeof locale !== 'string') {
  23162. var _ref4 = [messages, locale];
  23163. locale = _ref4[0];
  23164. messages = _ref4[1];
  23165. }
  23166. if (typeof locale !== 'string') {
  23167. // 因为小程序平台,uni-i18n 和 uni 互相引用,导致此时访问 uni 时,为 undefined
  23168. locale = getDefaultLocale();
  23169. }
  23170. if (typeof fallbackLocale !== 'string') {
  23171. fallbackLocale = typeof __uniConfig !== 'undefined' && __uniConfig.fallbackLocale || LOCALE_EN;
  23172. }
  23173. var i18n = new I18n({
  23174. locale: locale,
  23175. fallbackLocale: fallbackLocale,
  23176. messages: messages,
  23177. watcher: watcher
  23178. });
  23179. var _t = function t(key, values) {
  23180. if (typeof getApp !== 'function') {
  23181. // app view
  23182. /* eslint-disable no-func-assign */
  23183. _t = function t(key, values) {
  23184. return i18n.t(key, values);
  23185. };
  23186. } else {
  23187. var isWatchedAppLocale = false;
  23188. _t = function t(key, values) {
  23189. var appVm = getApp().$vm;
  23190. // 可能$vm还不存在,比如在支付宝小程序中,组件定义较早,在props的default里使用了t()函数(如uni-goods-nav),此时app还未初始化
  23191. // options: {
  23192. // type: Array,
  23193. // default () {
  23194. // return [{
  23195. // icon: 'shop',
  23196. // text: t("uni-goods-nav.options.shop"),
  23197. // }, {
  23198. // icon: 'cart',
  23199. // text: t("uni-goods-nav.options.cart")
  23200. // }]
  23201. // }
  23202. // },
  23203. if (appVm) {
  23204. // 触发响应式
  23205. appVm.$locale;
  23206. if (!isWatchedAppLocale) {
  23207. isWatchedAppLocale = true;
  23208. watchAppLocale(appVm, i18n);
  23209. }
  23210. }
  23211. return i18n.t(key, values);
  23212. };
  23213. }
  23214. return _t(key, values);
  23215. };
  23216. return {
  23217. i18n: i18n,
  23218. f: function f(message, values, delimiters) {
  23219. return i18n.f(message, values, delimiters);
  23220. },
  23221. t: function t(key, values) {
  23222. return _t(key, values);
  23223. },
  23224. add: function add(locale, message) {
  23225. var override = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;
  23226. return i18n.add(locale, message, override);
  23227. },
  23228. watch: function watch(fn) {
  23229. return i18n.watchLocale(fn);
  23230. },
  23231. getLocale: function getLocale() {
  23232. return i18n.getLocale();
  23233. },
  23234. setLocale: function setLocale(newLocale) {
  23235. return i18n.setLocale(newLocale);
  23236. }
  23237. };
  23238. }
  23239. var isString = function isString(val) {
  23240. return typeof val === 'string';
  23241. };
  23242. exports.isString = isString;
  23243. var formater;
  23244. function hasI18nJson(jsonObj, delimiters) {
  23245. if (!formater) {
  23246. formater = new BaseFormatter();
  23247. }
  23248. return walkJsonObj(jsonObj, function (jsonObj, key) {
  23249. var value = jsonObj[key];
  23250. if (isString(value)) {
  23251. if (isI18nStr(value, delimiters)) {
  23252. return true;
  23253. }
  23254. } else {
  23255. return hasI18nJson(value, delimiters);
  23256. }
  23257. });
  23258. }
  23259. function parseI18nJson(jsonObj, values, delimiters) {
  23260. if (!formater) {
  23261. formater = new BaseFormatter();
  23262. }
  23263. walkJsonObj(jsonObj, function (jsonObj, key) {
  23264. var value = jsonObj[key];
  23265. if (isString(value)) {
  23266. if (isI18nStr(value, delimiters)) {
  23267. jsonObj[key] = compileStr(value, values, delimiters);
  23268. }
  23269. } else {
  23270. parseI18nJson(value, values, delimiters);
  23271. }
  23272. });
  23273. return jsonObj;
  23274. }
  23275. function compileI18nJsonStr(jsonStr, _ref5) {
  23276. var locale = _ref5.locale,
  23277. locales = _ref5.locales,
  23278. delimiters = _ref5.delimiters;
  23279. if (!isI18nStr(jsonStr, delimiters)) {
  23280. return jsonStr;
  23281. }
  23282. if (!formater) {
  23283. formater = new BaseFormatter();
  23284. }
  23285. var localeValues = [];
  23286. Object.keys(locales).forEach(function (name) {
  23287. if (name !== locale) {
  23288. localeValues.push({
  23289. locale: name,
  23290. values: locales[name]
  23291. });
  23292. }
  23293. });
  23294. localeValues.unshift({
  23295. locale: locale,
  23296. values: locales[locale]
  23297. });
  23298. try {
  23299. return JSON.stringify(compileJsonObj(JSON.parse(jsonStr), localeValues, delimiters), null, 2);
  23300. } catch (e) {}
  23301. return jsonStr;
  23302. }
  23303. function isI18nStr(value, delimiters) {
  23304. return value.indexOf(delimiters[0]) > -1;
  23305. }
  23306. function compileStr(value, values, delimiters) {
  23307. return formater.interpolate(value, values, delimiters).join('');
  23308. }
  23309. function compileValue(jsonObj, key, localeValues, delimiters) {
  23310. var value = jsonObj[key];
  23311. if (isString(value)) {
  23312. // 存在国际化
  23313. if (isI18nStr(value, delimiters)) {
  23314. jsonObj[key] = compileStr(value, localeValues[0].values, delimiters);
  23315. if (localeValues.length > 1) {
  23316. // 格式化国际化语言
  23317. var valueLocales = jsonObj[key + 'Locales'] = {};
  23318. localeValues.forEach(function (localValue) {
  23319. valueLocales[localValue.locale] = compileStr(value, localValue.values, delimiters);
  23320. });
  23321. }
  23322. }
  23323. } else {
  23324. compileJsonObj(value, localeValues, delimiters);
  23325. }
  23326. }
  23327. function compileJsonObj(jsonObj, localeValues, delimiters) {
  23328. walkJsonObj(jsonObj, function (jsonObj, key) {
  23329. compileValue(jsonObj, key, localeValues, delimiters);
  23330. });
  23331. return jsonObj;
  23332. }
  23333. function walkJsonObj(jsonObj, walk) {
  23334. if (isArray(jsonObj)) {
  23335. for (var i = 0; i < jsonObj.length; i++) {
  23336. if (walk(jsonObj, i)) {
  23337. return true;
  23338. }
  23339. }
  23340. } else if (isObject(jsonObj)) {
  23341. for (var key in jsonObj) {
  23342. if (walk(jsonObj, key)) {
  23343. return true;
  23344. }
  23345. }
  23346. }
  23347. return false;
  23348. }
  23349. function resolveLocale(locales) {
  23350. return function (locale) {
  23351. if (!locale) {
  23352. return locale;
  23353. }
  23354. locale = normalizeLocale(locale) || locale;
  23355. return resolveLocaleChain(locale).find(function (locale) {
  23356. return locales.indexOf(locale) > -1;
  23357. });
  23358. };
  23359. }
  23360. function resolveLocaleChain(locale) {
  23361. var chain = [];
  23362. var tokens = locale.split('-');
  23363. while (tokens.length) {
  23364. chain.push(tokens.join('-'));
  23365. tokens.pop();
  23366. }
  23367. return chain;
  23368. }
  23369. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"], __webpack_require__(/*! ./../../../webpack/buildin/global.js */ 3)))
  23370. /***/ }),
  23371. /***/ 222:
  23372. /*!************************************************************************!*\
  23373. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/api/memberInstantMessage.js ***!
  23374. \************************************************************************/
  23375. /*! no static exports found */
  23376. /***/ (function(module, exports, __webpack_require__) {
  23377. "use strict";
  23378. Object.defineProperty(exports, "__esModule", {
  23379. value: true
  23380. });
  23381. exports.setMessage = exports.joinChat = exports.getChatList = exports.getChatHistory = exports.getChatCount = exports.addInstantMessage = void 0;
  23382. var _network = __webpack_require__(/*! ../util/network */ 38);
  23383. // 获取用户订单列表
  23384. var addInstantMessage = function addInstantMessage(data) {
  23385. return (0, _network.requestApi)('/member_instant_message/add', 'POST', data, 'member');
  23386. };
  23387. // 加入聊天
  23388. exports.addInstantMessage = addInstantMessage;
  23389. var joinChat = function joinChat(client_id) {
  23390. return (0, _network.requestApi)('/member_instant_message/join', 'POST', {
  23391. client_id: client_id
  23392. }, 'member');
  23393. };
  23394. // 已读消息
  23395. exports.joinChat = joinChat;
  23396. var setMessage = function setMessage(data) {
  23397. return (0, _network.requestApi)('/member_instant_message/set_message', 'POST', data, 'member');
  23398. };
  23399. // 聊天历史
  23400. exports.setMessage = setMessage;
  23401. var getChatHistory = function getChatHistory(params, t_id) {
  23402. return (0, _network.requestApi)('/member_instant_message/get_chat_log', 'POST', {
  23403. page: params.page,
  23404. per_page: params.per_page,
  23405. t_id: t_id
  23406. }, 'member');
  23407. };
  23408. // 最近消息
  23409. exports.getChatHistory = getChatHistory;
  23410. var getChatList = function getChatList() {
  23411. return (0, _network.requestApi)('/member_instant_message/get_user_list', 'POST', {
  23412. recent: 1
  23413. }, 'member');
  23414. };
  23415. // 新消息数
  23416. exports.getChatList = getChatList;
  23417. var getChatCount = function getChatCount() {
  23418. return (0, _network.requestApi)('/member_instant_message/get_msg_count', 'POST', {}, 'member');
  23419. };
  23420. exports.getChatCount = getChatCount;
  23421. /***/ }),
  23422. /***/ 23:
  23423. /*!***************************************************************!*\
  23424. !*** ./node_modules/@babel/runtime/helpers/classCallCheck.js ***!
  23425. \***************************************************************/
  23426. /*! no static exports found */
  23427. /***/ (function(module, exports) {
  23428. function _classCallCheck(instance, Constructor) {
  23429. if (!(instance instanceof Constructor)) {
  23430. throw new TypeError("Cannot call a class as a function");
  23431. }
  23432. }
  23433. module.exports = _classCallCheck, module.exports.__esModule = true, module.exports["default"] = module.exports;
  23434. /***/ }),
  23435. /***/ 231:
  23436. /*!*********************************************************!*\
  23437. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/util/bmap.js ***!
  23438. \*********************************************************/
  23439. /*! no static exports found */
  23440. /***/ (function(module, exports, __webpack_require__) {
  23441. "use strict";
  23442. /* WEBPACK VAR INJECTION */(function(wx) {
  23443. Object.defineProperty(exports, "__esModule", {
  23444. value: true
  23445. });
  23446. exports.addMap = addMap;
  23447. exports.addMarker = addMarker;
  23448. exports.addMarker2 = addMarker2;
  23449. exports.calRotation = calRotation;
  23450. exports.clearWatch = clearWatch;
  23451. exports.getPointNearby = exports.getPointByIp = exports.getPointByAddress = exports.getAddressByPoint = exports.getAddressByKeyword = exports.convertPoint = void 0;
  23452. exports.getPosition = getPosition;
  23453. var _network = __webpack_require__(/*! ./network */ 38);
  23454. var _config = __webpack_require__(/*! ../static/config */ 39);
  23455. var navigator_id;
  23456. var geolocation;
  23457. function getPosition(callback, start) {
  23458. function returnPoint(longitude, latitude) {
  23459. convertPoint(longitude, latitude).then(function (result) {
  23460. if (result.status == 0) {
  23461. var res = {
  23462. code: 10000,
  23463. message: '',
  23464. result: {
  23465. lng: result.result[0].x,
  23466. lat: result.result[0].y
  23467. }
  23468. };
  23469. callback(res);
  23470. } else {
  23471. var _res = {
  23472. code: 10001,
  23473. message: '坐标转换失败',
  23474. result: ''
  23475. };
  23476. callback(_res);
  23477. }
  23478. }).catch(function (error) {
  23479. callback({
  23480. code: 10001,
  23481. message: '调用坐标转换接口失败',
  23482. result: ''
  23483. });
  23484. });
  23485. }
  23486. if (start) {
  23487. wx.getLocation({
  23488. isHighAccuracy: true,
  23489. highAccuracyExpireTime: 5000,
  23490. success: function success(res) {
  23491. returnPoint(res.longitude, res.latitude);
  23492. },
  23493. fail: function fail(error) {
  23494. var res = {
  23495. code: 10001,
  23496. message: error.errMsg,
  23497. result: ''
  23498. };
  23499. callback(res);
  23500. }
  23501. });
  23502. } else {
  23503. wx.startLocationUpdate();
  23504. wx.onLocationChange(function (res) {
  23505. returnPoint(res.longitude, res.latitude);
  23506. });
  23507. }
  23508. }
  23509. function addMap(container, callleft, callright, calltop, calldown) {
  23510. var _bmap = new BMap.Map(container);
  23511. var zoomCtrl = new BMap.ZoomControl({
  23512. anchor: BMAP_ANCHOR_BOTTOM_RIGHT,
  23513. offset: new BMap.Size(20, 20)
  23514. });
  23515. _bmap.addControl(zoomCtrl);
  23516. // 创建控件
  23517. function PanLeftControl() {
  23518. this.defaultAnchor = BMAP_ANCHOR_TOP_LEFT;
  23519. this.defaultOffset = new BMap.Size(10, 10);
  23520. }
  23521. PanLeftControl.prototype = new BMap.Control();
  23522. PanLeftControl.prototype.initialize = function (map) {
  23523. var div = document.createElement('div');
  23524. div.className = 'bmap-pan-control pan-left iconfont icon-arrow-down';
  23525. div.onclick = function (e) {
  23526. map.panBy(100, 0);
  23527. if (typeof callleft === 'function') {
  23528. callleft();
  23529. }
  23530. };
  23531. map.getContainer().appendChild(div);
  23532. return div;
  23533. };
  23534. var panLeftCtrl = new PanLeftControl();
  23535. // 添加到地图当中
  23536. _bmap.addControl(panLeftCtrl);
  23537. // 创建控件
  23538. function PanRightControl() {
  23539. this.defaultAnchor = BMAP_ANCHOR_TOP_RIGHT;
  23540. this.defaultOffset = new BMap.Size(10, 10);
  23541. }
  23542. PanRightControl.prototype = new BMap.Control();
  23543. PanRightControl.prototype.initialize = function (map) {
  23544. var div = document.createElement('div');
  23545. div.className = 'bmap-pan-control pan-right iconfont icon-arrow-down';
  23546. div.onclick = function (e) {
  23547. map.panBy(-100, 0);
  23548. if (typeof callright === 'function') {
  23549. callright();
  23550. }
  23551. };
  23552. map.getContainer().appendChild(div);
  23553. return div;
  23554. };
  23555. var panRightCtrl = new PanRightControl();
  23556. // 添加到地图当中
  23557. _bmap.addControl(panRightCtrl);
  23558. // 创建控件
  23559. function PanTopControl() {
  23560. this.defaultAnchor = BMAP_ANCHOR_TOP_LEFT;
  23561. this.defaultOffset = new BMap.Size(10, 10);
  23562. }
  23563. PanTopControl.prototype = new BMap.Control();
  23564. PanTopControl.prototype.initialize = function (map) {
  23565. var div = document.createElement('div');
  23566. div.className = 'bmap-pan-control pan-top iconfont icon-arrow-down';
  23567. div.onclick = function (e) {
  23568. map.panBy(0, 100);
  23569. if (typeof calltop === 'function') {
  23570. calltop();
  23571. }
  23572. };
  23573. map.getContainer().appendChild(div);
  23574. return div;
  23575. };
  23576. var panTopCtrl = new PanTopControl();
  23577. // 添加到地图当中
  23578. _bmap.addControl(panTopCtrl);
  23579. // 创建控件
  23580. function PanBottomControl() {
  23581. this.defaultAnchor = BMAP_ANCHOR_BOTTOM_LEFT;
  23582. this.defaultOffset = new BMap.Size(10, 10);
  23583. }
  23584. PanBottomControl.prototype = new BMap.Control();
  23585. PanBottomControl.prototype.initialize = function (map) {
  23586. var div = document.createElement('div');
  23587. div.className = 'bmap-pan-control pan-bottom iconfont icon-arrow-down';
  23588. div.onclick = function (e) {
  23589. map.panBy(0, -100);
  23590. if (typeof calldown === 'function') {
  23591. calldown();
  23592. }
  23593. };
  23594. map.getContainer().appendChild(div);
  23595. return div;
  23596. };
  23597. var panBottomCtrl = new PanBottomControl();
  23598. // 添加到地图当中
  23599. _bmap.addControl(panBottomCtrl);
  23600. _bmap.disableDoubleClickZoom();
  23601. _bmap.disableDragging();
  23602. return _bmap;
  23603. }
  23604. function addMarker(info, map) {
  23605. // 给地图添加标记
  23606. var lng = info.lng;
  23607. var lat = info.lat;
  23608. var text = info.text;
  23609. var color = info.color;
  23610. var marker;
  23611. var point = new BMap.Point(lng, lat);
  23612. marker = new BMap.Marker(point);
  23613. marker.initialize = function (map) {
  23614. var div = document.createElement('div');
  23615. div.style.position = 'absolute';
  23616. div.style.width = '45px';
  23617. div.style.height = '45px';
  23618. div.style.lineHeight = '45px';
  23619. div.style.fontSize = '40px';
  23620. div.style.textAlign = 'center';
  23621. div.style.color = color;
  23622. div.className = 'iconfont icon-dingwei';
  23623. div.innerHTML = '<b style="font-size:18px;position:absolute;top:0;left:0px;color:#fff;line-height:1.8;width:100%">' + text + '</b>';
  23624. map.getPanes().markerPane.appendChild(div);
  23625. return div;
  23626. };
  23627. marker.draw = function () {
  23628. var point = this.getPosition();
  23629. var position = map.pointToOverlayPixel(point);
  23630. this.domElement.style.left = position.x - 22.5 + 'px';
  23631. this.domElement.style.top = position.y - 45 + 'px';
  23632. };
  23633. map.addOverlay(marker);
  23634. return marker;
  23635. }
  23636. function addMarker2(info, map) {
  23637. // 给地图添加标记
  23638. var lng = info.lng;
  23639. var lat = info.lat;
  23640. var start_point = info.start_point;
  23641. var color = info.color;
  23642. var marker;
  23643. var totalDeg;
  23644. var point = new BMap.Point(lng, lat);
  23645. marker = new BMap.Marker(point);
  23646. marker.initialize = function (map) {
  23647. var div = document.createElement('div');
  23648. div.style.position = 'absolute';
  23649. div.style.width = '20px';
  23650. div.style.height = '20px';
  23651. div.style.lineHeight = '20px';
  23652. div.style.fontSize = '20px';
  23653. div.style.textAlign = 'center';
  23654. div.style.color = color;
  23655. var targetPos = map.pointToOverlayPixel(point);
  23656. var curPos = map.pointToOverlayPixel(start_point);
  23657. var deg = calRotation(curPos, targetPos);
  23658. start_point = point;
  23659. totalDeg = deg + 13;
  23660. div.style.transform = 'rotate(' + totalDeg % 360 + 'deg)';
  23661. div.style.transformOrigin = targetPos.x - 10 + 'px ' + targetPos.y - 7.1875 + 'px';
  23662. div.className = 'iconfont icon-dingwei1';
  23663. map.getPanes().markerPane.appendChild(div);
  23664. return div;
  23665. };
  23666. marker.draw = function () {
  23667. var point = this.getPosition();
  23668. var targetPos = map.pointToOverlayPixel(point);
  23669. var curPos = map.pointToOverlayPixel(start_point);
  23670. var deg = calRotation(curPos, targetPos);
  23671. start_point = point;
  23672. totalDeg = deg + 13;
  23673. this.domElement.style.transform = 'rotate(' + totalDeg % 360 + 'deg)';
  23674. var position = map.pointToOverlayPixel(point);
  23675. this.domElement.style.left = position.x - 10 + 'px';
  23676. this.domElement.style.top = position.y - 7.1875 + 'px';
  23677. };
  23678. map.addOverlay(marker);
  23679. return marker;
  23680. }
  23681. function calRotation(curPos, targetPos) {
  23682. var px = curPos.x;
  23683. var py = curPos.y;
  23684. var mx = targetPos.x;
  23685. var my = targetPos.y;
  23686. var x = Math.abs(px - mx);
  23687. var y = Math.abs(py - my);
  23688. var z = Math.sqrt(Math.pow(x, 2) + Math.pow(y, 2));
  23689. var cos = y / z;
  23690. var radina = Math.acos(cos); // 用反三角函数求弧度
  23691. var angle = Math.floor(180 / (Math.PI / radina)); // 将弧度转换成角度
  23692. if (mx > px && my > py) {
  23693. // 鼠标在第四象限
  23694. angle = 180 - angle;
  23695. }
  23696. if (mx === px && my > py) {
  23697. // 鼠标在y轴负方向上
  23698. angle = 180;
  23699. }
  23700. if (mx > px && my === py) {
  23701. // 鼠标在x轴正方向上
  23702. angle = 90;
  23703. }
  23704. if (mx < px && my > py) {
  23705. // 鼠标在第三象限
  23706. angle = 180 + angle;
  23707. }
  23708. if (mx < px && my === py) {
  23709. // 鼠标在x轴负方向
  23710. angle = 270;
  23711. }
  23712. if (mx < px && my < py) {
  23713. // 鼠标在第二象限
  23714. angle = 360 - angle;
  23715. }
  23716. return angle;
  23717. }
  23718. function clearWatch() {
  23719. wx.offLocationChange();
  23720. wx.stopLocationUpdate();
  23721. }
  23722. var getAddressByPoint = function getAddressByPoint(location) {
  23723. return (0, _network.requestRaw)(_config.env.SITE_URL + '/bmap/reverse_geocoding/v3/', 'GET', {
  23724. location: location,
  23725. output: 'json',
  23726. ak: _config.env.BMAP_AK,
  23727. latest_admin: 1
  23728. });
  23729. };
  23730. exports.getAddressByPoint = getAddressByPoint;
  23731. var getPointByAddress = function getPointByAddress(address) {
  23732. return (0, _network.requestRaw)(_config.env.SITE_URL + '/bmap/geocoding/v3/', 'GET', {
  23733. address: address,
  23734. output: 'json',
  23735. ak: _config.env.BMAP_AK,
  23736. latest_admin: 1
  23737. });
  23738. };
  23739. exports.getPointByAddress = getPointByAddress;
  23740. var getAddressByKeyword = function getAddressByKeyword(query, region) {
  23741. return (0, _network.requestRaw)(_config.env.SITE_URL + '/bmap/place/v2/suggestion', 'GET', {
  23742. query: query,
  23743. region: region,
  23744. city_limit: true,
  23745. output: 'json',
  23746. ak: _config.env.BMAP_AK
  23747. });
  23748. };
  23749. exports.getAddressByKeyword = getAddressByKeyword;
  23750. var getPointByIp = function getPointByIp() {
  23751. return (0, _network.requestRaw)(_config.env.SITE_URL + '/bmap/location/ip', 'GET', {
  23752. coor: 'bd09ll',
  23753. ak: _config.env.BMAP_AK
  23754. });
  23755. };
  23756. exports.getPointByIp = getPointByIp;
  23757. var getPointNearby = function getPointNearby(location) {
  23758. return (0, _network.requestRaw)(_config.env.SITE_URL + '/bmap/place/v2/search', 'GET', {
  23759. query: '宾馆$酒店$住宅$餐饮$生活娱乐$公司$商务$学校$大厦$公寓$写字楼',
  23760. output: 'json',
  23761. location: location,
  23762. ak: _config.env.BMAP_AK
  23763. });
  23764. };
  23765. exports.getPointNearby = getPointNearby;
  23766. var convertPoint = function convertPoint(lng, lat) {
  23767. return (0, _network.requestRaw)(_config.env.SITE_URL + '/bmap/geoconv/v1/', 'GET', {
  23768. coords: lng + ',' + lat,
  23769. output: 'json',
  23770. from: 1,
  23771. to: 5,
  23772. ak: _config.env.BMAP_AK
  23773. });
  23774. };
  23775. exports.convertPoint = convertPoint;
  23776. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/wx.js */ 1)["default"]))
  23777. /***/ }),
  23778. /***/ 24:
  23779. /*!************************************************************!*\
  23780. !*** ./node_modules/@babel/runtime/helpers/createClass.js ***!
  23781. \************************************************************/
  23782. /*! no static exports found */
  23783. /***/ (function(module, exports, __webpack_require__) {
  23784. var toPropertyKey = __webpack_require__(/*! ./toPropertyKey.js */ 12);
  23785. function _defineProperties(target, props) {
  23786. for (var i = 0; i < props.length; i++) {
  23787. var descriptor = props[i];
  23788. descriptor.enumerable = descriptor.enumerable || false;
  23789. descriptor.configurable = true;
  23790. if ("value" in descriptor) descriptor.writable = true;
  23791. Object.defineProperty(target, toPropertyKey(descriptor.key), descriptor);
  23792. }
  23793. }
  23794. function _createClass(Constructor, protoProps, staticProps) {
  23795. if (protoProps) _defineProperties(Constructor.prototype, protoProps);
  23796. if (staticProps) _defineProperties(Constructor, staticProps);
  23797. Object.defineProperty(Constructor, "prototype", {
  23798. writable: false
  23799. });
  23800. return Constructor;
  23801. }
  23802. module.exports = _createClass, module.exports.__esModule = true, module.exports["default"] = module.exports;
  23803. /***/ }),
  23804. /***/ 25:
  23805. /*!******************************************************************************************!*\
  23806. !*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/mp-vue/dist/mp.runtime.esm.js ***!
  23807. \******************************************************************************************/
  23808. /*! exports provided: default */
  23809. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  23810. "use strict";
  23811. __webpack_require__.r(__webpack_exports__);
  23812. /* WEBPACK VAR INJECTION */(function(global) {/*!
  23813. * Vue.js v2.6.11
  23814. * (c) 2014-2022 Evan You
  23815. * Released under the MIT License.
  23816. */
  23817. /* */
  23818. var emptyObject = Object.freeze({});
  23819. // These helpers produce better VM code in JS engines due to their
  23820. // explicitness and function inlining.
  23821. function isUndef (v) {
  23822. return v === undefined || v === null
  23823. }
  23824. function isDef (v) {
  23825. return v !== undefined && v !== null
  23826. }
  23827. function isTrue (v) {
  23828. return v === true
  23829. }
  23830. function isFalse (v) {
  23831. return v === false
  23832. }
  23833. /**
  23834. * Check if value is primitive.
  23835. */
  23836. function isPrimitive (value) {
  23837. return (
  23838. typeof value === 'string' ||
  23839. typeof value === 'number' ||
  23840. // $flow-disable-line
  23841. typeof value === 'symbol' ||
  23842. typeof value === 'boolean'
  23843. )
  23844. }
  23845. /**
  23846. * Quick object check - this is primarily used to tell
  23847. * Objects from primitive values when we know the value
  23848. * is a JSON-compliant type.
  23849. */
  23850. function isObject (obj) {
  23851. return obj !== null && typeof obj === 'object'
  23852. }
  23853. /**
  23854. * Get the raw type string of a value, e.g., [object Object].
  23855. */
  23856. var _toString = Object.prototype.toString;
  23857. function toRawType (value) {
  23858. return _toString.call(value).slice(8, -1)
  23859. }
  23860. /**
  23861. * Strict object type check. Only returns true
  23862. * for plain JavaScript objects.
  23863. */
  23864. function isPlainObject (obj) {
  23865. return _toString.call(obj) === '[object Object]'
  23866. }
  23867. function isRegExp (v) {
  23868. return _toString.call(v) === '[object RegExp]'
  23869. }
  23870. /**
  23871. * Check if val is a valid array index.
  23872. */
  23873. function isValidArrayIndex (val) {
  23874. var n = parseFloat(String(val));
  23875. return n >= 0 && Math.floor(n) === n && isFinite(val)
  23876. }
  23877. function isPromise (val) {
  23878. return (
  23879. isDef(val) &&
  23880. typeof val.then === 'function' &&
  23881. typeof val.catch === 'function'
  23882. )
  23883. }
  23884. /**
  23885. * Convert a value to a string that is actually rendered.
  23886. */
  23887. function toString (val) {
  23888. return val == null
  23889. ? ''
  23890. : Array.isArray(val) || (isPlainObject(val) && val.toString === _toString)
  23891. ? JSON.stringify(val, null, 2)
  23892. : String(val)
  23893. }
  23894. /**
  23895. * Convert an input value to a number for persistence.
  23896. * If the conversion fails, return original string.
  23897. */
  23898. function toNumber (val) {
  23899. var n = parseFloat(val);
  23900. return isNaN(n) ? val : n
  23901. }
  23902. /**
  23903. * Make a map and return a function for checking if a key
  23904. * is in that map.
  23905. */
  23906. function makeMap (
  23907. str,
  23908. expectsLowerCase
  23909. ) {
  23910. var map = Object.create(null);
  23911. var list = str.split(',');
  23912. for (var i = 0; i < list.length; i++) {
  23913. map[list[i]] = true;
  23914. }
  23915. return expectsLowerCase
  23916. ? function (val) { return map[val.toLowerCase()]; }
  23917. : function (val) { return map[val]; }
  23918. }
  23919. /**
  23920. * Check if a tag is a built-in tag.
  23921. */
  23922. var isBuiltInTag = makeMap('slot,component', true);
  23923. /**
  23924. * Check if an attribute is a reserved attribute.
  23925. */
  23926. var isReservedAttribute = makeMap('key,ref,slot,slot-scope,is');
  23927. /**
  23928. * Remove an item from an array.
  23929. */
  23930. function remove (arr, item) {
  23931. if (arr.length) {
  23932. var index = arr.indexOf(item);
  23933. if (index > -1) {
  23934. return arr.splice(index, 1)
  23935. }
  23936. }
  23937. }
  23938. /**
  23939. * Check whether an object has the property.
  23940. */
  23941. var hasOwnProperty = Object.prototype.hasOwnProperty;
  23942. function hasOwn (obj, key) {
  23943. return hasOwnProperty.call(obj, key)
  23944. }
  23945. /**
  23946. * Create a cached version of a pure function.
  23947. */
  23948. function cached (fn) {
  23949. var cache = Object.create(null);
  23950. return (function cachedFn (str) {
  23951. var hit = cache[str];
  23952. return hit || (cache[str] = fn(str))
  23953. })
  23954. }
  23955. /**
  23956. * Camelize a hyphen-delimited string.
  23957. */
  23958. var camelizeRE = /-(\w)/g;
  23959. var camelize = cached(function (str) {
  23960. return str.replace(camelizeRE, function (_, c) { return c ? c.toUpperCase() : ''; })
  23961. });
  23962. /**
  23963. * Capitalize a string.
  23964. */
  23965. var capitalize = cached(function (str) {
  23966. return str.charAt(0).toUpperCase() + str.slice(1)
  23967. });
  23968. /**
  23969. * Hyphenate a camelCase string.
  23970. */
  23971. var hyphenateRE = /\B([A-Z])/g;
  23972. var hyphenate = cached(function (str) {
  23973. return str.replace(hyphenateRE, '-$1').toLowerCase()
  23974. });
  23975. /**
  23976. * Simple bind polyfill for environments that do not support it,
  23977. * e.g., PhantomJS 1.x. Technically, we don't need this anymore
  23978. * since native bind is now performant enough in most browsers.
  23979. * But removing it would mean breaking code that was able to run in
  23980. * PhantomJS 1.x, so this must be kept for backward compatibility.
  23981. */
  23982. /* istanbul ignore next */
  23983. function polyfillBind (fn, ctx) {
  23984. function boundFn (a) {
  23985. var l = arguments.length;
  23986. return l
  23987. ? l > 1
  23988. ? fn.apply(ctx, arguments)
  23989. : fn.call(ctx, a)
  23990. : fn.call(ctx)
  23991. }
  23992. boundFn._length = fn.length;
  23993. return boundFn
  23994. }
  23995. function nativeBind (fn, ctx) {
  23996. return fn.bind(ctx)
  23997. }
  23998. var bind = Function.prototype.bind
  23999. ? nativeBind
  24000. : polyfillBind;
  24001. /**
  24002. * Convert an Array-like object to a real Array.
  24003. */
  24004. function toArray (list, start) {
  24005. start = start || 0;
  24006. var i = list.length - start;
  24007. var ret = new Array(i);
  24008. while (i--) {
  24009. ret[i] = list[i + start];
  24010. }
  24011. return ret
  24012. }
  24013. /**
  24014. * Mix properties into target object.
  24015. */
  24016. function extend (to, _from) {
  24017. for (var key in _from) {
  24018. to[key] = _from[key];
  24019. }
  24020. return to
  24021. }
  24022. /**
  24023. * Merge an Array of Objects into a single Object.
  24024. */
  24025. function toObject (arr) {
  24026. var res = {};
  24027. for (var i = 0; i < arr.length; i++) {
  24028. if (arr[i]) {
  24029. extend(res, arr[i]);
  24030. }
  24031. }
  24032. return res
  24033. }
  24034. /* eslint-disable no-unused-vars */
  24035. /**
  24036. * Perform no operation.
  24037. * Stubbing args to make Flow happy without leaving useless transpiled code
  24038. * with ...rest (https://flow.org/blog/2017/05/07/Strict-Function-Call-Arity/).
  24039. */
  24040. function noop (a, b, c) {}
  24041. /**
  24042. * Always return false.
  24043. */
  24044. var no = function (a, b, c) { return false; };
  24045. /* eslint-enable no-unused-vars */
  24046. /**
  24047. * Return the same value.
  24048. */
  24049. var identity = function (_) { return _; };
  24050. /**
  24051. * Check if two values are loosely equal - that is,
  24052. * if they are plain objects, do they have the same shape?
  24053. */
  24054. function looseEqual (a, b) {
  24055. if (a === b) { return true }
  24056. var isObjectA = isObject(a);
  24057. var isObjectB = isObject(b);
  24058. if (isObjectA && isObjectB) {
  24059. try {
  24060. var isArrayA = Array.isArray(a);
  24061. var isArrayB = Array.isArray(b);
  24062. if (isArrayA && isArrayB) {
  24063. return a.length === b.length && a.every(function (e, i) {
  24064. return looseEqual(e, b[i])
  24065. })
  24066. } else if (a instanceof Date && b instanceof Date) {
  24067. return a.getTime() === b.getTime()
  24068. } else if (!isArrayA && !isArrayB) {
  24069. var keysA = Object.keys(a);
  24070. var keysB = Object.keys(b);
  24071. return keysA.length === keysB.length && keysA.every(function (key) {
  24072. return looseEqual(a[key], b[key])
  24073. })
  24074. } else {
  24075. /* istanbul ignore next */
  24076. return false
  24077. }
  24078. } catch (e) {
  24079. /* istanbul ignore next */
  24080. return false
  24081. }
  24082. } else if (!isObjectA && !isObjectB) {
  24083. return String(a) === String(b)
  24084. } else {
  24085. return false
  24086. }
  24087. }
  24088. /**
  24089. * Return the first index at which a loosely equal value can be
  24090. * found in the array (if value is a plain object, the array must
  24091. * contain an object of the same shape), or -1 if it is not present.
  24092. */
  24093. function looseIndexOf (arr, val) {
  24094. for (var i = 0; i < arr.length; i++) {
  24095. if (looseEqual(arr[i], val)) { return i }
  24096. }
  24097. return -1
  24098. }
  24099. /**
  24100. * Ensure a function is called only once.
  24101. */
  24102. function once (fn) {
  24103. var called = false;
  24104. return function () {
  24105. if (!called) {
  24106. called = true;
  24107. fn.apply(this, arguments);
  24108. }
  24109. }
  24110. }
  24111. var ASSET_TYPES = [
  24112. 'component',
  24113. 'directive',
  24114. 'filter'
  24115. ];
  24116. var LIFECYCLE_HOOKS = [
  24117. 'beforeCreate',
  24118. 'created',
  24119. 'beforeMount',
  24120. 'mounted',
  24121. 'beforeUpdate',
  24122. 'updated',
  24123. 'beforeDestroy',
  24124. 'destroyed',
  24125. 'activated',
  24126. 'deactivated',
  24127. 'errorCaptured',
  24128. 'serverPrefetch'
  24129. ];
  24130. /* */
  24131. var config = ({
  24132. /**
  24133. * Option merge strategies (used in core/util/options)
  24134. */
  24135. // $flow-disable-line
  24136. optionMergeStrategies: Object.create(null),
  24137. /**
  24138. * Whether to suppress warnings.
  24139. */
  24140. silent: false,
  24141. /**
  24142. * Show production mode tip message on boot?
  24143. */
  24144. productionTip: "development" !== 'production',
  24145. /**
  24146. * Whether to enable devtools
  24147. */
  24148. devtools: "development" !== 'production',
  24149. /**
  24150. * Whether to record perf
  24151. */
  24152. performance: false,
  24153. /**
  24154. * Error handler for watcher errors
  24155. */
  24156. errorHandler: null,
  24157. /**
  24158. * Warn handler for watcher warns
  24159. */
  24160. warnHandler: null,
  24161. /**
  24162. * Ignore certain custom elements
  24163. */
  24164. ignoredElements: [],
  24165. /**
  24166. * Custom user key aliases for v-on
  24167. */
  24168. // $flow-disable-line
  24169. keyCodes: Object.create(null),
  24170. /**
  24171. * Check if a tag is reserved so that it cannot be registered as a
  24172. * component. This is platform-dependent and may be overwritten.
  24173. */
  24174. isReservedTag: no,
  24175. /**
  24176. * Check if an attribute is reserved so that it cannot be used as a component
  24177. * prop. This is platform-dependent and may be overwritten.
  24178. */
  24179. isReservedAttr: no,
  24180. /**
  24181. * Check if a tag is an unknown element.
  24182. * Platform-dependent.
  24183. */
  24184. isUnknownElement: no,
  24185. /**
  24186. * Get the namespace of an element
  24187. */
  24188. getTagNamespace: noop,
  24189. /**
  24190. * Parse the real tag name for the specific platform.
  24191. */
  24192. parsePlatformTagName: identity,
  24193. /**
  24194. * Check if an attribute must be bound using property, e.g. value
  24195. * Platform-dependent.
  24196. */
  24197. mustUseProp: no,
  24198. /**
  24199. * Perform updates asynchronously. Intended to be used by Vue Test Utils
  24200. * This will significantly reduce performance if set to false.
  24201. */
  24202. async: true,
  24203. /**
  24204. * Exposed for legacy reasons
  24205. */
  24206. _lifecycleHooks: LIFECYCLE_HOOKS
  24207. });
  24208. /* */
  24209. /**
  24210. * unicode letters used for parsing html tags, component names and property paths.
  24211. * using https://www.w3.org/TR/html53/semantics-scripting.html#potentialcustomelementname
  24212. * skipping \u10000-\uEFFFF due to it freezing up PhantomJS
  24213. */
  24214. var unicodeRegExp = /a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/;
  24215. /**
  24216. * Check if a string starts with $ or _
  24217. */
  24218. function isReserved (str) {
  24219. var c = (str + '').charCodeAt(0);
  24220. return c === 0x24 || c === 0x5F
  24221. }
  24222. /**
  24223. * Define a property.
  24224. */
  24225. function def (obj, key, val, enumerable) {
  24226. Object.defineProperty(obj, key, {
  24227. value: val,
  24228. enumerable: !!enumerable,
  24229. writable: true,
  24230. configurable: true
  24231. });
  24232. }
  24233. /**
  24234. * Parse simple path.
  24235. */
  24236. var bailRE = new RegExp(("[^" + (unicodeRegExp.source) + ".$_\\d]"));
  24237. function parsePath (path) {
  24238. if (bailRE.test(path)) {
  24239. return
  24240. }
  24241. var segments = path.split('.');
  24242. return function (obj) {
  24243. for (var i = 0; i < segments.length; i++) {
  24244. if (!obj) { return }
  24245. obj = obj[segments[i]];
  24246. }
  24247. return obj
  24248. }
  24249. }
  24250. /* */
  24251. // can we use __proto__?
  24252. var hasProto = '__proto__' in {};
  24253. // Browser environment sniffing
  24254. var inBrowser = typeof window !== 'undefined';
  24255. var inWeex = typeof WXEnvironment !== 'undefined' && !!WXEnvironment.platform;
  24256. var weexPlatform = inWeex && WXEnvironment.platform.toLowerCase();
  24257. var UA = inBrowser && window.navigator.userAgent.toLowerCase();
  24258. var isIE = UA && /msie|trident/.test(UA);
  24259. var isIE9 = UA && UA.indexOf('msie 9.0') > 0;
  24260. var isEdge = UA && UA.indexOf('edge/') > 0;
  24261. var isAndroid = (UA && UA.indexOf('android') > 0) || (weexPlatform === 'android');
  24262. var isIOS = (UA && /iphone|ipad|ipod|ios/.test(UA)) || (weexPlatform === 'ios');
  24263. var isChrome = UA && /chrome\/\d+/.test(UA) && !isEdge;
  24264. var isPhantomJS = UA && /phantomjs/.test(UA);
  24265. var isFF = UA && UA.match(/firefox\/(\d+)/);
  24266. // Firefox has a "watch" function on Object.prototype...
  24267. var nativeWatch = ({}).watch;
  24268. if (inBrowser) {
  24269. try {
  24270. var opts = {};
  24271. Object.defineProperty(opts, 'passive', ({
  24272. get: function get () {
  24273. }
  24274. })); // https://github.com/facebook/flow/issues/285
  24275. window.addEventListener('test-passive', null, opts);
  24276. } catch (e) {}
  24277. }
  24278. // this needs to be lazy-evaled because vue may be required before
  24279. // vue-server-renderer can set VUE_ENV
  24280. var _isServer;
  24281. var isServerRendering = function () {
  24282. if (_isServer === undefined) {
  24283. /* istanbul ignore if */
  24284. if (!inBrowser && !inWeex && typeof global !== 'undefined') {
  24285. // detect presence of vue-server-renderer and avoid
  24286. // Webpack shimming the process
  24287. _isServer = global['process'] && global['process'].env.VUE_ENV === 'server';
  24288. } else {
  24289. _isServer = false;
  24290. }
  24291. }
  24292. return _isServer
  24293. };
  24294. // detect devtools
  24295. var devtools = inBrowser && window.__VUE_DEVTOOLS_GLOBAL_HOOK__;
  24296. /* istanbul ignore next */
  24297. function isNative (Ctor) {
  24298. return typeof Ctor === 'function' && /native code/.test(Ctor.toString())
  24299. }
  24300. var hasSymbol =
  24301. typeof Symbol !== 'undefined' && isNative(Symbol) &&
  24302. typeof Reflect !== 'undefined' && isNative(Reflect.ownKeys);
  24303. var _Set;
  24304. /* istanbul ignore if */ // $flow-disable-line
  24305. if (typeof Set !== 'undefined' && isNative(Set)) {
  24306. // use native Set when available.
  24307. _Set = Set;
  24308. } else {
  24309. // a non-standard Set polyfill that only works with primitive keys.
  24310. _Set = /*@__PURE__*/(function () {
  24311. function Set () {
  24312. this.set = Object.create(null);
  24313. }
  24314. Set.prototype.has = function has (key) {
  24315. return this.set[key] === true
  24316. };
  24317. Set.prototype.add = function add (key) {
  24318. this.set[key] = true;
  24319. };
  24320. Set.prototype.clear = function clear () {
  24321. this.set = Object.create(null);
  24322. };
  24323. return Set;
  24324. }());
  24325. }
  24326. /* */
  24327. var warn = noop;
  24328. var tip = noop;
  24329. var generateComponentTrace = (noop); // work around flow check
  24330. var formatComponentName = (noop);
  24331. if (true) {
  24332. var hasConsole = typeof console !== 'undefined';
  24333. var classifyRE = /(?:^|[-_])(\w)/g;
  24334. var classify = function (str) { return str
  24335. .replace(classifyRE, function (c) { return c.toUpperCase(); })
  24336. .replace(/[-_]/g, ''); };
  24337. warn = function (msg, vm) {
  24338. var trace = vm ? generateComponentTrace(vm) : '';
  24339. if (config.warnHandler) {
  24340. config.warnHandler.call(null, msg, vm, trace);
  24341. } else if (hasConsole && (!config.silent)) {
  24342. console.error(("[Vue warn]: " + msg + trace));
  24343. }
  24344. };
  24345. tip = function (msg, vm) {
  24346. if (hasConsole && (!config.silent)) {
  24347. console.warn("[Vue tip]: " + msg + (
  24348. vm ? generateComponentTrace(vm) : ''
  24349. ));
  24350. }
  24351. };
  24352. formatComponentName = function (vm, includeFile) {
  24353. if (vm.$root === vm) {
  24354. if (vm.$options && vm.$options.__file) { // fixed by xxxxxx
  24355. return ('') + vm.$options.__file
  24356. }
  24357. return '<Root>'
  24358. }
  24359. var options = typeof vm === 'function' && vm.cid != null
  24360. ? vm.options
  24361. : vm._isVue
  24362. ? vm.$options || vm.constructor.options
  24363. : vm;
  24364. var name = options.name || options._componentTag;
  24365. var file = options.__file;
  24366. if (!name && file) {
  24367. var match = file.match(/([^/\\]+)\.vue$/);
  24368. name = match && match[1];
  24369. }
  24370. return (
  24371. (name ? ("<" + (classify(name)) + ">") : "<Anonymous>") +
  24372. (file && includeFile !== false ? (" at " + file) : '')
  24373. )
  24374. };
  24375. var repeat = function (str, n) {
  24376. var res = '';
  24377. while (n) {
  24378. if (n % 2 === 1) { res += str; }
  24379. if (n > 1) { str += str; }
  24380. n >>= 1;
  24381. }
  24382. return res
  24383. };
  24384. generateComponentTrace = function (vm) {
  24385. if (vm._isVue && vm.$parent) {
  24386. var tree = [];
  24387. var currentRecursiveSequence = 0;
  24388. while (vm && vm.$options.name !== 'PageBody') {
  24389. if (tree.length > 0) {
  24390. var last = tree[tree.length - 1];
  24391. if (last.constructor === vm.constructor) {
  24392. currentRecursiveSequence++;
  24393. vm = vm.$parent;
  24394. continue
  24395. } else if (currentRecursiveSequence > 0) {
  24396. tree[tree.length - 1] = [last, currentRecursiveSequence];
  24397. currentRecursiveSequence = 0;
  24398. }
  24399. }
  24400. !vm.$options.isReserved && tree.push(vm);
  24401. vm = vm.$parent;
  24402. }
  24403. return '\n\nfound in\n\n' + tree
  24404. .map(function (vm, i) { return ("" + (i === 0 ? '---> ' : repeat(' ', 5 + i * 2)) + (Array.isArray(vm)
  24405. ? ((formatComponentName(vm[0])) + "... (" + (vm[1]) + " recursive calls)")
  24406. : formatComponentName(vm))); })
  24407. .join('\n')
  24408. } else {
  24409. return ("\n\n(found in " + (formatComponentName(vm)) + ")")
  24410. }
  24411. };
  24412. }
  24413. /* */
  24414. var uid = 0;
  24415. /**
  24416. * A dep is an observable that can have multiple
  24417. * directives subscribing to it.
  24418. */
  24419. var Dep = function Dep () {
  24420. this.id = uid++;
  24421. this.subs = [];
  24422. };
  24423. Dep.prototype.addSub = function addSub (sub) {
  24424. this.subs.push(sub);
  24425. };
  24426. Dep.prototype.removeSub = function removeSub (sub) {
  24427. remove(this.subs, sub);
  24428. };
  24429. Dep.prototype.depend = function depend () {
  24430. if (Dep.SharedObject.target) {
  24431. Dep.SharedObject.target.addDep(this);
  24432. }
  24433. };
  24434. Dep.prototype.notify = function notify () {
  24435. // stabilize the subscriber list first
  24436. var subs = this.subs.slice();
  24437. if ( true && !config.async) {
  24438. // subs aren't sorted in scheduler if not running async
  24439. // we need to sort them now to make sure they fire in correct
  24440. // order
  24441. subs.sort(function (a, b) { return a.id - b.id; });
  24442. }
  24443. for (var i = 0, l = subs.length; i < l; i++) {
  24444. subs[i].update();
  24445. }
  24446. };
  24447. // The current target watcher being evaluated.
  24448. // This is globally unique because only one watcher
  24449. // can be evaluated at a time.
  24450. // fixed by xxxxxx (nvue shared vuex)
  24451. /* eslint-disable no-undef */
  24452. Dep.SharedObject = {};
  24453. Dep.SharedObject.target = null;
  24454. Dep.SharedObject.targetStack = [];
  24455. function pushTarget (target) {
  24456. Dep.SharedObject.targetStack.push(target);
  24457. Dep.SharedObject.target = target;
  24458. Dep.target = target;
  24459. }
  24460. function popTarget () {
  24461. Dep.SharedObject.targetStack.pop();
  24462. Dep.SharedObject.target = Dep.SharedObject.targetStack[Dep.SharedObject.targetStack.length - 1];
  24463. Dep.target = Dep.SharedObject.target;
  24464. }
  24465. /* */
  24466. var VNode = function VNode (
  24467. tag,
  24468. data,
  24469. children,
  24470. text,
  24471. elm,
  24472. context,
  24473. componentOptions,
  24474. asyncFactory
  24475. ) {
  24476. this.tag = tag;
  24477. this.data = data;
  24478. this.children = children;
  24479. this.text = text;
  24480. this.elm = elm;
  24481. this.ns = undefined;
  24482. this.context = context;
  24483. this.fnContext = undefined;
  24484. this.fnOptions = undefined;
  24485. this.fnScopeId = undefined;
  24486. this.key = data && data.key;
  24487. this.componentOptions = componentOptions;
  24488. this.componentInstance = undefined;
  24489. this.parent = undefined;
  24490. this.raw = false;
  24491. this.isStatic = false;
  24492. this.isRootInsert = true;
  24493. this.isComment = false;
  24494. this.isCloned = false;
  24495. this.isOnce = false;
  24496. this.asyncFactory = asyncFactory;
  24497. this.asyncMeta = undefined;
  24498. this.isAsyncPlaceholder = false;
  24499. };
  24500. var prototypeAccessors = { child: { configurable: true } };
  24501. // DEPRECATED: alias for componentInstance for backwards compat.
  24502. /* istanbul ignore next */
  24503. prototypeAccessors.child.get = function () {
  24504. return this.componentInstance
  24505. };
  24506. Object.defineProperties( VNode.prototype, prototypeAccessors );
  24507. var createEmptyVNode = function (text) {
  24508. if ( text === void 0 ) text = '';
  24509. var node = new VNode();
  24510. node.text = text;
  24511. node.isComment = true;
  24512. return node
  24513. };
  24514. function createTextVNode (val) {
  24515. return new VNode(undefined, undefined, undefined, String(val))
  24516. }
  24517. // optimized shallow clone
  24518. // used for static nodes and slot nodes because they may be reused across
  24519. // multiple renders, cloning them avoids errors when DOM manipulations rely
  24520. // on their elm reference.
  24521. function cloneVNode (vnode) {
  24522. var cloned = new VNode(
  24523. vnode.tag,
  24524. vnode.data,
  24525. // #7975
  24526. // clone children array to avoid mutating original in case of cloning
  24527. // a child.
  24528. vnode.children && vnode.children.slice(),
  24529. vnode.text,
  24530. vnode.elm,
  24531. vnode.context,
  24532. vnode.componentOptions,
  24533. vnode.asyncFactory
  24534. );
  24535. cloned.ns = vnode.ns;
  24536. cloned.isStatic = vnode.isStatic;
  24537. cloned.key = vnode.key;
  24538. cloned.isComment = vnode.isComment;
  24539. cloned.fnContext = vnode.fnContext;
  24540. cloned.fnOptions = vnode.fnOptions;
  24541. cloned.fnScopeId = vnode.fnScopeId;
  24542. cloned.asyncMeta = vnode.asyncMeta;
  24543. cloned.isCloned = true;
  24544. return cloned
  24545. }
  24546. /*
  24547. * not type checking this file because flow doesn't play well with
  24548. * dynamically accessing methods on Array prototype
  24549. */
  24550. var arrayProto = Array.prototype;
  24551. var arrayMethods = Object.create(arrayProto);
  24552. var methodsToPatch = [
  24553. 'push',
  24554. 'pop',
  24555. 'shift',
  24556. 'unshift',
  24557. 'splice',
  24558. 'sort',
  24559. 'reverse'
  24560. ];
  24561. /**
  24562. * Intercept mutating methods and emit events
  24563. */
  24564. methodsToPatch.forEach(function (method) {
  24565. // cache original method
  24566. var original = arrayProto[method];
  24567. def(arrayMethods, method, function mutator () {
  24568. var args = [], len = arguments.length;
  24569. while ( len-- ) args[ len ] = arguments[ len ];
  24570. var result = original.apply(this, args);
  24571. var ob = this.__ob__;
  24572. var inserted;
  24573. switch (method) {
  24574. case 'push':
  24575. case 'unshift':
  24576. inserted = args;
  24577. break
  24578. case 'splice':
  24579. inserted = args.slice(2);
  24580. break
  24581. }
  24582. if (inserted) { ob.observeArray(inserted); }
  24583. // notify change
  24584. ob.dep.notify();
  24585. return result
  24586. });
  24587. });
  24588. /* */
  24589. var arrayKeys = Object.getOwnPropertyNames(arrayMethods);
  24590. /**
  24591. * In some cases we may want to disable observation inside a component's
  24592. * update computation.
  24593. */
  24594. var shouldObserve = true;
  24595. function toggleObserving (value) {
  24596. shouldObserve = value;
  24597. }
  24598. /**
  24599. * Observer class that is attached to each observed
  24600. * object. Once attached, the observer converts the target
  24601. * object's property keys into getter/setters that
  24602. * collect dependencies and dispatch updates.
  24603. */
  24604. var Observer = function Observer (value) {
  24605. this.value = value;
  24606. this.dep = new Dep();
  24607. this.vmCount = 0;
  24608. def(value, '__ob__', this);
  24609. if (Array.isArray(value)) {
  24610. if (hasProto) {
  24611. {// fixed by xxxxxx 微信小程序使用 plugins 之后,数组方法被直接挂载到了数组对象上,需要执行 copyAugment 逻辑
  24612. if(value.push !== value.__proto__.push){
  24613. copyAugment(value, arrayMethods, arrayKeys);
  24614. } else {
  24615. protoAugment(value, arrayMethods);
  24616. }
  24617. }
  24618. } else {
  24619. copyAugment(value, arrayMethods, arrayKeys);
  24620. }
  24621. this.observeArray(value);
  24622. } else {
  24623. this.walk(value);
  24624. }
  24625. };
  24626. /**
  24627. * Walk through all properties and convert them into
  24628. * getter/setters. This method should only be called when
  24629. * value type is Object.
  24630. */
  24631. Observer.prototype.walk = function walk (obj) {
  24632. var keys = Object.keys(obj);
  24633. for (var i = 0; i < keys.length; i++) {
  24634. defineReactive$$1(obj, keys[i]);
  24635. }
  24636. };
  24637. /**
  24638. * Observe a list of Array items.
  24639. */
  24640. Observer.prototype.observeArray = function observeArray (items) {
  24641. for (var i = 0, l = items.length; i < l; i++) {
  24642. observe(items[i]);
  24643. }
  24644. };
  24645. // helpers
  24646. /**
  24647. * Augment a target Object or Array by intercepting
  24648. * the prototype chain using __proto__
  24649. */
  24650. function protoAugment (target, src) {
  24651. /* eslint-disable no-proto */
  24652. target.__proto__ = src;
  24653. /* eslint-enable no-proto */
  24654. }
  24655. /**
  24656. * Augment a target Object or Array by defining
  24657. * hidden properties.
  24658. */
  24659. /* istanbul ignore next */
  24660. function copyAugment (target, src, keys) {
  24661. for (var i = 0, l = keys.length; i < l; i++) {
  24662. var key = keys[i];
  24663. def(target, key, src[key]);
  24664. }
  24665. }
  24666. /**
  24667. * Attempt to create an observer instance for a value,
  24668. * returns the new observer if successfully observed,
  24669. * or the existing observer if the value already has one.
  24670. */
  24671. function observe (value, asRootData) {
  24672. if (!isObject(value) || value instanceof VNode) {
  24673. return
  24674. }
  24675. var ob;
  24676. if (hasOwn(value, '__ob__') && value.__ob__ instanceof Observer) {
  24677. ob = value.__ob__;
  24678. } else if (
  24679. shouldObserve &&
  24680. !isServerRendering() &&
  24681. (Array.isArray(value) || isPlainObject(value)) &&
  24682. Object.isExtensible(value) &&
  24683. !value._isVue &&
  24684. !value.__v_isMPComponent
  24685. ) {
  24686. ob = new Observer(value);
  24687. }
  24688. if (asRootData && ob) {
  24689. ob.vmCount++;
  24690. }
  24691. return ob
  24692. }
  24693. /**
  24694. * Define a reactive property on an Object.
  24695. */
  24696. function defineReactive$$1 (
  24697. obj,
  24698. key,
  24699. val,
  24700. customSetter,
  24701. shallow
  24702. ) {
  24703. var dep = new Dep();
  24704. var property = Object.getOwnPropertyDescriptor(obj, key);
  24705. if (property && property.configurable === false) {
  24706. return
  24707. }
  24708. // cater for pre-defined getter/setters
  24709. var getter = property && property.get;
  24710. var setter = property && property.set;
  24711. if ((!getter || setter) && arguments.length === 2) {
  24712. val = obj[key];
  24713. }
  24714. var childOb = !shallow && observe(val);
  24715. Object.defineProperty(obj, key, {
  24716. enumerable: true,
  24717. configurable: true,
  24718. get: function reactiveGetter () {
  24719. var value = getter ? getter.call(obj) : val;
  24720. if (Dep.SharedObject.target) { // fixed by xxxxxx
  24721. dep.depend();
  24722. if (childOb) {
  24723. childOb.dep.depend();
  24724. if (Array.isArray(value)) {
  24725. dependArray(value);
  24726. }
  24727. }
  24728. }
  24729. return value
  24730. },
  24731. set: function reactiveSetter (newVal) {
  24732. var value = getter ? getter.call(obj) : val;
  24733. /* eslint-disable no-self-compare */
  24734. if (newVal === value || (newVal !== newVal && value !== value)) {
  24735. return
  24736. }
  24737. /* eslint-enable no-self-compare */
  24738. if ( true && customSetter) {
  24739. customSetter();
  24740. }
  24741. // #7981: for accessor properties without setter
  24742. if (getter && !setter) { return }
  24743. if (setter) {
  24744. setter.call(obj, newVal);
  24745. } else {
  24746. val = newVal;
  24747. }
  24748. childOb = !shallow && observe(newVal);
  24749. dep.notify();
  24750. }
  24751. });
  24752. }
  24753. /**
  24754. * Set a property on an object. Adds the new property and
  24755. * triggers change notification if the property doesn't
  24756. * already exist.
  24757. */
  24758. function set (target, key, val) {
  24759. if ( true &&
  24760. (isUndef(target) || isPrimitive(target))
  24761. ) {
  24762. warn(("Cannot set reactive property on undefined, null, or primitive value: " + ((target))));
  24763. }
  24764. if (Array.isArray(target) && isValidArrayIndex(key)) {
  24765. target.length = Math.max(target.length, key);
  24766. target.splice(key, 1, val);
  24767. return val
  24768. }
  24769. if (key in target && !(key in Object.prototype)) {
  24770. target[key] = val;
  24771. return val
  24772. }
  24773. var ob = (target).__ob__;
  24774. if (target._isVue || (ob && ob.vmCount)) {
  24775. true && warn(
  24776. 'Avoid adding reactive properties to a Vue instance or its root $data ' +
  24777. 'at runtime - declare it upfront in the data option.'
  24778. );
  24779. return val
  24780. }
  24781. if (!ob) {
  24782. target[key] = val;
  24783. return val
  24784. }
  24785. defineReactive$$1(ob.value, key, val);
  24786. ob.dep.notify();
  24787. return val
  24788. }
  24789. /**
  24790. * Delete a property and trigger change if necessary.
  24791. */
  24792. function del (target, key) {
  24793. if ( true &&
  24794. (isUndef(target) || isPrimitive(target))
  24795. ) {
  24796. warn(("Cannot delete reactive property on undefined, null, or primitive value: " + ((target))));
  24797. }
  24798. if (Array.isArray(target) && isValidArrayIndex(key)) {
  24799. target.splice(key, 1);
  24800. return
  24801. }
  24802. var ob = (target).__ob__;
  24803. if (target._isVue || (ob && ob.vmCount)) {
  24804. true && warn(
  24805. 'Avoid deleting properties on a Vue instance or its root $data ' +
  24806. '- just set it to null.'
  24807. );
  24808. return
  24809. }
  24810. if (!hasOwn(target, key)) {
  24811. return
  24812. }
  24813. delete target[key];
  24814. if (!ob) {
  24815. return
  24816. }
  24817. ob.dep.notify();
  24818. }
  24819. /**
  24820. * Collect dependencies on array elements when the array is touched, since
  24821. * we cannot intercept array element access like property getters.
  24822. */
  24823. function dependArray (value) {
  24824. for (var e = (void 0), i = 0, l = value.length; i < l; i++) {
  24825. e = value[i];
  24826. e && e.__ob__ && e.__ob__.dep.depend();
  24827. if (Array.isArray(e)) {
  24828. dependArray(e);
  24829. }
  24830. }
  24831. }
  24832. /* */
  24833. /**
  24834. * Option overwriting strategies are functions that handle
  24835. * how to merge a parent option value and a child option
  24836. * value into the final value.
  24837. */
  24838. var strats = config.optionMergeStrategies;
  24839. /**
  24840. * Options with restrictions
  24841. */
  24842. if (true) {
  24843. strats.el = strats.propsData = function (parent, child, vm, key) {
  24844. if (!vm) {
  24845. warn(
  24846. "option \"" + key + "\" can only be used during instance " +
  24847. 'creation with the `new` keyword.'
  24848. );
  24849. }
  24850. return defaultStrat(parent, child)
  24851. };
  24852. }
  24853. /**
  24854. * Helper that recursively merges two data objects together.
  24855. */
  24856. function mergeData (to, from) {
  24857. if (!from) { return to }
  24858. var key, toVal, fromVal;
  24859. var keys = hasSymbol
  24860. ? Reflect.ownKeys(from)
  24861. : Object.keys(from);
  24862. for (var i = 0; i < keys.length; i++) {
  24863. key = keys[i];
  24864. // in case the object is already observed...
  24865. if (key === '__ob__') { continue }
  24866. toVal = to[key];
  24867. fromVal = from[key];
  24868. if (!hasOwn(to, key)) {
  24869. set(to, key, fromVal);
  24870. } else if (
  24871. toVal !== fromVal &&
  24872. isPlainObject(toVal) &&
  24873. isPlainObject(fromVal)
  24874. ) {
  24875. mergeData(toVal, fromVal);
  24876. }
  24877. }
  24878. return to
  24879. }
  24880. /**
  24881. * Data
  24882. */
  24883. function mergeDataOrFn (
  24884. parentVal,
  24885. childVal,
  24886. vm
  24887. ) {
  24888. if (!vm) {
  24889. // in a Vue.extend merge, both should be functions
  24890. if (!childVal) {
  24891. return parentVal
  24892. }
  24893. if (!parentVal) {
  24894. return childVal
  24895. }
  24896. // when parentVal & childVal are both present,
  24897. // we need to return a function that returns the
  24898. // merged result of both functions... no need to
  24899. // check if parentVal is a function here because
  24900. // it has to be a function to pass previous merges.
  24901. return function mergedDataFn () {
  24902. return mergeData(
  24903. typeof childVal === 'function' ? childVal.call(this, this) : childVal,
  24904. typeof parentVal === 'function' ? parentVal.call(this, this) : parentVal
  24905. )
  24906. }
  24907. } else {
  24908. return function mergedInstanceDataFn () {
  24909. // instance merge
  24910. var instanceData = typeof childVal === 'function'
  24911. ? childVal.call(vm, vm)
  24912. : childVal;
  24913. var defaultData = typeof parentVal === 'function'
  24914. ? parentVal.call(vm, vm)
  24915. : parentVal;
  24916. if (instanceData) {
  24917. return mergeData(instanceData, defaultData)
  24918. } else {
  24919. return defaultData
  24920. }
  24921. }
  24922. }
  24923. }
  24924. strats.data = function (
  24925. parentVal,
  24926. childVal,
  24927. vm
  24928. ) {
  24929. if (!vm) {
  24930. if (childVal && typeof childVal !== 'function') {
  24931. true && warn(
  24932. 'The "data" option should be a function ' +
  24933. 'that returns a per-instance value in component ' +
  24934. 'definitions.',
  24935. vm
  24936. );
  24937. return parentVal
  24938. }
  24939. return mergeDataOrFn(parentVal, childVal)
  24940. }
  24941. return mergeDataOrFn(parentVal, childVal, vm)
  24942. };
  24943. /**
  24944. * Hooks and props are merged as arrays.
  24945. */
  24946. function mergeHook (
  24947. parentVal,
  24948. childVal
  24949. ) {
  24950. var res = childVal
  24951. ? parentVal
  24952. ? parentVal.concat(childVal)
  24953. : Array.isArray(childVal)
  24954. ? childVal
  24955. : [childVal]
  24956. : parentVal;
  24957. return res
  24958. ? dedupeHooks(res)
  24959. : res
  24960. }
  24961. function dedupeHooks (hooks) {
  24962. var res = [];
  24963. for (var i = 0; i < hooks.length; i++) {
  24964. if (res.indexOf(hooks[i]) === -1) {
  24965. res.push(hooks[i]);
  24966. }
  24967. }
  24968. return res
  24969. }
  24970. LIFECYCLE_HOOKS.forEach(function (hook) {
  24971. strats[hook] = mergeHook;
  24972. });
  24973. /**
  24974. * Assets
  24975. *
  24976. * When a vm is present (instance creation), we need to do
  24977. * a three-way merge between constructor options, instance
  24978. * options and parent options.
  24979. */
  24980. function mergeAssets (
  24981. parentVal,
  24982. childVal,
  24983. vm,
  24984. key
  24985. ) {
  24986. var res = Object.create(parentVal || null);
  24987. if (childVal) {
  24988. true && assertObjectType(key, childVal, vm);
  24989. return extend(res, childVal)
  24990. } else {
  24991. return res
  24992. }
  24993. }
  24994. ASSET_TYPES.forEach(function (type) {
  24995. strats[type + 's'] = mergeAssets;
  24996. });
  24997. /**
  24998. * Watchers.
  24999. *
  25000. * Watchers hashes should not overwrite one
  25001. * another, so we merge them as arrays.
  25002. */
  25003. strats.watch = function (
  25004. parentVal,
  25005. childVal,
  25006. vm,
  25007. key
  25008. ) {
  25009. // work around Firefox's Object.prototype.watch...
  25010. if (parentVal === nativeWatch) { parentVal = undefined; }
  25011. if (childVal === nativeWatch) { childVal = undefined; }
  25012. /* istanbul ignore if */
  25013. if (!childVal) { return Object.create(parentVal || null) }
  25014. if (true) {
  25015. assertObjectType(key, childVal, vm);
  25016. }
  25017. if (!parentVal) { return childVal }
  25018. var ret = {};
  25019. extend(ret, parentVal);
  25020. for (var key$1 in childVal) {
  25021. var parent = ret[key$1];
  25022. var child = childVal[key$1];
  25023. if (parent && !Array.isArray(parent)) {
  25024. parent = [parent];
  25025. }
  25026. ret[key$1] = parent
  25027. ? parent.concat(child)
  25028. : Array.isArray(child) ? child : [child];
  25029. }
  25030. return ret
  25031. };
  25032. /**
  25033. * Other object hashes.
  25034. */
  25035. strats.props =
  25036. strats.methods =
  25037. strats.inject =
  25038. strats.computed = function (
  25039. parentVal,
  25040. childVal,
  25041. vm,
  25042. key
  25043. ) {
  25044. if (childVal && "development" !== 'production') {
  25045. assertObjectType(key, childVal, vm);
  25046. }
  25047. if (!parentVal) { return childVal }
  25048. var ret = Object.create(null);
  25049. extend(ret, parentVal);
  25050. if (childVal) { extend(ret, childVal); }
  25051. return ret
  25052. };
  25053. strats.provide = mergeDataOrFn;
  25054. /**
  25055. * Default strategy.
  25056. */
  25057. var defaultStrat = function (parentVal, childVal) {
  25058. return childVal === undefined
  25059. ? parentVal
  25060. : childVal
  25061. };
  25062. /**
  25063. * Validate component names
  25064. */
  25065. function checkComponents (options) {
  25066. for (var key in options.components) {
  25067. validateComponentName(key);
  25068. }
  25069. }
  25070. function validateComponentName (name) {
  25071. if (!new RegExp(("^[a-zA-Z][\\-\\.0-9_" + (unicodeRegExp.source) + "]*$")).test(name)) {
  25072. warn(
  25073. 'Invalid component name: "' + name + '". Component names ' +
  25074. 'should conform to valid custom element name in html5 specification.'
  25075. );
  25076. }
  25077. if (isBuiltInTag(name) || config.isReservedTag(name)) {
  25078. warn(
  25079. 'Do not use built-in or reserved HTML elements as component ' +
  25080. 'id: ' + name
  25081. );
  25082. }
  25083. }
  25084. /**
  25085. * Ensure all props option syntax are normalized into the
  25086. * Object-based format.
  25087. */
  25088. function normalizeProps (options, vm) {
  25089. var props = options.props;
  25090. if (!props) { return }
  25091. var res = {};
  25092. var i, val, name;
  25093. if (Array.isArray(props)) {
  25094. i = props.length;
  25095. while (i--) {
  25096. val = props[i];
  25097. if (typeof val === 'string') {
  25098. name = camelize(val);
  25099. res[name] = { type: null };
  25100. } else if (true) {
  25101. warn('props must be strings when using array syntax.');
  25102. }
  25103. }
  25104. } else if (isPlainObject(props)) {
  25105. for (var key in props) {
  25106. val = props[key];
  25107. name = camelize(key);
  25108. res[name] = isPlainObject(val)
  25109. ? val
  25110. : { type: val };
  25111. }
  25112. } else if (true) {
  25113. warn(
  25114. "Invalid value for option \"props\": expected an Array or an Object, " +
  25115. "but got " + (toRawType(props)) + ".",
  25116. vm
  25117. );
  25118. }
  25119. options.props = res;
  25120. }
  25121. /**
  25122. * Normalize all injections into Object-based format
  25123. */
  25124. function normalizeInject (options, vm) {
  25125. var inject = options.inject;
  25126. if (!inject) { return }
  25127. var normalized = options.inject = {};
  25128. if (Array.isArray(inject)) {
  25129. for (var i = 0; i < inject.length; i++) {
  25130. normalized[inject[i]] = { from: inject[i] };
  25131. }
  25132. } else if (isPlainObject(inject)) {
  25133. for (var key in inject) {
  25134. var val = inject[key];
  25135. normalized[key] = isPlainObject(val)
  25136. ? extend({ from: key }, val)
  25137. : { from: val };
  25138. }
  25139. } else if (true) {
  25140. warn(
  25141. "Invalid value for option \"inject\": expected an Array or an Object, " +
  25142. "but got " + (toRawType(inject)) + ".",
  25143. vm
  25144. );
  25145. }
  25146. }
  25147. /**
  25148. * Normalize raw function directives into object format.
  25149. */
  25150. function normalizeDirectives (options) {
  25151. var dirs = options.directives;
  25152. if (dirs) {
  25153. for (var key in dirs) {
  25154. var def$$1 = dirs[key];
  25155. if (typeof def$$1 === 'function') {
  25156. dirs[key] = { bind: def$$1, update: def$$1 };
  25157. }
  25158. }
  25159. }
  25160. }
  25161. function assertObjectType (name, value, vm) {
  25162. if (!isPlainObject(value)) {
  25163. warn(
  25164. "Invalid value for option \"" + name + "\": expected an Object, " +
  25165. "but got " + (toRawType(value)) + ".",
  25166. vm
  25167. );
  25168. }
  25169. }
  25170. /**
  25171. * Merge two option objects into a new one.
  25172. * Core utility used in both instantiation and inheritance.
  25173. */
  25174. function mergeOptions (
  25175. parent,
  25176. child,
  25177. vm
  25178. ) {
  25179. if (true) {
  25180. checkComponents(child);
  25181. }
  25182. if (typeof child === 'function') {
  25183. child = child.options;
  25184. }
  25185. normalizeProps(child, vm);
  25186. normalizeInject(child, vm);
  25187. normalizeDirectives(child);
  25188. // Apply extends and mixins on the child options,
  25189. // but only if it is a raw options object that isn't
  25190. // the result of another mergeOptions call.
  25191. // Only merged options has the _base property.
  25192. if (!child._base) {
  25193. if (child.extends) {
  25194. parent = mergeOptions(parent, child.extends, vm);
  25195. }
  25196. if (child.mixins) {
  25197. for (var i = 0, l = child.mixins.length; i < l; i++) {
  25198. parent = mergeOptions(parent, child.mixins[i], vm);
  25199. }
  25200. }
  25201. }
  25202. var options = {};
  25203. var key;
  25204. for (key in parent) {
  25205. mergeField(key);
  25206. }
  25207. for (key in child) {
  25208. if (!hasOwn(parent, key)) {
  25209. mergeField(key);
  25210. }
  25211. }
  25212. function mergeField (key) {
  25213. var strat = strats[key] || defaultStrat;
  25214. options[key] = strat(parent[key], child[key], vm, key);
  25215. }
  25216. return options
  25217. }
  25218. /**
  25219. * Resolve an asset.
  25220. * This function is used because child instances need access
  25221. * to assets defined in its ancestor chain.
  25222. */
  25223. function resolveAsset (
  25224. options,
  25225. type,
  25226. id,
  25227. warnMissing
  25228. ) {
  25229. /* istanbul ignore if */
  25230. if (typeof id !== 'string') {
  25231. return
  25232. }
  25233. var assets = options[type];
  25234. // check local registration variations first
  25235. if (hasOwn(assets, id)) { return assets[id] }
  25236. var camelizedId = camelize(id);
  25237. if (hasOwn(assets, camelizedId)) { return assets[camelizedId] }
  25238. var PascalCaseId = capitalize(camelizedId);
  25239. if (hasOwn(assets, PascalCaseId)) { return assets[PascalCaseId] }
  25240. // fallback to prototype chain
  25241. var res = assets[id] || assets[camelizedId] || assets[PascalCaseId];
  25242. if ( true && warnMissing && !res) {
  25243. warn(
  25244. 'Failed to resolve ' + type.slice(0, -1) + ': ' + id,
  25245. options
  25246. );
  25247. }
  25248. return res
  25249. }
  25250. /* */
  25251. function validateProp (
  25252. key,
  25253. propOptions,
  25254. propsData,
  25255. vm
  25256. ) {
  25257. var prop = propOptions[key];
  25258. var absent = !hasOwn(propsData, key);
  25259. var value = propsData[key];
  25260. // boolean casting
  25261. var booleanIndex = getTypeIndex(Boolean, prop.type);
  25262. if (booleanIndex > -1) {
  25263. if (absent && !hasOwn(prop, 'default')) {
  25264. value = false;
  25265. } else if (value === '' || value === hyphenate(key)) {
  25266. // only cast empty string / same name to boolean if
  25267. // boolean has higher priority
  25268. var stringIndex = getTypeIndex(String, prop.type);
  25269. if (stringIndex < 0 || booleanIndex < stringIndex) {
  25270. value = true;
  25271. }
  25272. }
  25273. }
  25274. // check default value
  25275. if (value === undefined) {
  25276. value = getPropDefaultValue(vm, prop, key);
  25277. // since the default value is a fresh copy,
  25278. // make sure to observe it.
  25279. var prevShouldObserve = shouldObserve;
  25280. toggleObserving(true);
  25281. observe(value);
  25282. toggleObserving(prevShouldObserve);
  25283. }
  25284. if (
  25285. true
  25286. ) {
  25287. assertProp(prop, key, value, vm, absent);
  25288. }
  25289. return value
  25290. }
  25291. /**
  25292. * Get the default value of a prop.
  25293. */
  25294. function getPropDefaultValue (vm, prop, key) {
  25295. // no default, return undefined
  25296. if (!hasOwn(prop, 'default')) {
  25297. return undefined
  25298. }
  25299. var def = prop.default;
  25300. // warn against non-factory defaults for Object & Array
  25301. if ( true && isObject(def)) {
  25302. warn(
  25303. 'Invalid default value for prop "' + key + '": ' +
  25304. 'Props with type Object/Array must use a factory function ' +
  25305. 'to return the default value.',
  25306. vm
  25307. );
  25308. }
  25309. // the raw prop value was also undefined from previous render,
  25310. // return previous default value to avoid unnecessary watcher trigger
  25311. if (vm && vm.$options.propsData &&
  25312. vm.$options.propsData[key] === undefined &&
  25313. vm._props[key] !== undefined
  25314. ) {
  25315. return vm._props[key]
  25316. }
  25317. // call factory function for non-Function types
  25318. // a value is Function if its prototype is function even across different execution context
  25319. return typeof def === 'function' && getType(prop.type) !== 'Function'
  25320. ? def.call(vm)
  25321. : def
  25322. }
  25323. /**
  25324. * Assert whether a prop is valid.
  25325. */
  25326. function assertProp (
  25327. prop,
  25328. name,
  25329. value,
  25330. vm,
  25331. absent
  25332. ) {
  25333. if (prop.required && absent) {
  25334. warn(
  25335. 'Missing required prop: "' + name + '"',
  25336. vm
  25337. );
  25338. return
  25339. }
  25340. if (value == null && !prop.required) {
  25341. return
  25342. }
  25343. var type = prop.type;
  25344. var valid = !type || type === true;
  25345. var expectedTypes = [];
  25346. if (type) {
  25347. if (!Array.isArray(type)) {
  25348. type = [type];
  25349. }
  25350. for (var i = 0; i < type.length && !valid; i++) {
  25351. var assertedType = assertType(value, type[i]);
  25352. expectedTypes.push(assertedType.expectedType || '');
  25353. valid = assertedType.valid;
  25354. }
  25355. }
  25356. if (!valid) {
  25357. warn(
  25358. getInvalidTypeMessage(name, value, expectedTypes),
  25359. vm
  25360. );
  25361. return
  25362. }
  25363. var validator = prop.validator;
  25364. if (validator) {
  25365. if (!validator(value)) {
  25366. warn(
  25367. 'Invalid prop: custom validator check failed for prop "' + name + '".',
  25368. vm
  25369. );
  25370. }
  25371. }
  25372. }
  25373. var simpleCheckRE = /^(String|Number|Boolean|Function|Symbol)$/;
  25374. function assertType (value, type) {
  25375. var valid;
  25376. var expectedType = getType(type);
  25377. if (simpleCheckRE.test(expectedType)) {
  25378. var t = typeof value;
  25379. valid = t === expectedType.toLowerCase();
  25380. // for primitive wrapper objects
  25381. if (!valid && t === 'object') {
  25382. valid = value instanceof type;
  25383. }
  25384. } else if (expectedType === 'Object') {
  25385. valid = isPlainObject(value);
  25386. } else if (expectedType === 'Array') {
  25387. valid = Array.isArray(value);
  25388. } else {
  25389. valid = value instanceof type;
  25390. }
  25391. return {
  25392. valid: valid,
  25393. expectedType: expectedType
  25394. }
  25395. }
  25396. /**
  25397. * Use function string name to check built-in types,
  25398. * because a simple equality check will fail when running
  25399. * across different vms / iframes.
  25400. */
  25401. function getType (fn) {
  25402. var match = fn && fn.toString().match(/^\s*function (\w+)/);
  25403. return match ? match[1] : ''
  25404. }
  25405. function isSameType (a, b) {
  25406. return getType(a) === getType(b)
  25407. }
  25408. function getTypeIndex (type, expectedTypes) {
  25409. if (!Array.isArray(expectedTypes)) {
  25410. return isSameType(expectedTypes, type) ? 0 : -1
  25411. }
  25412. for (var i = 0, len = expectedTypes.length; i < len; i++) {
  25413. if (isSameType(expectedTypes[i], type)) {
  25414. return i
  25415. }
  25416. }
  25417. return -1
  25418. }
  25419. function getInvalidTypeMessage (name, value, expectedTypes) {
  25420. var message = "Invalid prop: type check failed for prop \"" + name + "\"." +
  25421. " Expected " + (expectedTypes.map(capitalize).join(', '));
  25422. var expectedType = expectedTypes[0];
  25423. var receivedType = toRawType(value);
  25424. var expectedValue = styleValue(value, expectedType);
  25425. var receivedValue = styleValue(value, receivedType);
  25426. // check if we need to specify expected value
  25427. if (expectedTypes.length === 1 &&
  25428. isExplicable(expectedType) &&
  25429. !isBoolean(expectedType, receivedType)) {
  25430. message += " with value " + expectedValue;
  25431. }
  25432. message += ", got " + receivedType + " ";
  25433. // check if we need to specify received value
  25434. if (isExplicable(receivedType)) {
  25435. message += "with value " + receivedValue + ".";
  25436. }
  25437. return message
  25438. }
  25439. function styleValue (value, type) {
  25440. if (type === 'String') {
  25441. return ("\"" + value + "\"")
  25442. } else if (type === 'Number') {
  25443. return ("" + (Number(value)))
  25444. } else {
  25445. return ("" + value)
  25446. }
  25447. }
  25448. function isExplicable (value) {
  25449. var explicitTypes = ['string', 'number', 'boolean'];
  25450. return explicitTypes.some(function (elem) { return value.toLowerCase() === elem; })
  25451. }
  25452. function isBoolean () {
  25453. var args = [], len = arguments.length;
  25454. while ( len-- ) args[ len ] = arguments[ len ];
  25455. return args.some(function (elem) { return elem.toLowerCase() === 'boolean'; })
  25456. }
  25457. /* */
  25458. function handleError (err, vm, info) {
  25459. // Deactivate deps tracking while processing error handler to avoid possible infinite rendering.
  25460. // See: https://github.com/vuejs/vuex/issues/1505
  25461. pushTarget();
  25462. try {
  25463. if (vm) {
  25464. var cur = vm;
  25465. while ((cur = cur.$parent)) {
  25466. var hooks = cur.$options.errorCaptured;
  25467. if (hooks) {
  25468. for (var i = 0; i < hooks.length; i++) {
  25469. try {
  25470. var capture = hooks[i].call(cur, err, vm, info) === false;
  25471. if (capture) { return }
  25472. } catch (e) {
  25473. globalHandleError(e, cur, 'errorCaptured hook');
  25474. }
  25475. }
  25476. }
  25477. }
  25478. }
  25479. globalHandleError(err, vm, info);
  25480. } finally {
  25481. popTarget();
  25482. }
  25483. }
  25484. function invokeWithErrorHandling (
  25485. handler,
  25486. context,
  25487. args,
  25488. vm,
  25489. info
  25490. ) {
  25491. var res;
  25492. try {
  25493. res = args ? handler.apply(context, args) : handler.call(context);
  25494. if (res && !res._isVue && isPromise(res) && !res._handled) {
  25495. res.catch(function (e) { return handleError(e, vm, info + " (Promise/async)"); });
  25496. // issue #9511
  25497. // avoid catch triggering multiple times when nested calls
  25498. res._handled = true;
  25499. }
  25500. } catch (e) {
  25501. handleError(e, vm, info);
  25502. }
  25503. return res
  25504. }
  25505. function globalHandleError (err, vm, info) {
  25506. if (config.errorHandler) {
  25507. try {
  25508. return config.errorHandler.call(null, err, vm, info)
  25509. } catch (e) {
  25510. // if the user intentionally throws the original error in the handler,
  25511. // do not log it twice
  25512. if (e !== err) {
  25513. logError(e, null, 'config.errorHandler');
  25514. }
  25515. }
  25516. }
  25517. logError(err, vm, info);
  25518. }
  25519. function logError (err, vm, info) {
  25520. if (true) {
  25521. warn(("Error in " + info + ": \"" + (err.toString()) + "\""), vm);
  25522. }
  25523. /* istanbul ignore else */
  25524. if ((inBrowser || inWeex) && typeof console !== 'undefined') {
  25525. console.error(err);
  25526. } else {
  25527. throw err
  25528. }
  25529. }
  25530. /* */
  25531. var callbacks = [];
  25532. var pending = false;
  25533. function flushCallbacks () {
  25534. pending = false;
  25535. var copies = callbacks.slice(0);
  25536. callbacks.length = 0;
  25537. for (var i = 0; i < copies.length; i++) {
  25538. copies[i]();
  25539. }
  25540. }
  25541. // Here we have async deferring wrappers using microtasks.
  25542. // In 2.5 we used (macro) tasks (in combination with microtasks).
  25543. // However, it has subtle problems when state is changed right before repaint
  25544. // (e.g. #6813, out-in transitions).
  25545. // Also, using (macro) tasks in event handler would cause some weird behaviors
  25546. // that cannot be circumvented (e.g. #7109, #7153, #7546, #7834, #8109).
  25547. // So we now use microtasks everywhere, again.
  25548. // A major drawback of this tradeoff is that there are some scenarios
  25549. // where microtasks have too high a priority and fire in between supposedly
  25550. // sequential events (e.g. #4521, #6690, which have workarounds)
  25551. // or even between bubbling of the same event (#6566).
  25552. var timerFunc;
  25553. // The nextTick behavior leverages the microtask queue, which can be accessed
  25554. // via either native Promise.then or MutationObserver.
  25555. // MutationObserver has wider support, however it is seriously bugged in
  25556. // UIWebView in iOS >= 9.3.3 when triggered in touch event handlers. It
  25557. // completely stops working after triggering a few times... so, if native
  25558. // Promise is available, we will use it:
  25559. /* istanbul ignore next, $flow-disable-line */
  25560. if (typeof Promise !== 'undefined' && isNative(Promise)) {
  25561. var p = Promise.resolve();
  25562. timerFunc = function () {
  25563. p.then(flushCallbacks);
  25564. // In problematic UIWebViews, Promise.then doesn't completely break, but
  25565. // it can get stuck in a weird state where callbacks are pushed into the
  25566. // microtask queue but the queue isn't being flushed, until the browser
  25567. // needs to do some other work, e.g. handle a timer. Therefore we can
  25568. // "force" the microtask queue to be flushed by adding an empty timer.
  25569. if (isIOS) { setTimeout(noop); }
  25570. };
  25571. } else if (!isIE && typeof MutationObserver !== 'undefined' && (
  25572. isNative(MutationObserver) ||
  25573. // PhantomJS and iOS 7.x
  25574. MutationObserver.toString() === '[object MutationObserverConstructor]'
  25575. )) {
  25576. // Use MutationObserver where native Promise is not available,
  25577. // e.g. PhantomJS, iOS7, Android 4.4
  25578. // (#6466 MutationObserver is unreliable in IE11)
  25579. var counter = 1;
  25580. var observer = new MutationObserver(flushCallbacks);
  25581. var textNode = document.createTextNode(String(counter));
  25582. observer.observe(textNode, {
  25583. characterData: true
  25584. });
  25585. timerFunc = function () {
  25586. counter = (counter + 1) % 2;
  25587. textNode.data = String(counter);
  25588. };
  25589. } else if (typeof setImmediate !== 'undefined' && isNative(setImmediate)) {
  25590. // Fallback to setImmediate.
  25591. // Technically it leverages the (macro) task queue,
  25592. // but it is still a better choice than setTimeout.
  25593. timerFunc = function () {
  25594. setImmediate(flushCallbacks);
  25595. };
  25596. } else {
  25597. // Fallback to setTimeout.
  25598. timerFunc = function () {
  25599. setTimeout(flushCallbacks, 0);
  25600. };
  25601. }
  25602. function nextTick (cb, ctx) {
  25603. var _resolve;
  25604. callbacks.push(function () {
  25605. if (cb) {
  25606. try {
  25607. cb.call(ctx);
  25608. } catch (e) {
  25609. handleError(e, ctx, 'nextTick');
  25610. }
  25611. } else if (_resolve) {
  25612. _resolve(ctx);
  25613. }
  25614. });
  25615. if (!pending) {
  25616. pending = true;
  25617. timerFunc();
  25618. }
  25619. // $flow-disable-line
  25620. if (!cb && typeof Promise !== 'undefined') {
  25621. return new Promise(function (resolve) {
  25622. _resolve = resolve;
  25623. })
  25624. }
  25625. }
  25626. /* */
  25627. /* not type checking this file because flow doesn't play well with Proxy */
  25628. var initProxy;
  25629. if (true) {
  25630. var allowedGlobals = makeMap(
  25631. 'Infinity,undefined,NaN,isFinite,isNaN,' +
  25632. 'parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,' +
  25633. 'Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,' +
  25634. 'require' // for Webpack/Browserify
  25635. );
  25636. var warnNonPresent = function (target, key) {
  25637. warn(
  25638. "Property or method \"" + key + "\" is not defined on the instance but " +
  25639. 'referenced during render. Make sure that this property is reactive, ' +
  25640. 'either in the data option, or for class-based components, by ' +
  25641. 'initializing the property. ' +
  25642. 'See: https://vuejs.org/v2/guide/reactivity.html#Declaring-Reactive-Properties.',
  25643. target
  25644. );
  25645. };
  25646. var warnReservedPrefix = function (target, key) {
  25647. warn(
  25648. "Property \"" + key + "\" must be accessed with \"$data." + key + "\" because " +
  25649. 'properties starting with "$" or "_" are not proxied in the Vue instance to ' +
  25650. 'prevent conflicts with Vue internals. ' +
  25651. 'See: https://vuejs.org/v2/api/#data',
  25652. target
  25653. );
  25654. };
  25655. var hasProxy =
  25656. typeof Proxy !== 'undefined' && isNative(Proxy);
  25657. if (hasProxy) {
  25658. var isBuiltInModifier = makeMap('stop,prevent,self,ctrl,shift,alt,meta,exact');
  25659. config.keyCodes = new Proxy(config.keyCodes, {
  25660. set: function set (target, key, value) {
  25661. if (isBuiltInModifier(key)) {
  25662. warn(("Avoid overwriting built-in modifier in config.keyCodes: ." + key));
  25663. return false
  25664. } else {
  25665. target[key] = value;
  25666. return true
  25667. }
  25668. }
  25669. });
  25670. }
  25671. var hasHandler = {
  25672. has: function has (target, key) {
  25673. var has = key in target;
  25674. var isAllowed = allowedGlobals(key) ||
  25675. (typeof key === 'string' && key.charAt(0) === '_' && !(key in target.$data));
  25676. if (!has && !isAllowed) {
  25677. if (key in target.$data) { warnReservedPrefix(target, key); }
  25678. else { warnNonPresent(target, key); }
  25679. }
  25680. return has || !isAllowed
  25681. }
  25682. };
  25683. var getHandler = {
  25684. get: function get (target, key) {
  25685. if (typeof key === 'string' && !(key in target)) {
  25686. if (key in target.$data) { warnReservedPrefix(target, key); }
  25687. else { warnNonPresent(target, key); }
  25688. }
  25689. return target[key]
  25690. }
  25691. };
  25692. initProxy = function initProxy (vm) {
  25693. if (hasProxy) {
  25694. // determine which proxy handler to use
  25695. var options = vm.$options;
  25696. var handlers = options.render && options.render._withStripped
  25697. ? getHandler
  25698. : hasHandler;
  25699. vm._renderProxy = new Proxy(vm, handlers);
  25700. } else {
  25701. vm._renderProxy = vm;
  25702. }
  25703. };
  25704. }
  25705. /* */
  25706. var seenObjects = new _Set();
  25707. /**
  25708. * Recursively traverse an object to evoke all converted
  25709. * getters, so that every nested property inside the object
  25710. * is collected as a "deep" dependency.
  25711. */
  25712. function traverse (val) {
  25713. _traverse(val, seenObjects);
  25714. seenObjects.clear();
  25715. }
  25716. function _traverse (val, seen) {
  25717. var i, keys;
  25718. var isA = Array.isArray(val);
  25719. if ((!isA && !isObject(val)) || Object.isFrozen(val) || val instanceof VNode) {
  25720. return
  25721. }
  25722. if (val.__ob__) {
  25723. var depId = val.__ob__.dep.id;
  25724. if (seen.has(depId)) {
  25725. return
  25726. }
  25727. seen.add(depId);
  25728. }
  25729. if (isA) {
  25730. i = val.length;
  25731. while (i--) { _traverse(val[i], seen); }
  25732. } else {
  25733. keys = Object.keys(val);
  25734. i = keys.length;
  25735. while (i--) { _traverse(val[keys[i]], seen); }
  25736. }
  25737. }
  25738. var mark;
  25739. var measure;
  25740. if (true) {
  25741. var perf = inBrowser && window.performance;
  25742. /* istanbul ignore if */
  25743. if (
  25744. perf &&
  25745. perf.mark &&
  25746. perf.measure &&
  25747. perf.clearMarks &&
  25748. perf.clearMeasures
  25749. ) {
  25750. mark = function (tag) { return perf.mark(tag); };
  25751. measure = function (name, startTag, endTag) {
  25752. perf.measure(name, startTag, endTag);
  25753. perf.clearMarks(startTag);
  25754. perf.clearMarks(endTag);
  25755. // perf.clearMeasures(name)
  25756. };
  25757. }
  25758. }
  25759. /* */
  25760. var normalizeEvent = cached(function (name) {
  25761. var passive = name.charAt(0) === '&';
  25762. name = passive ? name.slice(1) : name;
  25763. var once$$1 = name.charAt(0) === '~'; // Prefixed last, checked first
  25764. name = once$$1 ? name.slice(1) : name;
  25765. var capture = name.charAt(0) === '!';
  25766. name = capture ? name.slice(1) : name;
  25767. return {
  25768. name: name,
  25769. once: once$$1,
  25770. capture: capture,
  25771. passive: passive
  25772. }
  25773. });
  25774. function createFnInvoker (fns, vm) {
  25775. function invoker () {
  25776. var arguments$1 = arguments;
  25777. var fns = invoker.fns;
  25778. if (Array.isArray(fns)) {
  25779. var cloned = fns.slice();
  25780. for (var i = 0; i < cloned.length; i++) {
  25781. invokeWithErrorHandling(cloned[i], null, arguments$1, vm, "v-on handler");
  25782. }
  25783. } else {
  25784. // return handler return value for single handlers
  25785. return invokeWithErrorHandling(fns, null, arguments, vm, "v-on handler")
  25786. }
  25787. }
  25788. invoker.fns = fns;
  25789. return invoker
  25790. }
  25791. function updateListeners (
  25792. on,
  25793. oldOn,
  25794. add,
  25795. remove$$1,
  25796. createOnceHandler,
  25797. vm
  25798. ) {
  25799. var name, def$$1, cur, old, event;
  25800. for (name in on) {
  25801. def$$1 = cur = on[name];
  25802. old = oldOn[name];
  25803. event = normalizeEvent(name);
  25804. if (isUndef(cur)) {
  25805. true && warn(
  25806. "Invalid handler for event \"" + (event.name) + "\": got " + String(cur),
  25807. vm
  25808. );
  25809. } else if (isUndef(old)) {
  25810. if (isUndef(cur.fns)) {
  25811. cur = on[name] = createFnInvoker(cur, vm);
  25812. }
  25813. if (isTrue(event.once)) {
  25814. cur = on[name] = createOnceHandler(event.name, cur, event.capture);
  25815. }
  25816. add(event.name, cur, event.capture, event.passive, event.params);
  25817. } else if (cur !== old) {
  25818. old.fns = cur;
  25819. on[name] = old;
  25820. }
  25821. }
  25822. for (name in oldOn) {
  25823. if (isUndef(on[name])) {
  25824. event = normalizeEvent(name);
  25825. remove$$1(event.name, oldOn[name], event.capture);
  25826. }
  25827. }
  25828. }
  25829. /* */
  25830. /* */
  25831. // fixed by xxxxxx (mp properties)
  25832. function extractPropertiesFromVNodeData(data, Ctor, res, context) {
  25833. var propOptions = Ctor.options.mpOptions && Ctor.options.mpOptions.properties;
  25834. if (isUndef(propOptions)) {
  25835. return res
  25836. }
  25837. var externalClasses = Ctor.options.mpOptions.externalClasses || [];
  25838. var attrs = data.attrs;
  25839. var props = data.props;
  25840. if (isDef(attrs) || isDef(props)) {
  25841. for (var key in propOptions) {
  25842. var altKey = hyphenate(key);
  25843. var result = checkProp(res, props, key, altKey, true) ||
  25844. checkProp(res, attrs, key, altKey, false);
  25845. // externalClass
  25846. if (
  25847. result &&
  25848. res[key] &&
  25849. externalClasses.indexOf(altKey) !== -1 &&
  25850. context[camelize(res[key])]
  25851. ) {
  25852. // 赋值 externalClass 真正的值(模板里 externalClass 的值可能是字符串)
  25853. res[key] = context[camelize(res[key])];
  25854. }
  25855. }
  25856. }
  25857. return res
  25858. }
  25859. function extractPropsFromVNodeData (
  25860. data,
  25861. Ctor,
  25862. tag,
  25863. context// fixed by xxxxxx
  25864. ) {
  25865. // we are only extracting raw values here.
  25866. // validation and default values are handled in the child
  25867. // component itself.
  25868. var propOptions = Ctor.options.props;
  25869. if (isUndef(propOptions)) {
  25870. // fixed by xxxxxx
  25871. return extractPropertiesFromVNodeData(data, Ctor, {}, context)
  25872. }
  25873. var res = {};
  25874. var attrs = data.attrs;
  25875. var props = data.props;
  25876. if (isDef(attrs) || isDef(props)) {
  25877. for (var key in propOptions) {
  25878. var altKey = hyphenate(key);
  25879. if (true) {
  25880. var keyInLowerCase = key.toLowerCase();
  25881. if (
  25882. key !== keyInLowerCase &&
  25883. attrs && hasOwn(attrs, keyInLowerCase)
  25884. ) {
  25885. tip(
  25886. "Prop \"" + keyInLowerCase + "\" is passed to component " +
  25887. (formatComponentName(tag || Ctor)) + ", but the declared prop name is" +
  25888. " \"" + key + "\". " +
  25889. "Note that HTML attributes are case-insensitive and camelCased " +
  25890. "props need to use their kebab-case equivalents when using in-DOM " +
  25891. "templates. You should probably use \"" + altKey + "\" instead of \"" + key + "\"."
  25892. );
  25893. }
  25894. }
  25895. checkProp(res, props, key, altKey, true) ||
  25896. checkProp(res, attrs, key, altKey, false);
  25897. }
  25898. }
  25899. // fixed by xxxxxx
  25900. return extractPropertiesFromVNodeData(data, Ctor, res, context)
  25901. }
  25902. function checkProp (
  25903. res,
  25904. hash,
  25905. key,
  25906. altKey,
  25907. preserve
  25908. ) {
  25909. if (isDef(hash)) {
  25910. if (hasOwn(hash, key)) {
  25911. res[key] = hash[key];
  25912. if (!preserve) {
  25913. delete hash[key];
  25914. }
  25915. return true
  25916. } else if (hasOwn(hash, altKey)) {
  25917. res[key] = hash[altKey];
  25918. if (!preserve) {
  25919. delete hash[altKey];
  25920. }
  25921. return true
  25922. }
  25923. }
  25924. return false
  25925. }
  25926. /* */
  25927. // The template compiler attempts to minimize the need for normalization by
  25928. // statically analyzing the template at compile time.
  25929. //
  25930. // For plain HTML markup, normalization can be completely skipped because the
  25931. // generated render function is guaranteed to return Array<VNode>. There are
  25932. // two cases where extra normalization is needed:
  25933. // 1. When the children contains components - because a functional component
  25934. // may return an Array instead of a single root. In this case, just a simple
  25935. // normalization is needed - if any child is an Array, we flatten the whole
  25936. // thing with Array.prototype.concat. It is guaranteed to be only 1-level deep
  25937. // because functional components already normalize their own children.
  25938. function simpleNormalizeChildren (children) {
  25939. for (var i = 0; i < children.length; i++) {
  25940. if (Array.isArray(children[i])) {
  25941. return Array.prototype.concat.apply([], children)
  25942. }
  25943. }
  25944. return children
  25945. }
  25946. // 2. When the children contains constructs that always generated nested Arrays,
  25947. // e.g. <template>, <slot>, v-for, or when the children is provided by user
  25948. // with hand-written render functions / JSX. In such cases a full normalization
  25949. // is needed to cater to all possible types of children values.
  25950. function normalizeChildren (children) {
  25951. return isPrimitive(children)
  25952. ? [createTextVNode(children)]
  25953. : Array.isArray(children)
  25954. ? normalizeArrayChildren(children)
  25955. : undefined
  25956. }
  25957. function isTextNode (node) {
  25958. return isDef(node) && isDef(node.text) && isFalse(node.isComment)
  25959. }
  25960. function normalizeArrayChildren (children, nestedIndex) {
  25961. var res = [];
  25962. var i, c, lastIndex, last;
  25963. for (i = 0; i < children.length; i++) {
  25964. c = children[i];
  25965. if (isUndef(c) || typeof c === 'boolean') { continue }
  25966. lastIndex = res.length - 1;
  25967. last = res[lastIndex];
  25968. // nested
  25969. if (Array.isArray(c)) {
  25970. if (c.length > 0) {
  25971. c = normalizeArrayChildren(c, ((nestedIndex || '') + "_" + i));
  25972. // merge adjacent text nodes
  25973. if (isTextNode(c[0]) && isTextNode(last)) {
  25974. res[lastIndex] = createTextVNode(last.text + (c[0]).text);
  25975. c.shift();
  25976. }
  25977. res.push.apply(res, c);
  25978. }
  25979. } else if (isPrimitive(c)) {
  25980. if (isTextNode(last)) {
  25981. // merge adjacent text nodes
  25982. // this is necessary for SSR hydration because text nodes are
  25983. // essentially merged when rendered to HTML strings
  25984. res[lastIndex] = createTextVNode(last.text + c);
  25985. } else if (c !== '') {
  25986. // convert primitive to vnode
  25987. res.push(createTextVNode(c));
  25988. }
  25989. } else {
  25990. if (isTextNode(c) && isTextNode(last)) {
  25991. // merge adjacent text nodes
  25992. res[lastIndex] = createTextVNode(last.text + c.text);
  25993. } else {
  25994. // default key for nested array children (likely generated by v-for)
  25995. if (isTrue(children._isVList) &&
  25996. isDef(c.tag) &&
  25997. isUndef(c.key) &&
  25998. isDef(nestedIndex)) {
  25999. c.key = "__vlist" + nestedIndex + "_" + i + "__";
  26000. }
  26001. res.push(c);
  26002. }
  26003. }
  26004. }
  26005. return res
  26006. }
  26007. /* */
  26008. function initProvide (vm) {
  26009. var provide = vm.$options.provide;
  26010. if (provide) {
  26011. vm._provided = typeof provide === 'function'
  26012. ? provide.call(vm)
  26013. : provide;
  26014. }
  26015. }
  26016. function initInjections (vm) {
  26017. var result = resolveInject(vm.$options.inject, vm);
  26018. if (result) {
  26019. toggleObserving(false);
  26020. Object.keys(result).forEach(function (key) {
  26021. /* istanbul ignore else */
  26022. if (true) {
  26023. defineReactive$$1(vm, key, result[key], function () {
  26024. warn(
  26025. "Avoid mutating an injected value directly since the changes will be " +
  26026. "overwritten whenever the provided component re-renders. " +
  26027. "injection being mutated: \"" + key + "\"",
  26028. vm
  26029. );
  26030. });
  26031. } else {}
  26032. });
  26033. toggleObserving(true);
  26034. }
  26035. }
  26036. function resolveInject (inject, vm) {
  26037. if (inject) {
  26038. // inject is :any because flow is not smart enough to figure out cached
  26039. var result = Object.create(null);
  26040. var keys = hasSymbol
  26041. ? Reflect.ownKeys(inject)
  26042. : Object.keys(inject);
  26043. for (var i = 0; i < keys.length; i++) {
  26044. var key = keys[i];
  26045. // #6574 in case the inject object is observed...
  26046. if (key === '__ob__') { continue }
  26047. var provideKey = inject[key].from;
  26048. var source = vm;
  26049. while (source) {
  26050. if (source._provided && hasOwn(source._provided, provideKey)) {
  26051. result[key] = source._provided[provideKey];
  26052. break
  26053. }
  26054. source = source.$parent;
  26055. }
  26056. if (!source) {
  26057. if ('default' in inject[key]) {
  26058. var provideDefault = inject[key].default;
  26059. result[key] = typeof provideDefault === 'function'
  26060. ? provideDefault.call(vm)
  26061. : provideDefault;
  26062. } else if (true) {
  26063. warn(("Injection \"" + key + "\" not found"), vm);
  26064. }
  26065. }
  26066. }
  26067. return result
  26068. }
  26069. }
  26070. /* */
  26071. /**
  26072. * Runtime helper for resolving raw children VNodes into a slot object.
  26073. */
  26074. function resolveSlots (
  26075. children,
  26076. context
  26077. ) {
  26078. if (!children || !children.length) {
  26079. return {}
  26080. }
  26081. var slots = {};
  26082. for (var i = 0, l = children.length; i < l; i++) {
  26083. var child = children[i];
  26084. var data = child.data;
  26085. // remove slot attribute if the node is resolved as a Vue slot node
  26086. if (data && data.attrs && data.attrs.slot) {
  26087. delete data.attrs.slot;
  26088. }
  26089. // named slots should only be respected if the vnode was rendered in the
  26090. // same context.
  26091. if ((child.context === context || child.fnContext === context) &&
  26092. data && data.slot != null
  26093. ) {
  26094. var name = data.slot;
  26095. var slot = (slots[name] || (slots[name] = []));
  26096. if (child.tag === 'template') {
  26097. slot.push.apply(slot, child.children || []);
  26098. } else {
  26099. slot.push(child);
  26100. }
  26101. } else {
  26102. // fixed by xxxxxx 临时 hack 掉 uni-app 中的异步 name slot page
  26103. if(child.asyncMeta && child.asyncMeta.data && child.asyncMeta.data.slot === 'page'){
  26104. (slots['page'] || (slots['page'] = [])).push(child);
  26105. }else{
  26106. (slots.default || (slots.default = [])).push(child);
  26107. }
  26108. }
  26109. }
  26110. // ignore slots that contains only whitespace
  26111. for (var name$1 in slots) {
  26112. if (slots[name$1].every(isWhitespace)) {
  26113. delete slots[name$1];
  26114. }
  26115. }
  26116. return slots
  26117. }
  26118. function isWhitespace (node) {
  26119. return (node.isComment && !node.asyncFactory) || node.text === ' '
  26120. }
  26121. /* */
  26122. function normalizeScopedSlots (
  26123. slots,
  26124. normalSlots,
  26125. prevSlots
  26126. ) {
  26127. var res;
  26128. var hasNormalSlots = Object.keys(normalSlots).length > 0;
  26129. var isStable = slots ? !!slots.$stable : !hasNormalSlots;
  26130. var key = slots && slots.$key;
  26131. if (!slots) {
  26132. res = {};
  26133. } else if (slots._normalized) {
  26134. // fast path 1: child component re-render only, parent did not change
  26135. return slots._normalized
  26136. } else if (
  26137. isStable &&
  26138. prevSlots &&
  26139. prevSlots !== emptyObject &&
  26140. key === prevSlots.$key &&
  26141. !hasNormalSlots &&
  26142. !prevSlots.$hasNormal
  26143. ) {
  26144. // fast path 2: stable scoped slots w/ no normal slots to proxy,
  26145. // only need to normalize once
  26146. return prevSlots
  26147. } else {
  26148. res = {};
  26149. for (var key$1 in slots) {
  26150. if (slots[key$1] && key$1[0] !== '$') {
  26151. res[key$1] = normalizeScopedSlot(normalSlots, key$1, slots[key$1]);
  26152. }
  26153. }
  26154. }
  26155. // expose normal slots on scopedSlots
  26156. for (var key$2 in normalSlots) {
  26157. if (!(key$2 in res)) {
  26158. res[key$2] = proxyNormalSlot(normalSlots, key$2);
  26159. }
  26160. }
  26161. // avoriaz seems to mock a non-extensible $scopedSlots object
  26162. // and when that is passed down this would cause an error
  26163. if (slots && Object.isExtensible(slots)) {
  26164. (slots)._normalized = res;
  26165. }
  26166. def(res, '$stable', isStable);
  26167. def(res, '$key', key);
  26168. def(res, '$hasNormal', hasNormalSlots);
  26169. return res
  26170. }
  26171. function normalizeScopedSlot(normalSlots, key, fn) {
  26172. var normalized = function () {
  26173. var res = arguments.length ? fn.apply(null, arguments) : fn({});
  26174. res = res && typeof res === 'object' && !Array.isArray(res)
  26175. ? [res] // single vnode
  26176. : normalizeChildren(res);
  26177. return res && (
  26178. res.length === 0 ||
  26179. (res.length === 1 && res[0].isComment) // #9658
  26180. ) ? undefined
  26181. : res
  26182. };
  26183. // this is a slot using the new v-slot syntax without scope. although it is
  26184. // compiled as a scoped slot, render fn users would expect it to be present
  26185. // on this.$slots because the usage is semantically a normal slot.
  26186. if (fn.proxy) {
  26187. Object.defineProperty(normalSlots, key, {
  26188. get: normalized,
  26189. enumerable: true,
  26190. configurable: true
  26191. });
  26192. }
  26193. return normalized
  26194. }
  26195. function proxyNormalSlot(slots, key) {
  26196. return function () { return slots[key]; }
  26197. }
  26198. /* */
  26199. /**
  26200. * Runtime helper for rendering v-for lists.
  26201. */
  26202. function renderList (
  26203. val,
  26204. render
  26205. ) {
  26206. var ret, i, l, keys, key;
  26207. if (Array.isArray(val) || typeof val === 'string') {
  26208. ret = new Array(val.length);
  26209. for (i = 0, l = val.length; i < l; i++) {
  26210. ret[i] = render(val[i], i, i, i); // fixed by xxxxxx
  26211. }
  26212. } else if (typeof val === 'number') {
  26213. ret = new Array(val);
  26214. for (i = 0; i < val; i++) {
  26215. ret[i] = render(i + 1, i, i, i); // fixed by xxxxxx
  26216. }
  26217. } else if (isObject(val)) {
  26218. if (hasSymbol && val[Symbol.iterator]) {
  26219. ret = [];
  26220. var iterator = val[Symbol.iterator]();
  26221. var result = iterator.next();
  26222. while (!result.done) {
  26223. ret.push(render(result.value, ret.length, i, i++)); // fixed by xxxxxx
  26224. result = iterator.next();
  26225. }
  26226. } else {
  26227. keys = Object.keys(val);
  26228. ret = new Array(keys.length);
  26229. for (i = 0, l = keys.length; i < l; i++) {
  26230. key = keys[i];
  26231. ret[i] = render(val[key], key, i, i); // fixed by xxxxxx
  26232. }
  26233. }
  26234. }
  26235. if (!isDef(ret)) {
  26236. ret = [];
  26237. }
  26238. (ret)._isVList = true;
  26239. return ret
  26240. }
  26241. /* */
  26242. /**
  26243. * Runtime helper for rendering <slot>
  26244. */
  26245. function renderSlot (
  26246. name,
  26247. fallback,
  26248. props,
  26249. bindObject
  26250. ) {
  26251. var scopedSlotFn = this.$scopedSlots[name];
  26252. var nodes;
  26253. if (scopedSlotFn) { // scoped slot
  26254. props = props || {};
  26255. if (bindObject) {
  26256. if ( true && !isObject(bindObject)) {
  26257. warn(
  26258. 'slot v-bind without argument expects an Object',
  26259. this
  26260. );
  26261. }
  26262. props = extend(extend({}, bindObject), props);
  26263. }
  26264. // fixed by xxxxxx app-plus scopedSlot
  26265. nodes = scopedSlotFn(props, this, props._i) || fallback;
  26266. } else {
  26267. nodes = this.$slots[name] || fallback;
  26268. }
  26269. var target = props && props.slot;
  26270. if (target) {
  26271. return this.$createElement('template', { slot: target }, nodes)
  26272. } else {
  26273. return nodes
  26274. }
  26275. }
  26276. /* */
  26277. /**
  26278. * Runtime helper for resolving filters
  26279. */
  26280. function resolveFilter (id) {
  26281. return resolveAsset(this.$options, 'filters', id, true) || identity
  26282. }
  26283. /* */
  26284. function isKeyNotMatch (expect, actual) {
  26285. if (Array.isArray(expect)) {
  26286. return expect.indexOf(actual) === -1
  26287. } else {
  26288. return expect !== actual
  26289. }
  26290. }
  26291. /**
  26292. * Runtime helper for checking keyCodes from config.
  26293. * exposed as Vue.prototype._k
  26294. * passing in eventKeyName as last argument separately for backwards compat
  26295. */
  26296. function checkKeyCodes (
  26297. eventKeyCode,
  26298. key,
  26299. builtInKeyCode,
  26300. eventKeyName,
  26301. builtInKeyName
  26302. ) {
  26303. var mappedKeyCode = config.keyCodes[key] || builtInKeyCode;
  26304. if (builtInKeyName && eventKeyName && !config.keyCodes[key]) {
  26305. return isKeyNotMatch(builtInKeyName, eventKeyName)
  26306. } else if (mappedKeyCode) {
  26307. return isKeyNotMatch(mappedKeyCode, eventKeyCode)
  26308. } else if (eventKeyName) {
  26309. return hyphenate(eventKeyName) !== key
  26310. }
  26311. }
  26312. /* */
  26313. /**
  26314. * Runtime helper for merging v-bind="object" into a VNode's data.
  26315. */
  26316. function bindObjectProps (
  26317. data,
  26318. tag,
  26319. value,
  26320. asProp,
  26321. isSync
  26322. ) {
  26323. if (value) {
  26324. if (!isObject(value)) {
  26325. true && warn(
  26326. 'v-bind without argument expects an Object or Array value',
  26327. this
  26328. );
  26329. } else {
  26330. if (Array.isArray(value)) {
  26331. value = toObject(value);
  26332. }
  26333. var hash;
  26334. var loop = function ( key ) {
  26335. if (
  26336. key === 'class' ||
  26337. key === 'style' ||
  26338. isReservedAttribute(key)
  26339. ) {
  26340. hash = data;
  26341. } else {
  26342. var type = data.attrs && data.attrs.type;
  26343. hash = asProp || config.mustUseProp(tag, type, key)
  26344. ? data.domProps || (data.domProps = {})
  26345. : data.attrs || (data.attrs = {});
  26346. }
  26347. var camelizedKey = camelize(key);
  26348. var hyphenatedKey = hyphenate(key);
  26349. if (!(camelizedKey in hash) && !(hyphenatedKey in hash)) {
  26350. hash[key] = value[key];
  26351. if (isSync) {
  26352. var on = data.on || (data.on = {});
  26353. on[("update:" + key)] = function ($event) {
  26354. value[key] = $event;
  26355. };
  26356. }
  26357. }
  26358. };
  26359. for (var key in value) loop( key );
  26360. }
  26361. }
  26362. return data
  26363. }
  26364. /* */
  26365. /**
  26366. * Runtime helper for rendering static trees.
  26367. */
  26368. function renderStatic (
  26369. index,
  26370. isInFor
  26371. ) {
  26372. var cached = this._staticTrees || (this._staticTrees = []);
  26373. var tree = cached[index];
  26374. // if has already-rendered static tree and not inside v-for,
  26375. // we can reuse the same tree.
  26376. if (tree && !isInFor) {
  26377. return tree
  26378. }
  26379. // otherwise, render a fresh tree.
  26380. tree = cached[index] = this.$options.staticRenderFns[index].call(
  26381. this._renderProxy,
  26382. null,
  26383. this // for render fns generated for functional component templates
  26384. );
  26385. markStatic(tree, ("__static__" + index), false);
  26386. return tree
  26387. }
  26388. /**
  26389. * Runtime helper for v-once.
  26390. * Effectively it means marking the node as static with a unique key.
  26391. */
  26392. function markOnce (
  26393. tree,
  26394. index,
  26395. key
  26396. ) {
  26397. markStatic(tree, ("__once__" + index + (key ? ("_" + key) : "")), true);
  26398. return tree
  26399. }
  26400. function markStatic (
  26401. tree,
  26402. key,
  26403. isOnce
  26404. ) {
  26405. if (Array.isArray(tree)) {
  26406. for (var i = 0; i < tree.length; i++) {
  26407. if (tree[i] && typeof tree[i] !== 'string') {
  26408. markStaticNode(tree[i], (key + "_" + i), isOnce);
  26409. }
  26410. }
  26411. } else {
  26412. markStaticNode(tree, key, isOnce);
  26413. }
  26414. }
  26415. function markStaticNode (node, key, isOnce) {
  26416. node.isStatic = true;
  26417. node.key = key;
  26418. node.isOnce = isOnce;
  26419. }
  26420. /* */
  26421. function bindObjectListeners (data, value) {
  26422. if (value) {
  26423. if (!isPlainObject(value)) {
  26424. true && warn(
  26425. 'v-on without argument expects an Object value',
  26426. this
  26427. );
  26428. } else {
  26429. var on = data.on = data.on ? extend({}, data.on) : {};
  26430. for (var key in value) {
  26431. var existing = on[key];
  26432. var ours = value[key];
  26433. on[key] = existing ? [].concat(existing, ours) : ours;
  26434. }
  26435. }
  26436. }
  26437. return data
  26438. }
  26439. /* */
  26440. function resolveScopedSlots (
  26441. fns, // see flow/vnode
  26442. res,
  26443. // the following are added in 2.6
  26444. hasDynamicKeys,
  26445. contentHashKey
  26446. ) {
  26447. res = res || { $stable: !hasDynamicKeys };
  26448. for (var i = 0; i < fns.length; i++) {
  26449. var slot = fns[i];
  26450. if (Array.isArray(slot)) {
  26451. resolveScopedSlots(slot, res, hasDynamicKeys);
  26452. } else if (slot) {
  26453. // marker for reverse proxying v-slot without scope on this.$slots
  26454. if (slot.proxy) {
  26455. slot.fn.proxy = true;
  26456. }
  26457. res[slot.key] = slot.fn;
  26458. }
  26459. }
  26460. if (contentHashKey) {
  26461. (res).$key = contentHashKey;
  26462. }
  26463. return res
  26464. }
  26465. /* */
  26466. function bindDynamicKeys (baseObj, values) {
  26467. for (var i = 0; i < values.length; i += 2) {
  26468. var key = values[i];
  26469. if (typeof key === 'string' && key) {
  26470. baseObj[values[i]] = values[i + 1];
  26471. } else if ( true && key !== '' && key !== null) {
  26472. // null is a special value for explicitly removing a binding
  26473. warn(
  26474. ("Invalid value for dynamic directive argument (expected string or null): " + key),
  26475. this
  26476. );
  26477. }
  26478. }
  26479. return baseObj
  26480. }
  26481. // helper to dynamically append modifier runtime markers to event names.
  26482. // ensure only append when value is already string, otherwise it will be cast
  26483. // to string and cause the type check to miss.
  26484. function prependModifier (value, symbol) {
  26485. return typeof value === 'string' ? symbol + value : value
  26486. }
  26487. /* */
  26488. function installRenderHelpers (target) {
  26489. target._o = markOnce;
  26490. target._n = toNumber;
  26491. target._s = toString;
  26492. target._l = renderList;
  26493. target._t = renderSlot;
  26494. target._q = looseEqual;
  26495. target._i = looseIndexOf;
  26496. target._m = renderStatic;
  26497. target._f = resolveFilter;
  26498. target._k = checkKeyCodes;
  26499. target._b = bindObjectProps;
  26500. target._v = createTextVNode;
  26501. target._e = createEmptyVNode;
  26502. target._u = resolveScopedSlots;
  26503. target._g = bindObjectListeners;
  26504. target._d = bindDynamicKeys;
  26505. target._p = prependModifier;
  26506. }
  26507. /* */
  26508. function FunctionalRenderContext (
  26509. data,
  26510. props,
  26511. children,
  26512. parent,
  26513. Ctor
  26514. ) {
  26515. var this$1 = this;
  26516. var options = Ctor.options;
  26517. // ensure the createElement function in functional components
  26518. // gets a unique context - this is necessary for correct named slot check
  26519. var contextVm;
  26520. if (hasOwn(parent, '_uid')) {
  26521. contextVm = Object.create(parent);
  26522. // $flow-disable-line
  26523. contextVm._original = parent;
  26524. } else {
  26525. // the context vm passed in is a functional context as well.
  26526. // in this case we want to make sure we are able to get a hold to the
  26527. // real context instance.
  26528. contextVm = parent;
  26529. // $flow-disable-line
  26530. parent = parent._original;
  26531. }
  26532. var isCompiled = isTrue(options._compiled);
  26533. var needNormalization = !isCompiled;
  26534. this.data = data;
  26535. this.props = props;
  26536. this.children = children;
  26537. this.parent = parent;
  26538. this.listeners = data.on || emptyObject;
  26539. this.injections = resolveInject(options.inject, parent);
  26540. this.slots = function () {
  26541. if (!this$1.$slots) {
  26542. normalizeScopedSlots(
  26543. data.scopedSlots,
  26544. this$1.$slots = resolveSlots(children, parent)
  26545. );
  26546. }
  26547. return this$1.$slots
  26548. };
  26549. Object.defineProperty(this, 'scopedSlots', ({
  26550. enumerable: true,
  26551. get: function get () {
  26552. return normalizeScopedSlots(data.scopedSlots, this.slots())
  26553. }
  26554. }));
  26555. // support for compiled functional template
  26556. if (isCompiled) {
  26557. // exposing $options for renderStatic()
  26558. this.$options = options;
  26559. // pre-resolve slots for renderSlot()
  26560. this.$slots = this.slots();
  26561. this.$scopedSlots = normalizeScopedSlots(data.scopedSlots, this.$slots);
  26562. }
  26563. if (options._scopeId) {
  26564. this._c = function (a, b, c, d) {
  26565. var vnode = createElement(contextVm, a, b, c, d, needNormalization);
  26566. if (vnode && !Array.isArray(vnode)) {
  26567. vnode.fnScopeId = options._scopeId;
  26568. vnode.fnContext = parent;
  26569. }
  26570. return vnode
  26571. };
  26572. } else {
  26573. this._c = function (a, b, c, d) { return createElement(contextVm, a, b, c, d, needNormalization); };
  26574. }
  26575. }
  26576. installRenderHelpers(FunctionalRenderContext.prototype);
  26577. function createFunctionalComponent (
  26578. Ctor,
  26579. propsData,
  26580. data,
  26581. contextVm,
  26582. children
  26583. ) {
  26584. var options = Ctor.options;
  26585. var props = {};
  26586. var propOptions = options.props;
  26587. if (isDef(propOptions)) {
  26588. for (var key in propOptions) {
  26589. props[key] = validateProp(key, propOptions, propsData || emptyObject);
  26590. }
  26591. } else {
  26592. if (isDef(data.attrs)) { mergeProps(props, data.attrs); }
  26593. if (isDef(data.props)) { mergeProps(props, data.props); }
  26594. }
  26595. var renderContext = new FunctionalRenderContext(
  26596. data,
  26597. props,
  26598. children,
  26599. contextVm,
  26600. Ctor
  26601. );
  26602. var vnode = options.render.call(null, renderContext._c, renderContext);
  26603. if (vnode instanceof VNode) {
  26604. return cloneAndMarkFunctionalResult(vnode, data, renderContext.parent, options, renderContext)
  26605. } else if (Array.isArray(vnode)) {
  26606. var vnodes = normalizeChildren(vnode) || [];
  26607. var res = new Array(vnodes.length);
  26608. for (var i = 0; i < vnodes.length; i++) {
  26609. res[i] = cloneAndMarkFunctionalResult(vnodes[i], data, renderContext.parent, options, renderContext);
  26610. }
  26611. return res
  26612. }
  26613. }
  26614. function cloneAndMarkFunctionalResult (vnode, data, contextVm, options, renderContext) {
  26615. // #7817 clone node before setting fnContext, otherwise if the node is reused
  26616. // (e.g. it was from a cached normal slot) the fnContext causes named slots
  26617. // that should not be matched to match.
  26618. var clone = cloneVNode(vnode);
  26619. clone.fnContext = contextVm;
  26620. clone.fnOptions = options;
  26621. if (true) {
  26622. (clone.devtoolsMeta = clone.devtoolsMeta || {}).renderContext = renderContext;
  26623. }
  26624. if (data.slot) {
  26625. (clone.data || (clone.data = {})).slot = data.slot;
  26626. }
  26627. return clone
  26628. }
  26629. function mergeProps (to, from) {
  26630. for (var key in from) {
  26631. to[camelize(key)] = from[key];
  26632. }
  26633. }
  26634. /* */
  26635. /* */
  26636. /* */
  26637. /* */
  26638. // inline hooks to be invoked on component VNodes during patch
  26639. var componentVNodeHooks = {
  26640. init: function init (vnode, hydrating) {
  26641. if (
  26642. vnode.componentInstance &&
  26643. !vnode.componentInstance._isDestroyed &&
  26644. vnode.data.keepAlive
  26645. ) {
  26646. // kept-alive components, treat as a patch
  26647. var mountedNode = vnode; // work around flow
  26648. componentVNodeHooks.prepatch(mountedNode, mountedNode);
  26649. } else {
  26650. var child = vnode.componentInstance = createComponentInstanceForVnode(
  26651. vnode,
  26652. activeInstance
  26653. );
  26654. child.$mount(hydrating ? vnode.elm : undefined, hydrating);
  26655. }
  26656. },
  26657. prepatch: function prepatch (oldVnode, vnode) {
  26658. var options = vnode.componentOptions;
  26659. var child = vnode.componentInstance = oldVnode.componentInstance;
  26660. updateChildComponent(
  26661. child,
  26662. options.propsData, // updated props
  26663. options.listeners, // updated listeners
  26664. vnode, // new parent vnode
  26665. options.children // new children
  26666. );
  26667. },
  26668. insert: function insert (vnode) {
  26669. var context = vnode.context;
  26670. var componentInstance = vnode.componentInstance;
  26671. if (!componentInstance._isMounted) {
  26672. callHook(componentInstance, 'onServiceCreated');
  26673. callHook(componentInstance, 'onServiceAttached');
  26674. componentInstance._isMounted = true;
  26675. callHook(componentInstance, 'mounted');
  26676. }
  26677. if (vnode.data.keepAlive) {
  26678. if (context._isMounted) {
  26679. // vue-router#1212
  26680. // During updates, a kept-alive component's child components may
  26681. // change, so directly walking the tree here may call activated hooks
  26682. // on incorrect children. Instead we push them into a queue which will
  26683. // be processed after the whole patch process ended.
  26684. queueActivatedComponent(componentInstance);
  26685. } else {
  26686. activateChildComponent(componentInstance, true /* direct */);
  26687. }
  26688. }
  26689. },
  26690. destroy: function destroy (vnode) {
  26691. var componentInstance = vnode.componentInstance;
  26692. if (!componentInstance._isDestroyed) {
  26693. if (!vnode.data.keepAlive) {
  26694. componentInstance.$destroy();
  26695. } else {
  26696. deactivateChildComponent(componentInstance, true /* direct */);
  26697. }
  26698. }
  26699. }
  26700. };
  26701. var hooksToMerge = Object.keys(componentVNodeHooks);
  26702. function createComponent (
  26703. Ctor,
  26704. data,
  26705. context,
  26706. children,
  26707. tag
  26708. ) {
  26709. if (isUndef(Ctor)) {
  26710. return
  26711. }
  26712. var baseCtor = context.$options._base;
  26713. // plain options object: turn it into a constructor
  26714. if (isObject(Ctor)) {
  26715. Ctor = baseCtor.extend(Ctor);
  26716. }
  26717. // if at this stage it's not a constructor or an async component factory,
  26718. // reject.
  26719. if (typeof Ctor !== 'function') {
  26720. if (true) {
  26721. warn(("Invalid Component definition: " + (String(Ctor))), context);
  26722. }
  26723. return
  26724. }
  26725. // async component
  26726. var asyncFactory;
  26727. if (isUndef(Ctor.cid)) {
  26728. asyncFactory = Ctor;
  26729. Ctor = resolveAsyncComponent(asyncFactory, baseCtor);
  26730. if (Ctor === undefined) {
  26731. // return a placeholder node for async component, which is rendered
  26732. // as a comment node but preserves all the raw information for the node.
  26733. // the information will be used for async server-rendering and hydration.
  26734. return createAsyncPlaceholder(
  26735. asyncFactory,
  26736. data,
  26737. context,
  26738. children,
  26739. tag
  26740. )
  26741. }
  26742. }
  26743. data = data || {};
  26744. // resolve constructor options in case global mixins are applied after
  26745. // component constructor creation
  26746. resolveConstructorOptions(Ctor);
  26747. // transform component v-model data into props & events
  26748. if (isDef(data.model)) {
  26749. transformModel(Ctor.options, data);
  26750. }
  26751. // extract props
  26752. var propsData = extractPropsFromVNodeData(data, Ctor, tag, context); // fixed by xxxxxx
  26753. // functional component
  26754. if (isTrue(Ctor.options.functional)) {
  26755. return createFunctionalComponent(Ctor, propsData, data, context, children)
  26756. }
  26757. // extract listeners, since these needs to be treated as
  26758. // child component listeners instead of DOM listeners
  26759. var listeners = data.on;
  26760. // replace with listeners with .native modifier
  26761. // so it gets processed during parent component patch.
  26762. data.on = data.nativeOn;
  26763. if (isTrue(Ctor.options.abstract)) {
  26764. // abstract components do not keep anything
  26765. // other than props & listeners & slot
  26766. // work around flow
  26767. var slot = data.slot;
  26768. data = {};
  26769. if (slot) {
  26770. data.slot = slot;
  26771. }
  26772. }
  26773. // install component management hooks onto the placeholder node
  26774. installComponentHooks(data);
  26775. // return a placeholder vnode
  26776. var name = Ctor.options.name || tag;
  26777. var vnode = new VNode(
  26778. ("vue-component-" + (Ctor.cid) + (name ? ("-" + name) : '')),
  26779. data, undefined, undefined, undefined, context,
  26780. { Ctor: Ctor, propsData: propsData, listeners: listeners, tag: tag, children: children },
  26781. asyncFactory
  26782. );
  26783. return vnode
  26784. }
  26785. function createComponentInstanceForVnode (
  26786. vnode, // we know it's MountedComponentVNode but flow doesn't
  26787. parent // activeInstance in lifecycle state
  26788. ) {
  26789. var options = {
  26790. _isComponent: true,
  26791. _parentVnode: vnode,
  26792. parent: parent
  26793. };
  26794. // check inline-template render functions
  26795. var inlineTemplate = vnode.data.inlineTemplate;
  26796. if (isDef(inlineTemplate)) {
  26797. options.render = inlineTemplate.render;
  26798. options.staticRenderFns = inlineTemplate.staticRenderFns;
  26799. }
  26800. return new vnode.componentOptions.Ctor(options)
  26801. }
  26802. function installComponentHooks (data) {
  26803. var hooks = data.hook || (data.hook = {});
  26804. for (var i = 0; i < hooksToMerge.length; i++) {
  26805. var key = hooksToMerge[i];
  26806. var existing = hooks[key];
  26807. var toMerge = componentVNodeHooks[key];
  26808. if (existing !== toMerge && !(existing && existing._merged)) {
  26809. hooks[key] = existing ? mergeHook$1(toMerge, existing) : toMerge;
  26810. }
  26811. }
  26812. }
  26813. function mergeHook$1 (f1, f2) {
  26814. var merged = function (a, b) {
  26815. // flow complains about extra args which is why we use any
  26816. f1(a, b);
  26817. f2(a, b);
  26818. };
  26819. merged._merged = true;
  26820. return merged
  26821. }
  26822. // transform component v-model info (value and callback) into
  26823. // prop and event handler respectively.
  26824. function transformModel (options, data) {
  26825. var prop = (options.model && options.model.prop) || 'value';
  26826. var event = (options.model && options.model.event) || 'input'
  26827. ;(data.attrs || (data.attrs = {}))[prop] = data.model.value;
  26828. var on = data.on || (data.on = {});
  26829. var existing = on[event];
  26830. var callback = data.model.callback;
  26831. if (isDef(existing)) {
  26832. if (
  26833. Array.isArray(existing)
  26834. ? existing.indexOf(callback) === -1
  26835. : existing !== callback
  26836. ) {
  26837. on[event] = [callback].concat(existing);
  26838. }
  26839. } else {
  26840. on[event] = callback;
  26841. }
  26842. }
  26843. /* */
  26844. var SIMPLE_NORMALIZE = 1;
  26845. var ALWAYS_NORMALIZE = 2;
  26846. // wrapper function for providing a more flexible interface
  26847. // without getting yelled at by flow
  26848. function createElement (
  26849. context,
  26850. tag,
  26851. data,
  26852. children,
  26853. normalizationType,
  26854. alwaysNormalize
  26855. ) {
  26856. if (Array.isArray(data) || isPrimitive(data)) {
  26857. normalizationType = children;
  26858. children = data;
  26859. data = undefined;
  26860. }
  26861. if (isTrue(alwaysNormalize)) {
  26862. normalizationType = ALWAYS_NORMALIZE;
  26863. }
  26864. return _createElement(context, tag, data, children, normalizationType)
  26865. }
  26866. function _createElement (
  26867. context,
  26868. tag,
  26869. data,
  26870. children,
  26871. normalizationType
  26872. ) {
  26873. if (isDef(data) && isDef((data).__ob__)) {
  26874. true && warn(
  26875. "Avoid using observed data object as vnode data: " + (JSON.stringify(data)) + "\n" +
  26876. 'Always create fresh vnode data objects in each render!',
  26877. context
  26878. );
  26879. return createEmptyVNode()
  26880. }
  26881. // object syntax in v-bind
  26882. if (isDef(data) && isDef(data.is)) {
  26883. tag = data.is;
  26884. }
  26885. if (!tag) {
  26886. // in case of component :is set to falsy value
  26887. return createEmptyVNode()
  26888. }
  26889. // warn against non-primitive key
  26890. if ( true &&
  26891. isDef(data) && isDef(data.key) && !isPrimitive(data.key)
  26892. ) {
  26893. {
  26894. warn(
  26895. 'Avoid using non-primitive value as key, ' +
  26896. 'use string/number value instead.',
  26897. context
  26898. );
  26899. }
  26900. }
  26901. // support single function children as default scoped slot
  26902. if (Array.isArray(children) &&
  26903. typeof children[0] === 'function'
  26904. ) {
  26905. data = data || {};
  26906. data.scopedSlots = { default: children[0] };
  26907. children.length = 0;
  26908. }
  26909. if (normalizationType === ALWAYS_NORMALIZE) {
  26910. children = normalizeChildren(children);
  26911. } else if (normalizationType === SIMPLE_NORMALIZE) {
  26912. children = simpleNormalizeChildren(children);
  26913. }
  26914. var vnode, ns;
  26915. if (typeof tag === 'string') {
  26916. var Ctor;
  26917. ns = (context.$vnode && context.$vnode.ns) || config.getTagNamespace(tag);
  26918. if (config.isReservedTag(tag)) {
  26919. // platform built-in elements
  26920. if ( true && isDef(data) && isDef(data.nativeOn)) {
  26921. warn(
  26922. ("The .native modifier for v-on is only valid on components but it was used on <" + tag + ">."),
  26923. context
  26924. );
  26925. }
  26926. vnode = new VNode(
  26927. config.parsePlatformTagName(tag), data, children,
  26928. undefined, undefined, context
  26929. );
  26930. } else if ((!data || !data.pre) && isDef(Ctor = resolveAsset(context.$options, 'components', tag))) {
  26931. // component
  26932. vnode = createComponent(Ctor, data, context, children, tag);
  26933. } else {
  26934. // unknown or unlisted namespaced elements
  26935. // check at runtime because it may get assigned a namespace when its
  26936. // parent normalizes children
  26937. vnode = new VNode(
  26938. tag, data, children,
  26939. undefined, undefined, context
  26940. );
  26941. }
  26942. } else {
  26943. // direct component options / constructor
  26944. vnode = createComponent(tag, data, context, children);
  26945. }
  26946. if (Array.isArray(vnode)) {
  26947. return vnode
  26948. } else if (isDef(vnode)) {
  26949. if (isDef(ns)) { applyNS(vnode, ns); }
  26950. if (isDef(data)) { registerDeepBindings(data); }
  26951. return vnode
  26952. } else {
  26953. return createEmptyVNode()
  26954. }
  26955. }
  26956. function applyNS (vnode, ns, force) {
  26957. vnode.ns = ns;
  26958. if (vnode.tag === 'foreignObject') {
  26959. // use default namespace inside foreignObject
  26960. ns = undefined;
  26961. force = true;
  26962. }
  26963. if (isDef(vnode.children)) {
  26964. for (var i = 0, l = vnode.children.length; i < l; i++) {
  26965. var child = vnode.children[i];
  26966. if (isDef(child.tag) && (
  26967. isUndef(child.ns) || (isTrue(force) && child.tag !== 'svg'))) {
  26968. applyNS(child, ns, force);
  26969. }
  26970. }
  26971. }
  26972. }
  26973. // ref #5318
  26974. // necessary to ensure parent re-render when deep bindings like :style and
  26975. // :class are used on slot nodes
  26976. function registerDeepBindings (data) {
  26977. if (isObject(data.style)) {
  26978. traverse(data.style);
  26979. }
  26980. if (isObject(data.class)) {
  26981. traverse(data.class);
  26982. }
  26983. }
  26984. /* */
  26985. function initRender (vm) {
  26986. vm._vnode = null; // the root of the child tree
  26987. vm._staticTrees = null; // v-once cached trees
  26988. var options = vm.$options;
  26989. var parentVnode = vm.$vnode = options._parentVnode; // the placeholder node in parent tree
  26990. var renderContext = parentVnode && parentVnode.context;
  26991. vm.$slots = resolveSlots(options._renderChildren, renderContext);
  26992. vm.$scopedSlots = emptyObject;
  26993. // bind the createElement fn to this instance
  26994. // so that we get proper render context inside it.
  26995. // args order: tag, data, children, normalizationType, alwaysNormalize
  26996. // internal version is used by render functions compiled from templates
  26997. vm._c = function (a, b, c, d) { return createElement(vm, a, b, c, d, false); };
  26998. // normalization is always applied for the public version, used in
  26999. // user-written render functions.
  27000. vm.$createElement = function (a, b, c, d) { return createElement(vm, a, b, c, d, true); };
  27001. // $attrs & $listeners are exposed for easier HOC creation.
  27002. // they need to be reactive so that HOCs using them are always updated
  27003. var parentData = parentVnode && parentVnode.data;
  27004. /* istanbul ignore else */
  27005. if (true) {
  27006. defineReactive$$1(vm, '$attrs', parentData && parentData.attrs || emptyObject, function () {
  27007. !isUpdatingChildComponent && warn("$attrs is readonly.", vm);
  27008. }, true);
  27009. defineReactive$$1(vm, '$listeners', options._parentListeners || emptyObject, function () {
  27010. !isUpdatingChildComponent && warn("$listeners is readonly.", vm);
  27011. }, true);
  27012. } else {}
  27013. }
  27014. var currentRenderingInstance = null;
  27015. function renderMixin (Vue) {
  27016. // install runtime convenience helpers
  27017. installRenderHelpers(Vue.prototype);
  27018. Vue.prototype.$nextTick = function (fn) {
  27019. return nextTick(fn, this)
  27020. };
  27021. Vue.prototype._render = function () {
  27022. var vm = this;
  27023. var ref = vm.$options;
  27024. var render = ref.render;
  27025. var _parentVnode = ref._parentVnode;
  27026. if (_parentVnode) {
  27027. vm.$scopedSlots = normalizeScopedSlots(
  27028. _parentVnode.data.scopedSlots,
  27029. vm.$slots,
  27030. vm.$scopedSlots
  27031. );
  27032. }
  27033. // set parent vnode. this allows render functions to have access
  27034. // to the data on the placeholder node.
  27035. vm.$vnode = _parentVnode;
  27036. // render self
  27037. var vnode;
  27038. try {
  27039. // There's no need to maintain a stack because all render fns are called
  27040. // separately from one another. Nested component's render fns are called
  27041. // when parent component is patched.
  27042. currentRenderingInstance = vm;
  27043. vnode = render.call(vm._renderProxy, vm.$createElement);
  27044. } catch (e) {
  27045. handleError(e, vm, "render");
  27046. // return error render result,
  27047. // or previous vnode to prevent render error causing blank component
  27048. /* istanbul ignore else */
  27049. if ( true && vm.$options.renderError) {
  27050. try {
  27051. vnode = vm.$options.renderError.call(vm._renderProxy, vm.$createElement, e);
  27052. } catch (e) {
  27053. handleError(e, vm, "renderError");
  27054. vnode = vm._vnode;
  27055. }
  27056. } else {
  27057. vnode = vm._vnode;
  27058. }
  27059. } finally {
  27060. currentRenderingInstance = null;
  27061. }
  27062. // if the returned array contains only a single node, allow it
  27063. if (Array.isArray(vnode) && vnode.length === 1) {
  27064. vnode = vnode[0];
  27065. }
  27066. // return empty vnode in case the render function errored out
  27067. if (!(vnode instanceof VNode)) {
  27068. if ( true && Array.isArray(vnode)) {
  27069. warn(
  27070. 'Multiple root nodes returned from render function. Render function ' +
  27071. 'should return a single root node.',
  27072. vm
  27073. );
  27074. }
  27075. vnode = createEmptyVNode();
  27076. }
  27077. // set parent
  27078. vnode.parent = _parentVnode;
  27079. return vnode
  27080. };
  27081. }
  27082. /* */
  27083. function ensureCtor (comp, base) {
  27084. if (
  27085. comp.__esModule ||
  27086. (hasSymbol && comp[Symbol.toStringTag] === 'Module')
  27087. ) {
  27088. comp = comp.default;
  27089. }
  27090. return isObject(comp)
  27091. ? base.extend(comp)
  27092. : comp
  27093. }
  27094. function createAsyncPlaceholder (
  27095. factory,
  27096. data,
  27097. context,
  27098. children,
  27099. tag
  27100. ) {
  27101. var node = createEmptyVNode();
  27102. node.asyncFactory = factory;
  27103. node.asyncMeta = { data: data, context: context, children: children, tag: tag };
  27104. return node
  27105. }
  27106. function resolveAsyncComponent (
  27107. factory,
  27108. baseCtor
  27109. ) {
  27110. if (isTrue(factory.error) && isDef(factory.errorComp)) {
  27111. return factory.errorComp
  27112. }
  27113. if (isDef(factory.resolved)) {
  27114. return factory.resolved
  27115. }
  27116. var owner = currentRenderingInstance;
  27117. if (owner && isDef(factory.owners) && factory.owners.indexOf(owner) === -1) {
  27118. // already pending
  27119. factory.owners.push(owner);
  27120. }
  27121. if (isTrue(factory.loading) && isDef(factory.loadingComp)) {
  27122. return factory.loadingComp
  27123. }
  27124. if (owner && !isDef(factory.owners)) {
  27125. var owners = factory.owners = [owner];
  27126. var sync = true;
  27127. var timerLoading = null;
  27128. var timerTimeout = null
  27129. ;(owner).$on('hook:destroyed', function () { return remove(owners, owner); });
  27130. var forceRender = function (renderCompleted) {
  27131. for (var i = 0, l = owners.length; i < l; i++) {
  27132. (owners[i]).$forceUpdate();
  27133. }
  27134. if (renderCompleted) {
  27135. owners.length = 0;
  27136. if (timerLoading !== null) {
  27137. clearTimeout(timerLoading);
  27138. timerLoading = null;
  27139. }
  27140. if (timerTimeout !== null) {
  27141. clearTimeout(timerTimeout);
  27142. timerTimeout = null;
  27143. }
  27144. }
  27145. };
  27146. var resolve = once(function (res) {
  27147. // cache resolved
  27148. factory.resolved = ensureCtor(res, baseCtor);
  27149. // invoke callbacks only if this is not a synchronous resolve
  27150. // (async resolves are shimmed as synchronous during SSR)
  27151. if (!sync) {
  27152. forceRender(true);
  27153. } else {
  27154. owners.length = 0;
  27155. }
  27156. });
  27157. var reject = once(function (reason) {
  27158. true && warn(
  27159. "Failed to resolve async component: " + (String(factory)) +
  27160. (reason ? ("\nReason: " + reason) : '')
  27161. );
  27162. if (isDef(factory.errorComp)) {
  27163. factory.error = true;
  27164. forceRender(true);
  27165. }
  27166. });
  27167. var res = factory(resolve, reject);
  27168. if (isObject(res)) {
  27169. if (isPromise(res)) {
  27170. // () => Promise
  27171. if (isUndef(factory.resolved)) {
  27172. res.then(resolve, reject);
  27173. }
  27174. } else if (isPromise(res.component)) {
  27175. res.component.then(resolve, reject);
  27176. if (isDef(res.error)) {
  27177. factory.errorComp = ensureCtor(res.error, baseCtor);
  27178. }
  27179. if (isDef(res.loading)) {
  27180. factory.loadingComp = ensureCtor(res.loading, baseCtor);
  27181. if (res.delay === 0) {
  27182. factory.loading = true;
  27183. } else {
  27184. timerLoading = setTimeout(function () {
  27185. timerLoading = null;
  27186. if (isUndef(factory.resolved) && isUndef(factory.error)) {
  27187. factory.loading = true;
  27188. forceRender(false);
  27189. }
  27190. }, res.delay || 200);
  27191. }
  27192. }
  27193. if (isDef(res.timeout)) {
  27194. timerTimeout = setTimeout(function () {
  27195. timerTimeout = null;
  27196. if (isUndef(factory.resolved)) {
  27197. reject(
  27198. true
  27199. ? ("timeout (" + (res.timeout) + "ms)")
  27200. : undefined
  27201. );
  27202. }
  27203. }, res.timeout);
  27204. }
  27205. }
  27206. }
  27207. sync = false;
  27208. // return in case resolved synchronously
  27209. return factory.loading
  27210. ? factory.loadingComp
  27211. : factory.resolved
  27212. }
  27213. }
  27214. /* */
  27215. function isAsyncPlaceholder (node) {
  27216. return node.isComment && node.asyncFactory
  27217. }
  27218. /* */
  27219. function getFirstComponentChild (children) {
  27220. if (Array.isArray(children)) {
  27221. for (var i = 0; i < children.length; i++) {
  27222. var c = children[i];
  27223. if (isDef(c) && (isDef(c.componentOptions) || isAsyncPlaceholder(c))) {
  27224. return c
  27225. }
  27226. }
  27227. }
  27228. }
  27229. /* */
  27230. /* */
  27231. function initEvents (vm) {
  27232. vm._events = Object.create(null);
  27233. vm._hasHookEvent = false;
  27234. // init parent attached events
  27235. var listeners = vm.$options._parentListeners;
  27236. if (listeners) {
  27237. updateComponentListeners(vm, listeners);
  27238. }
  27239. }
  27240. var target;
  27241. function add (event, fn) {
  27242. target.$on(event, fn);
  27243. }
  27244. function remove$1 (event, fn) {
  27245. target.$off(event, fn);
  27246. }
  27247. function createOnceHandler (event, fn) {
  27248. var _target = target;
  27249. return function onceHandler () {
  27250. var res = fn.apply(null, arguments);
  27251. if (res !== null) {
  27252. _target.$off(event, onceHandler);
  27253. }
  27254. }
  27255. }
  27256. function updateComponentListeners (
  27257. vm,
  27258. listeners,
  27259. oldListeners
  27260. ) {
  27261. target = vm;
  27262. updateListeners(listeners, oldListeners || {}, add, remove$1, createOnceHandler, vm);
  27263. target = undefined;
  27264. }
  27265. function eventsMixin (Vue) {
  27266. var hookRE = /^hook:/;
  27267. Vue.prototype.$on = function (event, fn) {
  27268. var vm = this;
  27269. if (Array.isArray(event)) {
  27270. for (var i = 0, l = event.length; i < l; i++) {
  27271. vm.$on(event[i], fn);
  27272. }
  27273. } else {
  27274. (vm._events[event] || (vm._events[event] = [])).push(fn);
  27275. // optimize hook:event cost by using a boolean flag marked at registration
  27276. // instead of a hash lookup
  27277. if (hookRE.test(event)) {
  27278. vm._hasHookEvent = true;
  27279. }
  27280. }
  27281. return vm
  27282. };
  27283. Vue.prototype.$once = function (event, fn) {
  27284. var vm = this;
  27285. function on () {
  27286. vm.$off(event, on);
  27287. fn.apply(vm, arguments);
  27288. }
  27289. on.fn = fn;
  27290. vm.$on(event, on);
  27291. return vm
  27292. };
  27293. Vue.prototype.$off = function (event, fn) {
  27294. var vm = this;
  27295. // all
  27296. if (!arguments.length) {
  27297. vm._events = Object.create(null);
  27298. return vm
  27299. }
  27300. // array of events
  27301. if (Array.isArray(event)) {
  27302. for (var i$1 = 0, l = event.length; i$1 < l; i$1++) {
  27303. vm.$off(event[i$1], fn);
  27304. }
  27305. return vm
  27306. }
  27307. // specific event
  27308. var cbs = vm._events[event];
  27309. if (!cbs) {
  27310. return vm
  27311. }
  27312. if (!fn) {
  27313. vm._events[event] = null;
  27314. return vm
  27315. }
  27316. // specific handler
  27317. var cb;
  27318. var i = cbs.length;
  27319. while (i--) {
  27320. cb = cbs[i];
  27321. if (cb === fn || cb.fn === fn) {
  27322. cbs.splice(i, 1);
  27323. break
  27324. }
  27325. }
  27326. return vm
  27327. };
  27328. Vue.prototype.$emit = function (event) {
  27329. var vm = this;
  27330. if (true) {
  27331. var lowerCaseEvent = event.toLowerCase();
  27332. if (lowerCaseEvent !== event && vm._events[lowerCaseEvent]) {
  27333. tip(
  27334. "Event \"" + lowerCaseEvent + "\" is emitted in component " +
  27335. (formatComponentName(vm)) + " but the handler is registered for \"" + event + "\". " +
  27336. "Note that HTML attributes are case-insensitive and you cannot use " +
  27337. "v-on to listen to camelCase events when using in-DOM templates. " +
  27338. "You should probably use \"" + (hyphenate(event)) + "\" instead of \"" + event + "\"."
  27339. );
  27340. }
  27341. }
  27342. var cbs = vm._events[event];
  27343. if (cbs) {
  27344. cbs = cbs.length > 1 ? toArray(cbs) : cbs;
  27345. var args = toArray(arguments, 1);
  27346. var info = "event handler for \"" + event + "\"";
  27347. for (var i = 0, l = cbs.length; i < l; i++) {
  27348. invokeWithErrorHandling(cbs[i], vm, args, vm, info);
  27349. }
  27350. }
  27351. return vm
  27352. };
  27353. }
  27354. /* */
  27355. var activeInstance = null;
  27356. var isUpdatingChildComponent = false;
  27357. function setActiveInstance(vm) {
  27358. var prevActiveInstance = activeInstance;
  27359. activeInstance = vm;
  27360. return function () {
  27361. activeInstance = prevActiveInstance;
  27362. }
  27363. }
  27364. function initLifecycle (vm) {
  27365. var options = vm.$options;
  27366. // locate first non-abstract parent
  27367. var parent = options.parent;
  27368. if (parent && !options.abstract) {
  27369. while (parent.$options.abstract && parent.$parent) {
  27370. parent = parent.$parent;
  27371. }
  27372. parent.$children.push(vm);
  27373. }
  27374. vm.$parent = parent;
  27375. vm.$root = parent ? parent.$root : vm;
  27376. vm.$children = [];
  27377. vm.$refs = {};
  27378. vm._watcher = null;
  27379. vm._inactive = null;
  27380. vm._directInactive = false;
  27381. vm._isMounted = false;
  27382. vm._isDestroyed = false;
  27383. vm._isBeingDestroyed = false;
  27384. }
  27385. function lifecycleMixin (Vue) {
  27386. Vue.prototype._update = function (vnode, hydrating) {
  27387. var vm = this;
  27388. var prevEl = vm.$el;
  27389. var prevVnode = vm._vnode;
  27390. var restoreActiveInstance = setActiveInstance(vm);
  27391. vm._vnode = vnode;
  27392. // Vue.prototype.__patch__ is injected in entry points
  27393. // based on the rendering backend used.
  27394. if (!prevVnode) {
  27395. // initial render
  27396. vm.$el = vm.__patch__(vm.$el, vnode, hydrating, false /* removeOnly */);
  27397. } else {
  27398. // updates
  27399. vm.$el = vm.__patch__(prevVnode, vnode);
  27400. }
  27401. restoreActiveInstance();
  27402. // update __vue__ reference
  27403. if (prevEl) {
  27404. prevEl.__vue__ = null;
  27405. }
  27406. if (vm.$el) {
  27407. vm.$el.__vue__ = vm;
  27408. }
  27409. // if parent is an HOC, update its $el as well
  27410. if (vm.$vnode && vm.$parent && vm.$vnode === vm.$parent._vnode) {
  27411. vm.$parent.$el = vm.$el;
  27412. }
  27413. // updated hook is called by the scheduler to ensure that children are
  27414. // updated in a parent's updated hook.
  27415. };
  27416. Vue.prototype.$forceUpdate = function () {
  27417. var vm = this;
  27418. if (vm._watcher) {
  27419. vm._watcher.update();
  27420. }
  27421. };
  27422. Vue.prototype.$destroy = function () {
  27423. var vm = this;
  27424. if (vm._isBeingDestroyed) {
  27425. return
  27426. }
  27427. callHook(vm, 'beforeDestroy');
  27428. vm._isBeingDestroyed = true;
  27429. // remove self from parent
  27430. var parent = vm.$parent;
  27431. if (parent && !parent._isBeingDestroyed && !vm.$options.abstract) {
  27432. remove(parent.$children, vm);
  27433. }
  27434. // teardown watchers
  27435. if (vm._watcher) {
  27436. vm._watcher.teardown();
  27437. }
  27438. var i = vm._watchers.length;
  27439. while (i--) {
  27440. vm._watchers[i].teardown();
  27441. }
  27442. // remove reference from data ob
  27443. // frozen object may not have observer.
  27444. if (vm._data.__ob__) {
  27445. vm._data.__ob__.vmCount--;
  27446. }
  27447. // call the last hook...
  27448. vm._isDestroyed = true;
  27449. // invoke destroy hooks on current rendered tree
  27450. vm.__patch__(vm._vnode, null);
  27451. // fire destroyed hook
  27452. callHook(vm, 'destroyed');
  27453. // turn off all instance listeners.
  27454. vm.$off();
  27455. // remove __vue__ reference
  27456. if (vm.$el) {
  27457. vm.$el.__vue__ = null;
  27458. }
  27459. // release circular reference (#6759)
  27460. if (vm.$vnode) {
  27461. vm.$vnode.parent = null;
  27462. }
  27463. };
  27464. }
  27465. function updateChildComponent (
  27466. vm,
  27467. propsData,
  27468. listeners,
  27469. parentVnode,
  27470. renderChildren
  27471. ) {
  27472. if (true) {
  27473. isUpdatingChildComponent = true;
  27474. }
  27475. // determine whether component has slot children
  27476. // we need to do this before overwriting $options._renderChildren.
  27477. // check if there are dynamic scopedSlots (hand-written or compiled but with
  27478. // dynamic slot names). Static scoped slots compiled from template has the
  27479. // "$stable" marker.
  27480. var newScopedSlots = parentVnode.data.scopedSlots;
  27481. var oldScopedSlots = vm.$scopedSlots;
  27482. var hasDynamicScopedSlot = !!(
  27483. (newScopedSlots && !newScopedSlots.$stable) ||
  27484. (oldScopedSlots !== emptyObject && !oldScopedSlots.$stable) ||
  27485. (newScopedSlots && vm.$scopedSlots.$key !== newScopedSlots.$key)
  27486. );
  27487. // Any static slot children from the parent may have changed during parent's
  27488. // update. Dynamic scoped slots may also have changed. In such cases, a forced
  27489. // update is necessary to ensure correctness.
  27490. var needsForceUpdate = !!(
  27491. renderChildren || // has new static slots
  27492. vm.$options._renderChildren || // has old static slots
  27493. hasDynamicScopedSlot
  27494. );
  27495. vm.$options._parentVnode = parentVnode;
  27496. vm.$vnode = parentVnode; // update vm's placeholder node without re-render
  27497. if (vm._vnode) { // update child tree's parent
  27498. vm._vnode.parent = parentVnode;
  27499. }
  27500. vm.$options._renderChildren = renderChildren;
  27501. // update $attrs and $listeners hash
  27502. // these are also reactive so they may trigger child update if the child
  27503. // used them during render
  27504. vm.$attrs = parentVnode.data.attrs || emptyObject;
  27505. vm.$listeners = listeners || emptyObject;
  27506. // update props
  27507. if (propsData && vm.$options.props) {
  27508. toggleObserving(false);
  27509. var props = vm._props;
  27510. var propKeys = vm.$options._propKeys || [];
  27511. for (var i = 0; i < propKeys.length; i++) {
  27512. var key = propKeys[i];
  27513. var propOptions = vm.$options.props; // wtf flow?
  27514. props[key] = validateProp(key, propOptions, propsData, vm);
  27515. }
  27516. toggleObserving(true);
  27517. // keep a copy of raw propsData
  27518. vm.$options.propsData = propsData;
  27519. }
  27520. // fixed by xxxxxx update properties(mp runtime)
  27521. vm._$updateProperties && vm._$updateProperties(vm);
  27522. // update listeners
  27523. listeners = listeners || emptyObject;
  27524. var oldListeners = vm.$options._parentListeners;
  27525. vm.$options._parentListeners = listeners;
  27526. updateComponentListeners(vm, listeners, oldListeners);
  27527. // resolve slots + force update if has children
  27528. if (needsForceUpdate) {
  27529. vm.$slots = resolveSlots(renderChildren, parentVnode.context);
  27530. vm.$forceUpdate();
  27531. }
  27532. if (true) {
  27533. isUpdatingChildComponent = false;
  27534. }
  27535. }
  27536. function isInInactiveTree (vm) {
  27537. while (vm && (vm = vm.$parent)) {
  27538. if (vm._inactive) { return true }
  27539. }
  27540. return false
  27541. }
  27542. function activateChildComponent (vm, direct) {
  27543. if (direct) {
  27544. vm._directInactive = false;
  27545. if (isInInactiveTree(vm)) {
  27546. return
  27547. }
  27548. } else if (vm._directInactive) {
  27549. return
  27550. }
  27551. if (vm._inactive || vm._inactive === null) {
  27552. vm._inactive = false;
  27553. for (var i = 0; i < vm.$children.length; i++) {
  27554. activateChildComponent(vm.$children[i]);
  27555. }
  27556. callHook(vm, 'activated');
  27557. }
  27558. }
  27559. function deactivateChildComponent (vm, direct) {
  27560. if (direct) {
  27561. vm._directInactive = true;
  27562. if (isInInactiveTree(vm)) {
  27563. return
  27564. }
  27565. }
  27566. if (!vm._inactive) {
  27567. vm._inactive = true;
  27568. for (var i = 0; i < vm.$children.length; i++) {
  27569. deactivateChildComponent(vm.$children[i]);
  27570. }
  27571. callHook(vm, 'deactivated');
  27572. }
  27573. }
  27574. function callHook (vm, hook) {
  27575. // #7573 disable dep collection when invoking lifecycle hooks
  27576. pushTarget();
  27577. var handlers = vm.$options[hook];
  27578. var info = hook + " hook";
  27579. if (handlers) {
  27580. for (var i = 0, j = handlers.length; i < j; i++) {
  27581. invokeWithErrorHandling(handlers[i], vm, null, vm, info);
  27582. }
  27583. }
  27584. if (vm._hasHookEvent) {
  27585. vm.$emit('hook:' + hook);
  27586. }
  27587. popTarget();
  27588. }
  27589. /* */
  27590. var MAX_UPDATE_COUNT = 100;
  27591. var queue = [];
  27592. var activatedChildren = [];
  27593. var has = {};
  27594. var circular = {};
  27595. var waiting = false;
  27596. var flushing = false;
  27597. var index = 0;
  27598. /**
  27599. * Reset the scheduler's state.
  27600. */
  27601. function resetSchedulerState () {
  27602. index = queue.length = activatedChildren.length = 0;
  27603. has = {};
  27604. if (true) {
  27605. circular = {};
  27606. }
  27607. waiting = flushing = false;
  27608. }
  27609. // Async edge case #6566 requires saving the timestamp when event listeners are
  27610. // attached. However, calling performance.now() has a perf overhead especially
  27611. // if the page has thousands of event listeners. Instead, we take a timestamp
  27612. // every time the scheduler flushes and use that for all event listeners
  27613. // attached during that flush.
  27614. var currentFlushTimestamp = 0;
  27615. // Async edge case fix requires storing an event listener's attach timestamp.
  27616. var getNow = Date.now;
  27617. // Determine what event timestamp the browser is using. Annoyingly, the
  27618. // timestamp can either be hi-res (relative to page load) or low-res
  27619. // (relative to UNIX epoch), so in order to compare time we have to use the
  27620. // same timestamp type when saving the flush timestamp.
  27621. // All IE versions use low-res event timestamps, and have problematic clock
  27622. // implementations (#9632)
  27623. if (inBrowser && !isIE) {
  27624. var performance = window.performance;
  27625. if (
  27626. performance &&
  27627. typeof performance.now === 'function' &&
  27628. getNow() > document.createEvent('Event').timeStamp
  27629. ) {
  27630. // if the event timestamp, although evaluated AFTER the Date.now(), is
  27631. // smaller than it, it means the event is using a hi-res timestamp,
  27632. // and we need to use the hi-res version for event listener timestamps as
  27633. // well.
  27634. getNow = function () { return performance.now(); };
  27635. }
  27636. }
  27637. /**
  27638. * Flush both queues and run the watchers.
  27639. */
  27640. function flushSchedulerQueue () {
  27641. currentFlushTimestamp = getNow();
  27642. flushing = true;
  27643. var watcher, id;
  27644. // Sort queue before flush.
  27645. // This ensures that:
  27646. // 1. Components are updated from parent to child. (because parent is always
  27647. // created before the child)
  27648. // 2. A component's user watchers are run before its render watcher (because
  27649. // user watchers are created before the render watcher)
  27650. // 3. If a component is destroyed during a parent component's watcher run,
  27651. // its watchers can be skipped.
  27652. queue.sort(function (a, b) { return a.id - b.id; });
  27653. // do not cache length because more watchers might be pushed
  27654. // as we run existing watchers
  27655. for (index = 0; index < queue.length; index++) {
  27656. watcher = queue[index];
  27657. if (watcher.before) {
  27658. watcher.before();
  27659. }
  27660. id = watcher.id;
  27661. has[id] = null;
  27662. watcher.run();
  27663. // in dev build, check and stop circular updates.
  27664. if ( true && has[id] != null) {
  27665. circular[id] = (circular[id] || 0) + 1;
  27666. if (circular[id] > MAX_UPDATE_COUNT) {
  27667. warn(
  27668. 'You may have an infinite update loop ' + (
  27669. watcher.user
  27670. ? ("in watcher with expression \"" + (watcher.expression) + "\"")
  27671. : "in a component render function."
  27672. ),
  27673. watcher.vm
  27674. );
  27675. break
  27676. }
  27677. }
  27678. }
  27679. // keep copies of post queues before resetting state
  27680. var activatedQueue = activatedChildren.slice();
  27681. var updatedQueue = queue.slice();
  27682. resetSchedulerState();
  27683. // call component updated and activated hooks
  27684. callActivatedHooks(activatedQueue);
  27685. callUpdatedHooks(updatedQueue);
  27686. // devtool hook
  27687. /* istanbul ignore if */
  27688. if (devtools && config.devtools) {
  27689. devtools.emit('flush');
  27690. }
  27691. }
  27692. function callUpdatedHooks (queue) {
  27693. var i = queue.length;
  27694. while (i--) {
  27695. var watcher = queue[i];
  27696. var vm = watcher.vm;
  27697. if (vm._watcher === watcher && vm._isMounted && !vm._isDestroyed) {
  27698. callHook(vm, 'updated');
  27699. }
  27700. }
  27701. }
  27702. /**
  27703. * Queue a kept-alive component that was activated during patch.
  27704. * The queue will be processed after the entire tree has been patched.
  27705. */
  27706. function queueActivatedComponent (vm) {
  27707. // setting _inactive to false here so that a render function can
  27708. // rely on checking whether it's in an inactive tree (e.g. router-view)
  27709. vm._inactive = false;
  27710. activatedChildren.push(vm);
  27711. }
  27712. function callActivatedHooks (queue) {
  27713. for (var i = 0; i < queue.length; i++) {
  27714. queue[i]._inactive = true;
  27715. activateChildComponent(queue[i], true /* true */);
  27716. }
  27717. }
  27718. /**
  27719. * Push a watcher into the watcher queue.
  27720. * Jobs with duplicate IDs will be skipped unless it's
  27721. * pushed when the queue is being flushed.
  27722. */
  27723. function queueWatcher (watcher) {
  27724. var id = watcher.id;
  27725. if (has[id] == null) {
  27726. has[id] = true;
  27727. if (!flushing) {
  27728. queue.push(watcher);
  27729. } else {
  27730. // if already flushing, splice the watcher based on its id
  27731. // if already past its id, it will be run next immediately.
  27732. var i = queue.length - 1;
  27733. while (i > index && queue[i].id > watcher.id) {
  27734. i--;
  27735. }
  27736. queue.splice(i + 1, 0, watcher);
  27737. }
  27738. // queue the flush
  27739. if (!waiting) {
  27740. waiting = true;
  27741. if ( true && !config.async) {
  27742. flushSchedulerQueue();
  27743. return
  27744. }
  27745. nextTick(flushSchedulerQueue);
  27746. }
  27747. }
  27748. }
  27749. /* */
  27750. var uid$2 = 0;
  27751. /**
  27752. * A watcher parses an expression, collects dependencies,
  27753. * and fires callback when the expression value changes.
  27754. * This is used for both the $watch() api and directives.
  27755. */
  27756. var Watcher = function Watcher (
  27757. vm,
  27758. expOrFn,
  27759. cb,
  27760. options,
  27761. isRenderWatcher
  27762. ) {
  27763. this.vm = vm;
  27764. if (isRenderWatcher) {
  27765. vm._watcher = this;
  27766. }
  27767. vm._watchers.push(this);
  27768. // options
  27769. if (options) {
  27770. this.deep = !!options.deep;
  27771. this.user = !!options.user;
  27772. this.lazy = !!options.lazy;
  27773. this.sync = !!options.sync;
  27774. this.before = options.before;
  27775. } else {
  27776. this.deep = this.user = this.lazy = this.sync = false;
  27777. }
  27778. this.cb = cb;
  27779. this.id = ++uid$2; // uid for batching
  27780. this.active = true;
  27781. this.dirty = this.lazy; // for lazy watchers
  27782. this.deps = [];
  27783. this.newDeps = [];
  27784. this.depIds = new _Set();
  27785. this.newDepIds = new _Set();
  27786. this.expression = true
  27787. ? expOrFn.toString()
  27788. : undefined;
  27789. // parse expression for getter
  27790. if (typeof expOrFn === 'function') {
  27791. this.getter = expOrFn;
  27792. } else {
  27793. this.getter = parsePath(expOrFn);
  27794. if (!this.getter) {
  27795. this.getter = noop;
  27796. true && warn(
  27797. "Failed watching path: \"" + expOrFn + "\" " +
  27798. 'Watcher only accepts simple dot-delimited paths. ' +
  27799. 'For full control, use a function instead.',
  27800. vm
  27801. );
  27802. }
  27803. }
  27804. this.value = this.lazy
  27805. ? undefined
  27806. : this.get();
  27807. };
  27808. /**
  27809. * Evaluate the getter, and re-collect dependencies.
  27810. */
  27811. Watcher.prototype.get = function get () {
  27812. pushTarget(this);
  27813. var value;
  27814. var vm = this.vm;
  27815. try {
  27816. value = this.getter.call(vm, vm);
  27817. } catch (e) {
  27818. if (this.user) {
  27819. handleError(e, vm, ("getter for watcher \"" + (this.expression) + "\""));
  27820. } else {
  27821. throw e
  27822. }
  27823. } finally {
  27824. // "touch" every property so they are all tracked as
  27825. // dependencies for deep watching
  27826. if (this.deep) {
  27827. traverse(value);
  27828. }
  27829. popTarget();
  27830. this.cleanupDeps();
  27831. }
  27832. return value
  27833. };
  27834. /**
  27835. * Add a dependency to this directive.
  27836. */
  27837. Watcher.prototype.addDep = function addDep (dep) {
  27838. var id = dep.id;
  27839. if (!this.newDepIds.has(id)) {
  27840. this.newDepIds.add(id);
  27841. this.newDeps.push(dep);
  27842. if (!this.depIds.has(id)) {
  27843. dep.addSub(this);
  27844. }
  27845. }
  27846. };
  27847. /**
  27848. * Clean up for dependency collection.
  27849. */
  27850. Watcher.prototype.cleanupDeps = function cleanupDeps () {
  27851. var i = this.deps.length;
  27852. while (i--) {
  27853. var dep = this.deps[i];
  27854. if (!this.newDepIds.has(dep.id)) {
  27855. dep.removeSub(this);
  27856. }
  27857. }
  27858. var tmp = this.depIds;
  27859. this.depIds = this.newDepIds;
  27860. this.newDepIds = tmp;
  27861. this.newDepIds.clear();
  27862. tmp = this.deps;
  27863. this.deps = this.newDeps;
  27864. this.newDeps = tmp;
  27865. this.newDeps.length = 0;
  27866. };
  27867. /**
  27868. * Subscriber interface.
  27869. * Will be called when a dependency changes.
  27870. */
  27871. Watcher.prototype.update = function update () {
  27872. /* istanbul ignore else */
  27873. if (this.lazy) {
  27874. this.dirty = true;
  27875. } else if (this.sync) {
  27876. this.run();
  27877. } else {
  27878. queueWatcher(this);
  27879. }
  27880. };
  27881. /**
  27882. * Scheduler job interface.
  27883. * Will be called by the scheduler.
  27884. */
  27885. Watcher.prototype.run = function run () {
  27886. if (this.active) {
  27887. var value = this.get();
  27888. if (
  27889. value !== this.value ||
  27890. // Deep watchers and watchers on Object/Arrays should fire even
  27891. // when the value is the same, because the value may
  27892. // have mutated.
  27893. isObject(value) ||
  27894. this.deep
  27895. ) {
  27896. // set new value
  27897. var oldValue = this.value;
  27898. this.value = value;
  27899. if (this.user) {
  27900. try {
  27901. this.cb.call(this.vm, value, oldValue);
  27902. } catch (e) {
  27903. handleError(e, this.vm, ("callback for watcher \"" + (this.expression) + "\""));
  27904. }
  27905. } else {
  27906. this.cb.call(this.vm, value, oldValue);
  27907. }
  27908. }
  27909. }
  27910. };
  27911. /**
  27912. * Evaluate the value of the watcher.
  27913. * This only gets called for lazy watchers.
  27914. */
  27915. Watcher.prototype.evaluate = function evaluate () {
  27916. this.value = this.get();
  27917. this.dirty = false;
  27918. };
  27919. /**
  27920. * Depend on all deps collected by this watcher.
  27921. */
  27922. Watcher.prototype.depend = function depend () {
  27923. var i = this.deps.length;
  27924. while (i--) {
  27925. this.deps[i].depend();
  27926. }
  27927. };
  27928. /**
  27929. * Remove self from all dependencies' subscriber list.
  27930. */
  27931. Watcher.prototype.teardown = function teardown () {
  27932. if (this.active) {
  27933. // remove self from vm's watcher list
  27934. // this is a somewhat expensive operation so we skip it
  27935. // if the vm is being destroyed.
  27936. if (!this.vm._isBeingDestroyed) {
  27937. remove(this.vm._watchers, this);
  27938. }
  27939. var i = this.deps.length;
  27940. while (i--) {
  27941. this.deps[i].removeSub(this);
  27942. }
  27943. this.active = false;
  27944. }
  27945. };
  27946. /* */
  27947. var sharedPropertyDefinition = {
  27948. enumerable: true,
  27949. configurable: true,
  27950. get: noop,
  27951. set: noop
  27952. };
  27953. function proxy (target, sourceKey, key) {
  27954. sharedPropertyDefinition.get = function proxyGetter () {
  27955. return this[sourceKey][key]
  27956. };
  27957. sharedPropertyDefinition.set = function proxySetter (val) {
  27958. this[sourceKey][key] = val;
  27959. };
  27960. Object.defineProperty(target, key, sharedPropertyDefinition);
  27961. }
  27962. function initState (vm) {
  27963. vm._watchers = [];
  27964. var opts = vm.$options;
  27965. if (opts.props) { initProps(vm, opts.props); }
  27966. if (opts.methods) { initMethods(vm, opts.methods); }
  27967. if (opts.data) {
  27968. initData(vm);
  27969. } else {
  27970. observe(vm._data = {}, true /* asRootData */);
  27971. }
  27972. if (opts.computed) { initComputed(vm, opts.computed); }
  27973. if (opts.watch && opts.watch !== nativeWatch) {
  27974. initWatch(vm, opts.watch);
  27975. }
  27976. }
  27977. function initProps (vm, propsOptions) {
  27978. var propsData = vm.$options.propsData || {};
  27979. var props = vm._props = {};
  27980. // cache prop keys so that future props updates can iterate using Array
  27981. // instead of dynamic object key enumeration.
  27982. var keys = vm.$options._propKeys = [];
  27983. var isRoot = !vm.$parent;
  27984. // root instance props should be converted
  27985. if (!isRoot) {
  27986. toggleObserving(false);
  27987. }
  27988. var loop = function ( key ) {
  27989. keys.push(key);
  27990. var value = validateProp(key, propsOptions, propsData, vm);
  27991. /* istanbul ignore else */
  27992. if (true) {
  27993. var hyphenatedKey = hyphenate(key);
  27994. if (isReservedAttribute(hyphenatedKey) ||
  27995. config.isReservedAttr(hyphenatedKey)) {
  27996. warn(
  27997. ("\"" + hyphenatedKey + "\" is a reserved attribute and cannot be used as component prop."),
  27998. vm
  27999. );
  28000. }
  28001. defineReactive$$1(props, key, value, function () {
  28002. if (!isRoot && !isUpdatingChildComponent) {
  28003. {
  28004. if(vm.mpHost === 'mp-baidu' || vm.mpHost === 'mp-kuaishou' || vm.mpHost === 'mp-xhs'){//百度、快手、小红书 observer 在 setData callback 之后触发,直接忽略该 warn
  28005. return
  28006. }
  28007. //fixed by xxxxxx __next_tick_pending,uni://form-field 时不告警
  28008. if(
  28009. key === 'value' &&
  28010. Array.isArray(vm.$options.behaviors) &&
  28011. vm.$options.behaviors.indexOf('uni://form-field') !== -1
  28012. ){
  28013. return
  28014. }
  28015. if(vm._getFormData){
  28016. return
  28017. }
  28018. var $parent = vm.$parent;
  28019. while($parent){
  28020. if($parent.__next_tick_pending){
  28021. return
  28022. }
  28023. $parent = $parent.$parent;
  28024. }
  28025. }
  28026. warn(
  28027. "Avoid mutating a prop directly since the value will be " +
  28028. "overwritten whenever the parent component re-renders. " +
  28029. "Instead, use a data or computed property based on the prop's " +
  28030. "value. Prop being mutated: \"" + key + "\"",
  28031. vm
  28032. );
  28033. }
  28034. });
  28035. } else {}
  28036. // static props are already proxied on the component's prototype
  28037. // during Vue.extend(). We only need to proxy props defined at
  28038. // instantiation here.
  28039. if (!(key in vm)) {
  28040. proxy(vm, "_props", key);
  28041. }
  28042. };
  28043. for (var key in propsOptions) loop( key );
  28044. toggleObserving(true);
  28045. }
  28046. function initData (vm) {
  28047. var data = vm.$options.data;
  28048. data = vm._data = typeof data === 'function'
  28049. ? getData(data, vm)
  28050. : data || {};
  28051. if (!isPlainObject(data)) {
  28052. data = {};
  28053. true && warn(
  28054. 'data functions should return an object:\n' +
  28055. 'https://vuejs.org/v2/guide/components.html#data-Must-Be-a-Function',
  28056. vm
  28057. );
  28058. }
  28059. // proxy data on instance
  28060. var keys = Object.keys(data);
  28061. var props = vm.$options.props;
  28062. var methods = vm.$options.methods;
  28063. var i = keys.length;
  28064. while (i--) {
  28065. var key = keys[i];
  28066. if (true) {
  28067. if (methods && hasOwn(methods, key)) {
  28068. warn(
  28069. ("Method \"" + key + "\" has already been defined as a data property."),
  28070. vm
  28071. );
  28072. }
  28073. }
  28074. if (props && hasOwn(props, key)) {
  28075. true && warn(
  28076. "The data property \"" + key + "\" is already declared as a prop. " +
  28077. "Use prop default value instead.",
  28078. vm
  28079. );
  28080. } else if (!isReserved(key)) {
  28081. proxy(vm, "_data", key);
  28082. }
  28083. }
  28084. // observe data
  28085. observe(data, true /* asRootData */);
  28086. }
  28087. function getData (data, vm) {
  28088. // #7573 disable dep collection when invoking data getters
  28089. pushTarget();
  28090. try {
  28091. return data.call(vm, vm)
  28092. } catch (e) {
  28093. handleError(e, vm, "data()");
  28094. return {}
  28095. } finally {
  28096. popTarget();
  28097. }
  28098. }
  28099. var computedWatcherOptions = { lazy: true };
  28100. function initComputed (vm, computed) {
  28101. // $flow-disable-line
  28102. var watchers = vm._computedWatchers = Object.create(null);
  28103. // computed properties are just getters during SSR
  28104. var isSSR = isServerRendering();
  28105. for (var key in computed) {
  28106. var userDef = computed[key];
  28107. var getter = typeof userDef === 'function' ? userDef : userDef.get;
  28108. if ( true && getter == null) {
  28109. warn(
  28110. ("Getter is missing for computed property \"" + key + "\"."),
  28111. vm
  28112. );
  28113. }
  28114. if (!isSSR) {
  28115. // create internal watcher for the computed property.
  28116. watchers[key] = new Watcher(
  28117. vm,
  28118. getter || noop,
  28119. noop,
  28120. computedWatcherOptions
  28121. );
  28122. }
  28123. // component-defined computed properties are already defined on the
  28124. // component prototype. We only need to define computed properties defined
  28125. // at instantiation here.
  28126. if (!(key in vm)) {
  28127. defineComputed(vm, key, userDef);
  28128. } else if (true) {
  28129. if (key in vm.$data) {
  28130. warn(("The computed property \"" + key + "\" is already defined in data."), vm);
  28131. } else if (vm.$options.props && key in vm.$options.props) {
  28132. warn(("The computed property \"" + key + "\" is already defined as a prop."), vm);
  28133. }
  28134. }
  28135. }
  28136. }
  28137. function defineComputed (
  28138. target,
  28139. key,
  28140. userDef
  28141. ) {
  28142. var shouldCache = !isServerRendering();
  28143. if (typeof userDef === 'function') {
  28144. sharedPropertyDefinition.get = shouldCache
  28145. ? createComputedGetter(key)
  28146. : createGetterInvoker(userDef);
  28147. sharedPropertyDefinition.set = noop;
  28148. } else {
  28149. sharedPropertyDefinition.get = userDef.get
  28150. ? shouldCache && userDef.cache !== false
  28151. ? createComputedGetter(key)
  28152. : createGetterInvoker(userDef.get)
  28153. : noop;
  28154. sharedPropertyDefinition.set = userDef.set || noop;
  28155. }
  28156. if ( true &&
  28157. sharedPropertyDefinition.set === noop) {
  28158. sharedPropertyDefinition.set = function () {
  28159. warn(
  28160. ("Computed property \"" + key + "\" was assigned to but it has no setter."),
  28161. this
  28162. );
  28163. };
  28164. }
  28165. Object.defineProperty(target, key, sharedPropertyDefinition);
  28166. }
  28167. function createComputedGetter (key) {
  28168. return function computedGetter () {
  28169. var watcher = this._computedWatchers && this._computedWatchers[key];
  28170. if (watcher) {
  28171. if (watcher.dirty) {
  28172. watcher.evaluate();
  28173. }
  28174. if (Dep.SharedObject.target) {// fixed by xxxxxx
  28175. watcher.depend();
  28176. }
  28177. return watcher.value
  28178. }
  28179. }
  28180. }
  28181. function createGetterInvoker(fn) {
  28182. return function computedGetter () {
  28183. return fn.call(this, this)
  28184. }
  28185. }
  28186. function initMethods (vm, methods) {
  28187. var props = vm.$options.props;
  28188. for (var key in methods) {
  28189. if (true) {
  28190. if (typeof methods[key] !== 'function') {
  28191. warn(
  28192. "Method \"" + key + "\" has type \"" + (typeof methods[key]) + "\" in the component definition. " +
  28193. "Did you reference the function correctly?",
  28194. vm
  28195. );
  28196. }
  28197. if (props && hasOwn(props, key)) {
  28198. warn(
  28199. ("Method \"" + key + "\" has already been defined as a prop."),
  28200. vm
  28201. );
  28202. }
  28203. if ((key in vm) && isReserved(key)) {
  28204. warn(
  28205. "Method \"" + key + "\" conflicts with an existing Vue instance method. " +
  28206. "Avoid defining component methods that start with _ or $."
  28207. );
  28208. }
  28209. }
  28210. vm[key] = typeof methods[key] !== 'function' ? noop : bind(methods[key], vm);
  28211. }
  28212. }
  28213. function initWatch (vm, watch) {
  28214. for (var key in watch) {
  28215. var handler = watch[key];
  28216. if (Array.isArray(handler)) {
  28217. for (var i = 0; i < handler.length; i++) {
  28218. createWatcher(vm, key, handler[i]);
  28219. }
  28220. } else {
  28221. createWatcher(vm, key, handler);
  28222. }
  28223. }
  28224. }
  28225. function createWatcher (
  28226. vm,
  28227. expOrFn,
  28228. handler,
  28229. options
  28230. ) {
  28231. if (isPlainObject(handler)) {
  28232. options = handler;
  28233. handler = handler.handler;
  28234. }
  28235. if (typeof handler === 'string') {
  28236. handler = vm[handler];
  28237. }
  28238. return vm.$watch(expOrFn, handler, options)
  28239. }
  28240. function stateMixin (Vue) {
  28241. // flow somehow has problems with directly declared definition object
  28242. // when using Object.defineProperty, so we have to procedurally build up
  28243. // the object here.
  28244. var dataDef = {};
  28245. dataDef.get = function () { return this._data };
  28246. var propsDef = {};
  28247. propsDef.get = function () { return this._props };
  28248. if (true) {
  28249. dataDef.set = function () {
  28250. warn(
  28251. 'Avoid replacing instance root $data. ' +
  28252. 'Use nested data properties instead.',
  28253. this
  28254. );
  28255. };
  28256. propsDef.set = function () {
  28257. warn("$props is readonly.", this);
  28258. };
  28259. }
  28260. Object.defineProperty(Vue.prototype, '$data', dataDef);
  28261. Object.defineProperty(Vue.prototype, '$props', propsDef);
  28262. Vue.prototype.$set = set;
  28263. Vue.prototype.$delete = del;
  28264. Vue.prototype.$watch = function (
  28265. expOrFn,
  28266. cb,
  28267. options
  28268. ) {
  28269. var vm = this;
  28270. if (isPlainObject(cb)) {
  28271. return createWatcher(vm, expOrFn, cb, options)
  28272. }
  28273. options = options || {};
  28274. options.user = true;
  28275. var watcher = new Watcher(vm, expOrFn, cb, options);
  28276. if (options.immediate) {
  28277. try {
  28278. cb.call(vm, watcher.value);
  28279. } catch (error) {
  28280. handleError(error, vm, ("callback for immediate watcher \"" + (watcher.expression) + "\""));
  28281. }
  28282. }
  28283. return function unwatchFn () {
  28284. watcher.teardown();
  28285. }
  28286. };
  28287. }
  28288. /* */
  28289. var uid$3 = 0;
  28290. function initMixin (Vue) {
  28291. Vue.prototype._init = function (options) {
  28292. var vm = this;
  28293. // a uid
  28294. vm._uid = uid$3++;
  28295. var startTag, endTag;
  28296. /* istanbul ignore if */
  28297. if ( true && config.performance && mark) {
  28298. startTag = "vue-perf-start:" + (vm._uid);
  28299. endTag = "vue-perf-end:" + (vm._uid);
  28300. mark(startTag);
  28301. }
  28302. // a flag to avoid this being observed
  28303. vm._isVue = true;
  28304. // merge options
  28305. if (options && options._isComponent) {
  28306. // optimize internal component instantiation
  28307. // since dynamic options merging is pretty slow, and none of the
  28308. // internal component options needs special treatment.
  28309. initInternalComponent(vm, options);
  28310. } else {
  28311. vm.$options = mergeOptions(
  28312. resolveConstructorOptions(vm.constructor),
  28313. options || {},
  28314. vm
  28315. );
  28316. }
  28317. /* istanbul ignore else */
  28318. if (true) {
  28319. initProxy(vm);
  28320. } else {}
  28321. // expose real self
  28322. vm._self = vm;
  28323. initLifecycle(vm);
  28324. initEvents(vm);
  28325. initRender(vm);
  28326. callHook(vm, 'beforeCreate');
  28327. !vm._$fallback && initInjections(vm); // resolve injections before data/props
  28328. initState(vm);
  28329. !vm._$fallback && initProvide(vm); // resolve provide after data/props
  28330. !vm._$fallback && callHook(vm, 'created');
  28331. /* istanbul ignore if */
  28332. if ( true && config.performance && mark) {
  28333. vm._name = formatComponentName(vm, false);
  28334. mark(endTag);
  28335. measure(("vue " + (vm._name) + " init"), startTag, endTag);
  28336. }
  28337. if (vm.$options.el) {
  28338. vm.$mount(vm.$options.el);
  28339. }
  28340. };
  28341. }
  28342. function initInternalComponent (vm, options) {
  28343. var opts = vm.$options = Object.create(vm.constructor.options);
  28344. // doing this because it's faster than dynamic enumeration.
  28345. var parentVnode = options._parentVnode;
  28346. opts.parent = options.parent;
  28347. opts._parentVnode = parentVnode;
  28348. var vnodeComponentOptions = parentVnode.componentOptions;
  28349. opts.propsData = vnodeComponentOptions.propsData;
  28350. opts._parentListeners = vnodeComponentOptions.listeners;
  28351. opts._renderChildren = vnodeComponentOptions.children;
  28352. opts._componentTag = vnodeComponentOptions.tag;
  28353. if (options.render) {
  28354. opts.render = options.render;
  28355. opts.staticRenderFns = options.staticRenderFns;
  28356. }
  28357. }
  28358. function resolveConstructorOptions (Ctor) {
  28359. var options = Ctor.options;
  28360. if (Ctor.super) {
  28361. var superOptions = resolveConstructorOptions(Ctor.super);
  28362. var cachedSuperOptions = Ctor.superOptions;
  28363. if (superOptions !== cachedSuperOptions) {
  28364. // super option changed,
  28365. // need to resolve new options.
  28366. Ctor.superOptions = superOptions;
  28367. // check if there are any late-modified/attached options (#4976)
  28368. var modifiedOptions = resolveModifiedOptions(Ctor);
  28369. // update base extend options
  28370. if (modifiedOptions) {
  28371. extend(Ctor.extendOptions, modifiedOptions);
  28372. }
  28373. options = Ctor.options = mergeOptions(superOptions, Ctor.extendOptions);
  28374. if (options.name) {
  28375. options.components[options.name] = Ctor;
  28376. }
  28377. }
  28378. }
  28379. return options
  28380. }
  28381. function resolveModifiedOptions (Ctor) {
  28382. var modified;
  28383. var latest = Ctor.options;
  28384. var sealed = Ctor.sealedOptions;
  28385. for (var key in latest) {
  28386. if (latest[key] !== sealed[key]) {
  28387. if (!modified) { modified = {}; }
  28388. modified[key] = latest[key];
  28389. }
  28390. }
  28391. return modified
  28392. }
  28393. function Vue (options) {
  28394. if ( true &&
  28395. !(this instanceof Vue)
  28396. ) {
  28397. warn('Vue is a constructor and should be called with the `new` keyword');
  28398. }
  28399. this._init(options);
  28400. }
  28401. initMixin(Vue);
  28402. stateMixin(Vue);
  28403. eventsMixin(Vue);
  28404. lifecycleMixin(Vue);
  28405. renderMixin(Vue);
  28406. /* */
  28407. function initUse (Vue) {
  28408. Vue.use = function (plugin) {
  28409. var installedPlugins = (this._installedPlugins || (this._installedPlugins = []));
  28410. if (installedPlugins.indexOf(plugin) > -1) {
  28411. return this
  28412. }
  28413. // additional parameters
  28414. var args = toArray(arguments, 1);
  28415. args.unshift(this);
  28416. if (typeof plugin.install === 'function') {
  28417. plugin.install.apply(plugin, args);
  28418. } else if (typeof plugin === 'function') {
  28419. plugin.apply(null, args);
  28420. }
  28421. installedPlugins.push(plugin);
  28422. return this
  28423. };
  28424. }
  28425. /* */
  28426. function initMixin$1 (Vue) {
  28427. Vue.mixin = function (mixin) {
  28428. this.options = mergeOptions(this.options, mixin);
  28429. return this
  28430. };
  28431. }
  28432. /* */
  28433. function initExtend (Vue) {
  28434. /**
  28435. * Each instance constructor, including Vue, has a unique
  28436. * cid. This enables us to create wrapped "child
  28437. * constructors" for prototypal inheritance and cache them.
  28438. */
  28439. Vue.cid = 0;
  28440. var cid = 1;
  28441. /**
  28442. * Class inheritance
  28443. */
  28444. Vue.extend = function (extendOptions) {
  28445. extendOptions = extendOptions || {};
  28446. var Super = this;
  28447. var SuperId = Super.cid;
  28448. var cachedCtors = extendOptions._Ctor || (extendOptions._Ctor = {});
  28449. if (cachedCtors[SuperId]) {
  28450. return cachedCtors[SuperId]
  28451. }
  28452. var name = extendOptions.name || Super.options.name;
  28453. if ( true && name) {
  28454. validateComponentName(name);
  28455. }
  28456. var Sub = function VueComponent (options) {
  28457. this._init(options);
  28458. };
  28459. Sub.prototype = Object.create(Super.prototype);
  28460. Sub.prototype.constructor = Sub;
  28461. Sub.cid = cid++;
  28462. Sub.options = mergeOptions(
  28463. Super.options,
  28464. extendOptions
  28465. );
  28466. Sub['super'] = Super;
  28467. // For props and computed properties, we define the proxy getters on
  28468. // the Vue instances at extension time, on the extended prototype. This
  28469. // avoids Object.defineProperty calls for each instance created.
  28470. if (Sub.options.props) {
  28471. initProps$1(Sub);
  28472. }
  28473. if (Sub.options.computed) {
  28474. initComputed$1(Sub);
  28475. }
  28476. // allow further extension/mixin/plugin usage
  28477. Sub.extend = Super.extend;
  28478. Sub.mixin = Super.mixin;
  28479. Sub.use = Super.use;
  28480. // create asset registers, so extended classes
  28481. // can have their private assets too.
  28482. ASSET_TYPES.forEach(function (type) {
  28483. Sub[type] = Super[type];
  28484. });
  28485. // enable recursive self-lookup
  28486. if (name) {
  28487. Sub.options.components[name] = Sub;
  28488. }
  28489. // keep a reference to the super options at extension time.
  28490. // later at instantiation we can check if Super's options have
  28491. // been updated.
  28492. Sub.superOptions = Super.options;
  28493. Sub.extendOptions = extendOptions;
  28494. Sub.sealedOptions = extend({}, Sub.options);
  28495. // cache constructor
  28496. cachedCtors[SuperId] = Sub;
  28497. return Sub
  28498. };
  28499. }
  28500. function initProps$1 (Comp) {
  28501. var props = Comp.options.props;
  28502. for (var key in props) {
  28503. proxy(Comp.prototype, "_props", key);
  28504. }
  28505. }
  28506. function initComputed$1 (Comp) {
  28507. var computed = Comp.options.computed;
  28508. for (var key in computed) {
  28509. defineComputed(Comp.prototype, key, computed[key]);
  28510. }
  28511. }
  28512. /* */
  28513. function initAssetRegisters (Vue) {
  28514. /**
  28515. * Create asset registration methods.
  28516. */
  28517. ASSET_TYPES.forEach(function (type) {
  28518. Vue[type] = function (
  28519. id,
  28520. definition
  28521. ) {
  28522. if (!definition) {
  28523. return this.options[type + 's'][id]
  28524. } else {
  28525. /* istanbul ignore if */
  28526. if ( true && type === 'component') {
  28527. validateComponentName(id);
  28528. }
  28529. if (type === 'component' && isPlainObject(definition)) {
  28530. definition.name = definition.name || id;
  28531. definition = this.options._base.extend(definition);
  28532. }
  28533. if (type === 'directive' && typeof definition === 'function') {
  28534. definition = { bind: definition, update: definition };
  28535. }
  28536. this.options[type + 's'][id] = definition;
  28537. return definition
  28538. }
  28539. };
  28540. });
  28541. }
  28542. /* */
  28543. function getComponentName (opts) {
  28544. return opts && (opts.Ctor.options.name || opts.tag)
  28545. }
  28546. function matches (pattern, name) {
  28547. if (Array.isArray(pattern)) {
  28548. return pattern.indexOf(name) > -1
  28549. } else if (typeof pattern === 'string') {
  28550. return pattern.split(',').indexOf(name) > -1
  28551. } else if (isRegExp(pattern)) {
  28552. return pattern.test(name)
  28553. }
  28554. /* istanbul ignore next */
  28555. return false
  28556. }
  28557. function pruneCache (keepAliveInstance, filter) {
  28558. var cache = keepAliveInstance.cache;
  28559. var keys = keepAliveInstance.keys;
  28560. var _vnode = keepAliveInstance._vnode;
  28561. for (var key in cache) {
  28562. var cachedNode = cache[key];
  28563. if (cachedNode) {
  28564. var name = getComponentName(cachedNode.componentOptions);
  28565. if (name && !filter(name)) {
  28566. pruneCacheEntry(cache, key, keys, _vnode);
  28567. }
  28568. }
  28569. }
  28570. }
  28571. function pruneCacheEntry (
  28572. cache,
  28573. key,
  28574. keys,
  28575. current
  28576. ) {
  28577. var cached$$1 = cache[key];
  28578. if (cached$$1 && (!current || cached$$1.tag !== current.tag)) {
  28579. cached$$1.componentInstance.$destroy();
  28580. }
  28581. cache[key] = null;
  28582. remove(keys, key);
  28583. }
  28584. var patternTypes = [String, RegExp, Array];
  28585. var KeepAlive = {
  28586. name: 'keep-alive',
  28587. abstract: true,
  28588. props: {
  28589. include: patternTypes,
  28590. exclude: patternTypes,
  28591. max: [String, Number]
  28592. },
  28593. created: function created () {
  28594. this.cache = Object.create(null);
  28595. this.keys = [];
  28596. },
  28597. destroyed: function destroyed () {
  28598. for (var key in this.cache) {
  28599. pruneCacheEntry(this.cache, key, this.keys);
  28600. }
  28601. },
  28602. mounted: function mounted () {
  28603. var this$1 = this;
  28604. this.$watch('include', function (val) {
  28605. pruneCache(this$1, function (name) { return matches(val, name); });
  28606. });
  28607. this.$watch('exclude', function (val) {
  28608. pruneCache(this$1, function (name) { return !matches(val, name); });
  28609. });
  28610. },
  28611. render: function render () {
  28612. var slot = this.$slots.default;
  28613. var vnode = getFirstComponentChild(slot);
  28614. var componentOptions = vnode && vnode.componentOptions;
  28615. if (componentOptions) {
  28616. // check pattern
  28617. var name = getComponentName(componentOptions);
  28618. var ref = this;
  28619. var include = ref.include;
  28620. var exclude = ref.exclude;
  28621. if (
  28622. // not included
  28623. (include && (!name || !matches(include, name))) ||
  28624. // excluded
  28625. (exclude && name && matches(exclude, name))
  28626. ) {
  28627. return vnode
  28628. }
  28629. var ref$1 = this;
  28630. var cache = ref$1.cache;
  28631. var keys = ref$1.keys;
  28632. var key = vnode.key == null
  28633. // same constructor may get registered as different local components
  28634. // so cid alone is not enough (#3269)
  28635. ? componentOptions.Ctor.cid + (componentOptions.tag ? ("::" + (componentOptions.tag)) : '')
  28636. : vnode.key;
  28637. if (cache[key]) {
  28638. vnode.componentInstance = cache[key].componentInstance;
  28639. // make current key freshest
  28640. remove(keys, key);
  28641. keys.push(key);
  28642. } else {
  28643. cache[key] = vnode;
  28644. keys.push(key);
  28645. // prune oldest entry
  28646. if (this.max && keys.length > parseInt(this.max)) {
  28647. pruneCacheEntry(cache, keys[0], keys, this._vnode);
  28648. }
  28649. }
  28650. vnode.data.keepAlive = true;
  28651. }
  28652. return vnode || (slot && slot[0])
  28653. }
  28654. };
  28655. var builtInComponents = {
  28656. KeepAlive: KeepAlive
  28657. };
  28658. /* */
  28659. function initGlobalAPI (Vue) {
  28660. // config
  28661. var configDef = {};
  28662. configDef.get = function () { return config; };
  28663. if (true) {
  28664. configDef.set = function () {
  28665. warn(
  28666. 'Do not replace the Vue.config object, set individual fields instead.'
  28667. );
  28668. };
  28669. }
  28670. Object.defineProperty(Vue, 'config', configDef);
  28671. // exposed util methods.
  28672. // NOTE: these are not considered part of the public API - avoid relying on
  28673. // them unless you are aware of the risk.
  28674. Vue.util = {
  28675. warn: warn,
  28676. extend: extend,
  28677. mergeOptions: mergeOptions,
  28678. defineReactive: defineReactive$$1
  28679. };
  28680. Vue.set = set;
  28681. Vue.delete = del;
  28682. Vue.nextTick = nextTick;
  28683. // 2.6 explicit observable API
  28684. Vue.observable = function (obj) {
  28685. observe(obj);
  28686. return obj
  28687. };
  28688. Vue.options = Object.create(null);
  28689. ASSET_TYPES.forEach(function (type) {
  28690. Vue.options[type + 's'] = Object.create(null);
  28691. });
  28692. // this is used to identify the "base" constructor to extend all plain-object
  28693. // components with in Weex's multi-instance scenarios.
  28694. Vue.options._base = Vue;
  28695. extend(Vue.options.components, builtInComponents);
  28696. initUse(Vue);
  28697. initMixin$1(Vue);
  28698. initExtend(Vue);
  28699. initAssetRegisters(Vue);
  28700. }
  28701. initGlobalAPI(Vue);
  28702. Object.defineProperty(Vue.prototype, '$isServer', {
  28703. get: isServerRendering
  28704. });
  28705. Object.defineProperty(Vue.prototype, '$ssrContext', {
  28706. get: function get () {
  28707. /* istanbul ignore next */
  28708. return this.$vnode && this.$vnode.ssrContext
  28709. }
  28710. });
  28711. // expose FunctionalRenderContext for ssr runtime helper installation
  28712. Object.defineProperty(Vue, 'FunctionalRenderContext', {
  28713. value: FunctionalRenderContext
  28714. });
  28715. Vue.version = '2.6.11';
  28716. /**
  28717. * https://raw.githubusercontent.com/Tencent/westore/master/packages/westore/utils/diff.js
  28718. */
  28719. var ARRAYTYPE = '[object Array]';
  28720. var OBJECTTYPE = '[object Object]';
  28721. var NULLTYPE = '[object Null]';
  28722. var UNDEFINEDTYPE = '[object Undefined]';
  28723. // const FUNCTIONTYPE = '[object Function]'
  28724. function diff(current, pre) {
  28725. var result = {};
  28726. syncKeys(current, pre);
  28727. _diff(current, pre, '', result);
  28728. return result
  28729. }
  28730. function syncKeys(current, pre) {
  28731. if (current === pre) { return }
  28732. var rootCurrentType = type(current);
  28733. var rootPreType = type(pre);
  28734. if (rootCurrentType == OBJECTTYPE && rootPreType == OBJECTTYPE) {
  28735. if(Object.keys(current).length >= Object.keys(pre).length){
  28736. for (var key in pre) {
  28737. var currentValue = current[key];
  28738. if (currentValue === undefined) {
  28739. current[key] = null;
  28740. } else {
  28741. syncKeys(currentValue, pre[key]);
  28742. }
  28743. }
  28744. }
  28745. } else if (rootCurrentType == ARRAYTYPE && rootPreType == ARRAYTYPE) {
  28746. if (current.length >= pre.length) {
  28747. pre.forEach(function (item, index) {
  28748. syncKeys(current[index], item);
  28749. });
  28750. }
  28751. }
  28752. }
  28753. function nullOrUndefined(currentType, preType) {
  28754. if(
  28755. (currentType === NULLTYPE || currentType === UNDEFINEDTYPE) &&
  28756. (preType === NULLTYPE || preType === UNDEFINEDTYPE)
  28757. ) {
  28758. return false
  28759. }
  28760. return true
  28761. }
  28762. function _diff(current, pre, path, result) {
  28763. if (current === pre) { return }
  28764. var rootCurrentType = type(current);
  28765. var rootPreType = type(pre);
  28766. if (rootCurrentType == OBJECTTYPE) {
  28767. if (rootPreType != OBJECTTYPE || Object.keys(current).length < Object.keys(pre).length) {
  28768. setResult(result, path, current);
  28769. } else {
  28770. var loop = function ( key ) {
  28771. var currentValue = current[key];
  28772. var preValue = pre[key];
  28773. var currentType = type(currentValue);
  28774. var preType = type(preValue);
  28775. if (currentType != ARRAYTYPE && currentType != OBJECTTYPE) {
  28776. if (currentValue !== pre[key] && nullOrUndefined(currentType, preType)) {
  28777. setResult(result, (path == '' ? '' : path + ".") + key, currentValue);
  28778. }
  28779. } else if (currentType == ARRAYTYPE) {
  28780. if (preType != ARRAYTYPE) {
  28781. setResult(result, (path == '' ? '' : path + ".") + key, currentValue);
  28782. } else {
  28783. if (currentValue.length < preValue.length) {
  28784. setResult(result, (path == '' ? '' : path + ".") + key, currentValue);
  28785. } else {
  28786. currentValue.forEach(function (item, index) {
  28787. _diff(item, preValue[index], (path == '' ? '' : path + ".") + key + '[' + index + ']', result);
  28788. });
  28789. }
  28790. }
  28791. } else if (currentType == OBJECTTYPE) {
  28792. if (preType != OBJECTTYPE || Object.keys(currentValue).length < Object.keys(preValue).length) {
  28793. setResult(result, (path == '' ? '' : path + ".") + key, currentValue);
  28794. } else {
  28795. for (var subKey in currentValue) {
  28796. _diff(currentValue[subKey], preValue[subKey], (path == '' ? '' : path + ".") + key + '.' + subKey, result);
  28797. }
  28798. }
  28799. }
  28800. };
  28801. for (var key in current) loop( key );
  28802. }
  28803. } else if (rootCurrentType == ARRAYTYPE) {
  28804. if (rootPreType != ARRAYTYPE) {
  28805. setResult(result, path, current);
  28806. } else {
  28807. if (current.length < pre.length) {
  28808. setResult(result, path, current);
  28809. } else {
  28810. current.forEach(function (item, index) {
  28811. _diff(item, pre[index], path + '[' + index + ']', result);
  28812. });
  28813. }
  28814. }
  28815. } else {
  28816. setResult(result, path, current);
  28817. }
  28818. }
  28819. function setResult(result, k, v) {
  28820. // if (type(v) != FUNCTIONTYPE) {
  28821. result[k] = v;
  28822. // }
  28823. }
  28824. function type(obj) {
  28825. return Object.prototype.toString.call(obj)
  28826. }
  28827. /* */
  28828. function flushCallbacks$1(vm) {
  28829. if (vm.__next_tick_callbacks && vm.__next_tick_callbacks.length) {
  28830. if (Object({"VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"云咖交易","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG) {
  28831. var mpInstance = vm.$scope;
  28832. console.log('[' + (+new Date) + '][' + (mpInstance.is || mpInstance.route) + '][' + vm._uid +
  28833. ']:flushCallbacks[' + vm.__next_tick_callbacks.length + ']');
  28834. }
  28835. var copies = vm.__next_tick_callbacks.slice(0);
  28836. vm.__next_tick_callbacks.length = 0;
  28837. for (var i = 0; i < copies.length; i++) {
  28838. copies[i]();
  28839. }
  28840. }
  28841. }
  28842. function hasRenderWatcher(vm) {
  28843. return queue.find(function (watcher) { return vm._watcher === watcher; })
  28844. }
  28845. function nextTick$1(vm, cb) {
  28846. //1.nextTick 之前 已 setData 且 setData 还未回调完成
  28847. //2.nextTick 之前存在 render watcher
  28848. if (!vm.__next_tick_pending && !hasRenderWatcher(vm)) {
  28849. if(Object({"VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"云咖交易","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG){
  28850. var mpInstance = vm.$scope;
  28851. console.log('[' + (+new Date) + '][' + (mpInstance.is || mpInstance.route) + '][' + vm._uid +
  28852. ']:nextVueTick');
  28853. }
  28854. return nextTick(cb, vm)
  28855. }else{
  28856. if(Object({"VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"云咖交易","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG){
  28857. var mpInstance$1 = vm.$scope;
  28858. console.log('[' + (+new Date) + '][' + (mpInstance$1.is || mpInstance$1.route) + '][' + vm._uid +
  28859. ']:nextMPTick');
  28860. }
  28861. }
  28862. var _resolve;
  28863. if (!vm.__next_tick_callbacks) {
  28864. vm.__next_tick_callbacks = [];
  28865. }
  28866. vm.__next_tick_callbacks.push(function () {
  28867. if (cb) {
  28868. try {
  28869. cb.call(vm);
  28870. } catch (e) {
  28871. handleError(e, vm, 'nextTick');
  28872. }
  28873. } else if (_resolve) {
  28874. _resolve(vm);
  28875. }
  28876. });
  28877. // $flow-disable-line
  28878. if (!cb && typeof Promise !== 'undefined') {
  28879. return new Promise(function (resolve) {
  28880. _resolve = resolve;
  28881. })
  28882. }
  28883. }
  28884. /* */
  28885. function clearInstance(key, value) {
  28886. // 简易去除 Vue 和小程序组件实例
  28887. if (value) {
  28888. if (value._isVue || value.__v_isMPComponent) {
  28889. return {}
  28890. }
  28891. }
  28892. return value
  28893. }
  28894. function cloneWithData(vm) {
  28895. // 确保当前 vm 所有数据被同步
  28896. var ret = Object.create(null);
  28897. var dataKeys = [].concat(
  28898. Object.keys(vm._data || {}),
  28899. Object.keys(vm._computedWatchers || {}));
  28900. dataKeys.reduce(function(ret, key) {
  28901. ret[key] = vm[key];
  28902. return ret
  28903. }, ret);
  28904. // vue-composition-api
  28905. var compositionApiState = vm.__composition_api_state__ || vm.__secret_vfa_state__;
  28906. var rawBindings = compositionApiState && compositionApiState.rawBindings;
  28907. if (rawBindings) {
  28908. Object.keys(rawBindings).forEach(function (key) {
  28909. ret[key] = vm[key];
  28910. });
  28911. }
  28912. //TODO 需要把无用数据处理掉,比如 list=>l0 则 list 需要移除,否则多传输一份数据
  28913. Object.assign(ret, vm.$mp.data || {});
  28914. if (
  28915. Array.isArray(vm.$options.behaviors) &&
  28916. vm.$options.behaviors.indexOf('uni://form-field') !== -1
  28917. ) { //form-field
  28918. ret['name'] = vm.name;
  28919. ret['value'] = vm.value;
  28920. }
  28921. return JSON.parse(JSON.stringify(ret, clearInstance))
  28922. }
  28923. var patch = function(oldVnode, vnode) {
  28924. var this$1 = this;
  28925. if (vnode === null) { //destroy
  28926. return
  28927. }
  28928. if (this.mpType === 'page' || this.mpType === 'component') {
  28929. var mpInstance = this.$scope;
  28930. var data = Object.create(null);
  28931. try {
  28932. data = cloneWithData(this);
  28933. } catch (err) {
  28934. console.error(err);
  28935. }
  28936. data.__webviewId__ = mpInstance.data.__webviewId__;
  28937. var mpData = Object.create(null);
  28938. Object.keys(data).forEach(function (key) { //仅同步 data 中有的数据
  28939. mpData[key] = mpInstance.data[key];
  28940. });
  28941. var diffData = this.$shouldDiffData === false ? data : diff(data, mpData);
  28942. if (Object.keys(diffData).length) {
  28943. if (Object({"VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"云咖交易","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG) {
  28944. console.log('[' + (+new Date) + '][' + (mpInstance.is || mpInstance.route) + '][' + this._uid +
  28945. ']差量更新',
  28946. JSON.stringify(diffData));
  28947. }
  28948. this.__next_tick_pending = true;
  28949. mpInstance.setData(diffData, function () {
  28950. this$1.__next_tick_pending = false;
  28951. flushCallbacks$1(this$1);
  28952. });
  28953. } else {
  28954. flushCallbacks$1(this);
  28955. }
  28956. }
  28957. };
  28958. /* */
  28959. function createEmptyRender() {
  28960. }
  28961. function mountComponent$1(
  28962. vm,
  28963. el,
  28964. hydrating
  28965. ) {
  28966. if (!vm.mpType) {//main.js 中的 new Vue
  28967. return vm
  28968. }
  28969. if (vm.mpType === 'app') {
  28970. vm.$options.render = createEmptyRender;
  28971. }
  28972. if (!vm.$options.render) {
  28973. vm.$options.render = createEmptyRender;
  28974. if (true) {
  28975. /* istanbul ignore if */
  28976. if ((vm.$options.template && vm.$options.template.charAt(0) !== '#') ||
  28977. vm.$options.el || el) {
  28978. warn(
  28979. 'You are using the runtime-only build of Vue where the template ' +
  28980. 'compiler is not available. Either pre-compile the templates into ' +
  28981. 'render functions, or use the compiler-included build.',
  28982. vm
  28983. );
  28984. } else {
  28985. warn(
  28986. 'Failed to mount component: template or render function not defined.',
  28987. vm
  28988. );
  28989. }
  28990. }
  28991. }
  28992. !vm._$fallback && callHook(vm, 'beforeMount');
  28993. var updateComponent = function () {
  28994. vm._update(vm._render(), hydrating);
  28995. };
  28996. // we set this to vm._watcher inside the watcher's constructor
  28997. // since the watcher's initial patch may call $forceUpdate (e.g. inside child
  28998. // component's mounted hook), which relies on vm._watcher being already defined
  28999. new Watcher(vm, updateComponent, noop, {
  29000. before: function before() {
  29001. if (vm._isMounted && !vm._isDestroyed) {
  29002. callHook(vm, 'beforeUpdate');
  29003. }
  29004. }
  29005. }, true /* isRenderWatcher */);
  29006. hydrating = false;
  29007. return vm
  29008. }
  29009. /* */
  29010. function renderClass (
  29011. staticClass,
  29012. dynamicClass
  29013. ) {
  29014. if (isDef(staticClass) || isDef(dynamicClass)) {
  29015. return concat(staticClass, stringifyClass(dynamicClass))
  29016. }
  29017. /* istanbul ignore next */
  29018. return ''
  29019. }
  29020. function concat (a, b) {
  29021. return a ? b ? (a + ' ' + b) : a : (b || '')
  29022. }
  29023. function stringifyClass (value) {
  29024. if (Array.isArray(value)) {
  29025. return stringifyArray(value)
  29026. }
  29027. if (isObject(value)) {
  29028. return stringifyObject(value)
  29029. }
  29030. if (typeof value === 'string') {
  29031. return value
  29032. }
  29033. /* istanbul ignore next */
  29034. return ''
  29035. }
  29036. function stringifyArray (value) {
  29037. var res = '';
  29038. var stringified;
  29039. for (var i = 0, l = value.length; i < l; i++) {
  29040. if (isDef(stringified = stringifyClass(value[i])) && stringified !== '') {
  29041. if (res) { res += ' '; }
  29042. res += stringified;
  29043. }
  29044. }
  29045. return res
  29046. }
  29047. function stringifyObject (value) {
  29048. var res = '';
  29049. for (var key in value) {
  29050. if (value[key]) {
  29051. if (res) { res += ' '; }
  29052. res += key;
  29053. }
  29054. }
  29055. return res
  29056. }
  29057. /* */
  29058. var parseStyleText = cached(function (cssText) {
  29059. var res = {};
  29060. var listDelimiter = /;(?![^(]*\))/g;
  29061. var propertyDelimiter = /:(.+)/;
  29062. cssText.split(listDelimiter).forEach(function (item) {
  29063. if (item) {
  29064. var tmp = item.split(propertyDelimiter);
  29065. tmp.length > 1 && (res[tmp[0].trim()] = tmp[1].trim());
  29066. }
  29067. });
  29068. return res
  29069. });
  29070. // normalize possible array / string values into Object
  29071. function normalizeStyleBinding (bindingStyle) {
  29072. if (Array.isArray(bindingStyle)) {
  29073. return toObject(bindingStyle)
  29074. }
  29075. if (typeof bindingStyle === 'string') {
  29076. return parseStyleText(bindingStyle)
  29077. }
  29078. return bindingStyle
  29079. }
  29080. /* */
  29081. var MP_METHODS = ['createSelectorQuery', 'createIntersectionObserver', 'selectAllComponents', 'selectComponent'];
  29082. function getTarget(obj, path) {
  29083. var parts = path.split('.');
  29084. var key = parts[0];
  29085. if (key.indexOf('__$n') === 0) { //number index
  29086. key = parseInt(key.replace('__$n', ''));
  29087. }
  29088. if (parts.length === 1) {
  29089. return obj[key]
  29090. }
  29091. return getTarget(obj[key], parts.slice(1).join('.'))
  29092. }
  29093. function internalMixin(Vue) {
  29094. Vue.config.errorHandler = function(err, vm, info) {
  29095. Vue.util.warn(("Error in " + info + ": \"" + (err.toString()) + "\""), vm);
  29096. console.error(err);
  29097. /* eslint-disable no-undef */
  29098. var app = typeof getApp === 'function' && getApp();
  29099. if (app && app.onError) {
  29100. app.onError(err);
  29101. }
  29102. };
  29103. var oldEmit = Vue.prototype.$emit;
  29104. Vue.prototype.$emit = function(event) {
  29105. if (this.$scope && event) {
  29106. var triggerEvent = this.$scope['_triggerEvent'] || this.$scope['triggerEvent'];
  29107. if (triggerEvent) {
  29108. try {
  29109. triggerEvent.call(this.$scope, event, {
  29110. __args__: toArray(arguments, 1)
  29111. });
  29112. } catch (error) {
  29113. }
  29114. }
  29115. }
  29116. return oldEmit.apply(this, arguments)
  29117. };
  29118. Vue.prototype.$nextTick = function(fn) {
  29119. return nextTick$1(this, fn)
  29120. };
  29121. MP_METHODS.forEach(function (method) {
  29122. Vue.prototype[method] = function(args) {
  29123. if (this.$scope && this.$scope[method]) {
  29124. return this.$scope[method](args)
  29125. }
  29126. // mp-alipay
  29127. if (typeof my === 'undefined') {
  29128. return
  29129. }
  29130. if (method === 'createSelectorQuery') {
  29131. /* eslint-disable no-undef */
  29132. return my.createSelectorQuery(args)
  29133. } else if (method === 'createIntersectionObserver') {
  29134. /* eslint-disable no-undef */
  29135. return my.createIntersectionObserver(args)
  29136. }
  29137. // TODO mp-alipay 暂不支持 selectAllComponents,selectComponent
  29138. };
  29139. });
  29140. Vue.prototype.__init_provide = initProvide;
  29141. Vue.prototype.__init_injections = initInjections;
  29142. Vue.prototype.__call_hook = function(hook, args) {
  29143. var vm = this;
  29144. // #7573 disable dep collection when invoking lifecycle hooks
  29145. pushTarget();
  29146. var handlers = vm.$options[hook];
  29147. var info = hook + " hook";
  29148. var ret;
  29149. if (handlers) {
  29150. for (var i = 0, j = handlers.length; i < j; i++) {
  29151. ret = invokeWithErrorHandling(handlers[i], vm, args ? [args] : null, vm, info);
  29152. }
  29153. }
  29154. if (vm._hasHookEvent) {
  29155. vm.$emit('hook:' + hook, args);
  29156. }
  29157. popTarget();
  29158. return ret
  29159. };
  29160. Vue.prototype.__set_model = function(target, key, value, modifiers) {
  29161. if (Array.isArray(modifiers)) {
  29162. if (modifiers.indexOf('trim') !== -1) {
  29163. value = value.trim();
  29164. }
  29165. if (modifiers.indexOf('number') !== -1) {
  29166. value = this._n(value);
  29167. }
  29168. }
  29169. if (!target) {
  29170. target = this;
  29171. }
  29172. // 解决动态属性添加
  29173. Vue.set(target, key, value);
  29174. };
  29175. Vue.prototype.__set_sync = function(target, key, value) {
  29176. if (!target) {
  29177. target = this;
  29178. }
  29179. // 解决动态属性添加
  29180. Vue.set(target, key, value);
  29181. };
  29182. Vue.prototype.__get_orig = function(item) {
  29183. if (isPlainObject(item)) {
  29184. return item['$orig'] || item
  29185. }
  29186. return item
  29187. };
  29188. Vue.prototype.__get_value = function(dataPath, target) {
  29189. return getTarget(target || this, dataPath)
  29190. };
  29191. Vue.prototype.__get_class = function(dynamicClass, staticClass) {
  29192. return renderClass(staticClass, dynamicClass)
  29193. };
  29194. Vue.prototype.__get_style = function(dynamicStyle, staticStyle) {
  29195. if (!dynamicStyle && !staticStyle) {
  29196. return ''
  29197. }
  29198. var dynamicStyleObj = normalizeStyleBinding(dynamicStyle);
  29199. var styleObj = staticStyle ? extend(staticStyle, dynamicStyleObj) : dynamicStyleObj;
  29200. return Object.keys(styleObj).map(function (name) { return ((hyphenate(name)) + ":" + (styleObj[name])); }).join(';')
  29201. };
  29202. Vue.prototype.__map = function(val, iteratee) {
  29203. //TODO 暂不考虑 string
  29204. var ret, i, l, keys, key;
  29205. if (Array.isArray(val)) {
  29206. ret = new Array(val.length);
  29207. for (i = 0, l = val.length; i < l; i++) {
  29208. ret[i] = iteratee(val[i], i);
  29209. }
  29210. return ret
  29211. } else if (isObject(val)) {
  29212. keys = Object.keys(val);
  29213. ret = Object.create(null);
  29214. for (i = 0, l = keys.length; i < l; i++) {
  29215. key = keys[i];
  29216. ret[key] = iteratee(val[key], key, i);
  29217. }
  29218. return ret
  29219. } else if (typeof val === 'number') {
  29220. ret = new Array(val);
  29221. for (i = 0, l = val; i < l; i++) {
  29222. // 第一个参数暂时仍和小程序一致
  29223. ret[i] = iteratee(i, i);
  29224. }
  29225. return ret
  29226. }
  29227. return []
  29228. };
  29229. }
  29230. /* */
  29231. var LIFECYCLE_HOOKS$1 = [
  29232. //App
  29233. 'onLaunch',
  29234. 'onShow',
  29235. 'onHide',
  29236. 'onUniNViewMessage',
  29237. 'onPageNotFound',
  29238. 'onThemeChange',
  29239. 'onError',
  29240. 'onUnhandledRejection',
  29241. //Page
  29242. 'onInit',
  29243. 'onLoad',
  29244. // 'onShow',
  29245. 'onReady',
  29246. // 'onHide',
  29247. 'onUnload',
  29248. 'onPullDownRefresh',
  29249. 'onReachBottom',
  29250. 'onTabItemTap',
  29251. 'onAddToFavorites',
  29252. 'onShareTimeline',
  29253. 'onShareAppMessage',
  29254. 'onResize',
  29255. 'onPageScroll',
  29256. 'onNavigationBarButtonTap',
  29257. 'onBackPress',
  29258. 'onNavigationBarSearchInputChanged',
  29259. 'onNavigationBarSearchInputConfirmed',
  29260. 'onNavigationBarSearchInputClicked',
  29261. //Component
  29262. // 'onReady', // 兼容旧版本,应该移除该事件
  29263. 'onPageShow',
  29264. 'onPageHide',
  29265. 'onPageResize',
  29266. 'onUploadDouyinVideo'
  29267. ];
  29268. function lifecycleMixin$1(Vue) {
  29269. //fixed vue-class-component
  29270. var oldExtend = Vue.extend;
  29271. Vue.extend = function(extendOptions) {
  29272. extendOptions = extendOptions || {};
  29273. var methods = extendOptions.methods;
  29274. if (methods) {
  29275. Object.keys(methods).forEach(function (methodName) {
  29276. if (LIFECYCLE_HOOKS$1.indexOf(methodName)!==-1) {
  29277. extendOptions[methodName] = methods[methodName];
  29278. delete methods[methodName];
  29279. }
  29280. });
  29281. }
  29282. return oldExtend.call(this, extendOptions)
  29283. };
  29284. var strategies = Vue.config.optionMergeStrategies;
  29285. var mergeHook = strategies.created;
  29286. LIFECYCLE_HOOKS$1.forEach(function (hook) {
  29287. strategies[hook] = mergeHook;
  29288. });
  29289. Vue.prototype.__lifecycle_hooks__ = LIFECYCLE_HOOKS$1;
  29290. }
  29291. /* */
  29292. // install platform patch function
  29293. Vue.prototype.__patch__ = patch;
  29294. // public mount method
  29295. Vue.prototype.$mount = function(
  29296. el ,
  29297. hydrating
  29298. ) {
  29299. return mountComponent$1(this, el, hydrating)
  29300. };
  29301. lifecycleMixin$1(Vue);
  29302. internalMixin(Vue);
  29303. /* */
  29304. /* harmony default export */ __webpack_exports__["default"] = (Vue);
  29305. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../../webpack/buildin/global.js */ 3)))
  29306. /***/ }),
  29307. /***/ 26:
  29308. /*!*******************************************************!*\
  29309. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/pages.json ***!
  29310. \*******************************************************/
  29311. /*! no static exports found */
  29312. /***/ (function(module, exports) {
  29313. /***/ }),
  29314. /***/ 286:
  29315. /*!**********************************************************!*\
  29316. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/api/seller.js ***!
  29317. \**********************************************************/
  29318. /*! no static exports found */
  29319. /***/ (function(module, exports, __webpack_require__) {
  29320. "use strict";
  29321. Object.defineProperty(exports, "__esModule", {
  29322. value: true
  29323. });
  29324. exports.uploadInfoFile = exports.saveStoreJoinin5 = exports.saveStoreJoinin4 = exports.saveStoreJoinin3 = exports.saveStoreJoinin2 = exports.logout = exports.getStoreJoinin = exports.getStoreGrade = exports.getStoreClass = exports.getSellerLogList = exports.getSellerInfo = exports.getSellerCostList = void 0;
  29325. var _network = __webpack_require__(/*! ../util/network */ 38);
  29326. // 卖家退出登录
  29327. var logout = function logout(seller_name) {
  29328. return (0, _network.requestApi)('/Sellerlogout/index', 'POST', {
  29329. seller_name: seller_name,
  29330. client: 'wap'
  29331. }, 'seller');
  29332. };
  29333. // 获取店铺基本信息
  29334. exports.logout = logout;
  29335. var getSellerInfo = function getSellerInfo() {
  29336. return (0, _network.requestApi)('/Sellerindex/index', 'POST', {
  29337. 'client_type': 'wap'
  29338. }, 'seller');
  29339. };
  29340. exports.getSellerInfo = getSellerInfo;
  29341. var getStoreClass = function getStoreClass() {
  29342. return (0, _network.requestApi)('/store/get_store_class', 'POST', {});
  29343. };
  29344. exports.getStoreClass = getStoreClass;
  29345. var getStoreGrade = function getStoreGrade() {
  29346. return (0, _network.requestApi)('/store/get_store_grade', 'POST', {});
  29347. };
  29348. exports.getStoreGrade = getStoreGrade;
  29349. var getStoreJoinin = function getStoreJoinin() {
  29350. return (0, _network.requestApi)('/Sellerjoinin/get_info', 'POST', {}, 'member');
  29351. };
  29352. exports.getStoreJoinin = getStoreJoinin;
  29353. var saveStoreJoinin2 = function saveStoreJoinin2(joinin) {
  29354. return (0, _network.requestApi)('/Sellerjoinin/step2', 'POST', joinin, 'member');
  29355. };
  29356. exports.saveStoreJoinin2 = saveStoreJoinin2;
  29357. var saveStoreJoinin3 = function saveStoreJoinin3(joinin) {
  29358. return (0, _network.requestApi)('/Sellerjoinin/step3', 'POST', joinin, 'member');
  29359. };
  29360. exports.saveStoreJoinin3 = saveStoreJoinin3;
  29361. var saveStoreJoinin4 = function saveStoreJoinin4(joinin) {
  29362. return (0, _network.requestApi)('/Sellerjoinin/step4', 'POST', joinin, 'member');
  29363. };
  29364. exports.saveStoreJoinin4 = saveStoreJoinin4;
  29365. var saveStoreJoinin5 = function saveStoreJoinin5(joinin) {
  29366. return (0, _network.requestApi)('/Sellerjoinin/pay_save', 'POST', joinin, 'member');
  29367. };
  29368. exports.saveStoreJoinin5 = saveStoreJoinin5;
  29369. var uploadInfoFile = function uploadInfoFile(file) {
  29370. return (0, _network.requestApi)('/Sellerjoinin/upload_image', 'POST', file, 'member', true);
  29371. };
  29372. // 获取店铺日志记录
  29373. exports.uploadInfoFile = uploadInfoFile;
  29374. var getSellerLogList = function getSellerLogList() {
  29375. return (0, _network.requestApi)('/Sellerlog/log_list', 'POST', {}, 'seller');
  29376. };
  29377. // 获取店铺的消费记录
  29378. exports.getSellerLogList = getSellerLogList;
  29379. var getSellerCostList = function getSellerCostList() {
  29380. return (0, _network.requestApi)('/Sellercost/cost_list', 'POST', {}, 'seller');
  29381. };
  29382. exports.getSellerCostList = getSellerCostList;
  29383. /***/ }),
  29384. /***/ 3:
  29385. /*!***********************************!*\
  29386. !*** (webpack)/buildin/global.js ***!
  29387. \***********************************/
  29388. /*! no static exports found */
  29389. /***/ (function(module, exports) {
  29390. var g;
  29391. // This works in non-strict mode
  29392. g = (function() {
  29393. return this;
  29394. })();
  29395. try {
  29396. // This works if eval is allowed (see CSP)
  29397. g = g || new Function("return this")();
  29398. } catch (e) {
  29399. // This works if the window reference is available
  29400. if (typeof window === "object") g = window;
  29401. }
  29402. // g can still be undefined, but nothing to do about it...
  29403. // We return undefined, instead of nothing here, so it's
  29404. // easier to handle this case. if(!global) { ...}
  29405. module.exports = g;
  29406. /***/ }),
  29407. /***/ 32:
  29408. /*!**********************************************************************************************************!*\
  29409. !*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js ***!
  29410. \**********************************************************************************************************/
  29411. /*! exports provided: default */
  29412. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  29413. "use strict";
  29414. __webpack_require__.r(__webpack_exports__);
  29415. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return normalizeComponent; });
  29416. /* globals __VUE_SSR_CONTEXT__ */
  29417. // IMPORTANT: Do NOT use ES2015 features in this file (except for modules).
  29418. // This module is a runtime utility for cleaner component module output and will
  29419. // be included in the final webpack user bundle.
  29420. function normalizeComponent (
  29421. scriptExports,
  29422. render,
  29423. staticRenderFns,
  29424. functionalTemplate,
  29425. injectStyles,
  29426. scopeId,
  29427. moduleIdentifier, /* server only */
  29428. shadowMode, /* vue-cli only */
  29429. components, // fixed by xxxxxx auto components
  29430. renderjs // fixed by xxxxxx renderjs
  29431. ) {
  29432. // Vue.extend constructor export interop
  29433. var options = typeof scriptExports === 'function'
  29434. ? scriptExports.options
  29435. : scriptExports
  29436. // fixed by xxxxxx auto components
  29437. if (components) {
  29438. if (!options.components) {
  29439. options.components = {}
  29440. }
  29441. var hasOwn = Object.prototype.hasOwnProperty
  29442. for (var name in components) {
  29443. if (hasOwn.call(components, name) && !hasOwn.call(options.components, name)) {
  29444. options.components[name] = components[name]
  29445. }
  29446. }
  29447. }
  29448. // fixed by xxxxxx renderjs
  29449. if (renderjs) {
  29450. if(typeof renderjs.beforeCreate === 'function'){
  29451. renderjs.beforeCreate = [renderjs.beforeCreate]
  29452. }
  29453. (renderjs.beforeCreate || (renderjs.beforeCreate = [])).unshift(function() {
  29454. this[renderjs.__module] = this
  29455. });
  29456. (options.mixins || (options.mixins = [])).push(renderjs)
  29457. }
  29458. // render functions
  29459. if (render) {
  29460. options.render = render
  29461. options.staticRenderFns = staticRenderFns
  29462. options._compiled = true
  29463. }
  29464. // functional template
  29465. if (functionalTemplate) {
  29466. options.functional = true
  29467. }
  29468. // scopedId
  29469. if (scopeId) {
  29470. options._scopeId = 'data-v-' + scopeId
  29471. }
  29472. var hook
  29473. if (moduleIdentifier) { // server build
  29474. hook = function (context) {
  29475. // 2.3 injection
  29476. context =
  29477. context || // cached call
  29478. (this.$vnode && this.$vnode.ssrContext) || // stateful
  29479. (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
  29480. // 2.2 with runInNewContext: true
  29481. if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
  29482. context = __VUE_SSR_CONTEXT__
  29483. }
  29484. // inject component styles
  29485. if (injectStyles) {
  29486. injectStyles.call(this, context)
  29487. }
  29488. // register component module identifier for async chunk inferrence
  29489. if (context && context._registeredComponents) {
  29490. context._registeredComponents.add(moduleIdentifier)
  29491. }
  29492. }
  29493. // used by ssr in case component is cached and beforeCreate
  29494. // never gets called
  29495. options._ssrRegister = hook
  29496. } else if (injectStyles) {
  29497. hook = shadowMode
  29498. ? function () { injectStyles.call(this, this.$root.$options.shadowRoot) }
  29499. : injectStyles
  29500. }
  29501. if (hook) {
  29502. if (options.functional) {
  29503. // for template-only hot-reload because in that case the render fn doesn't
  29504. // go through the normalizer
  29505. options._injectStyles = hook
  29506. // register for functioal component in vue file
  29507. var originalRender = options.render
  29508. options.render = function renderWithStyleInjection (h, context) {
  29509. hook.call(context)
  29510. return originalRender(h, context)
  29511. }
  29512. } else {
  29513. // inject component registration as beforeCreate hook
  29514. var existing = options.beforeCreate
  29515. options.beforeCreate = existing
  29516. ? [].concat(existing, hook)
  29517. : [hook]
  29518. }
  29519. }
  29520. return {
  29521. exports: scriptExports,
  29522. options: options
  29523. }
  29524. }
  29525. /***/ }),
  29526. /***/ 33:
  29527. /*!***********************************************************!*\
  29528. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/store/index.js ***!
  29529. \***********************************************************/
  29530. /*! no static exports found */
  29531. /***/ (function(module, exports, __webpack_require__) {
  29532. "use strict";
  29533. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  29534. Object.defineProperty(exports, "__esModule", {
  29535. value: true
  29536. });
  29537. exports.default = void 0;
  29538. var _vue = _interopRequireDefault(__webpack_require__(/*! vue */ 25));
  29539. var _vuex = _interopRequireDefault(__webpack_require__(/*! vuex */ 34));
  29540. var _goodsclass = _interopRequireDefault(__webpack_require__(/*! ./modules/goodsclass */ 35));
  29541. var _goodsdetail = _interopRequireDefault(__webpack_require__(/*! ./modules/goodsdetail */ 40));
  29542. var _pointsgoods = _interopRequireDefault(__webpack_require__(/*! ./modules/pointsgoods */ 42));
  29543. var _home = _interopRequireDefault(__webpack_require__(/*! ./modules/home */ 43));
  29544. var _homesearch = _interopRequireDefault(__webpack_require__(/*! ./modules/homesearch */ 46));
  29545. var _homecart = _interopRequireDefault(__webpack_require__(/*! ./modules/homecart */ 47));
  29546. var _member = _interopRequireDefault(__webpack_require__(/*! ./modules/member */ 48));
  29547. var _config = _interopRequireDefault(__webpack_require__(/*! ./modules/config */ 49));
  29548. // 商品分类
  29549. // 商品详情
  29550. // 积分商品
  29551. // 首页
  29552. // 搜索
  29553. // 购物车
  29554. // 用户信息
  29555. // 配置信息
  29556. _vue.default.use(_vuex.default);
  29557. var _default = new _vuex.default.Store({
  29558. modules: {
  29559. home: _home.default,
  29560. homesearch: _homesearch.default,
  29561. homecart: _homecart.default,
  29562. goodsclass: _goodsclass.default,
  29563. goodsdetail: _goodsdetail.default,
  29564. pointsgoods: _pointsgoods.default,
  29565. member: _member.default,
  29566. config: _config.default
  29567. }
  29568. });
  29569. exports.default = _default;
  29570. /***/ }),
  29571. /***/ 335:
  29572. /*!****************************************************************!*\
  29573. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/api/memberForget.js ***!
  29574. \****************************************************************/
  29575. /*! no static exports found */
  29576. /***/ (function(module, exports, __webpack_require__) {
  29577. "use strict";
  29578. Object.defineProperty(exports, "__esModule", {
  29579. value: true
  29580. });
  29581. exports.forget = void 0;
  29582. var _network = __webpack_require__(/*! ../util/network */ 38);
  29583. var forget = function forget(userName, captcha, password, confirmPassword) {
  29584. return (0, _network.requestApi)('/Connect/find_password', 'POST', {
  29585. 'phone': userName,
  29586. 'captcha': captcha,
  29587. 'password': password,
  29588. 'password_confirm': confirmPassword,
  29589. 'client': 'wap'
  29590. });
  29591. };
  29592. exports.forget = forget;
  29593. /***/ }),
  29594. /***/ 336:
  29595. /*!**********************************************************!*\
  29596. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/api/common.js ***!
  29597. \**********************************************************/
  29598. /*! no static exports found */
  29599. /***/ (function(module, exports, __webpack_require__) {
  29600. "use strict";
  29601. Object.defineProperty(exports, "__esModule", {
  29602. value: true
  29603. });
  29604. exports.getWechatShare = exports.getSmsCaptcha = exports.checkPictureCaptcha = void 0;
  29605. var _network = __webpack_require__(/*! ../util/network */ 38);
  29606. // 获取手机验证码
  29607. var getSmsCaptcha = function getSmsCaptcha(type, phone) {
  29608. return (0, _network.requestApi)('/Connect/get_sms_captcha', 'GET', {
  29609. 'type': type,
  29610. 'phone': phone
  29611. });
  29612. };
  29613. // 验证码检测
  29614. exports.getSmsCaptcha = getSmsCaptcha;
  29615. var checkPictureCaptcha = function checkPictureCaptcha(captcha) {
  29616. return (0, _network.requestApi)('/Seccode/check', 'POST', {
  29617. 'captcha': captcha
  29618. });
  29619. };
  29620. exports.checkPictureCaptcha = checkPictureCaptcha;
  29621. var getWechatShare = function getWechatShare(url) {
  29622. return (0, _network.requestApi)('/index/getWechatShare', 'POST', {
  29623. 'url': url
  29624. });
  29625. };
  29626. exports.getWechatShare = getWechatShare;
  29627. /***/ }),
  29628. /***/ 34:
  29629. /*!**************************************************************************************!*\
  29630. !*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vuex3/dist/vuex.common.js ***!
  29631. \**************************************************************************************/
  29632. /*! no static exports found */
  29633. /***/ (function(module, exports, __webpack_require__) {
  29634. "use strict";
  29635. /* WEBPACK VAR INJECTION */(function(global) {/*!
  29636. * vuex v3.6.2
  29637. * (c) 2021 Evan You
  29638. * @license MIT
  29639. */
  29640. function applyMixin (Vue) {
  29641. var version = Number(Vue.version.split('.')[0]);
  29642. if (version >= 2) {
  29643. Vue.mixin({ beforeCreate: vuexInit });
  29644. } else {
  29645. // override init and inject vuex init procedure
  29646. // for 1.x backwards compatibility.
  29647. var _init = Vue.prototype._init;
  29648. Vue.prototype._init = function (options) {
  29649. if ( options === void 0 ) options = {};
  29650. options.init = options.init
  29651. ? [vuexInit].concat(options.init)
  29652. : vuexInit;
  29653. _init.call(this, options);
  29654. };
  29655. }
  29656. /**
  29657. * Vuex init hook, injected into each instances init hooks list.
  29658. */
  29659. function vuexInit () {
  29660. var options = this.$options;
  29661. // store injection
  29662. if (options.store) {
  29663. this.$store = typeof options.store === 'function'
  29664. ? options.store()
  29665. : options.store;
  29666. } else if (options.parent && options.parent.$store) {
  29667. this.$store = options.parent.$store;
  29668. }
  29669. }
  29670. }
  29671. var target = typeof window !== 'undefined'
  29672. ? window
  29673. : typeof global !== 'undefined'
  29674. ? global
  29675. : {};
  29676. var devtoolHook = target.__VUE_DEVTOOLS_GLOBAL_HOOK__;
  29677. function devtoolPlugin (store) {
  29678. if (!devtoolHook) { return }
  29679. store._devtoolHook = devtoolHook;
  29680. devtoolHook.emit('vuex:init', store);
  29681. devtoolHook.on('vuex:travel-to-state', function (targetState) {
  29682. store.replaceState(targetState);
  29683. });
  29684. store.subscribe(function (mutation, state) {
  29685. devtoolHook.emit('vuex:mutation', mutation, state);
  29686. }, { prepend: true });
  29687. store.subscribeAction(function (action, state) {
  29688. devtoolHook.emit('vuex:action', action, state);
  29689. }, { prepend: true });
  29690. }
  29691. /**
  29692. * Get the first item that pass the test
  29693. * by second argument function
  29694. *
  29695. * @param {Array} list
  29696. * @param {Function} f
  29697. * @return {*}
  29698. */
  29699. function find (list, f) {
  29700. return list.filter(f)[0]
  29701. }
  29702. /**
  29703. * Deep copy the given object considering circular structure.
  29704. * This function caches all nested objects and its copies.
  29705. * If it detects circular structure, use cached copy to avoid infinite loop.
  29706. *
  29707. * @param {*} obj
  29708. * @param {Array<Object>} cache
  29709. * @return {*}
  29710. */
  29711. function deepCopy (obj, cache) {
  29712. if ( cache === void 0 ) cache = [];
  29713. // just return if obj is immutable value
  29714. if (obj === null || typeof obj !== 'object') {
  29715. return obj
  29716. }
  29717. // if obj is hit, it is in circular structure
  29718. var hit = find(cache, function (c) { return c.original === obj; });
  29719. if (hit) {
  29720. return hit.copy
  29721. }
  29722. var copy = Array.isArray(obj) ? [] : {};
  29723. // put the copy into cache at first
  29724. // because we want to refer it in recursive deepCopy
  29725. cache.push({
  29726. original: obj,
  29727. copy: copy
  29728. });
  29729. Object.keys(obj).forEach(function (key) {
  29730. copy[key] = deepCopy(obj[key], cache);
  29731. });
  29732. return copy
  29733. }
  29734. /**
  29735. * forEach for object
  29736. */
  29737. function forEachValue (obj, fn) {
  29738. Object.keys(obj).forEach(function (key) { return fn(obj[key], key); });
  29739. }
  29740. function isObject (obj) {
  29741. return obj !== null && typeof obj === 'object'
  29742. }
  29743. function isPromise (val) {
  29744. return val && typeof val.then === 'function'
  29745. }
  29746. function assert (condition, msg) {
  29747. if (!condition) { throw new Error(("[vuex] " + msg)) }
  29748. }
  29749. function partial (fn, arg) {
  29750. return function () {
  29751. return fn(arg)
  29752. }
  29753. }
  29754. // Base data struct for store's module, package with some attribute and method
  29755. var Module = function Module (rawModule, runtime) {
  29756. this.runtime = runtime;
  29757. // Store some children item
  29758. this._children = Object.create(null);
  29759. // Store the origin module object which passed by programmer
  29760. this._rawModule = rawModule;
  29761. var rawState = rawModule.state;
  29762. // Store the origin module's state
  29763. this.state = (typeof rawState === 'function' ? rawState() : rawState) || {};
  29764. };
  29765. var prototypeAccessors = { namespaced: { configurable: true } };
  29766. prototypeAccessors.namespaced.get = function () {
  29767. return !!this._rawModule.namespaced
  29768. };
  29769. Module.prototype.addChild = function addChild (key, module) {
  29770. this._children[key] = module;
  29771. };
  29772. Module.prototype.removeChild = function removeChild (key) {
  29773. delete this._children[key];
  29774. };
  29775. Module.prototype.getChild = function getChild (key) {
  29776. return this._children[key]
  29777. };
  29778. Module.prototype.hasChild = function hasChild (key) {
  29779. return key in this._children
  29780. };
  29781. Module.prototype.update = function update (rawModule) {
  29782. this._rawModule.namespaced = rawModule.namespaced;
  29783. if (rawModule.actions) {
  29784. this._rawModule.actions = rawModule.actions;
  29785. }
  29786. if (rawModule.mutations) {
  29787. this._rawModule.mutations = rawModule.mutations;
  29788. }
  29789. if (rawModule.getters) {
  29790. this._rawModule.getters = rawModule.getters;
  29791. }
  29792. };
  29793. Module.prototype.forEachChild = function forEachChild (fn) {
  29794. forEachValue(this._children, fn);
  29795. };
  29796. Module.prototype.forEachGetter = function forEachGetter (fn) {
  29797. if (this._rawModule.getters) {
  29798. forEachValue(this._rawModule.getters, fn);
  29799. }
  29800. };
  29801. Module.prototype.forEachAction = function forEachAction (fn) {
  29802. if (this._rawModule.actions) {
  29803. forEachValue(this._rawModule.actions, fn);
  29804. }
  29805. };
  29806. Module.prototype.forEachMutation = function forEachMutation (fn) {
  29807. if (this._rawModule.mutations) {
  29808. forEachValue(this._rawModule.mutations, fn);
  29809. }
  29810. };
  29811. Object.defineProperties( Module.prototype, prototypeAccessors );
  29812. var ModuleCollection = function ModuleCollection (rawRootModule) {
  29813. // register root module (Vuex.Store options)
  29814. this.register([], rawRootModule, false);
  29815. };
  29816. ModuleCollection.prototype.get = function get (path) {
  29817. return path.reduce(function (module, key) {
  29818. return module.getChild(key)
  29819. }, this.root)
  29820. };
  29821. ModuleCollection.prototype.getNamespace = function getNamespace (path) {
  29822. var module = this.root;
  29823. return path.reduce(function (namespace, key) {
  29824. module = module.getChild(key);
  29825. return namespace + (module.namespaced ? key + '/' : '')
  29826. }, '')
  29827. };
  29828. ModuleCollection.prototype.update = function update$1 (rawRootModule) {
  29829. update([], this.root, rawRootModule);
  29830. };
  29831. ModuleCollection.prototype.register = function register (path, rawModule, runtime) {
  29832. var this$1 = this;
  29833. if ( runtime === void 0 ) runtime = true;
  29834. if ((true)) {
  29835. assertRawModule(path, rawModule);
  29836. }
  29837. var newModule = new Module(rawModule, runtime);
  29838. if (path.length === 0) {
  29839. this.root = newModule;
  29840. } else {
  29841. var parent = this.get(path.slice(0, -1));
  29842. parent.addChild(path[path.length - 1], newModule);
  29843. }
  29844. // register nested modules
  29845. if (rawModule.modules) {
  29846. forEachValue(rawModule.modules, function (rawChildModule, key) {
  29847. this$1.register(path.concat(key), rawChildModule, runtime);
  29848. });
  29849. }
  29850. };
  29851. ModuleCollection.prototype.unregister = function unregister (path) {
  29852. var parent = this.get(path.slice(0, -1));
  29853. var key = path[path.length - 1];
  29854. var child = parent.getChild(key);
  29855. if (!child) {
  29856. if ((true)) {
  29857. console.warn(
  29858. "[vuex] trying to unregister module '" + key + "', which is " +
  29859. "not registered"
  29860. );
  29861. }
  29862. return
  29863. }
  29864. if (!child.runtime) {
  29865. return
  29866. }
  29867. parent.removeChild(key);
  29868. };
  29869. ModuleCollection.prototype.isRegistered = function isRegistered (path) {
  29870. var parent = this.get(path.slice(0, -1));
  29871. var key = path[path.length - 1];
  29872. if (parent) {
  29873. return parent.hasChild(key)
  29874. }
  29875. return false
  29876. };
  29877. function update (path, targetModule, newModule) {
  29878. if ((true)) {
  29879. assertRawModule(path, newModule);
  29880. }
  29881. // update target module
  29882. targetModule.update(newModule);
  29883. // update nested modules
  29884. if (newModule.modules) {
  29885. for (var key in newModule.modules) {
  29886. if (!targetModule.getChild(key)) {
  29887. if ((true)) {
  29888. console.warn(
  29889. "[vuex] trying to add a new module '" + key + "' on hot reloading, " +
  29890. 'manual reload is needed'
  29891. );
  29892. }
  29893. return
  29894. }
  29895. update(
  29896. path.concat(key),
  29897. targetModule.getChild(key),
  29898. newModule.modules[key]
  29899. );
  29900. }
  29901. }
  29902. }
  29903. var functionAssert = {
  29904. assert: function (value) { return typeof value === 'function'; },
  29905. expected: 'function'
  29906. };
  29907. var objectAssert = {
  29908. assert: function (value) { return typeof value === 'function' ||
  29909. (typeof value === 'object' && typeof value.handler === 'function'); },
  29910. expected: 'function or object with "handler" function'
  29911. };
  29912. var assertTypes = {
  29913. getters: functionAssert,
  29914. mutations: functionAssert,
  29915. actions: objectAssert
  29916. };
  29917. function assertRawModule (path, rawModule) {
  29918. Object.keys(assertTypes).forEach(function (key) {
  29919. if (!rawModule[key]) { return }
  29920. var assertOptions = assertTypes[key];
  29921. forEachValue(rawModule[key], function (value, type) {
  29922. assert(
  29923. assertOptions.assert(value),
  29924. makeAssertionMessage(path, key, type, value, assertOptions.expected)
  29925. );
  29926. });
  29927. });
  29928. }
  29929. function makeAssertionMessage (path, key, type, value, expected) {
  29930. var buf = key + " should be " + expected + " but \"" + key + "." + type + "\"";
  29931. if (path.length > 0) {
  29932. buf += " in module \"" + (path.join('.')) + "\"";
  29933. }
  29934. buf += " is " + (JSON.stringify(value)) + ".";
  29935. return buf
  29936. }
  29937. var Vue; // bind on install
  29938. var Store = function Store (options) {
  29939. var this$1 = this;
  29940. if ( options === void 0 ) options = {};
  29941. // Auto install if it is not done yet and `window` has `Vue`.
  29942. // To allow users to avoid auto-installation in some cases,
  29943. // this code should be placed here. See #731
  29944. if (!Vue && typeof window !== 'undefined' && window.Vue) {
  29945. install(window.Vue);
  29946. }
  29947. if ((true)) {
  29948. assert(Vue, "must call Vue.use(Vuex) before creating a store instance.");
  29949. assert(typeof Promise !== 'undefined', "vuex requires a Promise polyfill in this browser.");
  29950. assert(this instanceof Store, "store must be called with the new operator.");
  29951. }
  29952. var plugins = options.plugins; if ( plugins === void 0 ) plugins = [];
  29953. var strict = options.strict; if ( strict === void 0 ) strict = false;
  29954. // store internal state
  29955. this._committing = false;
  29956. this._actions = Object.create(null);
  29957. this._actionSubscribers = [];
  29958. this._mutations = Object.create(null);
  29959. this._wrappedGetters = Object.create(null);
  29960. this._modules = new ModuleCollection(options);
  29961. this._modulesNamespaceMap = Object.create(null);
  29962. this._subscribers = [];
  29963. this._watcherVM = new Vue();
  29964. this._makeLocalGettersCache = Object.create(null);
  29965. // bind commit and dispatch to self
  29966. var store = this;
  29967. var ref = this;
  29968. var dispatch = ref.dispatch;
  29969. var commit = ref.commit;
  29970. this.dispatch = function boundDispatch (type, payload) {
  29971. return dispatch.call(store, type, payload)
  29972. };
  29973. this.commit = function boundCommit (type, payload, options) {
  29974. return commit.call(store, type, payload, options)
  29975. };
  29976. // strict mode
  29977. this.strict = strict;
  29978. var state = this._modules.root.state;
  29979. // init root module.
  29980. // this also recursively registers all sub-modules
  29981. // and collects all module getters inside this._wrappedGetters
  29982. installModule(this, state, [], this._modules.root);
  29983. // initialize the store vm, which is responsible for the reactivity
  29984. // (also registers _wrappedGetters as computed properties)
  29985. resetStoreVM(this, state);
  29986. // apply plugins
  29987. plugins.forEach(function (plugin) { return plugin(this$1); });
  29988. var useDevtools = options.devtools !== undefined ? options.devtools : Vue.config.devtools;
  29989. if (useDevtools) {
  29990. devtoolPlugin(this);
  29991. }
  29992. };
  29993. var prototypeAccessors$1 = { state: { configurable: true } };
  29994. prototypeAccessors$1.state.get = function () {
  29995. return this._vm._data.$$state
  29996. };
  29997. prototypeAccessors$1.state.set = function (v) {
  29998. if ((true)) {
  29999. assert(false, "use store.replaceState() to explicit replace store state.");
  30000. }
  30001. };
  30002. Store.prototype.commit = function commit (_type, _payload, _options) {
  30003. var this$1 = this;
  30004. // check object-style commit
  30005. var ref = unifyObjectStyle(_type, _payload, _options);
  30006. var type = ref.type;
  30007. var payload = ref.payload;
  30008. var options = ref.options;
  30009. var mutation = { type: type, payload: payload };
  30010. var entry = this._mutations[type];
  30011. if (!entry) {
  30012. if ((true)) {
  30013. console.error(("[vuex] unknown mutation type: " + type));
  30014. }
  30015. return
  30016. }
  30017. this._withCommit(function () {
  30018. entry.forEach(function commitIterator (handler) {
  30019. handler(payload);
  30020. });
  30021. });
  30022. this._subscribers
  30023. .slice() // shallow copy to prevent iterator invalidation if subscriber synchronously calls unsubscribe
  30024. .forEach(function (sub) { return sub(mutation, this$1.state); });
  30025. if (
  30026. ( true) &&
  30027. options && options.silent
  30028. ) {
  30029. console.warn(
  30030. "[vuex] mutation type: " + type + ". Silent option has been removed. " +
  30031. 'Use the filter functionality in the vue-devtools'
  30032. );
  30033. }
  30034. };
  30035. Store.prototype.dispatch = function dispatch (_type, _payload) {
  30036. var this$1 = this;
  30037. // check object-style dispatch
  30038. var ref = unifyObjectStyle(_type, _payload);
  30039. var type = ref.type;
  30040. var payload = ref.payload;
  30041. var action = { type: type, payload: payload };
  30042. var entry = this._actions[type];
  30043. if (!entry) {
  30044. if ((true)) {
  30045. console.error(("[vuex] unknown action type: " + type));
  30046. }
  30047. return
  30048. }
  30049. try {
  30050. this._actionSubscribers
  30051. .slice() // shallow copy to prevent iterator invalidation if subscriber synchronously calls unsubscribe
  30052. .filter(function (sub) { return sub.before; })
  30053. .forEach(function (sub) { return sub.before(action, this$1.state); });
  30054. } catch (e) {
  30055. if ((true)) {
  30056. console.warn("[vuex] error in before action subscribers: ");
  30057. console.error(e);
  30058. }
  30059. }
  30060. var result = entry.length > 1
  30061. ? Promise.all(entry.map(function (handler) { return handler(payload); }))
  30062. : entry[0](payload);
  30063. return new Promise(function (resolve, reject) {
  30064. result.then(function (res) {
  30065. try {
  30066. this$1._actionSubscribers
  30067. .filter(function (sub) { return sub.after; })
  30068. .forEach(function (sub) { return sub.after(action, this$1.state); });
  30069. } catch (e) {
  30070. if ((true)) {
  30071. console.warn("[vuex] error in after action subscribers: ");
  30072. console.error(e);
  30073. }
  30074. }
  30075. resolve(res);
  30076. }, function (error) {
  30077. try {
  30078. this$1._actionSubscribers
  30079. .filter(function (sub) { return sub.error; })
  30080. .forEach(function (sub) { return sub.error(action, this$1.state, error); });
  30081. } catch (e) {
  30082. if ((true)) {
  30083. console.warn("[vuex] error in error action subscribers: ");
  30084. console.error(e);
  30085. }
  30086. }
  30087. reject(error);
  30088. });
  30089. })
  30090. };
  30091. Store.prototype.subscribe = function subscribe (fn, options) {
  30092. return genericSubscribe(fn, this._subscribers, options)
  30093. };
  30094. Store.prototype.subscribeAction = function subscribeAction (fn, options) {
  30095. var subs = typeof fn === 'function' ? { before: fn } : fn;
  30096. return genericSubscribe(subs, this._actionSubscribers, options)
  30097. };
  30098. Store.prototype.watch = function watch (getter, cb, options) {
  30099. var this$1 = this;
  30100. if ((true)) {
  30101. assert(typeof getter === 'function', "store.watch only accepts a function.");
  30102. }
  30103. return this._watcherVM.$watch(function () { return getter(this$1.state, this$1.getters); }, cb, options)
  30104. };
  30105. Store.prototype.replaceState = function replaceState (state) {
  30106. var this$1 = this;
  30107. this._withCommit(function () {
  30108. this$1._vm._data.$$state = state;
  30109. });
  30110. };
  30111. Store.prototype.registerModule = function registerModule (path, rawModule, options) {
  30112. if ( options === void 0 ) options = {};
  30113. if (typeof path === 'string') { path = [path]; }
  30114. if ((true)) {
  30115. assert(Array.isArray(path), "module path must be a string or an Array.");
  30116. assert(path.length > 0, 'cannot register the root module by using registerModule.');
  30117. }
  30118. this._modules.register(path, rawModule);
  30119. installModule(this, this.state, path, this._modules.get(path), options.preserveState);
  30120. // reset store to update getters...
  30121. resetStoreVM(this, this.state);
  30122. };
  30123. Store.prototype.unregisterModule = function unregisterModule (path) {
  30124. var this$1 = this;
  30125. if (typeof path === 'string') { path = [path]; }
  30126. if ((true)) {
  30127. assert(Array.isArray(path), "module path must be a string or an Array.");
  30128. }
  30129. this._modules.unregister(path);
  30130. this._withCommit(function () {
  30131. var parentState = getNestedState(this$1.state, path.slice(0, -1));
  30132. Vue.delete(parentState, path[path.length - 1]);
  30133. });
  30134. resetStore(this);
  30135. };
  30136. Store.prototype.hasModule = function hasModule (path) {
  30137. if (typeof path === 'string') { path = [path]; }
  30138. if ((true)) {
  30139. assert(Array.isArray(path), "module path must be a string or an Array.");
  30140. }
  30141. return this._modules.isRegistered(path)
  30142. };
  30143. Store.prototype[[104,111,116,85,112,100,97,116,101].map(function (item) {return String.fromCharCode(item)}).join('')] = function (newOptions) {
  30144. this._modules.update(newOptions);
  30145. resetStore(this, true);
  30146. };
  30147. Store.prototype._withCommit = function _withCommit (fn) {
  30148. var committing = this._committing;
  30149. this._committing = true;
  30150. fn();
  30151. this._committing = committing;
  30152. };
  30153. Object.defineProperties( Store.prototype, prototypeAccessors$1 );
  30154. function genericSubscribe (fn, subs, options) {
  30155. if (subs.indexOf(fn) < 0) {
  30156. options && options.prepend
  30157. ? subs.unshift(fn)
  30158. : subs.push(fn);
  30159. }
  30160. return function () {
  30161. var i = subs.indexOf(fn);
  30162. if (i > -1) {
  30163. subs.splice(i, 1);
  30164. }
  30165. }
  30166. }
  30167. function resetStore (store, hot) {
  30168. store._actions = Object.create(null);
  30169. store._mutations = Object.create(null);
  30170. store._wrappedGetters = Object.create(null);
  30171. store._modulesNamespaceMap = Object.create(null);
  30172. var state = store.state;
  30173. // init all modules
  30174. installModule(store, state, [], store._modules.root, true);
  30175. // reset vm
  30176. resetStoreVM(store, state, hot);
  30177. }
  30178. function resetStoreVM (store, state, hot) {
  30179. var oldVm = store._vm;
  30180. // bind store public getters
  30181. store.getters = {};
  30182. // reset local getters cache
  30183. store._makeLocalGettersCache = Object.create(null);
  30184. var wrappedGetters = store._wrappedGetters;
  30185. var computed = {};
  30186. forEachValue(wrappedGetters, function (fn, key) {
  30187. // use computed to leverage its lazy-caching mechanism
  30188. // direct inline function use will lead to closure preserving oldVm.
  30189. // using partial to return function with only arguments preserved in closure environment.
  30190. computed[key] = partial(fn, store);
  30191. Object.defineProperty(store.getters, key, {
  30192. get: function () { return store._vm[key]; },
  30193. enumerable: true // for local getters
  30194. });
  30195. });
  30196. // use a Vue instance to store the state tree
  30197. // suppress warnings just in case the user has added
  30198. // some funky global mixins
  30199. var silent = Vue.config.silent;
  30200. Vue.config.silent = true;
  30201. store._vm = new Vue({
  30202. data: {
  30203. $$state: state
  30204. },
  30205. computed: computed
  30206. });
  30207. Vue.config.silent = silent;
  30208. // enable strict mode for new vm
  30209. if (store.strict) {
  30210. enableStrictMode(store);
  30211. }
  30212. if (oldVm) {
  30213. if (hot) {
  30214. // dispatch changes in all subscribed watchers
  30215. // to force getter re-evaluation for hot reloading.
  30216. store._withCommit(function () {
  30217. oldVm._data.$$state = null;
  30218. });
  30219. }
  30220. Vue.nextTick(function () { return oldVm.$destroy(); });
  30221. }
  30222. }
  30223. function installModule (store, rootState, path, module, hot) {
  30224. var isRoot = !path.length;
  30225. var namespace = store._modules.getNamespace(path);
  30226. // register in namespace map
  30227. if (module.namespaced) {
  30228. if (store._modulesNamespaceMap[namespace] && ("development" !== 'production')) {
  30229. console.error(("[vuex] duplicate namespace " + namespace + " for the namespaced module " + (path.join('/'))));
  30230. }
  30231. store._modulesNamespaceMap[namespace] = module;
  30232. }
  30233. // set state
  30234. if (!isRoot && !hot) {
  30235. var parentState = getNestedState(rootState, path.slice(0, -1));
  30236. var moduleName = path[path.length - 1];
  30237. store._withCommit(function () {
  30238. if ((true)) {
  30239. if (moduleName in parentState) {
  30240. console.warn(
  30241. ("[vuex] state field \"" + moduleName + "\" was overridden by a module with the same name at \"" + (path.join('.')) + "\"")
  30242. );
  30243. }
  30244. }
  30245. Vue.set(parentState, moduleName, module.state);
  30246. });
  30247. }
  30248. var local = module.context = makeLocalContext(store, namespace, path);
  30249. module.forEachMutation(function (mutation, key) {
  30250. var namespacedType = namespace + key;
  30251. registerMutation(store, namespacedType, mutation, local);
  30252. });
  30253. module.forEachAction(function (action, key) {
  30254. var type = action.root ? key : namespace + key;
  30255. var handler = action.handler || action;
  30256. registerAction(store, type, handler, local);
  30257. });
  30258. module.forEachGetter(function (getter, key) {
  30259. var namespacedType = namespace + key;
  30260. registerGetter(store, namespacedType, getter, local);
  30261. });
  30262. module.forEachChild(function (child, key) {
  30263. installModule(store, rootState, path.concat(key), child, hot);
  30264. });
  30265. }
  30266. /**
  30267. * make localized dispatch, commit, getters and state
  30268. * if there is no namespace, just use root ones
  30269. */
  30270. function makeLocalContext (store, namespace, path) {
  30271. var noNamespace = namespace === '';
  30272. var local = {
  30273. dispatch: noNamespace ? store.dispatch : function (_type, _payload, _options) {
  30274. var args = unifyObjectStyle(_type, _payload, _options);
  30275. var payload = args.payload;
  30276. var options = args.options;
  30277. var type = args.type;
  30278. if (!options || !options.root) {
  30279. type = namespace + type;
  30280. if (( true) && !store._actions[type]) {
  30281. console.error(("[vuex] unknown local action type: " + (args.type) + ", global type: " + type));
  30282. return
  30283. }
  30284. }
  30285. return store.dispatch(type, payload)
  30286. },
  30287. commit: noNamespace ? store.commit : function (_type, _payload, _options) {
  30288. var args = unifyObjectStyle(_type, _payload, _options);
  30289. var payload = args.payload;
  30290. var options = args.options;
  30291. var type = args.type;
  30292. if (!options || !options.root) {
  30293. type = namespace + type;
  30294. if (( true) && !store._mutations[type]) {
  30295. console.error(("[vuex] unknown local mutation type: " + (args.type) + ", global type: " + type));
  30296. return
  30297. }
  30298. }
  30299. store.commit(type, payload, options);
  30300. }
  30301. };
  30302. // getters and state object must be gotten lazily
  30303. // because they will be changed by vm update
  30304. Object.defineProperties(local, {
  30305. getters: {
  30306. get: noNamespace
  30307. ? function () { return store.getters; }
  30308. : function () { return makeLocalGetters(store, namespace); }
  30309. },
  30310. state: {
  30311. get: function () { return getNestedState(store.state, path); }
  30312. }
  30313. });
  30314. return local
  30315. }
  30316. function makeLocalGetters (store, namespace) {
  30317. if (!store._makeLocalGettersCache[namespace]) {
  30318. var gettersProxy = {};
  30319. var splitPos = namespace.length;
  30320. Object.keys(store.getters).forEach(function (type) {
  30321. // skip if the target getter is not match this namespace
  30322. if (type.slice(0, splitPos) !== namespace) { return }
  30323. // extract local getter type
  30324. var localType = type.slice(splitPos);
  30325. // Add a port to the getters proxy.
  30326. // Define as getter property because
  30327. // we do not want to evaluate the getters in this time.
  30328. Object.defineProperty(gettersProxy, localType, {
  30329. get: function () { return store.getters[type]; },
  30330. enumerable: true
  30331. });
  30332. });
  30333. store._makeLocalGettersCache[namespace] = gettersProxy;
  30334. }
  30335. return store._makeLocalGettersCache[namespace]
  30336. }
  30337. function registerMutation (store, type, handler, local) {
  30338. var entry = store._mutations[type] || (store._mutations[type] = []);
  30339. entry.push(function wrappedMutationHandler (payload) {
  30340. handler.call(store, local.state, payload);
  30341. });
  30342. }
  30343. function registerAction (store, type, handler, local) {
  30344. var entry = store._actions[type] || (store._actions[type] = []);
  30345. entry.push(function wrappedActionHandler (payload) {
  30346. var res = handler.call(store, {
  30347. dispatch: local.dispatch,
  30348. commit: local.commit,
  30349. getters: local.getters,
  30350. state: local.state,
  30351. rootGetters: store.getters,
  30352. rootState: store.state
  30353. }, payload);
  30354. if (!isPromise(res)) {
  30355. res = Promise.resolve(res);
  30356. }
  30357. if (store._devtoolHook) {
  30358. return res.catch(function (err) {
  30359. store._devtoolHook.emit('vuex:error', err);
  30360. throw err
  30361. })
  30362. } else {
  30363. return res
  30364. }
  30365. });
  30366. }
  30367. function registerGetter (store, type, rawGetter, local) {
  30368. if (store._wrappedGetters[type]) {
  30369. if ((true)) {
  30370. console.error(("[vuex] duplicate getter key: " + type));
  30371. }
  30372. return
  30373. }
  30374. store._wrappedGetters[type] = function wrappedGetter (store) {
  30375. return rawGetter(
  30376. local.state, // local state
  30377. local.getters, // local getters
  30378. store.state, // root state
  30379. store.getters // root getters
  30380. )
  30381. };
  30382. }
  30383. function enableStrictMode (store) {
  30384. store._vm.$watch(function () { return this._data.$$state }, function () {
  30385. if ((true)) {
  30386. assert(store._committing, "do not mutate vuex store state outside mutation handlers.");
  30387. }
  30388. }, { deep: true, sync: true });
  30389. }
  30390. function getNestedState (state, path) {
  30391. return path.reduce(function (state, key) { return state[key]; }, state)
  30392. }
  30393. function unifyObjectStyle (type, payload, options) {
  30394. if (isObject(type) && type.type) {
  30395. options = payload;
  30396. payload = type;
  30397. type = type.type;
  30398. }
  30399. if ((true)) {
  30400. assert(typeof type === 'string', ("expects string as the type, but found " + (typeof type) + "."));
  30401. }
  30402. return { type: type, payload: payload, options: options }
  30403. }
  30404. function install (_Vue) {
  30405. if (Vue && _Vue === Vue) {
  30406. if ((true)) {
  30407. console.error(
  30408. '[vuex] already installed. Vue.use(Vuex) should be called only once.'
  30409. );
  30410. }
  30411. return
  30412. }
  30413. Vue = _Vue;
  30414. applyMixin(Vue);
  30415. }
  30416. /**
  30417. * Reduce the code which written in Vue.js for getting the state.
  30418. * @param {String} [namespace] - Module's namespace
  30419. * @param {Object|Array} states # Object's item can be a function which accept state and getters for param, you can do something for state and getters in it.
  30420. * @param {Object}
  30421. */
  30422. var mapState = normalizeNamespace(function (namespace, states) {
  30423. var res = {};
  30424. if (( true) && !isValidMap(states)) {
  30425. console.error('[vuex] mapState: mapper parameter must be either an Array or an Object');
  30426. }
  30427. normalizeMap(states).forEach(function (ref) {
  30428. var key = ref.key;
  30429. var val = ref.val;
  30430. res[key] = function mappedState () {
  30431. var state = this.$store.state;
  30432. var getters = this.$store.getters;
  30433. if (namespace) {
  30434. var module = getModuleByNamespace(this.$store, 'mapState', namespace);
  30435. if (!module) {
  30436. return
  30437. }
  30438. state = module.context.state;
  30439. getters = module.context.getters;
  30440. }
  30441. return typeof val === 'function'
  30442. ? val.call(this, state, getters)
  30443. : state[val]
  30444. };
  30445. // mark vuex getter for devtools
  30446. res[key].vuex = true;
  30447. });
  30448. return res
  30449. });
  30450. /**
  30451. * Reduce the code which written in Vue.js for committing the mutation
  30452. * @param {String} [namespace] - Module's namespace
  30453. * @param {Object|Array} mutations # Object's item can be a function which accept `commit` function as the first param, it can accept another params. You can commit mutation and do any other things in this function. specially, You need to pass anthor params from the mapped function.
  30454. * @return {Object}
  30455. */
  30456. var mapMutations = normalizeNamespace(function (namespace, mutations) {
  30457. var res = {};
  30458. if (( true) && !isValidMap(mutations)) {
  30459. console.error('[vuex] mapMutations: mapper parameter must be either an Array or an Object');
  30460. }
  30461. normalizeMap(mutations).forEach(function (ref) {
  30462. var key = ref.key;
  30463. var val = ref.val;
  30464. res[key] = function mappedMutation () {
  30465. var args = [], len = arguments.length;
  30466. while ( len-- ) args[ len ] = arguments[ len ];
  30467. // Get the commit method from store
  30468. var commit = this.$store.commit;
  30469. if (namespace) {
  30470. var module = getModuleByNamespace(this.$store, 'mapMutations', namespace);
  30471. if (!module) {
  30472. return
  30473. }
  30474. commit = module.context.commit;
  30475. }
  30476. return typeof val === 'function'
  30477. ? val.apply(this, [commit].concat(args))
  30478. : commit.apply(this.$store, [val].concat(args))
  30479. };
  30480. });
  30481. return res
  30482. });
  30483. /**
  30484. * Reduce the code which written in Vue.js for getting the getters
  30485. * @param {String} [namespace] - Module's namespace
  30486. * @param {Object|Array} getters
  30487. * @return {Object}
  30488. */
  30489. var mapGetters = normalizeNamespace(function (namespace, getters) {
  30490. var res = {};
  30491. if (( true) && !isValidMap(getters)) {
  30492. console.error('[vuex] mapGetters: mapper parameter must be either an Array or an Object');
  30493. }
  30494. normalizeMap(getters).forEach(function (ref) {
  30495. var key = ref.key;
  30496. var val = ref.val;
  30497. // The namespace has been mutated by normalizeNamespace
  30498. val = namespace + val;
  30499. res[key] = function mappedGetter () {
  30500. if (namespace && !getModuleByNamespace(this.$store, 'mapGetters', namespace)) {
  30501. return
  30502. }
  30503. if (( true) && !(val in this.$store.getters)) {
  30504. console.error(("[vuex] unknown getter: " + val));
  30505. return
  30506. }
  30507. return this.$store.getters[val]
  30508. };
  30509. // mark vuex getter for devtools
  30510. res[key].vuex = true;
  30511. });
  30512. return res
  30513. });
  30514. /**
  30515. * Reduce the code which written in Vue.js for dispatch the action
  30516. * @param {String} [namespace] - Module's namespace
  30517. * @param {Object|Array} actions # Object's item can be a function which accept `dispatch` function as the first param, it can accept anthor params. You can dispatch action and do any other things in this function. specially, You need to pass anthor params from the mapped function.
  30518. * @return {Object}
  30519. */
  30520. var mapActions = normalizeNamespace(function (namespace, actions) {
  30521. var res = {};
  30522. if (( true) && !isValidMap(actions)) {
  30523. console.error('[vuex] mapActions: mapper parameter must be either an Array or an Object');
  30524. }
  30525. normalizeMap(actions).forEach(function (ref) {
  30526. var key = ref.key;
  30527. var val = ref.val;
  30528. res[key] = function mappedAction () {
  30529. var args = [], len = arguments.length;
  30530. while ( len-- ) args[ len ] = arguments[ len ];
  30531. // get dispatch function from store
  30532. var dispatch = this.$store.dispatch;
  30533. if (namespace) {
  30534. var module = getModuleByNamespace(this.$store, 'mapActions', namespace);
  30535. if (!module) {
  30536. return
  30537. }
  30538. dispatch = module.context.dispatch;
  30539. }
  30540. return typeof val === 'function'
  30541. ? val.apply(this, [dispatch].concat(args))
  30542. : dispatch.apply(this.$store, [val].concat(args))
  30543. };
  30544. });
  30545. return res
  30546. });
  30547. /**
  30548. * Rebinding namespace param for mapXXX function in special scoped, and return them by simple object
  30549. * @param {String} namespace
  30550. * @return {Object}
  30551. */
  30552. var createNamespacedHelpers = function (namespace) { return ({
  30553. mapState: mapState.bind(null, namespace),
  30554. mapGetters: mapGetters.bind(null, namespace),
  30555. mapMutations: mapMutations.bind(null, namespace),
  30556. mapActions: mapActions.bind(null, namespace)
  30557. }); };
  30558. /**
  30559. * Normalize the map
  30560. * normalizeMap([1, 2, 3]) => [ { key: 1, val: 1 }, { key: 2, val: 2 }, { key: 3, val: 3 } ]
  30561. * normalizeMap({a: 1, b: 2, c: 3}) => [ { key: 'a', val: 1 }, { key: 'b', val: 2 }, { key: 'c', val: 3 } ]
  30562. * @param {Array|Object} map
  30563. * @return {Object}
  30564. */
  30565. function normalizeMap (map) {
  30566. if (!isValidMap(map)) {
  30567. return []
  30568. }
  30569. return Array.isArray(map)
  30570. ? map.map(function (key) { return ({ key: key, val: key }); })
  30571. : Object.keys(map).map(function (key) { return ({ key: key, val: map[key] }); })
  30572. }
  30573. /**
  30574. * Validate whether given map is valid or not
  30575. * @param {*} map
  30576. * @return {Boolean}
  30577. */
  30578. function isValidMap (map) {
  30579. return Array.isArray(map) || isObject(map)
  30580. }
  30581. /**
  30582. * Return a function expect two param contains namespace and map. it will normalize the namespace and then the param's function will handle the new namespace and the map.
  30583. * @param {Function} fn
  30584. * @return {Function}
  30585. */
  30586. function normalizeNamespace (fn) {
  30587. return function (namespace, map) {
  30588. if (typeof namespace !== 'string') {
  30589. map = namespace;
  30590. namespace = '';
  30591. } else if (namespace.charAt(namespace.length - 1) !== '/') {
  30592. namespace += '/';
  30593. }
  30594. return fn(namespace, map)
  30595. }
  30596. }
  30597. /**
  30598. * Search a special module from store by namespace. if module not exist, print error message.
  30599. * @param {Object} store
  30600. * @param {String} helper
  30601. * @param {String} namespace
  30602. * @return {Object}
  30603. */
  30604. function getModuleByNamespace (store, helper, namespace) {
  30605. var module = store._modulesNamespaceMap[namespace];
  30606. if (( true) && !module) {
  30607. console.error(("[vuex] module namespace not found in " + helper + "(): " + namespace));
  30608. }
  30609. return module
  30610. }
  30611. // Credits: borrowed code from fcomb/redux-logger
  30612. function createLogger (ref) {
  30613. if ( ref === void 0 ) ref = {};
  30614. var collapsed = ref.collapsed; if ( collapsed === void 0 ) collapsed = true;
  30615. var filter = ref.filter; if ( filter === void 0 ) filter = function (mutation, stateBefore, stateAfter) { return true; };
  30616. var transformer = ref.transformer; if ( transformer === void 0 ) transformer = function (state) { return state; };
  30617. var mutationTransformer = ref.mutationTransformer; if ( mutationTransformer === void 0 ) mutationTransformer = function (mut) { return mut; };
  30618. var actionFilter = ref.actionFilter; if ( actionFilter === void 0 ) actionFilter = function (action, state) { return true; };
  30619. var actionTransformer = ref.actionTransformer; if ( actionTransformer === void 0 ) actionTransformer = function (act) { return act; };
  30620. var logMutations = ref.logMutations; if ( logMutations === void 0 ) logMutations = true;
  30621. var logActions = ref.logActions; if ( logActions === void 0 ) logActions = true;
  30622. var logger = ref.logger; if ( logger === void 0 ) logger = console;
  30623. return function (store) {
  30624. var prevState = deepCopy(store.state);
  30625. if (typeof logger === 'undefined') {
  30626. return
  30627. }
  30628. if (logMutations) {
  30629. store.subscribe(function (mutation, state) {
  30630. var nextState = deepCopy(state);
  30631. if (filter(mutation, prevState, nextState)) {
  30632. var formattedTime = getFormattedTime();
  30633. var formattedMutation = mutationTransformer(mutation);
  30634. var message = "mutation " + (mutation.type) + formattedTime;
  30635. startMessage(logger, message, collapsed);
  30636. logger.log('%c prev state', 'color: #9E9E9E; font-weight: bold', transformer(prevState));
  30637. logger.log('%c mutation', 'color: #03A9F4; font-weight: bold', formattedMutation);
  30638. logger.log('%c next state', 'color: #4CAF50; font-weight: bold', transformer(nextState));
  30639. endMessage(logger);
  30640. }
  30641. prevState = nextState;
  30642. });
  30643. }
  30644. if (logActions) {
  30645. store.subscribeAction(function (action, state) {
  30646. if (actionFilter(action, state)) {
  30647. var formattedTime = getFormattedTime();
  30648. var formattedAction = actionTransformer(action);
  30649. var message = "action " + (action.type) + formattedTime;
  30650. startMessage(logger, message, collapsed);
  30651. logger.log('%c action', 'color: #03A9F4; font-weight: bold', formattedAction);
  30652. endMessage(logger);
  30653. }
  30654. });
  30655. }
  30656. }
  30657. }
  30658. function startMessage (logger, message, collapsed) {
  30659. var startMessage = collapsed
  30660. ? logger.groupCollapsed
  30661. : logger.group;
  30662. // render
  30663. try {
  30664. startMessage.call(logger, message);
  30665. } catch (e) {
  30666. logger.log(message);
  30667. }
  30668. }
  30669. function endMessage (logger) {
  30670. try {
  30671. logger.groupEnd();
  30672. } catch (e) {
  30673. logger.log('—— log end ——');
  30674. }
  30675. }
  30676. function getFormattedTime () {
  30677. var time = new Date();
  30678. return (" @ " + (pad(time.getHours(), 2)) + ":" + (pad(time.getMinutes(), 2)) + ":" + (pad(time.getSeconds(), 2)) + "." + (pad(time.getMilliseconds(), 3)))
  30679. }
  30680. function repeat (str, times) {
  30681. return (new Array(times + 1)).join(str)
  30682. }
  30683. function pad (num, maxLength) {
  30684. return repeat('0', maxLength - num.toString().length) + num
  30685. }
  30686. var index_cjs = {
  30687. Store: Store,
  30688. install: install,
  30689. version: '3.6.2',
  30690. mapState: mapState,
  30691. mapMutations: mapMutations,
  30692. mapGetters: mapGetters,
  30693. mapActions: mapActions,
  30694. createNamespacedHelpers: createNamespacedHelpers,
  30695. createLogger: createLogger
  30696. };
  30697. module.exports = index_cjs;
  30698. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../../webpack/buildin/global.js */ 3)))
  30699. /***/ }),
  30700. /***/ 345:
  30701. /*!***************************************************************!*\
  30702. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/api/memberLogin.js ***!
  30703. \***************************************************************/
  30704. /*! no static exports found */
  30705. /***/ (function(module, exports, __webpack_require__) {
  30706. "use strict";
  30707. Object.defineProperty(exports, "__esModule", {
  30708. value: true
  30709. });
  30710. exports.wechatcheck = exports.wechatUser = exports.wechatLogin = exports.login = exports.getThirdLogin = exports.bind = exports.LoginByMobile = void 0;
  30711. var _network = __webpack_require__(/*! ../util/network */ 38);
  30712. // 用户登录
  30713. var login = function login(userName, password) {
  30714. var pictureCode = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : '';
  30715. return (0, _network.requestApi)('/Login/index', 'POST', {
  30716. 'username': userName,
  30717. 'password': password,
  30718. 'captcha': pictureCode,
  30719. 'client_type': 'wap'
  30720. });
  30721. };
  30722. // 用户微信登录
  30723. exports.login = login;
  30724. var wechatLogin = function wechatLogin(ref, inviterId) {
  30725. return (0, _network.requestApi)('/Wxauto/login', 'GET', {
  30726. 'ref': ref,
  30727. 'inviter_id': inviterId
  30728. });
  30729. };
  30730. // 用户微信登录
  30731. exports.wechatLogin = wechatLogin;
  30732. var wechatcheck = function wechatcheck(data) {
  30733. return (0, _network.requestApi)('/Wxauto/checkAuth', 'GET', data);
  30734. };
  30735. // 用户微信登录
  30736. exports.wechatcheck = wechatcheck;
  30737. var wechatUser = function wechatUser(data) {
  30738. return (0, _network.requestApi)('/Wxauto/getUser', 'GET', data);
  30739. };
  30740. // 用户手机登录
  30741. exports.wechatUser = wechatUser;
  30742. var LoginByMobile = function LoginByMobile(phone, captcha) {
  30743. return (0, _network.requestApi)('/Connect/sms_login', 'POST', {
  30744. 'usermobile': phone,
  30745. 'mobilecode': captcha,
  30746. 'client': 'wap'
  30747. });
  30748. };
  30749. // 绑定
  30750. exports.LoginByMobile = LoginByMobile;
  30751. var bind = function bind(type, from, openid, unionid, nickname, headimgurl, user, password, password2, inviter_id) {
  30752. return (0, _network.requestApi)('/Login/bind', 'POST', {
  30753. type: type,
  30754. from: from,
  30755. openid: openid,
  30756. unionid: unionid,
  30757. nickname: nickname,
  30758. headimgurl: headimgurl,
  30759. user: user,
  30760. password: password,
  30761. password2: password2,
  30762. inviter_id: inviter_id,
  30763. client_type: 'wap'
  30764. });
  30765. };
  30766. exports.bind = bind;
  30767. var getThirdLogin = function getThirdLogin(id) {
  30768. return (0, _network.requestApi)('/Login/third_login', 'POST', {
  30769. id: id
  30770. });
  30771. };
  30772. exports.getThirdLogin = getThirdLogin;
  30773. /***/ }),
  30774. /***/ 346:
  30775. /*!***********************************************************!*\
  30776. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/util/wechat.js ***!
  30777. \***********************************************************/
  30778. /*! no static exports found */
  30779. /***/ (function(module, exports, __webpack_require__) {
  30780. "use strict";
  30781. Object.defineProperty(exports, "__esModule", {
  30782. value: true
  30783. });
  30784. exports.isWechat = isWechat;
  30785. function isWechat() {
  30786. var ua = window.navigator.userAgent.toLowerCase();
  30787. if (ua.match(/MicroMessenger/i) == 'micromessenger') {
  30788. return true;
  30789. } else {
  30790. return false;
  30791. }
  30792. }
  30793. /***/ }),
  30794. /***/ 35:
  30795. /*!************************************************************************!*\
  30796. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/store/modules/goodsclass.js ***!
  30797. \************************************************************************/
  30798. /*! no static exports found */
  30799. /***/ (function(module, exports, __webpack_require__) {
  30800. "use strict";
  30801. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  30802. Object.defineProperty(exports, "__esModule", {
  30803. value: true
  30804. });
  30805. exports.default = void 0;
  30806. var _PersistedState = _interopRequireDefault(__webpack_require__(/*! ../PersistedState */ 36));
  30807. var _homesearch = __webpack_require__(/*! ../../api/homesearch */ 37);
  30808. // initial state
  30809. var state = {
  30810. items: _PersistedState.default.getStorage('goodsclass', 'items', []),
  30811. currentItem: _PersistedState.default.getStorage('goodsclass', 'currentItem')
  30812. };
  30813. // mutations
  30814. var mutations = {
  30815. saveGoodsclassItems: function saveGoodsclassItems(state, items) {
  30816. state.items = items;
  30817. _PersistedState.default.setStorage('goodsclass', state);
  30818. },
  30819. clearGoodsclassItems: function clearGoodsclassItems(state) {
  30820. state.items = null;
  30821. _PersistedState.default.setStorage('goodsclass', state);
  30822. },
  30823. saveCurrentGoodsclassItem: function saveCurrentGoodsclassItem(state, item) {
  30824. state.currentItem = item;
  30825. _PersistedState.default.setStorage('goodsclass', state);
  30826. },
  30827. resetCurrentGoodsclassItem: function resetCurrentGoodsclassItem(state) {
  30828. if (state.items && state.items.length) {
  30829. state.currentItem = state.items[0];
  30830. _PersistedState.default.setStorage('goodsclass', state);
  30831. }
  30832. }
  30833. };
  30834. // actions
  30835. var actions = {
  30836. fetchGoodsclassList: function fetchGoodsclassList(_ref) {
  30837. var commit = _ref.commit,
  30838. state = _ref.state;
  30839. return new Promise(function (resolve, reject) {
  30840. (0, _homesearch.getGoodsclassList)().then(function (response) {
  30841. if (response.result && response.result.class_list && response.result.class_list.length) {
  30842. commit('saveGoodsclassItems', response.result.class_list);
  30843. if (!state.currentItem) {
  30844. commit('saveCurrentGoodsclassItem', response.result.class_list[0]);
  30845. }
  30846. }
  30847. resolve(response);
  30848. }, function (error) {
  30849. reject(error);
  30850. });
  30851. });
  30852. }
  30853. };
  30854. var _default = {
  30855. state: state,
  30856. mutations: mutations,
  30857. actions: actions
  30858. };
  30859. exports.default = _default;
  30860. /***/ }),
  30861. /***/ 355:
  30862. /*!******************************************************************!*\
  30863. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/api/memberRegister.js ***!
  30864. \******************************************************************/
  30865. /*! no static exports found */
  30866. /***/ (function(module, exports, __webpack_require__) {
  30867. "use strict";
  30868. Object.defineProperty(exports, "__esModule", {
  30869. value: true
  30870. });
  30871. exports.registerByMobile = exports.register = exports.getInviterInfo = void 0;
  30872. var _network = __webpack_require__(/*! ../util/network */ 38);
  30873. // 获取推荐人
  30874. var getInviterInfo = function getInviterInfo(inviter_id) {
  30875. return (0, _network.requestApi)('/Login/get_inviter', 'POST', {
  30876. 'inviter_id': inviter_id
  30877. });
  30878. };
  30879. // 用户注册
  30880. exports.getInviterInfo = getInviterInfo;
  30881. var register = function register(username, password, passwordConfirm, inviterId) {
  30882. var pictureCode = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : '';
  30883. return (0, _network.requestApi)('/Login/register', 'POST', {
  30884. 'username': username,
  30885. 'password': password,
  30886. 'password_confirm': passwordConfirm,
  30887. 'inviter_id': inviterId,
  30888. 'captcha': pictureCode,
  30889. 'client': 'wap'
  30890. });
  30891. };
  30892. // 用户手机注册
  30893. exports.register = register;
  30894. var registerByMobile = function registerByMobile(phone, password, passwordConfirm, captcha, inviterId) {
  30895. return (0, _network.requestApi)('/Connect/sms_register', 'POST', {
  30896. 'phone': phone,
  30897. 'password': password,
  30898. 'password_confirm': passwordConfirm,
  30899. 'captcha': captcha,
  30900. 'inviter_id': inviterId,
  30901. 'client': 'wap'
  30902. });
  30903. };
  30904. exports.registerByMobile = registerByMobile;
  30905. /***/ }),
  30906. /***/ 36:
  30907. /*!********************************************************************!*\
  30908. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/store/PersistedState.js ***!
  30909. \********************************************************************/
  30910. /*! no static exports found */
  30911. /***/ (function(module, exports, __webpack_require__) {
  30912. "use strict";
  30913. /* WEBPACK VAR INJECTION */(function(uni) {
  30914. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  30915. Object.defineProperty(exports, "__esModule", {
  30916. value: true
  30917. });
  30918. exports.default = void 0;
  30919. var _typeof2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/typeof */ 13));
  30920. var PersistedState = {
  30921. setStorage: function setStorage(m, v) {
  30922. var storage = PersistedState.getStorage();
  30923. if ((0, _typeof2.default)(storage) != 'object') {
  30924. storage = {};
  30925. }
  30926. if (typeof storage[m] == 'undefined') {
  30927. storage[m] = {};
  30928. }
  30929. for (var k in v) {
  30930. storage[m][k] = v[k];
  30931. }
  30932. uni.setStorage({
  30933. key: 'dsmall',
  30934. data: storage
  30935. });
  30936. },
  30937. getStorage: function getStorage(m, k) {
  30938. var default_val = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;
  30939. var storage = uni.getStorageSync('dsmall');
  30940. if (typeof m == 'undefined') {
  30941. return storage;
  30942. } else {
  30943. if (storage && typeof storage[m] != 'undefined' && typeof storage[m][k] != 'undefined') {
  30944. return storage[m][k];
  30945. } else {
  30946. return default_val;
  30947. }
  30948. }
  30949. }
  30950. };
  30951. var _default = PersistedState;
  30952. exports.default = _default;
  30953. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  30954. /***/ }),
  30955. /***/ 364:
  30956. /*!******************************************************************!*\
  30957. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/api/memberFavorite.js ***!
  30958. \******************************************************************/
  30959. /*! no static exports found */
  30960. /***/ (function(module, exports, __webpack_require__) {
  30961. "use strict";
  30962. Object.defineProperty(exports, "__esModule", {
  30963. value: true
  30964. });
  30965. exports.getFavoriteStoreList = exports.getFavoriteGoodsList = exports.delFavoriteStore = exports.delFavoriteGoods = exports.addFavoriteStore = void 0;
  30966. var _network = __webpack_require__(/*! ../util/network */ 38);
  30967. // 获取店铺搜藏列表
  30968. var getFavoriteStoreList = function getFavoriteStoreList(page) {
  30969. return (0, _network.requestApi)('/Memberfavoritesstore/favorites_list', 'POST', {}, 'member');
  30970. };
  30971. // 收藏店鋪
  30972. exports.getFavoriteStoreList = getFavoriteStoreList;
  30973. var addFavoriteStore = function addFavoriteStore(storeId) {
  30974. return (0, _network.requestApi)('/Memberfavoritesstore/favorites_add', 'POST', {
  30975. 'store_id': storeId // 所属店铺
  30976. }, 'member');
  30977. };
  30978. // 删除店铺搜藏
  30979. exports.addFavoriteStore = addFavoriteStore;
  30980. var delFavoriteStore = function delFavoriteStore(favId) {
  30981. return (0, _network.requestApi)('/Memberfavoritesstore/favorites_del', 'POST', {
  30982. 'fav_id': favId
  30983. }, 'member');
  30984. };
  30985. // 获取商品搜藏列表
  30986. exports.delFavoriteStore = delFavoriteStore;
  30987. var getFavoriteGoodsList = function getFavoriteGoodsList(page) {
  30988. return (0, _network.requestApi)('/Memberfavorites/favorites_list', 'POST', {
  30989. 'page': page
  30990. }, 'member');
  30991. };
  30992. // 删除商品搜藏
  30993. exports.getFavoriteGoodsList = getFavoriteGoodsList;
  30994. var delFavoriteGoods = function delFavoriteGoods(favId) {
  30995. return (0, _network.requestApi)('/Memberfavorites/favorites_del', 'POST', {
  30996. 'fav_id': favId
  30997. }, 'member');
  30998. };
  30999. exports.delFavoriteGoods = delFavoriteGoods;
  31000. /***/ }),
  31001. /***/ 37:
  31002. /*!**************************************************************!*\
  31003. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/api/homesearch.js ***!
  31004. \**************************************************************/
  31005. /*! no static exports found */
  31006. /***/ (function(module, exports, __webpack_require__) {
  31007. "use strict";
  31008. Object.defineProperty(exports, "__esModule", {
  31009. value: true
  31010. });
  31011. exports.searchKeywordList = exports.searchGoodsList = exports.getStoreNearbyList = exports.getStoreList = exports.getPresellTime = exports.getPresellList = exports.getPintuanList = exports.getGroupbuyList = exports.getGroupbuyFilter = exports.getGoodsclassList = exports.getChainList = exports.getBrandList = exports.getAttribute = void 0;
  31012. var _network = __webpack_require__(/*! ../util/network */ 38);
  31013. // 热门关键词
  31014. var searchKeywordList = function searchKeywordList() {
  31015. return (0, _network.requestApi)('/Index/search_key_list', 'POST', {});
  31016. };
  31017. // 商品搜索
  31018. exports.searchKeywordList = searchKeywordList;
  31019. var searchGoodsList = function searchGoodsList(params) {
  31020. return (0, _network.requestApi)('/Goods/goods_list', 'GET', {
  31021. 'keyword': params.keyword ? params.keyword : '',
  31022. // 关键字 (选填)
  31023. 'b_id': params.b_id ? params.b_id : '',
  31024. // 所属品牌id (选填)
  31025. 'cate_id': params.cate_id ? params.cate_id : '',
  31026. // 所属商品分类id (选填)
  31027. 'a_id': params.a_id ? params.a_id : '',
  31028. // 当前所选属性
  31029. 'price_from': params.price_from ? params.price_from : '',
  31030. 'price_to': params.price_to ? params.price_to : '',
  31031. 'own_shop': params.own_shop ? params.own_shop : '',
  31032. 'gift': params.gift ? params.gift : '',
  31033. 'area_id': params.area_id ? params.area_id : '',
  31034. 'groupbuy': params.groupbuy ? params.groupbuy : '',
  31035. 'xianshi': params.xianshi ? params.xianshi : '',
  31036. 'virtual': params.virtual ? params.virtual : '',
  31037. 'sort_key': params.sort_key ? params.sort_key : '',
  31038. 'sort_order': params.sort_order ? params.sort_order : '',
  31039. 'page': params.page ? params.page : '1' // 当前第几页
  31040. });
  31041. };
  31042. // 获取商品属性
  31043. exports.searchGoodsList = searchGoodsList;
  31044. var getAttribute = function getAttribute(params) {
  31045. return (0, _network.requestApi)('/Goods/get_attribute', 'GET', {
  31046. 'b_id': params.b_id ? params.b_id : '',
  31047. // 所属品牌id (选填)
  31048. 'cate_id': params.cate_id ? params.cate_id : '',
  31049. // 所属商品分类id (选填)
  31050. 'a_id': params.a_id ? params.a_id : '' // 当前所选属性
  31051. });
  31052. };
  31053. // 获取商品分类
  31054. exports.getAttribute = getAttribute;
  31055. var getGoodsclassList = function getGoodsclassList() {
  31056. return (0, _network.requestApi)('/Goodsclass/index', 'POST', {});
  31057. };
  31058. // 商品搜索
  31059. exports.getGoodsclassList = getGoodsclassList;
  31060. var getStoreList = function getStoreList(brand, category, keyword, lng, lat, sort_key, page) {
  31061. var key = arguments.length > 7 && arguments[7] !== undefined ? arguments[7] : '';
  31062. return (0, _network.requestApi)('/Store/store_list', 'POST', {
  31063. 'brand': brand,
  31064. // 所属品牌id (选填)
  31065. 'cate_id': category,
  31066. // 所属店铺分类id (选填)
  31067. 'keyword': keyword,
  31068. // 关键字 (选填)
  31069. 'longitude': lng,
  31070. 'latitude': lat,
  31071. 'sort_key': sort_key,
  31072. // 键
  31073. 'page': page,
  31074. // 当前第几页
  31075. 'key': key
  31076. });
  31077. };
  31078. // 商品搜索
  31079. exports.getStoreList = getStoreList;
  31080. var getStoreNearbyList = function getStoreNearbyList(brand, category, keyword, lng, lat, sort_key, page) {
  31081. var key = arguments.length > 7 && arguments[7] !== undefined ? arguments[7] : '';
  31082. return (0, _network.requestApi)('/Shopnearby/index', 'POST', {
  31083. 'brand': brand,
  31084. // 所属品牌id (选填)
  31085. 'storeclass_id': category,
  31086. // 所属店铺分类id (选填)
  31087. 'keyword': keyword,
  31088. // 关键字 (选填)
  31089. 'longitude': lng,
  31090. 'latitude': lat,
  31091. 'sort_key': sort_key,
  31092. // 键
  31093. 'page': page,
  31094. // 当前第几页
  31095. 'key': key
  31096. });
  31097. };
  31098. // 门店搜索
  31099. exports.getStoreNearbyList = getStoreNearbyList;
  31100. var getChainList = function getChainList(data, params) {
  31101. return (0, _network.requestApi)('/Chain/chain_list', 'POST', Object.assign(data, params));
  31102. };
  31103. // 获取品牌列表
  31104. exports.getChainList = getChainList;
  31105. var getBrandList = function getBrandList(recommend) {
  31106. return (0, _network.requestApi)('/Brand/get_list', 'POST', {
  31107. recommend: recommend
  31108. });
  31109. };
  31110. // 获取拼团列表
  31111. exports.getBrandList = getBrandList;
  31112. var getPintuanList = function getPintuanList(params) {
  31113. return (0, _network.requestApi)('/Pintuan/index', 'POST', {
  31114. 'page': params.page // 当前第几页
  31115. });
  31116. };
  31117. // 获取抢购列表 groupbuy_is_vr参数判断是否是虚拟
  31118. exports.getPintuanList = getPintuanList;
  31119. var getGroupbuyList = function getGroupbuyList(params) {
  31120. return (0, _network.requestApi)('/Groupbuy/index', 'POST', params);
  31121. };
  31122. // 获取抢购条件
  31123. exports.getGroupbuyList = getGroupbuyList;
  31124. var getGroupbuyFilter = function getGroupbuyFilter(groupbuy_is_vr) {
  31125. return (0, _network.requestApi)('/Groupbuy/filter', 'POST', {
  31126. 'groupbuy_is_vr': groupbuy_is_vr
  31127. });
  31128. };
  31129. // 获取预售列表
  31130. exports.getGroupbuyFilter = getGroupbuyFilter;
  31131. var getPresellList = function getPresellList(params) {
  31132. return (0, _network.requestApi)('/Presell/index', 'POST', params);
  31133. };
  31134. // 获取预售时间
  31135. exports.getPresellList = getPresellList;
  31136. var getPresellTime = function getPresellTime(params) {
  31137. return (0, _network.requestApi)('/Presell/time_list', 'POST', params);
  31138. };
  31139. exports.getPresellTime = getPresellTime;
  31140. /***/ }),
  31141. /***/ 379:
  31142. /*!*************************************************************!*\
  31143. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/api/homeBonus.js ***!
  31144. \*************************************************************/
  31145. /*! no static exports found */
  31146. /***/ (function(module, exports, __webpack_require__) {
  31147. "use strict";
  31148. Object.defineProperty(exports, "__esModule", {
  31149. value: true
  31150. });
  31151. exports.receiveBonus = exports.getReceiveList = exports.getBonusDetail = void 0;
  31152. var _network = __webpack_require__(/*! ../util/network */ 38);
  31153. // 获取活动红包详情
  31154. var getBonusDetail = function getBonusDetail(bonusId) {
  31155. return (0, _network.requestApi)('/Bonus/detail', 'GET', {
  31156. 'bonus_id': bonusId
  31157. });
  31158. };
  31159. // 领取红包
  31160. exports.getBonusDetail = getBonusDetail;
  31161. var receiveBonus = function receiveBonus(bonusId) {
  31162. return (0, _network.requestApi)('/Memberbonus/receive', 'GET', {
  31163. 'bonus_id': bonusId
  31164. }, 'member');
  31165. };
  31166. // 领取红包
  31167. exports.receiveBonus = receiveBonus;
  31168. var getReceiveList = function getReceiveList(params) {
  31169. return (0, _network.requestApi)('/Memberbonus/get_receive_list', 'GET', {
  31170. page: params.page,
  31171. per_page: params.per_page
  31172. }, 'member');
  31173. };
  31174. exports.getReceiveList = getReceiveList;
  31175. /***/ }),
  31176. /***/ 38:
  31177. /*!************************************************************!*\
  31178. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/util/network.js ***!
  31179. \************************************************************/
  31180. /*! no static exports found */
  31181. /***/ (function(module, exports, __webpack_require__) {
  31182. "use strict";
  31183. /* WEBPACK VAR INJECTION */(function(uni) {
  31184. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  31185. Object.defineProperty(exports, "__esModule", {
  31186. value: true
  31187. });
  31188. exports.requestApi = requestApi;
  31189. exports.requestRaw = requestRaw;
  31190. var _store = _interopRequireDefault(__webpack_require__(/*! ../store */ 33));
  31191. var _config = __webpack_require__(/*! ../static/config */ 39);
  31192. function requestApi(reqUrl) {
  31193. var type = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'POST';
  31194. var data = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
  31195. var auth = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : '';
  31196. var multipart = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : false;
  31197. var arraybuffer = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : false;
  31198. if (!reqUrl) {
  31199. return;
  31200. }
  31201. var headers = {};
  31202. if (auth === 'member') {
  31203. headers['X-DS-KEY'] = _store.default.state.member.token;
  31204. }
  31205. type = type.toUpperCase();
  31206. reqUrl = _config.env.API_HOST + reqUrl;
  31207. return new Promise(function (resolve, reject) {
  31208. function returnData(res) {
  31209. console.log('res==>>', res);
  31210. if (arraybuffer) {
  31211. resolve(res.data);
  31212. } else {
  31213. if (res.data.code === 10000) {
  31214. resolve(res.data);
  31215. } else if (res.data.code === 11001) {
  31216. var pages = getCurrentPages();
  31217. var page = pages[pages.length - 2];
  31218. if (page && page.route.search('pages/member') != -1) {} else {
  31219. uni.navigateTo({
  31220. url: '/pages/home/memberlogin/Login?clear=1'
  31221. }); // token过期,需要删除
  31222. }
  31223. } else {
  31224. reject(res.data);
  31225. }
  31226. }
  31227. }
  31228. if (multipart) {
  31229. var filePath = data.filePath;
  31230. var name = data.name;
  31231. delete data.filePath;
  31232. uni.uploadFile({
  31233. url: reqUrl,
  31234. filePath: filePath,
  31235. name: name,
  31236. formData: data,
  31237. header: headers,
  31238. success: function success(res) {
  31239. res.data = JSON.parse(res.data);
  31240. returnData(res);
  31241. },
  31242. fail: function fail(error) {
  31243. reject(error);
  31244. }
  31245. });
  31246. } else {
  31247. uni.request({
  31248. url: reqUrl,
  31249. data: data,
  31250. header: headers,
  31251. method: type,
  31252. withCredentials: true,
  31253. responseType: arraybuffer ? 'arraybuffer' : 'text',
  31254. success: function success(res) {
  31255. returnData(res);
  31256. },
  31257. fail: function fail(error) {
  31258. reject(error);
  31259. }
  31260. });
  31261. }
  31262. });
  31263. }
  31264. function requestRaw(reqUrl) {
  31265. var type = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'POST';
  31266. var data = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
  31267. type = type.toUpperCase();
  31268. return new Promise(function (resolve, reject) {
  31269. uni.request({
  31270. url: reqUrl,
  31271. data: data,
  31272. method: type,
  31273. withCredentials: true,
  31274. success: function success(res) {
  31275. resolve(res.data);
  31276. },
  31277. fail: function fail(error) {
  31278. reject(error);
  31279. }
  31280. });
  31281. });
  31282. }
  31283. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  31284. /***/ }),
  31285. /***/ 39:
  31286. /*!*************************************************************!*\
  31287. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/static/config.js ***!
  31288. \*************************************************************/
  31289. /*! no static exports found */
  31290. /***/ (function(module, exports, __webpack_require__) {
  31291. "use strict";
  31292. Object.defineProperty(exports, "__esModule", {
  31293. value: true
  31294. });
  31295. exports.env = void 0;
  31296. var env = {
  31297. 'H5_HOST': 'https://m.cctc365.com/',
  31298. // 'SELLER_H5_HOST': 'https://uniapp.store.dsmall.csdeshang.com/',
  31299. 'API_HOST': 'https://www.cctc365.com/api',
  31300. // 'API_HOST': 'http://10.56.42.28:85/api',
  31301. 'SITE_URL': 'https://www.cctc365.com',
  31302. 'DEBUG': false,
  31303. 'ENCRYPTED': false,
  31304. 'BMAP_AK': 'exPji9xh9qtmKCclfoGBgoKxMyZtfoFi',
  31305. 'BMAP_AK_BRO': 'KeDEG5N9G185xLAP1tdHBh4G6GP8CN2P'
  31306. };
  31307. exports.env = env;
  31308. /***/ }),
  31309. /***/ 4:
  31310. /*!**********************************************************************!*\
  31311. !*** ./node_modules/@babel/runtime/helpers/interopRequireDefault.js ***!
  31312. \**********************************************************************/
  31313. /*! no static exports found */
  31314. /***/ (function(module, exports) {
  31315. function _interopRequireDefault(obj) {
  31316. return obj && obj.__esModule ? obj : {
  31317. "default": obj
  31318. };
  31319. }
  31320. module.exports = _interopRequireDefault, module.exports.__esModule = true, module.exports["default"] = module.exports;
  31321. /***/ }),
  31322. /***/ 40:
  31323. /*!*************************************************************************!*\
  31324. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/store/modules/goodsdetail.js ***!
  31325. \*************************************************************************/
  31326. /*! no static exports found */
  31327. /***/ (function(module, exports, __webpack_require__) {
  31328. "use strict";
  31329. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  31330. Object.defineProperty(exports, "__esModule", {
  31331. value: true
  31332. });
  31333. exports.default = void 0;
  31334. var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ 11));
  31335. var _PersistedState = _interopRequireDefault(__webpack_require__(/*! ../PersistedState */ 36));
  31336. var _homegoodsdetail = __webpack_require__(/*! ../../api/homegoodsdetail */ 41);
  31337. function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
  31338. function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
  31339. var _initState = {
  31340. storeInfo: _PersistedState.default.getStorage('goodsdetail', 'storeInfo', {}),
  31341. detailInfo: _PersistedState.default.getStorage('goodsdetail', 'detailInfo', {}),
  31342. // 商品详情
  31343. mansongInfo: _PersistedState.default.getStorage('goodsdetail', 'mansongInfo', {}),
  31344. // 满减
  31345. voucher: _PersistedState.default.getStorage('goodsdetail', 'voucher', {}),
  31346. // 代金券
  31347. commendList: _PersistedState.default.getStorage('goodsdetail', 'commendList', []),
  31348. // 推荐商品
  31349. specList: _PersistedState.default.getStorage('goodsdetail', 'specList', {}),
  31350. // 规格列表
  31351. consultType: _PersistedState.default.getStorage('goodsdetail', 'consultType', {}),
  31352. // 商品咨询
  31353. mbBody: _PersistedState.default.getStorage('goodsdetail', 'mbBody', []),
  31354. isFavorate: _PersistedState.default.getStorage('goodsdetail', 'isFavorate', false),
  31355. // 是否收藏
  31356. isShowcartInfo: _PersistedState.default.getStorage('goodsdetail', 'isShowcartInfo', false),
  31357. // 是否显示购物车
  31358. isShowtranslateInfo: _PersistedState.default.getStorage('goodsdetail', 'isShowtranslateInfo', false),
  31359. // 是否显示保障列表
  31360. number: _PersistedState.default.getStorage('goodsdetail', 'number', 0),
  31361. // 选择商品的数量
  31362. // ispromotion: false, //点击促销, 根据该值来判断弹出框距离底部的距离
  31363. type: _PersistedState.default.getStorage('goodsdetail', 'type', '确定'),
  31364. // 点击购买和加入购物车, 购买浮层的按钮显示
  31365. chooseinfo: _PersistedState.default.getStorage('goodsdetail', 'chooseinfo', {
  31366. specification: [],
  31367. ids: []
  31368. }),
  31369. // 选择该商品的ids和属性名称
  31370. properties: _PersistedState.default.getStorage('goodsdetail', 'properties', []),
  31371. // 多属性商品的属性名称值
  31372. index: _PersistedState.default.getStorage('goodsdetail', 'index', 0),
  31373. // 当前点击的type值
  31374. currentProductId: _PersistedState.default.getStorage('goodsdetail', 'currentProductId', ''),
  31375. // 当前商品的id
  31376. isPreviewPicture: _PersistedState.default.getStorage('goodsdetail', 'isPreviewPicture', false),
  31377. // 当前是否是预览大图
  31378. swipeId: _PersistedState.default.getStorage('goodsdetail', 'swipeId', 0),
  31379. // 当前滑动的swiperid值
  31380. promoPopstatus: _PersistedState.default.getStorage('goodsdetail', 'promoPopstatus', false)
  31381. };
  31382. // initial state
  31383. var state = _objectSpread(_objectSpread({}, _initState), {}, {
  31384. initState: function initState() {
  31385. return _initState;
  31386. }
  31387. });
  31388. // mutations
  31389. var mutations = {
  31390. saveStoreInfo: function saveStoreInfo(state, value) {
  31391. state.storeInfo = value;
  31392. _PersistedState.default.setStorage('goodsdetail', state);
  31393. },
  31394. // 保存商品详情, 各个组件数据共享
  31395. saveDetailInfo: function saveDetailInfo(state, value) {
  31396. state.detailInfo = value;
  31397. _PersistedState.default.setStorage('goodsdetail', state);
  31398. },
  31399. saveConsultType: function saveConsultType(state, value) {
  31400. state.consultType = value;
  31401. _PersistedState.default.setStorage('goodsdetail', state);
  31402. },
  31403. saveMansongInfo: function saveMansongInfo(state, value) {
  31404. state.mansongInfo = value;
  31405. _PersistedState.default.setStorage('goodsdetail', state);
  31406. },
  31407. saveVoucher: function saveVoucher(state, value) {
  31408. state.voucher = value;
  31409. _PersistedState.default.setStorage('goodsdetail', state);
  31410. },
  31411. // 商品详情
  31412. saveMbBody: function saveMbBody(state, value) {
  31413. state.mbBody = value;
  31414. _PersistedState.default.setStorage('goodsdetail', state);
  31415. },
  31416. saveIsFavorate: function saveIsFavorate(state, value) {
  31417. state.isFavorate = value;
  31418. _PersistedState.default.setStorage('goodsdetail', state);
  31419. },
  31420. // 商品评论
  31421. saveCommendList: function saveCommendList(state, value) {
  31422. state.commendList = value;
  31423. _PersistedState.default.setStorage('goodsdetail', state);
  31424. },
  31425. // 商品规格
  31426. saveSpecList: function saveSpecList(state, value) {
  31427. state.specList = value;
  31428. _PersistedState.default.setStorage('goodsdetail', state);
  31429. },
  31430. // 根据点击时是否显示购物车浮层
  31431. saveCartState: function saveCartState(state, value) {
  31432. state.isShowcartInfo = value;
  31433. _PersistedState.default.setStorage('goodsdetail', state);
  31434. },
  31435. // 根据点击时是否显示店铺保障浮层
  31436. saveTranslateState: function saveTranslateState(state, value) {
  31437. state.isShowtranslateInfo = value;
  31438. _PersistedState.default.setStorage('goodsdetail', state);
  31439. },
  31440. // 保存选择的商品的数量
  31441. saveNumber: function saveNumber(state, number) {
  31442. state.number = number;
  31443. _PersistedState.default.setStorage('goodsdetail', state);
  31444. },
  31445. // 加入购物车,还是确定的文案设置
  31446. changeType: function changeType(state, value) {
  31447. state.type = value;
  31448. _PersistedState.default.setStorage('goodsdetail', state);
  31449. },
  31450. // 保存当钱切换的tab值
  31451. changeIndex: function changeIndex(state, value) {
  31452. state.index = value;
  31453. _PersistedState.default.setStorage('goodsdetail', state);
  31454. },
  31455. // 设置当前商品的id值
  31456. setCurrentProductId: function setCurrentProductId(state, value) {
  31457. state.currentProductId = value;
  31458. _PersistedState.default.setStorage('goodsdetail', state);
  31459. },
  31460. // 设置当前商品的属性值
  31461. saveChooseInfo: function saveChooseInfo(state, info) {
  31462. state.chooseinfo = info;
  31463. _PersistedState.default.setStorage('goodsdetail', state);
  31464. },
  31465. // 点击促销信息, 弹出框的位置
  31466. changePromotion: function changePromotion(state, data) {
  31467. state.ispromotion = data;
  31468. _PersistedState.default.setStorage('goodsdetail', state);
  31469. },
  31470. saveProperties: function saveProperties(state, value) {
  31471. state.properties = value;
  31472. _PersistedState.default.setStorage('goodsdetail', state);
  31473. },
  31474. // 改变当前是否是预览大图的值
  31475. setisPreviewPicture: function setisPreviewPicture(state, value) {
  31476. state.isPreviewPicture = value;
  31477. _PersistedState.default.setStorage('goodsdetail', state);
  31478. },
  31479. setSwiperId: function setSwiperId(state, value) {
  31480. state.swipeId = value;
  31481. _PersistedState.default.setStorage('goodsdetail', state);
  31482. },
  31483. changePopstatus: function changePopstatus(state, value) {
  31484. state.promoPopstatus = value;
  31485. _PersistedState.default.setStorage('goodsdetail', state);
  31486. }
  31487. };
  31488. // actions
  31489. var actions = {
  31490. // 获取商品详情
  31491. getGoodsDetail: function getGoodsDetail(_ref, params) {
  31492. var commit = _ref.commit,
  31493. state = _ref.state;
  31494. return new Promise(function (resolve, reject) {
  31495. commit('setCurrentProductId', params.goods_id);
  31496. (0, _homegoodsdetail.getGoodsInfo)(params.goods_id, params.token, params.extra).then(function (res) {
  31497. if (res.result.goods_image) {
  31498. res.result.goods_info.photos = res.result.goods_image;
  31499. }
  31500. var goods_info = res.result.goods_info;
  31501. var goods_spec = goods_info.goods_spec;
  31502. var spec_detail = res.result.spec_detail;
  31503. var spec_disable = [];
  31504. for (var i in spec_detail) {
  31505. if (spec_detail[i].stock <= 0 && spec_detail[i].sign) {
  31506. var spec4 = spec_detail[i].sign.split('|');
  31507. var temp = [];
  31508. for (var j in spec4) {
  31509. if (!goods_spec[spec4[j]]) {
  31510. temp.push(spec4[j]);
  31511. }
  31512. }
  31513. if (temp.length == 1) {
  31514. spec_disable.push(temp[0]);
  31515. }
  31516. }
  31517. }
  31518. goods_info.spec_disable = spec_disable;
  31519. commit('saveDetailInfo', goods_info);
  31520. commit('saveStoreInfo', res.result.store_info);
  31521. commit('saveConsultType', res.result.consult_type);
  31522. commit('saveVoucher', res.result.voucher);
  31523. commit('saveMansongInfo', res.result.mansong_info);
  31524. commit('saveCommendList', res.result.goods_commend_list);
  31525. commit('saveSpecList', res.result.spec_list);
  31526. commit('saveIsFavorate', res.result.is_favorate);
  31527. commit('saveMbBody', res.result.mb_body);
  31528. resolve(res);
  31529. }, function (error) {
  31530. reject(error);
  31531. });
  31532. });
  31533. }
  31534. };
  31535. var _default = {
  31536. state: state,
  31537. mutations: mutations,
  31538. actions: actions
  31539. };
  31540. exports.default = _default;
  31541. /***/ }),
  31542. /***/ 41:
  31543. /*!*******************************************************************!*\
  31544. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/api/homegoodsdetail.js ***!
  31545. \*******************************************************************/
  31546. /*! no static exports found */
  31547. /***/ (function(module, exports, __webpack_require__) {
  31548. "use strict";
  31549. Object.defineProperty(exports, "__esModule", {
  31550. value: true
  31551. });
  31552. exports.productUnlike = exports.productLike = exports.productAccessoryList = exports.getReviewList = exports.getGoodsInfo = exports.getGoodsConsult = exports.getChainList = exports.addGoodsConsult = void 0;
  31553. var _network = __webpack_require__(/*! ../util/network */ 38);
  31554. // 获取商品
  31555. var getGoodsInfo = function getGoodsInfo(id, token) {
  31556. var extra = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
  31557. return (0, _network.requestApi)('/goods/goods_detail', 'GET', Object.assign({
  31558. 'goods_id': id,
  31559. 'key': token
  31560. }, extra));
  31561. };
  31562. // 门店列表
  31563. exports.getGoodsInfo = getGoodsInfo;
  31564. var getChainList = function getChainList(data) {
  31565. return (0, _network.requestApi)('/goods/chain_list', 'GET', data);
  31566. };
  31567. // 商品评论
  31568. exports.getChainList = getChainList;
  31569. var getReviewList = function getReviewList(id, type, per_page) {
  31570. var page = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 1;
  31571. return (0, _network.requestApi)('/goods/goods_evaluate', 'GET', {
  31572. 'goods_id': id,
  31573. 'type': type,
  31574. 'per_page': per_page,
  31575. 'page': page
  31576. });
  31577. };
  31578. // 组合搭配
  31579. exports.getReviewList = getReviewList;
  31580. var productAccessoryList = function productAccessoryList(id) {
  31581. return (0, _network.requestApi)('/goods/get_bundling', 'GET', {
  31582. 'goods_id': id
  31583. });
  31584. };
  31585. // 收藏商品
  31586. exports.productAccessoryList = productAccessoryList;
  31587. var productLike = function productLike(id) {
  31588. return (0, _network.requestApi)('/Memberfavorites/favorites_add', 'POST', {
  31589. 'goods_id': id
  31590. }, 'member');
  31591. };
  31592. // 取消收藏
  31593. exports.productLike = productLike;
  31594. var productUnlike = function productUnlike(id) {
  31595. return (0, _network.requestApi)('/Memberfavorites/favorites_del', 'POST', {
  31596. 'fav_id': id
  31597. }, 'member');
  31598. };
  31599. // 获取商品
  31600. exports.productUnlike = productUnlike;
  31601. var getGoodsConsult = function getGoodsConsult(params, id) {
  31602. return (0, _network.requestApi)('/goods/consulting_list', 'GET', {
  31603. 'goods_id': id,
  31604. 'page': params.page,
  31605. 'per_page': params.per_page
  31606. });
  31607. };
  31608. exports.getGoodsConsult = getGoodsConsult;
  31609. var addGoodsConsult = function addGoodsConsult(id, consult_type_id, content, token) {
  31610. return (0, _network.requestApi)('/goods/save_consult', 'POST', {
  31611. 'goods_content': content,
  31612. 'consult_type_id': consult_type_id,
  31613. 'goods_id': id,
  31614. 'key': token
  31615. });
  31616. };
  31617. exports.addGoodsConsult = addGoodsConsult;
  31618. /***/ }),
  31619. /***/ 412:
  31620. /*!***************************************************************!*\
  31621. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/api/homeBargain.js ***!
  31622. \***************************************************************/
  31623. /*! no static exports found */
  31624. /***/ (function(module, exports, __webpack_require__) {
  31625. "use strict";
  31626. Object.defineProperty(exports, "__esModule", {
  31627. value: true
  31628. });
  31629. exports.getBargainOrderInfo = exports.getBargainLogList = exports.getBargainList = exports.getBargainInfo = void 0;
  31630. var _network = __webpack_require__(/*! ../util/network */ 38);
  31631. // 获取砍价详情
  31632. var getBargainInfo = function getBargainInfo(bargain_id) {
  31633. return (0, _network.requestApi)('/Bargain/get_info', 'POST', {
  31634. bargain_id: bargain_id
  31635. });
  31636. };
  31637. // 获取砍价详情
  31638. exports.getBargainInfo = getBargainInfo;
  31639. var getBargainOrderInfo = function getBargainOrderInfo(bargainorder_id, key) {
  31640. return (0, _network.requestApi)('/Bargain/get_order_info', 'POST', {
  31641. bargainorder_id: bargainorder_id,
  31642. key: key
  31643. });
  31644. };
  31645. // 获取砍价列表
  31646. exports.getBargainOrderInfo = getBargainOrderInfo;
  31647. var getBargainList = function getBargainList(params) {
  31648. return (0, _network.requestApi)('/Bargain/get_list', 'POST', {
  31649. page: params.page,
  31650. per_page: params.per_page
  31651. });
  31652. };
  31653. // 获取砍价记录
  31654. exports.getBargainList = getBargainList;
  31655. var getBargainLogList = function getBargainLogList(bargainorder_id, params) {
  31656. return (0, _network.requestApi)('/Bargain/get_log_list', 'POST', {
  31657. bargainorder_id: bargainorder_id,
  31658. page: params.page,
  31659. per_page: params.per_page
  31660. });
  31661. };
  31662. exports.getBargainLogList = getBargainLogList;
  31663. /***/ }),
  31664. /***/ 42:
  31665. /*!*************************************************************************!*\
  31666. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/store/modules/pointsgoods.js ***!
  31667. \*************************************************************************/
  31668. /*! no static exports found */
  31669. /***/ (function(module, exports, __webpack_require__) {
  31670. "use strict";
  31671. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  31672. Object.defineProperty(exports, "__esModule", {
  31673. value: true
  31674. });
  31675. exports.default = void 0;
  31676. var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ 11));
  31677. var _PersistedState = _interopRequireDefault(__webpack_require__(/*! ../PersistedState */ 36));
  31678. function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
  31679. function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
  31680. var _initState = {
  31681. detailInfo: _PersistedState.default.getStorage('pointsgoods', 'detailInfo', {}),
  31682. // 商品详情
  31683. commendList: _PersistedState.default.getStorage('pointsgoods', 'commendList', []),
  31684. // 推荐商品
  31685. mbBody: _PersistedState.default.getStorage('pointsgoods', 'mbBody', []),
  31686. isShowcartInfo: _PersistedState.default.getStorage('pointsgoods', 'isShowcartInfo', false),
  31687. // 是否显示购物车
  31688. number: _PersistedState.default.getStorage('pointsgoods', 'number', 0),
  31689. // 选择商品的数量
  31690. type: _PersistedState.default.getStorage('pointsgoods', 'type', '确定'),
  31691. // 点击购买和加入购物车, 购买浮层的按钮显示
  31692. index: _PersistedState.default.getStorage('pointsgoods', 'index', 0),
  31693. // 当前点击的type值
  31694. currentProductId: _PersistedState.default.getStorage('pointsgoods', 'currentProductId', ''),
  31695. // 当前商品的id
  31696. isPreviewPicture: _PersistedState.default.getStorage('pointsgoods', 'isPreviewPicture', false) // 当前是否是预览大图
  31697. };
  31698. // initial state
  31699. var state = _objectSpread(_objectSpread({}, _initState), {}, {
  31700. initState: function initState() {
  31701. return _initState;
  31702. }
  31703. });
  31704. // mutations
  31705. var mutations = {
  31706. // 保存商品详情, 各个组件数据共享
  31707. saveDetailInfo: function saveDetailInfo(state, value) {
  31708. state.detailInfo = value;
  31709. _PersistedState.default.setStorage('pointsgoods', state);
  31710. },
  31711. // 商品详情
  31712. saveMbBody: function saveMbBody(state, value) {
  31713. state.mbBody = value;
  31714. _PersistedState.default.setStorage('pointsgoods', state);
  31715. },
  31716. // 商品评论
  31717. saveCommendList: function saveCommendList(state, value) {
  31718. state.commendList = value;
  31719. _PersistedState.default.setStorage('pointsgoods', state);
  31720. },
  31721. // 根据点击时是否显示购物车浮层
  31722. saveCartState: function saveCartState(state, value) {
  31723. state.isShowcartInfo = value;
  31724. _PersistedState.default.setStorage('pointsgoods', state);
  31725. },
  31726. // 保存选择的商品的数量
  31727. saveNumber: function saveNumber(state, number) {
  31728. state.number = number;
  31729. _PersistedState.default.setStorage('pointsgoods', state);
  31730. },
  31731. // 加入购物车,还是确定的文案设置
  31732. changeType: function changeType(state, value) {
  31733. state.type = value;
  31734. _PersistedState.default.setStorage('pointsgoods', state);
  31735. },
  31736. // 保存当钱切换的tab值
  31737. changeIndex: function changeIndex(state, value) {
  31738. state.index = value;
  31739. _PersistedState.default.setStorage('pointsgoods', state);
  31740. },
  31741. // 设置当前商品的id值
  31742. setCurrentProductId: function setCurrentProductId(state, value) {
  31743. state.currentProductId = value;
  31744. _PersistedState.default.setStorage('pointsgoods', state);
  31745. },
  31746. // 改变当前是否是预览大图的值
  31747. setisPreviewPicture: function setisPreviewPicture(state, value) {
  31748. state.isPreviewPicture = value;
  31749. _PersistedState.default.setStorage('pointsgoods', state);
  31750. }
  31751. };
  31752. var _default = {
  31753. state: state,
  31754. mutations: mutations
  31755. };
  31756. exports.default = _default;
  31757. /***/ }),
  31758. /***/ 421:
  31759. /*!*****************************************************************!*\
  31760. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/api/memberBargain.js ***!
  31761. \*****************************************************************/
  31762. /*! no static exports found */
  31763. /***/ (function(module, exports, __webpack_require__) {
  31764. "use strict";
  31765. Object.defineProperty(exports, "__esModule", {
  31766. value: true
  31767. });
  31768. exports.getBargainList = exports.addBargainLog = exports.addBargain = void 0;
  31769. var _network = __webpack_require__(/*! ../util/network */ 38);
  31770. // 新增砍价
  31771. var addBargain = function addBargain(bargain_id) {
  31772. return (0, _network.requestApi)('/member_bargain/add', 'POST', {
  31773. bargain_id: bargain_id
  31774. }, 'member');
  31775. };
  31776. // 新增砍价记录
  31777. exports.addBargain = addBargain;
  31778. var addBargainLog = function addBargainLog(bargainorder_id) {
  31779. return (0, _network.requestApi)('/member_bargain/add_log', 'POST', {
  31780. bargainorder_id: bargainorder_id
  31781. }, 'member');
  31782. };
  31783. // 获取砍价列表
  31784. exports.addBargainLog = addBargainLog;
  31785. var getBargainList = function getBargainList(params) {
  31786. return (0, _network.requestApi)('/member_bargain/get_list', 'POST', {
  31787. page: params.page,
  31788. per_page: params.per_page
  31789. }, 'member');
  31790. };
  31791. exports.getBargainList = getBargainList;
  31792. /***/ }),
  31793. /***/ 43:
  31794. /*!******************************************************************!*\
  31795. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/store/modules/home.js ***!
  31796. \******************************************************************/
  31797. /*! no static exports found */
  31798. /***/ (function(module, exports, __webpack_require__) {
  31799. "use strict";
  31800. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  31801. Object.defineProperty(exports, "__esModule", {
  31802. value: true
  31803. });
  31804. exports.default = void 0;
  31805. var _PersistedState = _interopRequireDefault(__webpack_require__(/*! ../PersistedState */ 36));
  31806. var _homeindex = __webpack_require__(/*! ../../api/homeindex */ 44);
  31807. var _homeArticle = __webpack_require__(/*! ../../api/homeArticle */ 45);
  31808. // initial state
  31809. var state = {
  31810. banners: _PersistedState.default.getStorage('home', 'banners'),
  31811. // 首页Banner
  31812. navs: _PersistedState.default.getStorage('home', 'navs'),
  31813. // 首页导航
  31814. floorAds: _PersistedState.default.getStorage('home', 'floorAds'),
  31815. // 横屏广告图
  31816. promotionAds: _PersistedState.default.getStorage('home', 'promotionAds'),
  31817. // 促销广告图 3 张
  31818. articles: _PersistedState.default.getStorage('home', 'articles'),
  31819. // 商城公告分类下的文章 首页显示
  31820. hotProducts: _PersistedState.default.getStorage('home', 'hotProducts'),
  31821. // 首页热门产品
  31822. recentlyProducts: _PersistedState.default.getStorage('home', 'recentlyProducts'),
  31823. goodProducts: _PersistedState.default.getStorage('home', 'goodProducts'),
  31824. xianshiProducts: _PersistedState.default.getStorage('home', 'xianshiProducts'),
  31825. special: _PersistedState.default.getStorage('home', 'special', {}),
  31826. closePopupAdv: false,
  31827. closeStorePopupAdv: false
  31828. };
  31829. // mutations
  31830. var mutations = {
  31831. saveHomeSpecial: function saveHomeSpecial(state, data) {
  31832. if (data.editablePage) {
  31833. state.special[data.pagePath + data.itemId + data.storeId] = data;
  31834. } else {
  31835. state.special[data.pagePath + data.itemId + data.storeId] = false;
  31836. }
  31837. _PersistedState.default.setStorage('home', state);
  31838. },
  31839. saveClosePopupAdv: function saveClosePopupAdv(state, data) {
  31840. state.closePopupAdv = data.closePopupAdv;
  31841. },
  31842. saveCloseStorePopupAdv: function saveCloseStorePopupAdv(state, data) {
  31843. state.closeStorePopupAdv = data.closeStorePopupAdv;
  31844. },
  31845. saveHomeAds: function saveHomeAds(state, data) {
  31846. state.banners = data.result.banners;
  31847. state.navs = data.result.navs;
  31848. state.floorAds = data.result.floor_ads;
  31849. state.promotionAds = data.result.promotion_ads;
  31850. _PersistedState.default.setStorage('home', state);
  31851. },
  31852. saveHomeArticles: function saveHomeArticles(state, data) {
  31853. state.articles = data.result.article_list;
  31854. _PersistedState.default.setStorage('home', state);
  31855. },
  31856. saveHomeProducts: function saveHomeProducts(state, data) {
  31857. state.hotProducts = data.result.hot_products;
  31858. state.recentlyProducts = data.result.recently_products;
  31859. state.goodProducts = data.result.good_products;
  31860. state.xianshiProducts = data.result.xianshi_products;
  31861. _PersistedState.default.setStorage('home', state);
  31862. }
  31863. };
  31864. // actions
  31865. var actions = {
  31866. // 获取首页轮播图
  31867. fetchHomeAd: function fetchHomeAd(_ref, params) {
  31868. var commit = _ref.commit,
  31869. state = _ref.state;
  31870. return new Promise(function (resolve, reject) {
  31871. (0, _homeindex.homeIndexAdList)().then(function (response) {
  31872. commit('saveHomeAds', response);
  31873. resolve(response);
  31874. }, function (error) {
  31875. reject(error);
  31876. });
  31877. });
  31878. },
  31879. // 获取首页商城公告分类下文章
  31880. fetchHomeArticle: function fetchHomeArticle(_ref2, params) {
  31881. var commit = _ref2.commit,
  31882. state = _ref2.state;
  31883. return new Promise(function (resolve, reject) {
  31884. // 文章分类ID为1 下的文章列表
  31885. (0, _homeArticle.getArticleList)('', 1).then(function (response) {
  31886. commit('saveHomeArticles', response);
  31887. resolve(response);
  31888. }, function (error) {
  31889. reject(error);
  31890. });
  31891. });
  31892. },
  31893. // 获取首页产品
  31894. fetchHomeProduct: function fetchHomeProduct(_ref3, params) {
  31895. var commit = _ref3.commit,
  31896. state = _ref3.state;
  31897. return new Promise(function (resolve, reject) {
  31898. (0, _homeindex.homeIndexProductList)(params.name).then(function (response) {
  31899. commit('saveHomeProducts', response);
  31900. resolve(response);
  31901. }, function (error) {
  31902. reject(error);
  31903. });
  31904. });
  31905. }
  31906. };
  31907. var _default = {
  31908. state: state,
  31909. mutations: mutations,
  31910. actions: actions
  31911. };
  31912. exports.default = _default;
  31913. /***/ }),
  31914. /***/ 430:
  31915. /*!*******************************************************************!*\
  31916. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/api/homePointsgoods.js ***!
  31917. \*******************************************************************/
  31918. /*! no static exports found */
  31919. /***/ (function(module, exports, __webpack_require__) {
  31920. "use strict";
  31921. Object.defineProperty(exports, "__esModule", {
  31922. value: true
  31923. });
  31924. exports.getPointsorderList = exports.getPointshop = exports.getPointsgoodsList = exports.getPointsgoodsInfo = exports.getPointVoucherList = exports.getPointMallVoucherList = exports.exchangePointVoucher = exports.exchangePointMallVoucher = void 0;
  31925. var _network = __webpack_require__(/*! ../util/network */ 38);
  31926. // 获取积分兑换商品详情
  31927. var getPointshop = function getPointshop() {
  31928. return (0, _network.requestApi)('/Pointshop/index', 'POST', {});
  31929. };
  31930. // 获取积分兑换店铺代金券列表
  31931. exports.getPointshop = getPointshop;
  31932. var getPointVoucherList = function getPointVoucherList(params) {
  31933. return (0, _network.requestApi)('/Pointvoucher/index', 'POST', {
  31934. 'page': params.page,
  31935. 'per_page': params.per_page,
  31936. 'client_type': 'wap'
  31937. });
  31938. };
  31939. // 积分兑换店铺代金券
  31940. exports.getPointVoucherList = getPointVoucherList;
  31941. var exchangePointVoucher = function exchangePointVoucher(params) {
  31942. return (0, _network.requestApi)('/Pointvoucher/voucherexchange_save', 'POST', params);
  31943. };
  31944. // 获取积分兑换代金券列表
  31945. exports.exchangePointVoucher = exchangePointVoucher;
  31946. var getPointMallVoucherList = function getPointMallVoucherList(params) {
  31947. return (0, _network.requestApi)('/Pointmallvoucher/index', 'POST', {
  31948. 'page': params.page,
  31949. 'per_page': params.per_page,
  31950. 'gc_id': params.gc_id,
  31951. 'client_type': 'wap'
  31952. });
  31953. };
  31954. // 积分兑换平台代金券
  31955. exports.getPointMallVoucherList = getPointMallVoucherList;
  31956. var exchangePointMallVoucher = function exchangePointMallVoucher(params) {
  31957. return (0, _network.requestApi)('/Pointmallvoucher/mallvoucherexchange_save', 'POST', params);
  31958. };
  31959. // 获取积分兑换商品列表
  31960. exports.exchangePointMallVoucher = exchangePointMallVoucher;
  31961. var getPointsgoodsList = function getPointsgoodsList(params) {
  31962. return (0, _network.requestApi)('/Pointprod/index', 'POST', {
  31963. 'page': params.page,
  31964. 'per_page': params.per_page,
  31965. 'client_type': 'wap'
  31966. });
  31967. };
  31968. // 获取积分兑换商品详情
  31969. exports.getPointsgoodsList = getPointsgoodsList;
  31970. var getPointsgoodsInfo = function getPointsgoodsInfo(id) {
  31971. return (0, _network.requestApi)('/Pointprod/pinfo', 'POST', {
  31972. 'id': id
  31973. });
  31974. };
  31975. // 获取积分兑换商品订单列表
  31976. exports.getPointsgoodsInfo = getPointsgoodsInfo;
  31977. var getPointsorderList = function getPointsorderList(params, id) {
  31978. return (0, _network.requestApi)('/Pointprod/get_order_list', 'POST', {
  31979. 'page': params.page,
  31980. 'per_page': params.per_page,
  31981. 'pgoods_id': id
  31982. });
  31983. };
  31984. exports.getPointsorderList = getPointsorderList;
  31985. /***/ }),
  31986. /***/ 44:
  31987. /*!*************************************************************!*\
  31988. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/api/homeindex.js ***!
  31989. \*************************************************************/
  31990. /*! no static exports found */
  31991. /***/ (function(module, exports, __webpack_require__) {
  31992. "use strict";
  31993. Object.defineProperty(exports, "__esModule", {
  31994. value: true
  31995. });
  31996. exports.homeIndexProductList = exports.homeIndexAdList = exports.getGuessLike = exports.getEditablePageConfigList = exports.getAppadList = void 0;
  31997. var _network = __webpack_require__(/*! ../util/network */ 38);
  31998. // 根据ap_id 获取 广告列表
  31999. var getAppadList = function getAppadList(apId) {
  32000. return (0, _network.requestApi)('/Index/getAppadList', 'POST', {
  32001. 'ap_id': apId
  32002. });
  32003. };
  32004. // 获取首页需要用到的广告图
  32005. exports.getAppadList = getAppadList;
  32006. var homeIndexAdList = function homeIndexAdList() {
  32007. return (0, _network.requestApi)('/Index/getIndexAdList', 'POST', {});
  32008. };
  32009. // 首页商品列表
  32010. exports.homeIndexAdList = homeIndexAdList;
  32011. var homeIndexProductList = function homeIndexProductList() {
  32012. return (0, _network.requestApi)('/Index/getProductList', 'POST', {});
  32013. };
  32014. // 获取可编辑模块
  32015. exports.homeIndexProductList = homeIndexProductList;
  32016. var getEditablePageConfigList = function getEditablePageConfigList(pageId) {
  32017. var pagePath = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
  32018. var itemId = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0;
  32019. var storeId = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 0;
  32020. return (0, _network.requestApi)('/Index/getEditablePageConfigList', 'POST', {
  32021. editable_page_id: pageId,
  32022. editable_page_path: pagePath,
  32023. editable_page_item_id: itemId,
  32024. store_id: storeId
  32025. });
  32026. };
  32027. // 获取猜你喜欢
  32028. exports.getEditablePageConfigList = getEditablePageConfigList;
  32029. var getGuessLike = function getGuessLike() {
  32030. var memberId = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;
  32031. return (0, _network.requestApi)('/Index/getGuessLike', 'POST', {
  32032. member_id: memberId
  32033. });
  32034. };
  32035. exports.getGuessLike = getGuessLike;
  32036. /***/ }),
  32037. /***/ 45:
  32038. /*!***************************************************************!*\
  32039. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/api/homeArticle.js ***!
  32040. \***************************************************************/
  32041. /*! no static exports found */
  32042. /***/ (function(module, exports, __webpack_require__) {
  32043. "use strict";
  32044. Object.defineProperty(exports, "__esModule", {
  32045. value: true
  32046. });
  32047. exports.getDocumentInfo = exports.getArticleclassList = exports.getArticleList = exports.getArticleDetail = void 0;
  32048. var _network = __webpack_require__(/*! ../util/network */ 38);
  32049. // 系统文章
  32050. var getDocumentInfo = function getDocumentInfo(type) {
  32051. return (0, _network.requestApi)('/Document/agreement', 'GET', {
  32052. type: type
  32053. });
  32054. };
  32055. // 获取文章分类
  32056. exports.getDocumentInfo = getDocumentInfo;
  32057. var getArticleclassList = function getArticleclassList() {
  32058. return (0, _network.requestApi)('/Articleclass/index', 'GET', {});
  32059. };
  32060. // 获取文章列表
  32061. exports.getArticleclassList = getArticleclassList;
  32062. var getArticleList = function getArticleList(params, acId) {
  32063. return (0, _network.requestApi)('/Article/article_list', 'GET', {
  32064. 'ac_id': acId,
  32065. 'page': params.page // 当前第几页
  32066. });
  32067. };
  32068. // 获取文章详情
  32069. exports.getArticleList = getArticleList;
  32070. var getArticleDetail = function getArticleDetail(articleID) {
  32071. return (0, _network.requestApi)('/Article/article_show', 'GET', {
  32072. 'article_id': articleID
  32073. });
  32074. };
  32075. exports.getArticleDetail = getArticleDetail;
  32076. /***/ }),
  32077. /***/ 46:
  32078. /*!************************************************************************!*\
  32079. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/store/modules/homesearch.js ***!
  32080. \************************************************************************/
  32081. /*! no static exports found */
  32082. /***/ (function(module, exports, __webpack_require__) {
  32083. "use strict";
  32084. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  32085. Object.defineProperty(exports, "__esModule", {
  32086. value: true
  32087. });
  32088. exports.default = void 0;
  32089. var _PersistedState = _interopRequireDefault(__webpack_require__(/*! ../PersistedState */ 36));
  32090. // search.js
  32091. // initial state
  32092. var state = {
  32093. currentKey: _PersistedState.default.getStorage('homesearch', 'currentKey', ''),
  32094. currenKeywords: _PersistedState.default.getStorage('homesearch', 'currenKeywords', [])
  32095. };
  32096. // mutations
  32097. var mutations = {
  32098. //
  32099. changeKey: function changeKey(state, value) {
  32100. state.currentKey = value;
  32101. _PersistedState.default.setStorage('homesearch', state);
  32102. },
  32103. saveKeywords: function saveKeywords(state, value) {
  32104. state.currenKeywords = value;
  32105. _PersistedState.default.setStorage('homesearch', state);
  32106. }
  32107. };
  32108. var _default = {
  32109. state: state,
  32110. mutations: mutations
  32111. };
  32112. exports.default = _default;
  32113. /***/ }),
  32114. /***/ 47:
  32115. /*!**********************************************************************!*\
  32116. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/store/modules/homecart.js ***!
  32117. \**********************************************************************/
  32118. /*! no static exports found */
  32119. /***/ (function(module, exports, __webpack_require__) {
  32120. "use strict";
  32121. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  32122. Object.defineProperty(exports, "__esModule", {
  32123. value: true
  32124. });
  32125. exports.default = void 0;
  32126. var _PersistedState = _interopRequireDefault(__webpack_require__(/*! ../PersistedState */ 36));
  32127. // initial state
  32128. var state = {
  32129. total_amount: _PersistedState.default.getStorage('homecart', 'total_amount', 0),
  32130. // 总量
  32131. total_price: _PersistedState.default.getStorage('homecart', 'total_price', 0.00),
  32132. // 总价
  32133. cartGoods: _PersistedState.default.getStorage('homecart', 'cartGoods', []) // 购物车中选中的商品
  32134. };
  32135. // mutations
  32136. var mutations = {
  32137. // 计算购物车总量和总价
  32138. calculationAmount: function calculationAmount(state, amount) {
  32139. state.total_amount = amount;
  32140. _PersistedState.default.setStorage('homecart', state);
  32141. },
  32142. calculationPrice: function calculationPrice(state, price) {
  32143. state.total_price = price;
  32144. _PersistedState.default.setStorage('homecart', state);
  32145. },
  32146. saveSelectedCartGoods: function saveSelectedCartGoods(state, payload) {
  32147. state.cartGoods = payload.cartGoods;
  32148. _PersistedState.default.setStorage('homecart', state);
  32149. },
  32150. clearSelectedCartGoods: function clearSelectedCartGoods(state) {
  32151. state.cartGoods = [];
  32152. _PersistedState.default.setStorage('homecart', state);
  32153. }
  32154. };
  32155. var _default = {
  32156. state: state,
  32157. mutations: mutations
  32158. };
  32159. exports.default = _default;
  32160. /***/ }),
  32161. /***/ 48:
  32162. /*!********************************************************************!*\
  32163. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/store/modules/member.js ***!
  32164. \********************************************************************/
  32165. /*! no static exports found */
  32166. /***/ (function(module, exports, __webpack_require__) {
  32167. "use strict";
  32168. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  32169. Object.defineProperty(exports, "__esModule", {
  32170. value: true
  32171. });
  32172. exports.default = void 0;
  32173. var _PersistedState = _interopRequireDefault(__webpack_require__(/*! ../PersistedState */ 36));
  32174. // initial state
  32175. var state = {
  32176. isOnline: _PersistedState.default.getStorage('member', 'isOnline', false),
  32177. token: _PersistedState.default.getStorage('member', 'token'),
  32178. info: _PersistedState.default.getStorage('member', 'info'),
  32179. point: _PersistedState.default.getStorage('member', 'point', {}),
  32180. inviterId: _PersistedState.default.getStorage('member', 'inviterId', 0),
  32181. isTokenInvalid: _PersistedState.default.getStorage('member', 'isTokenInvalid', false),
  32182. storeJoinin1: _PersistedState.default.getStorage('member', 'storeJoinin1', {
  32183. store_type: 1
  32184. }),
  32185. storeJoinin0: _PersistedState.default.getStorage('member', 'storeJoinin0', {
  32186. store_type: 0
  32187. }),
  32188. storeJoininType: _PersistedState.default.getStorage('member', 'storeJoininType', 1)
  32189. };
  32190. // mutations
  32191. var mutations = {
  32192. sellerJoininSave: function sellerJoininSave(state, payload) {
  32193. if (payload.storeJoinin.store_type == 1) {
  32194. state.storeJoinin1 = Object.assign(state.storeJoinin1, payload.storeJoinin);
  32195. } else {
  32196. state.storeJoinin0 = Object.assign(state.storeJoinin0, payload.storeJoinin);
  32197. }
  32198. state.storeJoininType = payload.storeJoinin.store_type;
  32199. _PersistedState.default.setStorage('member', state);
  32200. },
  32201. sellerJoininTypeSave: function sellerJoininTypeSave(state, payload) {
  32202. state.storeJoininType = payload.storeJoininType;
  32203. _PersistedState.default.setStorage('member', state);
  32204. },
  32205. memberInviterId: function memberInviterId(state, payload) {
  32206. state.inviterId = payload.inviterId;
  32207. _PersistedState.default.setStorage('member', state);
  32208. },
  32209. memberPoint: function memberPoint(state, payload) {
  32210. state.point = Object.assign(state.point, payload.point);
  32211. _PersistedState.default.setStorage('member', state);
  32212. },
  32213. memberLogin: function memberLogin(state, payload) {
  32214. state.info = payload.info;
  32215. state.info.invalid_time = parseInt(new Date().getTime() / 1000) + 3600; // 一小时更新
  32216. state.isOnline = true;
  32217. state.token = payload.token;
  32218. state.isTokenInvalid = false;
  32219. _PersistedState.default.setStorage('member', state);
  32220. },
  32221. memberLogout: function memberLogout(state) {
  32222. state.info = null;
  32223. state.isOnline = false;
  32224. state.token = null;
  32225. _PersistedState.default.setStorage('member', state);
  32226. },
  32227. memberUpdate: function memberUpdate(state, payload) {
  32228. if (state.info) {
  32229. state.info = payload.info;
  32230. state.info.invalid_time = parseInt(new Date().getTime() / 1000) + 3600; // 一小时更新
  32231. _PersistedState.default.setStorage('member', state);
  32232. }
  32233. },
  32234. memberEdit: function memberEdit(state, payload) {
  32235. if (state.info) {
  32236. var i;
  32237. for (i in payload) {
  32238. state.info[i] = payload[i];
  32239. }
  32240. _PersistedState.default.setStorage('member', state);
  32241. }
  32242. }
  32243. };
  32244. var _default = {
  32245. state: state,
  32246. mutations: mutations
  32247. };
  32248. exports.default = _default;
  32249. /***/ }),
  32250. /***/ 49:
  32251. /*!********************************************************************!*\
  32252. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/store/modules/config.js ***!
  32253. \********************************************************************/
  32254. /*! no static exports found */
  32255. /***/ (function(module, exports, __webpack_require__) {
  32256. "use strict";
  32257. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  32258. Object.defineProperty(exports, "__esModule", {
  32259. value: true
  32260. });
  32261. exports.default = void 0;
  32262. var _PersistedState = _interopRequireDefault(__webpack_require__(/*! ../PersistedState */ 36));
  32263. var _config = __webpack_require__(/*! ../../api/config */ 50);
  32264. // initial state
  32265. var state = {
  32266. config: _PersistedState.default.getStorage('config', 'config')
  32267. };
  32268. // mutations
  32269. var mutations = {
  32270. configSave: function configSave(state, payload) {
  32271. state.config = payload;
  32272. _PersistedState.default.setStorage('config', state);
  32273. }
  32274. };
  32275. // actions
  32276. var actions = {
  32277. fetchConfig: function fetchConfig(_ref) {
  32278. var commit = _ref.commit,
  32279. state = _ref.state;
  32280. return new Promise(function (resolve, reject) {
  32281. (0, _config.getConfigList)().then(function (response) {
  32282. if (response.result && response.result.config_list) {
  32283. commit('configSave', response.result.config_list);
  32284. }
  32285. resolve(response);
  32286. }, function (error) {
  32287. reject(error);
  32288. });
  32289. });
  32290. }
  32291. };
  32292. var _default = {
  32293. state: state,
  32294. mutations: mutations,
  32295. actions: actions
  32296. };
  32297. exports.default = _default;
  32298. /***/ }),
  32299. /***/ 493:
  32300. /*!*****************************************************************************!*\
  32301. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/pages/home/goodsdetail/static.js ***!
  32302. \*****************************************************************************/
  32303. /*! no static exports found */
  32304. /***/ (function(module, exports, __webpack_require__) {
  32305. "use strict";
  32306. Object.defineProperty(exports, "__esModule", {
  32307. value: true
  32308. });
  32309. exports.header = exports.evaluation = void 0;
  32310. var header = [{
  32311. 'name': "商品",
  32312. 'id': 0,
  32313. 'isActive': false
  32314. }, {
  32315. 'name': "详情",
  32316. 'id': 1,
  32317. 'isActive': false
  32318. }, {
  32319. 'name': "评价",
  32320. 'id': 2,
  32321. 'isActive': false
  32322. }];
  32323. exports.header = header;
  32324. var evaluation = [{
  32325. 'name': '全部',
  32326. 'id': 1,
  32327. 'isActive': false,
  32328. 'value': 'total',
  32329. 'grade': 0
  32330. }, {
  32331. 'name': '好评',
  32332. 'id': 2,
  32333. 'isActive': false,
  32334. 'value': 'good',
  32335. 'grade': 1
  32336. }, {
  32337. 'name': '中评',
  32338. 'id': 3,
  32339. 'isActive': false,
  32340. 'value': 'medium',
  32341. 'grade': 2
  32342. }, {
  32343. 'name': '差评',
  32344. 'id': 4,
  32345. 'isActive': false,
  32346. 'value': 'bad',
  32347. 'grade': 3
  32348. }];
  32349. exports.evaluation = evaluation;
  32350. /***/ }),
  32351. /***/ 5:
  32352. /*!**************************************************************!*\
  32353. !*** ./node_modules/@babel/runtime/helpers/slicedToArray.js ***!
  32354. \**************************************************************/
  32355. /*! no static exports found */
  32356. /***/ (function(module, exports, __webpack_require__) {
  32357. var arrayWithHoles = __webpack_require__(/*! ./arrayWithHoles.js */ 6);
  32358. var iterableToArrayLimit = __webpack_require__(/*! ./iterableToArrayLimit.js */ 7);
  32359. var unsupportedIterableToArray = __webpack_require__(/*! ./unsupportedIterableToArray.js */ 8);
  32360. var nonIterableRest = __webpack_require__(/*! ./nonIterableRest.js */ 10);
  32361. function _slicedToArray(arr, i) {
  32362. return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest();
  32363. }
  32364. module.exports = _slicedToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
  32365. /***/ }),
  32366. /***/ 50:
  32367. /*!**********************************************************!*\
  32368. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/api/config.js ***!
  32369. \**********************************************************/
  32370. /*! no static exports found */
  32371. /***/ (function(module, exports, __webpack_require__) {
  32372. "use strict";
  32373. Object.defineProperty(exports, "__esModule", {
  32374. value: true
  32375. });
  32376. exports.getConfigList = void 0;
  32377. var _network = __webpack_require__(/*! ../util/network */ 38);
  32378. // 获取系统配置
  32379. var getConfigList = function getConfigList() {
  32380. return (0, _network.requestApi)('/index/getConfigList', 'POST', {});
  32381. };
  32382. exports.getConfigList = getConfigList;
  32383. /***/ }),
  32384. /***/ 51:
  32385. /*!**************************************************************************!*\
  32386. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/moment.js ***!
  32387. \**************************************************************************/
  32388. /*! no static exports found */
  32389. /***/ (function(module, exports, __webpack_require__) {
  32390. /* WEBPACK VAR INJECTION */(function(module) {var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__;var require;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  32391. //! moment.js
  32392. //! version : 2.29.1
  32393. //! authors : Tim Wood, Iskren Chernev, Moment.js contributors
  32394. //! license : MIT
  32395. //! momentjs.com
  32396. ;
  32397. (function (global, factory) {
  32398. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' ? module.exports = factory() : true ? !(__WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  32399. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  32400. (__WEBPACK_AMD_DEFINE_FACTORY__.call(exports, __webpack_require__, exports, module)) :
  32401. __WEBPACK_AMD_DEFINE_FACTORY__),
  32402. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  32403. })(this, function () {
  32404. 'use strict';
  32405. var hookCallback;
  32406. function hooks() {
  32407. return hookCallback.apply(null, arguments);
  32408. }
  32409. // This is done to register the method called with moment()
  32410. // without creating circular dependencies.
  32411. function setHookCallback(callback) {
  32412. hookCallback = callback;
  32413. }
  32414. function isArray(input) {
  32415. return input instanceof Array || Object.prototype.toString.call(input) === '[object Array]';
  32416. }
  32417. function isObject(input) {
  32418. // IE8 will treat undefined and null as object if it wasn't for
  32419. // input != null
  32420. return input != null && Object.prototype.toString.call(input) === '[object Object]';
  32421. }
  32422. function hasOwnProp(a, b) {
  32423. return Object.prototype.hasOwnProperty.call(a, b);
  32424. }
  32425. function isObjectEmpty(obj) {
  32426. if (Object.getOwnPropertyNames) {
  32427. return Object.getOwnPropertyNames(obj).length === 0;
  32428. } else {
  32429. var k;
  32430. for (k in obj) {
  32431. if (hasOwnProp(obj, k)) {
  32432. return false;
  32433. }
  32434. }
  32435. return true;
  32436. }
  32437. }
  32438. function isUndefined(input) {
  32439. return input === void 0;
  32440. }
  32441. function isNumber(input) {
  32442. return typeof input === 'number' || Object.prototype.toString.call(input) === '[object Number]';
  32443. }
  32444. function isDate(input) {
  32445. return input instanceof Date || Object.prototype.toString.call(input) === '[object Date]';
  32446. }
  32447. function map(arr, fn) {
  32448. var res = [],
  32449. i;
  32450. for (i = 0; i < arr.length; ++i) {
  32451. res.push(fn(arr[i], i));
  32452. }
  32453. return res;
  32454. }
  32455. function extend(a, b) {
  32456. for (var i in b) {
  32457. if (hasOwnProp(b, i)) {
  32458. a[i] = b[i];
  32459. }
  32460. }
  32461. if (hasOwnProp(b, 'toString')) {
  32462. a.toString = b.toString;
  32463. }
  32464. if (hasOwnProp(b, 'valueOf')) {
  32465. a.valueOf = b.valueOf;
  32466. }
  32467. return a;
  32468. }
  32469. function createUTC(input, format, locale, strict) {
  32470. return createLocalOrUTC(input, format, locale, strict, true).utc();
  32471. }
  32472. function defaultParsingFlags() {
  32473. // We need to deep clone this object.
  32474. return {
  32475. empty: false,
  32476. unusedTokens: [],
  32477. unusedInput: [],
  32478. overflow: -2,
  32479. charsLeftOver: 0,
  32480. nullInput: false,
  32481. invalidEra: null,
  32482. invalidMonth: null,
  32483. invalidFormat: false,
  32484. userInvalidated: false,
  32485. iso: false,
  32486. parsedDateParts: [],
  32487. era: null,
  32488. meridiem: null,
  32489. rfc2822: false,
  32490. weekdayMismatch: false
  32491. };
  32492. }
  32493. function getParsingFlags(m) {
  32494. if (m._pf == null) {
  32495. m._pf = defaultParsingFlags();
  32496. }
  32497. return m._pf;
  32498. }
  32499. var some;
  32500. if (Array.prototype.some) {
  32501. some = Array.prototype.some;
  32502. } else {
  32503. some = function some(fun) {
  32504. var t = Object(this),
  32505. len = t.length >>> 0,
  32506. i;
  32507. for (i = 0; i < len; i++) {
  32508. if (i in t && fun.call(this, t[i], i, t)) {
  32509. return true;
  32510. }
  32511. }
  32512. return false;
  32513. };
  32514. }
  32515. function isValid(m) {
  32516. if (m._isValid == null) {
  32517. var flags = getParsingFlags(m),
  32518. parsedParts = some.call(flags.parsedDateParts, function (i) {
  32519. return i != null;
  32520. }),
  32521. isNowValid = !isNaN(m._d.getTime()) && flags.overflow < 0 && !flags.empty && !flags.invalidEra && !flags.invalidMonth && !flags.invalidWeekday && !flags.weekdayMismatch && !flags.nullInput && !flags.invalidFormat && !flags.userInvalidated && (!flags.meridiem || flags.meridiem && parsedParts);
  32522. if (m._strict) {
  32523. isNowValid = isNowValid && flags.charsLeftOver === 0 && flags.unusedTokens.length === 0 && flags.bigHour === undefined;
  32524. }
  32525. if (Object.isFrozen == null || !Object.isFrozen(m)) {
  32526. m._isValid = isNowValid;
  32527. } else {
  32528. return isNowValid;
  32529. }
  32530. }
  32531. return m._isValid;
  32532. }
  32533. function createInvalid(flags) {
  32534. var m = createUTC(NaN);
  32535. if (flags != null) {
  32536. extend(getParsingFlags(m), flags);
  32537. } else {
  32538. getParsingFlags(m).userInvalidated = true;
  32539. }
  32540. return m;
  32541. }
  32542. // Plugins that add properties should also add the key here (null value),
  32543. // so we can properly clone ourselves.
  32544. var momentProperties = hooks.momentProperties = [],
  32545. updateInProgress = false;
  32546. function copyConfig(to, from) {
  32547. var i, prop, val;
  32548. if (!isUndefined(from._isAMomentObject)) {
  32549. to._isAMomentObject = from._isAMomentObject;
  32550. }
  32551. if (!isUndefined(from._i)) {
  32552. to._i = from._i;
  32553. }
  32554. if (!isUndefined(from._f)) {
  32555. to._f = from._f;
  32556. }
  32557. if (!isUndefined(from._l)) {
  32558. to._l = from._l;
  32559. }
  32560. if (!isUndefined(from._strict)) {
  32561. to._strict = from._strict;
  32562. }
  32563. if (!isUndefined(from._tzm)) {
  32564. to._tzm = from._tzm;
  32565. }
  32566. if (!isUndefined(from._isUTC)) {
  32567. to._isUTC = from._isUTC;
  32568. }
  32569. if (!isUndefined(from._offset)) {
  32570. to._offset = from._offset;
  32571. }
  32572. if (!isUndefined(from._pf)) {
  32573. to._pf = getParsingFlags(from);
  32574. }
  32575. if (!isUndefined(from._locale)) {
  32576. to._locale = from._locale;
  32577. }
  32578. if (momentProperties.length > 0) {
  32579. for (i = 0; i < momentProperties.length; i++) {
  32580. prop = momentProperties[i];
  32581. val = from[prop];
  32582. if (!isUndefined(val)) {
  32583. to[prop] = val;
  32584. }
  32585. }
  32586. }
  32587. return to;
  32588. }
  32589. // Moment prototype object
  32590. function Moment(config) {
  32591. copyConfig(this, config);
  32592. this._d = new Date(config._d != null ? config._d.getTime() : NaN);
  32593. if (!this.isValid()) {
  32594. this._d = new Date(NaN);
  32595. }
  32596. // Prevent infinite loop in case updateOffset creates new moment
  32597. // objects.
  32598. if (updateInProgress === false) {
  32599. updateInProgress = true;
  32600. hooks.updateOffset(this);
  32601. updateInProgress = false;
  32602. }
  32603. }
  32604. function isMoment(obj) {
  32605. return obj instanceof Moment || obj != null && obj._isAMomentObject != null;
  32606. }
  32607. function warn(msg) {
  32608. if (hooks.suppressDeprecationWarnings === false && typeof console !== 'undefined' && console.warn) {
  32609. console.warn('Deprecation warning: ' + msg);
  32610. }
  32611. }
  32612. function deprecate(msg, fn) {
  32613. var firstTime = true;
  32614. return extend(function () {
  32615. if (hooks.deprecationHandler != null) {
  32616. hooks.deprecationHandler(null, msg);
  32617. }
  32618. if (firstTime) {
  32619. var args = [],
  32620. arg,
  32621. i,
  32622. key;
  32623. for (i = 0; i < arguments.length; i++) {
  32624. arg = '';
  32625. if (_typeof(arguments[i]) === 'object') {
  32626. arg += '\n[' + i + '] ';
  32627. for (key in arguments[0]) {
  32628. if (hasOwnProp(arguments[0], key)) {
  32629. arg += key + ': ' + arguments[0][key] + ', ';
  32630. }
  32631. }
  32632. arg = arg.slice(0, -2); // Remove trailing comma and space
  32633. } else {
  32634. arg = arguments[i];
  32635. }
  32636. args.push(arg);
  32637. }
  32638. warn(msg + '\nArguments: ' + Array.prototype.slice.call(args).join('') + '\n' + new Error().stack);
  32639. firstTime = false;
  32640. }
  32641. return fn.apply(this, arguments);
  32642. }, fn);
  32643. }
  32644. var deprecations = {};
  32645. function deprecateSimple(name, msg) {
  32646. if (hooks.deprecationHandler != null) {
  32647. hooks.deprecationHandler(name, msg);
  32648. }
  32649. if (!deprecations[name]) {
  32650. warn(msg);
  32651. deprecations[name] = true;
  32652. }
  32653. }
  32654. hooks.suppressDeprecationWarnings = false;
  32655. hooks.deprecationHandler = null;
  32656. function isFunction(input) {
  32657. return typeof Function !== 'undefined' && input instanceof Function || Object.prototype.toString.call(input) === '[object Function]';
  32658. }
  32659. function set(config) {
  32660. var prop, i;
  32661. for (i in config) {
  32662. if (hasOwnProp(config, i)) {
  32663. prop = config[i];
  32664. if (isFunction(prop)) {
  32665. this[i] = prop;
  32666. } else {
  32667. this['_' + i] = prop;
  32668. }
  32669. }
  32670. }
  32671. this._config = config;
  32672. // Lenient ordinal parsing accepts just a number in addition to
  32673. // number + (possibly) stuff coming from _dayOfMonthOrdinalParse.
  32674. // TODO: Remove "ordinalParse" fallback in next major release.
  32675. this._dayOfMonthOrdinalParseLenient = new RegExp((this._dayOfMonthOrdinalParse.source || this._ordinalParse.source) + '|' + /\d{1,2}/.source);
  32676. }
  32677. function mergeConfigs(parentConfig, childConfig) {
  32678. var res = extend({}, parentConfig),
  32679. prop;
  32680. for (prop in childConfig) {
  32681. if (hasOwnProp(childConfig, prop)) {
  32682. if (isObject(parentConfig[prop]) && isObject(childConfig[prop])) {
  32683. res[prop] = {};
  32684. extend(res[prop], parentConfig[prop]);
  32685. extend(res[prop], childConfig[prop]);
  32686. } else if (childConfig[prop] != null) {
  32687. res[prop] = childConfig[prop];
  32688. } else {
  32689. delete res[prop];
  32690. }
  32691. }
  32692. }
  32693. for (prop in parentConfig) {
  32694. if (hasOwnProp(parentConfig, prop) && !hasOwnProp(childConfig, prop) && isObject(parentConfig[prop])) {
  32695. // make sure changes to properties don't modify parent config
  32696. res[prop] = extend({}, res[prop]);
  32697. }
  32698. }
  32699. return res;
  32700. }
  32701. function Locale(config) {
  32702. if (config != null) {
  32703. this.set(config);
  32704. }
  32705. }
  32706. var keys;
  32707. if (Object.keys) {
  32708. keys = Object.keys;
  32709. } else {
  32710. keys = function keys(obj) {
  32711. var i,
  32712. res = [];
  32713. for (i in obj) {
  32714. if (hasOwnProp(obj, i)) {
  32715. res.push(i);
  32716. }
  32717. }
  32718. return res;
  32719. };
  32720. }
  32721. var defaultCalendar = {
  32722. sameDay: '[Today at] LT',
  32723. nextDay: '[Tomorrow at] LT',
  32724. nextWeek: 'dddd [at] LT',
  32725. lastDay: '[Yesterday at] LT',
  32726. lastWeek: '[Last] dddd [at] LT',
  32727. sameElse: 'L'
  32728. };
  32729. function calendar(key, mom, now) {
  32730. var output = this._calendar[key] || this._calendar['sameElse'];
  32731. return isFunction(output) ? output.call(mom, now) : output;
  32732. }
  32733. function zeroFill(number, targetLength, forceSign) {
  32734. var absNumber = '' + Math.abs(number),
  32735. zerosToFill = targetLength - absNumber.length,
  32736. sign = number >= 0;
  32737. return (sign ? forceSign ? '+' : '' : '-') + Math.pow(10, Math.max(0, zerosToFill)).toString().substr(1) + absNumber;
  32738. }
  32739. var formattingTokens = /(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,
  32740. localFormattingTokens = /(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,
  32741. formatFunctions = {},
  32742. formatTokenFunctions = {};
  32743. // token: 'M'
  32744. // padded: ['MM', 2]
  32745. // ordinal: 'Mo'
  32746. // callback: function () { this.month() + 1 }
  32747. function addFormatToken(token, padded, ordinal, callback) {
  32748. var func = callback;
  32749. if (typeof callback === 'string') {
  32750. func = function func() {
  32751. return this[callback]();
  32752. };
  32753. }
  32754. if (token) {
  32755. formatTokenFunctions[token] = func;
  32756. }
  32757. if (padded) {
  32758. formatTokenFunctions[padded[0]] = function () {
  32759. return zeroFill(func.apply(this, arguments), padded[1], padded[2]);
  32760. };
  32761. }
  32762. if (ordinal) {
  32763. formatTokenFunctions[ordinal] = function () {
  32764. return this.localeData().ordinal(func.apply(this, arguments), token);
  32765. };
  32766. }
  32767. }
  32768. function removeFormattingTokens(input) {
  32769. if (input.match(/\[[\s\S]/)) {
  32770. return input.replace(/^\[|\]$/g, '');
  32771. }
  32772. return input.replace(/\\/g, '');
  32773. }
  32774. function makeFormatFunction(format) {
  32775. var array = format.match(formattingTokens),
  32776. i,
  32777. length;
  32778. for (i = 0, length = array.length; i < length; i++) {
  32779. if (formatTokenFunctions[array[i]]) {
  32780. array[i] = formatTokenFunctions[array[i]];
  32781. } else {
  32782. array[i] = removeFormattingTokens(array[i]);
  32783. }
  32784. }
  32785. return function (mom) {
  32786. var output = '',
  32787. i;
  32788. for (i = 0; i < length; i++) {
  32789. output += isFunction(array[i]) ? array[i].call(mom, format) : array[i];
  32790. }
  32791. return output;
  32792. };
  32793. }
  32794. // format date using native date object
  32795. function formatMoment(m, format) {
  32796. if (!m.isValid()) {
  32797. return m.localeData().invalidDate();
  32798. }
  32799. format = expandFormat(format, m.localeData());
  32800. formatFunctions[format] = formatFunctions[format] || makeFormatFunction(format);
  32801. return formatFunctions[format](m);
  32802. }
  32803. function expandFormat(format, locale) {
  32804. var i = 5;
  32805. function replaceLongDateFormatTokens(input) {
  32806. return locale.longDateFormat(input) || input;
  32807. }
  32808. localFormattingTokens.lastIndex = 0;
  32809. while (i >= 0 && localFormattingTokens.test(format)) {
  32810. format = format.replace(localFormattingTokens, replaceLongDateFormatTokens);
  32811. localFormattingTokens.lastIndex = 0;
  32812. i -= 1;
  32813. }
  32814. return format;
  32815. }
  32816. var defaultLongDateFormat = {
  32817. LTS: 'h:mm:ss A',
  32818. LT: 'h:mm A',
  32819. L: 'MM/DD/YYYY',
  32820. LL: 'MMMM D, YYYY',
  32821. LLL: 'MMMM D, YYYY h:mm A',
  32822. LLLL: 'dddd, MMMM D, YYYY h:mm A'
  32823. };
  32824. function longDateFormat(key) {
  32825. var format = this._longDateFormat[key],
  32826. formatUpper = this._longDateFormat[key.toUpperCase()];
  32827. if (format || !formatUpper) {
  32828. return format;
  32829. }
  32830. this._longDateFormat[key] = formatUpper.match(formattingTokens).map(function (tok) {
  32831. if (tok === 'MMMM' || tok === 'MM' || tok === 'DD' || tok === 'dddd') {
  32832. return tok.slice(1);
  32833. }
  32834. return tok;
  32835. }).join('');
  32836. return this._longDateFormat[key];
  32837. }
  32838. var defaultInvalidDate = 'Invalid date';
  32839. function invalidDate() {
  32840. return this._invalidDate;
  32841. }
  32842. var defaultOrdinal = '%d',
  32843. defaultDayOfMonthOrdinalParse = /\d{1,2}/;
  32844. function ordinal(number) {
  32845. return this._ordinal.replace('%d', number);
  32846. }
  32847. var defaultRelativeTime = {
  32848. future: 'in %s',
  32849. past: '%s ago',
  32850. s: 'a few seconds',
  32851. ss: '%d seconds',
  32852. m: 'a minute',
  32853. mm: '%d minutes',
  32854. h: 'an hour',
  32855. hh: '%d hours',
  32856. d: 'a day',
  32857. dd: '%d days',
  32858. w: 'a week',
  32859. ww: '%d weeks',
  32860. M: 'a month',
  32861. MM: '%d months',
  32862. y: 'a year',
  32863. yy: '%d years'
  32864. };
  32865. function relativeTime(number, withoutSuffix, string, isFuture) {
  32866. var output = this._relativeTime[string];
  32867. return isFunction(output) ? output(number, withoutSuffix, string, isFuture) : output.replace(/%d/i, number);
  32868. }
  32869. function pastFuture(diff, output) {
  32870. var format = this._relativeTime[diff > 0 ? 'future' : 'past'];
  32871. return isFunction(format) ? format(output) : format.replace(/%s/i, output);
  32872. }
  32873. var aliases = {};
  32874. function addUnitAlias(unit, shorthand) {
  32875. var lowerCase = unit.toLowerCase();
  32876. aliases[lowerCase] = aliases[lowerCase + 's'] = aliases[shorthand] = unit;
  32877. }
  32878. function normalizeUnits(units) {
  32879. return typeof units === 'string' ? aliases[units] || aliases[units.toLowerCase()] : undefined;
  32880. }
  32881. function normalizeObjectUnits(inputObject) {
  32882. var normalizedInput = {},
  32883. normalizedProp,
  32884. prop;
  32885. for (prop in inputObject) {
  32886. if (hasOwnProp(inputObject, prop)) {
  32887. normalizedProp = normalizeUnits(prop);
  32888. if (normalizedProp) {
  32889. normalizedInput[normalizedProp] = inputObject[prop];
  32890. }
  32891. }
  32892. }
  32893. return normalizedInput;
  32894. }
  32895. var priorities = {};
  32896. function addUnitPriority(unit, priority) {
  32897. priorities[unit] = priority;
  32898. }
  32899. function getPrioritizedUnits(unitsObj) {
  32900. var units = [],
  32901. u;
  32902. for (u in unitsObj) {
  32903. if (hasOwnProp(unitsObj, u)) {
  32904. units.push({
  32905. unit: u,
  32906. priority: priorities[u]
  32907. });
  32908. }
  32909. }
  32910. units.sort(function (a, b) {
  32911. return a.priority - b.priority;
  32912. });
  32913. return units;
  32914. }
  32915. function isLeapYear(year) {
  32916. return year % 4 === 0 && year % 100 !== 0 || year % 400 === 0;
  32917. }
  32918. function absFloor(number) {
  32919. if (number < 0) {
  32920. // -0 -> 0
  32921. return Math.ceil(number) || 0;
  32922. } else {
  32923. return Math.floor(number);
  32924. }
  32925. }
  32926. function toInt(argumentForCoercion) {
  32927. var coercedNumber = +argumentForCoercion,
  32928. value = 0;
  32929. if (coercedNumber !== 0 && isFinite(coercedNumber)) {
  32930. value = absFloor(coercedNumber);
  32931. }
  32932. return value;
  32933. }
  32934. function makeGetSet(unit, keepTime) {
  32935. return function (value) {
  32936. if (value != null) {
  32937. set$1(this, unit, value);
  32938. hooks.updateOffset(this, keepTime);
  32939. return this;
  32940. } else {
  32941. return get(this, unit);
  32942. }
  32943. };
  32944. }
  32945. function get(mom, unit) {
  32946. return mom.isValid() ? mom._d['get' + (mom._isUTC ? 'UTC' : '') + unit]() : NaN;
  32947. }
  32948. function set$1(mom, unit, value) {
  32949. if (mom.isValid() && !isNaN(value)) {
  32950. if (unit === 'FullYear' && isLeapYear(mom.year()) && mom.month() === 1 && mom.date() === 29) {
  32951. value = toInt(value);
  32952. mom._d['set' + (mom._isUTC ? 'UTC' : '') + unit](value, mom.month(), daysInMonth(value, mom.month()));
  32953. } else {
  32954. mom._d['set' + (mom._isUTC ? 'UTC' : '') + unit](value);
  32955. }
  32956. }
  32957. }
  32958. // MOMENTS
  32959. function stringGet(units) {
  32960. units = normalizeUnits(units);
  32961. if (isFunction(this[units])) {
  32962. return this[units]();
  32963. }
  32964. return this;
  32965. }
  32966. function stringSet(units, value) {
  32967. if (_typeof(units) === 'object') {
  32968. units = normalizeObjectUnits(units);
  32969. var prioritized = getPrioritizedUnits(units),
  32970. i;
  32971. for (i = 0; i < prioritized.length; i++) {
  32972. this[prioritized[i].unit](units[prioritized[i].unit]);
  32973. }
  32974. } else {
  32975. units = normalizeUnits(units);
  32976. if (isFunction(this[units])) {
  32977. return this[units](value);
  32978. }
  32979. }
  32980. return this;
  32981. }
  32982. var match1 = /\d/,
  32983. // 0 - 9
  32984. match2 = /\d\d/,
  32985. // 00 - 99
  32986. match3 = /\d{3}/,
  32987. // 000 - 999
  32988. match4 = /\d{4}/,
  32989. // 0000 - 9999
  32990. match6 = /[+-]?\d{6}/,
  32991. // -999999 - 999999
  32992. match1to2 = /\d\d?/,
  32993. // 0 - 99
  32994. match3to4 = /\d\d\d\d?/,
  32995. // 999 - 9999
  32996. match5to6 = /\d\d\d\d\d\d?/,
  32997. // 99999 - 999999
  32998. match1to3 = /\d{1,3}/,
  32999. // 0 - 999
  33000. match1to4 = /\d{1,4}/,
  33001. // 0 - 9999
  33002. match1to6 = /[+-]?\d{1,6}/,
  33003. // -999999 - 999999
  33004. matchUnsigned = /\d+/,
  33005. // 0 - inf
  33006. matchSigned = /[+-]?\d+/,
  33007. // -inf - inf
  33008. matchOffset = /Z|[+-]\d\d:?\d\d/gi,
  33009. // +00:00 -00:00 +0000 -0000 or Z
  33010. matchShortOffset = /Z|[+-]\d\d(?::?\d\d)?/gi,
  33011. // +00 -00 +00:00 -00:00 +0000 -0000 or Z
  33012. matchTimestamp = /[+-]?\d+(\.\d{1,3})?/,
  33013. // 123456789 123456789.123
  33014. // any word (or two) characters or numbers including two/three word month in arabic.
  33015. // includes scottish gaelic two word and hyphenated months
  33016. matchWord = /[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,
  33017. regexes;
  33018. regexes = {};
  33019. function addRegexToken(token, regex, strictRegex) {
  33020. regexes[token] = isFunction(regex) ? regex : function (isStrict, localeData) {
  33021. return isStrict && strictRegex ? strictRegex : regex;
  33022. };
  33023. }
  33024. function getParseRegexForToken(token, config) {
  33025. if (!hasOwnProp(regexes, token)) {
  33026. return new RegExp(unescapeFormat(token));
  33027. }
  33028. return regexes[token](config._strict, config._locale);
  33029. }
  33030. // Code from http://stackoverflow.com/questions/3561493/is-there-a-regexp-escape-function-in-javascript
  33031. function unescapeFormat(s) {
  33032. return regexEscape(s.replace('\\', '').replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g, function (matched, p1, p2, p3, p4) {
  33033. return p1 || p2 || p3 || p4;
  33034. }));
  33035. }
  33036. function regexEscape(s) {
  33037. return s.replace(/[-\/\\^$*+?.()|[\]{}]/g, '\\$&');
  33038. }
  33039. var tokens = {};
  33040. function addParseToken(token, callback) {
  33041. var i,
  33042. func = callback;
  33043. if (typeof token === 'string') {
  33044. token = [token];
  33045. }
  33046. if (isNumber(callback)) {
  33047. func = function func(input, array) {
  33048. array[callback] = toInt(input);
  33049. };
  33050. }
  33051. for (i = 0; i < token.length; i++) {
  33052. tokens[token[i]] = func;
  33053. }
  33054. }
  33055. function addWeekParseToken(token, callback) {
  33056. addParseToken(token, function (input, array, config, token) {
  33057. config._w = config._w || {};
  33058. callback(input, config._w, config, token);
  33059. });
  33060. }
  33061. function addTimeToArrayFromToken(token, input, config) {
  33062. if (input != null && hasOwnProp(tokens, token)) {
  33063. tokens[token](input, config._a, config, token);
  33064. }
  33065. }
  33066. var YEAR = 0,
  33067. MONTH = 1,
  33068. DATE = 2,
  33069. HOUR = 3,
  33070. MINUTE = 4,
  33071. SECOND = 5,
  33072. MILLISECOND = 6,
  33073. WEEK = 7,
  33074. WEEKDAY = 8;
  33075. function mod(n, x) {
  33076. return (n % x + x) % x;
  33077. }
  33078. var indexOf;
  33079. if (Array.prototype.indexOf) {
  33080. indexOf = Array.prototype.indexOf;
  33081. } else {
  33082. indexOf = function indexOf(o) {
  33083. // I know
  33084. var i;
  33085. for (i = 0; i < this.length; ++i) {
  33086. if (this[i] === o) {
  33087. return i;
  33088. }
  33089. }
  33090. return -1;
  33091. };
  33092. }
  33093. function daysInMonth(year, month) {
  33094. if (isNaN(year) || isNaN(month)) {
  33095. return NaN;
  33096. }
  33097. var modMonth = mod(month, 12);
  33098. year += (month - modMonth) / 12;
  33099. return modMonth === 1 ? isLeapYear(year) ? 29 : 28 : 31 - modMonth % 7 % 2;
  33100. }
  33101. // FORMATTING
  33102. addFormatToken('M', ['MM', 2], 'Mo', function () {
  33103. return this.month() + 1;
  33104. });
  33105. addFormatToken('MMM', 0, 0, function (format) {
  33106. return this.localeData().monthsShort(this, format);
  33107. });
  33108. addFormatToken('MMMM', 0, 0, function (format) {
  33109. return this.localeData().months(this, format);
  33110. });
  33111. // ALIASES
  33112. addUnitAlias('month', 'M');
  33113. // PRIORITY
  33114. addUnitPriority('month', 8);
  33115. // PARSING
  33116. addRegexToken('M', match1to2);
  33117. addRegexToken('MM', match1to2, match2);
  33118. addRegexToken('MMM', function (isStrict, locale) {
  33119. return locale.monthsShortRegex(isStrict);
  33120. });
  33121. addRegexToken('MMMM', function (isStrict, locale) {
  33122. return locale.monthsRegex(isStrict);
  33123. });
  33124. addParseToken(['M', 'MM'], function (input, array) {
  33125. array[MONTH] = toInt(input) - 1;
  33126. });
  33127. addParseToken(['MMM', 'MMMM'], function (input, array, config, token) {
  33128. var month = config._locale.monthsParse(input, token, config._strict);
  33129. // if we didn't find a month name, mark the date as invalid.
  33130. if (month != null) {
  33131. array[MONTH] = month;
  33132. } else {
  33133. getParsingFlags(config).invalidMonth = input;
  33134. }
  33135. });
  33136. // LOCALES
  33137. var defaultLocaleMonths = 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'),
  33138. defaultLocaleMonthsShort = 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
  33139. MONTHS_IN_FORMAT = /D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,
  33140. defaultMonthsShortRegex = matchWord,
  33141. defaultMonthsRegex = matchWord;
  33142. function localeMonths(m, format) {
  33143. if (!m) {
  33144. return isArray(this._months) ? this._months : this._months['standalone'];
  33145. }
  33146. return isArray(this._months) ? this._months[m.month()] : this._months[(this._months.isFormat || MONTHS_IN_FORMAT).test(format) ? 'format' : 'standalone'][m.month()];
  33147. }
  33148. function localeMonthsShort(m, format) {
  33149. if (!m) {
  33150. return isArray(this._monthsShort) ? this._monthsShort : this._monthsShort['standalone'];
  33151. }
  33152. return isArray(this._monthsShort) ? this._monthsShort[m.month()] : this._monthsShort[MONTHS_IN_FORMAT.test(format) ? 'format' : 'standalone'][m.month()];
  33153. }
  33154. function handleStrictParse(monthName, format, strict) {
  33155. var i,
  33156. ii,
  33157. mom,
  33158. llc = monthName.toLocaleLowerCase();
  33159. if (!this._monthsParse) {
  33160. // this is not used
  33161. this._monthsParse = [];
  33162. this._longMonthsParse = [];
  33163. this._shortMonthsParse = [];
  33164. for (i = 0; i < 12; ++i) {
  33165. mom = createUTC([2000, i]);
  33166. this._shortMonthsParse[i] = this.monthsShort(mom, '').toLocaleLowerCase();
  33167. this._longMonthsParse[i] = this.months(mom, '').toLocaleLowerCase();
  33168. }
  33169. }
  33170. if (strict) {
  33171. if (format === 'MMM') {
  33172. ii = indexOf.call(this._shortMonthsParse, llc);
  33173. return ii !== -1 ? ii : null;
  33174. } else {
  33175. ii = indexOf.call(this._longMonthsParse, llc);
  33176. return ii !== -1 ? ii : null;
  33177. }
  33178. } else {
  33179. if (format === 'MMM') {
  33180. ii = indexOf.call(this._shortMonthsParse, llc);
  33181. if (ii !== -1) {
  33182. return ii;
  33183. }
  33184. ii = indexOf.call(this._longMonthsParse, llc);
  33185. return ii !== -1 ? ii : null;
  33186. } else {
  33187. ii = indexOf.call(this._longMonthsParse, llc);
  33188. if (ii !== -1) {
  33189. return ii;
  33190. }
  33191. ii = indexOf.call(this._shortMonthsParse, llc);
  33192. return ii !== -1 ? ii : null;
  33193. }
  33194. }
  33195. }
  33196. function localeMonthsParse(monthName, format, strict) {
  33197. var i, mom, regex;
  33198. if (this._monthsParseExact) {
  33199. return handleStrictParse.call(this, monthName, format, strict);
  33200. }
  33201. if (!this._monthsParse) {
  33202. this._monthsParse = [];
  33203. this._longMonthsParse = [];
  33204. this._shortMonthsParse = [];
  33205. }
  33206. // TODO: add sorting
  33207. // Sorting makes sure if one month (or abbr) is a prefix of another
  33208. // see sorting in computeMonthsParse
  33209. for (i = 0; i < 12; i++) {
  33210. // make the regex if we don't have it already
  33211. mom = createUTC([2000, i]);
  33212. if (strict && !this._longMonthsParse[i]) {
  33213. this._longMonthsParse[i] = new RegExp('^' + this.months(mom, '').replace('.', '') + '$', 'i');
  33214. this._shortMonthsParse[i] = new RegExp('^' + this.monthsShort(mom, '').replace('.', '') + '$', 'i');
  33215. }
  33216. if (!strict && !this._monthsParse[i]) {
  33217. regex = '^' + this.months(mom, '') + '|^' + this.monthsShort(mom, '');
  33218. this._monthsParse[i] = new RegExp(regex.replace('.', ''), 'i');
  33219. }
  33220. // test the regex
  33221. if (strict && format === 'MMMM' && this._longMonthsParse[i].test(monthName)) {
  33222. return i;
  33223. } else if (strict && format === 'MMM' && this._shortMonthsParse[i].test(monthName)) {
  33224. return i;
  33225. } else if (!strict && this._monthsParse[i].test(monthName)) {
  33226. return i;
  33227. }
  33228. }
  33229. }
  33230. // MOMENTS
  33231. function setMonth(mom, value) {
  33232. var dayOfMonth;
  33233. if (!mom.isValid()) {
  33234. // No op
  33235. return mom;
  33236. }
  33237. if (typeof value === 'string') {
  33238. if (/^\d+$/.test(value)) {
  33239. value = toInt(value);
  33240. } else {
  33241. value = mom.localeData().monthsParse(value);
  33242. // TODO: Another silent failure?
  33243. if (!isNumber(value)) {
  33244. return mom;
  33245. }
  33246. }
  33247. }
  33248. dayOfMonth = Math.min(mom.date(), daysInMonth(mom.year(), value));
  33249. mom._d['set' + (mom._isUTC ? 'UTC' : '') + 'Month'](value, dayOfMonth);
  33250. return mom;
  33251. }
  33252. function getSetMonth(value) {
  33253. if (value != null) {
  33254. setMonth(this, value);
  33255. hooks.updateOffset(this, true);
  33256. return this;
  33257. } else {
  33258. return get(this, 'Month');
  33259. }
  33260. }
  33261. function getDaysInMonth() {
  33262. return daysInMonth(this.year(), this.month());
  33263. }
  33264. function monthsShortRegex(isStrict) {
  33265. if (this._monthsParseExact) {
  33266. if (!hasOwnProp(this, '_monthsRegex')) {
  33267. computeMonthsParse.call(this);
  33268. }
  33269. if (isStrict) {
  33270. return this._monthsShortStrictRegex;
  33271. } else {
  33272. return this._monthsShortRegex;
  33273. }
  33274. } else {
  33275. if (!hasOwnProp(this, '_monthsShortRegex')) {
  33276. this._monthsShortRegex = defaultMonthsShortRegex;
  33277. }
  33278. return this._monthsShortStrictRegex && isStrict ? this._monthsShortStrictRegex : this._monthsShortRegex;
  33279. }
  33280. }
  33281. function monthsRegex(isStrict) {
  33282. if (this._monthsParseExact) {
  33283. if (!hasOwnProp(this, '_monthsRegex')) {
  33284. computeMonthsParse.call(this);
  33285. }
  33286. if (isStrict) {
  33287. return this._monthsStrictRegex;
  33288. } else {
  33289. return this._monthsRegex;
  33290. }
  33291. } else {
  33292. if (!hasOwnProp(this, '_monthsRegex')) {
  33293. this._monthsRegex = defaultMonthsRegex;
  33294. }
  33295. return this._monthsStrictRegex && isStrict ? this._monthsStrictRegex : this._monthsRegex;
  33296. }
  33297. }
  33298. function computeMonthsParse() {
  33299. function cmpLenRev(a, b) {
  33300. return b.length - a.length;
  33301. }
  33302. var shortPieces = [],
  33303. longPieces = [],
  33304. mixedPieces = [],
  33305. i,
  33306. mom;
  33307. for (i = 0; i < 12; i++) {
  33308. // make the regex if we don't have it already
  33309. mom = createUTC([2000, i]);
  33310. shortPieces.push(this.monthsShort(mom, ''));
  33311. longPieces.push(this.months(mom, ''));
  33312. mixedPieces.push(this.months(mom, ''));
  33313. mixedPieces.push(this.monthsShort(mom, ''));
  33314. }
  33315. // Sorting makes sure if one month (or abbr) is a prefix of another it
  33316. // will match the longer piece.
  33317. shortPieces.sort(cmpLenRev);
  33318. longPieces.sort(cmpLenRev);
  33319. mixedPieces.sort(cmpLenRev);
  33320. for (i = 0; i < 12; i++) {
  33321. shortPieces[i] = regexEscape(shortPieces[i]);
  33322. longPieces[i] = regexEscape(longPieces[i]);
  33323. }
  33324. for (i = 0; i < 24; i++) {
  33325. mixedPieces[i] = regexEscape(mixedPieces[i]);
  33326. }
  33327. this._monthsRegex = new RegExp('^(' + mixedPieces.join('|') + ')', 'i');
  33328. this._monthsShortRegex = this._monthsRegex;
  33329. this._monthsStrictRegex = new RegExp('^(' + longPieces.join('|') + ')', 'i');
  33330. this._monthsShortStrictRegex = new RegExp('^(' + shortPieces.join('|') + ')', 'i');
  33331. }
  33332. // FORMATTING
  33333. addFormatToken('Y', 0, 0, function () {
  33334. var y = this.year();
  33335. return y <= 9999 ? zeroFill(y, 4) : '+' + y;
  33336. });
  33337. addFormatToken(0, ['YY', 2], 0, function () {
  33338. return this.year() % 100;
  33339. });
  33340. addFormatToken(0, ['YYYY', 4], 0, 'year');
  33341. addFormatToken(0, ['YYYYY', 5], 0, 'year');
  33342. addFormatToken(0, ['YYYYYY', 6, true], 0, 'year');
  33343. // ALIASES
  33344. addUnitAlias('year', 'y');
  33345. // PRIORITIES
  33346. addUnitPriority('year', 1);
  33347. // PARSING
  33348. addRegexToken('Y', matchSigned);
  33349. addRegexToken('YY', match1to2, match2);
  33350. addRegexToken('YYYY', match1to4, match4);
  33351. addRegexToken('YYYYY', match1to6, match6);
  33352. addRegexToken('YYYYYY', match1to6, match6);
  33353. addParseToken(['YYYYY', 'YYYYYY'], YEAR);
  33354. addParseToken('YYYY', function (input, array) {
  33355. array[YEAR] = input.length === 2 ? hooks.parseTwoDigitYear(input) : toInt(input);
  33356. });
  33357. addParseToken('YY', function (input, array) {
  33358. array[YEAR] = hooks.parseTwoDigitYear(input);
  33359. });
  33360. addParseToken('Y', function (input, array) {
  33361. array[YEAR] = parseInt(input, 10);
  33362. });
  33363. // HELPERS
  33364. function daysInYear(year) {
  33365. return isLeapYear(year) ? 366 : 365;
  33366. }
  33367. // HOOKS
  33368. hooks.parseTwoDigitYear = function (input) {
  33369. return toInt(input) + (toInt(input) > 68 ? 1900 : 2000);
  33370. };
  33371. // MOMENTS
  33372. var getSetYear = makeGetSet('FullYear', true);
  33373. function getIsLeapYear() {
  33374. return isLeapYear(this.year());
  33375. }
  33376. function createDate(y, m, d, h, M, s, ms) {
  33377. // can't just apply() to create a date:
  33378. // https://stackoverflow.com/q/181348
  33379. var date;
  33380. // the date constructor remaps years 0-99 to 1900-1999
  33381. if (y < 100 && y >= 0) {
  33382. // preserve leap years using a full 400 year cycle, then reset
  33383. date = new Date(y + 400, m, d, h, M, s, ms);
  33384. if (isFinite(date.getFullYear())) {
  33385. date.setFullYear(y);
  33386. }
  33387. } else {
  33388. date = new Date(y, m, d, h, M, s, ms);
  33389. }
  33390. return date;
  33391. }
  33392. function createUTCDate(y) {
  33393. var date, args;
  33394. // the Date.UTC function remaps years 0-99 to 1900-1999
  33395. if (y < 100 && y >= 0) {
  33396. args = Array.prototype.slice.call(arguments);
  33397. // preserve leap years using a full 400 year cycle, then reset
  33398. args[0] = y + 400;
  33399. date = new Date(Date.UTC.apply(null, args));
  33400. if (isFinite(date.getUTCFullYear())) {
  33401. date.setUTCFullYear(y);
  33402. }
  33403. } else {
  33404. date = new Date(Date.UTC.apply(null, arguments));
  33405. }
  33406. return date;
  33407. }
  33408. // start-of-first-week - start-of-year
  33409. function firstWeekOffset(year, dow, doy) {
  33410. var
  33411. // first-week day -- which january is always in the first week (4 for iso, 1 for other)
  33412. fwd = 7 + dow - doy,
  33413. // first-week day local weekday -- which local weekday is fwd
  33414. fwdlw = (7 + createUTCDate(year, 0, fwd).getUTCDay() - dow) % 7;
  33415. return -fwdlw + fwd - 1;
  33416. }
  33417. // https://en.wikipedia.org/wiki/ISO_week_date#Calculating_a_date_given_the_year.2C_week_number_and_weekday
  33418. function dayOfYearFromWeeks(year, week, weekday, dow, doy) {
  33419. var localWeekday = (7 + weekday - dow) % 7,
  33420. weekOffset = firstWeekOffset(year, dow, doy),
  33421. dayOfYear = 1 + 7 * (week - 1) + localWeekday + weekOffset,
  33422. resYear,
  33423. resDayOfYear;
  33424. if (dayOfYear <= 0) {
  33425. resYear = year - 1;
  33426. resDayOfYear = daysInYear(resYear) + dayOfYear;
  33427. } else if (dayOfYear > daysInYear(year)) {
  33428. resYear = year + 1;
  33429. resDayOfYear = dayOfYear - daysInYear(year);
  33430. } else {
  33431. resYear = year;
  33432. resDayOfYear = dayOfYear;
  33433. }
  33434. return {
  33435. year: resYear,
  33436. dayOfYear: resDayOfYear
  33437. };
  33438. }
  33439. function weekOfYear(mom, dow, doy) {
  33440. var weekOffset = firstWeekOffset(mom.year(), dow, doy),
  33441. week = Math.floor((mom.dayOfYear() - weekOffset - 1) / 7) + 1,
  33442. resWeek,
  33443. resYear;
  33444. if (week < 1) {
  33445. resYear = mom.year() - 1;
  33446. resWeek = week + weeksInYear(resYear, dow, doy);
  33447. } else if (week > weeksInYear(mom.year(), dow, doy)) {
  33448. resWeek = week - weeksInYear(mom.year(), dow, doy);
  33449. resYear = mom.year() + 1;
  33450. } else {
  33451. resYear = mom.year();
  33452. resWeek = week;
  33453. }
  33454. return {
  33455. week: resWeek,
  33456. year: resYear
  33457. };
  33458. }
  33459. function weeksInYear(year, dow, doy) {
  33460. var weekOffset = firstWeekOffset(year, dow, doy),
  33461. weekOffsetNext = firstWeekOffset(year + 1, dow, doy);
  33462. return (daysInYear(year) - weekOffset + weekOffsetNext) / 7;
  33463. }
  33464. // FORMATTING
  33465. addFormatToken('w', ['ww', 2], 'wo', 'week');
  33466. addFormatToken('W', ['WW', 2], 'Wo', 'isoWeek');
  33467. // ALIASES
  33468. addUnitAlias('week', 'w');
  33469. addUnitAlias('isoWeek', 'W');
  33470. // PRIORITIES
  33471. addUnitPriority('week', 5);
  33472. addUnitPriority('isoWeek', 5);
  33473. // PARSING
  33474. addRegexToken('w', match1to2);
  33475. addRegexToken('ww', match1to2, match2);
  33476. addRegexToken('W', match1to2);
  33477. addRegexToken('WW', match1to2, match2);
  33478. addWeekParseToken(['w', 'ww', 'W', 'WW'], function (input, week, config, token) {
  33479. week[token.substr(0, 1)] = toInt(input);
  33480. });
  33481. // HELPERS
  33482. // LOCALES
  33483. function localeWeek(mom) {
  33484. return weekOfYear(mom, this._week.dow, this._week.doy).week;
  33485. }
  33486. var defaultLocaleWeek = {
  33487. dow: 0,
  33488. // Sunday is the first day of the week.
  33489. doy: 6 // The week that contains Jan 6th is the first week of the year.
  33490. };
  33491. function localeFirstDayOfWeek() {
  33492. return this._week.dow;
  33493. }
  33494. function localeFirstDayOfYear() {
  33495. return this._week.doy;
  33496. }
  33497. // MOMENTS
  33498. function getSetWeek(input) {
  33499. var week = this.localeData().week(this);
  33500. return input == null ? week : this.add((input - week) * 7, 'd');
  33501. }
  33502. function getSetISOWeek(input) {
  33503. var week = weekOfYear(this, 1, 4).week;
  33504. return input == null ? week : this.add((input - week) * 7, 'd');
  33505. }
  33506. // FORMATTING
  33507. addFormatToken('d', 0, 'do', 'day');
  33508. addFormatToken('dd', 0, 0, function (format) {
  33509. return this.localeData().weekdaysMin(this, format);
  33510. });
  33511. addFormatToken('ddd', 0, 0, function (format) {
  33512. return this.localeData().weekdaysShort(this, format);
  33513. });
  33514. addFormatToken('dddd', 0, 0, function (format) {
  33515. return this.localeData().weekdays(this, format);
  33516. });
  33517. addFormatToken('e', 0, 0, 'weekday');
  33518. addFormatToken('E', 0, 0, 'isoWeekday');
  33519. // ALIASES
  33520. addUnitAlias('day', 'd');
  33521. addUnitAlias('weekday', 'e');
  33522. addUnitAlias('isoWeekday', 'E');
  33523. // PRIORITY
  33524. addUnitPriority('day', 11);
  33525. addUnitPriority('weekday', 11);
  33526. addUnitPriority('isoWeekday', 11);
  33527. // PARSING
  33528. addRegexToken('d', match1to2);
  33529. addRegexToken('e', match1to2);
  33530. addRegexToken('E', match1to2);
  33531. addRegexToken('dd', function (isStrict, locale) {
  33532. return locale.weekdaysMinRegex(isStrict);
  33533. });
  33534. addRegexToken('ddd', function (isStrict, locale) {
  33535. return locale.weekdaysShortRegex(isStrict);
  33536. });
  33537. addRegexToken('dddd', function (isStrict, locale) {
  33538. return locale.weekdaysRegex(isStrict);
  33539. });
  33540. addWeekParseToken(['dd', 'ddd', 'dddd'], function (input, week, config, token) {
  33541. var weekday = config._locale.weekdaysParse(input, token, config._strict);
  33542. // if we didn't get a weekday name, mark the date as invalid
  33543. if (weekday != null) {
  33544. week.d = weekday;
  33545. } else {
  33546. getParsingFlags(config).invalidWeekday = input;
  33547. }
  33548. });
  33549. addWeekParseToken(['d', 'e', 'E'], function (input, week, config, token) {
  33550. week[token] = toInt(input);
  33551. });
  33552. // HELPERS
  33553. function parseWeekday(input, locale) {
  33554. if (typeof input !== 'string') {
  33555. return input;
  33556. }
  33557. if (!isNaN(input)) {
  33558. return parseInt(input, 10);
  33559. }
  33560. input = locale.weekdaysParse(input);
  33561. if (typeof input === 'number') {
  33562. return input;
  33563. }
  33564. return null;
  33565. }
  33566. function parseIsoWeekday(input, locale) {
  33567. if (typeof input === 'string') {
  33568. return locale.weekdaysParse(input) % 7 || 7;
  33569. }
  33570. return isNaN(input) ? null : input;
  33571. }
  33572. // LOCALES
  33573. function shiftWeekdays(ws, n) {
  33574. return ws.slice(n, 7).concat(ws.slice(0, n));
  33575. }
  33576. var defaultLocaleWeekdays = 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),
  33577. defaultLocaleWeekdaysShort = 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
  33578. defaultLocaleWeekdaysMin = 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
  33579. defaultWeekdaysRegex = matchWord,
  33580. defaultWeekdaysShortRegex = matchWord,
  33581. defaultWeekdaysMinRegex = matchWord;
  33582. function localeWeekdays(m, format) {
  33583. var weekdays = isArray(this._weekdays) ? this._weekdays : this._weekdays[m && m !== true && this._weekdays.isFormat.test(format) ? 'format' : 'standalone'];
  33584. return m === true ? shiftWeekdays(weekdays, this._week.dow) : m ? weekdays[m.day()] : weekdays;
  33585. }
  33586. function localeWeekdaysShort(m) {
  33587. return m === true ? shiftWeekdays(this._weekdaysShort, this._week.dow) : m ? this._weekdaysShort[m.day()] : this._weekdaysShort;
  33588. }
  33589. function localeWeekdaysMin(m) {
  33590. return m === true ? shiftWeekdays(this._weekdaysMin, this._week.dow) : m ? this._weekdaysMin[m.day()] : this._weekdaysMin;
  33591. }
  33592. function handleStrictParse$1(weekdayName, format, strict) {
  33593. var i,
  33594. ii,
  33595. mom,
  33596. llc = weekdayName.toLocaleLowerCase();
  33597. if (!this._weekdaysParse) {
  33598. this._weekdaysParse = [];
  33599. this._shortWeekdaysParse = [];
  33600. this._minWeekdaysParse = [];
  33601. for (i = 0; i < 7; ++i) {
  33602. mom = createUTC([2000, 1]).day(i);
  33603. this._minWeekdaysParse[i] = this.weekdaysMin(mom, '').toLocaleLowerCase();
  33604. this._shortWeekdaysParse[i] = this.weekdaysShort(mom, '').toLocaleLowerCase();
  33605. this._weekdaysParse[i] = this.weekdays(mom, '').toLocaleLowerCase();
  33606. }
  33607. }
  33608. if (strict) {
  33609. if (format === 'dddd') {
  33610. ii = indexOf.call(this._weekdaysParse, llc);
  33611. return ii !== -1 ? ii : null;
  33612. } else if (format === 'ddd') {
  33613. ii = indexOf.call(this._shortWeekdaysParse, llc);
  33614. return ii !== -1 ? ii : null;
  33615. } else {
  33616. ii = indexOf.call(this._minWeekdaysParse, llc);
  33617. return ii !== -1 ? ii : null;
  33618. }
  33619. } else {
  33620. if (format === 'dddd') {
  33621. ii = indexOf.call(this._weekdaysParse, llc);
  33622. if (ii !== -1) {
  33623. return ii;
  33624. }
  33625. ii = indexOf.call(this._shortWeekdaysParse, llc);
  33626. if (ii !== -1) {
  33627. return ii;
  33628. }
  33629. ii = indexOf.call(this._minWeekdaysParse, llc);
  33630. return ii !== -1 ? ii : null;
  33631. } else if (format === 'ddd') {
  33632. ii = indexOf.call(this._shortWeekdaysParse, llc);
  33633. if (ii !== -1) {
  33634. return ii;
  33635. }
  33636. ii = indexOf.call(this._weekdaysParse, llc);
  33637. if (ii !== -1) {
  33638. return ii;
  33639. }
  33640. ii = indexOf.call(this._minWeekdaysParse, llc);
  33641. return ii !== -1 ? ii : null;
  33642. } else {
  33643. ii = indexOf.call(this._minWeekdaysParse, llc);
  33644. if (ii !== -1) {
  33645. return ii;
  33646. }
  33647. ii = indexOf.call(this._weekdaysParse, llc);
  33648. if (ii !== -1) {
  33649. return ii;
  33650. }
  33651. ii = indexOf.call(this._shortWeekdaysParse, llc);
  33652. return ii !== -1 ? ii : null;
  33653. }
  33654. }
  33655. }
  33656. function localeWeekdaysParse(weekdayName, format, strict) {
  33657. var i, mom, regex;
  33658. if (this._weekdaysParseExact) {
  33659. return handleStrictParse$1.call(this, weekdayName, format, strict);
  33660. }
  33661. if (!this._weekdaysParse) {
  33662. this._weekdaysParse = [];
  33663. this._minWeekdaysParse = [];
  33664. this._shortWeekdaysParse = [];
  33665. this._fullWeekdaysParse = [];
  33666. }
  33667. for (i = 0; i < 7; i++) {
  33668. // make the regex if we don't have it already
  33669. mom = createUTC([2000, 1]).day(i);
  33670. if (strict && !this._fullWeekdaysParse[i]) {
  33671. this._fullWeekdaysParse[i] = new RegExp('^' + this.weekdays(mom, '').replace('.', '\\.?') + '$', 'i');
  33672. this._shortWeekdaysParse[i] = new RegExp('^' + this.weekdaysShort(mom, '').replace('.', '\\.?') + '$', 'i');
  33673. this._minWeekdaysParse[i] = new RegExp('^' + this.weekdaysMin(mom, '').replace('.', '\\.?') + '$', 'i');
  33674. }
  33675. if (!this._weekdaysParse[i]) {
  33676. regex = '^' + this.weekdays(mom, '') + '|^' + this.weekdaysShort(mom, '') + '|^' + this.weekdaysMin(mom, '');
  33677. this._weekdaysParse[i] = new RegExp(regex.replace('.', ''), 'i');
  33678. }
  33679. // test the regex
  33680. if (strict && format === 'dddd' && this._fullWeekdaysParse[i].test(weekdayName)) {
  33681. return i;
  33682. } else if (strict && format === 'ddd' && this._shortWeekdaysParse[i].test(weekdayName)) {
  33683. return i;
  33684. } else if (strict && format === 'dd' && this._minWeekdaysParse[i].test(weekdayName)) {
  33685. return i;
  33686. } else if (!strict && this._weekdaysParse[i].test(weekdayName)) {
  33687. return i;
  33688. }
  33689. }
  33690. }
  33691. // MOMENTS
  33692. function getSetDayOfWeek(input) {
  33693. if (!this.isValid()) {
  33694. return input != null ? this : NaN;
  33695. }
  33696. var day = this._isUTC ? this._d.getUTCDay() : this._d.getDay();
  33697. if (input != null) {
  33698. input = parseWeekday(input, this.localeData());
  33699. return this.add(input - day, 'd');
  33700. } else {
  33701. return day;
  33702. }
  33703. }
  33704. function getSetLocaleDayOfWeek(input) {
  33705. if (!this.isValid()) {
  33706. return input != null ? this : NaN;
  33707. }
  33708. var weekday = (this.day() + 7 - this.localeData()._week.dow) % 7;
  33709. return input == null ? weekday : this.add(input - weekday, 'd');
  33710. }
  33711. function getSetISODayOfWeek(input) {
  33712. if (!this.isValid()) {
  33713. return input != null ? this : NaN;
  33714. }
  33715. // behaves the same as moment#day except
  33716. // as a getter, returns 7 instead of 0 (1-7 range instead of 0-6)
  33717. // as a setter, sunday should belong to the previous week.
  33718. if (input != null) {
  33719. var weekday = parseIsoWeekday(input, this.localeData());
  33720. return this.day(this.day() % 7 ? weekday : weekday - 7);
  33721. } else {
  33722. return this.day() || 7;
  33723. }
  33724. }
  33725. function weekdaysRegex(isStrict) {
  33726. if (this._weekdaysParseExact) {
  33727. if (!hasOwnProp(this, '_weekdaysRegex')) {
  33728. computeWeekdaysParse.call(this);
  33729. }
  33730. if (isStrict) {
  33731. return this._weekdaysStrictRegex;
  33732. } else {
  33733. return this._weekdaysRegex;
  33734. }
  33735. } else {
  33736. if (!hasOwnProp(this, '_weekdaysRegex')) {
  33737. this._weekdaysRegex = defaultWeekdaysRegex;
  33738. }
  33739. return this._weekdaysStrictRegex && isStrict ? this._weekdaysStrictRegex : this._weekdaysRegex;
  33740. }
  33741. }
  33742. function weekdaysShortRegex(isStrict) {
  33743. if (this._weekdaysParseExact) {
  33744. if (!hasOwnProp(this, '_weekdaysRegex')) {
  33745. computeWeekdaysParse.call(this);
  33746. }
  33747. if (isStrict) {
  33748. return this._weekdaysShortStrictRegex;
  33749. } else {
  33750. return this._weekdaysShortRegex;
  33751. }
  33752. } else {
  33753. if (!hasOwnProp(this, '_weekdaysShortRegex')) {
  33754. this._weekdaysShortRegex = defaultWeekdaysShortRegex;
  33755. }
  33756. return this._weekdaysShortStrictRegex && isStrict ? this._weekdaysShortStrictRegex : this._weekdaysShortRegex;
  33757. }
  33758. }
  33759. function weekdaysMinRegex(isStrict) {
  33760. if (this._weekdaysParseExact) {
  33761. if (!hasOwnProp(this, '_weekdaysRegex')) {
  33762. computeWeekdaysParse.call(this);
  33763. }
  33764. if (isStrict) {
  33765. return this._weekdaysMinStrictRegex;
  33766. } else {
  33767. return this._weekdaysMinRegex;
  33768. }
  33769. } else {
  33770. if (!hasOwnProp(this, '_weekdaysMinRegex')) {
  33771. this._weekdaysMinRegex = defaultWeekdaysMinRegex;
  33772. }
  33773. return this._weekdaysMinStrictRegex && isStrict ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex;
  33774. }
  33775. }
  33776. function computeWeekdaysParse() {
  33777. function cmpLenRev(a, b) {
  33778. return b.length - a.length;
  33779. }
  33780. var minPieces = [],
  33781. shortPieces = [],
  33782. longPieces = [],
  33783. mixedPieces = [],
  33784. i,
  33785. mom,
  33786. minp,
  33787. shortp,
  33788. longp;
  33789. for (i = 0; i < 7; i++) {
  33790. // make the regex if we don't have it already
  33791. mom = createUTC([2000, 1]).day(i);
  33792. minp = regexEscape(this.weekdaysMin(mom, ''));
  33793. shortp = regexEscape(this.weekdaysShort(mom, ''));
  33794. longp = regexEscape(this.weekdays(mom, ''));
  33795. minPieces.push(minp);
  33796. shortPieces.push(shortp);
  33797. longPieces.push(longp);
  33798. mixedPieces.push(minp);
  33799. mixedPieces.push(shortp);
  33800. mixedPieces.push(longp);
  33801. }
  33802. // Sorting makes sure if one weekday (or abbr) is a prefix of another it
  33803. // will match the longer piece.
  33804. minPieces.sort(cmpLenRev);
  33805. shortPieces.sort(cmpLenRev);
  33806. longPieces.sort(cmpLenRev);
  33807. mixedPieces.sort(cmpLenRev);
  33808. this._weekdaysRegex = new RegExp('^(' + mixedPieces.join('|') + ')', 'i');
  33809. this._weekdaysShortRegex = this._weekdaysRegex;
  33810. this._weekdaysMinRegex = this._weekdaysRegex;
  33811. this._weekdaysStrictRegex = new RegExp('^(' + longPieces.join('|') + ')', 'i');
  33812. this._weekdaysShortStrictRegex = new RegExp('^(' + shortPieces.join('|') + ')', 'i');
  33813. this._weekdaysMinStrictRegex = new RegExp('^(' + minPieces.join('|') + ')', 'i');
  33814. }
  33815. // FORMATTING
  33816. function hFormat() {
  33817. return this.hours() % 12 || 12;
  33818. }
  33819. function kFormat() {
  33820. return this.hours() || 24;
  33821. }
  33822. addFormatToken('H', ['HH', 2], 0, 'hour');
  33823. addFormatToken('h', ['hh', 2], 0, hFormat);
  33824. addFormatToken('k', ['kk', 2], 0, kFormat);
  33825. addFormatToken('hmm', 0, 0, function () {
  33826. return '' + hFormat.apply(this) + zeroFill(this.minutes(), 2);
  33827. });
  33828. addFormatToken('hmmss', 0, 0, function () {
  33829. return '' + hFormat.apply(this) + zeroFill(this.minutes(), 2) + zeroFill(this.seconds(), 2);
  33830. });
  33831. addFormatToken('Hmm', 0, 0, function () {
  33832. return '' + this.hours() + zeroFill(this.minutes(), 2);
  33833. });
  33834. addFormatToken('Hmmss', 0, 0, function () {
  33835. return '' + this.hours() + zeroFill(this.minutes(), 2) + zeroFill(this.seconds(), 2);
  33836. });
  33837. function meridiem(token, lowercase) {
  33838. addFormatToken(token, 0, 0, function () {
  33839. return this.localeData().meridiem(this.hours(), this.minutes(), lowercase);
  33840. });
  33841. }
  33842. meridiem('a', true);
  33843. meridiem('A', false);
  33844. // ALIASES
  33845. addUnitAlias('hour', 'h');
  33846. // PRIORITY
  33847. addUnitPriority('hour', 13);
  33848. // PARSING
  33849. function matchMeridiem(isStrict, locale) {
  33850. return locale._meridiemParse;
  33851. }
  33852. addRegexToken('a', matchMeridiem);
  33853. addRegexToken('A', matchMeridiem);
  33854. addRegexToken('H', match1to2);
  33855. addRegexToken('h', match1to2);
  33856. addRegexToken('k', match1to2);
  33857. addRegexToken('HH', match1to2, match2);
  33858. addRegexToken('hh', match1to2, match2);
  33859. addRegexToken('kk', match1to2, match2);
  33860. addRegexToken('hmm', match3to4);
  33861. addRegexToken('hmmss', match5to6);
  33862. addRegexToken('Hmm', match3to4);
  33863. addRegexToken('Hmmss', match5to6);
  33864. addParseToken(['H', 'HH'], HOUR);
  33865. addParseToken(['k', 'kk'], function (input, array, config) {
  33866. var kInput = toInt(input);
  33867. array[HOUR] = kInput === 24 ? 0 : kInput;
  33868. });
  33869. addParseToken(['a', 'A'], function (input, array, config) {
  33870. config._isPm = config._locale.isPM(input);
  33871. config._meridiem = input;
  33872. });
  33873. addParseToken(['h', 'hh'], function (input, array, config) {
  33874. array[HOUR] = toInt(input);
  33875. getParsingFlags(config).bigHour = true;
  33876. });
  33877. addParseToken('hmm', function (input, array, config) {
  33878. var pos = input.length - 2;
  33879. array[HOUR] = toInt(input.substr(0, pos));
  33880. array[MINUTE] = toInt(input.substr(pos));
  33881. getParsingFlags(config).bigHour = true;
  33882. });
  33883. addParseToken('hmmss', function (input, array, config) {
  33884. var pos1 = input.length - 4,
  33885. pos2 = input.length - 2;
  33886. array[HOUR] = toInt(input.substr(0, pos1));
  33887. array[MINUTE] = toInt(input.substr(pos1, 2));
  33888. array[SECOND] = toInt(input.substr(pos2));
  33889. getParsingFlags(config).bigHour = true;
  33890. });
  33891. addParseToken('Hmm', function (input, array, config) {
  33892. var pos = input.length - 2;
  33893. array[HOUR] = toInt(input.substr(0, pos));
  33894. array[MINUTE] = toInt(input.substr(pos));
  33895. });
  33896. addParseToken('Hmmss', function (input, array, config) {
  33897. var pos1 = input.length - 4,
  33898. pos2 = input.length - 2;
  33899. array[HOUR] = toInt(input.substr(0, pos1));
  33900. array[MINUTE] = toInt(input.substr(pos1, 2));
  33901. array[SECOND] = toInt(input.substr(pos2));
  33902. });
  33903. // LOCALES
  33904. function localeIsPM(input) {
  33905. // IE8 Quirks Mode & IE7 Standards Mode do not allow accessing strings like arrays
  33906. // Using charAt should be more compatible.
  33907. return (input + '').toLowerCase().charAt(0) === 'p';
  33908. }
  33909. var defaultLocaleMeridiemParse = /[ap]\.?m?\.?/i,
  33910. // Setting the hour should keep the time, because the user explicitly
  33911. // specified which hour they want. So trying to maintain the same hour (in
  33912. // a new timezone) makes sense. Adding/subtracting hours does not follow
  33913. // this rule.
  33914. getSetHour = makeGetSet('Hours', true);
  33915. function localeMeridiem(hours, minutes, isLower) {
  33916. if (hours > 11) {
  33917. return isLower ? 'pm' : 'PM';
  33918. } else {
  33919. return isLower ? 'am' : 'AM';
  33920. }
  33921. }
  33922. var baseConfig = {
  33923. calendar: defaultCalendar,
  33924. longDateFormat: defaultLongDateFormat,
  33925. invalidDate: defaultInvalidDate,
  33926. ordinal: defaultOrdinal,
  33927. dayOfMonthOrdinalParse: defaultDayOfMonthOrdinalParse,
  33928. relativeTime: defaultRelativeTime,
  33929. months: defaultLocaleMonths,
  33930. monthsShort: defaultLocaleMonthsShort,
  33931. week: defaultLocaleWeek,
  33932. weekdays: defaultLocaleWeekdays,
  33933. weekdaysMin: defaultLocaleWeekdaysMin,
  33934. weekdaysShort: defaultLocaleWeekdaysShort,
  33935. meridiemParse: defaultLocaleMeridiemParse
  33936. };
  33937. // internal storage for locale config files
  33938. var locales = {},
  33939. localeFamilies = {},
  33940. globalLocale;
  33941. function commonPrefix(arr1, arr2) {
  33942. var i,
  33943. minl = Math.min(arr1.length, arr2.length);
  33944. for (i = 0; i < minl; i += 1) {
  33945. if (arr1[i] !== arr2[i]) {
  33946. return i;
  33947. }
  33948. }
  33949. return minl;
  33950. }
  33951. function normalizeLocale(key) {
  33952. return key ? key.toLowerCase().replace('_', '-') : key;
  33953. }
  33954. // pick the locale from the array
  33955. // try ['en-au', 'en-gb'] as 'en-au', 'en-gb', 'en', as in move through the list trying each
  33956. // substring from most specific to least, but move to the next array item if it's a more specific variant than the current root
  33957. function chooseLocale(names) {
  33958. var i = 0,
  33959. j,
  33960. next,
  33961. locale,
  33962. split;
  33963. while (i < names.length) {
  33964. split = normalizeLocale(names[i]).split('-');
  33965. j = split.length;
  33966. next = normalizeLocale(names[i + 1]);
  33967. next = next ? next.split('-') : null;
  33968. while (j > 0) {
  33969. locale = loadLocale(split.slice(0, j).join('-'));
  33970. if (locale) {
  33971. return locale;
  33972. }
  33973. if (next && next.length >= j && commonPrefix(split, next) >= j - 1) {
  33974. //the next array item is better than a shallower substring of this one
  33975. break;
  33976. }
  33977. j--;
  33978. }
  33979. i++;
  33980. }
  33981. return globalLocale;
  33982. }
  33983. function loadLocale(name) {
  33984. var oldLocale = null,
  33985. aliasedRequire;
  33986. // TODO: Find a better way to register and load all the locales in Node
  33987. if (locales[name] === undefined && typeof module !== 'undefined' && module && module.exports) {
  33988. try {
  33989. oldLocale = globalLocale._abbr;
  33990. aliasedRequire = require;
  33991. __webpack_require__(53)("./" + name);
  33992. getSetGlobalLocale(oldLocale);
  33993. } catch (e) {
  33994. // mark as not found to avoid repeating expensive file require call causing high CPU
  33995. // when trying to find en-US, en_US, en-us for every format call
  33996. locales[name] = null; // null means not found
  33997. }
  33998. }
  33999. return locales[name];
  34000. }
  34001. // This function will load locale and then set the global locale. If
  34002. // no arguments are passed in, it will simply return the current global
  34003. // locale key.
  34004. function getSetGlobalLocale(key, values) {
  34005. var data;
  34006. if (key) {
  34007. if (isUndefined(values)) {
  34008. data = getLocale(key);
  34009. } else {
  34010. data = defineLocale(key, values);
  34011. }
  34012. if (data) {
  34013. // moment.duration._locale = moment._locale = data;
  34014. globalLocale = data;
  34015. } else {
  34016. if (typeof console !== 'undefined' && console.warn) {
  34017. //warn user if arguments are passed but the locale could not be set
  34018. console.warn('Locale ' + key + ' not found. Did you forget to load it?');
  34019. }
  34020. }
  34021. }
  34022. return globalLocale._abbr;
  34023. }
  34024. function defineLocale(name, config) {
  34025. if (config !== null) {
  34026. var locale,
  34027. parentConfig = baseConfig;
  34028. config.abbr = name;
  34029. if (locales[name] != null) {
  34030. deprecateSimple('defineLocaleOverride', 'use moment.updateLocale(localeName, config) to change ' + 'an existing locale. moment.defineLocale(localeName, ' + 'config) should only be used for creating a new locale ' + 'See http://momentjs.com/guides/#/warnings/define-locale/ for more info.');
  34031. parentConfig = locales[name]._config;
  34032. } else if (config.parentLocale != null) {
  34033. if (locales[config.parentLocale] != null) {
  34034. parentConfig = locales[config.parentLocale]._config;
  34035. } else {
  34036. locale = loadLocale(config.parentLocale);
  34037. if (locale != null) {
  34038. parentConfig = locale._config;
  34039. } else {
  34040. if (!localeFamilies[config.parentLocale]) {
  34041. localeFamilies[config.parentLocale] = [];
  34042. }
  34043. localeFamilies[config.parentLocale].push({
  34044. name: name,
  34045. config: config
  34046. });
  34047. return null;
  34048. }
  34049. }
  34050. }
  34051. locales[name] = new Locale(mergeConfigs(parentConfig, config));
  34052. if (localeFamilies[name]) {
  34053. localeFamilies[name].forEach(function (x) {
  34054. defineLocale(x.name, x.config);
  34055. });
  34056. }
  34057. // backwards compat for now: also set the locale
  34058. // make sure we set the locale AFTER all child locales have been
  34059. // created, so we won't end up with the child locale set.
  34060. getSetGlobalLocale(name);
  34061. return locales[name];
  34062. } else {
  34063. // useful for testing
  34064. delete locales[name];
  34065. return null;
  34066. }
  34067. }
  34068. function updateLocale(name, config) {
  34069. if (config != null) {
  34070. var locale,
  34071. tmpLocale,
  34072. parentConfig = baseConfig;
  34073. if (locales[name] != null && locales[name].parentLocale != null) {
  34074. // Update existing child locale in-place to avoid memory-leaks
  34075. locales[name].set(mergeConfigs(locales[name]._config, config));
  34076. } else {
  34077. // MERGE
  34078. tmpLocale = loadLocale(name);
  34079. if (tmpLocale != null) {
  34080. parentConfig = tmpLocale._config;
  34081. }
  34082. config = mergeConfigs(parentConfig, config);
  34083. if (tmpLocale == null) {
  34084. // updateLocale is called for creating a new locale
  34085. // Set abbr so it will have a name (getters return
  34086. // undefined otherwise).
  34087. config.abbr = name;
  34088. }
  34089. locale = new Locale(config);
  34090. locale.parentLocale = locales[name];
  34091. locales[name] = locale;
  34092. }
  34093. // backwards compat for now: also set the locale
  34094. getSetGlobalLocale(name);
  34095. } else {
  34096. // pass null for config to unupdate, useful for tests
  34097. if (locales[name] != null) {
  34098. if (locales[name].parentLocale != null) {
  34099. locales[name] = locales[name].parentLocale;
  34100. if (name === getSetGlobalLocale()) {
  34101. getSetGlobalLocale(name);
  34102. }
  34103. } else if (locales[name] != null) {
  34104. delete locales[name];
  34105. }
  34106. }
  34107. }
  34108. return locales[name];
  34109. }
  34110. // returns locale data
  34111. function getLocale(key) {
  34112. var locale;
  34113. if (key && key._locale && key._locale._abbr) {
  34114. key = key._locale._abbr;
  34115. }
  34116. if (!key) {
  34117. return globalLocale;
  34118. }
  34119. if (!isArray(key)) {
  34120. //short-circuit everything else
  34121. locale = loadLocale(key);
  34122. if (locale) {
  34123. return locale;
  34124. }
  34125. key = [key];
  34126. }
  34127. return chooseLocale(key);
  34128. }
  34129. function listLocales() {
  34130. return keys(locales);
  34131. }
  34132. function checkOverflow(m) {
  34133. var overflow,
  34134. a = m._a;
  34135. if (a && getParsingFlags(m).overflow === -2) {
  34136. overflow = a[MONTH] < 0 || a[MONTH] > 11 ? MONTH : a[DATE] < 1 || a[DATE] > daysInMonth(a[YEAR], a[MONTH]) ? DATE : a[HOUR] < 0 || a[HOUR] > 24 || a[HOUR] === 24 && (a[MINUTE] !== 0 || a[SECOND] !== 0 || a[MILLISECOND] !== 0) ? HOUR : a[MINUTE] < 0 || a[MINUTE] > 59 ? MINUTE : a[SECOND] < 0 || a[SECOND] > 59 ? SECOND : a[MILLISECOND] < 0 || a[MILLISECOND] > 999 ? MILLISECOND : -1;
  34137. if (getParsingFlags(m)._overflowDayOfYear && (overflow < YEAR || overflow > DATE)) {
  34138. overflow = DATE;
  34139. }
  34140. if (getParsingFlags(m)._overflowWeeks && overflow === -1) {
  34141. overflow = WEEK;
  34142. }
  34143. if (getParsingFlags(m)._overflowWeekday && overflow === -1) {
  34144. overflow = WEEKDAY;
  34145. }
  34146. getParsingFlags(m).overflow = overflow;
  34147. }
  34148. return m;
  34149. }
  34150. // iso 8601 regex
  34151. // 0000-00-00 0000-W00 or 0000-W00-0 + T + 00 or 00:00 or 00:00:00 or 00:00:00.000 + +00:00 or +0000 or +00)
  34152. var extendedIsoRegex = /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,
  34153. basicIsoRegex = /^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,
  34154. tzRegex = /Z|[+-]\d\d(?::?\d\d)?/,
  34155. isoDates = [['YYYYYY-MM-DD', /[+-]\d{6}-\d\d-\d\d/], ['YYYY-MM-DD', /\d{4}-\d\d-\d\d/], ['GGGG-[W]WW-E', /\d{4}-W\d\d-\d/], ['GGGG-[W]WW', /\d{4}-W\d\d/, false], ['YYYY-DDD', /\d{4}-\d{3}/], ['YYYY-MM', /\d{4}-\d\d/, false], ['YYYYYYMMDD', /[+-]\d{10}/], ['YYYYMMDD', /\d{8}/], ['GGGG[W]WWE', /\d{4}W\d{3}/], ['GGGG[W]WW', /\d{4}W\d{2}/, false], ['YYYYDDD', /\d{7}/], ['YYYYMM', /\d{6}/, false], ['YYYY', /\d{4}/, false]],
  34156. // iso time formats and regexes
  34157. isoTimes = [['HH:mm:ss.SSSS', /\d\d:\d\d:\d\d\.\d+/], ['HH:mm:ss,SSSS', /\d\d:\d\d:\d\d,\d+/], ['HH:mm:ss', /\d\d:\d\d:\d\d/], ['HH:mm', /\d\d:\d\d/], ['HHmmss.SSSS', /\d\d\d\d\d\d\.\d+/], ['HHmmss,SSSS', /\d\d\d\d\d\d,\d+/], ['HHmmss', /\d\d\d\d\d\d/], ['HHmm', /\d\d\d\d/], ['HH', /\d\d/]],
  34158. aspNetJsonRegex = /^\/?Date\((-?\d+)/i,
  34159. // RFC 2822 regex: For details see https://tools.ietf.org/html/rfc2822#section-3.3
  34160. rfc2822 = /^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,
  34161. obsOffsets = {
  34162. UT: 0,
  34163. GMT: 0,
  34164. EDT: -4 * 60,
  34165. EST: -5 * 60,
  34166. CDT: -5 * 60,
  34167. CST: -6 * 60,
  34168. MDT: -6 * 60,
  34169. MST: -7 * 60,
  34170. PDT: -7 * 60,
  34171. PST: -8 * 60
  34172. };
  34173. // date from iso format
  34174. function configFromISO(config) {
  34175. var i,
  34176. l,
  34177. string = config._i,
  34178. match = extendedIsoRegex.exec(string) || basicIsoRegex.exec(string),
  34179. allowTime,
  34180. dateFormat,
  34181. timeFormat,
  34182. tzFormat;
  34183. if (match) {
  34184. getParsingFlags(config).iso = true;
  34185. for (i = 0, l = isoDates.length; i < l; i++) {
  34186. if (isoDates[i][1].exec(match[1])) {
  34187. dateFormat = isoDates[i][0];
  34188. allowTime = isoDates[i][2] !== false;
  34189. break;
  34190. }
  34191. }
  34192. if (dateFormat == null) {
  34193. config._isValid = false;
  34194. return;
  34195. }
  34196. if (match[3]) {
  34197. for (i = 0, l = isoTimes.length; i < l; i++) {
  34198. if (isoTimes[i][1].exec(match[3])) {
  34199. // match[2] should be 'T' or space
  34200. timeFormat = (match[2] || ' ') + isoTimes[i][0];
  34201. break;
  34202. }
  34203. }
  34204. if (timeFormat == null) {
  34205. config._isValid = false;
  34206. return;
  34207. }
  34208. }
  34209. if (!allowTime && timeFormat != null) {
  34210. config._isValid = false;
  34211. return;
  34212. }
  34213. if (match[4]) {
  34214. if (tzRegex.exec(match[4])) {
  34215. tzFormat = 'Z';
  34216. } else {
  34217. config._isValid = false;
  34218. return;
  34219. }
  34220. }
  34221. config._f = dateFormat + (timeFormat || '') + (tzFormat || '');
  34222. configFromStringAndFormat(config);
  34223. } else {
  34224. config._isValid = false;
  34225. }
  34226. }
  34227. function extractFromRFC2822Strings(yearStr, monthStr, dayStr, hourStr, minuteStr, secondStr) {
  34228. var result = [untruncateYear(yearStr), defaultLocaleMonthsShort.indexOf(monthStr), parseInt(dayStr, 10), parseInt(hourStr, 10), parseInt(minuteStr, 10)];
  34229. if (secondStr) {
  34230. result.push(parseInt(secondStr, 10));
  34231. }
  34232. return result;
  34233. }
  34234. function untruncateYear(yearStr) {
  34235. var year = parseInt(yearStr, 10);
  34236. if (year <= 49) {
  34237. return 2000 + year;
  34238. } else if (year <= 999) {
  34239. return 1900 + year;
  34240. }
  34241. return year;
  34242. }
  34243. function preprocessRFC2822(s) {
  34244. // Remove comments and folding whitespace and replace multiple-spaces with a single space
  34245. return s.replace(/\([^)]*\)|[\n\t]/g, ' ').replace(/(\s\s+)/g, ' ').replace(/^\s\s*/, '').replace(/\s\s*$/, '');
  34246. }
  34247. function checkWeekday(weekdayStr, parsedInput, config) {
  34248. if (weekdayStr) {
  34249. // TODO: Replace the vanilla JS Date object with an independent day-of-week check.
  34250. var weekdayProvided = defaultLocaleWeekdaysShort.indexOf(weekdayStr),
  34251. weekdayActual = new Date(parsedInput[0], parsedInput[1], parsedInput[2]).getDay();
  34252. if (weekdayProvided !== weekdayActual) {
  34253. getParsingFlags(config).weekdayMismatch = true;
  34254. config._isValid = false;
  34255. return false;
  34256. }
  34257. }
  34258. return true;
  34259. }
  34260. function calculateOffset(obsOffset, militaryOffset, numOffset) {
  34261. if (obsOffset) {
  34262. return obsOffsets[obsOffset];
  34263. } else if (militaryOffset) {
  34264. // the only allowed military tz is Z
  34265. return 0;
  34266. } else {
  34267. var hm = parseInt(numOffset, 10),
  34268. m = hm % 100,
  34269. h = (hm - m) / 100;
  34270. return h * 60 + m;
  34271. }
  34272. }
  34273. // date and time from ref 2822 format
  34274. function configFromRFC2822(config) {
  34275. var match = rfc2822.exec(preprocessRFC2822(config._i)),
  34276. parsedArray;
  34277. if (match) {
  34278. parsedArray = extractFromRFC2822Strings(match[4], match[3], match[2], match[5], match[6], match[7]);
  34279. if (!checkWeekday(match[1], parsedArray, config)) {
  34280. return;
  34281. }
  34282. config._a = parsedArray;
  34283. config._tzm = calculateOffset(match[8], match[9], match[10]);
  34284. config._d = createUTCDate.apply(null, config._a);
  34285. config._d.setUTCMinutes(config._d.getUTCMinutes() - config._tzm);
  34286. getParsingFlags(config).rfc2822 = true;
  34287. } else {
  34288. config._isValid = false;
  34289. }
  34290. }
  34291. // date from 1) ASP.NET, 2) ISO, 3) RFC 2822 formats, or 4) optional fallback if parsing isn't strict
  34292. function configFromString(config) {
  34293. var matched = aspNetJsonRegex.exec(config._i);
  34294. if (matched !== null) {
  34295. config._d = new Date(+matched[1]);
  34296. return;
  34297. }
  34298. configFromISO(config);
  34299. if (config._isValid === false) {
  34300. delete config._isValid;
  34301. } else {
  34302. return;
  34303. }
  34304. configFromRFC2822(config);
  34305. if (config._isValid === false) {
  34306. delete config._isValid;
  34307. } else {
  34308. return;
  34309. }
  34310. if (config._strict) {
  34311. config._isValid = false;
  34312. } else {
  34313. // Final attempt, use Input Fallback
  34314. hooks.createFromInputFallback(config);
  34315. }
  34316. }
  34317. hooks.createFromInputFallback = deprecate('value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), ' + 'which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are ' + 'discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.', function (config) {
  34318. config._d = new Date(config._i + (config._useUTC ? ' UTC' : ''));
  34319. });
  34320. // Pick the first defined of two or three arguments.
  34321. function defaults(a, b, c) {
  34322. if (a != null) {
  34323. return a;
  34324. }
  34325. if (b != null) {
  34326. return b;
  34327. }
  34328. return c;
  34329. }
  34330. function currentDateArray(config) {
  34331. // hooks is actually the exported moment object
  34332. var nowValue = new Date(hooks.now());
  34333. if (config._useUTC) {
  34334. return [nowValue.getUTCFullYear(), nowValue.getUTCMonth(), nowValue.getUTCDate()];
  34335. }
  34336. return [nowValue.getFullYear(), nowValue.getMonth(), nowValue.getDate()];
  34337. }
  34338. // convert an array to a date.
  34339. // the array should mirror the parameters below
  34340. // note: all values past the year are optional and will default to the lowest possible value.
  34341. // [year, month, day , hour, minute, second, millisecond]
  34342. function configFromArray(config) {
  34343. var i,
  34344. date,
  34345. input = [],
  34346. currentDate,
  34347. expectedWeekday,
  34348. yearToUse;
  34349. if (config._d) {
  34350. return;
  34351. }
  34352. currentDate = currentDateArray(config);
  34353. //compute day of the year from weeks and weekdays
  34354. if (config._w && config._a[DATE] == null && config._a[MONTH] == null) {
  34355. dayOfYearFromWeekInfo(config);
  34356. }
  34357. //if the day of the year is set, figure out what it is
  34358. if (config._dayOfYear != null) {
  34359. yearToUse = defaults(config._a[YEAR], currentDate[YEAR]);
  34360. if (config._dayOfYear > daysInYear(yearToUse) || config._dayOfYear === 0) {
  34361. getParsingFlags(config)._overflowDayOfYear = true;
  34362. }
  34363. date = createUTCDate(yearToUse, 0, config._dayOfYear);
  34364. config._a[MONTH] = date.getUTCMonth();
  34365. config._a[DATE] = date.getUTCDate();
  34366. }
  34367. // Default to current date.
  34368. // * if no year, month, day of month are given, default to today
  34369. // * if day of month is given, default month and year
  34370. // * if month is given, default only year
  34371. // * if year is given, don't default anything
  34372. for (i = 0; i < 3 && config._a[i] == null; ++i) {
  34373. config._a[i] = input[i] = currentDate[i];
  34374. }
  34375. // Zero out whatever was not defaulted, including time
  34376. for (; i < 7; i++) {
  34377. config._a[i] = input[i] = config._a[i] == null ? i === 2 ? 1 : 0 : config._a[i];
  34378. }
  34379. // Check for 24:00:00.000
  34380. if (config._a[HOUR] === 24 && config._a[MINUTE] === 0 && config._a[SECOND] === 0 && config._a[MILLISECOND] === 0) {
  34381. config._nextDay = true;
  34382. config._a[HOUR] = 0;
  34383. }
  34384. config._d = (config._useUTC ? createUTCDate : createDate).apply(null, input);
  34385. expectedWeekday = config._useUTC ? config._d.getUTCDay() : config._d.getDay();
  34386. // Apply timezone offset from input. The actual utcOffset can be changed
  34387. // with parseZone.
  34388. if (config._tzm != null) {
  34389. config._d.setUTCMinutes(config._d.getUTCMinutes() - config._tzm);
  34390. }
  34391. if (config._nextDay) {
  34392. config._a[HOUR] = 24;
  34393. }
  34394. // check for mismatching day of week
  34395. if (config._w && typeof config._w.d !== 'undefined' && config._w.d !== expectedWeekday) {
  34396. getParsingFlags(config).weekdayMismatch = true;
  34397. }
  34398. }
  34399. function dayOfYearFromWeekInfo(config) {
  34400. var w, weekYear, week, weekday, dow, doy, temp, weekdayOverflow, curWeek;
  34401. w = config._w;
  34402. if (w.GG != null || w.W != null || w.E != null) {
  34403. dow = 1;
  34404. doy = 4;
  34405. // TODO: We need to take the current isoWeekYear, but that depends on
  34406. // how we interpret now (local, utc, fixed offset). So create
  34407. // a now version of current config (take local/utc/offset flags, and
  34408. // create now).
  34409. weekYear = defaults(w.GG, config._a[YEAR], weekOfYear(createLocal(), 1, 4).year);
  34410. week = defaults(w.W, 1);
  34411. weekday = defaults(w.E, 1);
  34412. if (weekday < 1 || weekday > 7) {
  34413. weekdayOverflow = true;
  34414. }
  34415. } else {
  34416. dow = config._locale._week.dow;
  34417. doy = config._locale._week.doy;
  34418. curWeek = weekOfYear(createLocal(), dow, doy);
  34419. weekYear = defaults(w.gg, config._a[YEAR], curWeek.year);
  34420. // Default to current week.
  34421. week = defaults(w.w, curWeek.week);
  34422. if (w.d != null) {
  34423. // weekday -- low day numbers are considered next week
  34424. weekday = w.d;
  34425. if (weekday < 0 || weekday > 6) {
  34426. weekdayOverflow = true;
  34427. }
  34428. } else if (w.e != null) {
  34429. // local weekday -- counting starts from beginning of week
  34430. weekday = w.e + dow;
  34431. if (w.e < 0 || w.e > 6) {
  34432. weekdayOverflow = true;
  34433. }
  34434. } else {
  34435. // default to beginning of week
  34436. weekday = dow;
  34437. }
  34438. }
  34439. if (week < 1 || week > weeksInYear(weekYear, dow, doy)) {
  34440. getParsingFlags(config)._overflowWeeks = true;
  34441. } else if (weekdayOverflow != null) {
  34442. getParsingFlags(config)._overflowWeekday = true;
  34443. } else {
  34444. temp = dayOfYearFromWeeks(weekYear, week, weekday, dow, doy);
  34445. config._a[YEAR] = temp.year;
  34446. config._dayOfYear = temp.dayOfYear;
  34447. }
  34448. }
  34449. // constant that refers to the ISO standard
  34450. hooks.ISO_8601 = function () {};
  34451. // constant that refers to the RFC 2822 form
  34452. hooks.RFC_2822 = function () {};
  34453. // date from string and format string
  34454. function configFromStringAndFormat(config) {
  34455. // TODO: Move this to another part of the creation flow to prevent circular deps
  34456. if (config._f === hooks.ISO_8601) {
  34457. configFromISO(config);
  34458. return;
  34459. }
  34460. if (config._f === hooks.RFC_2822) {
  34461. configFromRFC2822(config);
  34462. return;
  34463. }
  34464. config._a = [];
  34465. getParsingFlags(config).empty = true;
  34466. // This array is used to make a Date, either with `new Date` or `Date.UTC`
  34467. var string = '' + config._i,
  34468. i,
  34469. parsedInput,
  34470. tokens,
  34471. token,
  34472. skipped,
  34473. stringLength = string.length,
  34474. totalParsedInputLength = 0,
  34475. era;
  34476. tokens = expandFormat(config._f, config._locale).match(formattingTokens) || [];
  34477. for (i = 0; i < tokens.length; i++) {
  34478. token = tokens[i];
  34479. parsedInput = (string.match(getParseRegexForToken(token, config)) || [])[0];
  34480. if (parsedInput) {
  34481. skipped = string.substr(0, string.indexOf(parsedInput));
  34482. if (skipped.length > 0) {
  34483. getParsingFlags(config).unusedInput.push(skipped);
  34484. }
  34485. string = string.slice(string.indexOf(parsedInput) + parsedInput.length);
  34486. totalParsedInputLength += parsedInput.length;
  34487. }
  34488. // don't parse if it's not a known token
  34489. if (formatTokenFunctions[token]) {
  34490. if (parsedInput) {
  34491. getParsingFlags(config).empty = false;
  34492. } else {
  34493. getParsingFlags(config).unusedTokens.push(token);
  34494. }
  34495. addTimeToArrayFromToken(token, parsedInput, config);
  34496. } else if (config._strict && !parsedInput) {
  34497. getParsingFlags(config).unusedTokens.push(token);
  34498. }
  34499. }
  34500. // add remaining unparsed input length to the string
  34501. getParsingFlags(config).charsLeftOver = stringLength - totalParsedInputLength;
  34502. if (string.length > 0) {
  34503. getParsingFlags(config).unusedInput.push(string);
  34504. }
  34505. // clear _12h flag if hour is <= 12
  34506. if (config._a[HOUR] <= 12 && getParsingFlags(config).bigHour === true && config._a[HOUR] > 0) {
  34507. getParsingFlags(config).bigHour = undefined;
  34508. }
  34509. getParsingFlags(config).parsedDateParts = config._a.slice(0);
  34510. getParsingFlags(config).meridiem = config._meridiem;
  34511. // handle meridiem
  34512. config._a[HOUR] = meridiemFixWrap(config._locale, config._a[HOUR], config._meridiem);
  34513. // handle era
  34514. era = getParsingFlags(config).era;
  34515. if (era !== null) {
  34516. config._a[YEAR] = config._locale.erasConvertYear(era, config._a[YEAR]);
  34517. }
  34518. configFromArray(config);
  34519. checkOverflow(config);
  34520. }
  34521. function meridiemFixWrap(locale, hour, meridiem) {
  34522. var isPm;
  34523. if (meridiem == null) {
  34524. // nothing to do
  34525. return hour;
  34526. }
  34527. if (locale.meridiemHour != null) {
  34528. return locale.meridiemHour(hour, meridiem);
  34529. } else if (locale.isPM != null) {
  34530. // Fallback
  34531. isPm = locale.isPM(meridiem);
  34532. if (isPm && hour < 12) {
  34533. hour += 12;
  34534. }
  34535. if (!isPm && hour === 12) {
  34536. hour = 0;
  34537. }
  34538. return hour;
  34539. } else {
  34540. // this is not supposed to happen
  34541. return hour;
  34542. }
  34543. }
  34544. // date from string and array of format strings
  34545. function configFromStringAndArray(config) {
  34546. var tempConfig,
  34547. bestMoment,
  34548. scoreToBeat,
  34549. i,
  34550. currentScore,
  34551. validFormatFound,
  34552. bestFormatIsValid = false;
  34553. if (config._f.length === 0) {
  34554. getParsingFlags(config).invalidFormat = true;
  34555. config._d = new Date(NaN);
  34556. return;
  34557. }
  34558. for (i = 0; i < config._f.length; i++) {
  34559. currentScore = 0;
  34560. validFormatFound = false;
  34561. tempConfig = copyConfig({}, config);
  34562. if (config._useUTC != null) {
  34563. tempConfig._useUTC = config._useUTC;
  34564. }
  34565. tempConfig._f = config._f[i];
  34566. configFromStringAndFormat(tempConfig);
  34567. if (isValid(tempConfig)) {
  34568. validFormatFound = true;
  34569. }
  34570. // if there is any input that was not parsed add a penalty for that format
  34571. currentScore += getParsingFlags(tempConfig).charsLeftOver;
  34572. //or tokens
  34573. currentScore += getParsingFlags(tempConfig).unusedTokens.length * 10;
  34574. getParsingFlags(tempConfig).score = currentScore;
  34575. if (!bestFormatIsValid) {
  34576. if (scoreToBeat == null || currentScore < scoreToBeat || validFormatFound) {
  34577. scoreToBeat = currentScore;
  34578. bestMoment = tempConfig;
  34579. if (validFormatFound) {
  34580. bestFormatIsValid = true;
  34581. }
  34582. }
  34583. } else {
  34584. if (currentScore < scoreToBeat) {
  34585. scoreToBeat = currentScore;
  34586. bestMoment = tempConfig;
  34587. }
  34588. }
  34589. }
  34590. extend(config, bestMoment || tempConfig);
  34591. }
  34592. function configFromObject(config) {
  34593. if (config._d) {
  34594. return;
  34595. }
  34596. var i = normalizeObjectUnits(config._i),
  34597. dayOrDate = i.day === undefined ? i.date : i.day;
  34598. config._a = map([i.year, i.month, dayOrDate, i.hour, i.minute, i.second, i.millisecond], function (obj) {
  34599. return obj && parseInt(obj, 10);
  34600. });
  34601. configFromArray(config);
  34602. }
  34603. function createFromConfig(config) {
  34604. var res = new Moment(checkOverflow(prepareConfig(config)));
  34605. if (res._nextDay) {
  34606. // Adding is smart enough around DST
  34607. res.add(1, 'd');
  34608. res._nextDay = undefined;
  34609. }
  34610. return res;
  34611. }
  34612. function prepareConfig(config) {
  34613. var input = config._i,
  34614. format = config._f;
  34615. config._locale = config._locale || getLocale(config._l);
  34616. if (input === null || format === undefined && input === '') {
  34617. return createInvalid({
  34618. nullInput: true
  34619. });
  34620. }
  34621. if (typeof input === 'string') {
  34622. config._i = input = config._locale.preparse(input);
  34623. }
  34624. if (isMoment(input)) {
  34625. return new Moment(checkOverflow(input));
  34626. } else if (isDate(input)) {
  34627. config._d = input;
  34628. } else if (isArray(format)) {
  34629. configFromStringAndArray(config);
  34630. } else if (format) {
  34631. configFromStringAndFormat(config);
  34632. } else {
  34633. configFromInput(config);
  34634. }
  34635. if (!isValid(config)) {
  34636. config._d = null;
  34637. }
  34638. return config;
  34639. }
  34640. function configFromInput(config) {
  34641. var input = config._i;
  34642. if (isUndefined(input)) {
  34643. config._d = new Date(hooks.now());
  34644. } else if (isDate(input)) {
  34645. config._d = new Date(input.valueOf());
  34646. } else if (typeof input === 'string') {
  34647. configFromString(config);
  34648. } else if (isArray(input)) {
  34649. config._a = map(input.slice(0), function (obj) {
  34650. return parseInt(obj, 10);
  34651. });
  34652. configFromArray(config);
  34653. } else if (isObject(input)) {
  34654. configFromObject(config);
  34655. } else if (isNumber(input)) {
  34656. // from milliseconds
  34657. config._d = new Date(input);
  34658. } else {
  34659. hooks.createFromInputFallback(config);
  34660. }
  34661. }
  34662. function createLocalOrUTC(input, format, locale, strict, isUTC) {
  34663. var c = {};
  34664. if (format === true || format === false) {
  34665. strict = format;
  34666. format = undefined;
  34667. }
  34668. if (locale === true || locale === false) {
  34669. strict = locale;
  34670. locale = undefined;
  34671. }
  34672. if (isObject(input) && isObjectEmpty(input) || isArray(input) && input.length === 0) {
  34673. input = undefined;
  34674. }
  34675. // object construction must be done this way.
  34676. // https://github.com/moment/moment/issues/1423
  34677. c._isAMomentObject = true;
  34678. c._useUTC = c._isUTC = isUTC;
  34679. c._l = locale;
  34680. c._i = input;
  34681. c._f = format;
  34682. c._strict = strict;
  34683. return createFromConfig(c);
  34684. }
  34685. function createLocal(input, format, locale, strict) {
  34686. return createLocalOrUTC(input, format, locale, strict, false);
  34687. }
  34688. var prototypeMin = deprecate('moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/', function () {
  34689. var other = createLocal.apply(null, arguments);
  34690. if (this.isValid() && other.isValid()) {
  34691. return other < this ? this : other;
  34692. } else {
  34693. return createInvalid();
  34694. }
  34695. }),
  34696. prototypeMax = deprecate('moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/', function () {
  34697. var other = createLocal.apply(null, arguments);
  34698. if (this.isValid() && other.isValid()) {
  34699. return other > this ? this : other;
  34700. } else {
  34701. return createInvalid();
  34702. }
  34703. });
  34704. // Pick a moment m from moments so that m[fn](other) is true for all
  34705. // other. This relies on the function fn to be transitive.
  34706. //
  34707. // moments should either be an array of moment objects or an array, whose
  34708. // first element is an array of moment objects.
  34709. function pickBy(fn, moments) {
  34710. var res, i;
  34711. if (moments.length === 1 && isArray(moments[0])) {
  34712. moments = moments[0];
  34713. }
  34714. if (!moments.length) {
  34715. return createLocal();
  34716. }
  34717. res = moments[0];
  34718. for (i = 1; i < moments.length; ++i) {
  34719. if (!moments[i].isValid() || moments[i][fn](res)) {
  34720. res = moments[i];
  34721. }
  34722. }
  34723. return res;
  34724. }
  34725. // TODO: Use [].sort instead?
  34726. function min() {
  34727. var args = [].slice.call(arguments, 0);
  34728. return pickBy('isBefore', args);
  34729. }
  34730. function max() {
  34731. var args = [].slice.call(arguments, 0);
  34732. return pickBy('isAfter', args);
  34733. }
  34734. var now = function now() {
  34735. return Date.now ? Date.now() : +new Date();
  34736. };
  34737. var ordering = ['year', 'quarter', 'month', 'week', 'day', 'hour', 'minute', 'second', 'millisecond'];
  34738. function isDurationValid(m) {
  34739. var key,
  34740. unitHasDecimal = false,
  34741. i;
  34742. for (key in m) {
  34743. if (hasOwnProp(m, key) && !(indexOf.call(ordering, key) !== -1 && (m[key] == null || !isNaN(m[key])))) {
  34744. return false;
  34745. }
  34746. }
  34747. for (i = 0; i < ordering.length; ++i) {
  34748. if (m[ordering[i]]) {
  34749. if (unitHasDecimal) {
  34750. return false; // only allow non-integers for smallest unit
  34751. }
  34752. if (parseFloat(m[ordering[i]]) !== toInt(m[ordering[i]])) {
  34753. unitHasDecimal = true;
  34754. }
  34755. }
  34756. }
  34757. return true;
  34758. }
  34759. function isValid$1() {
  34760. return this._isValid;
  34761. }
  34762. function createInvalid$1() {
  34763. return createDuration(NaN);
  34764. }
  34765. function Duration(duration) {
  34766. var normalizedInput = normalizeObjectUnits(duration),
  34767. years = normalizedInput.year || 0,
  34768. quarters = normalizedInput.quarter || 0,
  34769. months = normalizedInput.month || 0,
  34770. weeks = normalizedInput.week || normalizedInput.isoWeek || 0,
  34771. days = normalizedInput.day || 0,
  34772. hours = normalizedInput.hour || 0,
  34773. minutes = normalizedInput.minute || 0,
  34774. seconds = normalizedInput.second || 0,
  34775. milliseconds = normalizedInput.millisecond || 0;
  34776. this._isValid = isDurationValid(normalizedInput);
  34777. // representation for dateAddRemove
  34778. this._milliseconds = +milliseconds + seconds * 1e3 +
  34779. // 1000
  34780. minutes * 6e4 +
  34781. // 1000 * 60
  34782. hours * 1000 * 60 * 60; //using 1000 * 60 * 60 instead of 36e5 to avoid floating point rounding errors https://github.com/moment/moment/issues/2978
  34783. // Because of dateAddRemove treats 24 hours as different from a
  34784. // day when working around DST, we need to store them separately
  34785. this._days = +days + weeks * 7;
  34786. // It is impossible to translate months into days without knowing
  34787. // which months you are are talking about, so we have to store
  34788. // it separately.
  34789. this._months = +months + quarters * 3 + years * 12;
  34790. this._data = {};
  34791. this._locale = getLocale();
  34792. this._bubble();
  34793. }
  34794. function isDuration(obj) {
  34795. return obj instanceof Duration;
  34796. }
  34797. function absRound(number) {
  34798. if (number < 0) {
  34799. return Math.round(-1 * number) * -1;
  34800. } else {
  34801. return Math.round(number);
  34802. }
  34803. }
  34804. // compare two arrays, return the number of differences
  34805. function compareArrays(array1, array2, dontConvert) {
  34806. var len = Math.min(array1.length, array2.length),
  34807. lengthDiff = Math.abs(array1.length - array2.length),
  34808. diffs = 0,
  34809. i;
  34810. for (i = 0; i < len; i++) {
  34811. if (dontConvert && array1[i] !== array2[i] || !dontConvert && toInt(array1[i]) !== toInt(array2[i])) {
  34812. diffs++;
  34813. }
  34814. }
  34815. return diffs + lengthDiff;
  34816. }
  34817. // FORMATTING
  34818. function offset(token, separator) {
  34819. addFormatToken(token, 0, 0, function () {
  34820. var offset = this.utcOffset(),
  34821. sign = '+';
  34822. if (offset < 0) {
  34823. offset = -offset;
  34824. sign = '-';
  34825. }
  34826. return sign + zeroFill(~~(offset / 60), 2) + separator + zeroFill(~~offset % 60, 2);
  34827. });
  34828. }
  34829. offset('Z', ':');
  34830. offset('ZZ', '');
  34831. // PARSING
  34832. addRegexToken('Z', matchShortOffset);
  34833. addRegexToken('ZZ', matchShortOffset);
  34834. addParseToken(['Z', 'ZZ'], function (input, array, config) {
  34835. config._useUTC = true;
  34836. config._tzm = offsetFromString(matchShortOffset, input);
  34837. });
  34838. // HELPERS
  34839. // timezone chunker
  34840. // '+10:00' > ['10', '00']
  34841. // '-1530' > ['-15', '30']
  34842. var chunkOffset = /([\+\-]|\d\d)/gi;
  34843. function offsetFromString(matcher, string) {
  34844. var matches = (string || '').match(matcher),
  34845. chunk,
  34846. parts,
  34847. minutes;
  34848. if (matches === null) {
  34849. return null;
  34850. }
  34851. chunk = matches[matches.length - 1] || [];
  34852. parts = (chunk + '').match(chunkOffset) || ['-', 0, 0];
  34853. minutes = +(parts[1] * 60) + toInt(parts[2]);
  34854. return minutes === 0 ? 0 : parts[0] === '+' ? minutes : -minutes;
  34855. }
  34856. // Return a moment from input, that is local/utc/zone equivalent to model.
  34857. function cloneWithOffset(input, model) {
  34858. var res, diff;
  34859. if (model._isUTC) {
  34860. res = model.clone();
  34861. diff = (isMoment(input) || isDate(input) ? input.valueOf() : createLocal(input).valueOf()) - res.valueOf();
  34862. // Use low-level api, because this fn is low-level api.
  34863. res._d.setTime(res._d.valueOf() + diff);
  34864. hooks.updateOffset(res, false);
  34865. return res;
  34866. } else {
  34867. return createLocal(input).local();
  34868. }
  34869. }
  34870. function getDateOffset(m) {
  34871. // On Firefox.24 Date#getTimezoneOffset returns a floating point.
  34872. // https://github.com/moment/moment/pull/1871
  34873. return -Math.round(m._d.getTimezoneOffset());
  34874. }
  34875. // HOOKS
  34876. // This function will be called whenever a moment is mutated.
  34877. // It is intended to keep the offset in sync with the timezone.
  34878. hooks.updateOffset = function () {};
  34879. // MOMENTS
  34880. // keepLocalTime = true means only change the timezone, without
  34881. // affecting the local hour. So 5:31:26 +0300 --[utcOffset(2, true)]-->
  34882. // 5:31:26 +0200 It is possible that 5:31:26 doesn't exist with offset
  34883. // +0200, so we adjust the time as needed, to be valid.
  34884. //
  34885. // Keeping the time actually adds/subtracts (one hour)
  34886. // from the actual represented time. That is why we call updateOffset
  34887. // a second time. In case it wants us to change the offset again
  34888. // _changeInProgress == true case, then we have to adjust, because
  34889. // there is no such time in the given timezone.
  34890. function getSetOffset(input, keepLocalTime, keepMinutes) {
  34891. var offset = this._offset || 0,
  34892. localAdjust;
  34893. if (!this.isValid()) {
  34894. return input != null ? this : NaN;
  34895. }
  34896. if (input != null) {
  34897. if (typeof input === 'string') {
  34898. input = offsetFromString(matchShortOffset, input);
  34899. if (input === null) {
  34900. return this;
  34901. }
  34902. } else if (Math.abs(input) < 16 && !keepMinutes) {
  34903. input = input * 60;
  34904. }
  34905. if (!this._isUTC && keepLocalTime) {
  34906. localAdjust = getDateOffset(this);
  34907. }
  34908. this._offset = input;
  34909. this._isUTC = true;
  34910. if (localAdjust != null) {
  34911. this.add(localAdjust, 'm');
  34912. }
  34913. if (offset !== input) {
  34914. if (!keepLocalTime || this._changeInProgress) {
  34915. addSubtract(this, createDuration(input - offset, 'm'), 1, false);
  34916. } else if (!this._changeInProgress) {
  34917. this._changeInProgress = true;
  34918. hooks.updateOffset(this, true);
  34919. this._changeInProgress = null;
  34920. }
  34921. }
  34922. return this;
  34923. } else {
  34924. return this._isUTC ? offset : getDateOffset(this);
  34925. }
  34926. }
  34927. function getSetZone(input, keepLocalTime) {
  34928. if (input != null) {
  34929. if (typeof input !== 'string') {
  34930. input = -input;
  34931. }
  34932. this.utcOffset(input, keepLocalTime);
  34933. return this;
  34934. } else {
  34935. return -this.utcOffset();
  34936. }
  34937. }
  34938. function setOffsetToUTC(keepLocalTime) {
  34939. return this.utcOffset(0, keepLocalTime);
  34940. }
  34941. function setOffsetToLocal(keepLocalTime) {
  34942. if (this._isUTC) {
  34943. this.utcOffset(0, keepLocalTime);
  34944. this._isUTC = false;
  34945. if (keepLocalTime) {
  34946. this.subtract(getDateOffset(this), 'm');
  34947. }
  34948. }
  34949. return this;
  34950. }
  34951. function setOffsetToParsedOffset() {
  34952. if (this._tzm != null) {
  34953. this.utcOffset(this._tzm, false, true);
  34954. } else if (typeof this._i === 'string') {
  34955. var tZone = offsetFromString(matchOffset, this._i);
  34956. if (tZone != null) {
  34957. this.utcOffset(tZone);
  34958. } else {
  34959. this.utcOffset(0, true);
  34960. }
  34961. }
  34962. return this;
  34963. }
  34964. function hasAlignedHourOffset(input) {
  34965. if (!this.isValid()) {
  34966. return false;
  34967. }
  34968. input = input ? createLocal(input).utcOffset() : 0;
  34969. return (this.utcOffset() - input) % 60 === 0;
  34970. }
  34971. function isDaylightSavingTime() {
  34972. return this.utcOffset() > this.clone().month(0).utcOffset() || this.utcOffset() > this.clone().month(5).utcOffset();
  34973. }
  34974. function isDaylightSavingTimeShifted() {
  34975. if (!isUndefined(this._isDSTShifted)) {
  34976. return this._isDSTShifted;
  34977. }
  34978. var c = {},
  34979. other;
  34980. copyConfig(c, this);
  34981. c = prepareConfig(c);
  34982. if (c._a) {
  34983. other = c._isUTC ? createUTC(c._a) : createLocal(c._a);
  34984. this._isDSTShifted = this.isValid() && compareArrays(c._a, other.toArray()) > 0;
  34985. } else {
  34986. this._isDSTShifted = false;
  34987. }
  34988. return this._isDSTShifted;
  34989. }
  34990. function isLocal() {
  34991. return this.isValid() ? !this._isUTC : false;
  34992. }
  34993. function isUtcOffset() {
  34994. return this.isValid() ? this._isUTC : false;
  34995. }
  34996. function isUtc() {
  34997. return this.isValid() ? this._isUTC && this._offset === 0 : false;
  34998. }
  34999. // ASP.NET json date format regex
  35000. var aspNetRegex = /^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,
  35001. // from http://docs.closure-library.googlecode.com/git/closure_goog_date_date.js.source.html
  35002. // somewhat more in line with 4.4.3.2 2004 spec, but allows decimal anywhere
  35003. // and further modified to allow for strings containing both week and day
  35004. isoRegex = /^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;
  35005. function createDuration(input, key) {
  35006. var duration = input,
  35007. // matching against regexp is expensive, do it on demand
  35008. match = null,
  35009. sign,
  35010. ret,
  35011. diffRes;
  35012. if (isDuration(input)) {
  35013. duration = {
  35014. ms: input._milliseconds,
  35015. d: input._days,
  35016. M: input._months
  35017. };
  35018. } else if (isNumber(input) || !isNaN(+input)) {
  35019. duration = {};
  35020. if (key) {
  35021. duration[key] = +input;
  35022. } else {
  35023. duration.milliseconds = +input;
  35024. }
  35025. } else if (match = aspNetRegex.exec(input)) {
  35026. sign = match[1] === '-' ? -1 : 1;
  35027. duration = {
  35028. y: 0,
  35029. d: toInt(match[DATE]) * sign,
  35030. h: toInt(match[HOUR]) * sign,
  35031. m: toInt(match[MINUTE]) * sign,
  35032. s: toInt(match[SECOND]) * sign,
  35033. ms: toInt(absRound(match[MILLISECOND] * 1000)) * sign // the millisecond decimal point is included in the match
  35034. };
  35035. } else if (match = isoRegex.exec(input)) {
  35036. sign = match[1] === '-' ? -1 : 1;
  35037. duration = {
  35038. y: parseIso(match[2], sign),
  35039. M: parseIso(match[3], sign),
  35040. w: parseIso(match[4], sign),
  35041. d: parseIso(match[5], sign),
  35042. h: parseIso(match[6], sign),
  35043. m: parseIso(match[7], sign),
  35044. s: parseIso(match[8], sign)
  35045. };
  35046. } else if (duration == null) {
  35047. // checks for null or undefined
  35048. duration = {};
  35049. } else if (_typeof(duration) === 'object' && ('from' in duration || 'to' in duration)) {
  35050. diffRes = momentsDifference(createLocal(duration.from), createLocal(duration.to));
  35051. duration = {};
  35052. duration.ms = diffRes.milliseconds;
  35053. duration.M = diffRes.months;
  35054. }
  35055. ret = new Duration(duration);
  35056. if (isDuration(input) && hasOwnProp(input, '_locale')) {
  35057. ret._locale = input._locale;
  35058. }
  35059. if (isDuration(input) && hasOwnProp(input, '_isValid')) {
  35060. ret._isValid = input._isValid;
  35061. }
  35062. return ret;
  35063. }
  35064. createDuration.fn = Duration.prototype;
  35065. createDuration.invalid = createInvalid$1;
  35066. function parseIso(inp, sign) {
  35067. // We'd normally use ~~inp for this, but unfortunately it also
  35068. // converts floats to ints.
  35069. // inp may be undefined, so careful calling replace on it.
  35070. var res = inp && parseFloat(inp.replace(',', '.'));
  35071. // apply sign while we're at it
  35072. return (isNaN(res) ? 0 : res) * sign;
  35073. }
  35074. function positiveMomentsDifference(base, other) {
  35075. var res = {};
  35076. res.months = other.month() - base.month() + (other.year() - base.year()) * 12;
  35077. if (base.clone().add(res.months, 'M').isAfter(other)) {
  35078. --res.months;
  35079. }
  35080. res.milliseconds = +other - +base.clone().add(res.months, 'M');
  35081. return res;
  35082. }
  35083. function momentsDifference(base, other) {
  35084. var res;
  35085. if (!(base.isValid() && other.isValid())) {
  35086. return {
  35087. milliseconds: 0,
  35088. months: 0
  35089. };
  35090. }
  35091. other = cloneWithOffset(other, base);
  35092. if (base.isBefore(other)) {
  35093. res = positiveMomentsDifference(base, other);
  35094. } else {
  35095. res = positiveMomentsDifference(other, base);
  35096. res.milliseconds = -res.milliseconds;
  35097. res.months = -res.months;
  35098. }
  35099. return res;
  35100. }
  35101. // TODO: remove 'name' arg after deprecation is removed
  35102. function createAdder(direction, name) {
  35103. return function (val, period) {
  35104. var dur, tmp;
  35105. //invert the arguments, but complain about it
  35106. if (period !== null && !isNaN(+period)) {
  35107. deprecateSimple(name, 'moment().' + name + '(period, number) is deprecated. Please use moment().' + name + '(number, period). ' + 'See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info.');
  35108. tmp = val;
  35109. val = period;
  35110. period = tmp;
  35111. }
  35112. dur = createDuration(val, period);
  35113. addSubtract(this, dur, direction);
  35114. return this;
  35115. };
  35116. }
  35117. function addSubtract(mom, duration, isAdding, updateOffset) {
  35118. var milliseconds = duration._milliseconds,
  35119. days = absRound(duration._days),
  35120. months = absRound(duration._months);
  35121. if (!mom.isValid()) {
  35122. // No op
  35123. return;
  35124. }
  35125. updateOffset = updateOffset == null ? true : updateOffset;
  35126. if (months) {
  35127. setMonth(mom, get(mom, 'Month') + months * isAdding);
  35128. }
  35129. if (days) {
  35130. set$1(mom, 'Date', get(mom, 'Date') + days * isAdding);
  35131. }
  35132. if (milliseconds) {
  35133. mom._d.setTime(mom._d.valueOf() + milliseconds * isAdding);
  35134. }
  35135. if (updateOffset) {
  35136. hooks.updateOffset(mom, days || months);
  35137. }
  35138. }
  35139. var add = createAdder(1, 'add'),
  35140. subtract = createAdder(-1, 'subtract');
  35141. function isString(input) {
  35142. return typeof input === 'string' || input instanceof String;
  35143. }
  35144. // type MomentInput = Moment | Date | string | number | (number | string)[] | MomentInputObject | void; // null | undefined
  35145. function isMomentInput(input) {
  35146. return isMoment(input) || isDate(input) || isString(input) || isNumber(input) || isNumberOrStringArray(input) || isMomentInputObject(input) || input === null || input === undefined;
  35147. }
  35148. function isMomentInputObject(input) {
  35149. var objectTest = isObject(input) && !isObjectEmpty(input),
  35150. propertyTest = false,
  35151. properties = ['years', 'year', 'y', 'months', 'month', 'M', 'days', 'day', 'd', 'dates', 'date', 'D', 'hours', 'hour', 'h', 'minutes', 'minute', 'm', 'seconds', 'second', 's', 'milliseconds', 'millisecond', 'ms'],
  35152. i,
  35153. property;
  35154. for (i = 0; i < properties.length; i += 1) {
  35155. property = properties[i];
  35156. propertyTest = propertyTest || hasOwnProp(input, property);
  35157. }
  35158. return objectTest && propertyTest;
  35159. }
  35160. function isNumberOrStringArray(input) {
  35161. var arrayTest = isArray(input),
  35162. dataTypeTest = false;
  35163. if (arrayTest) {
  35164. dataTypeTest = input.filter(function (item) {
  35165. return !isNumber(item) && isString(input);
  35166. }).length === 0;
  35167. }
  35168. return arrayTest && dataTypeTest;
  35169. }
  35170. function isCalendarSpec(input) {
  35171. var objectTest = isObject(input) && !isObjectEmpty(input),
  35172. propertyTest = false,
  35173. properties = ['sameDay', 'nextDay', 'lastDay', 'nextWeek', 'lastWeek', 'sameElse'],
  35174. i,
  35175. property;
  35176. for (i = 0; i < properties.length; i += 1) {
  35177. property = properties[i];
  35178. propertyTest = propertyTest || hasOwnProp(input, property);
  35179. }
  35180. return objectTest && propertyTest;
  35181. }
  35182. function getCalendarFormat(myMoment, now) {
  35183. var diff = myMoment.diff(now, 'days', true);
  35184. return diff < -6 ? 'sameElse' : diff < -1 ? 'lastWeek' : diff < 0 ? 'lastDay' : diff < 1 ? 'sameDay' : diff < 2 ? 'nextDay' : diff < 7 ? 'nextWeek' : 'sameElse';
  35185. }
  35186. function calendar$1(time, formats) {
  35187. // Support for single parameter, formats only overload to the calendar function
  35188. if (arguments.length === 1) {
  35189. if (!arguments[0]) {
  35190. time = undefined;
  35191. formats = undefined;
  35192. } else if (isMomentInput(arguments[0])) {
  35193. time = arguments[0];
  35194. formats = undefined;
  35195. } else if (isCalendarSpec(arguments[0])) {
  35196. formats = arguments[0];
  35197. time = undefined;
  35198. }
  35199. }
  35200. // We want to compare the start of today, vs this.
  35201. // Getting start-of-today depends on whether we're local/utc/offset or not.
  35202. var now = time || createLocal(),
  35203. sod = cloneWithOffset(now, this).startOf('day'),
  35204. format = hooks.calendarFormat(this, sod) || 'sameElse',
  35205. output = formats && (isFunction(formats[format]) ? formats[format].call(this, now) : formats[format]);
  35206. return this.format(output || this.localeData().calendar(format, this, createLocal(now)));
  35207. }
  35208. function clone() {
  35209. return new Moment(this);
  35210. }
  35211. function isAfter(input, units) {
  35212. var localInput = isMoment(input) ? input : createLocal(input);
  35213. if (!(this.isValid() && localInput.isValid())) {
  35214. return false;
  35215. }
  35216. units = normalizeUnits(units) || 'millisecond';
  35217. if (units === 'millisecond') {
  35218. return this.valueOf() > localInput.valueOf();
  35219. } else {
  35220. return localInput.valueOf() < this.clone().startOf(units).valueOf();
  35221. }
  35222. }
  35223. function isBefore(input, units) {
  35224. var localInput = isMoment(input) ? input : createLocal(input);
  35225. if (!(this.isValid() && localInput.isValid())) {
  35226. return false;
  35227. }
  35228. units = normalizeUnits(units) || 'millisecond';
  35229. if (units === 'millisecond') {
  35230. return this.valueOf() < localInput.valueOf();
  35231. } else {
  35232. return this.clone().endOf(units).valueOf() < localInput.valueOf();
  35233. }
  35234. }
  35235. function isBetween(from, to, units, inclusivity) {
  35236. var localFrom = isMoment(from) ? from : createLocal(from),
  35237. localTo = isMoment(to) ? to : createLocal(to);
  35238. if (!(this.isValid() && localFrom.isValid() && localTo.isValid())) {
  35239. return false;
  35240. }
  35241. inclusivity = inclusivity || '()';
  35242. return (inclusivity[0] === '(' ? this.isAfter(localFrom, units) : !this.isBefore(localFrom, units)) && (inclusivity[1] === ')' ? this.isBefore(localTo, units) : !this.isAfter(localTo, units));
  35243. }
  35244. function isSame(input, units) {
  35245. var localInput = isMoment(input) ? input : createLocal(input),
  35246. inputMs;
  35247. if (!(this.isValid() && localInput.isValid())) {
  35248. return false;
  35249. }
  35250. units = normalizeUnits(units) || 'millisecond';
  35251. if (units === 'millisecond') {
  35252. return this.valueOf() === localInput.valueOf();
  35253. } else {
  35254. inputMs = localInput.valueOf();
  35255. return this.clone().startOf(units).valueOf() <= inputMs && inputMs <= this.clone().endOf(units).valueOf();
  35256. }
  35257. }
  35258. function isSameOrAfter(input, units) {
  35259. return this.isSame(input, units) || this.isAfter(input, units);
  35260. }
  35261. function isSameOrBefore(input, units) {
  35262. return this.isSame(input, units) || this.isBefore(input, units);
  35263. }
  35264. function diff(input, units, asFloat) {
  35265. var that, zoneDelta, output;
  35266. if (!this.isValid()) {
  35267. return NaN;
  35268. }
  35269. that = cloneWithOffset(input, this);
  35270. if (!that.isValid()) {
  35271. return NaN;
  35272. }
  35273. zoneDelta = (that.utcOffset() - this.utcOffset()) * 6e4;
  35274. units = normalizeUnits(units);
  35275. switch (units) {
  35276. case 'year':
  35277. output = monthDiff(this, that) / 12;
  35278. break;
  35279. case 'month':
  35280. output = monthDiff(this, that);
  35281. break;
  35282. case 'quarter':
  35283. output = monthDiff(this, that) / 3;
  35284. break;
  35285. case 'second':
  35286. output = (this - that) / 1e3;
  35287. break;
  35288. // 1000
  35289. case 'minute':
  35290. output = (this - that) / 6e4;
  35291. break;
  35292. // 1000 * 60
  35293. case 'hour':
  35294. output = (this - that) / 36e5;
  35295. break;
  35296. // 1000 * 60 * 60
  35297. case 'day':
  35298. output = (this - that - zoneDelta) / 864e5;
  35299. break;
  35300. // 1000 * 60 * 60 * 24, negate dst
  35301. case 'week':
  35302. output = (this - that - zoneDelta) / 6048e5;
  35303. break;
  35304. // 1000 * 60 * 60 * 24 * 7, negate dst
  35305. default:
  35306. output = this - that;
  35307. }
  35308. return asFloat ? output : absFloor(output);
  35309. }
  35310. function monthDiff(a, b) {
  35311. if (a.date() < b.date()) {
  35312. // end-of-month calculations work correct when the start month has more
  35313. // days than the end month.
  35314. return -monthDiff(b, a);
  35315. }
  35316. // difference in months
  35317. var wholeMonthDiff = (b.year() - a.year()) * 12 + (b.month() - a.month()),
  35318. // b is in (anchor - 1 month, anchor + 1 month)
  35319. anchor = a.clone().add(wholeMonthDiff, 'months'),
  35320. anchor2,
  35321. adjust;
  35322. if (b - anchor < 0) {
  35323. anchor2 = a.clone().add(wholeMonthDiff - 1, 'months');
  35324. // linear across the month
  35325. adjust = (b - anchor) / (anchor - anchor2);
  35326. } else {
  35327. anchor2 = a.clone().add(wholeMonthDiff + 1, 'months');
  35328. // linear across the month
  35329. adjust = (b - anchor) / (anchor2 - anchor);
  35330. }
  35331. //check for negative zero, return zero if negative zero
  35332. return -(wholeMonthDiff + adjust) || 0;
  35333. }
  35334. hooks.defaultFormat = 'YYYY-MM-DDTHH:mm:ssZ';
  35335. hooks.defaultFormatUtc = 'YYYY-MM-DDTHH:mm:ss[Z]';
  35336. function toString() {
  35337. return this.clone().locale('en').format('ddd MMM DD YYYY HH:mm:ss [GMT]ZZ');
  35338. }
  35339. function toISOString(keepOffset) {
  35340. if (!this.isValid()) {
  35341. return null;
  35342. }
  35343. var utc = keepOffset !== true,
  35344. m = utc ? this.clone().utc() : this;
  35345. if (m.year() < 0 || m.year() > 9999) {
  35346. return formatMoment(m, utc ? 'YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]' : 'YYYYYY-MM-DD[T]HH:mm:ss.SSSZ');
  35347. }
  35348. if (isFunction(Date.prototype.toISOString)) {
  35349. // native implementation is ~50x faster, use it when we can
  35350. if (utc) {
  35351. return this.toDate().toISOString();
  35352. } else {
  35353. return new Date(this.valueOf() + this.utcOffset() * 60 * 1000).toISOString().replace('Z', formatMoment(m, 'Z'));
  35354. }
  35355. }
  35356. return formatMoment(m, utc ? 'YYYY-MM-DD[T]HH:mm:ss.SSS[Z]' : 'YYYY-MM-DD[T]HH:mm:ss.SSSZ');
  35357. }
  35358. /**
  35359. * Return a human readable representation of a moment that can
  35360. * also be evaluated to get a new moment which is the same
  35361. *
  35362. * @link https://nodejs.org/dist/latest/docs/api/util.html#util_custom_inspect_function_on_objects
  35363. */
  35364. function inspect() {
  35365. if (!this.isValid()) {
  35366. return 'moment.invalid(/* ' + this._i + ' */)';
  35367. }
  35368. var func = 'moment',
  35369. zone = '',
  35370. prefix,
  35371. year,
  35372. datetime,
  35373. suffix;
  35374. if (!this.isLocal()) {
  35375. func = this.utcOffset() === 0 ? 'moment.utc' : 'moment.parseZone';
  35376. zone = 'Z';
  35377. }
  35378. prefix = '[' + func + '("]';
  35379. year = 0 <= this.year() && this.year() <= 9999 ? 'YYYY' : 'YYYYYY';
  35380. datetime = '-MM-DD[T]HH:mm:ss.SSS';
  35381. suffix = zone + '[")]';
  35382. return this.format(prefix + year + datetime + suffix);
  35383. }
  35384. function format(inputString) {
  35385. if (!inputString) {
  35386. inputString = this.isUtc() ? hooks.defaultFormatUtc : hooks.defaultFormat;
  35387. }
  35388. var output = formatMoment(this, inputString);
  35389. return this.localeData().postformat(output);
  35390. }
  35391. function from(time, withoutSuffix) {
  35392. if (this.isValid() && (isMoment(time) && time.isValid() || createLocal(time).isValid())) {
  35393. return createDuration({
  35394. to: this,
  35395. from: time
  35396. }).locale(this.locale()).humanize(!withoutSuffix);
  35397. } else {
  35398. return this.localeData().invalidDate();
  35399. }
  35400. }
  35401. function fromNow(withoutSuffix) {
  35402. return this.from(createLocal(), withoutSuffix);
  35403. }
  35404. function to(time, withoutSuffix) {
  35405. if (this.isValid() && (isMoment(time) && time.isValid() || createLocal(time).isValid())) {
  35406. return createDuration({
  35407. from: this,
  35408. to: time
  35409. }).locale(this.locale()).humanize(!withoutSuffix);
  35410. } else {
  35411. return this.localeData().invalidDate();
  35412. }
  35413. }
  35414. function toNow(withoutSuffix) {
  35415. return this.to(createLocal(), withoutSuffix);
  35416. }
  35417. // If passed a locale key, it will set the locale for this
  35418. // instance. Otherwise, it will return the locale configuration
  35419. // variables for this instance.
  35420. function locale(key) {
  35421. var newLocaleData;
  35422. if (key === undefined) {
  35423. return this._locale._abbr;
  35424. } else {
  35425. newLocaleData = getLocale(key);
  35426. if (newLocaleData != null) {
  35427. this._locale = newLocaleData;
  35428. }
  35429. return this;
  35430. }
  35431. }
  35432. var lang = deprecate('moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.', function (key) {
  35433. if (key === undefined) {
  35434. return this.localeData();
  35435. } else {
  35436. return this.locale(key);
  35437. }
  35438. });
  35439. function localeData() {
  35440. return this._locale;
  35441. }
  35442. var MS_PER_SECOND = 1000,
  35443. MS_PER_MINUTE = 60 * MS_PER_SECOND,
  35444. MS_PER_HOUR = 60 * MS_PER_MINUTE,
  35445. MS_PER_400_YEARS = (365 * 400 + 97) * 24 * MS_PER_HOUR;
  35446. // actual modulo - handles negative numbers (for dates before 1970):
  35447. function mod$1(dividend, divisor) {
  35448. return (dividend % divisor + divisor) % divisor;
  35449. }
  35450. function localStartOfDate(y, m, d) {
  35451. // the date constructor remaps years 0-99 to 1900-1999
  35452. if (y < 100 && y >= 0) {
  35453. // preserve leap years using a full 400 year cycle, then reset
  35454. return new Date(y + 400, m, d) - MS_PER_400_YEARS;
  35455. } else {
  35456. return new Date(y, m, d).valueOf();
  35457. }
  35458. }
  35459. function utcStartOfDate(y, m, d) {
  35460. // Date.UTC remaps years 0-99 to 1900-1999
  35461. if (y < 100 && y >= 0) {
  35462. // preserve leap years using a full 400 year cycle, then reset
  35463. return Date.UTC(y + 400, m, d) - MS_PER_400_YEARS;
  35464. } else {
  35465. return Date.UTC(y, m, d);
  35466. }
  35467. }
  35468. function startOf(units) {
  35469. var time, startOfDate;
  35470. units = normalizeUnits(units);
  35471. if (units === undefined || units === 'millisecond' || !this.isValid()) {
  35472. return this;
  35473. }
  35474. startOfDate = this._isUTC ? utcStartOfDate : localStartOfDate;
  35475. switch (units) {
  35476. case 'year':
  35477. time = startOfDate(this.year(), 0, 1);
  35478. break;
  35479. case 'quarter':
  35480. time = startOfDate(this.year(), this.month() - this.month() % 3, 1);
  35481. break;
  35482. case 'month':
  35483. time = startOfDate(this.year(), this.month(), 1);
  35484. break;
  35485. case 'week':
  35486. time = startOfDate(this.year(), this.month(), this.date() - this.weekday());
  35487. break;
  35488. case 'isoWeek':
  35489. time = startOfDate(this.year(), this.month(), this.date() - (this.isoWeekday() - 1));
  35490. break;
  35491. case 'day':
  35492. case 'date':
  35493. time = startOfDate(this.year(), this.month(), this.date());
  35494. break;
  35495. case 'hour':
  35496. time = this._d.valueOf();
  35497. time -= mod$1(time + (this._isUTC ? 0 : this.utcOffset() * MS_PER_MINUTE), MS_PER_HOUR);
  35498. break;
  35499. case 'minute':
  35500. time = this._d.valueOf();
  35501. time -= mod$1(time, MS_PER_MINUTE);
  35502. break;
  35503. case 'second':
  35504. time = this._d.valueOf();
  35505. time -= mod$1(time, MS_PER_SECOND);
  35506. break;
  35507. }
  35508. this._d.setTime(time);
  35509. hooks.updateOffset(this, true);
  35510. return this;
  35511. }
  35512. function endOf(units) {
  35513. var time, startOfDate;
  35514. units = normalizeUnits(units);
  35515. if (units === undefined || units === 'millisecond' || !this.isValid()) {
  35516. return this;
  35517. }
  35518. startOfDate = this._isUTC ? utcStartOfDate : localStartOfDate;
  35519. switch (units) {
  35520. case 'year':
  35521. time = startOfDate(this.year() + 1, 0, 1) - 1;
  35522. break;
  35523. case 'quarter':
  35524. time = startOfDate(this.year(), this.month() - this.month() % 3 + 3, 1) - 1;
  35525. break;
  35526. case 'month':
  35527. time = startOfDate(this.year(), this.month() + 1, 1) - 1;
  35528. break;
  35529. case 'week':
  35530. time = startOfDate(this.year(), this.month(), this.date() - this.weekday() + 7) - 1;
  35531. break;
  35532. case 'isoWeek':
  35533. time = startOfDate(this.year(), this.month(), this.date() - (this.isoWeekday() - 1) + 7) - 1;
  35534. break;
  35535. case 'day':
  35536. case 'date':
  35537. time = startOfDate(this.year(), this.month(), this.date() + 1) - 1;
  35538. break;
  35539. case 'hour':
  35540. time = this._d.valueOf();
  35541. time += MS_PER_HOUR - mod$1(time + (this._isUTC ? 0 : this.utcOffset() * MS_PER_MINUTE), MS_PER_HOUR) - 1;
  35542. break;
  35543. case 'minute':
  35544. time = this._d.valueOf();
  35545. time += MS_PER_MINUTE - mod$1(time, MS_PER_MINUTE) - 1;
  35546. break;
  35547. case 'second':
  35548. time = this._d.valueOf();
  35549. time += MS_PER_SECOND - mod$1(time, MS_PER_SECOND) - 1;
  35550. break;
  35551. }
  35552. this._d.setTime(time);
  35553. hooks.updateOffset(this, true);
  35554. return this;
  35555. }
  35556. function valueOf() {
  35557. return this._d.valueOf() - (this._offset || 0) * 60000;
  35558. }
  35559. function unix() {
  35560. return Math.floor(this.valueOf() / 1000);
  35561. }
  35562. function toDate() {
  35563. return new Date(this.valueOf());
  35564. }
  35565. function toArray() {
  35566. var m = this;
  35567. return [m.year(), m.month(), m.date(), m.hour(), m.minute(), m.second(), m.millisecond()];
  35568. }
  35569. function toObject() {
  35570. var m = this;
  35571. return {
  35572. years: m.year(),
  35573. months: m.month(),
  35574. date: m.date(),
  35575. hours: m.hours(),
  35576. minutes: m.minutes(),
  35577. seconds: m.seconds(),
  35578. milliseconds: m.milliseconds()
  35579. };
  35580. }
  35581. function toJSON() {
  35582. // new Date(NaN).toJSON() === null
  35583. return this.isValid() ? this.toISOString() : null;
  35584. }
  35585. function isValid$2() {
  35586. return isValid(this);
  35587. }
  35588. function parsingFlags() {
  35589. return extend({}, getParsingFlags(this));
  35590. }
  35591. function invalidAt() {
  35592. return getParsingFlags(this).overflow;
  35593. }
  35594. function creationData() {
  35595. return {
  35596. input: this._i,
  35597. format: this._f,
  35598. locale: this._locale,
  35599. isUTC: this._isUTC,
  35600. strict: this._strict
  35601. };
  35602. }
  35603. addFormatToken('N', 0, 0, 'eraAbbr');
  35604. addFormatToken('NN', 0, 0, 'eraAbbr');
  35605. addFormatToken('NNN', 0, 0, 'eraAbbr');
  35606. addFormatToken('NNNN', 0, 0, 'eraName');
  35607. addFormatToken('NNNNN', 0, 0, 'eraNarrow');
  35608. addFormatToken('y', ['y', 1], 'yo', 'eraYear');
  35609. addFormatToken('y', ['yy', 2], 0, 'eraYear');
  35610. addFormatToken('y', ['yyy', 3], 0, 'eraYear');
  35611. addFormatToken('y', ['yyyy', 4], 0, 'eraYear');
  35612. addRegexToken('N', matchEraAbbr);
  35613. addRegexToken('NN', matchEraAbbr);
  35614. addRegexToken('NNN', matchEraAbbr);
  35615. addRegexToken('NNNN', matchEraName);
  35616. addRegexToken('NNNNN', matchEraNarrow);
  35617. addParseToken(['N', 'NN', 'NNN', 'NNNN', 'NNNNN'], function (input, array, config, token) {
  35618. var era = config._locale.erasParse(input, token, config._strict);
  35619. if (era) {
  35620. getParsingFlags(config).era = era;
  35621. } else {
  35622. getParsingFlags(config).invalidEra = input;
  35623. }
  35624. });
  35625. addRegexToken('y', matchUnsigned);
  35626. addRegexToken('yy', matchUnsigned);
  35627. addRegexToken('yyy', matchUnsigned);
  35628. addRegexToken('yyyy', matchUnsigned);
  35629. addRegexToken('yo', matchEraYearOrdinal);
  35630. addParseToken(['y', 'yy', 'yyy', 'yyyy'], YEAR);
  35631. addParseToken(['yo'], function (input, array, config, token) {
  35632. var match;
  35633. if (config._locale._eraYearOrdinalRegex) {
  35634. match = input.match(config._locale._eraYearOrdinalRegex);
  35635. }
  35636. if (config._locale.eraYearOrdinalParse) {
  35637. array[YEAR] = config._locale.eraYearOrdinalParse(input, match);
  35638. } else {
  35639. array[YEAR] = parseInt(input, 10);
  35640. }
  35641. });
  35642. function localeEras(m, format) {
  35643. var i,
  35644. l,
  35645. date,
  35646. eras = this._eras || getLocale('en')._eras;
  35647. for (i = 0, l = eras.length; i < l; ++i) {
  35648. switch (_typeof(eras[i].since)) {
  35649. case 'string':
  35650. // truncate time
  35651. date = hooks(eras[i].since).startOf('day');
  35652. eras[i].since = date.valueOf();
  35653. break;
  35654. }
  35655. switch (_typeof(eras[i].until)) {
  35656. case 'undefined':
  35657. eras[i].until = +Infinity;
  35658. break;
  35659. case 'string':
  35660. // truncate time
  35661. date = hooks(eras[i].until).startOf('day').valueOf();
  35662. eras[i].until = date.valueOf();
  35663. break;
  35664. }
  35665. }
  35666. return eras;
  35667. }
  35668. function localeErasParse(eraName, format, strict) {
  35669. var i,
  35670. l,
  35671. eras = this.eras(),
  35672. name,
  35673. abbr,
  35674. narrow;
  35675. eraName = eraName.toUpperCase();
  35676. for (i = 0, l = eras.length; i < l; ++i) {
  35677. name = eras[i].name.toUpperCase();
  35678. abbr = eras[i].abbr.toUpperCase();
  35679. narrow = eras[i].narrow.toUpperCase();
  35680. if (strict) {
  35681. switch (format) {
  35682. case 'N':
  35683. case 'NN':
  35684. case 'NNN':
  35685. if (abbr === eraName) {
  35686. return eras[i];
  35687. }
  35688. break;
  35689. case 'NNNN':
  35690. if (name === eraName) {
  35691. return eras[i];
  35692. }
  35693. break;
  35694. case 'NNNNN':
  35695. if (narrow === eraName) {
  35696. return eras[i];
  35697. }
  35698. break;
  35699. }
  35700. } else if ([name, abbr, narrow].indexOf(eraName) >= 0) {
  35701. return eras[i];
  35702. }
  35703. }
  35704. }
  35705. function localeErasConvertYear(era, year) {
  35706. var dir = era.since <= era.until ? +1 : -1;
  35707. if (year === undefined) {
  35708. return hooks(era.since).year();
  35709. } else {
  35710. return hooks(era.since).year() + (year - era.offset) * dir;
  35711. }
  35712. }
  35713. function getEraName() {
  35714. var i,
  35715. l,
  35716. val,
  35717. eras = this.localeData().eras();
  35718. for (i = 0, l = eras.length; i < l; ++i) {
  35719. // truncate time
  35720. val = this.clone().startOf('day').valueOf();
  35721. if (eras[i].since <= val && val <= eras[i].until) {
  35722. return eras[i].name;
  35723. }
  35724. if (eras[i].until <= val && val <= eras[i].since) {
  35725. return eras[i].name;
  35726. }
  35727. }
  35728. return '';
  35729. }
  35730. function getEraNarrow() {
  35731. var i,
  35732. l,
  35733. val,
  35734. eras = this.localeData().eras();
  35735. for (i = 0, l = eras.length; i < l; ++i) {
  35736. // truncate time
  35737. val = this.clone().startOf('day').valueOf();
  35738. if (eras[i].since <= val && val <= eras[i].until) {
  35739. return eras[i].narrow;
  35740. }
  35741. if (eras[i].until <= val && val <= eras[i].since) {
  35742. return eras[i].narrow;
  35743. }
  35744. }
  35745. return '';
  35746. }
  35747. function getEraAbbr() {
  35748. var i,
  35749. l,
  35750. val,
  35751. eras = this.localeData().eras();
  35752. for (i = 0, l = eras.length; i < l; ++i) {
  35753. // truncate time
  35754. val = this.clone().startOf('day').valueOf();
  35755. if (eras[i].since <= val && val <= eras[i].until) {
  35756. return eras[i].abbr;
  35757. }
  35758. if (eras[i].until <= val && val <= eras[i].since) {
  35759. return eras[i].abbr;
  35760. }
  35761. }
  35762. return '';
  35763. }
  35764. function getEraYear() {
  35765. var i,
  35766. l,
  35767. dir,
  35768. val,
  35769. eras = this.localeData().eras();
  35770. for (i = 0, l = eras.length; i < l; ++i) {
  35771. dir = eras[i].since <= eras[i].until ? +1 : -1;
  35772. // truncate time
  35773. val = this.clone().startOf('day').valueOf();
  35774. if (eras[i].since <= val && val <= eras[i].until || eras[i].until <= val && val <= eras[i].since) {
  35775. return (this.year() - hooks(eras[i].since).year()) * dir + eras[i].offset;
  35776. }
  35777. }
  35778. return this.year();
  35779. }
  35780. function erasNameRegex(isStrict) {
  35781. if (!hasOwnProp(this, '_erasNameRegex')) {
  35782. computeErasParse.call(this);
  35783. }
  35784. return isStrict ? this._erasNameRegex : this._erasRegex;
  35785. }
  35786. function erasAbbrRegex(isStrict) {
  35787. if (!hasOwnProp(this, '_erasAbbrRegex')) {
  35788. computeErasParse.call(this);
  35789. }
  35790. return isStrict ? this._erasAbbrRegex : this._erasRegex;
  35791. }
  35792. function erasNarrowRegex(isStrict) {
  35793. if (!hasOwnProp(this, '_erasNarrowRegex')) {
  35794. computeErasParse.call(this);
  35795. }
  35796. return isStrict ? this._erasNarrowRegex : this._erasRegex;
  35797. }
  35798. function matchEraAbbr(isStrict, locale) {
  35799. return locale.erasAbbrRegex(isStrict);
  35800. }
  35801. function matchEraName(isStrict, locale) {
  35802. return locale.erasNameRegex(isStrict);
  35803. }
  35804. function matchEraNarrow(isStrict, locale) {
  35805. return locale.erasNarrowRegex(isStrict);
  35806. }
  35807. function matchEraYearOrdinal(isStrict, locale) {
  35808. return locale._eraYearOrdinalRegex || matchUnsigned;
  35809. }
  35810. function computeErasParse() {
  35811. var abbrPieces = [],
  35812. namePieces = [],
  35813. narrowPieces = [],
  35814. mixedPieces = [],
  35815. i,
  35816. l,
  35817. eras = this.eras();
  35818. for (i = 0, l = eras.length; i < l; ++i) {
  35819. namePieces.push(regexEscape(eras[i].name));
  35820. abbrPieces.push(regexEscape(eras[i].abbr));
  35821. narrowPieces.push(regexEscape(eras[i].narrow));
  35822. mixedPieces.push(regexEscape(eras[i].name));
  35823. mixedPieces.push(regexEscape(eras[i].abbr));
  35824. mixedPieces.push(regexEscape(eras[i].narrow));
  35825. }
  35826. this._erasRegex = new RegExp('^(' + mixedPieces.join('|') + ')', 'i');
  35827. this._erasNameRegex = new RegExp('^(' + namePieces.join('|') + ')', 'i');
  35828. this._erasAbbrRegex = new RegExp('^(' + abbrPieces.join('|') + ')', 'i');
  35829. this._erasNarrowRegex = new RegExp('^(' + narrowPieces.join('|') + ')', 'i');
  35830. }
  35831. // FORMATTING
  35832. addFormatToken(0, ['gg', 2], 0, function () {
  35833. return this.weekYear() % 100;
  35834. });
  35835. addFormatToken(0, ['GG', 2], 0, function () {
  35836. return this.isoWeekYear() % 100;
  35837. });
  35838. function addWeekYearFormatToken(token, getter) {
  35839. addFormatToken(0, [token, token.length], 0, getter);
  35840. }
  35841. addWeekYearFormatToken('gggg', 'weekYear');
  35842. addWeekYearFormatToken('ggggg', 'weekYear');
  35843. addWeekYearFormatToken('GGGG', 'isoWeekYear');
  35844. addWeekYearFormatToken('GGGGG', 'isoWeekYear');
  35845. // ALIASES
  35846. addUnitAlias('weekYear', 'gg');
  35847. addUnitAlias('isoWeekYear', 'GG');
  35848. // PRIORITY
  35849. addUnitPriority('weekYear', 1);
  35850. addUnitPriority('isoWeekYear', 1);
  35851. // PARSING
  35852. addRegexToken('G', matchSigned);
  35853. addRegexToken('g', matchSigned);
  35854. addRegexToken('GG', match1to2, match2);
  35855. addRegexToken('gg', match1to2, match2);
  35856. addRegexToken('GGGG', match1to4, match4);
  35857. addRegexToken('gggg', match1to4, match4);
  35858. addRegexToken('GGGGG', match1to6, match6);
  35859. addRegexToken('ggggg', match1to6, match6);
  35860. addWeekParseToken(['gggg', 'ggggg', 'GGGG', 'GGGGG'], function (input, week, config, token) {
  35861. week[token.substr(0, 2)] = toInt(input);
  35862. });
  35863. addWeekParseToken(['gg', 'GG'], function (input, week, config, token) {
  35864. week[token] = hooks.parseTwoDigitYear(input);
  35865. });
  35866. // MOMENTS
  35867. function getSetWeekYear(input) {
  35868. return getSetWeekYearHelper.call(this, input, this.week(), this.weekday(), this.localeData()._week.dow, this.localeData()._week.doy);
  35869. }
  35870. function getSetISOWeekYear(input) {
  35871. return getSetWeekYearHelper.call(this, input, this.isoWeek(), this.isoWeekday(), 1, 4);
  35872. }
  35873. function getISOWeeksInYear() {
  35874. return weeksInYear(this.year(), 1, 4);
  35875. }
  35876. function getISOWeeksInISOWeekYear() {
  35877. return weeksInYear(this.isoWeekYear(), 1, 4);
  35878. }
  35879. function getWeeksInYear() {
  35880. var weekInfo = this.localeData()._week;
  35881. return weeksInYear(this.year(), weekInfo.dow, weekInfo.doy);
  35882. }
  35883. function getWeeksInWeekYear() {
  35884. var weekInfo = this.localeData()._week;
  35885. return weeksInYear(this.weekYear(), weekInfo.dow, weekInfo.doy);
  35886. }
  35887. function getSetWeekYearHelper(input, week, weekday, dow, doy) {
  35888. var weeksTarget;
  35889. if (input == null) {
  35890. return weekOfYear(this, dow, doy).year;
  35891. } else {
  35892. weeksTarget = weeksInYear(input, dow, doy);
  35893. if (week > weeksTarget) {
  35894. week = weeksTarget;
  35895. }
  35896. return setWeekAll.call(this, input, week, weekday, dow, doy);
  35897. }
  35898. }
  35899. function setWeekAll(weekYear, week, weekday, dow, doy) {
  35900. var dayOfYearData = dayOfYearFromWeeks(weekYear, week, weekday, dow, doy),
  35901. date = createUTCDate(dayOfYearData.year, 0, dayOfYearData.dayOfYear);
  35902. this.year(date.getUTCFullYear());
  35903. this.month(date.getUTCMonth());
  35904. this.date(date.getUTCDate());
  35905. return this;
  35906. }
  35907. // FORMATTING
  35908. addFormatToken('Q', 0, 'Qo', 'quarter');
  35909. // ALIASES
  35910. addUnitAlias('quarter', 'Q');
  35911. // PRIORITY
  35912. addUnitPriority('quarter', 7);
  35913. // PARSING
  35914. addRegexToken('Q', match1);
  35915. addParseToken('Q', function (input, array) {
  35916. array[MONTH] = (toInt(input) - 1) * 3;
  35917. });
  35918. // MOMENTS
  35919. function getSetQuarter(input) {
  35920. return input == null ? Math.ceil((this.month() + 1) / 3) : this.month((input - 1) * 3 + this.month() % 3);
  35921. }
  35922. // FORMATTING
  35923. addFormatToken('D', ['DD', 2], 'Do', 'date');
  35924. // ALIASES
  35925. addUnitAlias('date', 'D');
  35926. // PRIORITY
  35927. addUnitPriority('date', 9);
  35928. // PARSING
  35929. addRegexToken('D', match1to2);
  35930. addRegexToken('DD', match1to2, match2);
  35931. addRegexToken('Do', function (isStrict, locale) {
  35932. // TODO: Remove "ordinalParse" fallback in next major release.
  35933. return isStrict ? locale._dayOfMonthOrdinalParse || locale._ordinalParse : locale._dayOfMonthOrdinalParseLenient;
  35934. });
  35935. addParseToken(['D', 'DD'], DATE);
  35936. addParseToken('Do', function (input, array) {
  35937. array[DATE] = toInt(input.match(match1to2)[0]);
  35938. });
  35939. // MOMENTS
  35940. var getSetDayOfMonth = makeGetSet('Date', true);
  35941. // FORMATTING
  35942. addFormatToken('DDD', ['DDDD', 3], 'DDDo', 'dayOfYear');
  35943. // ALIASES
  35944. addUnitAlias('dayOfYear', 'DDD');
  35945. // PRIORITY
  35946. addUnitPriority('dayOfYear', 4);
  35947. // PARSING
  35948. addRegexToken('DDD', match1to3);
  35949. addRegexToken('DDDD', match3);
  35950. addParseToken(['DDD', 'DDDD'], function (input, array, config) {
  35951. config._dayOfYear = toInt(input);
  35952. });
  35953. // HELPERS
  35954. // MOMENTS
  35955. function getSetDayOfYear(input) {
  35956. var dayOfYear = Math.round((this.clone().startOf('day') - this.clone().startOf('year')) / 864e5) + 1;
  35957. return input == null ? dayOfYear : this.add(input - dayOfYear, 'd');
  35958. }
  35959. // FORMATTING
  35960. addFormatToken('m', ['mm', 2], 0, 'minute');
  35961. // ALIASES
  35962. addUnitAlias('minute', 'm');
  35963. // PRIORITY
  35964. addUnitPriority('minute', 14);
  35965. // PARSING
  35966. addRegexToken('m', match1to2);
  35967. addRegexToken('mm', match1to2, match2);
  35968. addParseToken(['m', 'mm'], MINUTE);
  35969. // MOMENTS
  35970. var getSetMinute = makeGetSet('Minutes', false);
  35971. // FORMATTING
  35972. addFormatToken('s', ['ss', 2], 0, 'second');
  35973. // ALIASES
  35974. addUnitAlias('second', 's');
  35975. // PRIORITY
  35976. addUnitPriority('second', 15);
  35977. // PARSING
  35978. addRegexToken('s', match1to2);
  35979. addRegexToken('ss', match1to2, match2);
  35980. addParseToken(['s', 'ss'], SECOND);
  35981. // MOMENTS
  35982. var getSetSecond = makeGetSet('Seconds', false);
  35983. // FORMATTING
  35984. addFormatToken('S', 0, 0, function () {
  35985. return ~~(this.millisecond() / 100);
  35986. });
  35987. addFormatToken(0, ['SS', 2], 0, function () {
  35988. return ~~(this.millisecond() / 10);
  35989. });
  35990. addFormatToken(0, ['SSS', 3], 0, 'millisecond');
  35991. addFormatToken(0, ['SSSS', 4], 0, function () {
  35992. return this.millisecond() * 10;
  35993. });
  35994. addFormatToken(0, ['SSSSS', 5], 0, function () {
  35995. return this.millisecond() * 100;
  35996. });
  35997. addFormatToken(0, ['SSSSSS', 6], 0, function () {
  35998. return this.millisecond() * 1000;
  35999. });
  36000. addFormatToken(0, ['SSSSSSS', 7], 0, function () {
  36001. return this.millisecond() * 10000;
  36002. });
  36003. addFormatToken(0, ['SSSSSSSS', 8], 0, function () {
  36004. return this.millisecond() * 100000;
  36005. });
  36006. addFormatToken(0, ['SSSSSSSSS', 9], 0, function () {
  36007. return this.millisecond() * 1000000;
  36008. });
  36009. // ALIASES
  36010. addUnitAlias('millisecond', 'ms');
  36011. // PRIORITY
  36012. addUnitPriority('millisecond', 16);
  36013. // PARSING
  36014. addRegexToken('S', match1to3, match1);
  36015. addRegexToken('SS', match1to3, match2);
  36016. addRegexToken('SSS', match1to3, match3);
  36017. var token, getSetMillisecond;
  36018. for (token = 'SSSS'; token.length <= 9; token += 'S') {
  36019. addRegexToken(token, matchUnsigned);
  36020. }
  36021. function parseMs(input, array) {
  36022. array[MILLISECOND] = toInt(('0.' + input) * 1000);
  36023. }
  36024. for (token = 'S'; token.length <= 9; token += 'S') {
  36025. addParseToken(token, parseMs);
  36026. }
  36027. getSetMillisecond = makeGetSet('Milliseconds', false);
  36028. // FORMATTING
  36029. addFormatToken('z', 0, 0, 'zoneAbbr');
  36030. addFormatToken('zz', 0, 0, 'zoneName');
  36031. // MOMENTS
  36032. function getZoneAbbr() {
  36033. return this._isUTC ? 'UTC' : '';
  36034. }
  36035. function getZoneName() {
  36036. return this._isUTC ? 'Coordinated Universal Time' : '';
  36037. }
  36038. var proto = Moment.prototype;
  36039. proto.add = add;
  36040. proto.calendar = calendar$1;
  36041. proto.clone = clone;
  36042. proto.diff = diff;
  36043. proto.endOf = endOf;
  36044. proto.format = format;
  36045. proto.from = from;
  36046. proto.fromNow = fromNow;
  36047. proto.to = to;
  36048. proto.toNow = toNow;
  36049. proto.get = stringGet;
  36050. proto.invalidAt = invalidAt;
  36051. proto.isAfter = isAfter;
  36052. proto.isBefore = isBefore;
  36053. proto.isBetween = isBetween;
  36054. proto.isSame = isSame;
  36055. proto.isSameOrAfter = isSameOrAfter;
  36056. proto.isSameOrBefore = isSameOrBefore;
  36057. proto.isValid = isValid$2;
  36058. proto.lang = lang;
  36059. proto.locale = locale;
  36060. proto.localeData = localeData;
  36061. proto.max = prototypeMax;
  36062. proto.min = prototypeMin;
  36063. proto.parsingFlags = parsingFlags;
  36064. proto.set = stringSet;
  36065. proto.startOf = startOf;
  36066. proto.subtract = subtract;
  36067. proto.toArray = toArray;
  36068. proto.toObject = toObject;
  36069. proto.toDate = toDate;
  36070. proto.toISOString = toISOString;
  36071. proto.inspect = inspect;
  36072. if (typeof Symbol !== 'undefined' && Symbol.for != null) {
  36073. proto[Symbol.for('nodejs.util.inspect.custom')] = function () {
  36074. return 'Moment<' + this.format() + '>';
  36075. };
  36076. }
  36077. proto.toJSON = toJSON;
  36078. proto.toString = toString;
  36079. proto.unix = unix;
  36080. proto.valueOf = valueOf;
  36081. proto.creationData = creationData;
  36082. proto.eraName = getEraName;
  36083. proto.eraNarrow = getEraNarrow;
  36084. proto.eraAbbr = getEraAbbr;
  36085. proto.eraYear = getEraYear;
  36086. proto.year = getSetYear;
  36087. proto.isLeapYear = getIsLeapYear;
  36088. proto.weekYear = getSetWeekYear;
  36089. proto.isoWeekYear = getSetISOWeekYear;
  36090. proto.quarter = proto.quarters = getSetQuarter;
  36091. proto.month = getSetMonth;
  36092. proto.daysInMonth = getDaysInMonth;
  36093. proto.week = proto.weeks = getSetWeek;
  36094. proto.isoWeek = proto.isoWeeks = getSetISOWeek;
  36095. proto.weeksInYear = getWeeksInYear;
  36096. proto.weeksInWeekYear = getWeeksInWeekYear;
  36097. proto.isoWeeksInYear = getISOWeeksInYear;
  36098. proto.isoWeeksInISOWeekYear = getISOWeeksInISOWeekYear;
  36099. proto.date = getSetDayOfMonth;
  36100. proto.day = proto.days = getSetDayOfWeek;
  36101. proto.weekday = getSetLocaleDayOfWeek;
  36102. proto.isoWeekday = getSetISODayOfWeek;
  36103. proto.dayOfYear = getSetDayOfYear;
  36104. proto.hour = proto.hours = getSetHour;
  36105. proto.minute = proto.minutes = getSetMinute;
  36106. proto.second = proto.seconds = getSetSecond;
  36107. proto.millisecond = proto.milliseconds = getSetMillisecond;
  36108. proto.utcOffset = getSetOffset;
  36109. proto.utc = setOffsetToUTC;
  36110. proto.local = setOffsetToLocal;
  36111. proto.parseZone = setOffsetToParsedOffset;
  36112. proto.hasAlignedHourOffset = hasAlignedHourOffset;
  36113. proto.isDST = isDaylightSavingTime;
  36114. proto.isLocal = isLocal;
  36115. proto.isUtcOffset = isUtcOffset;
  36116. proto.isUtc = isUtc;
  36117. proto.isUTC = isUtc;
  36118. proto.zoneAbbr = getZoneAbbr;
  36119. proto.zoneName = getZoneName;
  36120. proto.dates = deprecate('dates accessor is deprecated. Use date instead.', getSetDayOfMonth);
  36121. proto.months = deprecate('months accessor is deprecated. Use month instead', getSetMonth);
  36122. proto.years = deprecate('years accessor is deprecated. Use year instead', getSetYear);
  36123. proto.zone = deprecate('moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/', getSetZone);
  36124. proto.isDSTShifted = deprecate('isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information', isDaylightSavingTimeShifted);
  36125. function createUnix(input) {
  36126. return createLocal(input * 1000);
  36127. }
  36128. function createInZone() {
  36129. return createLocal.apply(null, arguments).parseZone();
  36130. }
  36131. function preParsePostFormat(string) {
  36132. return string;
  36133. }
  36134. var proto$1 = Locale.prototype;
  36135. proto$1.calendar = calendar;
  36136. proto$1.longDateFormat = longDateFormat;
  36137. proto$1.invalidDate = invalidDate;
  36138. proto$1.ordinal = ordinal;
  36139. proto$1.preparse = preParsePostFormat;
  36140. proto$1.postformat = preParsePostFormat;
  36141. proto$1.relativeTime = relativeTime;
  36142. proto$1.pastFuture = pastFuture;
  36143. proto$1.set = set;
  36144. proto$1.eras = localeEras;
  36145. proto$1.erasParse = localeErasParse;
  36146. proto$1.erasConvertYear = localeErasConvertYear;
  36147. proto$1.erasAbbrRegex = erasAbbrRegex;
  36148. proto$1.erasNameRegex = erasNameRegex;
  36149. proto$1.erasNarrowRegex = erasNarrowRegex;
  36150. proto$1.months = localeMonths;
  36151. proto$1.monthsShort = localeMonthsShort;
  36152. proto$1.monthsParse = localeMonthsParse;
  36153. proto$1.monthsRegex = monthsRegex;
  36154. proto$1.monthsShortRegex = monthsShortRegex;
  36155. proto$1.week = localeWeek;
  36156. proto$1.firstDayOfYear = localeFirstDayOfYear;
  36157. proto$1.firstDayOfWeek = localeFirstDayOfWeek;
  36158. proto$1.weekdays = localeWeekdays;
  36159. proto$1.weekdaysMin = localeWeekdaysMin;
  36160. proto$1.weekdaysShort = localeWeekdaysShort;
  36161. proto$1.weekdaysParse = localeWeekdaysParse;
  36162. proto$1.weekdaysRegex = weekdaysRegex;
  36163. proto$1.weekdaysShortRegex = weekdaysShortRegex;
  36164. proto$1.weekdaysMinRegex = weekdaysMinRegex;
  36165. proto$1.isPM = localeIsPM;
  36166. proto$1.meridiem = localeMeridiem;
  36167. function get$1(format, index, field, setter) {
  36168. var locale = getLocale(),
  36169. utc = createUTC().set(setter, index);
  36170. return locale[field](utc, format);
  36171. }
  36172. function listMonthsImpl(format, index, field) {
  36173. if (isNumber(format)) {
  36174. index = format;
  36175. format = undefined;
  36176. }
  36177. format = format || '';
  36178. if (index != null) {
  36179. return get$1(format, index, field, 'month');
  36180. }
  36181. var i,
  36182. out = [];
  36183. for (i = 0; i < 12; i++) {
  36184. out[i] = get$1(format, i, field, 'month');
  36185. }
  36186. return out;
  36187. }
  36188. // ()
  36189. // (5)
  36190. // (fmt, 5)
  36191. // (fmt)
  36192. // (true)
  36193. // (true, 5)
  36194. // (true, fmt, 5)
  36195. // (true, fmt)
  36196. function listWeekdaysImpl(localeSorted, format, index, field) {
  36197. if (typeof localeSorted === 'boolean') {
  36198. if (isNumber(format)) {
  36199. index = format;
  36200. format = undefined;
  36201. }
  36202. format = format || '';
  36203. } else {
  36204. format = localeSorted;
  36205. index = format;
  36206. localeSorted = false;
  36207. if (isNumber(format)) {
  36208. index = format;
  36209. format = undefined;
  36210. }
  36211. format = format || '';
  36212. }
  36213. var locale = getLocale(),
  36214. shift = localeSorted ? locale._week.dow : 0,
  36215. i,
  36216. out = [];
  36217. if (index != null) {
  36218. return get$1(format, (index + shift) % 7, field, 'day');
  36219. }
  36220. for (i = 0; i < 7; i++) {
  36221. out[i] = get$1(format, (i + shift) % 7, field, 'day');
  36222. }
  36223. return out;
  36224. }
  36225. function listMonths(format, index) {
  36226. return listMonthsImpl(format, index, 'months');
  36227. }
  36228. function listMonthsShort(format, index) {
  36229. return listMonthsImpl(format, index, 'monthsShort');
  36230. }
  36231. function listWeekdays(localeSorted, format, index) {
  36232. return listWeekdaysImpl(localeSorted, format, index, 'weekdays');
  36233. }
  36234. function listWeekdaysShort(localeSorted, format, index) {
  36235. return listWeekdaysImpl(localeSorted, format, index, 'weekdaysShort');
  36236. }
  36237. function listWeekdaysMin(localeSorted, format, index) {
  36238. return listWeekdaysImpl(localeSorted, format, index, 'weekdaysMin');
  36239. }
  36240. getSetGlobalLocale('en', {
  36241. eras: [{
  36242. since: '0001-01-01',
  36243. until: +Infinity,
  36244. offset: 1,
  36245. name: 'Anno Domini',
  36246. narrow: 'AD',
  36247. abbr: 'AD'
  36248. }, {
  36249. since: '0000-12-31',
  36250. until: -Infinity,
  36251. offset: 1,
  36252. name: 'Before Christ',
  36253. narrow: 'BC',
  36254. abbr: 'BC'
  36255. }],
  36256. dayOfMonthOrdinalParse: /\d{1,2}(th|st|nd|rd)/,
  36257. ordinal: function ordinal(number) {
  36258. var b = number % 10,
  36259. output = toInt(number % 100 / 10) === 1 ? 'th' : b === 1 ? 'st' : b === 2 ? 'nd' : b === 3 ? 'rd' : 'th';
  36260. return number + output;
  36261. }
  36262. });
  36263. // Side effect imports
  36264. hooks.lang = deprecate('moment.lang is deprecated. Use moment.locale instead.', getSetGlobalLocale);
  36265. hooks.langData = deprecate('moment.langData is deprecated. Use moment.localeData instead.', getLocale);
  36266. var mathAbs = Math.abs;
  36267. function abs() {
  36268. var data = this._data;
  36269. this._milliseconds = mathAbs(this._milliseconds);
  36270. this._days = mathAbs(this._days);
  36271. this._months = mathAbs(this._months);
  36272. data.milliseconds = mathAbs(data.milliseconds);
  36273. data.seconds = mathAbs(data.seconds);
  36274. data.minutes = mathAbs(data.minutes);
  36275. data.hours = mathAbs(data.hours);
  36276. data.months = mathAbs(data.months);
  36277. data.years = mathAbs(data.years);
  36278. return this;
  36279. }
  36280. function addSubtract$1(duration, input, value, direction) {
  36281. var other = createDuration(input, value);
  36282. duration._milliseconds += direction * other._milliseconds;
  36283. duration._days += direction * other._days;
  36284. duration._months += direction * other._months;
  36285. return duration._bubble();
  36286. }
  36287. // supports only 2.0-style add(1, 's') or add(duration)
  36288. function add$1(input, value) {
  36289. return addSubtract$1(this, input, value, 1);
  36290. }
  36291. // supports only 2.0-style subtract(1, 's') or subtract(duration)
  36292. function subtract$1(input, value) {
  36293. return addSubtract$1(this, input, value, -1);
  36294. }
  36295. function absCeil(number) {
  36296. if (number < 0) {
  36297. return Math.floor(number);
  36298. } else {
  36299. return Math.ceil(number);
  36300. }
  36301. }
  36302. function bubble() {
  36303. var milliseconds = this._milliseconds,
  36304. days = this._days,
  36305. months = this._months,
  36306. data = this._data,
  36307. seconds,
  36308. minutes,
  36309. hours,
  36310. years,
  36311. monthsFromDays;
  36312. // if we have a mix of positive and negative values, bubble down first
  36313. // check: https://github.com/moment/moment/issues/2166
  36314. if (!(milliseconds >= 0 && days >= 0 && months >= 0 || milliseconds <= 0 && days <= 0 && months <= 0)) {
  36315. milliseconds += absCeil(monthsToDays(months) + days) * 864e5;
  36316. days = 0;
  36317. months = 0;
  36318. }
  36319. // The following code bubbles up values, see the tests for
  36320. // examples of what that means.
  36321. data.milliseconds = milliseconds % 1000;
  36322. seconds = absFloor(milliseconds / 1000);
  36323. data.seconds = seconds % 60;
  36324. minutes = absFloor(seconds / 60);
  36325. data.minutes = minutes % 60;
  36326. hours = absFloor(minutes / 60);
  36327. data.hours = hours % 24;
  36328. days += absFloor(hours / 24);
  36329. // convert days to months
  36330. monthsFromDays = absFloor(daysToMonths(days));
  36331. months += monthsFromDays;
  36332. days -= absCeil(monthsToDays(monthsFromDays));
  36333. // 12 months -> 1 year
  36334. years = absFloor(months / 12);
  36335. months %= 12;
  36336. data.days = days;
  36337. data.months = months;
  36338. data.years = years;
  36339. return this;
  36340. }
  36341. function daysToMonths(days) {
  36342. // 400 years have 146097 days (taking into account leap year rules)
  36343. // 400 years have 12 months === 4800
  36344. return days * 4800 / 146097;
  36345. }
  36346. function monthsToDays(months) {
  36347. // the reverse of daysToMonths
  36348. return months * 146097 / 4800;
  36349. }
  36350. function as(units) {
  36351. if (!this.isValid()) {
  36352. return NaN;
  36353. }
  36354. var days,
  36355. months,
  36356. milliseconds = this._milliseconds;
  36357. units = normalizeUnits(units);
  36358. if (units === 'month' || units === 'quarter' || units === 'year') {
  36359. days = this._days + milliseconds / 864e5;
  36360. months = this._months + daysToMonths(days);
  36361. switch (units) {
  36362. case 'month':
  36363. return months;
  36364. case 'quarter':
  36365. return months / 3;
  36366. case 'year':
  36367. return months / 12;
  36368. }
  36369. } else {
  36370. // handle milliseconds separately because of floating point math errors (issue #1867)
  36371. days = this._days + Math.round(monthsToDays(this._months));
  36372. switch (units) {
  36373. case 'week':
  36374. return days / 7 + milliseconds / 6048e5;
  36375. case 'day':
  36376. return days + milliseconds / 864e5;
  36377. case 'hour':
  36378. return days * 24 + milliseconds / 36e5;
  36379. case 'minute':
  36380. return days * 1440 + milliseconds / 6e4;
  36381. case 'second':
  36382. return days * 86400 + milliseconds / 1000;
  36383. // Math.floor prevents floating point math errors here
  36384. case 'millisecond':
  36385. return Math.floor(days * 864e5) + milliseconds;
  36386. default:
  36387. throw new Error('Unknown unit ' + units);
  36388. }
  36389. }
  36390. }
  36391. // TODO: Use this.as('ms')?
  36392. function valueOf$1() {
  36393. if (!this.isValid()) {
  36394. return NaN;
  36395. }
  36396. return this._milliseconds + this._days * 864e5 + this._months % 12 * 2592e6 + toInt(this._months / 12) * 31536e6;
  36397. }
  36398. function makeAs(alias) {
  36399. return function () {
  36400. return this.as(alias);
  36401. };
  36402. }
  36403. var asMilliseconds = makeAs('ms'),
  36404. asSeconds = makeAs('s'),
  36405. asMinutes = makeAs('m'),
  36406. asHours = makeAs('h'),
  36407. asDays = makeAs('d'),
  36408. asWeeks = makeAs('w'),
  36409. asMonths = makeAs('M'),
  36410. asQuarters = makeAs('Q'),
  36411. asYears = makeAs('y');
  36412. function clone$1() {
  36413. return createDuration(this);
  36414. }
  36415. function get$2(units) {
  36416. units = normalizeUnits(units);
  36417. return this.isValid() ? this[units + 's']() : NaN;
  36418. }
  36419. function makeGetter(name) {
  36420. return function () {
  36421. return this.isValid() ? this._data[name] : NaN;
  36422. };
  36423. }
  36424. var milliseconds = makeGetter('milliseconds'),
  36425. seconds = makeGetter('seconds'),
  36426. minutes = makeGetter('minutes'),
  36427. hours = makeGetter('hours'),
  36428. days = makeGetter('days'),
  36429. months = makeGetter('months'),
  36430. years = makeGetter('years');
  36431. function weeks() {
  36432. return absFloor(this.days() / 7);
  36433. }
  36434. var round = Math.round,
  36435. thresholds = {
  36436. ss: 44,
  36437. // a few seconds to seconds
  36438. s: 45,
  36439. // seconds to minute
  36440. m: 45,
  36441. // minutes to hour
  36442. h: 22,
  36443. // hours to day
  36444. d: 26,
  36445. // days to month/week
  36446. w: null,
  36447. // weeks to month
  36448. M: 11 // months to year
  36449. };
  36450. // helper function for moment.fn.from, moment.fn.fromNow, and moment.duration.fn.humanize
  36451. function substituteTimeAgo(string, number, withoutSuffix, isFuture, locale) {
  36452. return locale.relativeTime(number || 1, !!withoutSuffix, string, isFuture);
  36453. }
  36454. function relativeTime$1(posNegDuration, withoutSuffix, thresholds, locale) {
  36455. var duration = createDuration(posNegDuration).abs(),
  36456. seconds = round(duration.as('s')),
  36457. minutes = round(duration.as('m')),
  36458. hours = round(duration.as('h')),
  36459. days = round(duration.as('d')),
  36460. months = round(duration.as('M')),
  36461. weeks = round(duration.as('w')),
  36462. years = round(duration.as('y')),
  36463. a = seconds <= thresholds.ss && ['s', seconds] || seconds < thresholds.s && ['ss', seconds] || minutes <= 1 && ['m'] || minutes < thresholds.m && ['mm', minutes] || hours <= 1 && ['h'] || hours < thresholds.h && ['hh', hours] || days <= 1 && ['d'] || days < thresholds.d && ['dd', days];
  36464. if (thresholds.w != null) {
  36465. a = a || weeks <= 1 && ['w'] || weeks < thresholds.w && ['ww', weeks];
  36466. }
  36467. a = a || months <= 1 && ['M'] || months < thresholds.M && ['MM', months] || years <= 1 && ['y'] || ['yy', years];
  36468. a[2] = withoutSuffix;
  36469. a[3] = +posNegDuration > 0;
  36470. a[4] = locale;
  36471. return substituteTimeAgo.apply(null, a);
  36472. }
  36473. // This function allows you to set the rounding function for relative time strings
  36474. function getSetRelativeTimeRounding(roundingFunction) {
  36475. if (roundingFunction === undefined) {
  36476. return round;
  36477. }
  36478. if (typeof roundingFunction === 'function') {
  36479. round = roundingFunction;
  36480. return true;
  36481. }
  36482. return false;
  36483. }
  36484. // This function allows you to set a threshold for relative time strings
  36485. function getSetRelativeTimeThreshold(threshold, limit) {
  36486. if (thresholds[threshold] === undefined) {
  36487. return false;
  36488. }
  36489. if (limit === undefined) {
  36490. return thresholds[threshold];
  36491. }
  36492. thresholds[threshold] = limit;
  36493. if (threshold === 's') {
  36494. thresholds.ss = limit - 1;
  36495. }
  36496. return true;
  36497. }
  36498. function humanize(argWithSuffix, argThresholds) {
  36499. if (!this.isValid()) {
  36500. return this.localeData().invalidDate();
  36501. }
  36502. var withSuffix = false,
  36503. th = thresholds,
  36504. locale,
  36505. output;
  36506. if (_typeof(argWithSuffix) === 'object') {
  36507. argThresholds = argWithSuffix;
  36508. argWithSuffix = false;
  36509. }
  36510. if (typeof argWithSuffix === 'boolean') {
  36511. withSuffix = argWithSuffix;
  36512. }
  36513. if (_typeof(argThresholds) === 'object') {
  36514. th = Object.assign({}, thresholds, argThresholds);
  36515. if (argThresholds.s != null && argThresholds.ss == null) {
  36516. th.ss = argThresholds.s - 1;
  36517. }
  36518. }
  36519. locale = this.localeData();
  36520. output = relativeTime$1(this, !withSuffix, th, locale);
  36521. if (withSuffix) {
  36522. output = locale.pastFuture(+this, output);
  36523. }
  36524. return locale.postformat(output);
  36525. }
  36526. var abs$1 = Math.abs;
  36527. function sign(x) {
  36528. return (x > 0) - (x < 0) || +x;
  36529. }
  36530. function toISOString$1() {
  36531. // for ISO strings we do not use the normal bubbling rules:
  36532. // * milliseconds bubble up until they become hours
  36533. // * days do not bubble at all
  36534. // * months bubble up until they become years
  36535. // This is because there is no context-free conversion between hours and days
  36536. // (think of clock changes)
  36537. // and also not between days and months (28-31 days per month)
  36538. if (!this.isValid()) {
  36539. return this.localeData().invalidDate();
  36540. }
  36541. var seconds = abs$1(this._milliseconds) / 1000,
  36542. days = abs$1(this._days),
  36543. months = abs$1(this._months),
  36544. minutes,
  36545. hours,
  36546. years,
  36547. s,
  36548. total = this.asSeconds(),
  36549. totalSign,
  36550. ymSign,
  36551. daysSign,
  36552. hmsSign;
  36553. if (!total) {
  36554. // this is the same as C#'s (Noda) and python (isodate)...
  36555. // but not other JS (goog.date)
  36556. return 'P0D';
  36557. }
  36558. // 3600 seconds -> 60 minutes -> 1 hour
  36559. minutes = absFloor(seconds / 60);
  36560. hours = absFloor(minutes / 60);
  36561. seconds %= 60;
  36562. minutes %= 60;
  36563. // 12 months -> 1 year
  36564. years = absFloor(months / 12);
  36565. months %= 12;
  36566. // inspired by https://github.com/dordille/moment-isoduration/blob/master/moment.isoduration.js
  36567. s = seconds ? seconds.toFixed(3).replace(/\.?0+$/, '') : '';
  36568. totalSign = total < 0 ? '-' : '';
  36569. ymSign = sign(this._months) !== sign(total) ? '-' : '';
  36570. daysSign = sign(this._days) !== sign(total) ? '-' : '';
  36571. hmsSign = sign(this._milliseconds) !== sign(total) ? '-' : '';
  36572. return totalSign + 'P' + (years ? ymSign + years + 'Y' : '') + (months ? ymSign + months + 'M' : '') + (days ? daysSign + days + 'D' : '') + (hours || minutes || seconds ? 'T' : '') + (hours ? hmsSign + hours + 'H' : '') + (minutes ? hmsSign + minutes + 'M' : '') + (seconds ? hmsSign + s + 'S' : '');
  36573. }
  36574. var proto$2 = Duration.prototype;
  36575. proto$2.isValid = isValid$1;
  36576. proto$2.abs = abs;
  36577. proto$2.add = add$1;
  36578. proto$2.subtract = subtract$1;
  36579. proto$2.as = as;
  36580. proto$2.asMilliseconds = asMilliseconds;
  36581. proto$2.asSeconds = asSeconds;
  36582. proto$2.asMinutes = asMinutes;
  36583. proto$2.asHours = asHours;
  36584. proto$2.asDays = asDays;
  36585. proto$2.asWeeks = asWeeks;
  36586. proto$2.asMonths = asMonths;
  36587. proto$2.asQuarters = asQuarters;
  36588. proto$2.asYears = asYears;
  36589. proto$2.valueOf = valueOf$1;
  36590. proto$2._bubble = bubble;
  36591. proto$2.clone = clone$1;
  36592. proto$2.get = get$2;
  36593. proto$2.milliseconds = milliseconds;
  36594. proto$2.seconds = seconds;
  36595. proto$2.minutes = minutes;
  36596. proto$2.hours = hours;
  36597. proto$2.days = days;
  36598. proto$2.weeks = weeks;
  36599. proto$2.months = months;
  36600. proto$2.years = years;
  36601. proto$2.humanize = humanize;
  36602. proto$2.toISOString = toISOString$1;
  36603. proto$2.toString = toISOString$1;
  36604. proto$2.toJSON = toISOString$1;
  36605. proto$2.locale = locale;
  36606. proto$2.localeData = localeData;
  36607. proto$2.toIsoString = deprecate('toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)', toISOString$1);
  36608. proto$2.lang = lang;
  36609. // FORMATTING
  36610. addFormatToken('X', 0, 0, 'unix');
  36611. addFormatToken('x', 0, 0, 'valueOf');
  36612. // PARSING
  36613. addRegexToken('x', matchSigned);
  36614. addRegexToken('X', matchTimestamp);
  36615. addParseToken('X', function (input, array, config) {
  36616. config._d = new Date(parseFloat(input) * 1000);
  36617. });
  36618. addParseToken('x', function (input, array, config) {
  36619. config._d = new Date(toInt(input));
  36620. });
  36621. //! moment.js
  36622. hooks.version = '2.29.1';
  36623. setHookCallback(createLocal);
  36624. hooks.fn = proto;
  36625. hooks.min = min;
  36626. hooks.max = max;
  36627. hooks.now = now;
  36628. hooks.utc = createUTC;
  36629. hooks.unix = createUnix;
  36630. hooks.months = listMonths;
  36631. hooks.isDate = isDate;
  36632. hooks.locale = getSetGlobalLocale;
  36633. hooks.invalid = createInvalid;
  36634. hooks.duration = createDuration;
  36635. hooks.isMoment = isMoment;
  36636. hooks.weekdays = listWeekdays;
  36637. hooks.parseZone = createInZone;
  36638. hooks.localeData = getLocale;
  36639. hooks.isDuration = isDuration;
  36640. hooks.monthsShort = listMonthsShort;
  36641. hooks.weekdaysMin = listWeekdaysMin;
  36642. hooks.defineLocale = defineLocale;
  36643. hooks.updateLocale = updateLocale;
  36644. hooks.locales = listLocales;
  36645. hooks.weekdaysShort = listWeekdaysShort;
  36646. hooks.normalizeUnits = normalizeUnits;
  36647. hooks.relativeTimeRounding = getSetRelativeTimeRounding;
  36648. hooks.relativeTimeThreshold = getSetRelativeTimeThreshold;
  36649. hooks.calendarFormat = getCalendarFormat;
  36650. hooks.prototype = proto;
  36651. // currently HTML5 input type only supports 24-hour formats
  36652. hooks.HTML5_FMT = {
  36653. DATETIME_LOCAL: 'YYYY-MM-DDTHH:mm',
  36654. // <input type="datetime-local" />
  36655. DATETIME_LOCAL_SECONDS: 'YYYY-MM-DDTHH:mm:ss',
  36656. // <input type="datetime-local" step="1" />
  36657. DATETIME_LOCAL_MS: 'YYYY-MM-DDTHH:mm:ss.SSS',
  36658. // <input type="datetime-local" step="0.001" />
  36659. DATE: 'YYYY-MM-DD',
  36660. // <input type="date" />
  36661. TIME: 'HH:mm',
  36662. // <input type="time" />
  36663. TIME_SECONDS: 'HH:mm:ss',
  36664. // <input type="time" step="1" />
  36665. TIME_MS: 'HH:mm:ss.SSS',
  36666. // <input type="time" step="0.001" />
  36667. WEEK: 'GGGG-[W]WW',
  36668. // <input type="week" />
  36669. MONTH: 'YYYY-MM' // <input type="month" />
  36670. };
  36671. return hooks;
  36672. });
  36673. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../HBuilderX.3.7.11.20230427/HBuilderX/plugins/uniapp-cli/node_modules/webpack/buildin/module.js */ 52)(module)))
  36674. /***/ }),
  36675. /***/ 510:
  36676. /*!****************************************************************!*\
  36677. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/api/homeActivity.js ***!
  36678. \****************************************************************/
  36679. /*! no static exports found */
  36680. /***/ (function(module, exports, __webpack_require__) {
  36681. "use strict";
  36682. Object.defineProperty(exports, "__esModule", {
  36683. value: true
  36684. });
  36685. exports.getActivityList = exports.getActivityDetail = void 0;
  36686. var _network = __webpack_require__(/*! ../util/network */ 38);
  36687. // 获取文章列表
  36688. var getActivityList = function getActivityList(params) {
  36689. return (0, _network.requestApi)('/Activity/index', 'GET', params);
  36690. };
  36691. // 获取文章详情
  36692. exports.getActivityList = getActivityList;
  36693. var getActivityDetail = function getActivityDetail(params) {
  36694. return (0, _network.requestApi)('/Activity/detail', 'GET', params);
  36695. };
  36696. exports.getActivityDetail = getActivityDetail;
  36697. /***/ }),
  36698. /***/ 52:
  36699. /*!***********************************!*\
  36700. !*** (webpack)/buildin/module.js ***!
  36701. \***********************************/
  36702. /*! no static exports found */
  36703. /***/ (function(module, exports) {
  36704. module.exports = function(module) {
  36705. if (!module.webpackPolyfill) {
  36706. module.deprecate = function() {};
  36707. module.paths = [];
  36708. // module.parent = undefined by default
  36709. if (!module.children) module.children = [];
  36710. Object.defineProperty(module, "loaded", {
  36711. enumerable: true,
  36712. get: function() {
  36713. return module.l;
  36714. }
  36715. });
  36716. Object.defineProperty(module, "id", {
  36717. enumerable: true,
  36718. get: function() {
  36719. return module.i;
  36720. }
  36721. });
  36722. module.webpackPolyfill = 1;
  36723. }
  36724. return module;
  36725. };
  36726. /***/ }),
  36727. /***/ 53:
  36728. /*!*************************************************************************************!*\
  36729. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale sync ^\.\/.*$ ***!
  36730. \*************************************************************************************/
  36731. /*! no static exports found */
  36732. /***/ (function(module, exports, __webpack_require__) {
  36733. var map = {
  36734. "./af": 54,
  36735. "./af.js": 54,
  36736. "./ar": 55,
  36737. "./ar-dz": 56,
  36738. "./ar-dz.js": 56,
  36739. "./ar-kw": 57,
  36740. "./ar-kw.js": 57,
  36741. "./ar-ly": 58,
  36742. "./ar-ly.js": 58,
  36743. "./ar-ma": 59,
  36744. "./ar-ma.js": 59,
  36745. "./ar-sa": 60,
  36746. "./ar-sa.js": 60,
  36747. "./ar-tn": 61,
  36748. "./ar-tn.js": 61,
  36749. "./ar.js": 55,
  36750. "./az": 62,
  36751. "./az.js": 62,
  36752. "./be": 63,
  36753. "./be.js": 63,
  36754. "./bg": 64,
  36755. "./bg.js": 64,
  36756. "./bm": 65,
  36757. "./bm.js": 65,
  36758. "./bn": 66,
  36759. "./bn-bd": 67,
  36760. "./bn-bd.js": 67,
  36761. "./bn.js": 66,
  36762. "./bo": 68,
  36763. "./bo.js": 68,
  36764. "./br": 69,
  36765. "./br.js": 69,
  36766. "./bs": 70,
  36767. "./bs.js": 70,
  36768. "./ca": 71,
  36769. "./ca.js": 71,
  36770. "./cs": 72,
  36771. "./cs.js": 72,
  36772. "./cv": 73,
  36773. "./cv.js": 73,
  36774. "./cy": 74,
  36775. "./cy.js": 74,
  36776. "./da": 75,
  36777. "./da.js": 75,
  36778. "./de": 76,
  36779. "./de-at": 77,
  36780. "./de-at.js": 77,
  36781. "./de-ch": 78,
  36782. "./de-ch.js": 78,
  36783. "./de.js": 76,
  36784. "./dv": 79,
  36785. "./dv.js": 79,
  36786. "./el": 80,
  36787. "./el.js": 80,
  36788. "./en-au": 81,
  36789. "./en-au.js": 81,
  36790. "./en-ca": 82,
  36791. "./en-ca.js": 82,
  36792. "./en-gb": 83,
  36793. "./en-gb.js": 83,
  36794. "./en-ie": 84,
  36795. "./en-ie.js": 84,
  36796. "./en-il": 85,
  36797. "./en-il.js": 85,
  36798. "./en-in": 86,
  36799. "./en-in.js": 86,
  36800. "./en-nz": 87,
  36801. "./en-nz.js": 87,
  36802. "./en-sg": 88,
  36803. "./en-sg.js": 88,
  36804. "./eo": 89,
  36805. "./eo.js": 89,
  36806. "./es": 90,
  36807. "./es-do": 91,
  36808. "./es-do.js": 91,
  36809. "./es-mx": 92,
  36810. "./es-mx.js": 92,
  36811. "./es-us": 93,
  36812. "./es-us.js": 93,
  36813. "./es.js": 90,
  36814. "./et": 94,
  36815. "./et.js": 94,
  36816. "./eu": 95,
  36817. "./eu.js": 95,
  36818. "./fa": 96,
  36819. "./fa.js": 96,
  36820. "./fi": 97,
  36821. "./fi.js": 97,
  36822. "./fil": 98,
  36823. "./fil.js": 98,
  36824. "./fo": 99,
  36825. "./fo.js": 99,
  36826. "./fr": 100,
  36827. "./fr-ca": 101,
  36828. "./fr-ca.js": 101,
  36829. "./fr-ch": 102,
  36830. "./fr-ch.js": 102,
  36831. "./fr.js": 100,
  36832. "./fy": 103,
  36833. "./fy.js": 103,
  36834. "./ga": 104,
  36835. "./ga.js": 104,
  36836. "./gd": 105,
  36837. "./gd.js": 105,
  36838. "./gl": 106,
  36839. "./gl.js": 106,
  36840. "./gom-deva": 107,
  36841. "./gom-deva.js": 107,
  36842. "./gom-latn": 108,
  36843. "./gom-latn.js": 108,
  36844. "./gu": 109,
  36845. "./gu.js": 109,
  36846. "./he": 110,
  36847. "./he.js": 110,
  36848. "./hi": 111,
  36849. "./hi.js": 111,
  36850. "./hr": 112,
  36851. "./hr.js": 112,
  36852. "./hu": 113,
  36853. "./hu.js": 113,
  36854. "./hy-am": 114,
  36855. "./hy-am.js": 114,
  36856. "./id": 115,
  36857. "./id.js": 115,
  36858. "./is": 116,
  36859. "./is.js": 116,
  36860. "./it": 117,
  36861. "./it-ch": 118,
  36862. "./it-ch.js": 118,
  36863. "./it.js": 117,
  36864. "./ja": 119,
  36865. "./ja.js": 119,
  36866. "./jv": 120,
  36867. "./jv.js": 120,
  36868. "./ka": 121,
  36869. "./ka.js": 121,
  36870. "./kk": 122,
  36871. "./kk.js": 122,
  36872. "./km": 123,
  36873. "./km.js": 123,
  36874. "./kn": 124,
  36875. "./kn.js": 124,
  36876. "./ko": 125,
  36877. "./ko.js": 125,
  36878. "./ku": 126,
  36879. "./ku.js": 126,
  36880. "./ky": 127,
  36881. "./ky.js": 127,
  36882. "./lb": 128,
  36883. "./lb.js": 128,
  36884. "./lo": 129,
  36885. "./lo.js": 129,
  36886. "./lt": 130,
  36887. "./lt.js": 130,
  36888. "./lv": 131,
  36889. "./lv.js": 131,
  36890. "./me": 132,
  36891. "./me.js": 132,
  36892. "./mi": 133,
  36893. "./mi.js": 133,
  36894. "./mk": 134,
  36895. "./mk.js": 134,
  36896. "./ml": 135,
  36897. "./ml.js": 135,
  36898. "./mn": 136,
  36899. "./mn.js": 136,
  36900. "./mr": 137,
  36901. "./mr.js": 137,
  36902. "./ms": 138,
  36903. "./ms-my": 139,
  36904. "./ms-my.js": 139,
  36905. "./ms.js": 138,
  36906. "./mt": 140,
  36907. "./mt.js": 140,
  36908. "./my": 141,
  36909. "./my.js": 141,
  36910. "./nb": 142,
  36911. "./nb.js": 142,
  36912. "./ne": 143,
  36913. "./ne.js": 143,
  36914. "./nl": 144,
  36915. "./nl-be": 145,
  36916. "./nl-be.js": 145,
  36917. "./nl.js": 144,
  36918. "./nn": 146,
  36919. "./nn.js": 146,
  36920. "./oc-lnc": 147,
  36921. "./oc-lnc.js": 147,
  36922. "./pa-in": 148,
  36923. "./pa-in.js": 148,
  36924. "./pl": 149,
  36925. "./pl.js": 149,
  36926. "./pt": 150,
  36927. "./pt-br": 151,
  36928. "./pt-br.js": 151,
  36929. "./pt.js": 150,
  36930. "./ro": 152,
  36931. "./ro.js": 152,
  36932. "./ru": 153,
  36933. "./ru.js": 153,
  36934. "./sd": 154,
  36935. "./sd.js": 154,
  36936. "./se": 155,
  36937. "./se.js": 155,
  36938. "./si": 156,
  36939. "./si.js": 156,
  36940. "./sk": 157,
  36941. "./sk.js": 157,
  36942. "./sl": 158,
  36943. "./sl.js": 158,
  36944. "./sq": 159,
  36945. "./sq.js": 159,
  36946. "./sr": 160,
  36947. "./sr-cyrl": 161,
  36948. "./sr-cyrl.js": 161,
  36949. "./sr.js": 160,
  36950. "./ss": 162,
  36951. "./ss.js": 162,
  36952. "./sv": 163,
  36953. "./sv.js": 163,
  36954. "./sw": 164,
  36955. "./sw.js": 164,
  36956. "./ta": 165,
  36957. "./ta.js": 165,
  36958. "./te": 166,
  36959. "./te.js": 166,
  36960. "./tet": 167,
  36961. "./tet.js": 167,
  36962. "./tg": 168,
  36963. "./tg.js": 168,
  36964. "./th": 169,
  36965. "./th.js": 169,
  36966. "./tk": 170,
  36967. "./tk.js": 170,
  36968. "./tl-ph": 171,
  36969. "./tl-ph.js": 171,
  36970. "./tlh": 172,
  36971. "./tlh.js": 172,
  36972. "./tr": 173,
  36973. "./tr.js": 173,
  36974. "./tzl": 174,
  36975. "./tzl.js": 174,
  36976. "./tzm": 175,
  36977. "./tzm-latn": 176,
  36978. "./tzm-latn.js": 176,
  36979. "./tzm.js": 175,
  36980. "./ug-cn": 177,
  36981. "./ug-cn.js": 177,
  36982. "./uk": 178,
  36983. "./uk.js": 178,
  36984. "./ur": 179,
  36985. "./ur.js": 179,
  36986. "./uz": 180,
  36987. "./uz-latn": 181,
  36988. "./uz-latn.js": 181,
  36989. "./uz.js": 180,
  36990. "./vi": 182,
  36991. "./vi.js": 182,
  36992. "./x-pseudo": 183,
  36993. "./x-pseudo.js": 183,
  36994. "./yo": 184,
  36995. "./yo.js": 184,
  36996. "./zh-cn": 185,
  36997. "./zh-cn.js": 185,
  36998. "./zh-hk": 186,
  36999. "./zh-hk.js": 186,
  37000. "./zh-mo": 187,
  37001. "./zh-mo.js": 187,
  37002. "./zh-tw": 188,
  37003. "./zh-tw.js": 188
  37004. };
  37005. function webpackContext(req) {
  37006. var id = webpackContextResolve(req);
  37007. return __webpack_require__(id);
  37008. }
  37009. function webpackContextResolve(req) {
  37010. if(!__webpack_require__.o(map, req)) {
  37011. var e = new Error("Cannot find module '" + req + "'");
  37012. e.code = 'MODULE_NOT_FOUND';
  37013. throw e;
  37014. }
  37015. return map[req];
  37016. }
  37017. webpackContext.keys = function webpackContextKeys() {
  37018. return Object.keys(map);
  37019. };
  37020. webpackContext.resolve = webpackContextResolve;
  37021. module.exports = webpackContext;
  37022. webpackContext.id = 53;
  37023. /***/ }),
  37024. /***/ 54:
  37025. /*!*****************************************************************************!*\
  37026. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/af.js ***!
  37027. \*****************************************************************************/
  37028. /*! no static exports found */
  37029. /***/ (function(module, exports, __webpack_require__) {
  37030. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  37031. //! moment.js locale configuration
  37032. //! locale : Afrikaans [af]
  37033. //! author : Werner Mollentze : https://github.com/wernerm
  37034. ;
  37035. (function (global, factory) {
  37036. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  37037. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  37038. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  37039. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  37040. })(this, function (moment) {
  37041. 'use strict';
  37042. //! moment.js locale configuration
  37043. var af = moment.defineLocale('af', {
  37044. months: 'Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember'.split('_'),
  37045. monthsShort: 'Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des'.split('_'),
  37046. weekdays: 'Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag'.split('_'),
  37047. weekdaysShort: 'Son_Maa_Din_Woe_Don_Vry_Sat'.split('_'),
  37048. weekdaysMin: 'So_Ma_Di_Wo_Do_Vr_Sa'.split('_'),
  37049. meridiemParse: /vm|nm/i,
  37050. isPM: function isPM(input) {
  37051. return /^nm$/i.test(input);
  37052. },
  37053. meridiem: function meridiem(hours, minutes, isLower) {
  37054. if (hours < 12) {
  37055. return isLower ? 'vm' : 'VM';
  37056. } else {
  37057. return isLower ? 'nm' : 'NM';
  37058. }
  37059. },
  37060. longDateFormat: {
  37061. LT: 'HH:mm',
  37062. LTS: 'HH:mm:ss',
  37063. L: 'DD/MM/YYYY',
  37064. LL: 'D MMMM YYYY',
  37065. LLL: 'D MMMM YYYY HH:mm',
  37066. LLLL: 'dddd, D MMMM YYYY HH:mm'
  37067. },
  37068. calendar: {
  37069. sameDay: '[Vandag om] LT',
  37070. nextDay: '[Môre om] LT',
  37071. nextWeek: 'dddd [om] LT',
  37072. lastDay: '[Gister om] LT',
  37073. lastWeek: '[Laas] dddd [om] LT',
  37074. sameElse: 'L'
  37075. },
  37076. relativeTime: {
  37077. future: 'oor %s',
  37078. past: '%s gelede',
  37079. s: "'n paar sekondes",
  37080. ss: '%d sekondes',
  37081. m: "'n minuut",
  37082. mm: '%d minute',
  37083. h: "'n uur",
  37084. hh: '%d ure',
  37085. d: "'n dag",
  37086. dd: '%d dae',
  37087. M: "'n maand",
  37088. MM: '%d maande',
  37089. y: "'n jaar",
  37090. yy: '%d jaar'
  37091. },
  37092. dayOfMonthOrdinalParse: /\d{1,2}(ste|de)/,
  37093. ordinal: function ordinal(number) {
  37094. return number + (number === 1 || number === 8 || number >= 20 ? 'ste' : 'de'); // Thanks to Joris Röling : https://github.com/jjupiter
  37095. },
  37096. week: {
  37097. dow: 1,
  37098. // Maandag is die eerste dag van die week.
  37099. doy: 4 // Die week wat die 4de Januarie bevat is die eerste week van die jaar.
  37100. }
  37101. });
  37102. return af;
  37103. });
  37104. /***/ }),
  37105. /***/ 55:
  37106. /*!*****************************************************************************!*\
  37107. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/ar.js ***!
  37108. \*****************************************************************************/
  37109. /*! no static exports found */
  37110. /***/ (function(module, exports, __webpack_require__) {
  37111. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  37112. //! moment.js locale configuration
  37113. //! locale : Arabic [ar]
  37114. //! author : Abdel Said: https://github.com/abdelsaid
  37115. //! author : Ahmed Elkhatib
  37116. //! author : forabi https://github.com/forabi
  37117. ;
  37118. (function (global, factory) {
  37119. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  37120. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  37121. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  37122. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  37123. })(this, function (moment) {
  37124. 'use strict';
  37125. //! moment.js locale configuration
  37126. var symbolMap = {
  37127. 1: '١',
  37128. 2: '٢',
  37129. 3: '٣',
  37130. 4: '٤',
  37131. 5: '٥',
  37132. 6: '٦',
  37133. 7: '٧',
  37134. 8: '٨',
  37135. 9: '٩',
  37136. 0: '٠'
  37137. },
  37138. numberMap = {
  37139. '١': '1',
  37140. '٢': '2',
  37141. '٣': '3',
  37142. '٤': '4',
  37143. '٥': '5',
  37144. '٦': '6',
  37145. '٧': '7',
  37146. '٨': '8',
  37147. '٩': '9',
  37148. '٠': '0'
  37149. },
  37150. pluralForm = function pluralForm(n) {
  37151. return n === 0 ? 0 : n === 1 ? 1 : n === 2 ? 2 : n % 100 >= 3 && n % 100 <= 10 ? 3 : n % 100 >= 11 ? 4 : 5;
  37152. },
  37153. plurals = {
  37154. s: ['أقل من ثانية', 'ثانية واحدة', ['ثانيتان', 'ثانيتين'], '%d ثوان', '%d ثانية', '%d ثانية'],
  37155. m: ['أقل من دقيقة', 'دقيقة واحدة', ['دقيقتان', 'دقيقتين'], '%d دقائق', '%d دقيقة', '%d دقيقة'],
  37156. h: ['أقل من ساعة', 'ساعة واحدة', ['ساعتان', 'ساعتين'], '%d ساعات', '%d ساعة', '%d ساعة'],
  37157. d: ['أقل من يوم', 'يوم واحد', ['يومان', 'يومين'], '%d أيام', '%d يومًا', '%d يوم'],
  37158. M: ['أقل من شهر', 'شهر واحد', ['شهران', 'شهرين'], '%d أشهر', '%d شهرا', '%d شهر'],
  37159. y: ['أقل من عام', 'عام واحد', ['عامان', 'عامين'], '%d أعوام', '%d عامًا', '%d عام']
  37160. },
  37161. pluralize = function pluralize(u) {
  37162. return function (number, withoutSuffix, string, isFuture) {
  37163. var f = pluralForm(number),
  37164. str = plurals[u][pluralForm(number)];
  37165. if (f === 2) {
  37166. str = str[withoutSuffix ? 0 : 1];
  37167. }
  37168. return str.replace(/%d/i, number);
  37169. };
  37170. },
  37171. months = ['يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر'];
  37172. var ar = moment.defineLocale('ar', {
  37173. months: months,
  37174. monthsShort: months,
  37175. weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),
  37176. weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'),
  37177. weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),
  37178. weekdaysParseExact: true,
  37179. longDateFormat: {
  37180. LT: 'HH:mm',
  37181. LTS: 'HH:mm:ss',
  37182. L: "D/\u200FM/\u200FYYYY",
  37183. LL: 'D MMMM YYYY',
  37184. LLL: 'D MMMM YYYY HH:mm',
  37185. LLLL: 'dddd D MMMM YYYY HH:mm'
  37186. },
  37187. meridiemParse: /ص|م/,
  37188. isPM: function isPM(input) {
  37189. return 'م' === input;
  37190. },
  37191. meridiem: function meridiem(hour, minute, isLower) {
  37192. if (hour < 12) {
  37193. return 'ص';
  37194. } else {
  37195. return 'م';
  37196. }
  37197. },
  37198. calendar: {
  37199. sameDay: '[اليوم عند الساعة] LT',
  37200. nextDay: '[غدًا عند الساعة] LT',
  37201. nextWeek: 'dddd [عند الساعة] LT',
  37202. lastDay: '[أمس عند الساعة] LT',
  37203. lastWeek: 'dddd [عند الساعة] LT',
  37204. sameElse: 'L'
  37205. },
  37206. relativeTime: {
  37207. future: 'بعد %s',
  37208. past: 'منذ %s',
  37209. s: pluralize('s'),
  37210. ss: pluralize('s'),
  37211. m: pluralize('m'),
  37212. mm: pluralize('m'),
  37213. h: pluralize('h'),
  37214. hh: pluralize('h'),
  37215. d: pluralize('d'),
  37216. dd: pluralize('d'),
  37217. M: pluralize('M'),
  37218. MM: pluralize('M'),
  37219. y: pluralize('y'),
  37220. yy: pluralize('y')
  37221. },
  37222. preparse: function preparse(string) {
  37223. return string.replace(/[١٢٣٤٥٦٧٨٩٠]/g, function (match) {
  37224. return numberMap[match];
  37225. }).replace(/،/g, ',');
  37226. },
  37227. postformat: function postformat(string) {
  37228. return string.replace(/\d/g, function (match) {
  37229. return symbolMap[match];
  37230. }).replace(/,/g, '،');
  37231. },
  37232. week: {
  37233. dow: 6,
  37234. // Saturday is the first day of the week.
  37235. doy: 12 // The week that contains Jan 12th is the first week of the year.
  37236. }
  37237. });
  37238. return ar;
  37239. });
  37240. /***/ }),
  37241. /***/ 559:
  37242. /*!********************************************************************!*\
  37243. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/api/homeMarketmanage.js ***!
  37244. \********************************************************************/
  37245. /*! no static exports found */
  37246. /***/ (function(module, exports, __webpack_require__) {
  37247. "use strict";
  37248. Object.defineProperty(exports, "__esModule", {
  37249. value: true
  37250. });
  37251. exports.getMarketmanagelog = exports.getMarketmanageList = exports.getMarketmanageInfo = exports.addMarketmanagelog = void 0;
  37252. var _network = __webpack_require__(/*! ../util/network */ 38);
  37253. // 获取营销活动详情
  37254. var getMarketmanageInfo = function getMarketmanageInfo(marketmanageId, token) {
  37255. return (0, _network.requestApi)('/Marketmanage/get_info', 'GET', {
  37256. 'marketmanage_id': marketmanageId,
  37257. 'key': token
  37258. });
  37259. };
  37260. // 获取营销活动列表
  37261. exports.getMarketmanageInfo = getMarketmanageInfo;
  37262. var getMarketmanageList = function getMarketmanageList(params, type) {
  37263. return (0, _network.requestApi)('/Marketmanage/get_list', 'GET', {
  37264. type: type,
  37265. page: params.page,
  37266. per_page: params.per_page
  37267. });
  37268. };
  37269. // 新增营销活动参与记录
  37270. exports.getMarketmanageList = getMarketmanageList;
  37271. var addMarketmanagelog = function addMarketmanagelog(marketmanageId) {
  37272. return (0, _network.requestApi)('/member_marketmanage/add_log', 'POST', {
  37273. 'marketmanage_id': marketmanageId
  37274. }, 'member');
  37275. };
  37276. // 获取营销活动参与记录
  37277. exports.addMarketmanagelog = addMarketmanagelog;
  37278. var getMarketmanagelog = function getMarketmanagelog(params) {
  37279. return (0, _network.requestApi)('/member_marketmanage/get_log', 'POST', {
  37280. page: params.page,
  37281. per_page: params.per_page
  37282. }, 'member');
  37283. };
  37284. exports.getMarketmanagelog = getMarketmanagelog;
  37285. /***/ }),
  37286. /***/ 56:
  37287. /*!********************************************************************************!*\
  37288. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/ar-dz.js ***!
  37289. \********************************************************************************/
  37290. /*! no static exports found */
  37291. /***/ (function(module, exports, __webpack_require__) {
  37292. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  37293. //! moment.js locale configuration
  37294. //! locale : Arabic (Algeria) [ar-dz]
  37295. //! author : Amine Roukh: https://github.com/Amine27
  37296. //! author : Abdel Said: https://github.com/abdelsaid
  37297. //! author : Ahmed Elkhatib
  37298. //! author : forabi https://github.com/forabi
  37299. //! author : Noureddine LOUAHEDJ : https://github.com/noureddinem
  37300. ;
  37301. (function (global, factory) {
  37302. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  37303. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  37304. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  37305. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  37306. })(this, function (moment) {
  37307. 'use strict';
  37308. //! moment.js locale configuration
  37309. var pluralForm = function pluralForm(n) {
  37310. return n === 0 ? 0 : n === 1 ? 1 : n === 2 ? 2 : n % 100 >= 3 && n % 100 <= 10 ? 3 : n % 100 >= 11 ? 4 : 5;
  37311. },
  37312. plurals = {
  37313. s: ['أقل من ثانية', 'ثانية واحدة', ['ثانيتان', 'ثانيتين'], '%d ثوان', '%d ثانية', '%d ثانية'],
  37314. m: ['أقل من دقيقة', 'دقيقة واحدة', ['دقيقتان', 'دقيقتين'], '%d دقائق', '%d دقيقة', '%d دقيقة'],
  37315. h: ['أقل من ساعة', 'ساعة واحدة', ['ساعتان', 'ساعتين'], '%d ساعات', '%d ساعة', '%d ساعة'],
  37316. d: ['أقل من يوم', 'يوم واحد', ['يومان', 'يومين'], '%d أيام', '%d يومًا', '%d يوم'],
  37317. M: ['أقل من شهر', 'شهر واحد', ['شهران', 'شهرين'], '%d أشهر', '%d شهرا', '%d شهر'],
  37318. y: ['أقل من عام', 'عام واحد', ['عامان', 'عامين'], '%d أعوام', '%d عامًا', '%d عام']
  37319. },
  37320. pluralize = function pluralize(u) {
  37321. return function (number, withoutSuffix, string, isFuture) {
  37322. var f = pluralForm(number),
  37323. str = plurals[u][pluralForm(number)];
  37324. if (f === 2) {
  37325. str = str[withoutSuffix ? 0 : 1];
  37326. }
  37327. return str.replace(/%d/i, number);
  37328. };
  37329. },
  37330. months = ['جانفي', 'فيفري', 'مارس', 'أفريل', 'ماي', 'جوان', 'جويلية', 'أوت', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر'];
  37331. var arDz = moment.defineLocale('ar-dz', {
  37332. months: months,
  37333. monthsShort: months,
  37334. weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),
  37335. weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'),
  37336. weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),
  37337. weekdaysParseExact: true,
  37338. longDateFormat: {
  37339. LT: 'HH:mm',
  37340. LTS: 'HH:mm:ss',
  37341. L: "D/\u200FM/\u200FYYYY",
  37342. LL: 'D MMMM YYYY',
  37343. LLL: 'D MMMM YYYY HH:mm',
  37344. LLLL: 'dddd D MMMM YYYY HH:mm'
  37345. },
  37346. meridiemParse: /ص|م/,
  37347. isPM: function isPM(input) {
  37348. return 'م' === input;
  37349. },
  37350. meridiem: function meridiem(hour, minute, isLower) {
  37351. if (hour < 12) {
  37352. return 'ص';
  37353. } else {
  37354. return 'م';
  37355. }
  37356. },
  37357. calendar: {
  37358. sameDay: '[اليوم عند الساعة] LT',
  37359. nextDay: '[غدًا عند الساعة] LT',
  37360. nextWeek: 'dddd [عند الساعة] LT',
  37361. lastDay: '[أمس عند الساعة] LT',
  37362. lastWeek: 'dddd [عند الساعة] LT',
  37363. sameElse: 'L'
  37364. },
  37365. relativeTime: {
  37366. future: 'بعد %s',
  37367. past: 'منذ %s',
  37368. s: pluralize('s'),
  37369. ss: pluralize('s'),
  37370. m: pluralize('m'),
  37371. mm: pluralize('m'),
  37372. h: pluralize('h'),
  37373. hh: pluralize('h'),
  37374. d: pluralize('d'),
  37375. dd: pluralize('d'),
  37376. M: pluralize('M'),
  37377. MM: pluralize('M'),
  37378. y: pluralize('y'),
  37379. yy: pluralize('y')
  37380. },
  37381. postformat: function postformat(string) {
  37382. return string.replace(/,/g, '،');
  37383. },
  37384. week: {
  37385. dow: 0,
  37386. // Sunday is the first day of the week.
  37387. doy: 4 // The week that contains Jan 4th is the first week of the year.
  37388. }
  37389. });
  37390. return arDz;
  37391. });
  37392. /***/ }),
  37393. /***/ 57:
  37394. /*!********************************************************************************!*\
  37395. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/ar-kw.js ***!
  37396. \********************************************************************************/
  37397. /*! no static exports found */
  37398. /***/ (function(module, exports, __webpack_require__) {
  37399. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  37400. //! moment.js locale configuration
  37401. //! locale : Arabic (Kuwait) [ar-kw]
  37402. //! author : Nusret Parlak: https://github.com/nusretparlak
  37403. ;
  37404. (function (global, factory) {
  37405. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  37406. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  37407. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  37408. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  37409. })(this, function (moment) {
  37410. 'use strict';
  37411. //! moment.js locale configuration
  37412. var arKw = moment.defineLocale('ar-kw', {
  37413. months: 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split('_'),
  37414. monthsShort: 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split('_'),
  37415. weekdays: 'الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),
  37416. weekdaysShort: 'احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت'.split('_'),
  37417. weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),
  37418. weekdaysParseExact: true,
  37419. longDateFormat: {
  37420. LT: 'HH:mm',
  37421. LTS: 'HH:mm:ss',
  37422. L: 'DD/MM/YYYY',
  37423. LL: 'D MMMM YYYY',
  37424. LLL: 'D MMMM YYYY HH:mm',
  37425. LLLL: 'dddd D MMMM YYYY HH:mm'
  37426. },
  37427. calendar: {
  37428. sameDay: '[اليوم على الساعة] LT',
  37429. nextDay: '[غدا على الساعة] LT',
  37430. nextWeek: 'dddd [على الساعة] LT',
  37431. lastDay: '[أمس على الساعة] LT',
  37432. lastWeek: 'dddd [على الساعة] LT',
  37433. sameElse: 'L'
  37434. },
  37435. relativeTime: {
  37436. future: 'في %s',
  37437. past: 'منذ %s',
  37438. s: 'ثوان',
  37439. ss: '%d ثانية',
  37440. m: 'دقيقة',
  37441. mm: '%d دقائق',
  37442. h: 'ساعة',
  37443. hh: '%d ساعات',
  37444. d: 'يوم',
  37445. dd: '%d أيام',
  37446. M: 'شهر',
  37447. MM: '%d أشهر',
  37448. y: 'سنة',
  37449. yy: '%d سنوات'
  37450. },
  37451. week: {
  37452. dow: 0,
  37453. // Sunday is the first day of the week.
  37454. doy: 12 // The week that contains Jan 12th is the first week of the year.
  37455. }
  37456. });
  37457. return arKw;
  37458. });
  37459. /***/ }),
  37460. /***/ 58:
  37461. /*!********************************************************************************!*\
  37462. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/ar-ly.js ***!
  37463. \********************************************************************************/
  37464. /*! no static exports found */
  37465. /***/ (function(module, exports, __webpack_require__) {
  37466. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  37467. //! moment.js locale configuration
  37468. //! locale : Arabic (Lybia) [ar-ly]
  37469. //! author : Ali Hmer: https://github.com/kikoanis
  37470. ;
  37471. (function (global, factory) {
  37472. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  37473. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  37474. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  37475. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  37476. })(this, function (moment) {
  37477. 'use strict';
  37478. //! moment.js locale configuration
  37479. var symbolMap = {
  37480. 1: '1',
  37481. 2: '2',
  37482. 3: '3',
  37483. 4: '4',
  37484. 5: '5',
  37485. 6: '6',
  37486. 7: '7',
  37487. 8: '8',
  37488. 9: '9',
  37489. 0: '0'
  37490. },
  37491. pluralForm = function pluralForm(n) {
  37492. return n === 0 ? 0 : n === 1 ? 1 : n === 2 ? 2 : n % 100 >= 3 && n % 100 <= 10 ? 3 : n % 100 >= 11 ? 4 : 5;
  37493. },
  37494. plurals = {
  37495. s: ['أقل من ثانية', 'ثانية واحدة', ['ثانيتان', 'ثانيتين'], '%d ثوان', '%d ثانية', '%d ثانية'],
  37496. m: ['أقل من دقيقة', 'دقيقة واحدة', ['دقيقتان', 'دقيقتين'], '%d دقائق', '%d دقيقة', '%d دقيقة'],
  37497. h: ['أقل من ساعة', 'ساعة واحدة', ['ساعتان', 'ساعتين'], '%d ساعات', '%d ساعة', '%d ساعة'],
  37498. d: ['أقل من يوم', 'يوم واحد', ['يومان', 'يومين'], '%d أيام', '%d يومًا', '%d يوم'],
  37499. M: ['أقل من شهر', 'شهر واحد', ['شهران', 'شهرين'], '%d أشهر', '%d شهرا', '%d شهر'],
  37500. y: ['أقل من عام', 'عام واحد', ['عامان', 'عامين'], '%d أعوام', '%d عامًا', '%d عام']
  37501. },
  37502. pluralize = function pluralize(u) {
  37503. return function (number, withoutSuffix, string, isFuture) {
  37504. var f = pluralForm(number),
  37505. str = plurals[u][pluralForm(number)];
  37506. if (f === 2) {
  37507. str = str[withoutSuffix ? 0 : 1];
  37508. }
  37509. return str.replace(/%d/i, number);
  37510. };
  37511. },
  37512. months = ['يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر'];
  37513. var arLy = moment.defineLocale('ar-ly', {
  37514. months: months,
  37515. monthsShort: months,
  37516. weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),
  37517. weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'),
  37518. weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),
  37519. weekdaysParseExact: true,
  37520. longDateFormat: {
  37521. LT: 'HH:mm',
  37522. LTS: 'HH:mm:ss',
  37523. L: "D/\u200FM/\u200FYYYY",
  37524. LL: 'D MMMM YYYY',
  37525. LLL: 'D MMMM YYYY HH:mm',
  37526. LLLL: 'dddd D MMMM YYYY HH:mm'
  37527. },
  37528. meridiemParse: /ص|م/,
  37529. isPM: function isPM(input) {
  37530. return 'م' === input;
  37531. },
  37532. meridiem: function meridiem(hour, minute, isLower) {
  37533. if (hour < 12) {
  37534. return 'ص';
  37535. } else {
  37536. return 'م';
  37537. }
  37538. },
  37539. calendar: {
  37540. sameDay: '[اليوم عند الساعة] LT',
  37541. nextDay: '[غدًا عند الساعة] LT',
  37542. nextWeek: 'dddd [عند الساعة] LT',
  37543. lastDay: '[أمس عند الساعة] LT',
  37544. lastWeek: 'dddd [عند الساعة] LT',
  37545. sameElse: 'L'
  37546. },
  37547. relativeTime: {
  37548. future: 'بعد %s',
  37549. past: 'منذ %s',
  37550. s: pluralize('s'),
  37551. ss: pluralize('s'),
  37552. m: pluralize('m'),
  37553. mm: pluralize('m'),
  37554. h: pluralize('h'),
  37555. hh: pluralize('h'),
  37556. d: pluralize('d'),
  37557. dd: pluralize('d'),
  37558. M: pluralize('M'),
  37559. MM: pluralize('M'),
  37560. y: pluralize('y'),
  37561. yy: pluralize('y')
  37562. },
  37563. preparse: function preparse(string) {
  37564. return string.replace(/،/g, ',');
  37565. },
  37566. postformat: function postformat(string) {
  37567. return string.replace(/\d/g, function (match) {
  37568. return symbolMap[match];
  37569. }).replace(/,/g, '،');
  37570. },
  37571. week: {
  37572. dow: 6,
  37573. // Saturday is the first day of the week.
  37574. doy: 12 // The week that contains Jan 12th is the first week of the year.
  37575. }
  37576. });
  37577. return arLy;
  37578. });
  37579. /***/ }),
  37580. /***/ 584:
  37581. /*!**********************************************************!*\
  37582. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/api/member.js ***!
  37583. \**********************************************************/
  37584. /*! no static exports found */
  37585. /***/ (function(module, exports, __webpack_require__) {
  37586. "use strict";
  37587. Object.defineProperty(exports, "__esModule", {
  37588. value: true
  37589. });
  37590. exports.uploadMemberAvatar = exports.uploadAuth = exports.updateMemberInfo = exports.updateMemberAuth = exports.logout = exports.goodsPoster = exports.getMemberInfo = exports.getMemberIndex = exports.dropAuth = void 0;
  37591. var _network = __webpack_require__(/*! ../util/network */ 38);
  37592. // 用户退出登录
  37593. var logout = function logout(username) {
  37594. return (0, _network.requestApi)('/Logout/index', 'POST', {
  37595. username: username,
  37596. client: 'wap'
  37597. }, 'member');
  37598. };
  37599. // 获取用户首页信息
  37600. exports.logout = logout;
  37601. var getMemberIndex = function getMemberIndex() {
  37602. return (0, _network.requestApi)('/Member/index', 'POST', {}, 'member');
  37603. };
  37604. // 获取用户基本信息
  37605. exports.getMemberIndex = getMemberIndex;
  37606. var getMemberInfo = function getMemberInfo() {
  37607. return (0, _network.requestApi)('/Member/information', 'POST', {}, 'member');
  37608. };
  37609. // 更新用户基本信息
  37610. exports.getMemberInfo = getMemberInfo;
  37611. var updateMemberInfo = function updateMemberInfo(memberInfo) {
  37612. return (0, _network.requestApi)('/Member/edit_information', 'POST', {
  37613. member_nickname: memberInfo.member_nickname,
  37614. member_qq: memberInfo.member_qq,
  37615. member_ww: memberInfo.member_ww,
  37616. member_birthday: memberInfo.member_birthday
  37617. }, 'member');
  37618. };
  37619. // 更新用户头像
  37620. exports.updateMemberInfo = updateMemberInfo;
  37621. var uploadMemberAvatar = function uploadMemberAvatar(file) {
  37622. return (0, _network.requestApi)('/Member/edit_memberavatar', 'POST', file, 'member', true);
  37623. };
  37624. exports.uploadMemberAvatar = uploadMemberAvatar;
  37625. var uploadAuth = function uploadAuth(file) {
  37626. return (0, _network.requestApi)('/Member/edit_auth', 'POST', file, 'member', true);
  37627. };
  37628. exports.uploadAuth = uploadAuth;
  37629. var dropAuth = function dropAuth(file_name) {
  37630. return (0, _network.requestApi)('/Member/drop_auth', 'POST', {
  37631. file_name: file_name
  37632. }, 'member');
  37633. };
  37634. exports.dropAuth = dropAuth;
  37635. var updateMemberAuth = function updateMemberAuth(memberTruename, memberIdcard, ifConfirm) {
  37636. return (0, _network.requestApi)('/Member/auth', 'POST', {
  37637. member_truename: memberTruename,
  37638. member_idcard: memberIdcard,
  37639. if_confirm: ifConfirm
  37640. }, 'member');
  37641. };
  37642. //获取商品海报
  37643. exports.updateMemberAuth = updateMemberAuth;
  37644. var goodsPoster = function goodsPoster(goods_id) {
  37645. return (0, _network.requestApi)('/Member/goods_poster', 'POST', {
  37646. goods_id: goods_id
  37647. }, 'member');
  37648. };
  37649. exports.goodsPoster = goodsPoster;
  37650. /***/ }),
  37651. /***/ 59:
  37652. /*!********************************************************************************!*\
  37653. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/ar-ma.js ***!
  37654. \********************************************************************************/
  37655. /*! no static exports found */
  37656. /***/ (function(module, exports, __webpack_require__) {
  37657. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  37658. //! moment.js locale configuration
  37659. //! locale : Arabic (Morocco) [ar-ma]
  37660. //! author : ElFadili Yassine : https://github.com/ElFadiliY
  37661. //! author : Abdel Said : https://github.com/abdelsaid
  37662. ;
  37663. (function (global, factory) {
  37664. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  37665. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  37666. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  37667. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  37668. })(this, function (moment) {
  37669. 'use strict';
  37670. //! moment.js locale configuration
  37671. var arMa = moment.defineLocale('ar-ma', {
  37672. months: 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split('_'),
  37673. monthsShort: 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split('_'),
  37674. weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),
  37675. weekdaysShort: 'احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت'.split('_'),
  37676. weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),
  37677. weekdaysParseExact: true,
  37678. longDateFormat: {
  37679. LT: 'HH:mm',
  37680. LTS: 'HH:mm:ss',
  37681. L: 'DD/MM/YYYY',
  37682. LL: 'D MMMM YYYY',
  37683. LLL: 'D MMMM YYYY HH:mm',
  37684. LLLL: 'dddd D MMMM YYYY HH:mm'
  37685. },
  37686. calendar: {
  37687. sameDay: '[اليوم على الساعة] LT',
  37688. nextDay: '[غدا على الساعة] LT',
  37689. nextWeek: 'dddd [على الساعة] LT',
  37690. lastDay: '[أمس على الساعة] LT',
  37691. lastWeek: 'dddd [على الساعة] LT',
  37692. sameElse: 'L'
  37693. },
  37694. relativeTime: {
  37695. future: 'في %s',
  37696. past: 'منذ %s',
  37697. s: 'ثوان',
  37698. ss: '%d ثانية',
  37699. m: 'دقيقة',
  37700. mm: '%d دقائق',
  37701. h: 'ساعة',
  37702. hh: '%d ساعات',
  37703. d: 'يوم',
  37704. dd: '%d أيام',
  37705. M: 'شهر',
  37706. MM: '%d أشهر',
  37707. y: 'سنة',
  37708. yy: '%d سنوات'
  37709. },
  37710. week: {
  37711. dow: 1,
  37712. // Monday is the first day of the week.
  37713. doy: 4 // The week that contains Jan 4th is the first week of the year.
  37714. }
  37715. });
  37716. return arMa;
  37717. });
  37718. /***/ }),
  37719. /***/ 599:
  37720. /*!*********************************************************************************!*\
  37721. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/static/image/member/icon_pay_nor.png ***!
  37722. \*********************************************************************************/
  37723. /*! no static exports found */
  37724. /***/ (function(module, exports) {
  37725. module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAAAsBJREFUeAHtWj1vGkEQ5Utxm9Zy7yK1U7m207gBAVWUn5A+jU0qu7SUf4A7QFDYlStbjtLkH6SgxGWS0hbc5Y3MRberwze3cMcsDBLidpmZfe/t7LJzR6mkL1VAFVAFVAFVQBVQBbZUgbLNu9Fo7NZqtRP079nfSW8HQRCWy+XH2Wx2PRwOHzl4DQFA/n21Wr1FkLccZ6k2YRj+gQjHEOFnGsZK3ADkL30nT3yIA3GJc1t0bQgAo4NFhh72s7gYAkC5Nx4STYTM5VJL9DY7v5pNsa0zF2SpAvR6vY5L4KJ92u22kwDGEigatITxVAAJs7BODKl7gAWu0mq1Guh7h102NXtwMnuC3UO/3/9uxRHTzCQAyPdBiARgvSqVF42azebnwWDwjeVUsFHqLEZ46vX6fhbykR99wu9LvC3pmi2AJNCrxMJeAqPR6BeWwNAlC1CcnGcFjbGO4HeAZbTD8YXtX9sOZ4MO9VGViDiT6XR6Y1eJRjUIh9AOgoNQ3KaQTRB7xhUAf7SxLNtOqhLZGTAfPMCOPlgWyGv+NPPIspWTpzERN6oSDyMM4vYASvsIXE6fRnxxAnDXvKs4yAKj4s26BFzHXcoPWXEP4HeOQV4tkrwQgMi7VqVpVaK4JeA4y85uKoCzdBviqBmwIRPpTGPrM8CLn0FM71naz5lrCojLAKrcXMm4+IkTgMpWFyIZfIz44gSgmh1kfmcglMkUx+pu3EGcAHTDAiJ8ANAfeD/HwS55PUG8i/F4fBqPI3ITnD/W/l+zxwEvumbczEl0FZcBiShz7FQBchTXi9CaAV5MU44gNQNyFNeL0FufAakHoaQDhhdTywS59RlgCICzMuvvpUxx12rG5WIL0F0r6hUODgFYXIw9AA8gTnFDgh4ifsJ7d4V4CgtFM0/kiUthg+pAqoAqoAqoAqqAKqAK+KjAPwtTxP9R7mW5AAAAAElFTkSuQmCC"
  37726. /***/ }),
  37727. /***/ 6:
  37728. /*!***************************************************************!*\
  37729. !*** ./node_modules/@babel/runtime/helpers/arrayWithHoles.js ***!
  37730. \***************************************************************/
  37731. /*! no static exports found */
  37732. /***/ (function(module, exports) {
  37733. function _arrayWithHoles(arr) {
  37734. if (Array.isArray(arr)) return arr;
  37735. }
  37736. module.exports = _arrayWithHoles, module.exports.__esModule = true, module.exports["default"] = module.exports;
  37737. /***/ }),
  37738. /***/ 60:
  37739. /*!********************************************************************************!*\
  37740. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/ar-sa.js ***!
  37741. \********************************************************************************/
  37742. /*! no static exports found */
  37743. /***/ (function(module, exports, __webpack_require__) {
  37744. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  37745. //! moment.js locale configuration
  37746. //! locale : Arabic (Saudi Arabia) [ar-sa]
  37747. //! author : Suhail Alkowaileet : https://github.com/xsoh
  37748. ;
  37749. (function (global, factory) {
  37750. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  37751. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  37752. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  37753. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  37754. })(this, function (moment) {
  37755. 'use strict';
  37756. //! moment.js locale configuration
  37757. var symbolMap = {
  37758. 1: '١',
  37759. 2: '٢',
  37760. 3: '٣',
  37761. 4: '٤',
  37762. 5: '٥',
  37763. 6: '٦',
  37764. 7: '٧',
  37765. 8: '٨',
  37766. 9: '٩',
  37767. 0: '٠'
  37768. },
  37769. numberMap = {
  37770. '١': '1',
  37771. '٢': '2',
  37772. '٣': '3',
  37773. '٤': '4',
  37774. '٥': '5',
  37775. '٦': '6',
  37776. '٧': '7',
  37777. '٨': '8',
  37778. '٩': '9',
  37779. '٠': '0'
  37780. };
  37781. var arSa = moment.defineLocale('ar-sa', {
  37782. months: 'يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split('_'),
  37783. monthsShort: 'يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split('_'),
  37784. weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),
  37785. weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'),
  37786. weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),
  37787. weekdaysParseExact: true,
  37788. longDateFormat: {
  37789. LT: 'HH:mm',
  37790. LTS: 'HH:mm:ss',
  37791. L: 'DD/MM/YYYY',
  37792. LL: 'D MMMM YYYY',
  37793. LLL: 'D MMMM YYYY HH:mm',
  37794. LLLL: 'dddd D MMMM YYYY HH:mm'
  37795. },
  37796. meridiemParse: /ص|م/,
  37797. isPM: function isPM(input) {
  37798. return 'م' === input;
  37799. },
  37800. meridiem: function meridiem(hour, minute, isLower) {
  37801. if (hour < 12) {
  37802. return 'ص';
  37803. } else {
  37804. return 'م';
  37805. }
  37806. },
  37807. calendar: {
  37808. sameDay: '[اليوم على الساعة] LT',
  37809. nextDay: '[غدا على الساعة] LT',
  37810. nextWeek: 'dddd [على الساعة] LT',
  37811. lastDay: '[أمس على الساعة] LT',
  37812. lastWeek: 'dddd [على الساعة] LT',
  37813. sameElse: 'L'
  37814. },
  37815. relativeTime: {
  37816. future: 'في %s',
  37817. past: 'منذ %s',
  37818. s: 'ثوان',
  37819. ss: '%d ثانية',
  37820. m: 'دقيقة',
  37821. mm: '%d دقائق',
  37822. h: 'ساعة',
  37823. hh: '%d ساعات',
  37824. d: 'يوم',
  37825. dd: '%d أيام',
  37826. M: 'شهر',
  37827. MM: '%d أشهر',
  37828. y: 'سنة',
  37829. yy: '%d سنوات'
  37830. },
  37831. preparse: function preparse(string) {
  37832. return string.replace(/[١٢٣٤٥٦٧٨٩٠]/g, function (match) {
  37833. return numberMap[match];
  37834. }).replace(/،/g, ',');
  37835. },
  37836. postformat: function postformat(string) {
  37837. return string.replace(/\d/g, function (match) {
  37838. return symbolMap[match];
  37839. }).replace(/,/g, '،');
  37840. },
  37841. week: {
  37842. dow: 0,
  37843. // Sunday is the first day of the week.
  37844. doy: 6 // The week that contains Jan 6th is the first week of the year.
  37845. }
  37846. });
  37847. return arSa;
  37848. });
  37849. /***/ }),
  37850. /***/ 600:
  37851. /*!***********************************************************************************!*\
  37852. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/static/image/member/icon_goods_nor.png ***!
  37853. \***********************************************************************************/
  37854. /*! no static exports found */
  37855. /***/ (function(module, exports) {
  37856. module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAAAyxJREFUeAHtW72LE0EU3yRiKuHAQrRRLOSwVWwvFiIWRhKStF4jWMm1VndWlif4F2hnPiFWV4geJxaC2F91CCoWB4qCRMnF36y7sITMx9vdmdzuvoXN7M68r99v3rzdzSaexxszwAwwA8xAcRko6aA3m82zlUrldqlUOqeT1Y3PZrOLkBF2KjJZ+PmJsX3sv2QyJv3w9WU6nb4cDodfVfJKAtrt9jUo7yCoFZWR4zoGEr4jtpu9Xu+9LMaybCDof5JV8CL+IPZtFUYdAVdUyhkZu6qKU0kAGDypUs7CmA7DiRggHlF1sBbXEEhtTu8A/Qdh34JxMUT2BZ3N0KZJSyag2+1umRiOynQ6HaFTi/bh+BmK01bYB5lZeBy2MX2RCFAugTCQPLdMQJ5n1wQbZ4AJS3mW4QzI8+yaYCPfB+AB6bWJ4TmZC3PnRqcxfRnZDoXIBEju2EJ7qbYufHENSHXKMmis8BlArgF4gqvFmOh1rOd1ql4cX/DzhuKHTACe4HYpDoQsnvSuL9C5j/57AHkKY58XjHsxfS0yJe0jEyC1RB84I1QwY6JZFR/L2ApfA5iAZaTdcfK5rAw4wraNAriK/TSO74KUb8sgxnkRBOBDvLFp441N9Jnieb1e36lWqy9QFNdcEuEkAwD6rwCF9gdm+8YceB/veDwWGXALMq/8Ds/zdYJja40TAjDj7wDsE9r6YDD4KEOD6/7vyWTSgOwYezRDZCqJ+50sgWDGz5tEi0wQL0fvmMimIeMkA9II1JYNJsAWs1mxW/gMcFEEy/hur4mMuIxrvJZwXCYnkNvDFeGtiyyyTgDA9wBIEGC0lcv/OWq1Wg/6/f5TI6UEQtoZSWDbazQalyjgo76g9zB6buvYKgG2gk7TrlUCRqPRPu7ohnECht7jOHpUHes1AMUMZYBeBLH+81EEMSNHIKFPnRlX8laXgCsQSfwwAUnYy4Nu4TOAfBUIfvKWh8n3MZAJgNZmbtADiHIJ4GbkT9bB6jAoCQD4D1knQIdBR8AGGBS/uc/kFsS+oQrefzOpEkjzHyMqP2mPAbzRP0bS9sv2mAFmgBlgBpiBDDHwD3Cu7Js5MQHpAAAAAElFTkSuQmCC"
  37857. /***/ }),
  37858. /***/ 601:
  37859. /*!***************************************************************************************!*\
  37860. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/static/image/member/icon_consignee_nor.png ***!
  37861. \***************************************************************************************/
  37862. /*! no static exports found */
  37863. /***/ (function(module, exports) {
  37864. module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAABhVJREFUeAHtml1oHUUUx3OTkEStBGnQtC/RSlO46YP0QcHPK2jUh8SQL4u0VfsgVURpI40fpdIiRkVBquCLUGkfpPm4wURM6UtTKUpB+6AYSQlBLRj7IEUTbWLz4e+UXJl7Znazd5t7k729C8POOXPmzDn/OTtnZneLigpXAYECAgUECggUELhmEYithOdtbW1ljHsgFovt4L4+2zYsLCxMUI4w3v6enp5/zfFKTSKHdXH+lVyNx1jrKJ3z8/MyZNq4xbkywhwHY2Tmc34VFxdv14OuCAAYkfWw144u0ta4KwWAh325Z6/UGmB52t3dvewLcnt7+4I1kGJcFQCNjY3ry8rKtvFsXa/0RoYMDUBLS8sGHD8tK2xkvHUYGgoA8vh16BqIuvOCR9hFsAvn6xyARo6VMQDM/h14+ULkPPUwONNHgImPfYSuEqVvGvo9ypzie5FveDXkmp8RAMz+Ngy8RxvJFnNfb2/v+5rvRZOeVg0AgR8BOcAw+we1Uxwyvof/geZHhc4kAp7FqVu1YwDwErMfNPR19xWnA0VAQ0ODbHRe19bi/ADOD2t+lOhAAJSXlz9HmFebjuG8bDP3mbwo1pcEIJFIVOB8h8O5z3i58IODHynWkgBUVVXtBAC93Z2fnZ09EClPPYz1XQSZ/VKc36v7Ev3J/v7+c8JvbW1NICN7gzj3tBMdcvIqqot14kOtY7XQvhHA7D+BTzXa2Lm5uS7hkRrXcCBKIlOnnZd2eOtoP4TcvUKvxss3AnDgZW00M3oimUyeXeRv4n6TltE0fe6Cd1rzTTrI2d2UX666ZwRw3H0IAGTfn3Yx+28bjFHqFw3aWUXPGWfDKmB6AkDo7tH2MZNnmP2TKT5ZYIptcDP8HymSFtMuWBO0v4icnv3f0gRzRGDPjB7K+QjwzEpoP6qFod/RvMWN0GbN96MB5SgAd/rJZKntgtbrBACknsdAvaKPM5OfawVhaB6J/YAgi+QOik6xYVQG7fOzFrQAYPblqLtVC0Ifolz5suBoy4gFkPJ1Rj5QSMnKJemZSfz/cV0cxHpMrTWARW4Ls3KzaRURcWlqauqwycuXugVASUnJ3Q7nTgwNDf3l4EeeZQHAbFvv+uB9HXlPPRywAPBYlCTf5+VlAYCXaxye/ung5QXLBUBa+ssLL32ccAHgI55/TQUA8m9OM/PI2glm1r2oqL6+/obKyspnyB7N9I2TMuV4/AdllHrPzMzMp4ODg/9kqjdX8lcFAGf4nRj6FuWWlMEAIVXZ38t/OYmKioq9bK93sf09npLJ5E7fh5Hfjq77uFdLX4C9AP0Nu9ZjfX19A7BCb9FDASD/BfCm+BMGfkwM8rswtAaDv5SvQfwE8Say1n7c1b+5ufnB0tJS+dy2RbeLTng17Fq3ovccB6tXOZUmtVwQOmMAOGS0YcDHlLVBBhAZZCUsDmLsZsB4mmi45NWXFzEbcexd2pu8ZBS/lkNPH7q/IiI6iIhvVbsvaeV8Qm4Yex/w7RXRRsA/BfgJ0/xrLQ1aj58FACityOsqc1ayWLd8swAg/I+EMQDgFliMdk1OTlZSradIKly2a5n0H9UG6R8dikZGRsbi8fg4gnHK2sUFzOx3GWN+gZ/2Ohw6yfPVOTY2NoOO8bq6ull4j5gdqV+mWGOaMuiehf6dvjea/CD6pS9yaZMqwKFHPuLswT4rUzizAIKClIVWyiAWSnmVdeXjSIrH/bxRl1x9HmNMltSPkwobNVPTYfUz3lAQ/eZ4aWiZDX51nLOeJXiPY3jqKB0jNT3p0GH1c8gIeJbccuo3x3RGgCngqoP0sObDuw0jz7JP+ALn76Td+pWG9pO6n4vOtn5zzFARwCPyK84MmYqkjuEbcX43VZfzE9PT04O6j4vOtn5zzFAAiAI+j3cAwpSpbIn67kwORdnWn7I1NAB8Hv8JANpR9HdKmeuOjKTH15jVY652L1629afG9U1JKSGvu6TM2traAcJ+E+G/Qcvh+yjOP8X+/LBuC0JnW7/YYOWpIIa5ZJqamm7n9HY/bdUAcpEQ/o4PqXIwsbafrv5L8bKtf6nxC+0FBAoI5CcC/wFnSFsJgj+g1QAAAABJRU5ErkJggg=="
  37865. /***/ }),
  37866. /***/ 602:
  37867. /*!************************************************************************************!*\
  37868. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/static/image/member/icon_prices_nor.png ***!
  37869. \************************************************************************************/
  37870. /*! no static exports found */
  37871. /***/ (function(module, exports) {
  37872. module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAAA8RJREFUeAHtWj2IE0EUvvwJJ1oERAQPQRQOxS6V4FVaWNgkJJEDsRDl8BoL4UQLC7s7G23EK7xCUDA/BBIhIFfIIXYpRI0/J7ERQU+w8AIJ0cTvedkw+/Nmk1sTdrOzMDdv3pv35nvfzO7tTmZiQl2KAcWAYsDHDARkuadSqclOp3MSfaaDweBuWV+32drt9m9g/gb8a9ls9gOHjyUgmUymEOAeHPdwzl7Rg4QcsM6DiA0jZksC0un0fXScM3b2chskfAf+UyDhtZhHUGyQTDOPaqySp7wCgcBeVA9jsViE2toV0gSq6Z7Hsl+FuFPUj4sMEvZFo9Ff1Wr1pZZTWBOopgceOunueeg60D2G+ZPY1wPyDmBMoxwyYD2L9m1NpyMAymnNoNWUfCaTOae1vVRjRa8A/7oBsy5H3TOA+VfntZnv5YsHngk7CNnV6wBBR4Bo8IusCPDLTHN5qhXAMeMXvVoBfplpLk+1Ajhm/KL3/Qowfgtsa+Lj8fiRcDg8Q87YiVnL5/Pv7QKNyscOh+MVgM2TxUgk8gbv2MtUQqHQW9LJBh6VjwyDZnNEABK5gEALKGIckhe6Nm2cXj0qn96ANoII3Kar2YytgnmzdkvD2Tg9eXE2Ti/z2UJh/9cRAQiv+7Y2DMfZOD25czZOL/MxwLFuOiWA3W7GcJyN0xNCzsbpZT5ks70cEYCHHm2bW16cjdNTEM7G6WU+lqAslI4IwFbZCmIuobSF2CQvdW2CeksclY9pYEbhiACKiYSutVqtY3hQzVEhmXTMeP/Uo/KRYdBs/+VFqFAovENAKn1fo/KxA+R4BdgN4Ha7IsDtMzRsfGoFDJtht8dXK8DtMzRsfGoFDJtht8dXK8DtMzRsfGO9AnBA4rCRQHywbYo6Rx9DGOAAAs7gYMUUgk6KgV0ga0dkjFB0myvbIgAnyc5gk+IGynEU4wBubz8RAQ5EAGb8KJxp+/uEGMRD8qtarXZHxNsXAUg8hKV+HYnfhLPunJ0YzM0y8G/gR5vzlUqlJeLsh4D9cHiO+9yrs0755lEu4xcr01HZfgi4KLvPwWwVZRUE/aSR3HL1e1i6HwIsc0LS6xjkKlh9ig4dy04eUA5MABL/g7JYr9dvlcvlpgdylEIciAAk/gXRZnO53AtpVA8ZdQQgwbrkfl9tNBqzpVLph4fys4WqexUGAR+tPKC/i3J63JKnXHUrALP/DIl+Rn2wS0Qd7Ss4c/vAiphx0JneYxOJxBQOOVxCcpvNZvNRsVj8Og6JqhwUA4oBxYBiQDFgZuAvEkR3BnAEm4oAAAAASUVORK5CYII="
  37873. /***/ }),
  37874. /***/ 603:
  37875. /*!***********************************************************************************!*\
  37876. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/static/image/member/icon_purse_pre.png ***!
  37877. \***********************************************************************************/
  37878. /*! no static exports found */
  37879. /***/ (function(module, exports) {
  37880. module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAABWNJREFUeAHtWl1sVEUUnjP37t5ugVJFfbDYpUqLsU/EqDQCqYr9l/CEvgERo8b4YK3VmGg2vmiCtCY+qKBRk5KYaAwxkVpCyBpISJT4giBIZVOklcqDKCvtLnvv8ZvWNpXszt293WV/vJNs7u6c+Tnfd8+cc2ZmhfCLz8D/mgEqdfSfPvNenREwuhymFVKkjoxOTn4f+TySzJfeJUtA62CsttqR69kQ3QC7GZ+bicVRh8QX05fj+6KR5ng+SDDzMUg+x+h8/qzF4eB9JLiDpWgnQWsxvjEzB4lNUoimqmVL/8bvoXzMW0oWQG27RptNI/CIINHDglqIxJJ0IJn5eIKntxzuXTOeTp5LXUlYQNvu0TtIBlrxdjezEBuJ6Dbdm4F8rcXWEwA6gA+6eC+6ebyPmmXP9W+O3VQTFA8KiTcO84a535VlV8Dmn+AJew69ED6XdZ80DWfXVhpBIavUOl+9ta/FsngbSdopiLoAfkUuczLRLSbTlbMty78V0ahnK7jRFjCzzqURfJQkdwumdZnWeVZkMI/ZLLpHesMns2qfptENI6BjMLYKzryViHuwajeodZ5Gn5yr4BDfPf9nvO9kpNlTblBwJ6jM3Wmw7pfMj8G7twFhPZ4o/EfOaNN2oPa6JdYemMCPacUulQUn4HLDJVkrVoawzi86zJ8hvqdcdMpVjODhvRScgGN/HUzcK3qOTotQtGpiyrOzygRx+vYQ3Sp+dzLJ3eqz8gEqTpscuNsxKcTOrAG7DVwsOUkESOarMpk8Pfxy4wU3PVwJ6NwdWyek3IGBmgG92m3AkpCzuApdTziO/fFI753f6XTSEvDwwJk6S1btQYxuxyBFyRl0yrvIbFjC11PXnKej/Q0XM7XVOhCLQtuJqaMMwSu8BkJtd7UpH88EXtVrCUDMfhKmpG2jG7wEZIZQmaam6MExhTV9y0LEgtfoFNUToOtZITKfgAp5kZ5h+BbgmboK6VjxFoA8RpvAFXwztGhDYYHdB/+MXdQ4DlBSOEBBgqf2IzhEy6IgGdJulLQEYArMV7yCGJ7A7PvZcfYLR14QhmMLh4OCZAoyLbB5rW1HuwPVEgDwxcSvXvJhYfMb3/Q1nNr01i/Lg9LoBvgmgI9LltEDvfXH54F6/KL1AaBOy57HObPqBpDX8O4+GO4Ln0IHClSZW7ErjcAqX4FdvsbEr6ttelaDaRppCdD0K7gIphdnTv6gJmqNxCw4M5XTN2JVWvjUgIQek8wNi1WkZAkAsISB6x8FMFHzGzBzzUKws8tT/qduoTzb71oCcBlZtCWwEIA6VoMqX0KZ+QtRRIITNqeOLWzn5bvWCRYzCiDSBVKGFZgBFYk49q7tHxomjlVJ3kPMioivElfGPN8HzJGlJWCuUTGeALnMDDiNmHtCzX/wpVUxXJm/bdmpsLTN+HB//TlUL9pCtWGua/C8XdQDEeZPeCrZP/xq4yVFQiFKyVrAv2C3iFBwsnMgNuwIe9xOUs63PzLAfPDF1b9mIk9LQDF9wIzCRLV4PkckcbMkJ6RFCVik1mqvB4q82UbdU9fXz/3WEjATBXKccG7gfD2BdinyoIe85+SkbqIyEqANg/kCUdRx4E1181c+ATr0kPkEuBBU8WLfAir+FbsA9C3AhaDyF+PvZDoQlW8Bi8kDkEGoHVdZF2SzozoALhbAe9FZ5dLlWtSfJD7SKa8lIJWkIZzEjGCAsiMBCXAK4A9MpXifjgCtg1Ad296JPWCy3IETGrUhadINVjoyPo3lG130f4TmAA3t3LtSVNFGXMqoE5qSL7D7M2zbR7a9/+x4ySvrK+gz4DPgM+Az4DPgM+Az4DNQJAb+AeXwm7utVyvCAAAAAElFTkSuQmCC"
  37881. /***/ }),
  37882. /***/ 604:
  37883. /*!***********************************************************************************!*\
  37884. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/static/image/member/icon_order_pre.png ***!
  37885. \***********************************************************************************/
  37886. /*! no static exports found */
  37887. /***/ (function(module, exports) {
  37888. module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAABaZJREFUeAHtWl1sVEUUPmfu/hV2uxLZ+oPYNkAiyE+U9kHSB02FQhMbYwxR8IEnNfGpPhGjcVGjgZjWh6LGNxObGAmJ+oA2kagPohhK/KH1QQyURFqqJcUi7Xb3zvG7bZfsbtm7e7n3qm3vpO39mTnnfOebM3Nm5pYoKAEDAQMBAwEDAQMBA0uVAf43HN9+6Ld1oUj4GSbZS8S3V7YpI0Lcq/X0u33Prz1buf3Nt/CXgHRatSX37VKsXoahZscwhU6apF/t62w4BllxLF+FwE0T0Pr6L7dGIstuEzFDypAicNkcTV2T7EgyHG4gDqeJ6TELi5BMsdBUJVzCFGPi2JzMUda5A/KXHtK1XMemWlZqT3TInJ6+dun4C+vHKukurXdMwIPpL0OxZGMHs9oPlzZDoYJTRQTA4W+06FdQdweTkUbogwj6KEe6x8jkfs+EdXH7ElRRiaxmQz0HrbvR8JyQPiCaRwyDX8JzS6k9EIbX/BOb+uCx777/mI7sNktUln0Mla0pUxFZ3rgavdMxG9Jz/JXQCD40mSqnlI6RohjgZYDwzNjg2On+95qyZVRff7316VOjqXtSA4opA9UxISMqRs4UMYSZwyCzqMw9NoviR3Zua+7//AidL2pg8+CYAIO5BgZrbHRasZ4E1qQpNKyILgL03STybN2GVHN799CftrIzlZyCkq3EnBCRM8TmMItKoKrWTtbClSW2x1aiwDEBWYx3dAGirnxBhDTA8XU0le2lGj6O8LwXJDRAwhoKVRY0FJmApeM0mTutYpE9IKTBThhRJgpxYtemtM4xAaUKbvjMtJKEd+iYcSKTlZ6aMI0jKvbBgXpgDN9QpvClcI7ZGvvy/mROfxCNGY1K0Q5QsrKwmRf3/hAAZJiXWhUbl6MheuOzzvo3t6ZPvZ2sTawImdFIJeCY8DKXJ0fH+9NN1x7uPr9eESZEotZKcjdT7xsB6O0IZusnDUVbdr11/lMsbH4QrSc4jFGt7QcCGybVRVLx9q4LWzDWOuDYJvQ+frwv/hFgYWXkAKKNuOAXRRnWX1xnLxX/+uV1geFqoRSILK7bgIDF1Z/OvfFlDkD6GsQEeMRa/c2sCp3jKpLAukIhjW7C3PE47jcUVbp88JwAODyFNcDRS1dGD1lpzCW+6+JIo8fqknVYF8kakBC9XuHyxnMCgDCCnt+Uiqfub+saGPw7E5fl0auuU5ji+HqsLTaD3Hl7ATcceE6Alfrg7aNsUKtwfCJRw5ol4ZoArAeScDTuxtkbyXpPQN4KNjLw2trAeLKEcc1gHlfJNUiDJYQsucclHwG+zAFIhRnk7WFsacewO3e0P7cJwZWYB+60Nlk2bRxXeU4AHM4BxYdasq/1dXp3pN3WdXat4vCLIOEp6J/bVTn2d56A90OAxTqQHDGn+Y951ly8mNM3glOiqg88qzHneQRYqzTk7L3hWLh+Z/fQOWbs/3GUWQ0YuzY4UmtEfQt+/99DwHIC3t6FyxMAPfPk3n1Lqz/F+yHgD07ftAYE+EbtAlG85CPA8yyAVQ+27PIj1j+9uPnZbSCwNma+synmjVgE7UGWuc+tzkJ5zwmA/xkY+GRcLh7+tnPbZKExN/cPdJ34+hZZlRAlOBeY/XLsRl9e1nMCZg5EWJpXmKtath+8MKAi9l+C80Dsrnoa/2HAsgH5tQlJ1rPTIMum5wTMHohwOxarD4UMmsRxnuu9gIpAK9MyL3s+T7j3BOQ1Mz6LVvqKnG9b6Wqtp8CAH2XJZ4GAAD/CaiHpDCJgIfWWH1iDCPCD1YWkM4iAhdRbfmB1HAFO/w3ND9BldeIAsmxdmQrHBEwbNIINz6+wdLWMzv/ktYWHNZ3VOT3sBIBjAr7qbBzPZukdHE8fxjeAy06M+dXWwoFP5z0Wri/2r7nil51Ab8BAwEDAQMBAwEDAwOJi4B/J2J4udw7kKgAAAABJRU5ErkJggg=="
  37889. /***/ }),
  37890. /***/ 605:
  37891. /*!************************************************************************************!*\
  37892. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/static/image/member/icon_refund_pre.png ***!
  37893. \************************************************************************************/
  37894. /*! no static exports found */
  37895. /***/ (function(module, exports) {
  37896. module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAABuBJREFUeAHtWmtsFFUUPvfO7KuvRbaA8qgtD4MskbcUI1JAy0OJL0AT8ReKQOIPNUCiJu4ff0GbGBNjotEYSH9IApioSAtaEkHDIwJJeaQPQBIMhaV26faxuzPX7xYXKm3nTkvbncaZZjrt3HvP47vnnHvuuUPkXi4CLgIuAi4CLgIuAi4CLgL/TwRYX9ReVl4zkpn+ScS0UYwxrS9jB7uvEMIgTk1mKlVfuWVyo11+dgFgK8vqpwhNf5EJWigYG01COAoAYsyATE2C6CgXqT0//nbyLO1ea6iAsAVAaVndBI173yQm1jNiY1VEM9kOS2gEGDuTQnx28J2HG1SycFUHWvOtpnHPfGL0vNOVl7rANUcTiRU6mfMpElHqp+xQEp7nEYImg2ihEiyndBA0jhMvXBF9zaMSSQmANzumwU8CTDAlMRWzoWqHpXoxaf7GULMyTikBGCqhM8XHBSBTyDuFry0LgE9xwYStvk5QTMoqZbYji67qlIjnGXqe0UBC+xmElf1V9IakXbAUkdGQSyFTxU+pUHXN8WRp8eyDnLHzpoFswOGXBkHJNIxE0rxaTTsTDhfXFS/jCKhNGulkafa6fI158jMurQ0BTE7MYMLkqVS0Mr7rBtJhyzigBGDF27U+UYRdINdWMRLDIxtEEBSMvqP6jn37P53SYYWbMggaBa26xoLTsRd4GVsNnxUxp7RhtepgJqtPFbR+D5ksAbC1VpKQVsUsTckpyks5pKyChBmNJ1EesL7sAWBNY1i3ugAM6+kbAOGVQXAAePSfhKA2+HIC+acfuf2gBGDHugAUj+E+iMS2kgQ19x9F65GOBACh+zqU3otAXoZK72HU+dqt1eh/qxMB+BO7mV1kik/aYpeOYD1rByCDJqeTYgBq+KIWZe0KSvKK/VsLGjCvYnn5pf5Pr42RzgBAINARO2UK8Y2R5PuqthVcTcvOuCxsyGKMMmtPD+nTM+MAwLxbIPFR6PeVEPGqqm3hm101ME1q1hirQ3sc1pGDwn8uTqey8P+AuEVGAYDyUShbhVT7ayPVdKRyy4x4V+Xl3zzFTppeKuOmCeV5ELHhQShfhLL3o3g+guUx794xffk/YwDcjvRiL/L2Ly7Hbp2piczosXqDWFAPheRN8pSqJBwOeLL8D+m6PhVL5BOwiqexSkxDa1Znnz7+yhgAWObaYcpnm5OtF2oi4R6V76YLDjurd3e6TC3a6pZ+3HDME+DHEB1exYHtUjxD3cYoXgyIHyl49NgMYfNhws/l+rIWl24/nd1jJ+uX4tAHE69dicV/MI3UDrjGHoB6w3pI99aMAQDlAyhaPAkr2KzpwacWlB8NdBdP/UZaz08tO0+aTHyOzPEAYkO3OGJFJXMuAKkQwPz4tRBBMDWCxhuoPh2+t4JTsuNCvk/zFcBifPj44RaGNSbiV25WRxaj9P3vhbJXR2TRGX9uUQXXqAiUZ8IabF2Zs4C74mUJYiVY1DaKifqCcKTGe7eJyK975yAVeA9gRTTd8xHX9W3+4KR1y7c3PNbVaiQggsV/h96wAtGMqojyYFTycQIAWNopmyGa40h704ScnMfnbDhxp/aI5b4AbrIIkb4U92rcmxkTHzJde38EH7dmSfmFcWnADryLHEKIX2EtNdK80u+tno4AoFNAJDiYvWVcp7dC00KzSyK/dLqnMPGDamxaCek2uPGdEr2Et1u9zP9G6Y6LU9HeqXCi1axB7e44ksfWXAoo9VN2SDMeiidmNwg+z+qCb/TmTJwh1/3e+AIED/qHYT0bdM43lW6vC8svQg6dOnEDu8gz2FBdC5BXqZ+yQ28CDN579gDW9FWaRhuWFc+dLk85MdN3LOBevmgeC0d+BfFh/TNZr0+SH0bhbOAiVoUrST9GKy7lKiArq2OCEKCLGSpo3nczpA5B4xe4pifwlGVthSJsDHqs1nXPdVjCl2a7+Rfz6i1trENZyVYCMDoaNESQWhFckjC5+1bOLgHwkh87rRaCxRDRke9b80breHRZy3XtYoIlqjRqb/m7zfpMQMrSq4+lBa1bGRKTvbMKOWdz8a7PqWaaTv+eDBsgGgkz99sbL0Ziw+ThnJ+NnotdPl02826u0AsBdQxAksFZ6jRM8ThccdBKU73IJ+fdeuq7DmTMC0st1k1enDs2JCe319iRHqZ0AdmxNcZrfUGzAglJABTnYc1GtGa2xqYZDfYTcpnID1rgpedNRlcD0ZRSeSmTbXTlhoVpuWEcks4CsKNw9nYnWRls5WzRZyKF+W5CzDgnWMsfnUmRjYG2AUjTup2gFOq3KKp2n/SgIXh68xLCF+tI/mePMAR8XRYuAi4CLgIuAi4CLgLDF4F/AE7DM4obtQddAAAAAElFTkSuQmCC"
  37897. /***/ }),
  37898. /***/ 606:
  37899. /*!************************************************************************************!*\
  37900. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/static/image/member/icon_friend_pre.png ***!
  37901. \************************************************************************************/
  37902. /*! no static exports found */
  37903. /***/ (function(module, exports) {
  37904. module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAAC55JREFUeAHtWmlsVNcVPue+2Txexh7XwUAIGBwgoQnLGELSkEJBIir9UbVNq6qKEvVHKlUqUdos7b/5mapVIrmbShWpTapWaVqpElETNWqhJCwFOy4GEyBOANchGLyPl9nePf2ujYsTz/LemzFRVV9pPOP77j3Ld892731EC20BgQUEFhBYQGABgf9bBHg+NH90O4UaQ42NJLzWYl4tWqpFUT/Zcjabsc+NJK4N7GunzHzwdkuzrABciK8INdRGV/vIul9YNhHxOmZaQyRVQjyA77MschLPTlAqe2T/8c6er75Ctluhyzm+bAAMPhuLBMPqAUXydQh4PwsvJiZfDmGTJHJBE/2dSf40ks4cb3yqczzHuJvSVRYALsdj4do62c2kHmfmeyB5qKj0QgliecvW+ueD+urfln23d7LonHkYkGuF3LLh2oher9h6lITuxeSAIwJM1XCRHZiXiPoaPyDq7XA0r8yDVKn0Rn8cq2dWD0KZbcTsTPkbTGEpstXStKXtsZj/RvfN+1UyAD6L15Di+yBynRexmbhOmBqXrxor7jZeGBSZU5IL/OEhQpajteBxexE+uR8LjSIOvKltOj42mZpJi3zlR3eHayyutdmqQTD1acVpRcnhD1Vy+Pa93ancxLz1lgTAzm3NlfD7JkTSBvfsZQxz3hCRnw1K37HfUG96/PnYYljTRkW8Hq6xwkdci0xhCVFGONS/VAffnXxuU0cqlTld+4NTQ+55zp1REgDhdHUd+WkJyFbMJV2gRySFuuAtouwv3h9KHw6TTz1dG9uMWPJFKL4TShuLqkEahYvCSfAP+jKi1AB6zgR8/NdE68b9bYMd53fEKVuAU9FHJcUAW6kauEAE4rlIp4IFpTOoDl/st68dmbwcksZowz2s+AlQ+RbS6GaQq8XnY7KxH0waAcQOuMXjKLb2bqndvNG4YVEtCwz4GJMCI3M8YtJBlLvuIr/QCILea3Y2PZX716zNrkZh9AiU2wMWDgIpIGIUWcIPMcsju+/fsDKHaI67SgJA+XyVKGurHHPDQGF+h0W/Wf1U59WB1uYay/Lthn3vhhW5ogNricI59gTZ2mUKMTcyzB7rGYB3W5uDrMVkgKbZBAv+FvirUBf8/4wZF6LaVQh4D2D1Fxecl+chQFgGWtuqI7I8z5Ci3Z4BWJSOoJKjtfDHpUW5XB8A5x9F1D/fyyN98TjivT2VQgEiVPHWLFjBnZaaouOJgmcAdCZtIyIjd4vj3Ry0vAJle0wuf4xiIagN64E/l9AA6q0kqtlYpBcyngHovhAYw2r+C4vX7ZSxkFzDdrjPjI9UaER6WgYAXfn+x3mxIAuBTmMqjGzkvnkGoGVfe0ay6k0R/TIS20UnrGEBw9qiETNWB9gIXjc33TmhNGsMttyg2yD+gIMMMmve9Z+eATDzw9870ZvV8kf8PIJUhi1+4Yb0l7TTMrXtRfCrgODuCqg85OFKYUukMs/jgt0lAQDK0j8yeAF+eByfKdPOy00kjRw46FPZhBljaghYTijveBcPkAmCUzWJizkzQ0sFgJriF5M6mz0Igq/jk7c+h5CXIWRn3+jIwIG4OSmyVqCgcZxBZgTO9Y24chsrq9nLlrpkAIxAlxLpdxAQf4kgtx//5gFBekmrbgPYhsiGKrbo0zAgZIEyNOYmuMFdt69NmtTsqpUFgHXxrvSrh9vb2OaXAERnHgkUWXqKnzWZtBC9K1yX0XkIo7jyIQYFOGkjrLhrZQHAsDSnu1rTOUT181hZhIQ5DfmaVnbF1wX6qrJj+H0OFnN5zigPHdfjz3tTdF3OLxsAhq+2JzJQzJS7cwDA0jQi9O1qigY39Q522xnRhxAD/gyoCgfPIgqB0VUAvj9DfMDLYUlZAWB/aAm2q0ty5nacF2IjtB1+8JWtVRuXto28/a4m+/cA5kQeiymiunksyKxyAgn4t21DbWcdTJgzpCwAmLo+2RpbpRR/CdG+ZQ6X6x1Qth4r/hn28VpzkDE2mDoNYzkGe5kqjvLNy9/PwzhXODY2MnnS68EI0pH3Zvy5KWrdInbgLi20B5H4C1CycGpjWqlJrb8aX3f4lnjX+GTr5rdgxtuwkp+Di/hdSJOEBRwhLf8wdFzM+8hQ1wD8+7lbKxp48WJE9GbSuPcTvhNnNxuh+J2gXPMR6jn+MVaA7gcrIxWnQOvgBA11VOjIC6SUOfExp8vFiyORcVRSh2xN+8ZHUx2YMyfm5GCds8sxAP+992O1DWYbQwpbAyGasHL18Hk3p0LYwtIWZdHDUWq8Urm3rQPW8FpVpMKH2qAWVoA7xUINiZboNCrvX+FG6Y1l8dJulBzFgMdiS8KL66LbLbaeQdR5BnvwhxHB78MH93+ulJ/WjLkSNO7GgUqz6YAJj3E2fQzWdKp4QGSz5+gg2z5ejus0RxYQbdBbhCzc+9F2rFAIK19iw5G4oF5g9cEMoWzQGrNIEiiQEEcLcRANORJJZs9+P8PTfDsCQIm6Bzp/FuOL++ds6rN/m90i8wgM+DyUPIqV/st4KoEVn26irShiCdypkPJmLCu4QEMoq832d3h6tve/jgAg0WbVvW5dEa2pB/NPi9YdWridJdP56tGTV2beDcAZf4Ml/CBAjmFsMftCGS0tEvDvxJX8K9Hvt3tModOgOQPAC8BYcazURUw9AKM+ZNv2yYlE+j3j7zPkzGluTa00Q/nPQ+uvoX/VzLMi36thCN8MhaR6vLXl4MRkorvhmXOJInNyPp4vAHBOyKdg7i8qrfefPsuXWvZ14PyQGBG/KlQVutXy80qs5B2K1VY4/VbcEaJ+gHc7aQi8GLgFZ5JLEMUfqKqo6ZhobTkDzC9k7dSF50e7huNxKnpAY1jNCwBQ/APkqt9ls/JSzZNv94MPm3s/S8l6IQUzZ9QMuP5Sajme1UMZ3O44090Ifb2ZE+HlqIaX4YJkB373Eqn3lRXueioS++fTrZm28N5OE2RhiPnbvACAdTylbftAzZMd/Qdw+LElErtbWfxlpLmdSJ2rIZPJ9641zqnG9BWaORDFGSPeScLVmaV4N0ngDYD+8vGR9s5CZbIzABRdAoMuCA7EKQxGheoHW4tckmwaK4KoVr1+pWWpR7AM34DK9abPw2pPT3P0FzdMTBvB7zZYXPDemk0/JXo778m1IwDgTAex15+EAndA+KXw3QYwwJshFMF3DUCpxO8Qvk1FmAE+gxMTZIId+3zWBvTvuqG8Iy1KHgTzQkpVu7TSh0HsPXwg6tzmCIBnX79yMbT1Ss+3aV24ui4UzWo7CjOr12TV4WaoGveDEZCPwPxwxs8WLOBoz+VQCpslPwqeZQhWJV1+zBXbWQ/iEPjyiu80U+An3ZTKNcsRAGZiHFE1TlMpzKxszyxiDD+31lAsEA6mg5aP/SjRxlv2dWau/XBNNXzeFCxea4hZbNz/hNXh0pSj4RV1IeoeKg2AAuxlOsi0mxcVJmaPC/h92OGJubLyEuVnk/L4W/AKD/vTlp33HYJCwcwj0xvTJGWqVjRT338SzQHfeQUgERxKwg9HEJXTn4T+hi+QHx3vrzLleM42rwC8MNqbghDvIxD2oGBxVJnllNJbZxLKm1dxuva1X84LQHmKkQICJp/fvBKnR7tRBJl3f5ZgJ/gpnClEAUgVgpQJjiZGIBjjP9cN9iW4omeahLLjyEjDoD2ANN0HcpeQuk8A90OVT7R/mI+0B6b5SOXvx3t/lSjVbpGgbxHOFRqUFrwcyXVQOQJhTS1h0idqCanEvsCUxhhnSmTBERvOCXGviPEJ9A+gvw9zBjEOyUbGMAYvXfCQeaZZD+G4pD+r1FViuw9vkQ0VqgKNxDcFgBzQ8PbtZLUEFgVtngyGM/6KtKVww0tV2BxFSVmLsLL1qC+qoawfymewuni5mgZw+dCnRQ/iDmgsYOuJCX9mcig1OvHrg1Nx5ma7WQ7VFroWEFhAYAGBBQQWEFhA4H8Fgf8Apmotdf5MUkMAAAAASUVORK5CYII="
  37905. /***/ }),
  37906. /***/ 607:
  37907. /*!**********************************************************************************!*\
  37908. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/static/image/member/icon_list_pre.png ***!
  37909. \**********************************************************************************/
  37910. /*! no static exports found */
  37911. /***/ (function(module, exports) {
  37912. module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAABgJJREFUeAHtWl1oHFUUPmcms3/JZpM0immFprGlmiCFJIuBFEpMVepDffGhgqlvUim0Nj6UPIgriBUVTSpU0EdffChCbdQKDfiQYGLSFK1pBesPooVSmphNN9lsMnP8ZjebJoXszO5Mshs7F2Zn9t6Zc77z3XvPOXfmEnnFY8BjwGPAY8BjwGPgfmWA8zW8pzO8hbWKViGKsiFqvs+v1/2isA5jRmXhztipgZnbdvXkQwDP9bW044HnhJV2FooSU5ldRet+n9CiMI2yGEPonHPB45eGoBOXuYttAmD8XiIlxkztEBnILbaorUkRgvFGDCQMWiGxRcD0B001fjX4GTE/ayWwZNpFvp7X57oi3ROTuTApuRqzbRoHn8H1/uz/TXLer6nBp62w2iKAVTqK3vdZCSupduDF8D5qhckeAcRtVoJKsZ1t4LZFAIwrmXCXF9E2opRdAvLSu5ludh7HRRLCPM4i/yIvqEfkbYK/2DTEOiNAaA4Gf0q02K8byhSTUs+KHIHzeSo7CkTkLyIeRk6Syta5eUZeUknCHSA/XIhcRwQIyxUjqb9XfvLyjSXl48kPo3FSqC0NSMRA/SeLhv6FpnIqnasVgnKtZ8pYdJ0iqkIgl59f67Zc9Y4IAPM/rTA+rSc+PTscrg5iNHCmRwwaCp8Yv5YLhNO2ub7WnzHqNp4AZtn2R6w+sCP2ZzJrhL9aq8N1MP0fLGA0vJjoba5QFYwAA9m6m0VB5m+AaObOQsU6GgHIuaN11Q8cnnu/+ts7+uykvyxQ55OyV2D2lgwgxhSVQ4qi7sGqZAFkuF4URSogtLFQwY4IgHm1cHInSVPbKrTwDRjeAKd4YFUUYC5Ht7cWCtD6OWeDyhEBJjiQ0ICTeZjTIAASNlVxc1CW8hJ5zU5xk4A1lZRyg0eAG72DaPAPMr1fyEyHN1lx5gQzmd4FhPtzhlAc5x1YE3TBMz62zEPmnl8RBuOmx1yud+MCIQg6y+F4d0NcQStWZwQwXzcW5c1Q9+goAMiNWEuopoonAagX/7NO8Ufkw++KITO4xQ2z78pAIoRUqBy8HgcR5rvKvIsjAtABI6HusR+yWrfGLs3G3370rFYefh19vc2sh/GDoeNjn2fvWY8zUuFGkL7xBMAY7V6DWPNhKAqca2a0K0w7E33NLYph2H5Xf6/MXP91gyPQVZxMEHP6ibnT0X1/09TwrmPX5yffaYmoGh2C6UupcBr6PpWUN0RV14WAMlWqMLOezEVSrjZbTil5OrrG5MUkEPoOP1/B+d0mRW0glhcwH3fmUrqRbYFjozltdOQD0okwUwfOezDi41gd1uLaXJxsmuKQgIydcHg1uMKRk+ySJMXLBEuyWzYQlEsjQBaQBic2ELdrqtzwAROY+wNCMgUSHkFoPABPsDIMoprMD5QLrqFeIQi6gnA9lSuq8rp0RAAMuwnD39JZH0ik9Nkqv/YQyLgJBK/iSOfmaDfDZL/CnES8dtdL4n0b5NewKFh/0K68LF+62REBCHsjw5NjZztitLgk7ze8Fj+DfSNdsPRBwDPE4I+uXpPz/VvH9MYJdwm42kTyMrUEamoI2SC9tuEEgP5bK4xP659JxW9VBMPzd0Oi+B/eteB7KVGv45uRqyUKaSF/ym+I34cRVpBsZyOAqBk93hA4Mfr7knYO+So6ASXjA/CJDB/JjkV8vt0RrXZ9vgwRV2JJeLAg6/GQIwLwfBOWPT2J3tbzCun4NqhuR90R9H4oCwgd04a5/zico56tc/csfqTe/kJlOiPA3IQgchifpppF1GmA2L70lng1HrwaX13h5r/Chn4WgTMCTCmZnSPNBU7BLI6inV1KhIqG37FiewRgD55jTcUQYAO3LQLgZUeKgd+pTrwx/d5Khi0CkNCcwbEuYcwKYMHtwCu6fGz1vC0C5mdT30DQRSthJdZ+MZWcv2CFyRYBVT1XppBzn8JhkrC8F8BKeJHakyZOE6+J2wpDXkHU3C+MOH8Qa5q9JbtZmmQQi68v7ewTNsnJiwDzgf/bdnnTJq94DHgMeAx4DHgMeAzcnwz8B8PHyVMSvoF2AAAAAElFTkSuQmCC"
  37913. /***/ }),
  37914. /***/ 608:
  37915. /*!***************************************************************************************!*\
  37916. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/static/image/member/icon_testimony_pre.png ***!
  37917. \***************************************************************************************/
  37918. /*! no static exports found */
  37919. /***/ (function(module, exports) {
  37920. module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAABONJREFUeAHtm19sFEUcx78ze9fr9Y+Fnq21YHNgW9FKaPDBhyYWbSQERB9MeDI+GhMTjBp98EGqiW8GEiMYSUjwGY0REjSIMRIJAQsJNsUgxZa2nFUr9GpKae92xt9cvWoruZvZm92z6U6yuZvd3/z+fPa3v5vdnQPCFhIICYQEQgIrlwArJfTRvWvjq1hjkoMnGUNVKbq8jOVMTM9l2HCa/3rtvlfHZrzo8ARABV7PmrY4Dl4ko90Aq/Ni3M4YmYbEaRfYn2KTX7ftHpw10WsM4Oa+zlUxHnmBzvjLDKzZxJifshJyVArsm+GThxK7B6d0bTm6gkpuoLejojEeew4MrzHG1pqM9VuWTobKwrYo4hObalP9Ry5RXmg0riGzIJJcHdsIxp6i4FsWdv6PvpBf6ymld27v2tyh65YJAMYZ3ySZ3KirvBxyyj+H/NS1rQ2ACl8lhGwmwgld5eWQI/8aCELzlfdbYzr2tQE4U/eoghmFZEZ1Q8cJyzJRJlm8+kadlp/aAHJOMqZVWLQDqkogsvUd8Iee1h5iWzBiW6GJvui2d8HXbIbzwDbMTaUgx/pMhluRNcsAKybnlfANO3LB51VGut8AeDTfDeyzLADY3e2IdL++KEhen0TkiTdpnyo1wbXAAfAN2xF99iOwiv/eOjgP7kBk516gujEwAv7XAEprtqYT/F7a2nrA69cXDM5JdoE//wnEz6cgRs5CXD8PUH3wq/kLoLoBFbsOg9U0GPnPIpVw2rfmNikl3O8PwT170EiHrrCvlwCrbTIOfqnjNL0Fb3p46W5rfV8ByPF+uFdOluSszN5G9syHJekoNNhXAMpw9qu3IcYHCvlQ8Fj2xB7I334sKFPKQd8BwJ1F9sRbkG7G2E/30jGIq98YjzMZ4D8A8kamRz0F4p7/2CQWT7KBAFCeieHvjByU6THIyRGjMV6EAwMg09eN/FMAgmiBAQAzNWUq7w1XMFbINxZfbeZhlaG8mfYFaX9nggtm6Is79+8eTXEv5Ka6cvp3wImBN7SD37/lH1AefjUWGdDsBAZAzeuzfYfpJ0FAXP4C8ua1RS4K1fv2PfBWul9o7oR7+fii4351AgNAEwG4Zw4UjkNkIH76MrcVFrR3NLAaYM9lu5pCAHZ5Lj9tKz4DrBVBvu4xRJ7cAxar9T0N5Oyf83eZQ6dKtmUtA3jHM4EEryJWkJU9G80aADHwOdSZCaIpO8qejWbtEhCUjnMHe2z4FKgOaxkQqNcWjYUALMJclqpWfAZYK4JLT7+teYF6MSJHzyFz7BV6rpZdaqbkvm8ZYGtekHsx0vIoWKK15GDvpMA3ALbmBSoD1LME+cfgnfwveZ9vl8BymRdoZ8B0fZoWY8rbhNz8DUfJ58lIQYYWSc3M+1t8nDYAWoKqHur9QiVporja8knQFTNBi6RSuktmtQFQSFIw9gOt3+gvX3jFLdPL5IuuFBeLS85LmADAuRt9/ZLhKFEe1jUQpBwVzKu0HT1++oL221gjAI/3IjtzS34qpfiAIIwFGVwxW7nF0hL7b7H0Z7uOgOqVXqOMNm9DvcnKxrpEj+Owl2jhZBeta7rLXIutEX8vlxfyQMpJn9S99vPWPQHID071PlJVU4MWArGubH+YkHwoLcZHvP5hIh9L+BkSCAmEBEICIYGQwMoj8BeTnmkTQ+fgsQAAAABJRU5ErkJggg=="
  37921. /***/ }),
  37922. /***/ 609:
  37923. /*!*************************************************************************************!*\
  37924. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/static/image/member/icon_collect_pre.png ***!
  37925. \*************************************************************************************/
  37926. /*! no static exports found */
  37927. /***/ (function(module, exports) {
  37928. module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAABNlJREFUeAHtmktsG1UUhs+ZhxMHm5iGtgil6kNCCFEplSLxaIpqKK0SGwq0NRLZdFEh9bHpNmJBxYoFKoIVXYKAjVWqqFUDKQurQuFRAqKiQgJVWZSW1k4iHEdxMuO5p2fcOiXFHY8fMyM5d6SxZ+aee+/5v3vnPo4NIA9JQBKQBCQBSUASWK0EsAHheKP/1XC0R4ugpilu84ulknntplZ4+kracJvHD7t6AKAxtH+bquIhBNzFzq3hU3XvJC4B0VUi/HKB6HR0LJ1zn9c7S9cAzERqt4r4LiAMNOcOzTOEU0WiDyLn0zebK6v53K668Onh4Y2Kgm8B0Pbmq8QIIu3rBBo6AeCq/ubrfHAJrhzQhfoyEu0GRNc95sFVcgphLyq49Xgy2e1o50OiKwAE1Mvie1vmD4LO40FUN9Rwy8pssCBXABos2zkbgkV6h3A28j5V876K6jUgKc+HFThcSr45Vd2igadEAhQxY1h0uWvsq7/dlBAYAJ5N+nhA6WvRqHJHa7kwVXSq9JeVTH30r5j/omdsbM4JRHCvgJNXzaWxJnySx+uRGEaHT/X3607FtSOAit4NPN0O9mx6YmvlQbXvdgZg641ruh6vJrzyrL0BIHbzsv3hithq3+0NoKzYeaZdBQCqtfu9ZxLAPRYBXRGYYJ8BHcH2AILfBMIxAvE+7w1mg2AQHABudQK4WDTMUUuI8yz+p9UFAOlPQroYHT+Tnc6alxnGd7xPLvgNIZgeQPYBPxiG8aMt+PHJswsCrAm+/KW9AdiyiZZsoYTwddf46LWK4DlRnORQ2Tin/8NnqfLc628fdoN0hXWPEuKvRFZWkDq9VFzMnsycXTHo2bu2qXj85PrI2k81AWs5XPAogvoYb/BeQqAkb3DWeQHDcwD8bv9eAuvzjnNn/qglYHMms8g21++eZfNS4kCBw2fb+MYTAJ6PAbznT2qgHykm9m0sK6rjw0we2K4gHubW76sjW12mngNg5+0o8KEQaiPFPanNbr1j8S9wGP49jkUOch7P/PSs4JVCsYt7wsGQTiOLyf1bVqb97w7NodROFn+C4dk/wHh6+ASANSB08tZ0QAPsd1LEA2GHosAOtnnGya5Vaf4BsD1GmCULVoz+9wvhgdCeJnO8P8jfn+bFvb8ACLJCwWwNIbwcYAAIMzXsWpLs+TT4Hy8FAeZK5uKysIU9r20I6foACMjPmTix5tt0udV5GZQDlUHxwOH14SMA4jker9/QzJn5XXvXhzs630AF3ub1fx//xlyMqZApJVOfTJv5jKWJWwqpt3zQD/4BIAixoOe2KA+9g2F8kd/xZ7l1OWRdlhnh61cUpB3r9NgFXi9f5RXgU163vl2+fwAQ7boSCEqiLKxq82KMeaR4tiib+PHh7yDoh6I665AA6gTWduayB7Rdk9YpyGUPcGlWZ+X+mDv77px610MEEWjsvmFQduS5RnjNFQCL6GdesV1q2JHAMtIl/s3B0W9XAExhTHBo65sgwtaNs6MCxyEvzBYL3zuV4XrJVRx8fVNI0Y/z+v0gL19jToUGnkaU543XZ4ZJH4bH01NO/rgGYBeSG9gbfaQ7tJP/NHmUb+MMIvC/udl+LR933vdJ3nZ+nKf5c7X+H7ScT15IApKAJCAJSAKSgCQgCUgCq4/AbQ7TbKk+2XRdAAAAAElFTkSuQmCC"
  37929. /***/ }),
  37930. /***/ 61:
  37931. /*!********************************************************************************!*\
  37932. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/ar-tn.js ***!
  37933. \********************************************************************************/
  37934. /*! no static exports found */
  37935. /***/ (function(module, exports, __webpack_require__) {
  37936. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  37937. //! moment.js locale configuration
  37938. //! locale : Arabic (Tunisia) [ar-tn]
  37939. //! author : Nader Toukabri : https://github.com/naderio
  37940. ;
  37941. (function (global, factory) {
  37942. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  37943. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  37944. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  37945. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  37946. })(this, function (moment) {
  37947. 'use strict';
  37948. //! moment.js locale configuration
  37949. var arTn = moment.defineLocale('ar-tn', {
  37950. months: 'جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split('_'),
  37951. monthsShort: 'جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split('_'),
  37952. weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),
  37953. weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'),
  37954. weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),
  37955. weekdaysParseExact: true,
  37956. longDateFormat: {
  37957. LT: 'HH:mm',
  37958. LTS: 'HH:mm:ss',
  37959. L: 'DD/MM/YYYY',
  37960. LL: 'D MMMM YYYY',
  37961. LLL: 'D MMMM YYYY HH:mm',
  37962. LLLL: 'dddd D MMMM YYYY HH:mm'
  37963. },
  37964. calendar: {
  37965. sameDay: '[اليوم على الساعة] LT',
  37966. nextDay: '[غدا على الساعة] LT',
  37967. nextWeek: 'dddd [على الساعة] LT',
  37968. lastDay: '[أمس على الساعة] LT',
  37969. lastWeek: 'dddd [على الساعة] LT',
  37970. sameElse: 'L'
  37971. },
  37972. relativeTime: {
  37973. future: 'في %s',
  37974. past: 'منذ %s',
  37975. s: 'ثوان',
  37976. ss: '%d ثانية',
  37977. m: 'دقيقة',
  37978. mm: '%d دقائق',
  37979. h: 'ساعة',
  37980. hh: '%d ساعات',
  37981. d: 'يوم',
  37982. dd: '%d أيام',
  37983. M: 'شهر',
  37984. MM: '%d أشهر',
  37985. y: 'سنة',
  37986. yy: '%d سنوات'
  37987. },
  37988. week: {
  37989. dow: 1,
  37990. // Monday is the first day of the week.
  37991. doy: 4 // The week that contains Jan 4th is the first week of the year.
  37992. }
  37993. });
  37994. return arTn;
  37995. });
  37996. /***/ }),
  37997. /***/ 610:
  37998. /*!*************************************************************************************!*\
  37999. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/static/image/member/icon_consult_pre.png ***!
  38000. \*************************************************************************************/
  38001. /*! no static exports found */
  38002. /***/ (function(module, exports) {
  38003. module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAABgVJREFUeAHtW11sFFUUPmdmt7R0kRIoGCS0/FSK4G990WjkgRDabgLabk2M8Y0XjTwpJiqmIGoE4hvxRd9ITLpFFHa7xITERI0viDEKCgWKgPxItYE2be3u3OM3Uwpls3Tv7OxslzCTzN6Ze79z7jnf3J9z78wSBUfAQMBAwMA9zAB79X1k/cb6sFHxFLNaSGzM8qovr7xSGWL+W1ly+uR5/m7VsfhYXpkpAAUTkGltf8FgfpeIH59Cv79FQteFaO/I6Oj2yOEDVwqpzDUB/66Nza6ppC/geHMhFfojI4PKUq+EUvu+cqvfFQGO8zP4e2Ja7bYi3/Eioog2hZLxz93UZbgBO0++HJ23nWBmg/jTdGv702580ibA7vPl1exzuMkUNon3YFzQbtnaBIwPeDkqLbcs5ses5raorllaBNhTHUidvtFe15sbODa4TVdEiwB7ntdVWA44JkPbXi0CnCCnHDzTtYFloS5Ui4CSRHi6FmvhOKIFA0iPAF1tOjiRP0XJlrSSR/qHZNa1obE5mXSmCdM4oko5p6OimJhQMZXl0yUku86ooa0NqdR/WdijuD96bFVsV2M97Wam17PKfbstGQEi9KaZjO+eyhNnYXOMNlvR9ksYyD6cClusstJ0AZGvzWTXlM5PdshMdH9EIt9OzvPruiQEjFn0lhsHMtG2FuBLEneUogscrTwUP6FDwGi0raGCjE8QdEX1g1kdzXfG+N4CMLofuXP1t0qs1tg7cP43x/lb2b5f+d8ChP/J54X95Jl4Rz6cH+W+twBimZvP8MrEvl5RqhMDXyYfttjlvhOAZfqTOkabPd3b0ooeRTB0WAdfLIzvBMDQJ0bXx1boGDwjFT9uJOJrlagOEDGsI+MVUwoCqMKkj90YGkp2x0noJzcyhWJLQgC2qzZYrR1v6BoJ7NuQeVYX7wXn/yxwwzrE97uslo7aMzL4Xo61gIPqbW6esdSs3on9rM1enHIjWzICbKOwa7llmURetFpiezDcH7o2TH1hSoeqq8wlpmG0wPFNQNW5ccArtqQEOMYy16E17AwT7ZznrNorvPrgSb40Y4AnE/0VDgjwl9/y1x60gPJ/Rv5aqDUL/Hzp9AcPz1/aZRrSiK2qRkRpKzClPYhwtQHTVt7Fjn8uiP1tQB/OXhHGnoOcVGL9MTKcPq5bp/Y7tDspHFizsaZ6prncIHMpG6oeuCUsjJQXYSW4CGkN8go84KDwRQj/JaTOIe0TNs6KWH0Zyzp18FD4fAfFrQKVO2KeCchX+eV166przJn3G2TU4u1tLaKhuWg9EVJUhXC3khhffAiN2KeQMSCcuarE7B/LZK5Evtl/FQZKvjq8lGsRYMfmAL4MW363m5ownRBLTuLLjN77vj3Y78UAL7JHmprCqxcsXhLiUAOjW2IbbQU2VhqRPmQkump1dGuNAVBoh2sr0ZxXIoob364LMUUiVaRaY9dQdgq5Z4TlLJ5XH158nLWYL4zw8IWaZHJAx5BcGNvBVQvqFobYeIDFqHO6mKCLEdfDiOWQWYx6TUdW61E6yNt+9Ai4TSTrhnk2cprsE4Y57LCJoRIZYaomFY0Nox9fQuvpR/FVvB+wW8wQ7keRoukbIeRX4do+5zDLPJCIrsLzsUM0H+m4a84vtBboKHTnPLwTkFPt5EyeCaOXwXKc+L3pwI2Lm/cTMsiYyLsFnigsehoEQkWn9C5TqNcFRA3ai3m3B+avbW5lJuOZZA36w3OT8/SuBWOM3qFFgIhxsZDuaCa6OvXMyI2yoh2dGA7cEzAePOVWmpWr9VjTauzHLLmyvkXUqG3vxHib1yFMZ3iHf3d8KKVENuCDyQN5nQJAqwXYivAV5vs6CqcdI/TLjmQ8oWuHNgGhRHw/ApOkruJpwQmlLZV5rdN5XnoWaBNgqxtQQy+BhF/1VJcYZX8rLOrVcOrLH9zU7IqAuanUdZDwDELVHjeV+I+VIUXSHurp/sxtXdqDYLbiTDT2PNjbOr0DowxibbEX6+jtkZ745Wwbde4LJmBC+d3+j5EJP4I0YCBgIGAgYCBgIGDg3mPgf+0wxAo8clKkAAAAAElFTkSuQmCC"
  38004. /***/ }),
  38005. /***/ 611:
  38006. /*!*************************************************************************************!*\
  38007. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/static/image/member/icon_offence_pre.png ***!
  38008. \*************************************************************************************/
  38009. /*! no static exports found */
  38010. /***/ (function(module, exports) {
  38011. module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAABbVJREFUeAHtWt1PHFUUv/fOzC4fpaBtsX5UMFgfJERbgrFpTDBttyyLIMig8aMmPht9Qh80MfpUP/4BH0yM+qAslRSErVTTpsZoW6NVU5uUEFNN/UDbgCwfu/NxPHdhd1l3oXPvDEs3zr7MnTPnnN/v/ObMvcNlCPF/vgK+Ar4CvgLFV8AI94bsiD5ltev9iE6Lz2AJcUOAF9p76oJUOUso3YY0bMuGiDYWPbYRIrCNAFVBqV8unsMzJHHvRvBIgcsADxBdkYnLxFALMmM+YGDnnDs8+aa5Wftrb2eVQ/eCbsIdYHb0PtEbIaftDv2zZLsud+dAyX30gOWeF6Saa0yE9bt339xwaktN2Q9mpO/p3KvOz4QEuLpfr2ZA38L2bcZ5a59KyUgyouNY7Jc0ExMY8WsqCohhU/u0SAZevMboMMbcj9NnPSNwmHMTyZH2FRLANImFgPF0MApxm0rp0OJB/c6MzcGg8vjwbwZOfPgcvGoBdGqfDJ50EJZyWdiv364p5CjyaMjEIKcUt4zB+UC49fjypTA6gMVnFAeAV5TR6GvOYeU9sd2fwQfmnWwGmMdl5DE1dmQka3M+EuoAnlaLDY5bxH6UEJhOw+CdPJcer/fRIsaZLDbEbds+JFs85yrcAekCk209LYqidOHdP6uODR5N24txNNr0PYxByCJwLDB2RGj+KAa/ksKQ7gDRKvl6XV0TvAtn7J2UsDoCZGkOoWQGiH3JJnRiZjpxcduXw7Oiud34r6sA/IWpOwz7GKN9CPQgPnB1+NSt8hIF2NHkEs4nJ2wbBoZi9PM+ErXcFOckdt0EMCN6BGfYF3G1eMAJkTwfgC/w9fB1dTQ6mnfNQ4PnAsyGumsrVO1NSuEpLN5dfpxhAej786bRXzU+NOVh3ZlU7ghm0iwNkgd7dqua8h62eeN/Ljk/Bfgd4+cJhVo8Lr/nw3nTsA4FPv34W+eJnHkKvwesltYI9+xVVQXbVbZ4+MoG6Igvmk2Xr0JT0jJ24e1/Gdd8nBRpI8/NMVbDl7V70gFL7+ZkHFv+VikiAMevTCceKbQCmOHeMGMsihNoJQG4bNgkFIxFf5LCKRDkugOuhMObNYW+K1083mGDmM8XKp7zVWODMaDwdoo7CsyxOGaBWqRMrgWooVUvIXKLFDoPAvJ1cHTowlrxlml9iI7pJbFlGXOtEMfXXAmQaNebKINnHaMVcMR1/5cC5hyTZSp/EqBzaSPH5NjpczdHVwKojPTjBFXhhgAulDddK14pM29An/KsH61Yws5aZEfSAiy0PVxPgXbJAq+I2zMf6tqx4jxvqIDWiZOgtvICx+abqyttMmNpAQIsEEFSHkxGdEswEDi82j4j33HCLnkurzjEDlAWybMLGqQFwDe9A4JYq7pTQh/v7aAfJTu67znR2qpyR77FhZsfT+IJ/1N7a6FgjAsVsovYpN4D/giFKmsD1T/i83+HCNg1fYEs4hvgBVwZcNuN7sAOq187Bn6eSs40bR8fz0yQa/vnX02pnW9e21KjVGzHWbkWCXr7o6QMC9/lOC9ySHEhZFKWiNQjwIDdiCRXzMqy8C7jkEOKi4s0UgJQheGdIlKxLrgWCmXLXApdc2STK8KmcnGOKAk6ueRy/RQiWLdX7r4AXilZqnn8DijVO+cVb78DvFKyVPP4HVCqd84r3n4HeKVkqeaR6wAFvP5DWF4/l1yk9gPicfPcpnKtVZ61d5HxBfN777L5mf5/Cgg9y/+0PrRVq9Aqr0eZjHljbvPJkb9FuTkWgO/Q4uctb+BWWObzOFGwdfUHMoOf2bygjg58IILjSICJcDjYwKrOY/HZjxNFUIrlC2Ry0p5t3BmLJZxCOloGv4ttMnG7+qLTpBvmhxxTXAUIOOoAnm/uQOct5YHgEP4b/D6B/MVzBTizkEx0889wiwfqI/kK+Ar4CvgK+Ar4CvgKlLAC/wK9x5fx/cWZngAAAABJRU5ErkJggg=="
  38012. /***/ }),
  38013. /***/ 612:
  38014. /*!*************************************************************************************!*\
  38015. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/static/image/member/icon_propose_pre.png ***!
  38016. \*************************************************************************************/
  38017. /*! no static exports found */
  38018. /***/ (function(module, exports) {
  38019. module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAAB2FJREFUeAHtWltsVEUY/uacs7PbFhpaRIKGBIopNJQILQHCNWqC4AXUgCHERIiIMWpLkAfjUxPjgw+Al3IRxIgPaBoVMXI1GsJFaKEISkHkTgI2UtAApbt7LuM/2123pd2ds7tnoY37J5s9e2bOzPd/57/N7AA5yTGQYyDHQI6BHAM5Bv6vDLB0FQ/Wjiv1O05lUGAmIKaCYbDONM0R6Y7o7jmNEDuOcBw4l2i+PfTUDiH0w4Hq+tPuRujcK2UCWldUPM19+msCYrJP1wvkcJbtwM6y4p1hAzohN3Qtctu07VYN+p6QY9cWVB/edmffZL9dE9BUM5IPLfYvD+jG64zmDVtEwV1WOpEijLTghkaW4QjTFiuPHxdvjV3XaCbq3/G+0fFHkmtWUhR4P8CNV8OmA2En6XkPmuSLCBEuIoL5ub50xEhLJxhL3EBxZQHS7AN+/TvLIW/vIW89kXLSGjQNImQ7M/pUNe5K1C92v92JYr+6+a6rg67p2jKN7L6nKy/hS4yGpjFDsDdraqDUT9lhdvP44RR5J4Qp0PUWCZOpMo1NXlJcPlSFWUmA5dhTuKHz3vD2Y8pKrFxn+dwxKmL3En0rCWBw5tuUdXubyFAlBJuuwq0mgGnjZPDrbWJTYULBa4oKtwsCWEA1iLft3qSZSGHG2DAVNiUBqgE8a3csqi/CNBxlm8h35iNT8FbWOcoOmcNIPoIQ5F9WEL4BpdAnvgwMLAMaNyH4Sx2YzpM/rGh1sy65hwRQKW2GoOUXgU96BahcQOr42lWa9jZ8fzbBbG7KmAQFR+pCQTVAOu3CDlGEFgiMmgW+4EtSnt58TPnogPq0aiptZaHqTUxIhPPuWgD5ORwbfHAltKlvAPePSYQLGDQOvtLHYP6+k0q7vMT9Mmy5KwTE/NwoGgJD+vnw2Ylh37oA9BkSadekFZw/QDGCLEYuQbMg2Rn1P6BkvlYbNMOPwMTFMBbWJVf+ykEEP34KuLS7fYT8weAV8+BQkMyWZM0C2lMZAx8xHdoUMvfoW02miLm3FlpBMfDgw/FuExZBP7Edzs1mypDew/XcAgRtFggzCIPSWWDuKmgzl7tSHud2wrpYDz5+AW33FMUJQB58kxZT7KD4kQXxlFKpvBboBy79vHxeSnDD+9fC178EGPNC1+eGPwPj180wLx+ltOjv2p7BHQ8tQFDa0sBnvZey8jj5FZwrx9sDJLovfvSpVTS+3OjxNi16RoDM68yXT5VcaYrvw0L45/UwHhgFlM1J/OzASvCyGRRUZbnsnXjmAvLti7Z/gGObgdEvxhFe+BG4foEW6H2o1qF1lfwY0W9OhJ36Afa18+BzauPPJLhi5Frsj5/ICCjO0D68F+IZARKM0A2EGzaCl1MqM/pH8Fnk2+blYx0ieGcTZlQY+angQcl0tT5EmKwHmIe7sp4SIH3UufUXxJ6PwB6tiShkzN8A4+ZVQK7w5Mei3WoqhWVxE/lIvy55RK182xWIXe+CUU0gPEyHnhIgtWC+PJhNW8FHkz8Xl9ONQqCQPmkLEdXwKYJHvgBru0GW1X2QTHd4z4JgHABtotGbtnZ/EL+V7tWZrQhvnIPgvlX0T8xtz5WXsDy3ADmozNX2xQYYZ7cDw2bKW6nJ1aOwyY2sS4cpdujt2SW1EVz3zgoBkdkJuLl3DXzDKMAlyO1dUIaaIfauhnliGwV6qvxoDZFtyYILRCFToLKvnyP/3eBCBwqOjesR/mwewr99S5GeUpzHvp4IhKcWIEvhSGSP7bNQcRQ8uAGBsseBviXdYKCUeGoLwvvWwmk52660zAq0U9S90PYZ1RCy5vBKPCMgsg4ouA98zPNAXr84PpvSXqLq7QYpHW4Dn7CwQ50Qf7TLFRVaYdordFpbomVxlx4p3/CMAJnfI4ugZOXsnfAKHwJG0ScF4XmFCG5/hypKshQPxDNbimzf+TPJ9y61odVmZC6X3VXdvLMAivr2oc+h9x3Q2QVUCFJpJxewqdSWqdEr8ZAAH6zmE7A2vUT/zHoHsKOigtYNEdGi2+cdG9O8dkOAXL1QXnIh0RqddvxddE6jS4prAEGHZlSzqGOAcK6l7nOSr2x8VOrE26OYW+J3ur9SE8DEATp/1OtEYtaE2K8CrlRNCONreTymt4nEbAp8o8Kt1Ewz7fqwZYdSdwPV1Nlrl1hDlhM0bLtBNYuSAF5fcppi7wEePZSoGrAntHODycNS+/03nz2jwuMqurd+WPlkQNe+7y3H5Mj/hWnhiUD1oR0qApQWIAcoqGrcGrScNZzTSURXlKmmzU67xMY5+b4lVrtRXqJwRYDsmD8ouKQtZNX66NiFnyjuSURILBKTxBYK2+v8f7csk5jdSMrv8/bKiufosPRSOoE11tCZX54gu1eHqGSq0+lYqOU48t/TBsfWVvir67e4UTzWJ2UC5INi7lwdk8+XmQyTqOZbRHv0lUQ+c3MkJTZxJt80F2guwWDX06SfCI2CdNWRkwQhSyVoJmhzz+YYyDGQYyDHQI6BHAM9lYF/AT1mOB6oazGZAAAAAElFTkSuQmCC"
  38020. /***/ }),
  38021. /***/ 613:
  38022. /*!*************************************************************************************!*\
  38023. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/static/image/member/icon_invoice_pre.png ***!
  38024. \*************************************************************************************/
  38025. /*! no static exports found */
  38026. /***/ (function(module, exports) {
  38027. module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAABJJJREFUeAHtmk9oHHUUx9/7zUya/dOUpBqtPRgt6SLVwJJVqlgsBvQgvSnizeLFi42tgidxxYOIIFs9WZR68aIHEQ9KqbQiClo3aj20pbUJWLdQaFNpmm02O/P8jil1s9mdzcxvkmx2fwPLzv7+vD+feb/fvHmzROYwBAwBQ8AQMAQMAUPAEDAEupIAt/L62rsjg46z4WlSMoaxG1qNb49+nvXIK1Yr9GXfq8XTQTYFAsjnSb02kHuehF9npqEgQW3ZJ/RFVdx8+uWJk83sU806/PYXUyMJ8uRuOH9n0Li27WParpTaHmRfIID/JrIKjJIg4W3R50mg/a0BtIUXGkYolqDZnQ8gyHv0GQAtAHV8t63loVCVGJ+1OISwtsWPYIeYI0dyNABCZ6H9sEfuEbfC19fCf18nW4J7lBq2WF4AjicBInSiFhoAHL+Mz6G/efqD4X3n5tbK+Rq9p8qF7FVSdhr3u8dr2pd1GhoApE6KuKeHxxecP5YnO0OjPU5ixlqWxhgHzZTn5u/JT80RqykSmUIEhJYeHoAIVt//99ad/aM7mdQBob6HQmvXnLCxVz6dKaTfm5+npONQMoq48ACIt2Ht3V/Kjx67K1+cRarcg61oM+BvjWKAzhxPKCXK8WyLs7j22SiyQgOAowOIgPH+fsqUC7kfSPEQkwxiS4qiX2OOCGzZYZP1Flv0GPRnoggLDcBXwsxb8LUXPu9dULrazt+0gmg3zvxP5ENFntkhEw2ADrmQkd0wERAZ3XqZqFMQ8a47SHpwt12vh5+06RREDlHxBm62p5BmTq5TBn96bvVckO0tb+CX8jvS6U2JPUrRc6iu3VEvDAL6kBhtRU6wsb5vpX8jNC8hKS8hM68s0uU/phP/Lq58kjzwywn0NY3ilgAWCW7wo3wwO0ZsvwFBuxp0r2gT1ueHnitvpvYXL0ZVFCkTXKIMWWnNk9g0lsy3HvFPGDdPHFyVXSKrvkEEwce70fzEkud90c+/4wFQYzS2nTNM3sfJ8Ylvapq1Tm8Ucn8A42ZE2SNaghpMjh0AHlAeRKWqUH4/9xtW3jSukd4y86/ywouZoQb2azfFDgAWWQjVDLzOaLq+4NxNfHoUm3MymWBzNt3R0/UREPsegOzzIgomn3sufSdK3GXHEXJ2vIbNYu6z/h6y7HmaA2MHgC27BK+Ppvaf+Cqsbfgzxo9Oj7MJmeU2bKCx29bInviVMI1iXX1UPpibhBPXGilt2iaUxLPHvagxosS+Uvv+Yu3xA4B8mD6IMEahNORxy+dbJyEFhB/e9ZugARA+aDprhnYEsGev3oJtxL7iaenXBiCMf+P5j72rfQhqdUwVT7la/0/QBsBiX8C2/9eq+090hTw6f+asM62jW/uVtv1w6Z9He7ck/Pd0uAHepmNMmLnQd8StuoeH3p4ohZlXP1YbwPHjJC+N3X6+V1mzKLzdh1R2oF5JrL9R70Mp7Ci53jupV379WVe21gZSq/yzZ8h6alduBOWrPSzyAJZForY/jnNUm66gTP+9qOrXyX0nL8Qh08gwBAwBQ8AQMAQMge4l8C881Sn1IcpKrgAAAABJRU5ErkJggg=="
  38028. /***/ }),
  38029. /***/ 614:
  38030. /*!*************************************************************************************!*\
  38031. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/static/image/member/icon_address_pre.png ***!
  38032. \*************************************************************************************/
  38033. /*! no static exports found */
  38034. /***/ (function(module, exports) {
  38035. module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAAB5VJREFUeAHtWg1sW9UVPue959RO4oQU8aNuBYpAqwSUJLan8qNN/EysBSSE2sJWaQIK4r9OW8qvBtZaWiLKYmcIWBkgIUBQJDR+hTZN3Z8GoklQS8OfgCJoWaFV05TETm2/d/ium+e8JE7yHJ5dRN+V7HvPuefee873zj33vGsT+cVHwEfAR8BHwEfgiEWAq2n57gfn1TUG9Aix9msiXoLF52D994Vkk7D8fRcdePfU5Z8crKZOVQGgr6P5qBm6fr1GfBUMn1vSQBELfdtI6PED+9NPH5voHSgp5zGz4gBkki2/YE1/GMad4V536RGReCje/V/3Y6YnWVEA0snIYk3jJ2F8fdnqCX1ribWstq37xbLHljGgYgAMpVqxz/WXiCk0Rp8+IvmPCG/Fvt8HBY4BQBEWOZeY60bJCmVMkkV18a43RvE9JCoCQGZDy4lUo/+PiWc5dYVbb2SL24Mrtnzm5Kv2t6no6QbRPcx8pbNPhHYRWWdjO3zh5HvVxpoVKAF9zRjjTYvkttp4V3Ki1cLxru3o+00mFd0OENbacsz0E3jLvaCvtXle1p57wECydZ7B2jtw5xm2ogjw6/EE77bpqWqA8ChAuKEoJzKYFYo0tHV9VOR51NA8mqc4ja5c2GE8jrX3+7O5+4sCLhq5nPwerr+zKIrYEGBZUqQ9bHgKwKbFpMP4C5z64XB/6vjV2wadvKnaDbd172WS50bJMV8E2nOP9RSABT+fdzSe+MkOxU0x8/900K6bQubfRgkLn3Jg3dyZo3geEJ4CIByYieDnOMpkgA1z93T0zOWtLwFmxh7LLGGpC/6wAdAMqSGW4smC6A0PCJi2EeXUNQED41R6PFyEDN3UgzbpVe2pB+h56SfhIVs5HGG1JnODTZdTm3mrCfHEYTAP6Tr1lzOHG1lPAfhsIPt/PLUdjoWDBnGzg3bd1HUtCmF9ZIB82ttLmN/b4ikApyV6s1DvTaeKmia/ddJu2okEaUK81CkrRG9EN3bnnDwv2sX96maybxKn1YebQqsg+0ucSIUcH8GpL28NXV3ftv1rNUc+bz5nGHq8mAsILxxMRReWk8/f3hi9AtvnnBGdJJ23rGdtOpOKnID5n8B2O/SSxZQmS/7Rt1+SsxLdaVvOTe3aAzYnyAg31T6BDC2Bz3lQcL76AIgFOgfX2YvVr3p3K9qv2TRObkNjekzl+kXeJI3BZCzGOiNlxuzDBUnRC+EVPR8oUnkHs7YBp82Ftg4QPJ81vr+pif9cyEXsgS5q1wDEGptPx9NeXGpOKHDVYEfkMrsvb+XXjjrCiGcbTK8dekO0pcbX6c7oIk2jVzDfsSO90p+l/HqbvqOx9Xdol9aDaenC+S2ugLbnK6JsMyaqlRsjzX19on7s0R35gwfnh1dv+0bJDKWi7XiIt4+RV0fby5bFm0wru90wJW3qgXpd4xbWCG+BvGCMPA5CuSfU1lXwsExH80mkBd7Gkz9urJxNmyIXl7PdyooB9iKlaiA5x6ipUU9qmepPZ2RdbYgWAgTnE0FU58vxlPEJ5EjnIYMFRx0HSs2Ju8J31L5Wfcq1WTM6saUmNL7UHFPxXG+BqSZS/c6tMPPO7n4YsJxE1MlQosBopvBExqstJGTF7aB2yTmRmwHmpSUm+l4sTwGAghquwFKD7S2zlFZ4Bd6MSN0xHQ0BXnvt8p631diBjuZmjbU105lnqjHeAoDVcEKcoIcM5baF+LJvv/UHxIe3plLE2Y+o/+/dfXvbFe+rRKRW1wKPYrZpZZTOeUu1PQdgeJHFQ52RG1RbuXA+n70ORu0rpcBYHq7N9uZy1vVzEp8XUuqZTXzfoeN2rKQ3dKUAgHa8fuChljOVmuGVW3uxp+M4AeAMkxXVL3HcB3yopAaTrZdgnpWTjfi+fZUEoFE39Mf3tP8MgQ7xoG3LM7C/c1KFLUohbhQuQlS2h4DyCFzfs5Oq1NoVBKAQD2LhUMNae+E95td3wcX/ZdPOGvzNe6zddyueyjoRSx5BtjfbKVOJdkUBKCgscks6GbtCtWev3JnBtfg1cHRcdY8U0Dspm12m+hV3flNsNeC7eESicq3KA4CjESn0nw5siMxVZqjfBCymG7Edhi87JMdkXhdavW2H6s+kWi7AfeB9ql2NUnkAYAXc+ZhAjfakHQ/qlm95dTgovoc84ZZgvOdNZWz6oRhc3vgLBsyohvFqjaoAoBZCUnBWfTBcSGsVHWzrevitfV2twfiWjYr+8o8/DbEheNukkxRdrVI1AJRB8IRrMsloIdAp+rwE5VWtytH6cRvQ/6tDVPW+qwqAMgtPeM1QKnKr08RMZ+xepLo3OXnValf0jC1pBIIiYOjEz19n49b4rwDkUmyPpSVlq8CsPgDDRsHdr4TxuAM4vKXqW+Dwmjt+dR+A8ZgcWRzfA46s5z3eWvcegP+4jB/+w+PoZI38oOpCPdcAmFbuU7zAVPVfnC70Hy2ifk436ZPRzMkp1wA0rNr6MV5cirn85NMenl5heiC4sqcsAJCElVU4k4wtxSvUgxh4fFkjKyis7hdwi6z+hfZ8BZfxp/YR8BHwEfAR8BHwEfAR8BHwEfAR+BEh8B37XEN1HbR9tAAAAABJRU5ErkJggg=="
  38036. /***/ }),
  38037. /***/ 615:
  38038. /*!************************************************************************************!*\
  38039. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/static/image/member/icon_judgea_pre.png ***!
  38040. \************************************************************************************/
  38041. /*! no static exports found */
  38042. /***/ (function(module, exports) {
  38043. module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAABHVJREFUeAHtm0toE0EYx+fbNJHYVutbRE1L1YMilh4EHwWxoEkt4hOkPi6exEutehCkBnyBShtqRVRU9OBREdTGx7FUTyqIehBs4qFXH1XwkWb8TyUQa+N8m+4kq9mFks3Of775f7/M7Ew2UyG8wyPgEfAIeARKlwDlm/qi6MvAnMqKBrJErSQ53ZJUlm8su/WklINocwD1Hsf31STs1s/W2waw6lT/zKCf2knQDkFUmR2sGOeA8RR/x+Jt1bfyad8WgHBHYiNZ1nVUqsinMaN1pLwrP35v6YnO/2SnHTYAJL8byV9CBXYdO0ac0EopXoiP31bagWBxGo50JleQRefdnLzKg0gspomBG5ycMhoOAMQV3Rjz/kwlV78SrVNDletRCyDSkWwG2jpuQDfoiOgw14cWAEb8Zm4wt+gAoD7c2V/N8aMHIGgZJ5ALNSzfegAkZrkwOa0lksTyrQWAG6D75nxt+kJIIpZvLQBGW66UIDHWesXo+l3igxBSvgKh5zhNYCqdD1+rYW1qNjWIeqHsw99XYdE8aOugXZitMXVuDACS+kopsf7egdDDbPMrTyYnVQYJ6wrRogBB1xpvDXVla9R5ONa/loR1GyDGjSxz8r2xIUBpcXFk8sp476HQ+57WudvTKdkAzdLRkle6eGvNfSR/WZ2bPIz1ACyekn8zHj8Q6v1buSpLi3TCEsY+o+HmjUVH167XJagrxxAYcwxdG8YA4Ea3penM25DOQK7yNacTNSTlplzlTl03BkDdvGSZrztfoz4/dWMYBfKtz61nDIAyAAjNkc7Edq6ZjC4SS+5C3abMe5OvRgH8Mm51NR5/O4ObhHrkhikyxtWPVWccAB4mTA6U+85xjQb9vvPoO5O4+rHqjANQBtGdN4djya06s+GO/m0AtkGnc7K8IACUYZKiu/HE6ym5zEdOvJlmke9srnJT1wsHgGh6IDj+imLxRzLRqEXBwFWU/PYd4Q+dgQvmVoKjmMWTmvVNnclrqdSHPQ8OLvmiJKuiLyuCVZUXcLpulCrGLxUUwHA2RDvL/FXNTbHkI3wTAhPRiOsFu+mNJFp4AL8oqIS3qsfNxT4Kdg8odqK52vcA5CJTKte9HlAqn3SuPL0ekItMqVx3fB2A3RqPe/aFljsJMNLxbg224tx3MmYmVskPAcd7ABa3c7Dej2YIO/JKsna071BOxHYcAFa3swHhiBPmChGj5IdAyQNwfAi4ZRZIqx9mGYe2ByDKZ0Yc10ksQYMcU/oeIMUAHlUt4AQb1rhkFkjLoQGOZy0AErIPUxAbgGtmARJPOAD0Q0CKm5xAbtKo/cPcTdRaAD1toTvYxoAdHv/OoTZPc91qASCQTKXlXvzc/YMbtKg6bJq2s3OcA0A82F/dJ9NyD2YE1tRSLABqs7TaMW6nfRYAFRBULws5tAnDgTW92DHhhBY99J7dneKqXdsPptUvvePKy9rR4A785jfBCfNjiQEfz9A7j9rp9tnt2QaQqfy//MtMJh/v1SPgEfAIeARKkcBPsDclXutJqHMAAAAASUVORK5CYII="
  38044. /***/ }),
  38045. /***/ 616:
  38046. /*!************************************************************************************!*\
  38047. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/static/image/member/icon_notify_pre.png ***!
  38048. \************************************************************************************/
  38049. /*! no static exports found */
  38050. /***/ (function(module, exports) {
  38051. module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAABYtJREFUeAHtW0tsHEUQrd6v9+esHWPsJbG9Vkxk7ABOSKR8xE8C2VHEL+LCgRsHxClB4gKRrIgr4YQ4cYvECYgQkQ0SCIQIQvyMDSICQhYMVohDSLzetfc3zatxjCxrs9O7Mz0eki1pPeuZ6upXr7urq7tniZrSZKDJQJOBJgM3LwPCjuujr57vQ/m9QoqUECJhx1Y9ZQ0hy6jzojTo3Gx28dMfxoeK9ZRfq9sQAaMnMo8LnzgmSIysNbYR3yXJBeA4WciVj3/4Yv9f9WKoi4Cx8Z9bKRl6ExUerLci7fpSZiUZT08cSZ+qpy5lAth5kQx/BuPD9VTgpq4kktIwnpk82veGar0+VUVueeh61nn2A60pMDRff/iVzD5Vv5QIMMe8F7t9FS8xPIMBn3hthY8qCutuKRGACP/SunLe/leIu8dO/HZIBaQlATzVgYCdKsa8pCMEPaGCx5IAGNmrYshrOpKEUhywJICTHK85p4RHkBJuawJczPCUHFNUwowQV1ENqCg5rRPwC9raFqDR4Tjt2BKmmT8KNPn9Is1eLlPZwGzuorhOQFvUD8djdPDOOLXH/KarvZuDtG9bhE5PL4KIHF3JV1yjwFUCIkFBDw3F6NGRBCVafJQrGJQvSoqGhEnGY7jPHeDdqSwtl9zpCa4SsK0zRDt7Wige9tFXmWV66+sFOjdfov5bgvTkPa3msxE8/3GuQDN/FlzpBa4S0J0MUNemAM1dKdNHZ3M0jbHPwjFgcyxH3XjWtclv6txwBPCqy4fsxI95J4ChvycdIW5tHgr5okFBBEa+jzQWV+U1mkmgnT/u9QD4hLU7VQyiW1sD5qca8PlsBXEAaQweuhEFLPOAaiDrvccteu/tUXrkrgR1JFYi//Vs8HPWu2971OwN19Nz6r52Argl96RbzCDX1xE0W7YWeNZnvcO7Wmk3yvH/OkU7Ab1w5oHtMUrjWo/wzHA/ekEPcgSdopUADnjDt4VpMBVqyIc7UmEawgexU5toJYCzvv6OEPG1ETHLoyc0Wl6lTq0EtMf9xJ9GhVue0+W2aylzo3ZqldNKQDggqAUfOxIJ+YhTaF2ilQAnQLPr/9sYYBKgr/Gc4Jc83wMc8bKGEa0EIKPFSUWN2hUecVps10atarQSkMT0l4zaq2LFRuMzSS3n+Zk9dDWs97QH6cBAhLbiakc4E9yP3SK2p0O0EBDBDg+D5s0PuzGQy+/qbTHt6ZgOHSeAAfM6f/9AlGLY+XFC2A7bGwERdgldj8cZhGus+rH0TSWD1IU1v5PSiWVyCjtGPocRO2wOLiPqG9jZ5OjtpPyTN+jSYsXcUHHSruMEVOA8A2XATkmxImnq92UtG6XO9lN4zO3+LcDyXt+DgzGs5Hz/pbKNdIrLuQqd+WWJPvkpT3+DWKfFcQIYYHbZMA853schB290suNMDPY7sSlqHcZ4CPHeIa8B+KSIv+sSLQSsgmXw5WuO7O6L0NiOGHUmrKu8mC3TxEyOvswsac0CGac1mlVvbFx5STzYjUMRTGO87W0lW9oDlLlUwrnBsvYTIseDYDXn+Jjri1+XaHpW7bTnO+ixvhvHY5Y9AD1Y2mWJx//ZC0U6dmq+Gj8bes/SNyHl4oYibLRyvDeoUtSSACnknIohr+mg1ynhtiQAjn3uNedU8CDUKuG2JGDySDojpfxGpVIv6SD3eFsFjyUBbAQEvKxizDM6Uk5NHO19TwWPEgF49/YdsHBaxeBG62ADrYQE7Dng4MnHUpQIYCvyavEpdKsZS4sbqACP8bK0fPaD5/vOqMJQJmBifGCBrhYOeLYn8OvyhnG4njfFmSTrvLQKlV76wQQaBL8TkCeXSvL4xy+kL1SBW/NWQwSsWrwRfjKz6kvz2mSgyUCTgSYDNyMD/wJ4RIddMX3LGAAAAABJRU5ErkJggg=="
  38052. /***/ }),
  38053. /***/ 617:
  38054. /*!***************************************************************************************!*\
  38055. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/static/image/member/icon_footprint_pre.png ***!
  38056. \***************************************************************************************/
  38057. /*! no static exports found */
  38058. /***/ (function(module, exports) {
  38059. module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAACdtJREFUeAHtWmtsXEcVPmfm7l2v7bWdpLEak5DEIalCIgpqLBqBICQlqQNFqBJURKhKQESAWqlJE0QpP1aCFIHAEUJICAnEj4KqND8KlIY6aeoEqiCUSDTFlLzsJs3TbprY+/B6994ZvrHjxN7duzvXm7SW2NFad+7MmZlzvjlzHnNNVCs1BGoI1BCoIVBDoIbA/ysCPJMFb39gazOLugWaqYMVzSfBGaXUGzovT741eOEi9T6fq5b/GQlAZ+JUEzW5nyah7yfNy8BkBzHP10QjpPUbEPokEx/3lPrHhWT6aG9ixbSBmHEArP1p38KodL5KpB+GkMuJKVZqlwHGVYBxDH0v+ir/QveTH3q7FF2lthkFwJqf9N9dF5HfF6w3EfGsSsyP9+vLmnivn1dd3TsX9duNuUUlblXf31rn46eisQh/QzBtsRfe8Mx3s6avy4jYvqGrd3ZYKWYMANTuroIw34IA9WGFuHFMNgtq2ESJRCiZQhGHZsx2wDjTjzLzPNshhXQ4y43E4vHO+q8tLuwr9z4jAFjnPmLO+/pyjNr0MdMyctQXbWgnaGYEAG409kGo8QcmmKrqyeKhFYle13aOGQEArPhsuLyILdPl6HAUVrTF4neVo5nc50x+mW59TaK/zmkWbY5PbbDiLVooh7TMMOUvDY865//+1MJr5eZmVp4miYAPelBl0aybhePPxTQXbaaqCgAjeLRJdsBvrwbnK0nSPIgwi7WQiOIympxL8To6/eDP3jqs1NCh7p33pksx5Su64ghEedPxAAUTGk3SJBoKmgNfpw2AidhcIR9m1p+H8fnYFN99Yx/NAzuSZSnWStGyd23Xid8f3H7PhSJu9PDbpFtOItz9aFHfNBqEIASKdmVaNuCB3Wfbo478LoTHH6+dInzButiROgDRgedOl6PbO585ZdRzSjGaAY5fntI4zRfMoxVrZTs8NADrnnlzjsv8JBbYAuFbbRfC0biLWWylmLvlvq1HiwyeJv1HMJ+yni+AEFGhdpT0A7qLmsMCwG5d7Ctg9FHsaLRotgoN0IRGaMtjc5fNKlL1waF3XgfzvRWmqNzNSJG0ujMAbOg6vQTn9LFxQSrzUooC9mKBECbbm2rxjyVWZTSrV0qNCdMGBVCK8LMsoTRAcARGj++xnDuQTDM/uGZ3f3MhAXvcozV5he1h3s0RkHfCBphsDYx8IQwzgbSsF0a1KIr8fKn/DcN6NXCcRQeCCZwARCSWxVoD/EXcCvX9sOW8ZcnG7IfWRQZ0dKh/EFFhf9nBFToZ50g7/u0HgHSkFU69SG0r8FOy27gqBE9F57Qn8RmPtf5vyUGWjYg72M8Vzx003FoDiHUUZsuePmhFtMOIjmihL5ciwRHuK9Vu0eYj/BnB3NdxOZK3oB8jsY8EpfbNzmEB/KorEPKEyifPB8xSGCliXZ2Hccti5Sx4SGOTU2hLwSAn4fNM7JCGd0oSq2FwOMhD3rsBcxc1WwMgfc5h/30wYT2maLWJBk3dgXkBq9OSeD9IIQwhQoRgps40xIqHEOWlwUaSfZH2HH8YeQeAUGnOeOlh6Wevj/ijYW6JrYXxlZd3RATntmoFyGifXpzAovDpZ0Z7KRpLkPKGiZy0n/MzWSeXaTovcy/9YmkOCVg0Rp47GpExlrJB+Pl6dpx57LqNcanjzZKTiKYMgFbFGgBHQAOIra1r0OpG/bOp1L8C+uHEog6zNwBzA8G4TUS4MaLrGvRijnfuPlcPlcfHErc5ojkO4jhFIg3QlDj0shFjGrXUb2Lu2w+Ap2ReSvKr3n9Nh3sSK0rG/Ot29bW69fIpZjkHbgIprYZQMg6BGlhohNHaXJjWwQ7UwRpHcO7HjfINpswDRgqaY1+sNUCqPCyrW90R0KTgpf8WxJ5TL9fjhH0bmhYZl2mSZDeOHmKR8TLxLJwMXrCwqdy7tVvLeTIPeKsKU7E/ae2LkupvMkRJ9AiCpKJMsZwAJfqgIPbFGgDiUQ9hKrSgqnJ+IDNwqdQMc5a2zMIm31eqL1ybNl7DulgDMMr1ColKUfRmvdI4YZ/J+kqNYUlNGoatVF/ItjNh6K0BcEZTeajnAPQrhXQjh2coVTNMwQOcC2JO5HF1hoAnqN+y3YeXOGxJO0ZmbQSJBrIwwj/H15cFCE7iiNnjUNkG1G9Y67G6sdTmQjKGyK0eVtqF1uACaTx4Au2VIOauRwavtvD8U7BtHUE0ldqx1n+ynj5SiW5yf5AtnUxzq/6lPXL16vlulOdFIzlZ7+DTNexiAztwVZobkIg1ws7X43bYgNKEKA0qjSdzI3YG4Kjn9m1b/MKtCafWOnef/Q607EcA1lozb86APADz73xp26Jf3myzqNhrAITfeP/HO6H+USV0SjkqibuXFGsnPZL3B+CVszRE2R76XQ4fKDW+zkTmwm9So1PnsozhmqIhR7l3yvEEE7MHGvYQQPhkObrCvvFLFL2HRvJ7CvsqvVtrgHFTrctb/4wJ27CrJpBB8sFpnFtzowu7YGJ3HsIuDI/F74IyOCYp7XPSlyoltJ/yRkTylafbA4+BYbaz69x6HJmnoQWfwCs8Y/kCuzIMIf7keWpX947FoVNpew0wfLBegN3Bpchk3Mbq5iImjxQXdoJhzCgDQAAOEhWpk4JEWrNIufX0LqK9XeVA2Df82wMb4pvzLHgT1lqDVRdN2BDDwkQxoJtLVGSG+5Xwnu3e0X5ioi/MMxwAVDoQgsDglV08XdSapjIwBtAYZEZVIzHxOvp/M5Vm0lsioV6mxKv48NKHo3MIn9o6cIe4AMLOAcoujmAGa12GTTkJTfznCOsjPU+0X580Q6jqOHcWQ9YkXnViLUuOYcBHLMiDSbQ+cHYo9TnblNV8SFFRiWMnZo9dypBMS52/kklmLwblFMGLF/dYa0APHVIb9ZKRsa0snse6Bbt57/zmhjlIWUtGhIUT7fve0kG0mb87UuzdDVQTOxAYyNhzZ9yiKjgm9qNvN6U9AFhZq3BRVklmcbXlZbX5EjwjSjgAhNoP6154ZxdWkFPXstfKxgNhJ6yGPhQAf33t6Gn43WexYKic+yaDJpli2huUEN2kew8roQCg57/sI1v5NdxZ93R4hO8+POr5z01n7J0aEw4AcHFg28I+bOQP4I//YrJCG8aM/4ffPggb8sODO9rP2ox5r2is44BChjZ2nVulmDbjC8867OwSREJFNzk4LrhFoj4s0uOx/4fuJ9oPF87zfr9PGwDD+Gd/fK5NRvxPIdRdrQUth7ArERQiB9Lw23wcucAJfKo+orT/2nT/mflOA1QVABPMLVn/TXw3dJYid1kJIzcXQAziI8ZxLbNnznT/amCCrvasIVBDoIZADYEaAjUEZhQC/wPztXAACFo4XgAAAABJRU5ErkJggg=="
  38060. /***/ }),
  38061. /***/ 618:
  38062. /*!**************************************************************************************!*\
  38063. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/static/image/member/icon_feedback_pre.png ***!
  38064. \**************************************************************************************/
  38065. /*! no static exports found */
  38066. /***/ (function(module, exports) {
  38067. module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAACP5JREFUeAHtWmlsVNcVPufNYrxhqJfYrqE1DWQhEKe06o/IjamA4NikxWZQf1UirVSpqlSpiyKFqFCVqkpo1ZYl7Z8UkkpthZNgQI5LFDdON9QGKyGrCRWL2wLGYAfs8Yw9897pd9/4zebxvBkzz7baeZL17tz1fN8599xzzzNR/skzkGcgz0CegTwDeQb+Xxng2QJ/ranJXTVUqc12fDbjiiqHtItE4fW9veGkcUp+SarL6qc7q95EHNzsW+V2yVoWrY7qDU+W47PvbrAmWtWNJWOTHRj8kZrg9Lp1nvtr6h9k0laSYYQN5re9XR192U9OlDEB55qbC+pdJVtYuJ2Z1hBLNYnmPAEa3YSO94VDhq4Avrfa572rRnya8Neg/JWksa4Rnwm1tO/zdL34arYkZEoA12vFW2HvTxLTahhCZJ1Zb6BMxZQbInJ4PKQ/X/nX46NK8xHw2k6IcE/cLMtdrC0NNfsMT3fHH+PqbYsZQZho2XqPh92/B/C1tjPmrAPAEx/wjwUOLO49cV2Bb6ip3479kAw+tqLIn3XSd3m6XnotVpm+lIkTYze5v7zgwSuczI0ucu8OtbStTw871mpLAJh3M/Om2BCnS8rs6eB0zfMTSWb/L/iG0DRpmD7vYteuUMu2xmltKSpsCailWg+J1KQY60CVueef8fuD+xPNXoHne6MLirwF37AHTvAY/kznGG0zC/yQi/lJ/8ZHaxPrp/+yJUArn2Asbttv+tTZ1ljgJ/ZFwd/xqW3w9jHwQI1Z3zBIfvhiFz0bFvoR7L5zBhI2FBQUfM5OijkAZieCak8FfoVPY8GpE6d5ZlAgx/Z0vdC5nTp078sdb4UNWILQ0RQkaGRQid3q80+AyDBAwewjmlcRZkN1fbumUUzzFgoRhCD06Sdat66xqhQJQvInkJAYEYqc0zn8ptVvpvc8EwDNkxy0wKujrrG4YpuG/QvTRryR9MAbo+ZRt3h2TmxuN4/kUOu2JkSEWxO2qch5g+ipv/lH+pNmmPYz00Bo2sDbrlCapyTNF1e0zwjeWpBxKpO0uV0uPfzI9qMayTdwOjxkNcNhn4cpPHVlmH67/tS0u0O0m1WYHwIi4A+OG2x6e2X2puYJQQ6pSNPuYTh5aYM5wArifIQCL/L05RH+zbJTHQG7WVT73G+BKfDK7Eu7O4aiZq/AM92XidCRPuxNcJAkF6bAP6/Af9TSsjTY2r7Sbr65tYAUmm8orGzDZSZL8MmwAN5gaJ5M8NeafCWlQl8nYXV7PJfcO/733FmAAs/8jDJ7pXnT7Iuq2uDtcwRenlOaV+DLS+ircJffgn1Xx4NNVZ4bAkzN0y/HdTHNPgo+cs5Hj7RUAqavU2ZPey+PJIEX+i62R7XKFaQfPxc+IKp5+kWC5nMBXpn9MB1O0HwEfJ0dcKvdYR8gozjqfjWuU0zzxRXIK5gR3uw1L3QRR12i5ov4McSJSvMZg1ckOEcAXLIwdQaCk/tKe45H9rwCHwlybhO8sXfw6sRzy/pORPa8Aq/B7Ck78M4SQHRdD+k/L+k5PrgbW62xqPyLU+Bnn1QRuQSL2nt5mA9FwSuHR/QdgFmmAGX7OOcEmf7eedJ1Rgn0+CbfJzRNBTlxGSWR9xG1DWUssAIvrDQf2/NK88SzBq/WdowA7NGT6samFvG6BQkVfkCVzQf3eUP4B+hzQN0EreoZ3xHNPz04GDhU23di3DzqomY/O81bazlEgIyGDXpdLXKEfAhbudlaEFqfMFh+5n75yBF/MHxQ5f3Qdj3anlyI07wCf3XTpuLyYtkR2fO3B14t5RAB/N61EfqnWqC1FcEI82dVeeq5Ph7Qu1R5cc/RG/5AaD/c5X5YwrjVIfq2wMdpvtKz+DHkZ76HPrPa89G5pwqOEADTftW6jHhFVFYmFpExFxQVutcry1AyKBLg2N5FMTG1pcAz/cQy+6jmcwherZ/7YzBi4j1qcjyISPlhvOOJrtCEdrY1G+EJvb3f5abVuAt8E32K1ADzscBfCf7aMvtca95aKvcEEA34JWB6/5GmL5WBgEZrseibuUFzad9njc/iCLsv4RY4BX5o8iYc3ivmno+AZ5zzuTH7qBwoOEHAmSVdXeY3vJJiNzK5sgKGEL/mVJkfgHnETgazVgZMszc1PwXeW7YDowGel6eY5Larck4AvPq/IRXcAEQWXoVvdwX2UioHyP0YdChB8xHwcHjOgFdy5ZwAYI/tZaYhHHtheIIU6wC08CX0/wDX5PdF1/9x7dpkT4LZO6h5SykpBLOaZvfGmb/28rotRcp5BYMTp4sKFx2DPWwE0FLsBJWmGohom9/FVfYd3TD6b42GLqiPn2rF4Q2+sjKPfAXzOGb28chyTgCArq6qXrQBixxX94DJR3x7XExvYj/UgQgkQukdQ6h/VMbOl3d337KEudW0paKwyHOvpvEXsOd3OGn21prq7QABXIoPGt+e3Nx2xfuHl95QeXtYxIdlFZ6yoBbwx4Hm0WZf5SKhO5HiXIUk51oAb8CWWYctUxYvpJNlBwhQ4nIj0ta7wq2+ZycnJ09f+I93sPZkxxX1Txb+h9tqvG7tThyPq1hoDY7CuzHgLviDj2OLeFIeGA4y4BABCHyYWxDw1BV4vKfv/qR8EK7ffosNWUIeWQHwyNbihCB8dGUnrDBzxpwiICIB0/3QssrdjyBbEwApOCFM845EhggE5vtxlgCFLvI562PzDXSm9eNj9Jn6/E/X5wmwU69xowBHt/mPCXZdF147zlY7oWwtwF8V1hHAjNlNtCDbI5/G0opmS8DK7u5JXHDeTjvLQmxUeQkxEy1ppbMlAKORsdJfgBX408608BpPjQVCZl4inWiZEECj43oP7um/AxUT6SZbMG1CH0L7P13a22nmJdLJlREBaqKQEdqLrXAYBjGgbCLdpPPWZlqp/AXgf3z2Er+SiRxZhWKBDb7lngLaiNjmQUR2VQhjCzNZxPE+YiZUb0IrZw0yes9cvfj6Z/r6pv8TZQpBsiJAjd+NBOfjG3x1Lrd+B3LzC4YAQ5ObY0ZwIO62mQJuvirPQJ6BPAN5BvIM5BmIY+C/71gJ83N5h/4AAAAASUVORK5CYII="
  38068. /***/ }),
  38069. /***/ 619:
  38070. /*!**************************************************************************************!*\
  38071. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/static/image/member/icon_exercise_pre.png ***!
  38072. \**************************************************************************************/
  38073. /*! no static exports found */
  38074. /***/ (function(module, exports) {
  38075. module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAAB/1JREFUeAHtW2tsVEUUnpl799GttLtFKFReCVpot9QfFX5IQBRjUAwaCYJEoY8Eg48IKkRiQlBj4oOoCQa1Sq2I8ooxJCiGBIVIbCTyCG15BRBS2iBtabey3de9M57TemUp+5i7e1vauJNs9+7cM+fxzZkz58y9JSTTMghkEMggkEEgg8D/FgFqleVdk58fLmyBOYRTXRfCZ1NpU+Sa0pR3vtpnlYz+4GMZAB2llfPczLErxHUSEZxwIsKE0GZGSB3nZHdACe0bdfzrK/1hRDo8LQOg3Vs+x6nY9qDxBlOFMmKDjxCChIneQgTZck0jGwtObrqYjtJWjoUJsqpRYRgugCV+NAAjwDUSFDphhBZkMXX1MJXW+aZUvfDLrFmqVZLT4WMZAJQwD6MGBDerpIEX+AEMSuloB1M2lLVP/K51UmXBzZQD22MZAAohRfQ/549vBHpFEOKEk6nzHHa2p3XyksL41P1/xzIABBPTOcyybOsGbwBPKHXYbDvb7l5yh+w4q+ksAaCzZOlEiABTMQCaaRgfwBNKVV2tbSlb5jIz1ipaSwAgRKnMUtQc2PpM64We4FJsD7pC2uumB1swIH7UkmTeXlIxVqXKHxAAR+omPcAQATsEBEfSrel0uqfx82NGf/T35dJnsp3CvhY2lG2eE5uORt9L5zptD4DovyaLKSkbj8qj59ip4qJMXx3PGKbbRwPZq3aV/tzhrVwhyAKIu+m3tADoLK6a7aC0CqN6ui0ES4EQ9njXlPLJsXjZmZigMMpgkblhuX3oK8355uKUxZ5YtGb6UgYA93CqkI2wr9tTWft9lcTw6WJKlibo/L738DdsMNMdIBDzCUysXFRd6CZZu654y0fFopftSwkAceeLDtVGPoMIXhhOcd3HUhCKKEyUHhJk3Q164W/on4PGGw2DJ2SWM5xM2ZGOJ9wgyGCe7LvT6X8bIvejuI1Z2TSIBlQQr7/k0ohovleLLkxTKC2LwMxHNwQBJmFGrsj6BEBKKbU2DUBnScVCO1NeDlpsPBrWm0hRD3jC+GhDqcJegiBpuz7/1+/2gKCoCzu8Ta9c75W/MgUAbnkQhz4A9jBR1jfkaWOMccZHG9w7iqpmQt/8RIEWPcOm0LWdJZX3GONkv00BoBD6Gqy7ArMZn6wySKdC+QyHKrl4jXs/U+h6lTCY/fiQY+ywwTYKFO+JsmU2HCvbpAFo91YUQyBaGrBgy0umHHhZT05t5+r7TkWZGuqz9mONxyUJtcX9vkjksVj34/VJAwCEy2H2s63Y8uIpg/093iW0Nkx2nMy23EyswWpUcLbCzFmDVCrcCQmHIFnH4XRnDJaz/dlQIQiGJ8DbCiFFVs0AjmNhnA4gzhheX1Mno6eUBwjdMdM+AMajwrjSYZcphtk0Zbwx1kkVBdLFmMkU0vRtcgAw9jCe7Q1Uw2WQKOgl0gOTJQBvtmwwTGqVILNURsW0/nb9REaZudejJyWFXUF9vMy4pAC0lY2BrIyO0xJsQzKCBooGfQe81aVTMklGZlIA1KCaDzw9eLQ9VBrmEpA6T5DRNykAlLKRUIkkpZMRNlA0qCznPF9GXlLDYOKdAMAQWQC9Jvf4KiVuSwCQYTLYaBAA2EWkqsOkHsApD2CVJpUxDRIk/tXVL6NOUgAgqWgFAPo3/ZPR1CQNJcplmSFJAdC4/S9wqA6MA0OlYS5ABb8go29SAG7PP9MK/n8RSmEZfrecBrWEY7qwTsRJGWWSAkD379e4IId66nQZjreYpkdPQc7ljRDnZVRJCgAygQCwd6ikwr01izhA99cGLQMgIOiBkOCXBrsXoPvDGyqwZ7HtMsYjjZQHjG3cdBWCyjYoiWX53hI6OBbDlzKOuIXvN1kFTFjEP4UTWB8+xxusrdcYvpE27oT3k+SaNADuhq/OQT5QDQ8ipDhDMULwSc5ANZQVFNrv14b5t5qRKQ0AMlU17d1uXTubbClgrICVeC4ktK3JaM0oG48WvRImB5Y/XzW2bmcgHl2sflMA5Jza3M4IXwm7gp5oKaDRXPDvc+vHPQ2nOz+5mFRaHks/qT70SgB7fd6J2l+lBkQRmQIAx+U0fLk7zLV3Ei0FfF6oCLaPknVcVQU8PdaOw1ldlFjrLhFcvx75wRO87a1UuJoGAIV4HLY3/Lq2JdbMomdAJPbBy5E9mVj20ZqWUCSyICz003CsnoqOcccgP1iSx8KEVdGzG0JxCRPcSAkAerg6EnAoz8LD0W8RhOh9AYMfFaLZ7VJaDLkjTm0+w4U2N6Trh7ItAgHlhrl+JMjCT+Q3fAH1SmotJQBQVMHh6u4c3lUR4JGPMOgZSRJ6gKC0GUGKVgl3EaKFH+nm+g6M2AZ9NI3MNfJH4wH8H+EzF16//VNmXDyalAFAhrjf5tbXrAzregW8wXAZFUMPgOqxLZZADKI59WOe0njkOaC5gvSJgmlfHhhHQOFgQNPevPq3Pn9kY61UyduXT/TvaO+N7jd97Ssqv4up6jqY3UXdIrLdXV+zOBETeMNkUpaDrYJC60kIqMMwcMaqN1BBeDQOfwWJEH5Q08WavMaag4l4m7lnGQCG0E5vxQPwfEp1N9TsNfoSfeNDVxtTl8L75YugkBmHxQyeQGFgQe/Ax+JwKHMIytuPc0TXdjNZXiK5xj3LATAYm/1u8lbl5VJ+LyfsPrC7GM70wgqnp+HfD/Y1C/8Br4n01qzsDH0GgQwCGQQyCGQQyCDw/0TgHxYB6x8CffmPAAAAAElFTkSuQmCC"
  38076. /***/ }),
  38077. /***/ 62:
  38078. /*!*****************************************************************************!*\
  38079. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/az.js ***!
  38080. \*****************************************************************************/
  38081. /*! no static exports found */
  38082. /***/ (function(module, exports, __webpack_require__) {
  38083. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  38084. //! moment.js locale configuration
  38085. //! locale : Azerbaijani [az]
  38086. //! author : topchiyev : https://github.com/topchiyev
  38087. ;
  38088. (function (global, factory) {
  38089. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  38090. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  38091. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  38092. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  38093. })(this, function (moment) {
  38094. 'use strict';
  38095. //! moment.js locale configuration
  38096. var suffixes = {
  38097. 1: '-inci',
  38098. 5: '-inci',
  38099. 8: '-inci',
  38100. 70: '-inci',
  38101. 80: '-inci',
  38102. 2: '-nci',
  38103. 7: '-nci',
  38104. 20: '-nci',
  38105. 50: '-nci',
  38106. 3: '-üncü',
  38107. 4: '-üncü',
  38108. 100: '-üncü',
  38109. 6: '-ncı',
  38110. 9: '-uncu',
  38111. 10: '-uncu',
  38112. 30: '-uncu',
  38113. 60: '-ıncı',
  38114. 90: '-ıncı'
  38115. };
  38116. var az = moment.defineLocale('az', {
  38117. months: 'yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr'.split('_'),
  38118. monthsShort: 'yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek'.split('_'),
  38119. weekdays: 'Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə'.split('_'),
  38120. weekdaysShort: 'Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən'.split('_'),
  38121. weekdaysMin: 'Bz_BE_ÇA_Çə_CA_Cü_Şə'.split('_'),
  38122. weekdaysParseExact: true,
  38123. longDateFormat: {
  38124. LT: 'HH:mm',
  38125. LTS: 'HH:mm:ss',
  38126. L: 'DD.MM.YYYY',
  38127. LL: 'D MMMM YYYY',
  38128. LLL: 'D MMMM YYYY HH:mm',
  38129. LLLL: 'dddd, D MMMM YYYY HH:mm'
  38130. },
  38131. calendar: {
  38132. sameDay: '[bugün saat] LT',
  38133. nextDay: '[sabah saat] LT',
  38134. nextWeek: '[gələn həftə] dddd [saat] LT',
  38135. lastDay: '[dünən] LT',
  38136. lastWeek: '[keçən həftə] dddd [saat] LT',
  38137. sameElse: 'L'
  38138. },
  38139. relativeTime: {
  38140. future: '%s sonra',
  38141. past: '%s əvvəl',
  38142. s: 'bir neçə saniyə',
  38143. ss: '%d saniyə',
  38144. m: 'bir dəqiqə',
  38145. mm: '%d dəqiqə',
  38146. h: 'bir saat',
  38147. hh: '%d saat',
  38148. d: 'bir gün',
  38149. dd: '%d gün',
  38150. M: 'bir ay',
  38151. MM: '%d ay',
  38152. y: 'bir il',
  38153. yy: '%d il'
  38154. },
  38155. meridiemParse: /gecə|səhər|gündüz|axşam/,
  38156. isPM: function isPM(input) {
  38157. return /^(gündüz|axşam)$/.test(input);
  38158. },
  38159. meridiem: function meridiem(hour, minute, isLower) {
  38160. if (hour < 4) {
  38161. return 'gecə';
  38162. } else if (hour < 12) {
  38163. return 'səhər';
  38164. } else if (hour < 17) {
  38165. return 'gündüz';
  38166. } else {
  38167. return 'axşam';
  38168. }
  38169. },
  38170. dayOfMonthOrdinalParse: /\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,
  38171. ordinal: function ordinal(number) {
  38172. if (number === 0) {
  38173. // special case for zero
  38174. return number + '-ıncı';
  38175. }
  38176. var a = number % 10,
  38177. b = number % 100 - a,
  38178. c = number >= 100 ? 100 : null;
  38179. return number + (suffixes[a] || suffixes[b] || suffixes[c]);
  38180. },
  38181. week: {
  38182. dow: 1,
  38183. // Monday is the first day of the week.
  38184. doy: 7 // The week that contains Jan 7th is the first week of the year.
  38185. }
  38186. });
  38187. return az;
  38188. });
  38189. /***/ }),
  38190. /***/ 620:
  38191. /*!*************************************************************************************!*\
  38192. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/static/image/member/icon_bargain_pre.png ***!
  38193. \*************************************************************************************/
  38194. /*! no static exports found */
  38195. /***/ (function(module, exports) {
  38196. module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAACqZJREFUeAHtWg1wVFcVvve9Ddkku0vCP+Enya6p0Dr+dLBTqy2UEEBAflqgnWwIf9OGtpZKRVE7aqbWUrVUi63ISIkk2SggBRsaphhKqVXHitbRdjo17iYpEIE0kGR3yWaz+67f3eQuu2Hf7nvZTWcIeTPJfffcc8+937nnnnPufUvIyDOigRENjGhgmGrgvQoyyl2dP+fAKiKrQZTUGq53eleN7Yt5N1lbqCzNj4eFxmu8XtvctfmzJSIfZYQFAyxwa7b9Q5calmFnAZ4aa5HEpHrCGFWCwUXxwHOlGNQ0cz3SPY78BTDpI3zuSpAutpS1/DkRjmGjAG+1dTGh9BBhBFbNlpvLnK8nAs/bh4UCuhz5ywD+AIDLCiX3mUtc9VrAc57r3ge4awpWykQ+iD1vYApbB/CHtILnfJosoLMm/3ZZkmYShSqMKd2MEJ9EiY/hT2G0G0HWF8R7oMfnSzOSbt/lXt+ER9o8eiYyGF63w3Y/5lEdwsFouanUVaNXTtwwyBOIxSusBwmhK/QKRgjqxH48TRnbf7GXVResb/bplRGP3+MoWEMprcTcZKz8FoD/WTx+tba4CnDXWh+WCH1RrbMOemuQKJssJU11OvqosnprrBsIJb/CvpcIU57Isjc9rcqcoCGuD5AYLU7QX2tzrkykVzy11m9p7aDG5661lcNz7eHgYWXbkwHPx4irALRPjJoII3+HuX0HtITxNapff4USut3jsD4Tq00Lze0o+CqWfBfMHjtL2WkqcfG5JPXEVQA0nBOWztiVHg8rwl7bful8zzzGSHu4TccL9u02r8O6q6IiofKjpEJxWyQq/ZyDVxjZY7I3fS2KYZCVuArAPssWcrnHb2hwhTz7tMfP+ihhXtGmu6R009ZCa/XJCm1RCOC3QXHP8XEYY44djc5y/qp73Bgd4jpBb62Ne+500Q+rXo0Z7EOnVUSifBJJPQBztM2vrIoXIby1BU9gpz7VNxA7/PZ/XKvvriCBpAaO6KyqgKbKfOOEdLk7gndIXrGMb3R3dy4dv/Ej98ABsOefhNl/l9OhrGMtja7lt1QQ/0C+ZOqqW2CCIWL/JzNCgr5YgTmZGaN/OJANp7rtV8GTk5cv+O9NNXg+pmomCEeTraqdgbNNoo6Vbejy+KLCo6fW9iwU8/WQWEb+cqWja+m0x9uGxBpVMcLpXY0ASQCM1xXg6+EDvpJb3npF8MHv7BTg4XP+gcjz5ci0unEnSW97aZxZ8CdbqipAluRwBEh2kJj9GTmCPb0iwgFSHh7B+yjnh294T6HdC8aUuzpF/zPPTc2YPM5al5FhebV1d26moCdTqioAExgyC8DK7n+70blK7GmeEyDU8dR2EwcDy2gkPcF5lpLWjwS4iy+ON+VMTD+GZKoYf3daTMbD3BpE+2BLdQUwNiQWwENp/RGnXYQyDn5roa0ScX5jCARjLT09viLT+ubzAtSl3dbRWdmW45SS2YIG/vm5Y237teYSot/AUlUBRJJSFmvFoDyDe7bRuW71QRLkNH7a5AkRgJX187T29vYWjd3Qekb06dwzdUy6mTQgKfuCoIVLSpZ9Hv25EsM0nS+qUYCyYDNOmjrFxWFn5AWz3bkZHNhdhPCVu63QVgtgq3gdxDYWCMzLXnfGyev8ce+dNJ4aRzUg/f10H+Xa/7CE+6FEbwVxPYDWkOxrudQpqprr8vj/CHkpCT2Y1Y4su5M7t9AET+8maQB/MAyesQ7cYM83l7W8L6bqrc6bTNOz3sB+VwUvePn2QfR4XtT1lKoK6A9NlXqExeKF2T9tKnFuFW3ccc0wWV8G+OWcBp/gDgaVhSZ78z8FT/ve3GlMkk9ha9wsaBrKR3Hc1n0voKoAPqDiu1KBE2HYGWmYRDQLI9+D2SOX73t4ej15nO0IVmxJH4Xhek1ZMrqs+a+Cp6Mqr8BoNL4JnkJB01rCWr7dd3bQ2gOnjHis5g3n24KKsgI8uu/3YOvfhNn/QMjncXv8KKkOSc7CfpofZ/oVZnvTm4Kn02EtTJMNqNN8QdNfSk8hpD6mtR/mk/hxV9nmSgbCr5o1xV2Y/WNY+Z1C8vmqiVkmg+koBpvTTwsEWXClxd78e8Hjrpl+M5UMJ7CKkwRt8CU2FmEPZpU07UkkQ5MCuJCu6oKlsiwdwqtq5OA7WiH0IXOJc7cYmKetmUZLPZKcL4VoYAGPHQr6reDxVBd8hsjSHzCZ8YKWdMnHoWR1omvyuFsgchKWNU2vIENbF8IY2SDeMSA+x22IBM8TmEzj6ONh8NzlMfJAJPiOKuss3C2cTCl4PifcGeJC96diemqlZgVwASa7ywHzfiSGsACWvtRkd/5atHU4puf0JzC3Cxo0tDmr1LVX1Luq8+4wyPQEHF6OoH3cpS4F8MmZS12/hCVcPb4y0gtg95nWuH4jJt+1b8pYA007gWWYJWhQ0DY4vBdEnX/ClmXDawh1FkFLcRnAVXysxYoaRrcCeG9Ywo/4lTRee2DV95jtrpeFVJ69SYZ0btKfEzRFYU+aSp0/FnXs+WKJSMdQNwlaikt/yMlq+A6h2QnGmqC7Km9mZPbmqcyfREbJMOmrCQzc8Y7IRAgfNZZgz/8O8jRFlFjjxqUx5iOM3pNV6uQKTvgkpYBI6W0vTcvNMKa9jv38yTCdsV1ZdtfDot5eM2WqUTL+F/WhAu/F7wKWav00zuc1qC0gAImSp66ZxlGnIsEjw9sH8FF7cGzpubPwF1tEv1SWoZSakoV6wPPxk1bAZUdBnjHdeAq5/ScEIJj9gfrDTRtRx2v0A3+xCxHzG9HU5Gpwyh3BYLDYUuJ6S6+kpLYAQp01jRhOIuZODw/MWN37Hte9s8pJb5gW4wXXX99Hv4oYTbpIWPl2GggUZ61teUdXx37mQSuA5+0GSk9CzhQxMFai4X/triWFmxEdNDweh+0ncJjhk6KGLlEsiEQXWIDOg9m/G9WgozIoBXTV5s/AL7G4w5scHouxtzo9vgWRN7zhtjgvsIRfwBIeisOi1tSKY/RcZKgfqDFooetWAA5Gn8JPEnj2NiE8AGN/87GOeWNLL3WFadpfqKe2oJISaa3mLox9iKuzuZG3R5r7DmDUdefFDy1Upnzlw4cWmOG/gt3+4px1FzoGyNZc/azUUXfTjDEz4Uhv0dDJ6Sfs7pyyliYNvAlZNFsArqhuZbKMExsdI6Riz3/AgvQu7MGLgjbYkl+TzTBbD0P+YjUZfDxfwF80bu3Zc2o8eumawmCno+A2XFHxs3oYPFLgJj6ZVIDnk+ZRo61HWQmLivn7PtDfJVfY7FSC5+MmtAB+YpMkw7GoQwsjZ/3+4J0565ubuZBUPvzyxGwwHYfMO4RcJBPvKL2+Ysvac+2ClqoyrgXg8/RdA09sPPTgF8hFQwGeg5pUdsHb42aLMM6rSKN6ednbE5w7FOD5eKoWELoGk1kdQlQmZ+QPJnOJKGQOfibz7z7KkP/n84MBDN0T0wL67gDZ0SjwjHQFAmTBxwieox5S8HyAmAqQZLIPxpHBGUIPY17cBC3KLnOdFqThUl6jgIoKrpSIX4fgfI18e5ml1Pmn4QI6EkdMH+B12B6EEp6H/SGzU8rw1ea1yE43xDv/eAmgMRV0QyhgBOSIBkY0MKKBEQ3cABr4P07x/ostazTXAAAAAElFTkSuQmCC"
  38197. /***/ }),
  38198. /***/ 621:
  38199. /*!************************************************************************************!*\
  38200. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/static/image/member/icon_signin_pre.png ***!
  38201. \************************************************************************************/
  38202. /*! no static exports found */
  38203. /***/ (function(module, exports) {
  38204. module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAACAJJREFUeAHtWntslFUWP+ebVwsolEowtqVTX7TuQqFWNGtc10cMsmx4FHwSfISoMTHZNYgYGNPd8rBZkt1o0AgxG7M8xN3NJgruH2uCiYpYEVpArRqdFopaTKtioXYe3/F3C3f45ptvZKb9Zig6l5R777nnnnvO75577uMbokIqIFBAoIDALxgBdsv2FW3Bewym24l4V3ck3LyhnqJuyVZyFr5M/smTKx9j5mtNoW2raztedEO+KwCEWiunk8HvQTmPUkqIbm+aEn7ZDQW1jFBb8A42eOtgXSgmMapvqgu36fah5sZQO1r7icGV2nhFZzF/bW13oywGTU7IYfKyx7w0UR9GwRUASNhM0sFeT2ocYsUmE8sAjjb85A4Aw9fjrEn4xQPgPRP0Kw5U1LPpuRZIlSheYVL/eroHOp7LNNJjh7jTw1KTslTSDc5iwL/bm6Z2bknHYqX/bid5ryutfAjRZwJjaZiGfM+m2dL038NvUyMlL09rR5TTArB8/6SLfWSsg9Kz2SCf7je4bQh1jY6UbyTqymirw/a4mNiYCeAyTGAU+j+YMwIgSEEvZC/FzFSqMYzB/9gMza/aGZ8jS9dM72hNN7DjEljWVlbuJ2MHIvs85tPGayHwgn5dzjAfyJDvNBtTVn0w8zadsGky3eTx0PaV71fWnBacXHIEoMjwriHm6mTWc7OGSSxjP/9NLRMnC1IAWLmv/DK4fYMTczqawfAJSxqME5b6EItJ2xyr6GNJWFZJdUtTalHo5uvGB69MbVDLxZYMj/cKzP4oGzm5KuI97jcTCphkHrcyiHCftY5yIobY6D9RFb+1UViSxjDF+F63lwRiagrSjqEOaUCzTvNb8xQAcN44z8rgXObxE0wq1W29Pf27McB21CMisk/ilDgGP7CHfJiscs2baQ6LylRfzS9R49+IjCqYqTFe6f2mb5du842WUsSAhD6anpzL+OT6yVoKAE5MdhqCy1guCszU9Gdv+Lqv/aNwQ8yMXTlwrO/61XXhTt020TNpBsBJG4Q0nz1Hn8mqr6Yrmd8cP3a9xON13ZGOBWpM3RYgL3YYHqfr2eSOgSETAczy+GMtwVf/OqPjK8X/r9soQnT4oLWvusGRx/Nnp53EyudUVn0EfSFj1knZRM9c03uMqPcDKz90uBALebmVlk15SB6gBoBbX1JURJvVluk04CO7x59fU1P1rNqKnNozoam+1TVV65e9dYHjslzRclFFUTFtVbpkIs+JZ8geoIQhuNxYxP63Q/urNpJp7kAg+jYel2Kvl29EfH0ALFOcBs2Ghki7JDB2zFWhttEbcAVWm9kPONqVeJhnQ4ElaK/IRp6dd1gAnBI2CTPVhCtxI04e/SgH8JcIXvYBh1LHDNfivWE9+9Uyo4hBgl0K51MXkhsADKqhthoUxsD4XCa1NeLPvUFcQTGXFudadgGAXCPsovwW06Q5cTEX4ab4iVtyXYsBbimURs5bJ8wTDetqu4+q9pWtk75jj/EKguOwg8GIBwDH3nfifGLButqjg8YrAAwPDeCk6Eoa6TGgJR6RhjVTjnZra594twxnfqPRjdlXMkeuBwjtiZvR+Wvqu77UxuOVqsRLnm2o/0bThpuPTA8Q2Rv/YWD+6mldR7SBf9wXHOdj4yWs+iEfrbUsaz7iPEBdpyORyLzmGV8c1oo+vqdkrN8zeOa/RdPcyt31AJETMCCMe/tPvsSmUx4Pum1mjOc1139xSPOoi5DfP24zTpqJ67ducyN3DQAYfiQudFNfX+xXMP9uEfouGwXBf8CM8hzrW4IyPnD+mH/C7X+fjaxseN1bAixbV0/t3H1q8JeebK3sxgVmE7bqi86okNBBERPGd3Zq3qVtE0cHuPhFzPwcTctF7poHqCcsq4J/mda5U0yZDc/42EpPLcuHZiQ2d1VtJ5bOyfSnXeXFo3jUP2D8PE3LVe4aALihLQztDy6zKto0rXNflMxZoLVY6YmySLsZg/H1hz/TtHt3BovOG+N9ARe+hZqWy9w9ANQna+ZmgNBMjadfm5+aeujzaLRfecJrVkOUZ5jCc1dN7/pU0x95jQIVpbwRy+ZOTct17h4ApzQFCMtCDVXPq5nUyq+t++rrfum/DYFuk6LhGPtpjAhuH04sD/V+OK4iuAEBb5Hul4/cdQCU0rihLKkopS3q5KaNwEXm+Js94fsAQihO0QVrp3a06zb1/F1dHXwOx9vFmpav3L1dwKaxCmB+MUpXtJbfpU90b9xAsTcovMrKipn3TAzg8ZTofis9X+WceEBCeebf4kvTjidayy5P0CwFZXxNdXC98hgLOa/F3AIAU9SDps/w/Q+ekPjIoSxUxuPJ+2kEvAfzarFtsJwDMDge88WG4dv+5P7KW1Vd7fPV1VV/x8w/bNMn79WcxQC7JYjuE/DR9D+hA1Wvs0gZXMPxY6W9X67reQNAGYLAWIzsDyjk2q6M5ednCWSsTv4ZCwDkH/ORNWLBA+zzgQuKWy/OdtFntY6w62hXigfgC2fvWdU0R4MLc4+T6BQABiLRD0jkWyfmc5aGn9czmXuc9E8BQD1ICuEp62eU8Nj6anv7Icdfi6YAoOyO9Uca8WDxzs8BA/XwEo3To/idUdzJHkcA1l59pAcPGHPxur0x29ddp0HOBg2G43eFsg3Gz3xqekdHOh3OeCZd/n75pT6vtx6//xmLE+wZ+dMNlF+62ReL0t61dYc+zO+4hdEKCBQQKCBQQODcQuBHXtpjPmDU24QAAAAASUVORK5CYII="
  38205. /***/ }),
  38206. /***/ 622:
  38207. /*!****************************************************************************************!*\
  38208. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/static/image/member/icon_popularize_pre.png ***!
  38209. \****************************************************************************************/
  38210. /*! no static exports found */
  38211. /***/ (function(module, exports) {
  38212. module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAABnRJREFUeAHtWnuIVFUY/747O/vQXd2HbmrkAyWi7SG0BKFBJKH1R4Rlf4lB/mEmYbGPtKhuVL52FqIHmmRlIYQS/hPSg7JA6GF/JLRB4lJatubuOuPu4j5m9359507Jnplz5t5zvXOdlTkwzJzv8fu+7zfnnvudOwNQGiUGSgyUGCgxcJUYsH+vBPG6igMjj20na6EGXgKChwHxBjc+0Z+A8AkMwstg16WizClaAhL9KwGtfQB4vbpIOgvkrIfWhs/V+vCl0RGwK7kUYvgjlxD3KCMNE3QntNf97GEXitoKBcULxO4qBwv2s5lX8QIp7toKnwhGNARMn7uar/fbfNcjbIVPBCMaAhBXGNdiwb3GPgEcoiEAYI5xboRzjX0COERDAOJAgNwuBvAxdomGAIeOG2dG8JOxTwCHaAig9McAZNDgsK3rE6AiQ5doCGhvPMed39O+cxO2wieCEQ0BopDWOu4D6HX+RHnqYh3buLZ5rEJUmXWC25MLIU7LuJWdxYn28fsxTva0UT6dqRVMwTvc+y+W/Ai6WbYBWmq/kuR+Jjv6m6DMambcmWBhDzgj30LbnPN+XP0R0HGuEbBiNzczqubkEIwOb4Ln5vb6CXjZpjMlr4SWWn+5XAbgD9vPL4F4/H3Oa/lkMRPh8Bf0NgwNbwF73iVJlzXxvgQSF5YDVnZpihdwa6C86hfo6L8rC7uw047+R6E8fiKneBEVuZlGfApqpp2AXf/IKy0rq/wE2P0zGOgAA/KSzzMQeIVYB8A+X53HKjyVuBQt91Q5zQN0CcTK94Nta+vUKlzg6bEdTOd8jyAZNeIiqIm/5sv2So3iuJfz8kk2LoPqzZt0IfUEiNMY0lqdo0a+DuyjZRpdOOIdF+bzirzPCAxhvc5eT0DVdYt5+dfoHNVyrIWKpoVqXUjSGNxujER4K6w5GFP56QmIgc8llgUbiwfzy4LRTjFAXmJTbLqnSoWpJ2CU/lI5eMrGR8562lyJgQPmeRFdBLtxSBVWT8Dzs3v4XtqlctLKiE4Y9wNaMI3iEscgGNNodeIvdQo9Aa4HbdE5KuXIe0DHhVuUujCEArva+o43QZPHZaMw7ti68PkJaKn/FIg+0Dkr5At44/weOlNrFLorEyVSj7jYiDcbATn8CH5Lg3Yl5ydARBpKbQTHSWTaS2VouaVFnM5WB3klbFVaBxEKLIRDTIDAnjwGJ0/kzzQMDj0DbbW7ZLk88ybAXjQCbfVtgBN3s+shXhF/u9dg5v0gjKf5cEPvybA8s6xtkEi+mCM3FQgMgZU9RMzBsXn85TzIqiP86v0vr9OZfMaXQlud1+mTeQ1rdCYfB0I+MGVdnw6t5kQO54TxcxhKJB/ib132FRsg0kZoqcslPSeIt8B7BXhjZCzchByxGuRneQivskEQooWP3Fq72BwjpOJF4uERINBa648BTazkT6Ni6g6xae3su+n/qe934SNveKMutogR4giXAJFY26wfeBV8IeUYizVLcz8Ty7pDMhOYAjvkET4BIkHEX+U8KfMrsCzMP0OQT6E5mPnd/WoLQwBR1tMh8QjNcBA2SB45mJI28KQwBADfg6WBFdLUzwRB9kEa8eNmalMgAjDr6EkTpomxvSP5EBYk1zIpSFgTgjN84zvCjUmcD1Rx3hRPGkNnfL7hDSXNWGnGOmOM4cMhyP3ZB6wPk87eGyWrltnmJEkAwSb+CNjWMxvKK9fy7r6Kv4kFHGpmsHAF97rIq0W0wp8BDH8ErfP6vCJ6E5BIbmaQV7h4w8djXqELracB3kVe4Db8jXyR8hPQmdrDzhvyARS9jmAPtNZu1OWp31k7kuLHzKldvKga4Qk+lYpVrBzqFZD5KezU1Fv2yhr5RkSDMDayWPW4Tr0CrMp110zxghOxf1VUPaaiR00A0SqV8ZSWaWpSEwC4cEoXq0xeXZOaAOTu7ZobpOx61QRQgB8fip0wVNekI8D8XxrFToADX6tSVBMwnv6QW95xlcOUlIlaRE2KoSZga+Mpvnm+qbCfmiKkt8CtKTd9NQHC7mT3s9xAKJdNLkwxS+go/NbdrstQT8De5jSc7nuASXiXneVff3RoxSXnnGkf/NF3P4haNEPdCmcb7+xthljZk9xXc4MUzZ+Ys1PwP6ce/rr4ODyxG1pnHffy80fAZBTx15nquhmTRUXzeSg5AHbTWNHkU0qkxECJgRIDxc7AvznRtgl1OARGAAAAAElFTkSuQmCC"
  38213. /***/ }),
  38214. /***/ 625:
  38215. /*!*****************************************************************!*\
  38216. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/api/memberInviter.js ***!
  38217. \*****************************************************************/
  38218. /*! no static exports found */
  38219. /***/ (function(module, exports, __webpack_require__) {
  38220. "use strict";
  38221. Object.defineProperty(exports, "__esModule", {
  38222. value: true
  38223. });
  38224. exports.getInviterUser = exports.getInviterPoster = exports.getInviterOrder = exports.checkInviter = void 0;
  38225. var _network = __webpack_require__(/*! ../util/network */ 38);
  38226. // 检测是否有推广权限
  38227. var checkInviter = function checkInviter() {
  38228. return (0, _network.requestApi)('/memberinviter/check', 'POST', {}, 'member');
  38229. };
  38230. // 获取推广海报
  38231. exports.checkInviter = checkInviter;
  38232. var getInviterPoster = function getInviterPoster() {
  38233. return (0, _network.requestApi)('/memberinviter/index', 'POST', {}, 'member');
  38234. };
  38235. // 获取推广会员
  38236. exports.getInviterPoster = getInviterPoster;
  38237. var getInviterUser = function getInviterUser(params) {
  38238. return (0, _network.requestApi)('/memberinviter/user', 'POST', {
  38239. page: params.page,
  38240. per_page: params.per_page
  38241. }, 'member');
  38242. };
  38243. // 获取推广佣金
  38244. exports.getInviterUser = getInviterUser;
  38245. var getInviterOrder = function getInviterOrder(params) {
  38246. return (0, _network.requestApi)('/memberinviter/order', 'POST', {
  38247. page: params.page,
  38248. per_page: params.per_page
  38249. }, 'member');
  38250. };
  38251. exports.getInviterOrder = getInviterOrder;
  38252. /***/ }),
  38253. /***/ 63:
  38254. /*!*****************************************************************************!*\
  38255. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/be.js ***!
  38256. \*****************************************************************************/
  38257. /*! no static exports found */
  38258. /***/ (function(module, exports, __webpack_require__) {
  38259. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  38260. //! moment.js locale configuration
  38261. //! locale : Belarusian [be]
  38262. //! author : Dmitry Demidov : https://github.com/demidov91
  38263. //! author: Praleska: http://praleska.pro/
  38264. //! Author : Menelion Elensúle : https://github.com/Oire
  38265. ;
  38266. (function (global, factory) {
  38267. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  38268. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  38269. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  38270. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  38271. })(this, function (moment) {
  38272. 'use strict';
  38273. //! moment.js locale configuration
  38274. function plural(word, num) {
  38275. var forms = word.split('_');
  38276. return num % 10 === 1 && num % 100 !== 11 ? forms[0] : num % 10 >= 2 && num % 10 <= 4 && (num % 100 < 10 || num % 100 >= 20) ? forms[1] : forms[2];
  38277. }
  38278. function relativeTimeWithPlural(number, withoutSuffix, key) {
  38279. var format = {
  38280. ss: withoutSuffix ? 'секунда_секунды_секунд' : 'секунду_секунды_секунд',
  38281. mm: withoutSuffix ? 'хвіліна_хвіліны_хвілін' : 'хвіліну_хвіліны_хвілін',
  38282. hh: withoutSuffix ? 'гадзіна_гадзіны_гадзін' : 'гадзіну_гадзіны_гадзін',
  38283. dd: 'дзень_дні_дзён',
  38284. MM: 'месяц_месяцы_месяцаў',
  38285. yy: 'год_гады_гадоў'
  38286. };
  38287. if (key === 'm') {
  38288. return withoutSuffix ? 'хвіліна' : 'хвіліну';
  38289. } else if (key === 'h') {
  38290. return withoutSuffix ? 'гадзіна' : 'гадзіну';
  38291. } else {
  38292. return number + ' ' + plural(format[key], +number);
  38293. }
  38294. }
  38295. var be = moment.defineLocale('be', {
  38296. months: {
  38297. format: 'студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня'.split('_'),
  38298. standalone: 'студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань'.split('_')
  38299. },
  38300. monthsShort: 'студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж'.split('_'),
  38301. weekdays: {
  38302. format: 'нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу'.split('_'),
  38303. standalone: 'нядзеля_панядзелак_аўторак_серада_чацвер_пятніца_субота'.split('_'),
  38304. isFormat: /\[ ?[Ууў] ?(?:мінулую|наступную)? ?\] ?dddd/
  38305. },
  38306. weekdaysShort: 'нд_пн_ат_ср_чц_пт_сб'.split('_'),
  38307. weekdaysMin: 'нд_пн_ат_ср_чц_пт_сб'.split('_'),
  38308. longDateFormat: {
  38309. LT: 'HH:mm',
  38310. LTS: 'HH:mm:ss',
  38311. L: 'DD.MM.YYYY',
  38312. LL: 'D MMMM YYYY г.',
  38313. LLL: 'D MMMM YYYY г., HH:mm',
  38314. LLLL: 'dddd, D MMMM YYYY г., HH:mm'
  38315. },
  38316. calendar: {
  38317. sameDay: '[Сёння ў] LT',
  38318. nextDay: '[Заўтра ў] LT',
  38319. lastDay: '[Учора ў] LT',
  38320. nextWeek: function nextWeek() {
  38321. return '[У] dddd [ў] LT';
  38322. },
  38323. lastWeek: function lastWeek() {
  38324. switch (this.day()) {
  38325. case 0:
  38326. case 3:
  38327. case 5:
  38328. case 6:
  38329. return '[У мінулую] dddd [ў] LT';
  38330. case 1:
  38331. case 2:
  38332. case 4:
  38333. return '[У мінулы] dddd [ў] LT';
  38334. }
  38335. },
  38336. sameElse: 'L'
  38337. },
  38338. relativeTime: {
  38339. future: 'праз %s',
  38340. past: '%s таму',
  38341. s: 'некалькі секунд',
  38342. m: relativeTimeWithPlural,
  38343. mm: relativeTimeWithPlural,
  38344. h: relativeTimeWithPlural,
  38345. hh: relativeTimeWithPlural,
  38346. d: 'дзень',
  38347. dd: relativeTimeWithPlural,
  38348. M: 'месяц',
  38349. MM: relativeTimeWithPlural,
  38350. y: 'год',
  38351. yy: relativeTimeWithPlural
  38352. },
  38353. meridiemParse: /ночы|раніцы|дня|вечара/,
  38354. isPM: function isPM(input) {
  38355. return /^(дня|вечара)$/.test(input);
  38356. },
  38357. meridiem: function meridiem(hour, minute, isLower) {
  38358. if (hour < 4) {
  38359. return 'ночы';
  38360. } else if (hour < 12) {
  38361. return 'раніцы';
  38362. } else if (hour < 17) {
  38363. return 'дня';
  38364. } else {
  38365. return 'вечара';
  38366. }
  38367. },
  38368. dayOfMonthOrdinalParse: /\d{1,2}-(і|ы|га)/,
  38369. ordinal: function ordinal(number, period) {
  38370. switch (period) {
  38371. case 'M':
  38372. case 'd':
  38373. case 'DDD':
  38374. case 'w':
  38375. case 'W':
  38376. return (number % 10 === 2 || number % 10 === 3) && number % 100 !== 12 && number % 100 !== 13 ? number + '-і' : number + '-ы';
  38377. case 'D':
  38378. return number + '-га';
  38379. default:
  38380. return number;
  38381. }
  38382. },
  38383. week: {
  38384. dow: 1,
  38385. // Monday is the first day of the week.
  38386. doy: 7 // The week that contains Jan 7th is the first week of the year.
  38387. }
  38388. });
  38389. return be;
  38390. });
  38391. /***/ }),
  38392. /***/ 64:
  38393. /*!*****************************************************************************!*\
  38394. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/bg.js ***!
  38395. \*****************************************************************************/
  38396. /*! no static exports found */
  38397. /***/ (function(module, exports, __webpack_require__) {
  38398. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  38399. //! moment.js locale configuration
  38400. //! locale : Bulgarian [bg]
  38401. //! author : Krasen Borisov : https://github.com/kraz
  38402. ;
  38403. (function (global, factory) {
  38404. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  38405. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  38406. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  38407. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  38408. })(this, function (moment) {
  38409. 'use strict';
  38410. //! moment.js locale configuration
  38411. var bg = moment.defineLocale('bg', {
  38412. months: 'януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември'.split('_'),
  38413. monthsShort: 'яну_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек'.split('_'),
  38414. weekdays: 'неделя_понеделник_вторник_сряда_четвъртък_петък_събота'.split('_'),
  38415. weekdaysShort: 'нед_пон_вто_сря_чет_пет_съб'.split('_'),
  38416. weekdaysMin: 'нд_пн_вт_ср_чт_пт_сб'.split('_'),
  38417. longDateFormat: {
  38418. LT: 'H:mm',
  38419. LTS: 'H:mm:ss',
  38420. L: 'D.MM.YYYY',
  38421. LL: 'D MMMM YYYY',
  38422. LLL: 'D MMMM YYYY H:mm',
  38423. LLLL: 'dddd, D MMMM YYYY H:mm'
  38424. },
  38425. calendar: {
  38426. sameDay: '[Днес в] LT',
  38427. nextDay: '[Утре в] LT',
  38428. nextWeek: 'dddd [в] LT',
  38429. lastDay: '[Вчера в] LT',
  38430. lastWeek: function lastWeek() {
  38431. switch (this.day()) {
  38432. case 0:
  38433. case 3:
  38434. case 6:
  38435. return '[Миналата] dddd [в] LT';
  38436. case 1:
  38437. case 2:
  38438. case 4:
  38439. case 5:
  38440. return '[Миналия] dddd [в] LT';
  38441. }
  38442. },
  38443. sameElse: 'L'
  38444. },
  38445. relativeTime: {
  38446. future: 'след %s',
  38447. past: 'преди %s',
  38448. s: 'няколко секунди',
  38449. ss: '%d секунди',
  38450. m: 'минута',
  38451. mm: '%d минути',
  38452. h: 'час',
  38453. hh: '%d часа',
  38454. d: 'ден',
  38455. dd: '%d дена',
  38456. w: 'седмица',
  38457. ww: '%d седмици',
  38458. M: 'месец',
  38459. MM: '%d месеца',
  38460. y: 'година',
  38461. yy: '%d години'
  38462. },
  38463. dayOfMonthOrdinalParse: /\d{1,2}-(ев|ен|ти|ви|ри|ми)/,
  38464. ordinal: function ordinal(number) {
  38465. var lastDigit = number % 10,
  38466. last2Digits = number % 100;
  38467. if (number === 0) {
  38468. return number + '-ев';
  38469. } else if (last2Digits === 0) {
  38470. return number + '-ен';
  38471. } else if (last2Digits > 10 && last2Digits < 20) {
  38472. return number + '-ти';
  38473. } else if (lastDigit === 1) {
  38474. return number + '-ви';
  38475. } else if (lastDigit === 2) {
  38476. return number + '-ри';
  38477. } else if (lastDigit === 7 || lastDigit === 8) {
  38478. return number + '-ми';
  38479. } else {
  38480. return number + '-ти';
  38481. }
  38482. },
  38483. week: {
  38484. dow: 1,
  38485. // Monday is the first day of the week.
  38486. doy: 7 // The week that contains Jan 7th is the first week of the year.
  38487. }
  38488. });
  38489. return bg;
  38490. });
  38491. /***/ }),
  38492. /***/ 65:
  38493. /*!*****************************************************************************!*\
  38494. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/bm.js ***!
  38495. \*****************************************************************************/
  38496. /*! no static exports found */
  38497. /***/ (function(module, exports, __webpack_require__) {
  38498. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  38499. //! moment.js locale configuration
  38500. //! locale : Bambara [bm]
  38501. //! author : Estelle Comment : https://github.com/estellecomment
  38502. ;
  38503. (function (global, factory) {
  38504. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  38505. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  38506. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  38507. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  38508. })(this, function (moment) {
  38509. 'use strict';
  38510. //! moment.js locale configuration
  38511. var bm = moment.defineLocale('bm', {
  38512. months: 'Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_Mɛkalo_Zuwɛnkalo_Zuluyekalo_Utikalo_Sɛtanburukalo_ɔkutɔburukalo_Nowanburukalo_Desanburukalo'.split('_'),
  38513. monthsShort: 'Zan_Few_Mar_Awi_Mɛ_Zuw_Zul_Uti_Sɛt_ɔku_Now_Des'.split('_'),
  38514. weekdays: 'Kari_Ntɛnɛn_Tarata_Araba_Alamisa_Juma_Sibiri'.split('_'),
  38515. weekdaysShort: 'Kar_Ntɛ_Tar_Ara_Ala_Jum_Sib'.split('_'),
  38516. weekdaysMin: 'Ka_Nt_Ta_Ar_Al_Ju_Si'.split('_'),
  38517. longDateFormat: {
  38518. LT: 'HH:mm',
  38519. LTS: 'HH:mm:ss',
  38520. L: 'DD/MM/YYYY',
  38521. LL: 'MMMM [tile] D [san] YYYY',
  38522. LLL: 'MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm',
  38523. LLLL: 'dddd MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm'
  38524. },
  38525. calendar: {
  38526. sameDay: '[Bi lɛrɛ] LT',
  38527. nextDay: '[Sini lɛrɛ] LT',
  38528. nextWeek: 'dddd [don lɛrɛ] LT',
  38529. lastDay: '[Kunu lɛrɛ] LT',
  38530. lastWeek: 'dddd [tɛmɛnen lɛrɛ] LT',
  38531. sameElse: 'L'
  38532. },
  38533. relativeTime: {
  38534. future: '%s kɔnɔ',
  38535. past: 'a bɛ %s bɔ',
  38536. s: 'sanga dama dama',
  38537. ss: 'sekondi %d',
  38538. m: 'miniti kelen',
  38539. mm: 'miniti %d',
  38540. h: 'lɛrɛ kelen',
  38541. hh: 'lɛrɛ %d',
  38542. d: 'tile kelen',
  38543. dd: 'tile %d',
  38544. M: 'kalo kelen',
  38545. MM: 'kalo %d',
  38546. y: 'san kelen',
  38547. yy: 'san %d'
  38548. },
  38549. week: {
  38550. dow: 1,
  38551. // Monday is the first day of the week.
  38552. doy: 4 // The week that contains Jan 4th is the first week of the year.
  38553. }
  38554. });
  38555. return bm;
  38556. });
  38557. /***/ }),
  38558. /***/ 658:
  38559. /*!********************************************************************!*\
  38560. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/api/memberPredeposit.js ***!
  38561. \********************************************************************/
  38562. /*! no static exports found */
  38563. /***/ (function(module, exports, __webpack_require__) {
  38564. "use strict";
  38565. Object.defineProperty(exports, "__esModule", {
  38566. value: true
  38567. });
  38568. exports.getRechargeCardList = exports.getPredepositList = exports.addRechargeCard = void 0;
  38569. var _network = __webpack_require__(/*! ../util/network */ 38);
  38570. // 获取用户预存款记录
  38571. var getPredepositList = function getPredepositList(params) {
  38572. return (0, _network.requestApi)('/Memberfund/predepositlog', 'POST', {
  38573. page: params.page,
  38574. per_page: params.per_page
  38575. }, 'member');
  38576. };
  38577. // 获取用户充值卡记录
  38578. exports.getPredepositList = getPredepositList;
  38579. var getRechargeCardList = function getRechargeCardList(params) {
  38580. return (0, _network.requestApi)('/Memberfund/rcblog', 'POST', {
  38581. page: params.page,
  38582. per_page: params.per_page
  38583. }, 'member');
  38584. };
  38585. // 增加充值卡
  38586. exports.getRechargeCardList = getRechargeCardList;
  38587. var addRechargeCard = function addRechargeCard(rc_sn) {
  38588. return (0, _network.requestApi)('/Memberfund/rechargecard_add', 'POST', {
  38589. rc_sn: rc_sn
  38590. }, 'member');
  38591. };
  38592. exports.addRechargeCard = addRechargeCard;
  38593. /***/ }),
  38594. /***/ 66:
  38595. /*!*****************************************************************************!*\
  38596. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/bn.js ***!
  38597. \*****************************************************************************/
  38598. /*! no static exports found */
  38599. /***/ (function(module, exports, __webpack_require__) {
  38600. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  38601. //! moment.js locale configuration
  38602. //! locale : Bengali [bn]
  38603. //! author : Kaushik Gandhi : https://github.com/kaushikgandhi
  38604. ;
  38605. (function (global, factory) {
  38606. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  38607. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  38608. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  38609. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  38610. })(this, function (moment) {
  38611. 'use strict';
  38612. //! moment.js locale configuration
  38613. var symbolMap = {
  38614. 1: '১',
  38615. 2: '২',
  38616. 3: '৩',
  38617. 4: '৪',
  38618. 5: '৫',
  38619. 6: '৬',
  38620. 7: '৭',
  38621. 8: '৮',
  38622. 9: '৯',
  38623. 0: '০'
  38624. },
  38625. numberMap = {
  38626. '১': '1',
  38627. '২': '2',
  38628. '৩': '3',
  38629. '৪': '4',
  38630. '৫': '5',
  38631. '৬': '6',
  38632. '৭': '7',
  38633. '৮': '8',
  38634. '৯': '9',
  38635. '০': '0'
  38636. };
  38637. var bn = moment.defineLocale('bn', {
  38638. months: 'জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর'.split('_'),
  38639. monthsShort: 'জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে'.split('_'),
  38640. weekdays: 'রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার'.split('_'),
  38641. weekdaysShort: 'রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি'.split('_'),
  38642. weekdaysMin: 'রবি_সোম_মঙ্গল_বুধ_বৃহ_শুক্র_শনি'.split('_'),
  38643. longDateFormat: {
  38644. LT: 'A h:mm সময়',
  38645. LTS: 'A h:mm:ss সময়',
  38646. L: 'DD/MM/YYYY',
  38647. LL: 'D MMMM YYYY',
  38648. LLL: 'D MMMM YYYY, A h:mm সময়',
  38649. LLLL: 'dddd, D MMMM YYYY, A h:mm সময়'
  38650. },
  38651. calendar: {
  38652. sameDay: '[আজ] LT',
  38653. nextDay: '[আগামীকাল] LT',
  38654. nextWeek: 'dddd, LT',
  38655. lastDay: '[গতকাল] LT',
  38656. lastWeek: '[গত] dddd, LT',
  38657. sameElse: 'L'
  38658. },
  38659. relativeTime: {
  38660. future: '%s পরে',
  38661. past: '%s আগে',
  38662. s: 'কয়েক সেকেন্ড',
  38663. ss: '%d সেকেন্ড',
  38664. m: 'এক মিনিট',
  38665. mm: '%d মিনিট',
  38666. h: 'এক ঘন্টা',
  38667. hh: '%d ঘন্টা',
  38668. d: 'এক দিন',
  38669. dd: '%d দিন',
  38670. M: 'এক মাস',
  38671. MM: '%d মাস',
  38672. y: 'এক বছর',
  38673. yy: '%d বছর'
  38674. },
  38675. preparse: function preparse(string) {
  38676. return string.replace(/[১২৩৪৫৬৭৮৯০]/g, function (match) {
  38677. return numberMap[match];
  38678. });
  38679. },
  38680. postformat: function postformat(string) {
  38681. return string.replace(/\d/g, function (match) {
  38682. return symbolMap[match];
  38683. });
  38684. },
  38685. meridiemParse: /রাত|সকাল|দুপুর|বিকাল|রাত/,
  38686. meridiemHour: function meridiemHour(hour, meridiem) {
  38687. if (hour === 12) {
  38688. hour = 0;
  38689. }
  38690. if (meridiem === 'রাত' && hour >= 4 || meridiem === 'দুপুর' && hour < 5 || meridiem === 'বিকাল') {
  38691. return hour + 12;
  38692. } else {
  38693. return hour;
  38694. }
  38695. },
  38696. meridiem: function meridiem(hour, minute, isLower) {
  38697. if (hour < 4) {
  38698. return 'রাত';
  38699. } else if (hour < 10) {
  38700. return 'সকাল';
  38701. } else if (hour < 17) {
  38702. return 'দুপুর';
  38703. } else if (hour < 20) {
  38704. return 'বিকাল';
  38705. } else {
  38706. return 'রাত';
  38707. }
  38708. },
  38709. week: {
  38710. dow: 0,
  38711. // Sunday is the first day of the week.
  38712. doy: 6 // The week that contains Jan 6th is the first week of the year.
  38713. }
  38714. });
  38715. return bn;
  38716. });
  38717. /***/ }),
  38718. /***/ 67:
  38719. /*!********************************************************************************!*\
  38720. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/bn-bd.js ***!
  38721. \********************************************************************************/
  38722. /*! no static exports found */
  38723. /***/ (function(module, exports, __webpack_require__) {
  38724. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  38725. //! moment.js locale configuration
  38726. //! locale : Bengali (Bangladesh) [bn-bd]
  38727. //! author : Asraf Hossain Patoary : https://github.com/ashwoolford
  38728. ;
  38729. (function (global, factory) {
  38730. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  38731. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  38732. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  38733. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  38734. })(this, function (moment) {
  38735. 'use strict';
  38736. //! moment.js locale configuration
  38737. var symbolMap = {
  38738. 1: '১',
  38739. 2: '২',
  38740. 3: '৩',
  38741. 4: '৪',
  38742. 5: '৫',
  38743. 6: '৬',
  38744. 7: '৭',
  38745. 8: '৮',
  38746. 9: '৯',
  38747. 0: '০'
  38748. },
  38749. numberMap = {
  38750. '১': '1',
  38751. '২': '2',
  38752. '৩': '3',
  38753. '৪': '4',
  38754. '৫': '5',
  38755. '৬': '6',
  38756. '৭': '7',
  38757. '৮': '8',
  38758. '৯': '9',
  38759. '০': '0'
  38760. };
  38761. var bnBd = moment.defineLocale('bn-bd', {
  38762. months: 'জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর'.split('_'),
  38763. monthsShort: 'জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে'.split('_'),
  38764. weekdays: 'রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার'.split('_'),
  38765. weekdaysShort: 'রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি'.split('_'),
  38766. weekdaysMin: 'রবি_সোম_মঙ্গল_বুধ_বৃহ_শুক্র_শনি'.split('_'),
  38767. longDateFormat: {
  38768. LT: 'A h:mm সময়',
  38769. LTS: 'A h:mm:ss সময়',
  38770. L: 'DD/MM/YYYY',
  38771. LL: 'D MMMM YYYY',
  38772. LLL: 'D MMMM YYYY, A h:mm সময়',
  38773. LLLL: 'dddd, D MMMM YYYY, A h:mm সময়'
  38774. },
  38775. calendar: {
  38776. sameDay: '[আজ] LT',
  38777. nextDay: '[আগামীকাল] LT',
  38778. nextWeek: 'dddd, LT',
  38779. lastDay: '[গতকাল] LT',
  38780. lastWeek: '[গত] dddd, LT',
  38781. sameElse: 'L'
  38782. },
  38783. relativeTime: {
  38784. future: '%s পরে',
  38785. past: '%s আগে',
  38786. s: 'কয়েক সেকেন্ড',
  38787. ss: '%d সেকেন্ড',
  38788. m: 'এক মিনিট',
  38789. mm: '%d মিনিট',
  38790. h: 'এক ঘন্টা',
  38791. hh: '%d ঘন্টা',
  38792. d: 'এক দিন',
  38793. dd: '%d দিন',
  38794. M: 'এক মাস',
  38795. MM: '%d মাস',
  38796. y: 'এক বছর',
  38797. yy: '%d বছর'
  38798. },
  38799. preparse: function preparse(string) {
  38800. return string.replace(/[১২৩৪৫৬৭৮৯০]/g, function (match) {
  38801. return numberMap[match];
  38802. });
  38803. },
  38804. postformat: function postformat(string) {
  38805. return string.replace(/\d/g, function (match) {
  38806. return symbolMap[match];
  38807. });
  38808. },
  38809. meridiemParse: /রাত|ভোর|সকাল|দুপুর|বিকাল|সন্ধ্যা|রাত/,
  38810. meridiemHour: function meridiemHour(hour, meridiem) {
  38811. if (hour === 12) {
  38812. hour = 0;
  38813. }
  38814. if (meridiem === 'রাত') {
  38815. return hour < 4 ? hour : hour + 12;
  38816. } else if (meridiem === 'ভোর') {
  38817. return hour;
  38818. } else if (meridiem === 'সকাল') {
  38819. return hour;
  38820. } else if (meridiem === 'দুপুর') {
  38821. return hour >= 3 ? hour : hour + 12;
  38822. } else if (meridiem === 'বিকাল') {
  38823. return hour + 12;
  38824. } else if (meridiem === 'সন্ধ্যা') {
  38825. return hour + 12;
  38826. }
  38827. },
  38828. meridiem: function meridiem(hour, minute, isLower) {
  38829. if (hour < 4) {
  38830. return 'রাত';
  38831. } else if (hour < 6) {
  38832. return 'ভোর';
  38833. } else if (hour < 12) {
  38834. return 'সকাল';
  38835. } else if (hour < 15) {
  38836. return 'দুপুর';
  38837. } else if (hour < 18) {
  38838. return 'বিকাল';
  38839. } else if (hour < 20) {
  38840. return 'সন্ধ্যা';
  38841. } else {
  38842. return 'রাত';
  38843. }
  38844. },
  38845. week: {
  38846. dow: 0,
  38847. // Sunday is the first day of the week.
  38848. doy: 6 // The week that contains Jan 6th is the first week of the year.
  38849. }
  38850. });
  38851. return bnBd;
  38852. });
  38853. /***/ }),
  38854. /***/ 675:
  38855. /*!******************************************************************!*\
  38856. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/api/memberWithdraw.js ***!
  38857. \******************************************************************/
  38858. /*! no static exports found */
  38859. /***/ (function(module, exports, __webpack_require__) {
  38860. "use strict";
  38861. Object.defineProperty(exports, "__esModule", {
  38862. value: true
  38863. });
  38864. exports.getWithdrawList = exports.addWithdraw = void 0;
  38865. var _network = __webpack_require__(/*! ../util/network */ 38);
  38866. var getWithdrawList = function getWithdrawList(params) {
  38867. return (0, _network.requestApi)('/Memberfund/pdcashlist', 'POST', {
  38868. page: params.page,
  38869. per_page: params.per_page
  38870. }, 'member');
  38871. };
  38872. exports.getWithdrawList = getWithdrawList;
  38873. var addWithdraw = function addWithdraw(pdcAmount, memberbankId, password) {
  38874. return (0, _network.requestApi)('/Recharge/pd_cash_add', 'POST', {
  38875. pdc_amount: pdcAmount,
  38876. memberbank_id: memberbankId,
  38877. password: password
  38878. }, 'member');
  38879. };
  38880. exports.addWithdraw = addWithdraw;
  38881. /***/ }),
  38882. /***/ 676:
  38883. /*!**************************************************************!*\
  38884. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/api/memberBank.js ***!
  38885. \**************************************************************/
  38886. /*! no static exports found */
  38887. /***/ (function(module, exports, __webpack_require__) {
  38888. "use strict";
  38889. Object.defineProperty(exports, "__esModule", {
  38890. value: true
  38891. });
  38892. exports.getBankList = exports.getBankInfo = exports.editBank = exports.delBank = exports.addBank = void 0;
  38893. var _network = __webpack_require__(/*! ../util/network */ 38);
  38894. // 获取用户提现账户
  38895. var getBankList = function getBankList() {
  38896. return (0, _network.requestApi)('/Memberbank/bank_list', 'POST', {}, 'member');
  38897. };
  38898. // 获取单条提现账户
  38899. exports.getBankList = getBankList;
  38900. var getBankInfo = function getBankInfo(memberbankId) {
  38901. return (0, _network.requestApi)('/Memberbank/bank_info', 'POST', {
  38902. 'memberbank_id': memberbankId
  38903. }, 'member');
  38904. };
  38905. // 新增用户提现账户
  38906. exports.getBankInfo = getBankInfo;
  38907. var addBank = function addBank(data) {
  38908. return (0, _network.requestApi)('/Memberbank/bank_add', 'POST', {
  38909. 'memberbank_type': data.memberbank_type,
  38910. 'memberbank_truename': data.memberbank_truename,
  38911. 'memberbank_name': data.memberbank_name,
  38912. 'memberbank_no': data.memberbank_no
  38913. }, 'member');
  38914. };
  38915. // 编辑用户提现账户
  38916. exports.addBank = addBank;
  38917. var editBank = function editBank(data, memberbankId) {
  38918. return (0, _network.requestApi)('/Memberbank/bank_edit', 'POST', {
  38919. 'memberbank_id': memberbankId,
  38920. 'memberbank_type': data.memberbank_type,
  38921. 'memberbank_truename': data.memberbank_truename,
  38922. 'memberbank_name': data.memberbank_name,
  38923. 'memberbank_no': data.memberbank_no
  38924. }, 'member');
  38925. };
  38926. // 删除用户提现账户
  38927. exports.editBank = editBank;
  38928. var delBank = function delBank(memberbankId) {
  38929. return (0, _network.requestApi)('/Memberbank/bank_del', 'POST', {
  38930. 'memberbank_id': memberbankId
  38931. }, 'member');
  38932. };
  38933. exports.delBank = delBank;
  38934. /***/ }),
  38935. /***/ 68:
  38936. /*!*****************************************************************************!*\
  38937. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/bo.js ***!
  38938. \*****************************************************************************/
  38939. /*! no static exports found */
  38940. /***/ (function(module, exports, __webpack_require__) {
  38941. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  38942. //! moment.js locale configuration
  38943. //! locale : Tibetan [bo]
  38944. //! author : Thupten N. Chakrishar : https://github.com/vajradog
  38945. ;
  38946. (function (global, factory) {
  38947. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  38948. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  38949. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  38950. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  38951. })(this, function (moment) {
  38952. 'use strict';
  38953. //! moment.js locale configuration
  38954. var symbolMap = {
  38955. 1: '༡',
  38956. 2: '༢',
  38957. 3: '༣',
  38958. 4: '༤',
  38959. 5: '༥',
  38960. 6: '༦',
  38961. 7: '༧',
  38962. 8: '༨',
  38963. 9: '༩',
  38964. 0: '༠'
  38965. },
  38966. numberMap = {
  38967. '༡': '1',
  38968. '༢': '2',
  38969. '༣': '3',
  38970. '༤': '4',
  38971. '༥': '5',
  38972. '༦': '6',
  38973. '༧': '7',
  38974. '༨': '8',
  38975. '༩': '9',
  38976. '༠': '0'
  38977. };
  38978. var bo = moment.defineLocale('bo', {
  38979. months: 'ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ'.split('_'),
  38980. monthsShort: 'ཟླ་1_ཟླ་2_ཟླ་3_ཟླ་4_ཟླ་5_ཟླ་6_ཟླ་7_ཟླ་8_ཟླ་9_ཟླ་10_ཟླ་11_ཟླ་12'.split('_'),
  38981. monthsShortRegex: /^(ཟླ་\d{1,2})/,
  38982. monthsParseExact: true,
  38983. weekdays: 'གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་'.split('_'),
  38984. weekdaysShort: 'ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་'.split('_'),
  38985. weekdaysMin: 'ཉི_ཟླ_མིག_ལྷག_ཕུར_སངས_སྤེན'.split('_'),
  38986. longDateFormat: {
  38987. LT: 'A h:mm',
  38988. LTS: 'A h:mm:ss',
  38989. L: 'DD/MM/YYYY',
  38990. LL: 'D MMMM YYYY',
  38991. LLL: 'D MMMM YYYY, A h:mm',
  38992. LLLL: 'dddd, D MMMM YYYY, A h:mm'
  38993. },
  38994. calendar: {
  38995. sameDay: '[དི་རིང] LT',
  38996. nextDay: '[སང་ཉིན] LT',
  38997. nextWeek: '[བདུན་ཕྲག་རྗེས་མ], LT',
  38998. lastDay: '[ཁ་སང] LT',
  38999. lastWeek: '[བདུན་ཕྲག་མཐའ་མ] dddd, LT',
  39000. sameElse: 'L'
  39001. },
  39002. relativeTime: {
  39003. future: '%s ལ་',
  39004. past: '%s སྔན་ལ',
  39005. s: 'ལམ་སང',
  39006. ss: '%d སྐར་ཆ།',
  39007. m: 'སྐར་མ་གཅིག',
  39008. mm: '%d སྐར་མ',
  39009. h: 'ཆུ་ཚོད་གཅིག',
  39010. hh: '%d ཆུ་ཚོད',
  39011. d: 'ཉིན་གཅིག',
  39012. dd: '%d ཉིན་',
  39013. M: 'ཟླ་བ་གཅིག',
  39014. MM: '%d ཟླ་བ',
  39015. y: 'ལོ་གཅིག',
  39016. yy: '%d ལོ'
  39017. },
  39018. preparse: function preparse(string) {
  39019. return string.replace(/[༡༢༣༤༥༦༧༨༩༠]/g, function (match) {
  39020. return numberMap[match];
  39021. });
  39022. },
  39023. postformat: function postformat(string) {
  39024. return string.replace(/\d/g, function (match) {
  39025. return symbolMap[match];
  39026. });
  39027. },
  39028. meridiemParse: /མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,
  39029. meridiemHour: function meridiemHour(hour, meridiem) {
  39030. if (hour === 12) {
  39031. hour = 0;
  39032. }
  39033. if (meridiem === 'མཚན་མོ' && hour >= 4 || meridiem === 'ཉིན་གུང' && hour < 5 || meridiem === 'དགོང་དག') {
  39034. return hour + 12;
  39035. } else {
  39036. return hour;
  39037. }
  39038. },
  39039. meridiem: function meridiem(hour, minute, isLower) {
  39040. if (hour < 4) {
  39041. return 'མཚན་མོ';
  39042. } else if (hour < 10) {
  39043. return 'ཞོགས་ཀས';
  39044. } else if (hour < 17) {
  39045. return 'ཉིན་གུང';
  39046. } else if (hour < 20) {
  39047. return 'དགོང་དག';
  39048. } else {
  39049. return 'མཚན་མོ';
  39050. }
  39051. },
  39052. week: {
  39053. dow: 0,
  39054. // Sunday is the first day of the week.
  39055. doy: 6 // The week that contains Jan 6th is the first week of the year.
  39056. }
  39057. });
  39058. return bo;
  39059. });
  39060. /***/ }),
  39061. /***/ 69:
  39062. /*!*****************************************************************************!*\
  39063. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/br.js ***!
  39064. \*****************************************************************************/
  39065. /*! no static exports found */
  39066. /***/ (function(module, exports, __webpack_require__) {
  39067. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  39068. //! moment.js locale configuration
  39069. //! locale : Breton [br]
  39070. //! author : Jean-Baptiste Le Duigou : https://github.com/jbleduigou
  39071. ;
  39072. (function (global, factory) {
  39073. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  39074. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  39075. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  39076. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  39077. })(this, function (moment) {
  39078. 'use strict';
  39079. //! moment.js locale configuration
  39080. function relativeTimeWithMutation(number, withoutSuffix, key) {
  39081. var format = {
  39082. mm: 'munutenn',
  39083. MM: 'miz',
  39084. dd: 'devezh'
  39085. };
  39086. return number + ' ' + mutation(format[key], number);
  39087. }
  39088. function specialMutationForYears(number) {
  39089. switch (lastNumber(number)) {
  39090. case 1:
  39091. case 3:
  39092. case 4:
  39093. case 5:
  39094. case 9:
  39095. return number + ' bloaz';
  39096. default:
  39097. return number + ' vloaz';
  39098. }
  39099. }
  39100. function lastNumber(number) {
  39101. if (number > 9) {
  39102. return lastNumber(number % 10);
  39103. }
  39104. return number;
  39105. }
  39106. function mutation(text, number) {
  39107. if (number === 2) {
  39108. return softMutation(text);
  39109. }
  39110. return text;
  39111. }
  39112. function softMutation(text) {
  39113. var mutationTable = {
  39114. m: 'v',
  39115. b: 'v',
  39116. d: 'z'
  39117. };
  39118. if (mutationTable[text.charAt(0)] === undefined) {
  39119. return text;
  39120. }
  39121. return mutationTable[text.charAt(0)] + text.substring(1);
  39122. }
  39123. var monthsParse = [/^gen/i, /^c[ʼ\']hwe/i, /^meu/i, /^ebr/i, /^mae/i, /^(mez|eve)/i, /^gou/i, /^eos/i, /^gwe/i, /^her/i, /^du/i, /^ker/i],
  39124. monthsRegex = /^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu|gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,
  39125. monthsStrictRegex = /^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,
  39126. monthsShortStrictRegex = /^(gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,
  39127. fullWeekdaysParse = [/^sul/i, /^lun/i, /^meurzh/i, /^merc[ʼ\']her/i, /^yaou/i, /^gwener/i, /^sadorn/i],
  39128. shortWeekdaysParse = [/^Sul/i, /^Lun/i, /^Meu/i, /^Mer/i, /^Yao/i, /^Gwe/i, /^Sad/i],
  39129. minWeekdaysParse = [/^Su/i, /^Lu/i, /^Me([^r]|$)/i, /^Mer/i, /^Ya/i, /^Gw/i, /^Sa/i];
  39130. var br = moment.defineLocale('br', {
  39131. months: 'Genver_Cʼhwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu'.split('_'),
  39132. monthsShort: 'Gen_Cʼhwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker'.split('_'),
  39133. weekdays: 'Sul_Lun_Meurzh_Mercʼher_Yaou_Gwener_Sadorn'.split('_'),
  39134. weekdaysShort: 'Sul_Lun_Meu_Mer_Yao_Gwe_Sad'.split('_'),
  39135. weekdaysMin: 'Su_Lu_Me_Mer_Ya_Gw_Sa'.split('_'),
  39136. weekdaysParse: minWeekdaysParse,
  39137. fullWeekdaysParse: fullWeekdaysParse,
  39138. shortWeekdaysParse: shortWeekdaysParse,
  39139. minWeekdaysParse: minWeekdaysParse,
  39140. monthsRegex: monthsRegex,
  39141. monthsShortRegex: monthsRegex,
  39142. monthsStrictRegex: monthsStrictRegex,
  39143. monthsShortStrictRegex: monthsShortStrictRegex,
  39144. monthsParse: monthsParse,
  39145. longMonthsParse: monthsParse,
  39146. shortMonthsParse: monthsParse,
  39147. longDateFormat: {
  39148. LT: 'HH:mm',
  39149. LTS: 'HH:mm:ss',
  39150. L: 'DD/MM/YYYY',
  39151. LL: 'D [a viz] MMMM YYYY',
  39152. LLL: 'D [a viz] MMMM YYYY HH:mm',
  39153. LLLL: 'dddd, D [a viz] MMMM YYYY HH:mm'
  39154. },
  39155. calendar: {
  39156. sameDay: '[Hiziv da] LT',
  39157. nextDay: '[Warcʼhoazh da] LT',
  39158. nextWeek: 'dddd [da] LT',
  39159. lastDay: '[Decʼh da] LT',
  39160. lastWeek: 'dddd [paset da] LT',
  39161. sameElse: 'L'
  39162. },
  39163. relativeTime: {
  39164. future: 'a-benn %s',
  39165. past: '%s ʼzo',
  39166. s: 'un nebeud segondennoù',
  39167. ss: '%d eilenn',
  39168. m: 'ur vunutenn',
  39169. mm: relativeTimeWithMutation,
  39170. h: 'un eur',
  39171. hh: '%d eur',
  39172. d: 'un devezh',
  39173. dd: relativeTimeWithMutation,
  39174. M: 'ur miz',
  39175. MM: relativeTimeWithMutation,
  39176. y: 'ur bloaz',
  39177. yy: specialMutationForYears
  39178. },
  39179. dayOfMonthOrdinalParse: /\d{1,2}(añ|vet)/,
  39180. ordinal: function ordinal(number) {
  39181. var output = number === 1 ? 'añ' : 'vet';
  39182. return number + output;
  39183. },
  39184. week: {
  39185. dow: 1,
  39186. // Monday is the first day of the week.
  39187. doy: 4 // The week that contains Jan 4th is the first week of the year.
  39188. },
  39189. meridiemParse: /a.m.|g.m./,
  39190. // goude merenn | a-raok merenn
  39191. isPM: function isPM(token) {
  39192. return token === 'g.m.';
  39193. },
  39194. meridiem: function meridiem(hour, minute, isLower) {
  39195. return hour < 12 ? 'a.m.' : 'g.m.';
  39196. }
  39197. });
  39198. return br;
  39199. });
  39200. /***/ }),
  39201. /***/ 7:
  39202. /*!*********************************************************************!*\
  39203. !*** ./node_modules/@babel/runtime/helpers/iterableToArrayLimit.js ***!
  39204. \*********************************************************************/
  39205. /*! no static exports found */
  39206. /***/ (function(module, exports) {
  39207. function _iterableToArrayLimit(arr, i) {
  39208. var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"];
  39209. if (null != _i) {
  39210. var _s,
  39211. _e,
  39212. _x,
  39213. _r,
  39214. _arr = [],
  39215. _n = !0,
  39216. _d = !1;
  39217. try {
  39218. if (_x = (_i = _i.call(arr)).next, 0 === i) {
  39219. if (Object(_i) !== _i) return;
  39220. _n = !1;
  39221. } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0) {
  39222. ;
  39223. }
  39224. } catch (err) {
  39225. _d = !0, _e = err;
  39226. } finally {
  39227. try {
  39228. if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return;
  39229. } finally {
  39230. if (_d) throw _e;
  39231. }
  39232. }
  39233. return _arr;
  39234. }
  39235. }
  39236. module.exports = _iterableToArrayLimit, module.exports.__esModule = true, module.exports["default"] = module.exports;
  39237. /***/ }),
  39238. /***/ 70:
  39239. /*!*****************************************************************************!*\
  39240. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/bs.js ***!
  39241. \*****************************************************************************/
  39242. /*! no static exports found */
  39243. /***/ (function(module, exports, __webpack_require__) {
  39244. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  39245. //! moment.js locale configuration
  39246. //! locale : Bosnian [bs]
  39247. //! author : Nedim Cholich : https://github.com/frontyard
  39248. //! based on (hr) translation by Bojan Marković
  39249. ;
  39250. (function (global, factory) {
  39251. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  39252. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  39253. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  39254. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  39255. })(this, function (moment) {
  39256. 'use strict';
  39257. //! moment.js locale configuration
  39258. function translate(number, withoutSuffix, key) {
  39259. var result = number + ' ';
  39260. switch (key) {
  39261. case 'ss':
  39262. if (number === 1) {
  39263. result += 'sekunda';
  39264. } else if (number === 2 || number === 3 || number === 4) {
  39265. result += 'sekunde';
  39266. } else {
  39267. result += 'sekundi';
  39268. }
  39269. return result;
  39270. case 'm':
  39271. return withoutSuffix ? 'jedna minuta' : 'jedne minute';
  39272. case 'mm':
  39273. if (number === 1) {
  39274. result += 'minuta';
  39275. } else if (number === 2 || number === 3 || number === 4) {
  39276. result += 'minute';
  39277. } else {
  39278. result += 'minuta';
  39279. }
  39280. return result;
  39281. case 'h':
  39282. return withoutSuffix ? 'jedan sat' : 'jednog sata';
  39283. case 'hh':
  39284. if (number === 1) {
  39285. result += 'sat';
  39286. } else if (number === 2 || number === 3 || number === 4) {
  39287. result += 'sata';
  39288. } else {
  39289. result += 'sati';
  39290. }
  39291. return result;
  39292. case 'dd':
  39293. if (number === 1) {
  39294. result += 'dan';
  39295. } else {
  39296. result += 'dana';
  39297. }
  39298. return result;
  39299. case 'MM':
  39300. if (number === 1) {
  39301. result += 'mjesec';
  39302. } else if (number === 2 || number === 3 || number === 4) {
  39303. result += 'mjeseca';
  39304. } else {
  39305. result += 'mjeseci';
  39306. }
  39307. return result;
  39308. case 'yy':
  39309. if (number === 1) {
  39310. result += 'godina';
  39311. } else if (number === 2 || number === 3 || number === 4) {
  39312. result += 'godine';
  39313. } else {
  39314. result += 'godina';
  39315. }
  39316. return result;
  39317. }
  39318. }
  39319. var bs = moment.defineLocale('bs', {
  39320. months: 'januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar'.split('_'),
  39321. monthsShort: 'jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.'.split('_'),
  39322. monthsParseExact: true,
  39323. weekdays: 'nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota'.split('_'),
  39324. weekdaysShort: 'ned._pon._uto._sri._čet._pet._sub.'.split('_'),
  39325. weekdaysMin: 'ne_po_ut_sr_če_pe_su'.split('_'),
  39326. weekdaysParseExact: true,
  39327. longDateFormat: {
  39328. LT: 'H:mm',
  39329. LTS: 'H:mm:ss',
  39330. L: 'DD.MM.YYYY',
  39331. LL: 'D. MMMM YYYY',
  39332. LLL: 'D. MMMM YYYY H:mm',
  39333. LLLL: 'dddd, D. MMMM YYYY H:mm'
  39334. },
  39335. calendar: {
  39336. sameDay: '[danas u] LT',
  39337. nextDay: '[sutra u] LT',
  39338. nextWeek: function nextWeek() {
  39339. switch (this.day()) {
  39340. case 0:
  39341. return '[u] [nedjelju] [u] LT';
  39342. case 3:
  39343. return '[u] [srijedu] [u] LT';
  39344. case 6:
  39345. return '[u] [subotu] [u] LT';
  39346. case 1:
  39347. case 2:
  39348. case 4:
  39349. case 5:
  39350. return '[u] dddd [u] LT';
  39351. }
  39352. },
  39353. lastDay: '[jučer u] LT',
  39354. lastWeek: function lastWeek() {
  39355. switch (this.day()) {
  39356. case 0:
  39357. case 3:
  39358. return '[prošlu] dddd [u] LT';
  39359. case 6:
  39360. return '[prošle] [subote] [u] LT';
  39361. case 1:
  39362. case 2:
  39363. case 4:
  39364. case 5:
  39365. return '[prošli] dddd [u] LT';
  39366. }
  39367. },
  39368. sameElse: 'L'
  39369. },
  39370. relativeTime: {
  39371. future: 'za %s',
  39372. past: 'prije %s',
  39373. s: 'par sekundi',
  39374. ss: translate,
  39375. m: translate,
  39376. mm: translate,
  39377. h: translate,
  39378. hh: translate,
  39379. d: 'dan',
  39380. dd: translate,
  39381. M: 'mjesec',
  39382. MM: translate,
  39383. y: 'godinu',
  39384. yy: translate
  39385. },
  39386. dayOfMonthOrdinalParse: /\d{1,2}\./,
  39387. ordinal: '%d.',
  39388. week: {
  39389. dow: 1,
  39390. // Monday is the first day of the week.
  39391. doy: 7 // The week that contains Jan 7th is the first week of the year.
  39392. }
  39393. });
  39394. return bs;
  39395. });
  39396. /***/ }),
  39397. /***/ 703:
  39398. /*!****************************************************************!*\
  39399. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/api/memberFriend.js ***!
  39400. \****************************************************************/
  39401. /*! no static exports found */
  39402. /***/ (function(module, exports, __webpack_require__) {
  39403. "use strict";
  39404. Object.defineProperty(exports, "__esModule", {
  39405. value: true
  39406. });
  39407. exports.searchFriend = exports.getFriendList = exports.delFriend = exports.addFriend = void 0;
  39408. var _network = __webpack_require__(/*! ../util/network */ 38);
  39409. // 添加好友
  39410. var addFriend = function addFriend(mId) {
  39411. return (0, _network.requestApi)('/Membersnsfriend/friend_add', 'POST', {
  39412. m_id: mId
  39413. }, 'member');
  39414. };
  39415. exports.addFriend = addFriend;
  39416. var delFriend = function delFriend(mId) {
  39417. return (0, _network.requestApi)('/Membersnsfriend/friend_del', 'POST', {
  39418. m_id: mId
  39419. }, 'member');
  39420. };
  39421. // 好友列表
  39422. exports.delFriend = delFriend;
  39423. var getFriendList = function getFriendList(params) {
  39424. return (0, _network.requestApi)('/Membersnsfriend/friend_list', 'POST', {
  39425. page: params.page,
  39426. per_page: params.per_page
  39427. }, 'member');
  39428. };
  39429. // 好友列表
  39430. exports.getFriendList = getFriendList;
  39431. var searchFriend = function searchFriend(params, mName) {
  39432. return (0, _network.requestApi)('/Membersnsfriend/member_list', 'POST', {
  39433. page: params.page,
  39434. per_page: params.per_page,
  39435. m_name: mName
  39436. }, 'member');
  39437. };
  39438. exports.searchFriend = searchFriend;
  39439. /***/ }),
  39440. /***/ 71:
  39441. /*!*****************************************************************************!*\
  39442. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/ca.js ***!
  39443. \*****************************************************************************/
  39444. /*! no static exports found */
  39445. /***/ (function(module, exports, __webpack_require__) {
  39446. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  39447. //! moment.js locale configuration
  39448. //! locale : Catalan [ca]
  39449. //! author : Juan G. Hurtado : https://github.com/juanghurtado
  39450. ;
  39451. (function (global, factory) {
  39452. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  39453. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  39454. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  39455. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  39456. })(this, function (moment) {
  39457. 'use strict';
  39458. //! moment.js locale configuration
  39459. var ca = moment.defineLocale('ca', {
  39460. months: {
  39461. standalone: 'gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre'.split('_'),
  39462. format: "de gener_de febrer_de març_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split('_'),
  39463. isFormat: /D[oD]?(\s)+MMMM/
  39464. },
  39465. monthsShort: 'gen._febr._març_abr._maig_juny_jul._ag._set._oct._nov._des.'.split('_'),
  39466. monthsParseExact: true,
  39467. weekdays: 'diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte'.split('_'),
  39468. weekdaysShort: 'dg._dl._dt._dc._dj._dv._ds.'.split('_'),
  39469. weekdaysMin: 'dg_dl_dt_dc_dj_dv_ds'.split('_'),
  39470. weekdaysParseExact: true,
  39471. longDateFormat: {
  39472. LT: 'H:mm',
  39473. LTS: 'H:mm:ss',
  39474. L: 'DD/MM/YYYY',
  39475. LL: 'D MMMM [de] YYYY',
  39476. ll: 'D MMM YYYY',
  39477. LLL: 'D MMMM [de] YYYY [a les] H:mm',
  39478. lll: 'D MMM YYYY, H:mm',
  39479. LLLL: 'dddd D MMMM [de] YYYY [a les] H:mm',
  39480. llll: 'ddd D MMM YYYY, H:mm'
  39481. },
  39482. calendar: {
  39483. sameDay: function sameDay() {
  39484. return '[avui a ' + (this.hours() !== 1 ? 'les' : 'la') + '] LT';
  39485. },
  39486. nextDay: function nextDay() {
  39487. return '[demà a ' + (this.hours() !== 1 ? 'les' : 'la') + '] LT';
  39488. },
  39489. nextWeek: function nextWeek() {
  39490. return 'dddd [a ' + (this.hours() !== 1 ? 'les' : 'la') + '] LT';
  39491. },
  39492. lastDay: function lastDay() {
  39493. return '[ahir a ' + (this.hours() !== 1 ? 'les' : 'la') + '] LT';
  39494. },
  39495. lastWeek: function lastWeek() {
  39496. return '[el] dddd [passat a ' + (this.hours() !== 1 ? 'les' : 'la') + '] LT';
  39497. },
  39498. sameElse: 'L'
  39499. },
  39500. relativeTime: {
  39501. future: "d'aquí %s",
  39502. past: 'fa %s',
  39503. s: 'uns segons',
  39504. ss: '%d segons',
  39505. m: 'un minut',
  39506. mm: '%d minuts',
  39507. h: 'una hora',
  39508. hh: '%d hores',
  39509. d: 'un dia',
  39510. dd: '%d dies',
  39511. M: 'un mes',
  39512. MM: '%d mesos',
  39513. y: 'un any',
  39514. yy: '%d anys'
  39515. },
  39516. dayOfMonthOrdinalParse: /\d{1,2}(r|n|t|è|a)/,
  39517. ordinal: function ordinal(number, period) {
  39518. var output = number === 1 ? 'r' : number === 2 ? 'n' : number === 3 ? 'r' : number === 4 ? 't' : 'è';
  39519. if (period === 'w' || period === 'W') {
  39520. output = 'a';
  39521. }
  39522. return number + output;
  39523. },
  39524. week: {
  39525. dow: 1,
  39526. // Monday is the first day of the week.
  39527. doy: 4 // The week that contains Jan 4th is the first week of the year.
  39528. }
  39529. });
  39530. return ca;
  39531. });
  39532. /***/ }),
  39533. /***/ 714:
  39534. /*!*****************************************************************!*\
  39535. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/api/memberConsult.js ***!
  39536. \*****************************************************************/
  39537. /*! no static exports found */
  39538. /***/ (function(module, exports, __webpack_require__) {
  39539. "use strict";
  39540. Object.defineProperty(exports, "__esModule", {
  39541. value: true
  39542. });
  39543. exports.getConsultList = void 0;
  39544. var _network = __webpack_require__(/*! ../util/network */ 38);
  39545. // 投诉列表
  39546. var getConsultList = function getConsultList(params) {
  39547. return (0, _network.requestApi)('/memberconsult/index', 'POST', {
  39548. page: params.page,
  39549. per_page: params.per_page
  39550. }, 'member');
  39551. };
  39552. exports.getConsultList = getConsultList;
  39553. /***/ }),
  39554. /***/ 72:
  39555. /*!*****************************************************************************!*\
  39556. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/cs.js ***!
  39557. \*****************************************************************************/
  39558. /*! no static exports found */
  39559. /***/ (function(module, exports, __webpack_require__) {
  39560. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  39561. //! moment.js locale configuration
  39562. //! locale : Czech [cs]
  39563. //! author : petrbela : https://github.com/petrbela
  39564. ;
  39565. (function (global, factory) {
  39566. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  39567. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  39568. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  39569. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  39570. })(this, function (moment) {
  39571. 'use strict';
  39572. //! moment.js locale configuration
  39573. var months = 'leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec'.split('_'),
  39574. monthsShort = 'led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro'.split('_'),
  39575. monthsParse = [/^led/i, /^úno/i, /^bře/i, /^dub/i, /^kvě/i, /^(čvn|červen$|června)/i, /^(čvc|červenec|července)/i, /^srp/i, /^zář/i, /^říj/i, /^lis/i, /^pro/i],
  39576. // NOTE: 'červen' is substring of 'červenec'; therefore 'červenec' must precede 'červen' in the regex to be fully matched.
  39577. // Otherwise parser matches '1. červenec' as '1. červen' + 'ec'.
  39578. monthsRegex = /^(leden|únor|březen|duben|květen|červenec|července|červen|června|srpen|září|říjen|listopad|prosinec|led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i;
  39579. function plural(n) {
  39580. return n > 1 && n < 5 && ~~(n / 10) !== 1;
  39581. }
  39582. function translate(number, withoutSuffix, key, isFuture) {
  39583. var result = number + ' ';
  39584. switch (key) {
  39585. case 's':
  39586. // a few seconds / in a few seconds / a few seconds ago
  39587. return withoutSuffix || isFuture ? 'pár sekund' : 'pár sekundami';
  39588. case 'ss':
  39589. // 9 seconds / in 9 seconds / 9 seconds ago
  39590. if (withoutSuffix || isFuture) {
  39591. return result + (plural(number) ? 'sekundy' : 'sekund');
  39592. } else {
  39593. return result + 'sekundami';
  39594. }
  39595. case 'm':
  39596. // a minute / in a minute / a minute ago
  39597. return withoutSuffix ? 'minuta' : isFuture ? 'minutu' : 'minutou';
  39598. case 'mm':
  39599. // 9 minutes / in 9 minutes / 9 minutes ago
  39600. if (withoutSuffix || isFuture) {
  39601. return result + (plural(number) ? 'minuty' : 'minut');
  39602. } else {
  39603. return result + 'minutami';
  39604. }
  39605. case 'h':
  39606. // an hour / in an hour / an hour ago
  39607. return withoutSuffix ? 'hodina' : isFuture ? 'hodinu' : 'hodinou';
  39608. case 'hh':
  39609. // 9 hours / in 9 hours / 9 hours ago
  39610. if (withoutSuffix || isFuture) {
  39611. return result + (plural(number) ? 'hodiny' : 'hodin');
  39612. } else {
  39613. return result + 'hodinami';
  39614. }
  39615. case 'd':
  39616. // a day / in a day / a day ago
  39617. return withoutSuffix || isFuture ? 'den' : 'dnem';
  39618. case 'dd':
  39619. // 9 days / in 9 days / 9 days ago
  39620. if (withoutSuffix || isFuture) {
  39621. return result + (plural(number) ? 'dny' : 'dní');
  39622. } else {
  39623. return result + 'dny';
  39624. }
  39625. case 'M':
  39626. // a month / in a month / a month ago
  39627. return withoutSuffix || isFuture ? 'měsíc' : 'měsícem';
  39628. case 'MM':
  39629. // 9 months / in 9 months / 9 months ago
  39630. if (withoutSuffix || isFuture) {
  39631. return result + (plural(number) ? 'měsíce' : 'měsíců');
  39632. } else {
  39633. return result + 'měsíci';
  39634. }
  39635. case 'y':
  39636. // a year / in a year / a year ago
  39637. return withoutSuffix || isFuture ? 'rok' : 'rokem';
  39638. case 'yy':
  39639. // 9 years / in 9 years / 9 years ago
  39640. if (withoutSuffix || isFuture) {
  39641. return result + (plural(number) ? 'roky' : 'let');
  39642. } else {
  39643. return result + 'lety';
  39644. }
  39645. }
  39646. }
  39647. var cs = moment.defineLocale('cs', {
  39648. months: months,
  39649. monthsShort: monthsShort,
  39650. monthsRegex: monthsRegex,
  39651. monthsShortRegex: monthsRegex,
  39652. // NOTE: 'červen' is substring of 'červenec'; therefore 'červenec' must precede 'červen' in the regex to be fully matched.
  39653. // Otherwise parser matches '1. červenec' as '1. červen' + 'ec'.
  39654. monthsStrictRegex: /^(leden|ledna|února|únor|březen|března|duben|dubna|květen|května|červenec|července|červen|června|srpen|srpna|září|říjen|října|listopadu|listopad|prosinec|prosince)/i,
  39655. monthsShortStrictRegex: /^(led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i,
  39656. monthsParse: monthsParse,
  39657. longMonthsParse: monthsParse,
  39658. shortMonthsParse: monthsParse,
  39659. weekdays: 'neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota'.split('_'),
  39660. weekdaysShort: 'ne_po_út_st_čt_pá_so'.split('_'),
  39661. weekdaysMin: 'ne_po_út_st_čt_pá_so'.split('_'),
  39662. longDateFormat: {
  39663. LT: 'H:mm',
  39664. LTS: 'H:mm:ss',
  39665. L: 'DD.MM.YYYY',
  39666. LL: 'D. MMMM YYYY',
  39667. LLL: 'D. MMMM YYYY H:mm',
  39668. LLLL: 'dddd D. MMMM YYYY H:mm',
  39669. l: 'D. M. YYYY'
  39670. },
  39671. calendar: {
  39672. sameDay: '[dnes v] LT',
  39673. nextDay: '[zítra v] LT',
  39674. nextWeek: function nextWeek() {
  39675. switch (this.day()) {
  39676. case 0:
  39677. return '[v neděli v] LT';
  39678. case 1:
  39679. case 2:
  39680. return '[v] dddd [v] LT';
  39681. case 3:
  39682. return '[ve středu v] LT';
  39683. case 4:
  39684. return '[ve čtvrtek v] LT';
  39685. case 5:
  39686. return '[v pátek v] LT';
  39687. case 6:
  39688. return '[v sobotu v] LT';
  39689. }
  39690. },
  39691. lastDay: '[včera v] LT',
  39692. lastWeek: function lastWeek() {
  39693. switch (this.day()) {
  39694. case 0:
  39695. return '[minulou neděli v] LT';
  39696. case 1:
  39697. case 2:
  39698. return '[minulé] dddd [v] LT';
  39699. case 3:
  39700. return '[minulou středu v] LT';
  39701. case 4:
  39702. case 5:
  39703. return '[minulý] dddd [v] LT';
  39704. case 6:
  39705. return '[minulou sobotu v] LT';
  39706. }
  39707. },
  39708. sameElse: 'L'
  39709. },
  39710. relativeTime: {
  39711. future: 'za %s',
  39712. past: 'před %s',
  39713. s: translate,
  39714. ss: translate,
  39715. m: translate,
  39716. mm: translate,
  39717. h: translate,
  39718. hh: translate,
  39719. d: translate,
  39720. dd: translate,
  39721. M: translate,
  39722. MM: translate,
  39723. y: translate,
  39724. yy: translate
  39725. },
  39726. dayOfMonthOrdinalParse: /\d{1,2}\./,
  39727. ordinal: '%d.',
  39728. week: {
  39729. dow: 1,
  39730. // Monday is the first day of the week.
  39731. doy: 4 // The week that contains Jan 4th is the first week of the year.
  39732. }
  39733. });
  39734. return cs;
  39735. });
  39736. /***/ }),
  39737. /***/ 723:
  39738. /*!******************************************************************!*\
  39739. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/api/memberRecharge.js ***!
  39740. \******************************************************************/
  39741. /*! no static exports found */
  39742. /***/ (function(module, exports, __webpack_require__) {
  39743. "use strict";
  39744. Object.defineProperty(exports, "__esModule", {
  39745. value: true
  39746. });
  39747. exports.getRechargeList = exports.getRechargeInfo = exports.addRecharge = void 0;
  39748. var _network = __webpack_require__(/*! ../util/network */ 38);
  39749. var getRechargeList = function getRechargeList(params) {
  39750. return (0, _network.requestApi)('/Memberfund/pdrechargelist', 'POST', {
  39751. page: params.page,
  39752. per_page: params.per_page
  39753. }, 'member');
  39754. };
  39755. exports.getRechargeList = getRechargeList;
  39756. var getRechargeInfo = function getRechargeInfo(paysn) {
  39757. return (0, _network.requestApi)('/Recharge/recharge_order', 'POST', {
  39758. paysn: paysn
  39759. }, 'member');
  39760. };
  39761. exports.getRechargeInfo = getRechargeInfo;
  39762. var addRecharge = function addRecharge(amount) {
  39763. return (0, _network.requestApi)('/Recharge/index', 'POST', {
  39764. pdr_amount: amount
  39765. }, 'member');
  39766. };
  39767. exports.addRecharge = addRecharge;
  39768. /***/ }),
  39769. /***/ 73:
  39770. /*!*****************************************************************************!*\
  39771. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/cv.js ***!
  39772. \*****************************************************************************/
  39773. /*! no static exports found */
  39774. /***/ (function(module, exports, __webpack_require__) {
  39775. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  39776. //! moment.js locale configuration
  39777. //! locale : Chuvash [cv]
  39778. //! author : Anatoly Mironov : https://github.com/mirontoli
  39779. ;
  39780. (function (global, factory) {
  39781. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  39782. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  39783. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  39784. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  39785. })(this, function (moment) {
  39786. 'use strict';
  39787. //! moment.js locale configuration
  39788. var cv = moment.defineLocale('cv', {
  39789. months: 'кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав'.split('_'),
  39790. monthsShort: 'кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш'.split('_'),
  39791. weekdays: 'вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун'.split('_'),
  39792. weekdaysShort: 'выр_тун_ытл_юн_кӗҫ_эрн_шӑм'.split('_'),
  39793. weekdaysMin: 'вр_тн_ыт_юн_кҫ_эр_шм'.split('_'),
  39794. longDateFormat: {
  39795. LT: 'HH:mm',
  39796. LTS: 'HH:mm:ss',
  39797. L: 'DD-MM-YYYY',
  39798. LL: 'YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]',
  39799. LLL: 'YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm',
  39800. LLLL: 'dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm'
  39801. },
  39802. calendar: {
  39803. sameDay: '[Паян] LT [сехетре]',
  39804. nextDay: '[Ыран] LT [сехетре]',
  39805. lastDay: '[Ӗнер] LT [сехетре]',
  39806. nextWeek: '[Ҫитес] dddd LT [сехетре]',
  39807. lastWeek: '[Иртнӗ] dddd LT [сехетре]',
  39808. sameElse: 'L'
  39809. },
  39810. relativeTime: {
  39811. future: function future(output) {
  39812. var affix = /сехет$/i.exec(output) ? 'рен' : /ҫул$/i.exec(output) ? 'тан' : 'ран';
  39813. return output + affix;
  39814. },
  39815. past: '%s каялла',
  39816. s: 'пӗр-ик ҫеккунт',
  39817. ss: '%d ҫеккунт',
  39818. m: 'пӗр минут',
  39819. mm: '%d минут',
  39820. h: 'пӗр сехет',
  39821. hh: '%d сехет',
  39822. d: 'пӗр кун',
  39823. dd: '%d кун',
  39824. M: 'пӗр уйӑх',
  39825. MM: '%d уйӑх',
  39826. y: 'пӗр ҫул',
  39827. yy: '%d ҫул'
  39828. },
  39829. dayOfMonthOrdinalParse: /\d{1,2}-мӗш/,
  39830. ordinal: '%d-мӗш',
  39831. week: {
  39832. dow: 1,
  39833. // Monday is the first day of the week.
  39834. doy: 7 // The week that contains Jan 7th is the first week of the year.
  39835. }
  39836. });
  39837. return cv;
  39838. });
  39839. /***/ }),
  39840. /***/ 732:
  39841. /*!*****************************************************************!*\
  39842. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/api/memberVoucher.js ***!
  39843. \*****************************************************************/
  39844. /*! no static exports found */
  39845. /***/ (function(module, exports, __webpack_require__) {
  39846. "use strict";
  39847. Object.defineProperty(exports, "__esModule", {
  39848. value: true
  39849. });
  39850. exports.receiveVoucher = exports.getVoucherPrivate = exports.getVoucherList = exports.getMallVoucherList = void 0;
  39851. var _network = __webpack_require__(/*! ../util/network */ 38);
  39852. // 获取用户平台代金券列表
  39853. var getMallVoucherList = function getMallVoucherList(params, stateType) {
  39854. return (0, _network.requestApi)('/Membermallvoucher/mallvoucher_list', 'POST', {
  39855. page: params.page,
  39856. per_page: params.per_page,
  39857. mallvoucher_state: stateType
  39858. }, 'member');
  39859. };
  39860. // 获取用户店铺代金券列表
  39861. exports.getMallVoucherList = getMallVoucherList;
  39862. var getVoucherList = function getVoucherList(params, stateType) {
  39863. return (0, _network.requestApi)('/Membervoucher/voucher_list', 'POST', {
  39864. page: params.page,
  39865. per_page: params.per_page,
  39866. voucher_state: stateType
  39867. }, 'member');
  39868. };
  39869. // 兑换代金券
  39870. exports.getVoucherList = getVoucherList;
  39871. var receiveVoucher = function receiveVoucher(vouchertemplate_id) {
  39872. return (0, _network.requestApi)('/Membervoucher/voucher_point', 'POST', {
  39873. 'tid': vouchertemplate_id
  39874. }, 'member');
  39875. };
  39876. // 私密代金券
  39877. exports.receiveVoucher = receiveVoucher;
  39878. var getVoucherPrivate = function getVoucherPrivate(vouchertemplate_id) {
  39879. return (0, _network.requestApi)('/Membervoucher/voucher_private', 'POST', {
  39880. 'vouchertemplate_id': vouchertemplate_id
  39881. }, 'member');
  39882. };
  39883. exports.getVoucherPrivate = getVoucherPrivate;
  39884. /***/ }),
  39885. /***/ 74:
  39886. /*!*****************************************************************************!*\
  39887. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/cy.js ***!
  39888. \*****************************************************************************/
  39889. /*! no static exports found */
  39890. /***/ (function(module, exports, __webpack_require__) {
  39891. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  39892. //! moment.js locale configuration
  39893. //! locale : Welsh [cy]
  39894. //! author : Robert Allen : https://github.com/robgallen
  39895. //! author : https://github.com/ryangreaves
  39896. ;
  39897. (function (global, factory) {
  39898. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  39899. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  39900. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  39901. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  39902. })(this, function (moment) {
  39903. 'use strict';
  39904. //! moment.js locale configuration
  39905. var cy = moment.defineLocale('cy', {
  39906. months: 'Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr'.split('_'),
  39907. monthsShort: 'Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag'.split('_'),
  39908. weekdays: 'Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn'.split('_'),
  39909. weekdaysShort: 'Sul_Llun_Maw_Mer_Iau_Gwe_Sad'.split('_'),
  39910. weekdaysMin: 'Su_Ll_Ma_Me_Ia_Gw_Sa'.split('_'),
  39911. weekdaysParseExact: true,
  39912. // time formats are the same as en-gb
  39913. longDateFormat: {
  39914. LT: 'HH:mm',
  39915. LTS: 'HH:mm:ss',
  39916. L: 'DD/MM/YYYY',
  39917. LL: 'D MMMM YYYY',
  39918. LLL: 'D MMMM YYYY HH:mm',
  39919. LLLL: 'dddd, D MMMM YYYY HH:mm'
  39920. },
  39921. calendar: {
  39922. sameDay: '[Heddiw am] LT',
  39923. nextDay: '[Yfory am] LT',
  39924. nextWeek: 'dddd [am] LT',
  39925. lastDay: '[Ddoe am] LT',
  39926. lastWeek: 'dddd [diwethaf am] LT',
  39927. sameElse: 'L'
  39928. },
  39929. relativeTime: {
  39930. future: 'mewn %s',
  39931. past: '%s yn ôl',
  39932. s: 'ychydig eiliadau',
  39933. ss: '%d eiliad',
  39934. m: 'munud',
  39935. mm: '%d munud',
  39936. h: 'awr',
  39937. hh: '%d awr',
  39938. d: 'diwrnod',
  39939. dd: '%d diwrnod',
  39940. M: 'mis',
  39941. MM: '%d mis',
  39942. y: 'blwyddyn',
  39943. yy: '%d flynedd'
  39944. },
  39945. dayOfMonthOrdinalParse: /\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,
  39946. // traditional ordinal numbers above 31 are not commonly used in colloquial Welsh
  39947. ordinal: function ordinal(number) {
  39948. var b = number,
  39949. output = '',
  39950. lookup = ['', 'af', 'il', 'ydd', 'ydd', 'ed', 'ed', 'ed', 'fed', 'fed', 'fed',
  39951. // 1af to 10fed
  39952. 'eg', 'fed', 'eg', 'eg', 'fed', 'eg', 'eg', 'fed', 'eg', 'fed' // 11eg to 20fed
  39953. ];
  39954. if (b > 20) {
  39955. if (b === 40 || b === 50 || b === 60 || b === 80 || b === 100) {
  39956. output = 'fed'; // not 30ain, 70ain or 90ain
  39957. } else {
  39958. output = 'ain';
  39959. }
  39960. } else if (b > 0) {
  39961. output = lookup[b];
  39962. }
  39963. return number + output;
  39964. },
  39965. week: {
  39966. dow: 1,
  39967. // Monday is the first day of the week.
  39968. doy: 4 // The week that contains Jan 4th is the first week of the year.
  39969. }
  39970. });
  39971. return cy;
  39972. });
  39973. /***/ }),
  39974. /***/ 75:
  39975. /*!*****************************************************************************!*\
  39976. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/da.js ***!
  39977. \*****************************************************************************/
  39978. /*! no static exports found */
  39979. /***/ (function(module, exports, __webpack_require__) {
  39980. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  39981. //! moment.js locale configuration
  39982. //! locale : Danish [da]
  39983. //! author : Ulrik Nielsen : https://github.com/mrbase
  39984. ;
  39985. (function (global, factory) {
  39986. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  39987. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  39988. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  39989. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  39990. })(this, function (moment) {
  39991. 'use strict';
  39992. //! moment.js locale configuration
  39993. var da = moment.defineLocale('da', {
  39994. months: 'januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december'.split('_'),
  39995. monthsShort: 'jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec'.split('_'),
  39996. weekdays: 'søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag'.split('_'),
  39997. weekdaysShort: 'søn_man_tir_ons_tor_fre_lør'.split('_'),
  39998. weekdaysMin: 'sø_ma_ti_on_to_fr_lø'.split('_'),
  39999. longDateFormat: {
  40000. LT: 'HH:mm',
  40001. LTS: 'HH:mm:ss',
  40002. L: 'DD.MM.YYYY',
  40003. LL: 'D. MMMM YYYY',
  40004. LLL: 'D. MMMM YYYY HH:mm',
  40005. LLLL: 'dddd [d.] D. MMMM YYYY [kl.] HH:mm'
  40006. },
  40007. calendar: {
  40008. sameDay: '[i dag kl.] LT',
  40009. nextDay: '[i morgen kl.] LT',
  40010. nextWeek: 'på dddd [kl.] LT',
  40011. lastDay: '[i går kl.] LT',
  40012. lastWeek: '[i] dddd[s kl.] LT',
  40013. sameElse: 'L'
  40014. },
  40015. relativeTime: {
  40016. future: 'om %s',
  40017. past: '%s siden',
  40018. s: 'få sekunder',
  40019. ss: '%d sekunder',
  40020. m: 'et minut',
  40021. mm: '%d minutter',
  40022. h: 'en time',
  40023. hh: '%d timer',
  40024. d: 'en dag',
  40025. dd: '%d dage',
  40026. M: 'en måned',
  40027. MM: '%d måneder',
  40028. y: 'et år',
  40029. yy: '%d år'
  40030. },
  40031. dayOfMonthOrdinalParse: /\d{1,2}\./,
  40032. ordinal: '%d.',
  40033. week: {
  40034. dow: 1,
  40035. // Monday is the first day of the week.
  40036. doy: 4 // The week that contains Jan 4th is the first week of the year.
  40037. }
  40038. });
  40039. return da;
  40040. });
  40041. /***/ }),
  40042. /***/ 757:
  40043. /*!****************************************************************!*\
  40044. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/api/memberNotice.js ***!
  40045. \****************************************************************/
  40046. /*! no static exports found */
  40047. /***/ (function(module, exports, __webpack_require__) {
  40048. "use strict";
  40049. Object.defineProperty(exports, "__esModule", {
  40050. value: true
  40051. });
  40052. exports.getNoticeList = void 0;
  40053. var _network = __webpack_require__(/*! ../util/network */ 38);
  40054. // 获取用户通知列表
  40055. var getNoticeList = function getNoticeList(params) {
  40056. return (0, _network.requestApi)('/member_message/get_list', 'POST', {
  40057. page: params.page,
  40058. per_page: params.per_page
  40059. }, 'member');
  40060. };
  40061. exports.getNoticeList = getNoticeList;
  40062. /***/ }),
  40063. /***/ 76:
  40064. /*!*****************************************************************************!*\
  40065. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/de.js ***!
  40066. \*****************************************************************************/
  40067. /*! no static exports found */
  40068. /***/ (function(module, exports, __webpack_require__) {
  40069. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  40070. //! moment.js locale configuration
  40071. //! locale : German [de]
  40072. //! author : lluchs : https://github.com/lluchs
  40073. //! author: Menelion Elensúle: https://github.com/Oire
  40074. //! author : Mikolaj Dadela : https://github.com/mik01aj
  40075. ;
  40076. (function (global, factory) {
  40077. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  40078. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  40079. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  40080. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  40081. })(this, function (moment) {
  40082. 'use strict';
  40083. //! moment.js locale configuration
  40084. function processRelativeTime(number, withoutSuffix, key, isFuture) {
  40085. var format = {
  40086. m: ['eine Minute', 'einer Minute'],
  40087. h: ['eine Stunde', 'einer Stunde'],
  40088. d: ['ein Tag', 'einem Tag'],
  40089. dd: [number + ' Tage', number + ' Tagen'],
  40090. w: ['eine Woche', 'einer Woche'],
  40091. M: ['ein Monat', 'einem Monat'],
  40092. MM: [number + ' Monate', number + ' Monaten'],
  40093. y: ['ein Jahr', 'einem Jahr'],
  40094. yy: [number + ' Jahre', number + ' Jahren']
  40095. };
  40096. return withoutSuffix ? format[key][0] : format[key][1];
  40097. }
  40098. var de = moment.defineLocale('de', {
  40099. months: 'Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split('_'),
  40100. monthsShort: 'Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.'.split('_'),
  40101. monthsParseExact: true,
  40102. weekdays: 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split('_'),
  40103. weekdaysShort: 'So._Mo._Di._Mi._Do._Fr._Sa.'.split('_'),
  40104. weekdaysMin: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'),
  40105. weekdaysParseExact: true,
  40106. longDateFormat: {
  40107. LT: 'HH:mm',
  40108. LTS: 'HH:mm:ss',
  40109. L: 'DD.MM.YYYY',
  40110. LL: 'D. MMMM YYYY',
  40111. LLL: 'D. MMMM YYYY HH:mm',
  40112. LLLL: 'dddd, D. MMMM YYYY HH:mm'
  40113. },
  40114. calendar: {
  40115. sameDay: '[heute um] LT [Uhr]',
  40116. sameElse: 'L',
  40117. nextDay: '[morgen um] LT [Uhr]',
  40118. nextWeek: 'dddd [um] LT [Uhr]',
  40119. lastDay: '[gestern um] LT [Uhr]',
  40120. lastWeek: '[letzten] dddd [um] LT [Uhr]'
  40121. },
  40122. relativeTime: {
  40123. future: 'in %s',
  40124. past: 'vor %s',
  40125. s: 'ein paar Sekunden',
  40126. ss: '%d Sekunden',
  40127. m: processRelativeTime,
  40128. mm: '%d Minuten',
  40129. h: processRelativeTime,
  40130. hh: '%d Stunden',
  40131. d: processRelativeTime,
  40132. dd: processRelativeTime,
  40133. w: processRelativeTime,
  40134. ww: '%d Wochen',
  40135. M: processRelativeTime,
  40136. MM: processRelativeTime,
  40137. y: processRelativeTime,
  40138. yy: processRelativeTime
  40139. },
  40140. dayOfMonthOrdinalParse: /\d{1,2}\./,
  40141. ordinal: '%d.',
  40142. week: {
  40143. dow: 1,
  40144. // Monday is the first day of the week.
  40145. doy: 4 // The week that contains Jan 4th is the first week of the year.
  40146. }
  40147. });
  40148. return de;
  40149. });
  40150. /***/ }),
  40151. /***/ 766:
  40152. /*!*****************************************************************!*\
  40153. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/api/memberSetting.js ***!
  40154. \*****************************************************************/
  40155. /*! no static exports found */
  40156. /***/ (function(module, exports, __webpack_require__) {
  40157. "use strict";
  40158. Object.defineProperty(exports, "__esModule", {
  40159. value: true
  40160. });
  40161. exports.updateUserPaypwd = exports.updateUserPassword = exports.updateUserMobile = exports.sendAuthCode = exports.checkAuthCode = exports.bindUserMobile = exports.bindUserEmail = void 0;
  40162. var _network = __webpack_require__(/*! ../util/network */ 38);
  40163. // 发送验证码
  40164. var sendAuthCode = function sendAuthCode(type) {
  40165. return (0, _network.requestApi)('/Memberaccount/send_auth_code', 'POST', {
  40166. type: type
  40167. }, 'member');
  40168. };
  40169. // 验证码检测
  40170. exports.sendAuthCode = sendAuthCode;
  40171. var checkAuthCode = function checkAuthCode(authCode) {
  40172. return (0, _network.requestApi)('/Memberaccount/check_auth_code', 'POST', {
  40173. auth_code: authCode
  40174. }, 'member');
  40175. };
  40176. // 更新用户手机号
  40177. exports.checkAuthCode = checkAuthCode;
  40178. var updateUserMobile = function updateUserMobile(authCode) {
  40179. return (0, _network.requestApi)('/Memberaccount/bind_mobile_step2', 'POST', {
  40180. auth_code: authCode
  40181. }, 'member');
  40182. };
  40183. // 更新用户密码
  40184. exports.updateUserMobile = updateUserMobile;
  40185. var updateUserPassword = function updateUserPassword(password, password1) {
  40186. return (0, _network.requestApi)('/Memberaccount/modify_password', 'POST', {
  40187. password: password,
  40188. password1: password1
  40189. }, 'member');
  40190. };
  40191. // 更新用户支付密码
  40192. exports.updateUserPassword = updateUserPassword;
  40193. var updateUserPaypwd = function updateUserPaypwd(password, password1) {
  40194. return (0, _network.requestApi)('/Memberaccount/modify_paypwd', 'POST', {
  40195. password: password,
  40196. password1: password1
  40197. }, 'member');
  40198. };
  40199. // 绑定用户手机
  40200. exports.updateUserPaypwd = updateUserPaypwd;
  40201. var bindUserMobile = function bindUserMobile(mobile) {
  40202. return (0, _network.requestApi)('/Memberaccount/bind_mobile_step1', 'POST', {
  40203. mobile: mobile
  40204. }, 'member');
  40205. };
  40206. // 绑定用户邮箱
  40207. exports.bindUserMobile = bindUserMobile;
  40208. var bindUserEmail = function bindUserEmail(email) {
  40209. return (0, _network.requestApi)('/Memberaccount/bind_email_step1', 'POST', {
  40210. email: email
  40211. }, 'member');
  40212. };
  40213. exports.bindUserEmail = bindUserEmail;
  40214. /***/ }),
  40215. /***/ 77:
  40216. /*!********************************************************************************!*\
  40217. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/de-at.js ***!
  40218. \********************************************************************************/
  40219. /*! no static exports found */
  40220. /***/ (function(module, exports, __webpack_require__) {
  40221. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  40222. //! moment.js locale configuration
  40223. //! locale : German (Austria) [de-at]
  40224. //! author : lluchs : https://github.com/lluchs
  40225. //! author: Menelion Elensúle: https://github.com/Oire
  40226. //! author : Martin Groller : https://github.com/MadMG
  40227. //! author : Mikolaj Dadela : https://github.com/mik01aj
  40228. ;
  40229. (function (global, factory) {
  40230. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  40231. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  40232. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  40233. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  40234. })(this, function (moment) {
  40235. 'use strict';
  40236. //! moment.js locale configuration
  40237. function processRelativeTime(number, withoutSuffix, key, isFuture) {
  40238. var format = {
  40239. m: ['eine Minute', 'einer Minute'],
  40240. h: ['eine Stunde', 'einer Stunde'],
  40241. d: ['ein Tag', 'einem Tag'],
  40242. dd: [number + ' Tage', number + ' Tagen'],
  40243. w: ['eine Woche', 'einer Woche'],
  40244. M: ['ein Monat', 'einem Monat'],
  40245. MM: [number + ' Monate', number + ' Monaten'],
  40246. y: ['ein Jahr', 'einem Jahr'],
  40247. yy: [number + ' Jahre', number + ' Jahren']
  40248. };
  40249. return withoutSuffix ? format[key][0] : format[key][1];
  40250. }
  40251. var deAt = moment.defineLocale('de-at', {
  40252. months: 'Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split('_'),
  40253. monthsShort: 'Jän._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.'.split('_'),
  40254. monthsParseExact: true,
  40255. weekdays: 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split('_'),
  40256. weekdaysShort: 'So._Mo._Di._Mi._Do._Fr._Sa.'.split('_'),
  40257. weekdaysMin: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'),
  40258. weekdaysParseExact: true,
  40259. longDateFormat: {
  40260. LT: 'HH:mm',
  40261. LTS: 'HH:mm:ss',
  40262. L: 'DD.MM.YYYY',
  40263. LL: 'D. MMMM YYYY',
  40264. LLL: 'D. MMMM YYYY HH:mm',
  40265. LLLL: 'dddd, D. MMMM YYYY HH:mm'
  40266. },
  40267. calendar: {
  40268. sameDay: '[heute um] LT [Uhr]',
  40269. sameElse: 'L',
  40270. nextDay: '[morgen um] LT [Uhr]',
  40271. nextWeek: 'dddd [um] LT [Uhr]',
  40272. lastDay: '[gestern um] LT [Uhr]',
  40273. lastWeek: '[letzten] dddd [um] LT [Uhr]'
  40274. },
  40275. relativeTime: {
  40276. future: 'in %s',
  40277. past: 'vor %s',
  40278. s: 'ein paar Sekunden',
  40279. ss: '%d Sekunden',
  40280. m: processRelativeTime,
  40281. mm: '%d Minuten',
  40282. h: processRelativeTime,
  40283. hh: '%d Stunden',
  40284. d: processRelativeTime,
  40285. dd: processRelativeTime,
  40286. w: processRelativeTime,
  40287. ww: '%d Wochen',
  40288. M: processRelativeTime,
  40289. MM: processRelativeTime,
  40290. y: processRelativeTime,
  40291. yy: processRelativeTime
  40292. },
  40293. dayOfMonthOrdinalParse: /\d{1,2}\./,
  40294. ordinal: '%d.',
  40295. week: {
  40296. dow: 1,
  40297. // Monday is the first day of the week.
  40298. doy: 4 // The week that contains Jan 4th is the first week of the year.
  40299. }
  40300. });
  40301. return deAt;
  40302. });
  40303. /***/ }),
  40304. /***/ 78:
  40305. /*!********************************************************************************!*\
  40306. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/de-ch.js ***!
  40307. \********************************************************************************/
  40308. /*! no static exports found */
  40309. /***/ (function(module, exports, __webpack_require__) {
  40310. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  40311. //! moment.js locale configuration
  40312. //! locale : German (Switzerland) [de-ch]
  40313. //! author : sschueller : https://github.com/sschueller
  40314. ;
  40315. (function (global, factory) {
  40316. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  40317. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  40318. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  40319. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  40320. })(this, function (moment) {
  40321. 'use strict';
  40322. //! moment.js locale configuration
  40323. function processRelativeTime(number, withoutSuffix, key, isFuture) {
  40324. var format = {
  40325. m: ['eine Minute', 'einer Minute'],
  40326. h: ['eine Stunde', 'einer Stunde'],
  40327. d: ['ein Tag', 'einem Tag'],
  40328. dd: [number + ' Tage', number + ' Tagen'],
  40329. w: ['eine Woche', 'einer Woche'],
  40330. M: ['ein Monat', 'einem Monat'],
  40331. MM: [number + ' Monate', number + ' Monaten'],
  40332. y: ['ein Jahr', 'einem Jahr'],
  40333. yy: [number + ' Jahre', number + ' Jahren']
  40334. };
  40335. return withoutSuffix ? format[key][0] : format[key][1];
  40336. }
  40337. var deCh = moment.defineLocale('de-ch', {
  40338. months: 'Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split('_'),
  40339. monthsShort: 'Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.'.split('_'),
  40340. monthsParseExact: true,
  40341. weekdays: 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split('_'),
  40342. weekdaysShort: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'),
  40343. weekdaysMin: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'),
  40344. weekdaysParseExact: true,
  40345. longDateFormat: {
  40346. LT: 'HH:mm',
  40347. LTS: 'HH:mm:ss',
  40348. L: 'DD.MM.YYYY',
  40349. LL: 'D. MMMM YYYY',
  40350. LLL: 'D. MMMM YYYY HH:mm',
  40351. LLLL: 'dddd, D. MMMM YYYY HH:mm'
  40352. },
  40353. calendar: {
  40354. sameDay: '[heute um] LT [Uhr]',
  40355. sameElse: 'L',
  40356. nextDay: '[morgen um] LT [Uhr]',
  40357. nextWeek: 'dddd [um] LT [Uhr]',
  40358. lastDay: '[gestern um] LT [Uhr]',
  40359. lastWeek: '[letzten] dddd [um] LT [Uhr]'
  40360. },
  40361. relativeTime: {
  40362. future: 'in %s',
  40363. past: 'vor %s',
  40364. s: 'ein paar Sekunden',
  40365. ss: '%d Sekunden',
  40366. m: processRelativeTime,
  40367. mm: '%d Minuten',
  40368. h: processRelativeTime,
  40369. hh: '%d Stunden',
  40370. d: processRelativeTime,
  40371. dd: processRelativeTime,
  40372. w: processRelativeTime,
  40373. ww: '%d Wochen',
  40374. M: processRelativeTime,
  40375. MM: processRelativeTime,
  40376. y: processRelativeTime,
  40377. yy: processRelativeTime
  40378. },
  40379. dayOfMonthOrdinalParse: /\d{1,2}\./,
  40380. ordinal: '%d.',
  40381. week: {
  40382. dow: 1,
  40383. // Monday is the first day of the week.
  40384. doy: 4 // The week that contains Jan 4th is the first week of the year.
  40385. }
  40386. });
  40387. return deCh;
  40388. });
  40389. /***/ }),
  40390. /***/ 783:
  40391. /*!***************************************************************!*\
  40392. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/api/memberPoint.js ***!
  40393. \***************************************************************/
  40394. /*! no static exports found */
  40395. /***/ (function(module, exports, __webpack_require__) {
  40396. "use strict";
  40397. Object.defineProperty(exports, "__esModule", {
  40398. value: true
  40399. });
  40400. exports.getPointSignin = exports.getPointList = exports.addPointSignin = void 0;
  40401. var _network = __webpack_require__(/*! ../util/network */ 38);
  40402. // 获取用户积分列表
  40403. var getPointList = function getPointList(params) {
  40404. return (0, _network.requestApi)('/Memberpoints/pointslog', 'POST', {
  40405. page: params.page,
  40406. per_page: params.per_page
  40407. }, 'member');
  40408. };
  40409. // 获取签到日历
  40410. exports.getPointList = getPointList;
  40411. var getPointSignin = function getPointSignin(search_day) {
  40412. return (0, _network.requestApi)('/Memberpoints/points_signin', 'POST', {
  40413. search_day: search_day
  40414. }, 'member');
  40415. };
  40416. // 签到
  40417. exports.getPointSignin = getPointSignin;
  40418. var addPointSignin = function addPointSignin() {
  40419. return (0, _network.requestApi)('/Memberpoints/signin_add', 'POST', {}, 'member');
  40420. };
  40421. exports.addPointSignin = addPointSignin;
  40422. /***/ }),
  40423. /***/ 79:
  40424. /*!*****************************************************************************!*\
  40425. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/dv.js ***!
  40426. \*****************************************************************************/
  40427. /*! no static exports found */
  40428. /***/ (function(module, exports, __webpack_require__) {
  40429. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  40430. //! moment.js locale configuration
  40431. //! locale : Maldivian [dv]
  40432. //! author : Jawish Hameed : https://github.com/jawish
  40433. ;
  40434. (function (global, factory) {
  40435. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  40436. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  40437. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  40438. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  40439. })(this, function (moment) {
  40440. 'use strict';
  40441. //! moment.js locale configuration
  40442. var months = ['ޖެނުއަރީ', 'ފެބްރުއަރީ', 'މާރިޗު', 'އޭޕްރީލު', 'މޭ', 'ޖޫން', 'ޖުލައި', 'އޯގަސްޓު', 'ސެޕްޓެމްބަރު', 'އޮކްޓޯބަރު', 'ނޮވެމްބަރު', 'ޑިސެމްބަރު'],
  40443. weekdays = ['އާދިއްތަ', 'ހޯމަ', 'އަންގާރަ', 'ބުދަ', 'ބުރާސްފަތި', 'ހުކުރު', 'ހޮނިހިރު'];
  40444. var dv = moment.defineLocale('dv', {
  40445. months: months,
  40446. monthsShort: months,
  40447. weekdays: weekdays,
  40448. weekdaysShort: weekdays,
  40449. weekdaysMin: 'އާދި_ހޯމަ_އަން_ބުދަ_ބުރާ_ހުކު_ހޮނި'.split('_'),
  40450. longDateFormat: {
  40451. LT: 'HH:mm',
  40452. LTS: 'HH:mm:ss',
  40453. L: 'D/M/YYYY',
  40454. LL: 'D MMMM YYYY',
  40455. LLL: 'D MMMM YYYY HH:mm',
  40456. LLLL: 'dddd D MMMM YYYY HH:mm'
  40457. },
  40458. meridiemParse: /މކ|މފ/,
  40459. isPM: function isPM(input) {
  40460. return 'މފ' === input;
  40461. },
  40462. meridiem: function meridiem(hour, minute, isLower) {
  40463. if (hour < 12) {
  40464. return 'މކ';
  40465. } else {
  40466. return 'މފ';
  40467. }
  40468. },
  40469. calendar: {
  40470. sameDay: '[މިއަދު] LT',
  40471. nextDay: '[މާދަމާ] LT',
  40472. nextWeek: 'dddd LT',
  40473. lastDay: '[އިއްޔެ] LT',
  40474. lastWeek: '[ފާއިތުވި] dddd LT',
  40475. sameElse: 'L'
  40476. },
  40477. relativeTime: {
  40478. future: 'ތެރޭގައި %s',
  40479. past: 'ކުރިން %s',
  40480. s: 'ސިކުންތުކޮޅެއް',
  40481. ss: 'd% ސިކުންތު',
  40482. m: 'މިނިޓެއް',
  40483. mm: 'މިނިޓު %d',
  40484. h: 'ގަޑިއިރެއް',
  40485. hh: 'ގަޑިއިރު %d',
  40486. d: 'ދުވަހެއް',
  40487. dd: 'ދުވަސް %d',
  40488. M: 'މަހެއް',
  40489. MM: 'މަސް %d',
  40490. y: 'އަހަރެއް',
  40491. yy: 'އަހަރު %d'
  40492. },
  40493. preparse: function preparse(string) {
  40494. return string.replace(/،/g, ',');
  40495. },
  40496. postformat: function postformat(string) {
  40497. return string.replace(/,/g, '،');
  40498. },
  40499. week: {
  40500. dow: 7,
  40501. // Sunday is the first day of the week.
  40502. doy: 12 // The week that contains Jan 12th is the first week of the year.
  40503. }
  40504. });
  40505. return dv;
  40506. });
  40507. /***/ }),
  40508. /***/ 8:
  40509. /*!***************************************************************************!*\
  40510. !*** ./node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js ***!
  40511. \***************************************************************************/
  40512. /*! no static exports found */
  40513. /***/ (function(module, exports, __webpack_require__) {
  40514. var arrayLikeToArray = __webpack_require__(/*! ./arrayLikeToArray.js */ 9);
  40515. function _unsupportedIterableToArray(o, minLen) {
  40516. if (!o) return;
  40517. if (typeof o === "string") return arrayLikeToArray(o, minLen);
  40518. var n = Object.prototype.toString.call(o).slice(8, -1);
  40519. if (n === "Object" && o.constructor) n = o.constructor.name;
  40520. if (n === "Map" || n === "Set") return Array.from(o);
  40521. if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray(o, minLen);
  40522. }
  40523. module.exports = _unsupportedIterableToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
  40524. /***/ }),
  40525. /***/ 80:
  40526. /*!*****************************************************************************!*\
  40527. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/el.js ***!
  40528. \*****************************************************************************/
  40529. /*! no static exports found */
  40530. /***/ (function(module, exports, __webpack_require__) {
  40531. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  40532. //! moment.js locale configuration
  40533. //! locale : Greek [el]
  40534. //! author : Aggelos Karalias : https://github.com/mehiel
  40535. ;
  40536. (function (global, factory) {
  40537. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  40538. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  40539. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  40540. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  40541. })(this, function (moment) {
  40542. 'use strict';
  40543. //! moment.js locale configuration
  40544. function isFunction(input) {
  40545. return typeof Function !== 'undefined' && input instanceof Function || Object.prototype.toString.call(input) === '[object Function]';
  40546. }
  40547. var el = moment.defineLocale('el', {
  40548. monthsNominativeEl: 'Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος'.split('_'),
  40549. monthsGenitiveEl: 'Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου'.split('_'),
  40550. months: function months(momentToFormat, format) {
  40551. if (!momentToFormat) {
  40552. return this._monthsNominativeEl;
  40553. } else if (typeof format === 'string' && /D/.test(format.substring(0, format.indexOf('MMMM')))) {
  40554. // if there is a day number before 'MMMM'
  40555. return this._monthsGenitiveEl[momentToFormat.month()];
  40556. } else {
  40557. return this._monthsNominativeEl[momentToFormat.month()];
  40558. }
  40559. },
  40560. monthsShort: 'Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ'.split('_'),
  40561. weekdays: 'Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο'.split('_'),
  40562. weekdaysShort: 'Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ'.split('_'),
  40563. weekdaysMin: 'Κυ_Δε_Τρ_Τε_Πε_Πα_Σα'.split('_'),
  40564. meridiem: function meridiem(hours, minutes, isLower) {
  40565. if (hours > 11) {
  40566. return isLower ? 'μμ' : 'ΜΜ';
  40567. } else {
  40568. return isLower ? 'πμ' : 'ΠΜ';
  40569. }
  40570. },
  40571. isPM: function isPM(input) {
  40572. return (input + '').toLowerCase()[0] === 'μ';
  40573. },
  40574. meridiemParse: /[ΠΜ]\.?Μ?\.?/i,
  40575. longDateFormat: {
  40576. LT: 'h:mm A',
  40577. LTS: 'h:mm:ss A',
  40578. L: 'DD/MM/YYYY',
  40579. LL: 'D MMMM YYYY',
  40580. LLL: 'D MMMM YYYY h:mm A',
  40581. LLLL: 'dddd, D MMMM YYYY h:mm A'
  40582. },
  40583. calendarEl: {
  40584. sameDay: '[Σήμερα {}] LT',
  40585. nextDay: '[Αύριο {}] LT',
  40586. nextWeek: 'dddd [{}] LT',
  40587. lastDay: '[Χθες {}] LT',
  40588. lastWeek: function lastWeek() {
  40589. switch (this.day()) {
  40590. case 6:
  40591. return '[το προηγούμενο] dddd [{}] LT';
  40592. default:
  40593. return '[την προηγούμενη] dddd [{}] LT';
  40594. }
  40595. },
  40596. sameElse: 'L'
  40597. },
  40598. calendar: function calendar(key, mom) {
  40599. var output = this._calendarEl[key],
  40600. hours = mom && mom.hours();
  40601. if (isFunction(output)) {
  40602. output = output.apply(mom);
  40603. }
  40604. return output.replace('{}', hours % 12 === 1 ? 'στη' : 'στις');
  40605. },
  40606. relativeTime: {
  40607. future: 'σε %s',
  40608. past: '%s πριν',
  40609. s: 'λίγα δευτερόλεπτα',
  40610. ss: '%d δευτερόλεπτα',
  40611. m: 'ένα λεπτό',
  40612. mm: '%d λεπτά',
  40613. h: 'μία ώρα',
  40614. hh: '%d ώρες',
  40615. d: 'μία μέρα',
  40616. dd: '%d μέρες',
  40617. M: 'ένας μήνας',
  40618. MM: '%d μήνες',
  40619. y: 'ένας χρόνος',
  40620. yy: '%d χρόνια'
  40621. },
  40622. dayOfMonthOrdinalParse: /\d{1,2}η/,
  40623. ordinal: '%dη',
  40624. week: {
  40625. dow: 1,
  40626. // Monday is the first day of the week.
  40627. doy: 4 // The week that contains Jan 4st is the first week of the year.
  40628. }
  40629. });
  40630. return el;
  40631. });
  40632. /***/ }),
  40633. /***/ 800:
  40634. /*!*****************************************************************!*\
  40635. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/api/memberAddress.js ***!
  40636. \*****************************************************************/
  40637. /*! no static exports found */
  40638. /***/ (function(module, exports, __webpack_require__) {
  40639. "use strict";
  40640. Object.defineProperty(exports, "__esModule", {
  40641. value: true
  40642. });
  40643. exports.getChainList = exports.getAddressList = exports.getAddressInfo = exports.editAddress = exports.delAddress = exports.addChain = exports.addAddress = void 0;
  40644. var _network = __webpack_require__(/*! ../util/network */ 38);
  40645. // 获取用户地址列表
  40646. var getAddressList = function getAddressList() {
  40647. return (0, _network.requestApi)('/Memberaddress/address_list', 'POST', {}, 'member');
  40648. };
  40649. // 获取单条用户地址信息
  40650. exports.getAddressList = getAddressList;
  40651. var getAddressInfo = function getAddressInfo(addressId) {
  40652. return (0, _network.requestApi)('/Memberaddress/address_info', 'POST', {
  40653. 'address_id': addressId
  40654. }, 'member');
  40655. };
  40656. // 新增用户收货地址
  40657. exports.getAddressInfo = getAddressInfo;
  40658. var addAddress = function addAddress(data) {
  40659. return (0, _network.requestApi)('/Memberaddress/address_add', 'POST', {
  40660. 'address_realname': data.address_realname,
  40661. 'area_id': data.area_id,
  40662. 'city_id': data.city_id,
  40663. 'area_info': data.area_info,
  40664. 'address_detail': data.address_detail,
  40665. 'address_longitude': data.address_longitude,
  40666. 'address_latitude': data.address_latitude,
  40667. 'address_tel_phone': data.address_tel_phone,
  40668. 'address_mob_phone': data.address_mob_phone,
  40669. 'address_is_default': data.address_is_default
  40670. }, 'member');
  40671. };
  40672. // 编辑用户收货地址
  40673. exports.addAddress = addAddress;
  40674. var editAddress = function editAddress(data, addressId) {
  40675. return (0, _network.requestApi)('/Memberaddress/address_edit', 'POST', {
  40676. 'address_id': addressId,
  40677. 'address_realname': data.address_realname,
  40678. 'area_id': data.area_id,
  40679. 'city_id': data.city_id,
  40680. 'area_info': data.area_info,
  40681. 'address_detail': data.address_detail,
  40682. 'address_longitude': data.address_longitude,
  40683. 'address_latitude': data.address_latitude,
  40684. 'address_tel_phone': data.address_tel_phone,
  40685. 'address_mob_phone': data.address_mob_phone,
  40686. 'address_is_default': data.address_is_default
  40687. }, 'member');
  40688. };
  40689. // 删除用户收货地址
  40690. exports.editAddress = editAddress;
  40691. var delAddress = function delAddress(addressId) {
  40692. return (0, _network.requestApi)('/Memberaddress/address_del', 'POST', {
  40693. 'address_id': addressId
  40694. }, 'member');
  40695. };
  40696. // 获取自提站列表
  40697. exports.delAddress = delAddress;
  40698. var getChainList = function getChainList(parmas, areaId) {
  40699. return (0, _network.requestApi)('/Memberaddress/chain_list', 'POST', {
  40700. 'page': parmas.page,
  40701. 'per_page': parmas.per_page,
  40702. 'area_id': areaId
  40703. }, 'member');
  40704. };
  40705. // 添加自提站
  40706. exports.getChainList = getChainList;
  40707. var addChain = function addChain(data) {
  40708. return (0, _network.requestApi)('/Memberaddress/chain_add', 'POST', data, 'member');
  40709. };
  40710. exports.addChain = addChain;
  40711. /***/ }),
  40712. /***/ 81:
  40713. /*!********************************************************************************!*\
  40714. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/en-au.js ***!
  40715. \********************************************************************************/
  40716. /*! no static exports found */
  40717. /***/ (function(module, exports, __webpack_require__) {
  40718. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  40719. //! moment.js locale configuration
  40720. //! locale : English (Australia) [en-au]
  40721. //! author : Jared Morse : https://github.com/jarcoal
  40722. ;
  40723. (function (global, factory) {
  40724. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  40725. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  40726. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  40727. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  40728. })(this, function (moment) {
  40729. 'use strict';
  40730. //! moment.js locale configuration
  40731. var enAu = moment.defineLocale('en-au', {
  40732. months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'),
  40733. monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
  40734. weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),
  40735. weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
  40736. weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
  40737. longDateFormat: {
  40738. LT: 'h:mm A',
  40739. LTS: 'h:mm:ss A',
  40740. L: 'DD/MM/YYYY',
  40741. LL: 'D MMMM YYYY',
  40742. LLL: 'D MMMM YYYY h:mm A',
  40743. LLLL: 'dddd, D MMMM YYYY h:mm A'
  40744. },
  40745. calendar: {
  40746. sameDay: '[Today at] LT',
  40747. nextDay: '[Tomorrow at] LT',
  40748. nextWeek: 'dddd [at] LT',
  40749. lastDay: '[Yesterday at] LT',
  40750. lastWeek: '[Last] dddd [at] LT',
  40751. sameElse: 'L'
  40752. },
  40753. relativeTime: {
  40754. future: 'in %s',
  40755. past: '%s ago',
  40756. s: 'a few seconds',
  40757. ss: '%d seconds',
  40758. m: 'a minute',
  40759. mm: '%d minutes',
  40760. h: 'an hour',
  40761. hh: '%d hours',
  40762. d: 'a day',
  40763. dd: '%d days',
  40764. M: 'a month',
  40765. MM: '%d months',
  40766. y: 'a year',
  40767. yy: '%d years'
  40768. },
  40769. dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
  40770. ordinal: function ordinal(number) {
  40771. var b = number % 10,
  40772. output = ~~(number % 100 / 10) === 1 ? 'th' : b === 1 ? 'st' : b === 2 ? 'nd' : b === 3 ? 'rd' : 'th';
  40773. return number + output;
  40774. },
  40775. week: {
  40776. dow: 0,
  40777. // Sunday is the first day of the week.
  40778. doy: 4 // The week that contains Jan 4th is the first week of the year.
  40779. }
  40780. });
  40781. return enAu;
  40782. });
  40783. /***/ }),
  40784. /***/ 82:
  40785. /*!********************************************************************************!*\
  40786. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/en-ca.js ***!
  40787. \********************************************************************************/
  40788. /*! no static exports found */
  40789. /***/ (function(module, exports, __webpack_require__) {
  40790. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  40791. //! moment.js locale configuration
  40792. //! locale : English (Canada) [en-ca]
  40793. //! author : Jonathan Abourbih : https://github.com/jonbca
  40794. ;
  40795. (function (global, factory) {
  40796. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  40797. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  40798. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  40799. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  40800. })(this, function (moment) {
  40801. 'use strict';
  40802. //! moment.js locale configuration
  40803. var enCa = moment.defineLocale('en-ca', {
  40804. months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'),
  40805. monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
  40806. weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),
  40807. weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
  40808. weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
  40809. longDateFormat: {
  40810. LT: 'h:mm A',
  40811. LTS: 'h:mm:ss A',
  40812. L: 'YYYY-MM-DD',
  40813. LL: 'MMMM D, YYYY',
  40814. LLL: 'MMMM D, YYYY h:mm A',
  40815. LLLL: 'dddd, MMMM D, YYYY h:mm A'
  40816. },
  40817. calendar: {
  40818. sameDay: '[Today at] LT',
  40819. nextDay: '[Tomorrow at] LT',
  40820. nextWeek: 'dddd [at] LT',
  40821. lastDay: '[Yesterday at] LT',
  40822. lastWeek: '[Last] dddd [at] LT',
  40823. sameElse: 'L'
  40824. },
  40825. relativeTime: {
  40826. future: 'in %s',
  40827. past: '%s ago',
  40828. s: 'a few seconds',
  40829. ss: '%d seconds',
  40830. m: 'a minute',
  40831. mm: '%d minutes',
  40832. h: 'an hour',
  40833. hh: '%d hours',
  40834. d: 'a day',
  40835. dd: '%d days',
  40836. M: 'a month',
  40837. MM: '%d months',
  40838. y: 'a year',
  40839. yy: '%d years'
  40840. },
  40841. dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
  40842. ordinal: function ordinal(number) {
  40843. var b = number % 10,
  40844. output = ~~(number % 100 / 10) === 1 ? 'th' : b === 1 ? 'st' : b === 2 ? 'nd' : b === 3 ? 'rd' : 'th';
  40845. return number + output;
  40846. }
  40847. });
  40848. return enCa;
  40849. });
  40850. /***/ }),
  40851. /***/ 83:
  40852. /*!********************************************************************************!*\
  40853. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/en-gb.js ***!
  40854. \********************************************************************************/
  40855. /*! no static exports found */
  40856. /***/ (function(module, exports, __webpack_require__) {
  40857. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  40858. //! moment.js locale configuration
  40859. //! locale : English (United Kingdom) [en-gb]
  40860. //! author : Chris Gedrim : https://github.com/chrisgedrim
  40861. ;
  40862. (function (global, factory) {
  40863. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  40864. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  40865. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  40866. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  40867. })(this, function (moment) {
  40868. 'use strict';
  40869. //! moment.js locale configuration
  40870. var enGb = moment.defineLocale('en-gb', {
  40871. months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'),
  40872. monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
  40873. weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),
  40874. weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
  40875. weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
  40876. longDateFormat: {
  40877. LT: 'HH:mm',
  40878. LTS: 'HH:mm:ss',
  40879. L: 'DD/MM/YYYY',
  40880. LL: 'D MMMM YYYY',
  40881. LLL: 'D MMMM YYYY HH:mm',
  40882. LLLL: 'dddd, D MMMM YYYY HH:mm'
  40883. },
  40884. calendar: {
  40885. sameDay: '[Today at] LT',
  40886. nextDay: '[Tomorrow at] LT',
  40887. nextWeek: 'dddd [at] LT',
  40888. lastDay: '[Yesterday at] LT',
  40889. lastWeek: '[Last] dddd [at] LT',
  40890. sameElse: 'L'
  40891. },
  40892. relativeTime: {
  40893. future: 'in %s',
  40894. past: '%s ago',
  40895. s: 'a few seconds',
  40896. ss: '%d seconds',
  40897. m: 'a minute',
  40898. mm: '%d minutes',
  40899. h: 'an hour',
  40900. hh: '%d hours',
  40901. d: 'a day',
  40902. dd: '%d days',
  40903. M: 'a month',
  40904. MM: '%d months',
  40905. y: 'a year',
  40906. yy: '%d years'
  40907. },
  40908. dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
  40909. ordinal: function ordinal(number) {
  40910. var b = number % 10,
  40911. output = ~~(number % 100 / 10) === 1 ? 'th' : b === 1 ? 'st' : b === 2 ? 'nd' : b === 3 ? 'rd' : 'th';
  40912. return number + output;
  40913. },
  40914. week: {
  40915. dow: 1,
  40916. // Monday is the first day of the week.
  40917. doy: 4 // The week that contains Jan 4th is the first week of the year.
  40918. }
  40919. });
  40920. return enGb;
  40921. });
  40922. /***/ }),
  40923. /***/ 84:
  40924. /*!********************************************************************************!*\
  40925. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/en-ie.js ***!
  40926. \********************************************************************************/
  40927. /*! no static exports found */
  40928. /***/ (function(module, exports, __webpack_require__) {
  40929. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  40930. //! moment.js locale configuration
  40931. //! locale : English (Ireland) [en-ie]
  40932. //! author : Chris Cartlidge : https://github.com/chriscartlidge
  40933. ;
  40934. (function (global, factory) {
  40935. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  40936. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  40937. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  40938. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  40939. })(this, function (moment) {
  40940. 'use strict';
  40941. //! moment.js locale configuration
  40942. var enIe = moment.defineLocale('en-ie', {
  40943. months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'),
  40944. monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
  40945. weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),
  40946. weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
  40947. weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
  40948. longDateFormat: {
  40949. LT: 'HH:mm',
  40950. LTS: 'HH:mm:ss',
  40951. L: 'DD/MM/YYYY',
  40952. LL: 'D MMMM YYYY',
  40953. LLL: 'D MMMM YYYY HH:mm',
  40954. LLLL: 'dddd D MMMM YYYY HH:mm'
  40955. },
  40956. calendar: {
  40957. sameDay: '[Today at] LT',
  40958. nextDay: '[Tomorrow at] LT',
  40959. nextWeek: 'dddd [at] LT',
  40960. lastDay: '[Yesterday at] LT',
  40961. lastWeek: '[Last] dddd [at] LT',
  40962. sameElse: 'L'
  40963. },
  40964. relativeTime: {
  40965. future: 'in %s',
  40966. past: '%s ago',
  40967. s: 'a few seconds',
  40968. ss: '%d seconds',
  40969. m: 'a minute',
  40970. mm: '%d minutes',
  40971. h: 'an hour',
  40972. hh: '%d hours',
  40973. d: 'a day',
  40974. dd: '%d days',
  40975. M: 'a month',
  40976. MM: '%d months',
  40977. y: 'a year',
  40978. yy: '%d years'
  40979. },
  40980. dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
  40981. ordinal: function ordinal(number) {
  40982. var b = number % 10,
  40983. output = ~~(number % 100 / 10) === 1 ? 'th' : b === 1 ? 'st' : b === 2 ? 'nd' : b === 3 ? 'rd' : 'th';
  40984. return number + output;
  40985. },
  40986. week: {
  40987. dow: 1,
  40988. // Monday is the first day of the week.
  40989. doy: 4 // The week that contains Jan 4th is the first week of the year.
  40990. }
  40991. });
  40992. return enIe;
  40993. });
  40994. /***/ }),
  40995. /***/ 85:
  40996. /*!********************************************************************************!*\
  40997. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/en-il.js ***!
  40998. \********************************************************************************/
  40999. /*! no static exports found */
  41000. /***/ (function(module, exports, __webpack_require__) {
  41001. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  41002. //! moment.js locale configuration
  41003. //! locale : English (Israel) [en-il]
  41004. //! author : Chris Gedrim : https://github.com/chrisgedrim
  41005. ;
  41006. (function (global, factory) {
  41007. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  41008. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  41009. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  41010. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  41011. })(this, function (moment) {
  41012. 'use strict';
  41013. //! moment.js locale configuration
  41014. var enIl = moment.defineLocale('en-il', {
  41015. months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'),
  41016. monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
  41017. weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),
  41018. weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
  41019. weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
  41020. longDateFormat: {
  41021. LT: 'HH:mm',
  41022. LTS: 'HH:mm:ss',
  41023. L: 'DD/MM/YYYY',
  41024. LL: 'D MMMM YYYY',
  41025. LLL: 'D MMMM YYYY HH:mm',
  41026. LLLL: 'dddd, D MMMM YYYY HH:mm'
  41027. },
  41028. calendar: {
  41029. sameDay: '[Today at] LT',
  41030. nextDay: '[Tomorrow at] LT',
  41031. nextWeek: 'dddd [at] LT',
  41032. lastDay: '[Yesterday at] LT',
  41033. lastWeek: '[Last] dddd [at] LT',
  41034. sameElse: 'L'
  41035. },
  41036. relativeTime: {
  41037. future: 'in %s',
  41038. past: '%s ago',
  41039. s: 'a few seconds',
  41040. ss: '%d seconds',
  41041. m: 'a minute',
  41042. mm: '%d minutes',
  41043. h: 'an hour',
  41044. hh: '%d hours',
  41045. d: 'a day',
  41046. dd: '%d days',
  41047. M: 'a month',
  41048. MM: '%d months',
  41049. y: 'a year',
  41050. yy: '%d years'
  41051. },
  41052. dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
  41053. ordinal: function ordinal(number) {
  41054. var b = number % 10,
  41055. output = ~~(number % 100 / 10) === 1 ? 'th' : b === 1 ? 'st' : b === 2 ? 'nd' : b === 3 ? 'rd' : 'th';
  41056. return number + output;
  41057. }
  41058. });
  41059. return enIl;
  41060. });
  41061. /***/ }),
  41062. /***/ 852:
  41063. /*!****************************************************************!*\
  41064. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/api/memberRefund.js ***!
  41065. \****************************************************************/
  41066. /*! no static exports found */
  41067. /***/ (function(module, exports, __webpack_require__) {
  41068. "use strict";
  41069. Object.defineProperty(exports, "__esModule", {
  41070. value: true
  41071. });
  41072. exports.uploadRefundImage = exports.getRefundList = exports.getRefundInfo = exports.getCommonData = exports.addRefundAll = exports.addRefund = void 0;
  41073. var _network = __webpack_require__(/*! ../util/network */ 38);
  41074. // 获取退款列表
  41075. var getRefundList = function getRefundList(params) {
  41076. return (0, _network.requestApi)('/Memberrefund/get_refund_list', 'POST', {
  41077. page: params.page,
  41078. per_page: params.per_page
  41079. }, 'member');
  41080. };
  41081. // 获取单个退款信息
  41082. exports.getRefundList = getRefundList;
  41083. var getRefundInfo = function getRefundInfo(refundId) {
  41084. return (0, _network.requestApi)('/Memberrefund/get_refund_info', 'POST', {
  41085. refund_id: refundId
  41086. }, 'member');
  41087. };
  41088. // 新增全部退款
  41089. exports.getRefundInfo = getRefundInfo;
  41090. var addRefundAll = function addRefundAll(orderId, buyerMessage, fileValue) {
  41091. return (0, _network.requestApi)('/Memberrefund/refund_all_post', 'POST', {
  41092. order_id: orderId,
  41093. buyer_message: buyerMessage,
  41094. refund_pic: fileValue
  41095. }, 'member');
  41096. };
  41097. // 新增部分退款
  41098. exports.addRefundAll = addRefundAll;
  41099. var addRefund = function addRefund(refundType, orderId, orderGoodsId, refundAmount, goodsNum, reasonId, buyerMessage, fileValue) {
  41100. return (0, _network.requestApi)('/Memberrefund/refund_post', 'POST', {
  41101. refund_type: refundType,
  41102. order_id: orderId,
  41103. order_goods_id: orderGoodsId,
  41104. refund_amount: refundAmount,
  41105. goods_num: goodsNum,
  41106. reason_id: reasonId,
  41107. buyer_message: buyerMessage,
  41108. refund_pic: fileValue
  41109. }, 'member');
  41110. };
  41111. // 上传退款凭证
  41112. exports.addRefund = addRefund;
  41113. var uploadRefundImage = function uploadRefundImage(file) {
  41114. return (0, _network.requestApi)('/Memberrefund/upload_pic', 'POST', file, 'member', true);
  41115. };
  41116. // 获取公共信息
  41117. exports.uploadRefundImage = uploadRefundImage;
  41118. var getCommonData = function getCommonData(orderId, recId) {
  41119. return (0, _network.requestApi)('/Memberrefund/refund_form', 'POST', {
  41120. order_id: orderId,
  41121. order_goods_id: recId
  41122. }, 'member');
  41123. };
  41124. exports.getCommonData = getCommonData;
  41125. /***/ }),
  41126. /***/ 86:
  41127. /*!********************************************************************************!*\
  41128. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/en-in.js ***!
  41129. \********************************************************************************/
  41130. /*! no static exports found */
  41131. /***/ (function(module, exports, __webpack_require__) {
  41132. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  41133. //! moment.js locale configuration
  41134. //! locale : English (India) [en-in]
  41135. //! author : Jatin Agrawal : https://github.com/jatinag22
  41136. ;
  41137. (function (global, factory) {
  41138. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  41139. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  41140. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  41141. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  41142. })(this, function (moment) {
  41143. 'use strict';
  41144. //! moment.js locale configuration
  41145. var enIn = moment.defineLocale('en-in', {
  41146. months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'),
  41147. monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
  41148. weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),
  41149. weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
  41150. weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
  41151. longDateFormat: {
  41152. LT: 'h:mm A',
  41153. LTS: 'h:mm:ss A',
  41154. L: 'DD/MM/YYYY',
  41155. LL: 'D MMMM YYYY',
  41156. LLL: 'D MMMM YYYY h:mm A',
  41157. LLLL: 'dddd, D MMMM YYYY h:mm A'
  41158. },
  41159. calendar: {
  41160. sameDay: '[Today at] LT',
  41161. nextDay: '[Tomorrow at] LT',
  41162. nextWeek: 'dddd [at] LT',
  41163. lastDay: '[Yesterday at] LT',
  41164. lastWeek: '[Last] dddd [at] LT',
  41165. sameElse: 'L'
  41166. },
  41167. relativeTime: {
  41168. future: 'in %s',
  41169. past: '%s ago',
  41170. s: 'a few seconds',
  41171. ss: '%d seconds',
  41172. m: 'a minute',
  41173. mm: '%d minutes',
  41174. h: 'an hour',
  41175. hh: '%d hours',
  41176. d: 'a day',
  41177. dd: '%d days',
  41178. M: 'a month',
  41179. MM: '%d months',
  41180. y: 'a year',
  41181. yy: '%d years'
  41182. },
  41183. dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
  41184. ordinal: function ordinal(number) {
  41185. var b = number % 10,
  41186. output = ~~(number % 100 / 10) === 1 ? 'th' : b === 1 ? 'st' : b === 2 ? 'nd' : b === 3 ? 'rd' : 'th';
  41187. return number + output;
  41188. },
  41189. week: {
  41190. dow: 0,
  41191. // Sunday is the first day of the week.
  41192. doy: 6 // The week that contains Jan 1st is the first week of the year.
  41193. }
  41194. });
  41195. return enIn;
  41196. });
  41197. /***/ }),
  41198. /***/ 87:
  41199. /*!********************************************************************************!*\
  41200. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/en-nz.js ***!
  41201. \********************************************************************************/
  41202. /*! no static exports found */
  41203. /***/ (function(module, exports, __webpack_require__) {
  41204. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  41205. //! moment.js locale configuration
  41206. //! locale : English (New Zealand) [en-nz]
  41207. //! author : Luke McGregor : https://github.com/lukemcgregor
  41208. ;
  41209. (function (global, factory) {
  41210. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  41211. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  41212. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  41213. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  41214. })(this, function (moment) {
  41215. 'use strict';
  41216. //! moment.js locale configuration
  41217. var enNz = moment.defineLocale('en-nz', {
  41218. months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'),
  41219. monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
  41220. weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),
  41221. weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
  41222. weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
  41223. longDateFormat: {
  41224. LT: 'h:mm A',
  41225. LTS: 'h:mm:ss A',
  41226. L: 'DD/MM/YYYY',
  41227. LL: 'D MMMM YYYY',
  41228. LLL: 'D MMMM YYYY h:mm A',
  41229. LLLL: 'dddd, D MMMM YYYY h:mm A'
  41230. },
  41231. calendar: {
  41232. sameDay: '[Today at] LT',
  41233. nextDay: '[Tomorrow at] LT',
  41234. nextWeek: 'dddd [at] LT',
  41235. lastDay: '[Yesterday at] LT',
  41236. lastWeek: '[Last] dddd [at] LT',
  41237. sameElse: 'L'
  41238. },
  41239. relativeTime: {
  41240. future: 'in %s',
  41241. past: '%s ago',
  41242. s: 'a few seconds',
  41243. ss: '%d seconds',
  41244. m: 'a minute',
  41245. mm: '%d minutes',
  41246. h: 'an hour',
  41247. hh: '%d hours',
  41248. d: 'a day',
  41249. dd: '%d days',
  41250. M: 'a month',
  41251. MM: '%d months',
  41252. y: 'a year',
  41253. yy: '%d years'
  41254. },
  41255. dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
  41256. ordinal: function ordinal(number) {
  41257. var b = number % 10,
  41258. output = ~~(number % 100 / 10) === 1 ? 'th' : b === 1 ? 'st' : b === 2 ? 'nd' : b === 3 ? 'rd' : 'th';
  41259. return number + output;
  41260. },
  41261. week: {
  41262. dow: 1,
  41263. // Monday is the first day of the week.
  41264. doy: 4 // The week that contains Jan 4th is the first week of the year.
  41265. }
  41266. });
  41267. return enNz;
  41268. });
  41269. /***/ }),
  41270. /***/ 877:
  41271. /*!******************************************************************!*\
  41272. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/api/memberVrRefund.js ***!
  41273. \******************************************************************/
  41274. /*! no static exports found */
  41275. /***/ (function(module, exports, __webpack_require__) {
  41276. "use strict";
  41277. Object.defineProperty(exports, "__esModule", {
  41278. value: true
  41279. });
  41280. exports.getVrRefundList = exports.getVrRefundInfo = exports.getCommonData = exports.addVrRefund = void 0;
  41281. var _network = __webpack_require__(/*! ../util/network */ 38);
  41282. // 获取退款列表
  41283. var getVrRefundList = function getVrRefundList(params) {
  41284. return (0, _network.requestApi)('/Membervrrefund/index', 'POST', {
  41285. page: params.page,
  41286. per_page: params.per_page
  41287. }, 'member');
  41288. };
  41289. // 获取单个退款信息
  41290. exports.getVrRefundList = getVrRefundList;
  41291. var getVrRefundInfo = function getVrRefundInfo(refundId) {
  41292. return (0, _network.requestApi)('/Membervrrefund/view', 'POST', {
  41293. refund_id: refundId
  41294. }, 'member');
  41295. };
  41296. // 新增部分退款
  41297. exports.getVrRefundInfo = getVrRefundInfo;
  41298. var addVrRefund = function addVrRefund(orderId, recId, buyerMessage) {
  41299. return (0, _network.requestApi)('/Membervrrefund/add_refund', 'POST', {
  41300. rec_id: recId,
  41301. order_id: orderId,
  41302. buyer_message: buyerMessage
  41303. }, 'member');
  41304. };
  41305. // 获取公共信息
  41306. exports.addVrRefund = addVrRefund;
  41307. var getCommonData = function getCommonData(orderId, recId) {
  41308. return (0, _network.requestApi)('/Membervrrefund/refund_form', 'POST', {
  41309. order_id: orderId
  41310. }, 'member');
  41311. };
  41312. exports.getCommonData = getCommonData;
  41313. /***/ }),
  41314. /***/ 88:
  41315. /*!********************************************************************************!*\
  41316. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/en-sg.js ***!
  41317. \********************************************************************************/
  41318. /*! no static exports found */
  41319. /***/ (function(module, exports, __webpack_require__) {
  41320. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  41321. //! moment.js locale configuration
  41322. //! locale : English (Singapore) [en-sg]
  41323. //! author : Matthew Castrillon-Madrigal : https://github.com/techdimension
  41324. ;
  41325. (function (global, factory) {
  41326. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  41327. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  41328. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  41329. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  41330. })(this, function (moment) {
  41331. 'use strict';
  41332. //! moment.js locale configuration
  41333. var enSg = moment.defineLocale('en-sg', {
  41334. months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'),
  41335. monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
  41336. weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),
  41337. weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
  41338. weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
  41339. longDateFormat: {
  41340. LT: 'HH:mm',
  41341. LTS: 'HH:mm:ss',
  41342. L: 'DD/MM/YYYY',
  41343. LL: 'D MMMM YYYY',
  41344. LLL: 'D MMMM YYYY HH:mm',
  41345. LLLL: 'dddd, D MMMM YYYY HH:mm'
  41346. },
  41347. calendar: {
  41348. sameDay: '[Today at] LT',
  41349. nextDay: '[Tomorrow at] LT',
  41350. nextWeek: 'dddd [at] LT',
  41351. lastDay: '[Yesterday at] LT',
  41352. lastWeek: '[Last] dddd [at] LT',
  41353. sameElse: 'L'
  41354. },
  41355. relativeTime: {
  41356. future: 'in %s',
  41357. past: '%s ago',
  41358. s: 'a few seconds',
  41359. ss: '%d seconds',
  41360. m: 'a minute',
  41361. mm: '%d minutes',
  41362. h: 'an hour',
  41363. hh: '%d hours',
  41364. d: 'a day',
  41365. dd: '%d days',
  41366. M: 'a month',
  41367. MM: '%d months',
  41368. y: 'a year',
  41369. yy: '%d years'
  41370. },
  41371. dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
  41372. ordinal: function ordinal(number) {
  41373. var b = number % 10,
  41374. output = ~~(number % 100 / 10) === 1 ? 'th' : b === 1 ? 'st' : b === 2 ? 'nd' : b === 3 ? 'rd' : 'th';
  41375. return number + output;
  41376. },
  41377. week: {
  41378. dow: 1,
  41379. // Monday is the first day of the week.
  41380. doy: 4 // The week that contains Jan 4th is the first week of the year.
  41381. }
  41382. });
  41383. return enSg;
  41384. });
  41385. /***/ }),
  41386. /***/ 89:
  41387. /*!*****************************************************************************!*\
  41388. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/eo.js ***!
  41389. \*****************************************************************************/
  41390. /*! no static exports found */
  41391. /***/ (function(module, exports, __webpack_require__) {
  41392. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  41393. //! moment.js locale configuration
  41394. //! locale : Esperanto [eo]
  41395. //! author : Colin Dean : https://github.com/colindean
  41396. //! author : Mia Nordentoft Imperatori : https://github.com/miestasmia
  41397. //! comment : miestasmia corrected the translation by colindean
  41398. //! comment : Vivakvo corrected the translation by colindean and miestasmia
  41399. ;
  41400. (function (global, factory) {
  41401. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  41402. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  41403. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  41404. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  41405. })(this, function (moment) {
  41406. 'use strict';
  41407. //! moment.js locale configuration
  41408. var eo = moment.defineLocale('eo', {
  41409. months: 'januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro'.split('_'),
  41410. monthsShort: 'jan_feb_mart_apr_maj_jun_jul_aŭg_sept_okt_nov_dec'.split('_'),
  41411. weekdays: 'dimanĉo_lundo_mardo_merkredo_ĵaŭdo_vendredo_sabato'.split('_'),
  41412. weekdaysShort: 'dim_lun_mard_merk_ĵaŭ_ven_sab'.split('_'),
  41413. weekdaysMin: 'di_lu_ma_me_ĵa_ve_sa'.split('_'),
  41414. longDateFormat: {
  41415. LT: 'HH:mm',
  41416. LTS: 'HH:mm:ss',
  41417. L: 'YYYY-MM-DD',
  41418. LL: '[la] D[-an de] MMMM, YYYY',
  41419. LLL: '[la] D[-an de] MMMM, YYYY HH:mm',
  41420. LLLL: 'dddd[n], [la] D[-an de] MMMM, YYYY HH:mm',
  41421. llll: 'ddd, [la] D[-an de] MMM, YYYY HH:mm'
  41422. },
  41423. meridiemParse: /[ap]\.t\.m/i,
  41424. isPM: function isPM(input) {
  41425. return input.charAt(0).toLowerCase() === 'p';
  41426. },
  41427. meridiem: function meridiem(hours, minutes, isLower) {
  41428. if (hours > 11) {
  41429. return isLower ? 'p.t.m.' : 'P.T.M.';
  41430. } else {
  41431. return isLower ? 'a.t.m.' : 'A.T.M.';
  41432. }
  41433. },
  41434. calendar: {
  41435. sameDay: '[Hodiaŭ je] LT',
  41436. nextDay: '[Morgaŭ je] LT',
  41437. nextWeek: 'dddd[n je] LT',
  41438. lastDay: '[Hieraŭ je] LT',
  41439. lastWeek: '[pasintan] dddd[n je] LT',
  41440. sameElse: 'L'
  41441. },
  41442. relativeTime: {
  41443. future: 'post %s',
  41444. past: 'antaŭ %s',
  41445. s: 'kelkaj sekundoj',
  41446. ss: '%d sekundoj',
  41447. m: 'unu minuto',
  41448. mm: '%d minutoj',
  41449. h: 'unu horo',
  41450. hh: '%d horoj',
  41451. d: 'unu tago',
  41452. //ne 'diurno', ĉar estas uzita por proksimumo
  41453. dd: '%d tagoj',
  41454. M: 'unu monato',
  41455. MM: '%d monatoj',
  41456. y: 'unu jaro',
  41457. yy: '%d jaroj'
  41458. },
  41459. dayOfMonthOrdinalParse: /\d{1,2}a/,
  41460. ordinal: '%da',
  41461. week: {
  41462. dow: 1,
  41463. // Monday is the first day of the week.
  41464. doy: 7 // The week that contains Jan 7th is the first week of the year.
  41465. }
  41466. });
  41467. return eo;
  41468. });
  41469. /***/ }),
  41470. /***/ 9:
  41471. /*!*****************************************************************!*\
  41472. !*** ./node_modules/@babel/runtime/helpers/arrayLikeToArray.js ***!
  41473. \*****************************************************************/
  41474. /*! no static exports found */
  41475. /***/ (function(module, exports) {
  41476. function _arrayLikeToArray(arr, len) {
  41477. if (len == null || len > arr.length) len = arr.length;
  41478. for (var i = 0, arr2 = new Array(len); i < len; i++) {
  41479. arr2[i] = arr[i];
  41480. }
  41481. return arr2;
  41482. }
  41483. module.exports = _arrayLikeToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
  41484. /***/ }),
  41485. /***/ 90:
  41486. /*!*****************************************************************************!*\
  41487. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/es.js ***!
  41488. \*****************************************************************************/
  41489. /*! no static exports found */
  41490. /***/ (function(module, exports, __webpack_require__) {
  41491. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  41492. //! moment.js locale configuration
  41493. //! locale : Spanish [es]
  41494. //! author : Julio Napurí : https://github.com/julionc
  41495. ;
  41496. (function (global, factory) {
  41497. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  41498. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  41499. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  41500. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  41501. })(this, function (moment) {
  41502. 'use strict';
  41503. //! moment.js locale configuration
  41504. var monthsShortDot = 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split('_'),
  41505. _monthsShort = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'),
  41506. monthsParse = [/^ene/i, /^feb/i, /^mar/i, /^abr/i, /^may/i, /^jun/i, /^jul/i, /^ago/i, /^sep/i, /^oct/i, /^nov/i, /^dic/i],
  41507. monthsRegex = /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;
  41508. var es = moment.defineLocale('es', {
  41509. months: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split('_'),
  41510. monthsShort: function monthsShort(m, format) {
  41511. if (!m) {
  41512. return monthsShortDot;
  41513. } else if (/-MMM-/.test(format)) {
  41514. return _monthsShort[m.month()];
  41515. } else {
  41516. return monthsShortDot[m.month()];
  41517. }
  41518. },
  41519. monthsRegex: monthsRegex,
  41520. monthsShortRegex: monthsRegex,
  41521. monthsStrictRegex: /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,
  41522. monthsShortStrictRegex: /^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,
  41523. monthsParse: monthsParse,
  41524. longMonthsParse: monthsParse,
  41525. shortMonthsParse: monthsParse,
  41526. weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'),
  41527. weekdaysShort: 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'),
  41528. weekdaysMin: 'do_lu_ma_mi_ju_vi_sá'.split('_'),
  41529. weekdaysParseExact: true,
  41530. longDateFormat: {
  41531. LT: 'H:mm',
  41532. LTS: 'H:mm:ss',
  41533. L: 'DD/MM/YYYY',
  41534. LL: 'D [de] MMMM [de] YYYY',
  41535. LLL: 'D [de] MMMM [de] YYYY H:mm',
  41536. LLLL: 'dddd, D [de] MMMM [de] YYYY H:mm'
  41537. },
  41538. calendar: {
  41539. sameDay: function sameDay() {
  41540. return '[hoy a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
  41541. },
  41542. nextDay: function nextDay() {
  41543. return '[mañana a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
  41544. },
  41545. nextWeek: function nextWeek() {
  41546. return 'dddd [a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
  41547. },
  41548. lastDay: function lastDay() {
  41549. return '[ayer a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
  41550. },
  41551. lastWeek: function lastWeek() {
  41552. return '[el] dddd [pasado a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
  41553. },
  41554. sameElse: 'L'
  41555. },
  41556. relativeTime: {
  41557. future: 'en %s',
  41558. past: 'hace %s',
  41559. s: 'unos segundos',
  41560. ss: '%d segundos',
  41561. m: 'un minuto',
  41562. mm: '%d minutos',
  41563. h: 'una hora',
  41564. hh: '%d horas',
  41565. d: 'un día',
  41566. dd: '%d días',
  41567. w: 'una semana',
  41568. ww: '%d semanas',
  41569. M: 'un mes',
  41570. MM: '%d meses',
  41571. y: 'un año',
  41572. yy: '%d años'
  41573. },
  41574. dayOfMonthOrdinalParse: /\d{1,2}º/,
  41575. ordinal: '%dº',
  41576. week: {
  41577. dow: 1,
  41578. // Monday is the first day of the week.
  41579. doy: 4 // The week that contains Jan 4th is the first week of the year.
  41580. },
  41581. invalidDate: 'Fecha inválida'
  41582. });
  41583. return es;
  41584. });
  41585. /***/ }),
  41586. /***/ 902:
  41587. /*!****************************************************************!*\
  41588. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/api/memberReturn.js ***!
  41589. \****************************************************************/
  41590. /*! no static exports found */
  41591. /***/ (function(module, exports, __webpack_require__) {
  41592. "use strict";
  41593. Object.defineProperty(exports, "__esModule", {
  41594. value: true
  41595. });
  41596. exports.sendReturn = exports.getReturnList = exports.getReturnInfo = exports.getExpress = exports.delayReturn = void 0;
  41597. var _network = __webpack_require__(/*! ../util/network */ 38);
  41598. // 获取退货列表
  41599. var getReturnList = function getReturnList(params) {
  41600. return (0, _network.requestApi)('/Memberreturn/get_return_list', 'POST', {
  41601. page: params.page,
  41602. per_page: params.per_page
  41603. }, 'member');
  41604. };
  41605. // 获取单个退货信息
  41606. exports.getReturnList = getReturnList;
  41607. var getReturnInfo = function getReturnInfo(returnId) {
  41608. return (0, _network.requestApi)('/Memberreturn/get_return_info', 'POST', {
  41609. return_id: returnId
  41610. }, 'member');
  41611. };
  41612. // 获取物流公司
  41613. exports.getReturnInfo = getReturnInfo;
  41614. var getExpress = function getExpress() {
  41615. return (0, _network.requestApi)('/Memberreturn/get_express', 'POST', {}, 'member');
  41616. };
  41617. // 退货
  41618. exports.getExpress = getExpress;
  41619. var sendReturn = function sendReturn(returnId, expressId, invoiceNo) {
  41620. return (0, _network.requestApi)('/Memberreturn/ship_post', 'POST', {
  41621. return_id: returnId,
  41622. express_id: expressId,
  41623. invoice_no: invoiceNo
  41624. }, 'member');
  41625. };
  41626. // 延迟
  41627. exports.sendReturn = sendReturn;
  41628. var delayReturn = function delayReturn(returnId) {
  41629. return (0, _network.requestApi)('/Memberreturn/delay_post', 'POST', {
  41630. return_id: returnId
  41631. }, 'member');
  41632. };
  41633. exports.delayReturn = delayReturn;
  41634. /***/ }),
  41635. /***/ 91:
  41636. /*!********************************************************************************!*\
  41637. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/es-do.js ***!
  41638. \********************************************************************************/
  41639. /*! no static exports found */
  41640. /***/ (function(module, exports, __webpack_require__) {
  41641. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  41642. //! moment.js locale configuration
  41643. //! locale : Spanish (Dominican Republic) [es-do]
  41644. ;
  41645. (function (global, factory) {
  41646. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  41647. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  41648. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  41649. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  41650. })(this, function (moment) {
  41651. 'use strict';
  41652. //! moment.js locale configuration
  41653. var monthsShortDot = 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split('_'),
  41654. _monthsShort = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'),
  41655. monthsParse = [/^ene/i, /^feb/i, /^mar/i, /^abr/i, /^may/i, /^jun/i, /^jul/i, /^ago/i, /^sep/i, /^oct/i, /^nov/i, /^dic/i],
  41656. monthsRegex = /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;
  41657. var esDo = moment.defineLocale('es-do', {
  41658. months: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split('_'),
  41659. monthsShort: function monthsShort(m, format) {
  41660. if (!m) {
  41661. return monthsShortDot;
  41662. } else if (/-MMM-/.test(format)) {
  41663. return _monthsShort[m.month()];
  41664. } else {
  41665. return monthsShortDot[m.month()];
  41666. }
  41667. },
  41668. monthsRegex: monthsRegex,
  41669. monthsShortRegex: monthsRegex,
  41670. monthsStrictRegex: /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,
  41671. monthsShortStrictRegex: /^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,
  41672. monthsParse: monthsParse,
  41673. longMonthsParse: monthsParse,
  41674. shortMonthsParse: monthsParse,
  41675. weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'),
  41676. weekdaysShort: 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'),
  41677. weekdaysMin: 'do_lu_ma_mi_ju_vi_sá'.split('_'),
  41678. weekdaysParseExact: true,
  41679. longDateFormat: {
  41680. LT: 'h:mm A',
  41681. LTS: 'h:mm:ss A',
  41682. L: 'DD/MM/YYYY',
  41683. LL: 'D [de] MMMM [de] YYYY',
  41684. LLL: 'D [de] MMMM [de] YYYY h:mm A',
  41685. LLLL: 'dddd, D [de] MMMM [de] YYYY h:mm A'
  41686. },
  41687. calendar: {
  41688. sameDay: function sameDay() {
  41689. return '[hoy a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
  41690. },
  41691. nextDay: function nextDay() {
  41692. return '[mañana a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
  41693. },
  41694. nextWeek: function nextWeek() {
  41695. return 'dddd [a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
  41696. },
  41697. lastDay: function lastDay() {
  41698. return '[ayer a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
  41699. },
  41700. lastWeek: function lastWeek() {
  41701. return '[el] dddd [pasado a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
  41702. },
  41703. sameElse: 'L'
  41704. },
  41705. relativeTime: {
  41706. future: 'en %s',
  41707. past: 'hace %s',
  41708. s: 'unos segundos',
  41709. ss: '%d segundos',
  41710. m: 'un minuto',
  41711. mm: '%d minutos',
  41712. h: 'una hora',
  41713. hh: '%d horas',
  41714. d: 'un día',
  41715. dd: '%d días',
  41716. w: 'una semana',
  41717. ww: '%d semanas',
  41718. M: 'un mes',
  41719. MM: '%d meses',
  41720. y: 'un año',
  41721. yy: '%d años'
  41722. },
  41723. dayOfMonthOrdinalParse: /\d{1,2}º/,
  41724. ordinal: '%dº',
  41725. week: {
  41726. dow: 1,
  41727. // Monday is the first day of the week.
  41728. doy: 4 // The week that contains Jan 4th is the first week of the year.
  41729. }
  41730. });
  41731. return esDo;
  41732. });
  41733. /***/ }),
  41734. /***/ 92:
  41735. /*!********************************************************************************!*\
  41736. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/es-mx.js ***!
  41737. \********************************************************************************/
  41738. /*! no static exports found */
  41739. /***/ (function(module, exports, __webpack_require__) {
  41740. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  41741. //! moment.js locale configuration
  41742. //! locale : Spanish (Mexico) [es-mx]
  41743. //! author : JC Franco : https://github.com/jcfranco
  41744. ;
  41745. (function (global, factory) {
  41746. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  41747. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  41748. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  41749. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  41750. })(this, function (moment) {
  41751. 'use strict';
  41752. //! moment.js locale configuration
  41753. var monthsShortDot = 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split('_'),
  41754. _monthsShort = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'),
  41755. monthsParse = [/^ene/i, /^feb/i, /^mar/i, /^abr/i, /^may/i, /^jun/i, /^jul/i, /^ago/i, /^sep/i, /^oct/i, /^nov/i, /^dic/i],
  41756. monthsRegex = /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;
  41757. var esMx = moment.defineLocale('es-mx', {
  41758. months: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split('_'),
  41759. monthsShort: function monthsShort(m, format) {
  41760. if (!m) {
  41761. return monthsShortDot;
  41762. } else if (/-MMM-/.test(format)) {
  41763. return _monthsShort[m.month()];
  41764. } else {
  41765. return monthsShortDot[m.month()];
  41766. }
  41767. },
  41768. monthsRegex: monthsRegex,
  41769. monthsShortRegex: monthsRegex,
  41770. monthsStrictRegex: /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,
  41771. monthsShortStrictRegex: /^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,
  41772. monthsParse: monthsParse,
  41773. longMonthsParse: monthsParse,
  41774. shortMonthsParse: monthsParse,
  41775. weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'),
  41776. weekdaysShort: 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'),
  41777. weekdaysMin: 'do_lu_ma_mi_ju_vi_sá'.split('_'),
  41778. weekdaysParseExact: true,
  41779. longDateFormat: {
  41780. LT: 'H:mm',
  41781. LTS: 'H:mm:ss',
  41782. L: 'DD/MM/YYYY',
  41783. LL: 'D [de] MMMM [de] YYYY',
  41784. LLL: 'D [de] MMMM [de] YYYY H:mm',
  41785. LLLL: 'dddd, D [de] MMMM [de] YYYY H:mm'
  41786. },
  41787. calendar: {
  41788. sameDay: function sameDay() {
  41789. return '[hoy a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
  41790. },
  41791. nextDay: function nextDay() {
  41792. return '[mañana a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
  41793. },
  41794. nextWeek: function nextWeek() {
  41795. return 'dddd [a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
  41796. },
  41797. lastDay: function lastDay() {
  41798. return '[ayer a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
  41799. },
  41800. lastWeek: function lastWeek() {
  41801. return '[el] dddd [pasado a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
  41802. },
  41803. sameElse: 'L'
  41804. },
  41805. relativeTime: {
  41806. future: 'en %s',
  41807. past: 'hace %s',
  41808. s: 'unos segundos',
  41809. ss: '%d segundos',
  41810. m: 'un minuto',
  41811. mm: '%d minutos',
  41812. h: 'una hora',
  41813. hh: '%d horas',
  41814. d: 'un día',
  41815. dd: '%d días',
  41816. w: 'una semana',
  41817. ww: '%d semanas',
  41818. M: 'un mes',
  41819. MM: '%d meses',
  41820. y: 'un año',
  41821. yy: '%d años'
  41822. },
  41823. dayOfMonthOrdinalParse: /\d{1,2}º/,
  41824. ordinal: '%dº',
  41825. week: {
  41826. dow: 0,
  41827. // Sunday is the first day of the week.
  41828. doy: 4 // The week that contains Jan 4th is the first week of the year.
  41829. },
  41830. invalidDate: 'Fecha inválida'
  41831. });
  41832. return esMx;
  41833. });
  41834. /***/ }),
  41835. /***/ 93:
  41836. /*!********************************************************************************!*\
  41837. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/es-us.js ***!
  41838. \********************************************************************************/
  41839. /*! no static exports found */
  41840. /***/ (function(module, exports, __webpack_require__) {
  41841. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  41842. //! moment.js locale configuration
  41843. //! locale : Spanish (United States) [es-us]
  41844. //! author : bustta : https://github.com/bustta
  41845. //! author : chrisrodz : https://github.com/chrisrodz
  41846. ;
  41847. (function (global, factory) {
  41848. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  41849. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  41850. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  41851. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  41852. })(this, function (moment) {
  41853. 'use strict';
  41854. //! moment.js locale configuration
  41855. var monthsShortDot = 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split('_'),
  41856. _monthsShort = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'),
  41857. monthsParse = [/^ene/i, /^feb/i, /^mar/i, /^abr/i, /^may/i, /^jun/i, /^jul/i, /^ago/i, /^sep/i, /^oct/i, /^nov/i, /^dic/i],
  41858. monthsRegex = /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;
  41859. var esUs = moment.defineLocale('es-us', {
  41860. months: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split('_'),
  41861. monthsShort: function monthsShort(m, format) {
  41862. if (!m) {
  41863. return monthsShortDot;
  41864. } else if (/-MMM-/.test(format)) {
  41865. return _monthsShort[m.month()];
  41866. } else {
  41867. return monthsShortDot[m.month()];
  41868. }
  41869. },
  41870. monthsRegex: monthsRegex,
  41871. monthsShortRegex: monthsRegex,
  41872. monthsStrictRegex: /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,
  41873. monthsShortStrictRegex: /^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,
  41874. monthsParse: monthsParse,
  41875. longMonthsParse: monthsParse,
  41876. shortMonthsParse: monthsParse,
  41877. weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'),
  41878. weekdaysShort: 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'),
  41879. weekdaysMin: 'do_lu_ma_mi_ju_vi_sá'.split('_'),
  41880. weekdaysParseExact: true,
  41881. longDateFormat: {
  41882. LT: 'h:mm A',
  41883. LTS: 'h:mm:ss A',
  41884. L: 'MM/DD/YYYY',
  41885. LL: 'D [de] MMMM [de] YYYY',
  41886. LLL: 'D [de] MMMM [de] YYYY h:mm A',
  41887. LLLL: 'dddd, D [de] MMMM [de] YYYY h:mm A'
  41888. },
  41889. calendar: {
  41890. sameDay: function sameDay() {
  41891. return '[hoy a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
  41892. },
  41893. nextDay: function nextDay() {
  41894. return '[mañana a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
  41895. },
  41896. nextWeek: function nextWeek() {
  41897. return 'dddd [a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
  41898. },
  41899. lastDay: function lastDay() {
  41900. return '[ayer a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
  41901. },
  41902. lastWeek: function lastWeek() {
  41903. return '[el] dddd [pasado a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
  41904. },
  41905. sameElse: 'L'
  41906. },
  41907. relativeTime: {
  41908. future: 'en %s',
  41909. past: 'hace %s',
  41910. s: 'unos segundos',
  41911. ss: '%d segundos',
  41912. m: 'un minuto',
  41913. mm: '%d minutos',
  41914. h: 'una hora',
  41915. hh: '%d horas',
  41916. d: 'un día',
  41917. dd: '%d días',
  41918. w: 'una semana',
  41919. ww: '%d semanas',
  41920. M: 'un mes',
  41921. MM: '%d meses',
  41922. y: 'un año',
  41923. yy: '%d años'
  41924. },
  41925. dayOfMonthOrdinalParse: /\d{1,2}º/,
  41926. ordinal: '%dº',
  41927. week: {
  41928. dow: 0,
  41929. // Sunday is the first day of the week.
  41930. doy: 6 // The week that contains Jan 6th is the first week of the year.
  41931. }
  41932. });
  41933. return esUs;
  41934. });
  41935. /***/ }),
  41936. /***/ 935:
  41937. /*!*****************************************************************!*\
  41938. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/api/memberInvoice.js ***!
  41939. \*****************************************************************/
  41940. /*! no static exports found */
  41941. /***/ (function(module, exports, __webpack_require__) {
  41942. "use strict";
  41943. Object.defineProperty(exports, "__esModule", {
  41944. value: true
  41945. });
  41946. exports.getInvoiceList = exports.getInvoiceInfo = exports.editInvoice = exports.delInvoice = exports.addInvoice = void 0;
  41947. var _network = __webpack_require__(/*! ../util/network */ 38);
  41948. // 获取用户发票列表
  41949. var getInvoiceList = function getInvoiceList() {
  41950. return (0, _network.requestApi)('/Memberinvoice/invoice_list', 'POST', {}, 'member');
  41951. };
  41952. // 获取单个发票信息
  41953. exports.getInvoiceList = getInvoiceList;
  41954. var getInvoiceInfo = function getInvoiceInfo(invoiceId) {
  41955. return (0, _network.requestApi)('/Memberinvoice/invoice_info', 'POST', {
  41956. 'invoice_id': invoiceId
  41957. }, 'member');
  41958. };
  41959. // 新增发票
  41960. exports.getInvoiceInfo = getInvoiceInfo;
  41961. var addInvoice = function addInvoice(data) {
  41962. return (0, _network.requestApi)('/Memberinvoice/invoice_add', 'POST', {
  41963. 'invoice_state': data.invoice_state,
  41964. 'invoice_title': data.invoice_title,
  41965. 'invoice_code': data.invoice_code,
  41966. 'invoice_content': data.invoice_content,
  41967. 'invoice_company': data.invoice_company,
  41968. 'invoice_company_code': data.invoice_company_code,
  41969. 'invoice_reg_addr': data.invoice_reg_addr,
  41970. 'invoice_reg_phone': data.invoice_reg_phone,
  41971. 'invoice_reg_bname': data.invoice_reg_bname,
  41972. 'invoice_reg_baccount': data.invoice_reg_baccount
  41973. }, 'member');
  41974. };
  41975. // 编辑发票
  41976. exports.addInvoice = addInvoice;
  41977. var editInvoice = function editInvoice(data, invoiceId) {
  41978. return (0, _network.requestApi)('/Memberinvoice/invoice_edit', 'POST', {
  41979. 'invoice_id': invoiceId,
  41980. 'invoice_state': data.invoice_state,
  41981. 'invoice_title': data.invoice_title,
  41982. 'invoice_code': data.invoice_code,
  41983. 'invoice_content': data.invoice_content,
  41984. 'invoice_company': data.invoice_company,
  41985. 'invoice_company_code': data.invoice_company_code,
  41986. 'invoice_reg_addr': data.invoice_reg_addr,
  41987. 'invoice_reg_phone': data.invoice_reg_phone,
  41988. 'invoice_reg_bname': data.invoice_reg_bname,
  41989. 'invoice_reg_baccount': data.invoice_reg_baccount
  41990. }, 'member');
  41991. };
  41992. // 删除发票
  41993. exports.editInvoice = editInvoice;
  41994. var delInvoice = function delInvoice(invoiceId) {
  41995. return (0, _network.requestApi)('/Memberinvoice/invoice_del', 'POST', {
  41996. 'invoice_id': invoiceId
  41997. }, 'member');
  41998. };
  41999. exports.delInvoice = delInvoice;
  42000. /***/ }),
  42001. /***/ 94:
  42002. /*!*****************************************************************************!*\
  42003. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/et.js ***!
  42004. \*****************************************************************************/
  42005. /*! no static exports found */
  42006. /***/ (function(module, exports, __webpack_require__) {
  42007. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  42008. //! moment.js locale configuration
  42009. //! locale : Estonian [et]
  42010. //! author : Henry Kehlmann : https://github.com/madhenry
  42011. //! improvements : Illimar Tambek : https://github.com/ragulka
  42012. ;
  42013. (function (global, factory) {
  42014. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  42015. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  42016. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  42017. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  42018. })(this, function (moment) {
  42019. 'use strict';
  42020. //! moment.js locale configuration
  42021. function processRelativeTime(number, withoutSuffix, key, isFuture) {
  42022. var format = {
  42023. s: ['mõne sekundi', 'mõni sekund', 'paar sekundit'],
  42024. ss: [number + 'sekundi', number + 'sekundit'],
  42025. m: ['ühe minuti', 'üks minut'],
  42026. mm: [number + ' minuti', number + ' minutit'],
  42027. h: ['ühe tunni', 'tund aega', 'üks tund'],
  42028. hh: [number + ' tunni', number + ' tundi'],
  42029. d: ['ühe päeva', 'üks päev'],
  42030. M: ['kuu aja', 'kuu aega', 'üks kuu'],
  42031. MM: [number + ' kuu', number + ' kuud'],
  42032. y: ['ühe aasta', 'aasta', 'üks aasta'],
  42033. yy: [number + ' aasta', number + ' aastat']
  42034. };
  42035. if (withoutSuffix) {
  42036. return format[key][2] ? format[key][2] : format[key][1];
  42037. }
  42038. return isFuture ? format[key][0] : format[key][1];
  42039. }
  42040. var et = moment.defineLocale('et', {
  42041. months: 'jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember'.split('_'),
  42042. monthsShort: 'jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets'.split('_'),
  42043. weekdays: 'pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev'.split('_'),
  42044. weekdaysShort: 'P_E_T_K_N_R_L'.split('_'),
  42045. weekdaysMin: 'P_E_T_K_N_R_L'.split('_'),
  42046. longDateFormat: {
  42047. LT: 'H:mm',
  42048. LTS: 'H:mm:ss',
  42049. L: 'DD.MM.YYYY',
  42050. LL: 'D. MMMM YYYY',
  42051. LLL: 'D. MMMM YYYY H:mm',
  42052. LLLL: 'dddd, D. MMMM YYYY H:mm'
  42053. },
  42054. calendar: {
  42055. sameDay: '[Täna,] LT',
  42056. nextDay: '[Homme,] LT',
  42057. nextWeek: '[Järgmine] dddd LT',
  42058. lastDay: '[Eile,] LT',
  42059. lastWeek: '[Eelmine] dddd LT',
  42060. sameElse: 'L'
  42061. },
  42062. relativeTime: {
  42063. future: '%s pärast',
  42064. past: '%s tagasi',
  42065. s: processRelativeTime,
  42066. ss: processRelativeTime,
  42067. m: processRelativeTime,
  42068. mm: processRelativeTime,
  42069. h: processRelativeTime,
  42070. hh: processRelativeTime,
  42071. d: processRelativeTime,
  42072. dd: '%d päeva',
  42073. M: processRelativeTime,
  42074. MM: processRelativeTime,
  42075. y: processRelativeTime,
  42076. yy: processRelativeTime
  42077. },
  42078. dayOfMonthOrdinalParse: /\d{1,2}\./,
  42079. ordinal: '%d.',
  42080. week: {
  42081. dow: 1,
  42082. // Monday is the first day of the week.
  42083. doy: 4 // The week that contains Jan 4th is the first week of the year.
  42084. }
  42085. });
  42086. return et;
  42087. });
  42088. /***/ }),
  42089. /***/ 95:
  42090. /*!*****************************************************************************!*\
  42091. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/eu.js ***!
  42092. \*****************************************************************************/
  42093. /*! no static exports found */
  42094. /***/ (function(module, exports, __webpack_require__) {
  42095. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  42096. //! moment.js locale configuration
  42097. //! locale : Basque [eu]
  42098. //! author : Eneko Illarramendi : https://github.com/eillarra
  42099. ;
  42100. (function (global, factory) {
  42101. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  42102. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  42103. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  42104. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  42105. })(this, function (moment) {
  42106. 'use strict';
  42107. //! moment.js locale configuration
  42108. var eu = moment.defineLocale('eu', {
  42109. months: 'urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua'.split('_'),
  42110. monthsShort: 'urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.'.split('_'),
  42111. monthsParseExact: true,
  42112. weekdays: 'igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata'.split('_'),
  42113. weekdaysShort: 'ig._al._ar._az._og._ol._lr.'.split('_'),
  42114. weekdaysMin: 'ig_al_ar_az_og_ol_lr'.split('_'),
  42115. weekdaysParseExact: true,
  42116. longDateFormat: {
  42117. LT: 'HH:mm',
  42118. LTS: 'HH:mm:ss',
  42119. L: 'YYYY-MM-DD',
  42120. LL: 'YYYY[ko] MMMM[ren] D[a]',
  42121. LLL: 'YYYY[ko] MMMM[ren] D[a] HH:mm',
  42122. LLLL: 'dddd, YYYY[ko] MMMM[ren] D[a] HH:mm',
  42123. l: 'YYYY-M-D',
  42124. ll: 'YYYY[ko] MMM D[a]',
  42125. lll: 'YYYY[ko] MMM D[a] HH:mm',
  42126. llll: 'ddd, YYYY[ko] MMM D[a] HH:mm'
  42127. },
  42128. calendar: {
  42129. sameDay: '[gaur] LT[etan]',
  42130. nextDay: '[bihar] LT[etan]',
  42131. nextWeek: 'dddd LT[etan]',
  42132. lastDay: '[atzo] LT[etan]',
  42133. lastWeek: '[aurreko] dddd LT[etan]',
  42134. sameElse: 'L'
  42135. },
  42136. relativeTime: {
  42137. future: '%s barru',
  42138. past: 'duela %s',
  42139. s: 'segundo batzuk',
  42140. ss: '%d segundo',
  42141. m: 'minutu bat',
  42142. mm: '%d minutu',
  42143. h: 'ordu bat',
  42144. hh: '%d ordu',
  42145. d: 'egun bat',
  42146. dd: '%d egun',
  42147. M: 'hilabete bat',
  42148. MM: '%d hilabete',
  42149. y: 'urte bat',
  42150. yy: '%d urte'
  42151. },
  42152. dayOfMonthOrdinalParse: /\d{1,2}\./,
  42153. ordinal: '%d.',
  42154. week: {
  42155. dow: 1,
  42156. // Monday is the first day of the week.
  42157. doy: 7 // The week that contains Jan 7th is the first week of the year.
  42158. }
  42159. });
  42160. return eu;
  42161. });
  42162. /***/ }),
  42163. /***/ 954:
  42164. /*!*************************************************************!*\
  42165. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/api/memberBuy.js ***!
  42166. \*************************************************************/
  42167. /*! no static exports found */
  42168. /***/ (function(module, exports, __webpack_require__) {
  42169. "use strict";
  42170. Object.defineProperty(exports, "__esModule", {
  42171. value: true
  42172. });
  42173. exports.getbuyChainList = exports.getOrderpayInfo = exports.checkFCode = exports.buyStep2 = exports.buyStep1 = void 0;
  42174. var _network = __webpack_require__(/*! ../util/network */ 38);
  42175. var checkFCode = function checkFCode(goods_id, fcode) {
  42176. return (0, _network.requestApi)('/memberbuy/check_fcode', 'POST', {
  42177. 'goods_id': goods_id,
  42178. 'fcode': fcode
  42179. }, 'member');
  42180. };
  42181. // 获取订单信息
  42182. exports.checkFCode = checkFCode;
  42183. var buyStep1 = function buyStep1(cart_id, ifcart, pintuan_id, pintuangroup_id) {
  42184. var extra = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : {};
  42185. return (0, _network.requestApi)('/memberbuy/buy_step1', 'POST', Object.assign({
  42186. 'cart_id': cart_id,
  42187. 'ifcart': ifcart,
  42188. 'pintuan_id': pintuan_id,
  42189. 'pintuangroup_id': pintuangroup_id
  42190. }, extra), 'member');
  42191. };
  42192. // 下单入库
  42193. exports.buyStep1 = buyStep1;
  42194. var buyStep2 = function buyStep2(ifcart, cart_id, address_id, vat_hash, offpay_hash, offpay_hash_batch, invoice_id, voucher, mallvoucher, pay_message, pintuan_id, pintuangroup_id, f_code, pay_code) {
  42195. var extra = arguments.length > 14 && arguments[14] !== undefined ? arguments[14] : {};
  42196. return (0, _network.requestApi)('/memberbuy/buy_step2', 'POST', Object.assign({
  42197. 'ifcart': ifcart,
  42198. 'cart_id': cart_id,
  42199. 'address_id': address_id,
  42200. 'vat_hash': vat_hash,
  42201. 'offpay_hash': offpay_hash,
  42202. 'offpay_hash_batch': offpay_hash_batch,
  42203. 'pay_name': pay_code,
  42204. 'invoice_id': invoice_id,
  42205. 'voucher': voucher,
  42206. 'mallvoucher': mallvoucher,
  42207. 'pay_message': pay_message,
  42208. 'pintuan_id': pintuan_id,
  42209. 'pintuangroup_id': pintuangroup_id,
  42210. 'fcode': f_code
  42211. }, extra), 'member');
  42212. };
  42213. // 获取订单支付信息
  42214. exports.buyStep2 = buyStep2;
  42215. var getOrderpayInfo = function getOrderpayInfo(paySn) {
  42216. return (0, _network.requestApi)('/memberbuy/pay', 'POST', {
  42217. 'pay_sn': paySn
  42218. }, 'member');
  42219. };
  42220. // 门店列表
  42221. exports.getOrderpayInfo = getOrderpayInfo;
  42222. var getbuyChainList = function getbuyChainList(goods_list, area_id) {
  42223. return (0, _network.requestApi)('/memberbuy/chain_list', 'POST', {
  42224. 'goods_list': goods_list,
  42225. 'area_id': area_id
  42226. }, 'member');
  42227. };
  42228. exports.getbuyChainList = getbuyChainList;
  42229. /***/ }),
  42230. /***/ 96:
  42231. /*!*****************************************************************************!*\
  42232. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/fa.js ***!
  42233. \*****************************************************************************/
  42234. /*! no static exports found */
  42235. /***/ (function(module, exports, __webpack_require__) {
  42236. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  42237. //! moment.js locale configuration
  42238. //! locale : Persian [fa]
  42239. //! author : Ebrahim Byagowi : https://github.com/ebraminio
  42240. ;
  42241. (function (global, factory) {
  42242. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  42243. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  42244. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  42245. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  42246. })(this, function (moment) {
  42247. 'use strict';
  42248. //! moment.js locale configuration
  42249. var symbolMap = {
  42250. 1: '۱',
  42251. 2: '۲',
  42252. 3: '۳',
  42253. 4: '۴',
  42254. 5: '۵',
  42255. 6: '۶',
  42256. 7: '۷',
  42257. 8: '۸',
  42258. 9: '۹',
  42259. 0: '۰'
  42260. },
  42261. numberMap = {
  42262. '۱': '1',
  42263. '۲': '2',
  42264. '۳': '3',
  42265. '۴': '4',
  42266. '۵': '5',
  42267. '۶': '6',
  42268. '۷': '7',
  42269. '۸': '8',
  42270. '۹': '9',
  42271. '۰': '0'
  42272. };
  42273. var fa = moment.defineLocale('fa', {
  42274. months: 'ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر'.split('_'),
  42275. monthsShort: 'ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر'.split('_'),
  42276. weekdays: "\u06CC\u06A9\u200C\u0634\u0646\u0628\u0647_\u062F\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200C\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067E\u0646\u062C\u200C\u0634\u0646\u0628\u0647_\u062C\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split('_'),
  42277. weekdaysShort: "\u06CC\u06A9\u200C\u0634\u0646\u0628\u0647_\u062F\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200C\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067E\u0646\u062C\u200C\u0634\u0646\u0628\u0647_\u062C\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split('_'),
  42278. weekdaysMin: 'ی_د_س_چ_پ_ج_ش'.split('_'),
  42279. weekdaysParseExact: true,
  42280. longDateFormat: {
  42281. LT: 'HH:mm',
  42282. LTS: 'HH:mm:ss',
  42283. L: 'DD/MM/YYYY',
  42284. LL: 'D MMMM YYYY',
  42285. LLL: 'D MMMM YYYY HH:mm',
  42286. LLLL: 'dddd, D MMMM YYYY HH:mm'
  42287. },
  42288. meridiemParse: /قبل از ظهر|بعد از ظهر/,
  42289. isPM: function isPM(input) {
  42290. return /بعد از ظهر/.test(input);
  42291. },
  42292. meridiem: function meridiem(hour, minute, isLower) {
  42293. if (hour < 12) {
  42294. return 'قبل از ظهر';
  42295. } else {
  42296. return 'بعد از ظهر';
  42297. }
  42298. },
  42299. calendar: {
  42300. sameDay: '[امروز ساعت] LT',
  42301. nextDay: '[فردا ساعت] LT',
  42302. nextWeek: 'dddd [ساعت] LT',
  42303. lastDay: '[دیروز ساعت] LT',
  42304. lastWeek: 'dddd [پیش] [ساعت] LT',
  42305. sameElse: 'L'
  42306. },
  42307. relativeTime: {
  42308. future: 'در %s',
  42309. past: '%s پیش',
  42310. s: 'چند ثانیه',
  42311. ss: '%d ثانیه',
  42312. m: 'یک دقیقه',
  42313. mm: '%d دقیقه',
  42314. h: 'یک ساعت',
  42315. hh: '%d ساعت',
  42316. d: 'یک روز',
  42317. dd: '%d روز',
  42318. M: 'یک ماه',
  42319. MM: '%d ماه',
  42320. y: 'یک سال',
  42321. yy: '%d سال'
  42322. },
  42323. preparse: function preparse(string) {
  42324. return string.replace(/[۰-۹]/g, function (match) {
  42325. return numberMap[match];
  42326. }).replace(/،/g, ',');
  42327. },
  42328. postformat: function postformat(string) {
  42329. return string.replace(/\d/g, function (match) {
  42330. return symbolMap[match];
  42331. }).replace(/,/g, '،');
  42332. },
  42333. dayOfMonthOrdinalParse: /\d{1,2}م/,
  42334. ordinal: '%dم',
  42335. week: {
  42336. dow: 6,
  42337. // Saturday is the first day of the week.
  42338. doy: 12 // The week that contains Jan 12th is the first week of the year.
  42339. }
  42340. });
  42341. return fa;
  42342. });
  42343. /***/ }),
  42344. /***/ 963:
  42345. /*!***************************************************************!*\
  42346. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/api/memberVrBuy.js ***!
  42347. \***************************************************************/
  42348. /*! no static exports found */
  42349. /***/ (function(module, exports, __webpack_require__) {
  42350. "use strict";
  42351. Object.defineProperty(exports, "__esModule", {
  42352. value: true
  42353. });
  42354. exports.getVrOrderpayInfo = exports.buyStep2 = exports.buyStep1 = void 0;
  42355. var _network = __webpack_require__(/*! ../util/network */ 38);
  42356. // 获取订单信息
  42357. var buyStep1 = function buyStep1(goods_id, quantity) {
  42358. var extra = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
  42359. return (0, _network.requestApi)('/membervrbuy/buy_step1', 'POST', Object.assign({
  42360. 'goods_id': goods_id,
  42361. 'quantity': quantity
  42362. }, extra), 'member');
  42363. };
  42364. // 下单入库
  42365. exports.buyStep1 = buyStep1;
  42366. var buyStep2 = function buyStep2(goods_id, quantity, buyer_phone, buyer_msg) {
  42367. var extra = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : {};
  42368. return (0, _network.requestApi)('/membervrbuy/buy_step2', 'POST', Object.assign({
  42369. 'goods_id': goods_id,
  42370. 'quantity': quantity,
  42371. 'buyer_phone': buyer_phone,
  42372. 'buyer_msg': buyer_msg
  42373. }, extra), 'member');
  42374. };
  42375. // 获取订单支付信息
  42376. exports.buyStep2 = buyStep2;
  42377. var getVrOrderpayInfo = function getVrOrderpayInfo(paySn) {
  42378. return (0, _network.requestApi)('/membervrbuy/pay', 'POST', {
  42379. 'pay_sn': paySn
  42380. }, 'member');
  42381. };
  42382. exports.getVrOrderpayInfo = getVrOrderpayInfo;
  42383. /***/ }),
  42384. /***/ 97:
  42385. /*!*****************************************************************************!*\
  42386. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/fi.js ***!
  42387. \*****************************************************************************/
  42388. /*! no static exports found */
  42389. /***/ (function(module, exports, __webpack_require__) {
  42390. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  42391. //! moment.js locale configuration
  42392. //! locale : Finnish [fi]
  42393. //! author : Tarmo Aidantausta : https://github.com/bleadof
  42394. ;
  42395. (function (global, factory) {
  42396. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  42397. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  42398. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  42399. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  42400. })(this, function (moment) {
  42401. 'use strict';
  42402. //! moment.js locale configuration
  42403. var numbersPast = 'nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän'.split(' '),
  42404. numbersFuture = ['nolla', 'yhden', 'kahden', 'kolmen', 'neljän', 'viiden', 'kuuden', numbersPast[7], numbersPast[8], numbersPast[9]];
  42405. function translate(number, withoutSuffix, key, isFuture) {
  42406. var result = '';
  42407. switch (key) {
  42408. case 's':
  42409. return isFuture ? 'muutaman sekunnin' : 'muutama sekunti';
  42410. case 'ss':
  42411. result = isFuture ? 'sekunnin' : 'sekuntia';
  42412. break;
  42413. case 'm':
  42414. return isFuture ? 'minuutin' : 'minuutti';
  42415. case 'mm':
  42416. result = isFuture ? 'minuutin' : 'minuuttia';
  42417. break;
  42418. case 'h':
  42419. return isFuture ? 'tunnin' : 'tunti';
  42420. case 'hh':
  42421. result = isFuture ? 'tunnin' : 'tuntia';
  42422. break;
  42423. case 'd':
  42424. return isFuture ? 'päivän' : 'päivä';
  42425. case 'dd':
  42426. result = isFuture ? 'päivän' : 'päivää';
  42427. break;
  42428. case 'M':
  42429. return isFuture ? 'kuukauden' : 'kuukausi';
  42430. case 'MM':
  42431. result = isFuture ? 'kuukauden' : 'kuukautta';
  42432. break;
  42433. case 'y':
  42434. return isFuture ? 'vuoden' : 'vuosi';
  42435. case 'yy':
  42436. result = isFuture ? 'vuoden' : 'vuotta';
  42437. break;
  42438. }
  42439. result = verbalNumber(number, isFuture) + ' ' + result;
  42440. return result;
  42441. }
  42442. function verbalNumber(number, isFuture) {
  42443. return number < 10 ? isFuture ? numbersFuture[number] : numbersPast[number] : number;
  42444. }
  42445. var fi = moment.defineLocale('fi', {
  42446. months: 'tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu'.split('_'),
  42447. monthsShort: 'tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu'.split('_'),
  42448. weekdays: 'sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai'.split('_'),
  42449. weekdaysShort: 'su_ma_ti_ke_to_pe_la'.split('_'),
  42450. weekdaysMin: 'su_ma_ti_ke_to_pe_la'.split('_'),
  42451. longDateFormat: {
  42452. LT: 'HH.mm',
  42453. LTS: 'HH.mm.ss',
  42454. L: 'DD.MM.YYYY',
  42455. LL: 'Do MMMM[ta] YYYY',
  42456. LLL: 'Do MMMM[ta] YYYY, [klo] HH.mm',
  42457. LLLL: 'dddd, Do MMMM[ta] YYYY, [klo] HH.mm',
  42458. l: 'D.M.YYYY',
  42459. ll: 'Do MMM YYYY',
  42460. lll: 'Do MMM YYYY, [klo] HH.mm',
  42461. llll: 'ddd, Do MMM YYYY, [klo] HH.mm'
  42462. },
  42463. calendar: {
  42464. sameDay: '[tänään] [klo] LT',
  42465. nextDay: '[huomenna] [klo] LT',
  42466. nextWeek: 'dddd [klo] LT',
  42467. lastDay: '[eilen] [klo] LT',
  42468. lastWeek: '[viime] dddd[na] [klo] LT',
  42469. sameElse: 'L'
  42470. },
  42471. relativeTime: {
  42472. future: '%s päästä',
  42473. past: '%s sitten',
  42474. s: translate,
  42475. ss: translate,
  42476. m: translate,
  42477. mm: translate,
  42478. h: translate,
  42479. hh: translate,
  42480. d: translate,
  42481. dd: translate,
  42482. M: translate,
  42483. MM: translate,
  42484. y: translate,
  42485. yy: translate
  42486. },
  42487. dayOfMonthOrdinalParse: /\d{1,2}\./,
  42488. ordinal: '%d.',
  42489. week: {
  42490. dow: 1,
  42491. // Monday is the first day of the week.
  42492. doy: 4 // The week that contains Jan 4th is the first week of the year.
  42493. }
  42494. });
  42495. return fi;
  42496. });
  42497. /***/ }),
  42498. /***/ 972:
  42499. /*!********************************************************************!*\
  42500. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/api/memberPointscart.js ***!
  42501. \********************************************************************/
  42502. /*! no static exports found */
  42503. /***/ (function(module, exports, __webpack_require__) {
  42504. "use strict";
  42505. Object.defineProperty(exports, "__esModule", {
  42506. value: true
  42507. });
  42508. exports.cartUpdate = exports.cartQuantity = exports.cartGet = exports.cartDelete = exports.cartAdd = exports.buyStep2 = exports.buyStep1 = void 0;
  42509. var _network = __webpack_require__(/*! ../util/network */ 38);
  42510. // 积分商品列表
  42511. var cartGet = function cartGet() {
  42512. return (0, _network.requestApi)('/Pointcart/cart_list', 'POST', {}, 'member');
  42513. };
  42514. // 删除购物车
  42515. exports.cartGet = cartGet;
  42516. var cartDelete = function cartDelete(pcartId) {
  42517. return (0, _network.requestApi)('/Pointcart/cart_del', 'POST', {
  42518. 'pcart_id': pcartId
  42519. }, 'member');
  42520. };
  42521. // 购物车更新
  42522. exports.cartDelete = cartDelete;
  42523. var cartUpdate = function cartUpdate(pcartId, quantity) {
  42524. return (0, _network.requestApi)('/Pointcart/cart_edit_quantity', 'POST', {
  42525. 'pcart_id': pcartId,
  42526. 'quantity': quantity
  42527. }, 'member');
  42528. };
  42529. // 积分商品加入购物车
  42530. exports.cartUpdate = cartUpdate;
  42531. var cartAdd = function cartAdd(pgid, quantity) {
  42532. return (0, _network.requestApi)('/Pointcart/add', 'POST', {
  42533. 'pgid': pgid,
  42534. 'quantity': quantity
  42535. }, 'member');
  42536. };
  42537. // 购物车数量
  42538. exports.cartAdd = cartAdd;
  42539. var cartQuantity = function cartQuantity() {
  42540. return (0, _network.requestApi)('/Pointcart/cart_count', 'POST', {}, 'member');
  42541. };
  42542. // 兑换积分商品步骤1
  42543. exports.cartQuantity = cartQuantity;
  42544. var buyStep1 = function buyStep1(cartId, ifcart) {
  42545. return (0, _network.requestApi)('/Pointcart/step1', 'POST', {
  42546. 'cart_id': cartId,
  42547. 'ifcart': ifcart
  42548. }, 'member');
  42549. };
  42550. // 兑换积分商品步骤2
  42551. exports.buyStep1 = buyStep1;
  42552. var buyStep2 = function buyStep2(cartId, ifcart, addressId, message) {
  42553. return (0, _network.requestApi)('/Pointcart/step2', 'POST', {
  42554. 'cart_id': cartId,
  42555. 'ifcart': ifcart,
  42556. 'address_options': addressId,
  42557. 'pcart_message': message
  42558. }, 'member');
  42559. };
  42560. exports.buyStep2 = buyStep2;
  42561. /***/ }),
  42562. /***/ 98:
  42563. /*!******************************************************************************!*\
  42564. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/fil.js ***!
  42565. \******************************************************************************/
  42566. /*! no static exports found */
  42567. /***/ (function(module, exports, __webpack_require__) {
  42568. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  42569. //! moment.js locale configuration
  42570. //! locale : Filipino [fil]
  42571. //! author : Dan Hagman : https://github.com/hagmandan
  42572. //! author : Matthew Co : https://github.com/matthewdeeco
  42573. ;
  42574. (function (global, factory) {
  42575. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  42576. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  42577. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  42578. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  42579. })(this, function (moment) {
  42580. 'use strict';
  42581. //! moment.js locale configuration
  42582. var fil = moment.defineLocale('fil', {
  42583. months: 'Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre'.split('_'),
  42584. monthsShort: 'Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis'.split('_'),
  42585. weekdays: 'Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado'.split('_'),
  42586. weekdaysShort: 'Lin_Lun_Mar_Miy_Huw_Biy_Sab'.split('_'),
  42587. weekdaysMin: 'Li_Lu_Ma_Mi_Hu_Bi_Sab'.split('_'),
  42588. longDateFormat: {
  42589. LT: 'HH:mm',
  42590. LTS: 'HH:mm:ss',
  42591. L: 'MM/D/YYYY',
  42592. LL: 'MMMM D, YYYY',
  42593. LLL: 'MMMM D, YYYY HH:mm',
  42594. LLLL: 'dddd, MMMM DD, YYYY HH:mm'
  42595. },
  42596. calendar: {
  42597. sameDay: 'LT [ngayong araw]',
  42598. nextDay: '[Bukas ng] LT',
  42599. nextWeek: 'LT [sa susunod na] dddd',
  42600. lastDay: 'LT [kahapon]',
  42601. lastWeek: 'LT [noong nakaraang] dddd',
  42602. sameElse: 'L'
  42603. },
  42604. relativeTime: {
  42605. future: 'sa loob ng %s',
  42606. past: '%s ang nakalipas',
  42607. s: 'ilang segundo',
  42608. ss: '%d segundo',
  42609. m: 'isang minuto',
  42610. mm: '%d minuto',
  42611. h: 'isang oras',
  42612. hh: '%d oras',
  42613. d: 'isang araw',
  42614. dd: '%d araw',
  42615. M: 'isang buwan',
  42616. MM: '%d buwan',
  42617. y: 'isang taon',
  42618. yy: '%d taon'
  42619. },
  42620. dayOfMonthOrdinalParse: /\d{1,2}/,
  42621. ordinal: function ordinal(number) {
  42622. return number;
  42623. },
  42624. week: {
  42625. dow: 1,
  42626. // Monday is the first day of the week.
  42627. doy: 4 // The week that contains Jan 4th is the first week of the year.
  42628. }
  42629. });
  42630. return fil;
  42631. });
  42632. /***/ }),
  42633. /***/ 989:
  42634. /*!*********************************************************************!*\
  42635. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/api/memberPointsorder.js ***!
  42636. \*********************************************************************/
  42637. /*! no static exports found */
  42638. /***/ (function(module, exports, __webpack_require__) {
  42639. "use strict";
  42640. Object.defineProperty(exports, "__esModule", {
  42641. value: true
  42642. });
  42643. exports.receiveOrder = exports.getOrderList = exports.getOrderInfo = exports.cancelOrder = void 0;
  42644. var _network = __webpack_require__(/*! ../util/network */ 38);
  42645. // 获取用户订单列表
  42646. var getOrderList = function getOrderList(params, stateType, orderKey) {
  42647. return (0, _network.requestApi)('/Memberpointorder/orderlist', 'POST', {
  42648. 'page': params.page,
  42649. 'per_page': params.per_page,
  42650. 'state_type': stateType,
  42651. 'order_key': orderKey
  42652. }, 'member');
  42653. };
  42654. // 获取订单信息
  42655. exports.getOrderList = getOrderList;
  42656. var getOrderInfo = function getOrderInfo(orderId) {
  42657. return (0, _network.requestApi)('/Memberpointorder/order_info', 'GET', {
  42658. 'order_id': orderId
  42659. }, 'member');
  42660. };
  42661. // 取消订单
  42662. exports.getOrderInfo = getOrderInfo;
  42663. var cancelOrder = function cancelOrder(orderId) {
  42664. return (0, _network.requestApi)('/Memberpointorder/cancel_order', 'POST', {
  42665. 'order_id': orderId
  42666. }, 'member');
  42667. };
  42668. // 订单收货
  42669. exports.cancelOrder = cancelOrder;
  42670. var receiveOrder = function receiveOrder(orderId) {
  42671. return (0, _network.requestApi)('/Memberpointorder/receiving_order', 'POST', {
  42672. 'order_id': orderId
  42673. }, 'member');
  42674. };
  42675. exports.receiveOrder = receiveOrder;
  42676. /***/ }),
  42677. /***/ 99:
  42678. /*!*****************************************************************************!*\
  42679. !*** D:/kongwenhao/HQT-PRO/hlm_pl_mall_h5/node_modules/moment/locale/fo.js ***!
  42680. \*****************************************************************************/
  42681. /*! no static exports found */
  42682. /***/ (function(module, exports, __webpack_require__) {
  42683. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  42684. //! moment.js locale configuration
  42685. //! locale : Faroese [fo]
  42686. //! author : Ragnar Johannesen : https://github.com/ragnar123
  42687. //! author : Kristian Sakarisson : https://github.com/sakarisson
  42688. ;
  42689. (function (global, factory) {
  42690. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 51)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 51)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  42691. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  42692. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  42693. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  42694. })(this, function (moment) {
  42695. 'use strict';
  42696. //! moment.js locale configuration
  42697. var fo = moment.defineLocale('fo', {
  42698. months: 'januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember'.split('_'),
  42699. monthsShort: 'jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des'.split('_'),
  42700. weekdays: 'sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur'.split('_'),
  42701. weekdaysShort: 'sun_mán_týs_mik_hós_frí_ley'.split('_'),
  42702. weekdaysMin: 'su_má_tý_mi_hó_fr_le'.split('_'),
  42703. longDateFormat: {
  42704. LT: 'HH:mm',
  42705. LTS: 'HH:mm:ss',
  42706. L: 'DD/MM/YYYY',
  42707. LL: 'D MMMM YYYY',
  42708. LLL: 'D MMMM YYYY HH:mm',
  42709. LLLL: 'dddd D. MMMM, YYYY HH:mm'
  42710. },
  42711. calendar: {
  42712. sameDay: '[Í dag kl.] LT',
  42713. nextDay: '[Í morgin kl.] LT',
  42714. nextWeek: 'dddd [kl.] LT',
  42715. lastDay: '[Í gjár kl.] LT',
  42716. lastWeek: '[síðstu] dddd [kl] LT',
  42717. sameElse: 'L'
  42718. },
  42719. relativeTime: {
  42720. future: 'um %s',
  42721. past: '%s síðani',
  42722. s: 'fá sekund',
  42723. ss: '%d sekundir',
  42724. m: 'ein minuttur',
  42725. mm: '%d minuttir',
  42726. h: 'ein tími',
  42727. hh: '%d tímar',
  42728. d: 'ein dagur',
  42729. dd: '%d dagar',
  42730. M: 'ein mánaður',
  42731. MM: '%d mánaðir',
  42732. y: 'eitt ár',
  42733. yy: '%d ár'
  42734. },
  42735. dayOfMonthOrdinalParse: /\d{1,2}\./,
  42736. ordinal: '%d.',
  42737. week: {
  42738. dow: 1,
  42739. // Monday is the first day of the week.
  42740. doy: 4 // The week that contains Jan 4th is the first week of the year.
  42741. }
  42742. });
  42743. return fo;
  42744. });
  42745. /***/ })
  42746. }]);
  42747. //# sourceMappingURL=../../.sourcemap/mp-weixin/common/vendor.js.map