main-es2015.js 2.1 MB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546
  1. (window["webpackJsonp"] = window["webpackJsonp"] || []).push([["main"],{
  2. /***/ "+54W":
  3. /*!*********************************************************************!*\
  4. !*** ./src/app/components/sampling-decl/sampling-decl.component.ts ***!
  5. \*********************************************************************/
  6. /*! exports provided: SamplingDeclComponent */
  7. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  8. "use strict";
  9. __webpack_require__.r(__webpack_exports__);
  10. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SamplingDeclComponent", function() { return SamplingDeclComponent; });
  11. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "mrSG");
  12. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "fXoL");
  13. /* harmony import */ var _models_evt_models__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../models/evt-models */ "5c0l");
  14. /* harmony import */ var _services_component_register_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../services/component-register.service */ "d25s");
  15. /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/common */ "ofXK");
  16. /* harmony import */ var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../content-viewer/content-viewer.component */ "t6RO");
  17. function SamplingDeclComponent_evt_content_viewer_1_Template(rf, ctx) { if (rf & 1) {
  18. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 2);
  19. } if (rf & 2) {
  20. const content_r1 = ctx.$implicit;
  21. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", content_r1);
  22. } }
  23. let SamplingDeclComponent = class SamplingDeclComponent {
  24. };
  25. SamplingDeclComponent.ɵfac = function SamplingDeclComponent_Factory(t) { return new (t || SamplingDeclComponent)(); };
  26. SamplingDeclComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({ type: SamplingDeclComponent, selectors: [["evt-sampling-decl"]], inputs: { data: "data" }, decls: 2, vars: 1, consts: [[1, "samplingDecl"], [3, "content", 4, "ngFor", "ngForOf"], [3, "content"]], template: function SamplingDeclComponent_Template(rf, ctx) { if (rf & 1) {
  27. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 0);
  28. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, SamplingDeclComponent_evt_content_viewer_1_Template, 1, 1, "evt-content-viewer", 1);
  29. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  30. } if (rf & 2) {
  31. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  32. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx.data == null ? null : ctx.data.content);
  33. } }, directives: [_angular_common__WEBPACK_IMPORTED_MODULE_4__["NgForOf"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_5__["ContentViewerComponent"]], styles: ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzYW1wbGluZy1kZWNsLmNvbXBvbmVudC5zY3NzIn0= */"] });
  34. SamplingDeclComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  35. Object(_services_component_register_service__WEBPACK_IMPORTED_MODULE_3__["register"])(_models_evt_models__WEBPACK_IMPORTED_MODULE_2__["SamplingDecl"])
  36. ], SamplingDeclComponent);
  37. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](SamplingDeclComponent, [{
  38. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
  39. args: [{
  40. selector: 'evt-sampling-decl',
  41. templateUrl: './sampling-decl.component.html',
  42. styleUrls: ['./sampling-decl.component.scss'],
  43. }]
  44. }], null, { data: [{
  45. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
  46. }] }); })();
  47. /***/ }),
  48. /***/ "/gd2":
  49. /*!*********************************************************************************************************************!*\
  50. !*** ./src/app/components/lemmatized-entity/lemmatized-entity-occurrence/lemmatized-entity-occurrence.component.ts ***!
  51. \*********************************************************************************************************************/
  52. /*! exports provided: LemmatizedEntityOccurrenceComponent */
  53. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  54. "use strict";
  55. __webpack_require__.r(__webpack_exports__);
  56. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "LemmatizedEntityOccurrenceComponent", function() { return LemmatizedEntityOccurrenceComponent; });
  57. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "fXoL");
  58. /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rxjs/operators */ "kU1M");
  59. /* harmony import */ var _services_evt_model_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../services/evt-model.service */ "hI0h");
  60. /* harmony import */ var _services_evt_status_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../services/evt-status.service */ "7Ht4");
  61. /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/common */ "ofXK");
  62. /* harmony import */ var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @ng-bootstrap/ng-bootstrap */ "1kSV");
  63. /* harmony import */ var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../content-viewer/content-viewer.component */ "t6RO");
  64. function LemmatizedEntityOccurrenceComponent_span_0_ng_template_5_div_0_evt_content_viewer_1_Template(rf, ctx) { if (rf & 1) {
  65. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "evt-content-viewer", 7);
  66. } if (rf & 2) {
  67. const ref_r6 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().$implicit;
  68. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("content", ref_r6);
  69. } }
  70. function LemmatizedEntityOccurrenceComponent_span_0_ng_template_5_div_0_Template(rf, ctx) { if (rf & 1) {
  71. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div");
  72. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, LemmatizedEntityOccurrenceComponent_span_0_ng_template_5_div_0_evt_content_viewer_1_Template, 1, 1, "evt-content-viewer", 6);
  73. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  74. } if (rf & 2) {
  75. const ref_r6 = ctx.$implicit;
  76. const refByDoc_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2).$implicit;
  77. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  78. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", refByDoc_r1.docLabel !== ref_r6);
  79. } }
  80. function LemmatizedEntityOccurrenceComponent_span_0_ng_template_5_Template(rf, ctx) { if (rf & 1) {
  81. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](0, LemmatizedEntityOccurrenceComponent_span_0_ng_template_5_div_0_Template, 2, 1, "div", 5);
  82. } if (rf & 2) {
  83. const refByDoc_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().$implicit;
  84. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", refByDoc_r1.refs);
  85. } }
  86. const _c0 = function () { return ["auto"]; };
  87. function LemmatizedEntityOccurrenceComponent_span_0_Template(rf, ctx) { if (rf & 1) {
  88. const _r12 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
  89. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "span", 1);
  90. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function LemmatizedEntityOccurrenceComponent_span_0_Template_span_click_0_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r12); const refByDoc_r1 = ctx.$implicit; const ctx_r11 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](); return ctx_r11.goToOccurrenceRef(refByDoc_r1); });
  91. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
  92. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "span", 2, 3);
  93. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](4);
  94. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  95. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](5, LemmatizedEntityOccurrenceComponent_span_0_ng_template_5_Template, 1, 1, "ng-template", null, 4, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplateRefExtractor"]);
  96. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  97. } if (rf & 2) {
  98. const refByDoc_r1 = ctx.$implicit;
  99. const _r3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵreference"](6);
  100. const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
  101. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  102. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate2"](" ", ctx_r0.occurrence.pageLabel, " ", refByDoc_r1.docLabel ? "(" + refByDoc_r1.docLabel + ")" : "", " ");
  103. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  104. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngbPopover", _r3)("autoClose", "outside")("placement", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction0"](6, _c0));
  105. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
  106. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", refByDoc_r1.refs == null ? null : refByDoc_r1.refs.length, " ");
  107. } }
  108. class LemmatizedEntityOccurrenceComponent {
  109. constructor(evtModelService, evtStatusService) {
  110. this.evtModelService = evtModelService;
  111. this.evtStatusService = evtStatusService;
  112. }
  113. goToOccurrenceRef(ref) {
  114. this.evtModelService.pages$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__["take"])(1)).subscribe(pages => {
  115. const page = pages.find(p => p.id === this.occurrence.pageId);
  116. this.evtStatusService.updateDocument$.next(ref.docId);
  117. this.evtStatusService.updatePage$.next(page);
  118. this.evtStatusService.currentLemmatizedEntityId$.next(this.entityLemId);
  119. });
  120. }
  121. }
  122. LemmatizedEntityOccurrenceComponent.ɵfac = function LemmatizedEntityOccurrenceComponent_Factory(t) { return new (t || LemmatizedEntityOccurrenceComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_services_evt_model_service__WEBPACK_IMPORTED_MODULE_2__["EVTModelService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_services_evt_status_service__WEBPACK_IMPORTED_MODULE_3__["EVTStatusService"])); };
  123. LemmatizedEntityOccurrenceComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: LemmatizedEntityOccurrenceComponent, selectors: [["evt-lemmatized-entity-occurrence"]], inputs: { occurrence: "occurrence", entityLemId: "entityLemId" }, decls: 1, vars: 1, consts: [["class", "ne-occurrence", 3, "click", 4, "ngFor", "ngForOf"], [1, "ne-occurrence", 3, "click"], ["popoverClass", "evt-note", "container", "body", 1, "badge", "badge-info", "badge-light", "ne-occurrence-count", 3, "ngbPopover", "autoClose", "placement"], ["popover", "ngbPopover"], ["popContent", ""], [4, "ngFor", "ngForOf"], [3, "content", 4, "ngIf"], [3, "content"]], template: function LemmatizedEntityOccurrenceComponent_Template(rf, ctx) { if (rf & 1) {
  124. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](0, LemmatizedEntityOccurrenceComponent_span_0_Template, 7, 7, "span", 0);
  125. } if (rf & 2) {
  126. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx.occurrence.refsByDoc);
  127. } }, directives: [_angular_common__WEBPACK_IMPORTED_MODULE_4__["NgForOf"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_5__["NgbPopover"], _angular_common__WEBPACK_IMPORTED_MODULE_4__["NgIf"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_6__["ContentViewerComponent"]], styles: ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJsZW1tYXRpemVkLWVudGl0eS1vY2N1cnJlbmNlLmNvbXBvbmVudC5zY3NzIn0= */"] });
  128. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](LemmatizedEntityOccurrenceComponent, [{
  129. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
  130. args: [{
  131. selector: 'evt-lemmatized-entity-occurrence',
  132. templateUrl: './lemmatized-entity-occurrence.component.html',
  133. styleUrls: ['./lemmatized-entity-occurrence.component.scss'],
  134. }]
  135. }], function () { return [{ type: _services_evt_model_service__WEBPACK_IMPORTED_MODULE_2__["EVTModelService"] }, { type: _services_evt_status_service__WEBPACK_IMPORTED_MODULE_3__["EVTStatusService"] }]; }, { occurrence: [{
  136. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
  137. }], entityLemId: [{
  138. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
  139. }] }); })();
  140. /***/ }),
  141. /***/ "/zYb":
  142. /*!*******************************************************************!*\
  143. !*** ./src/app/components/project-desc/project-desc.component.ts ***!
  144. \*******************************************************************/
  145. /*! exports provided: ProjectDescComponent */
  146. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  147. "use strict";
  148. __webpack_require__.r(__webpack_exports__);
  149. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ProjectDescComponent", function() { return ProjectDescComponent; });
  150. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "mrSG");
  151. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "fXoL");
  152. /* harmony import */ var _models_evt_models__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../models/evt-models */ "5c0l");
  153. /* harmony import */ var _services_component_register_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../services/component-register.service */ "d25s");
  154. /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/common */ "ofXK");
  155. /* harmony import */ var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../content-viewer/content-viewer.component */ "t6RO");
  156. function ProjectDescComponent_evt_content_viewer_1_Template(rf, ctx) { if (rf & 1) {
  157. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 2);
  158. } if (rf & 2) {
  159. const content_r1 = ctx.$implicit;
  160. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", content_r1);
  161. } }
  162. let ProjectDescComponent = class ProjectDescComponent {
  163. };
  164. ProjectDescComponent.ɵfac = function ProjectDescComponent_Factory(t) { return new (t || ProjectDescComponent)(); };
  165. ProjectDescComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({ type: ProjectDescComponent, selectors: [["evt-project-desc"]], inputs: { data: "data" }, decls: 2, vars: 1, consts: [[1, "projectDesc"], [3, "content", 4, "ngFor", "ngForOf"], [3, "content"]], template: function ProjectDescComponent_Template(rf, ctx) { if (rf & 1) {
  166. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 0);
  167. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, ProjectDescComponent_evt_content_viewer_1_Template, 1, 1, "evt-content-viewer", 1);
  168. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  169. } if (rf & 2) {
  170. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  171. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx.data == null ? null : ctx.data.content);
  172. } }, directives: [_angular_common__WEBPACK_IMPORTED_MODULE_4__["NgForOf"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_5__["ContentViewerComponent"]], styles: ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJwcm9qZWN0LWRlc2MuY29tcG9uZW50LnNjc3MifQ== */"] });
  173. ProjectDescComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  174. Object(_services_component_register_service__WEBPACK_IMPORTED_MODULE_3__["register"])(_models_evt_models__WEBPACK_IMPORTED_MODULE_2__["ProjectDesc"])
  175. ], ProjectDescComponent);
  176. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](ProjectDescComponent, [{
  177. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
  178. args: [{
  179. selector: 'evt-project-desc',
  180. templateUrl: './project-desc.component.html',
  181. styleUrls: ['./project-desc.component.scss'],
  182. }]
  183. }], null, { data: [{
  184. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
  185. }] }); })();
  186. /***/ }),
  187. /***/ 0:
  188. /*!***************************!*\
  189. !*** multi ./src/main.ts ***!
  190. \***************************/
  191. /*! no static exports found */
  192. /***/ (function(module, exports, __webpack_require__) {
  193. module.exports = __webpack_require__(/*! /Users/federicaspinelli/TEAMOVI/evt-angular-ovi/src/main.ts */"zUnb");
  194. /***/ }),
  195. /***/ "0Bbq":
  196. /*!*********************************************************!*\
  197. !*** ./src/app/directives/html-attributes.directive.ts ***!
  198. \*********************************************************/
  199. /*! exports provided: HtmlAttributesDirective */
  200. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  201. "use strict";
  202. __webpack_require__.r(__webpack_exports__);
  203. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "HtmlAttributesDirective", function() { return HtmlAttributesDirective; });
  204. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "fXoL");
  205. class HtmlAttributesDirective {
  206. constructor(el, renderer) {
  207. this.el = el;
  208. this.renderer = renderer;
  209. }
  210. ngOnInit() {
  211. Object.keys(this.attributes).forEach(key => {
  212. this.renderer.setAttribute(this.el.nativeElement, `data-${key}`, this.attributes[key]);
  213. });
  214. }
  215. }
  216. HtmlAttributesDirective.ɵfac = function HtmlAttributesDirective_Factory(t) { return new (t || HtmlAttributesDirective)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["Renderer2"])); };
  217. HtmlAttributesDirective.ɵdir = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({ type: HtmlAttributesDirective, selectors: [["", "evtHtmlAttributes", ""]], inputs: { attributes: ["evtHtmlAttributes", "attributes"] } });
  218. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](HtmlAttributesDirective, [{
  219. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Directive"],
  220. args: [{
  221. selector: '[evtHtmlAttributes]',
  222. }]
  223. }], function () { return [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Renderer2"] }]; }, { attributes: [{
  224. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"],
  225. args: ['evtHtmlAttributes']
  226. }] }); })();
  227. /***/ }),
  228. /***/ "0lvV":
  229. /*!***************************************************************************!*\
  230. !*** ./src/app/components/named-entity-ref/named-entity-ref.component.ts ***!
  231. \***************************************************************************/
  232. /*! exports provided: NamedEntityRefComponent */
  233. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  234. "use strict";
  235. __webpack_require__.r(__webpack_exports__);
  236. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NamedEntityRefComponent", function() { return NamedEntityRefComponent; });
  237. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "mrSG");
  238. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "fXoL");
  239. /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs/operators */ "kU1M");
  240. /* harmony import */ var _models_evt_models__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../models/evt-models */ "5c0l");
  241. /* harmony import */ var _services_component_register_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../services/component-register.service */ "d25s");
  242. /* harmony import */ var _services_evt_status_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../services/evt-status.service */ "7Ht4");
  243. /* harmony import */ var _services_evt_model_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../services/evt-model.service */ "hI0h");
  244. /* harmony import */ var _services_entities_select_service__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../services/entities-select.service */ "KA5I");
  245. /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @angular/common */ "ofXK");
  246. /* harmony import */ var _directives_highlight_directive__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../directives/highlight.directive */ "CmGG");
  247. /* harmony import */ var _directives_html_attributes_directive__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../directives/html-attributes.directive */ "0Bbq");
  248. /* harmony import */ var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../content-viewer/content-viewer.component */ "t6RO");
  249. /* harmony import */ var _named_entity_named_entity_component__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../named-entity/named-entity.component */ "k8Vd");
  250. /* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @ngx-translate/core */ "sYmb");
  251. function NamedEntityRefComponent_evt_content_viewer_3_Template(rf, ctx) { if (rf & 1) {
  252. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 3);
  253. } if (rf & 2) {
  254. const element_r2 = ctx.$implicit;
  255. const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  256. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", element_r2)("editionLevel", ctx_r0.editionLevel)("itemsToHighlight", ctx_r0.itemsToHighlight)("textFlow", ctx_r0.textFlow);
  257. } }
  258. function NamedEntityRefComponent_ng_container_4_div_1_ng_container_1_span_1_Template(rf, ctx) { if (rf & 1) {
  259. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 9);
  260. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1);
  261. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](2, "translate");
  262. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  263. } if (rf & 2) {
  264. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  265. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](2, 1, "entityNotFound"));
  266. } }
  267. function NamedEntityRefComponent_ng_container_4_div_1_ng_container_1_evt_named_entity_2_Template(rf, ctx) { if (rf & 1) {
  268. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-named-entity", 10);
  269. } if (rf & 2) {
  270. const entity_r7 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]().ngIf;
  271. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("inList", true)("data", entity_r7);
  272. } }
  273. function NamedEntityRefComponent_ng_container_4_div_1_ng_container_1_Template(rf, ctx) { if (rf & 1) {
  274. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
  275. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, NamedEntityRefComponent_ng_container_4_div_1_ng_container_1_span_1_Template, 3, 3, "span", 7);
  276. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, NamedEntityRefComponent_ng_container_4_div_1_ng_container_1_evt_named_entity_2_Template, 1, 2, "evt-named-entity", 8);
  277. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
  278. } if (rf & 2) {
  279. const entity_r7 = ctx.ngIf;
  280. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  281. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", entity_r7 === "notFound");
  282. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  283. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", entity_r7 !== "notFound");
  284. } }
  285. function NamedEntityRefComponent_ng_container_4_div_1_ng_template_3_Template(rf, ctx) { if (rf & 1) {
  286. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](0, "Loading...");
  287. } }
  288. function NamedEntityRefComponent_ng_container_4_div_1_Template(rf, ctx) { if (rf & 1) {
  289. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div");
  290. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, NamedEntityRefComponent_ng_container_4_div_1_ng_container_1_Template, 3, 2, "ng-container", 5);
  291. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](2, "async");
  292. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, NamedEntityRefComponent_ng_container_4_div_1_ng_template_3_Template, 1, 0, "ng-template", null, 6, _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplateRefExtractor"]);
  293. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  294. } if (rf & 2) {
  295. const _r5 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵreference"](4);
  296. const ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
  297. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵclassMapInterpolate1"]("namedEntityRefDetail ", ctx_r3.data.entityType, "");
  298. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  299. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](2, 5, ctx_r3.entity$))("ngIfElse", _r5);
  300. } }
  301. function NamedEntityRefComponent_ng_container_4_Template(rf, ctx) { if (rf & 1) {
  302. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
  303. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, NamedEntityRefComponent_ng_container_4_div_1_Template, 5, 7, "div", 4);
  304. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
  305. } if (rf & 2) {
  306. const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  307. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  308. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx_r1.opened);
  309. } }
  310. const _c0 = function (a0, a1, a2) { return { opened: a0, entityHighlight: a1, noDetails: a2 }; };
  311. let NamedEntityRefComponent = class NamedEntityRefComponent {
  312. constructor(evtStatusService, evtModelService, entitiesSelectService) {
  313. this.evtStatusService = evtStatusService;
  314. this.evtModelService = evtModelService;
  315. this.entitiesSelectService = entitiesSelectService;
  316. this.availableEntities$ = this.evtModelService.namedEntities$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(ne => ne.all.entities.length > 0));
  317. this.entity$ = this.evtModelService.namedEntities$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(ne => ne.all.entities.find(e => e.id === this.data.entityId) || 'notFound'));
  318. this.highlighted$ = this.entitiesSelectService.selectedItems$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["tap"])(items => {
  319. if (this.data) {
  320. this.data.class = this.data.class || '';
  321. this.data.attributes = this.data.attributes || {};
  322. }
  323. return items;
  324. }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(items => items.some(i => i && this.data &&
  325. this.entitiesSelectService.matchClassAndAttributes(i.value, this.data.attributes, this.data.class))));
  326. this.opened = false;
  327. }
  328. toggleEntityData(event) {
  329. event.stopPropagation();
  330. this.opened = !this.opened;
  331. }
  332. };
  333. NamedEntityRefComponent.ɵfac = function NamedEntityRefComponent_Factory(t) { return new (t || NamedEntityRefComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_services_evt_status_service__WEBPACK_IMPORTED_MODULE_5__["EVTStatusService"]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_services_evt_model_service__WEBPACK_IMPORTED_MODULE_6__["EVTModelService"]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_services_entities_select_service__WEBPACK_IMPORTED_MODULE_7__["EntitiesSelectService"])); };
  334. NamedEntityRefComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({ type: NamedEntityRefComponent, selectors: [["evt-named-entity-ref"]], inputs: { data: "data" }, decls: 6, vars: 18, consts: [[3, "ngClass", "evtHighlight", "evtHtmlAttributes", "click"], [3, "content", "editionLevel", "itemsToHighlight", "textFlow", 4, "ngFor", "ngForOf"], [4, "ngIf"], [3, "content", "editionLevel", "itemsToHighlight", "textFlow"], [3, "class", 4, "ngIf"], [4, "ngIf", "ngIfElse"], ["loading", ""], ["class", "d-block p-2 pl-3 font-italic font-weight-light not-found-msg", 4, "ngIf"], [3, "inList", "data", 4, "ngIf"], [1, "d-block", "p-2", "pl-3", "font-italic", "font-weight-light", "not-found-msg"], [3, "inList", "data"]], template: function NamedEntityRefComponent_Template(rf, ctx) { if (rf & 1) {
  335. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 0);
  336. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("click", function NamedEntityRefComponent_Template_span_click_0_listener($event) { return ctx.toggleEntityData($event); });
  337. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](1, "async");
  338. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](2, "async");
  339. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, NamedEntityRefComponent_evt_content_viewer_3_Template, 1, 4, "evt-content-viewer", 1);
  340. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  341. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, NamedEntityRefComponent_ng_container_4_Template, 2, 1, "ng-container", 2);
  342. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](5, "async");
  343. } if (rf & 2) {
  344. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵclassMapInterpolate1"]("namedEntityRef ", ctx.data.entityType, " ");
  345. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction3"](14, _c0, ctx.opened, _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](1, 8, ctx.evtStatusService.currentNamedEntityId$) === ctx.data.entityId && !ctx.opened, _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](2, 10, ctx.availableEntities$) === false))("evtHighlight", ctx.highlightData)("evtHtmlAttributes", ctx.data == null ? null : ctx.data.attributes);
  346. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](3);
  347. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx.data.content);
  348. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  349. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](5, 12, ctx.availableEntities$));
  350. } }, directives: [_angular_common__WEBPACK_IMPORTED_MODULE_8__["NgClass"], _directives_highlight_directive__WEBPACK_IMPORTED_MODULE_9__["HighlightDirective"], _directives_html_attributes_directive__WEBPACK_IMPORTED_MODULE_10__["HtmlAttributesDirective"], _angular_common__WEBPACK_IMPORTED_MODULE_8__["NgForOf"], _angular_common__WEBPACK_IMPORTED_MODULE_8__["NgIf"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_11__["ContentViewerComponent"], _named_entity_named_entity_component__WEBPACK_IMPORTED_MODULE_12__["NamedEntityComponent"]], pipes: [_angular_common__WEBPACK_IMPORTED_MODULE_8__["AsyncPipe"], _ngx_translate_core__WEBPACK_IMPORTED_MODULE_13__["TranslatePipe"]], styles: [".namedEntityRef[_ngcontent-%COMP%]:not(.noDetails) {\n cursor: pointer;\n}\n.namedEntityRef[_ngcontent-%COMP%]:not(.noDetails).opened {\n border-bottom: 3px solid;\n}\n.namedEntityRef[_ngcontent-%COMP%]:not(.opened):not(:hover) {\n background-color: transparent;\n}\n.namedEntityRef[_ngcontent-%COMP%]:hover:not(.noDetails).person, .namedEntityRef.highlighted.person[_ngcontent-%COMP%], .namedEntityRef.opened[_ngcontent-%COMP%]:not(.noDetails).person {\n background: #FFF0F1;\n border-bottom-color: #FFF0F2;\n}\n.namedEntityRef[_ngcontent-%COMP%]:hover:not(.noDetails).person.active, .namedEntityRef.highlighted.person.active[_ngcontent-%COMP%], .namedEntityRef.opened[_ngcontent-%COMP%]:not(.noDetails).person.active {\n background-color: #FFF0F2;\n border-right-color: #FFF0F2;\n}\n.namedEntityRef[_ngcontent-%COMP%]:hover:not(.noDetails).person.active:not(:first-child), .namedEntityRef.highlighted.person.active[_ngcontent-%COMP%]:not(:first-child), .namedEntityRef.opened[_ngcontent-%COMP%]:not(.noDetails).person.active:not(:first-child) {\n border-left-color: #FFF0F2;\n}\n.namedEntityRef[_ngcontent-%COMP%]:hover:not(.noDetails).person:hover, .namedEntityRef.highlighted.person[_ngcontent-%COMP%]:hover, .namedEntityRef.opened[_ngcontent-%COMP%]:not(.noDetails).person:hover {\n background-color: #FFF0F2;\n}\n.namedEntityRef[_ngcontent-%COMP%]:hover:not(.noDetails).place, .namedEntityRef.highlighted.place[_ngcontent-%COMP%], .namedEntityRef.opened[_ngcontent-%COMP%]:not(.noDetails).place {\n background: #EEF7EF;\n border-bottom-color: #c8e6c9;\n}\n.namedEntityRef[_ngcontent-%COMP%]:hover:not(.noDetails).place.active, .namedEntityRef.highlighted.place.active[_ngcontent-%COMP%], .namedEntityRef.opened[_ngcontent-%COMP%]:not(.noDetails).place.active {\n background-color: #c8e6c9;\n border-right-color: #c8e6c9;\n}\n.namedEntityRef[_ngcontent-%COMP%]:hover:not(.noDetails).place.active:not(:first-child), .namedEntityRef.highlighted.place.active[_ngcontent-%COMP%]:not(:first-child), .namedEntityRef.opened[_ngcontent-%COMP%]:not(.noDetails).place.active:not(:first-child) {\n border-left-color: #c8e6c9;\n}\n.namedEntityRef[_ngcontent-%COMP%]:hover:not(.noDetails).place:hover, .namedEntityRef.highlighted.place[_ngcontent-%COMP%]:hover, .namedEntityRef.opened[_ngcontent-%COMP%]:not(.noDetails).place:hover {\n background-color: #c8e6c9;\n}\n.namedEntityRef[_ngcontent-%COMP%]:hover:not(.noDetails).org, .namedEntityRef.highlighted.org[_ngcontent-%COMP%], .namedEntityRef.opened[_ngcontent-%COMP%]:not(.noDetails).org {\n background: #FFE9C9;\n border-bottom-color: #FFCC80;\n}\n.namedEntityRef[_ngcontent-%COMP%]:hover:not(.noDetails).org.active, .namedEntityRef.highlighted.org.active[_ngcontent-%COMP%], .namedEntityRef.opened[_ngcontent-%COMP%]:not(.noDetails).org.active {\n background-color: #FFCC80;\n border-right-color: #FFCC80;\n}\n.namedEntityRef[_ngcontent-%COMP%]:hover:not(.noDetails).org.active:not(:first-child), .namedEntityRef.highlighted.org.active[_ngcontent-%COMP%]:not(:first-child), .namedEntityRef.opened[_ngcontent-%COMP%]:not(.noDetails).org.active:not(:first-child) {\n border-left-color: #FFCC80;\n}\n.namedEntityRef[_ngcontent-%COMP%]:hover:not(.noDetails).org:hover, .namedEntityRef.highlighted.org[_ngcontent-%COMP%]:hover, .namedEntityRef.opened[_ngcontent-%COMP%]:not(.noDetails).org:hover {\n background-color: #FFCC80;\n}\n.namedEntityRef[_ngcontent-%COMP%]:hover:not(.noDetails).event, .namedEntityRef.highlighted.event[_ngcontent-%COMP%], .namedEntityRef.opened[_ngcontent-%COMP%]:not(.noDetails).event {\n background: #fffdc9;\n border-bottom-color: #ffffb0;\n}\n.namedEntityRef[_ngcontent-%COMP%]:hover:not(.noDetails).event.active, .namedEntityRef.highlighted.event.active[_ngcontent-%COMP%], .namedEntityRef.opened[_ngcontent-%COMP%]:not(.noDetails).event.active {\n background-color: #ffffb0;\n border-right-color: #ffffb0;\n}\n.namedEntityRef[_ngcontent-%COMP%]:hover:not(.noDetails).event.active:not(:first-child), .namedEntityRef.highlighted.event.active[_ngcontent-%COMP%]:not(:first-child), .namedEntityRef.opened[_ngcontent-%COMP%]:not(.noDetails).event.active:not(:first-child) {\n border-left-color: #ffffb0;\n}\n.namedEntityRef[_ngcontent-%COMP%]:hover:not(.noDetails).event:hover, .namedEntityRef.highlighted.event[_ngcontent-%COMP%]:hover, .namedEntityRef.opened[_ngcontent-%COMP%]:not(.noDetails).event:hover {\n background-color: #ffffb0;\n}\n.namedEntityRefDetail.person[_ngcontent-%COMP%] {\n background: #FFF0F1;\n}\n.namedEntityRefDetail.place[_ngcontent-%COMP%] {\n background: #EEF7EF;\n}\n.namedEntityRefDetail.org[_ngcontent-%COMP%] {\n background: #FFE9C9;\n}\n.namedEntityRefDetail.event[_ngcontent-%COMP%] {\n background: #fffdc9;\n}\n.not-found-msg[_ngcontent-%COMP%] {\n font-size: 0.9rem;\n}\n.entityHighlight[_ngcontent-%COMP%] {\n background: #ffffcc !important;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL25hbWVkLWVudGl0eS1yZWYuY29tcG9uZW50LnNjc3MiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9hc3NldHMvc2Nzcy9fbWl4aW5zLnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBS0U7RUFDRSxlQUFBO0FBSko7QUFLSTtFQUNFLHdCQUFBO0FBSE47QUFNRTtFQUNFLDZCQUFBO0FBSko7QUFXRTs7O0VDbUJBLG1CRGxCZ0M7RUNtQmhDLDRCRG5CMEQ7QUFMNUQ7QUMwQkU7OztFQUNFLHlCRHRCd0Q7RUN1QnhELDJCRHZCd0Q7QUFDNUQ7QUN3Qkk7OztFQUNFLDBCRDFCc0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LWNvbG9yOiAkY29sb3ItbWlkZGxlO1xuXG4gICAgJjpub3QoOmZpcnN0LWNoaWxkKSB7XG4gICAgICBib3JkZXItbGVmdC1jb2xvcjogJGNvbG9yLW1pZGRsZTtcbiAgICB9XG4gIH1cblxuICAmOmhvdmVyIHtcbiAgICBiYWNrZ3JvdW5kLWNvbG9yOiAkY29sb3ItbWlkZGxlO1xuICB9XG59XG5cblxuQG1peGluIGhlYWRlclNlY3Rpb25UaXRsZSgpIHtcbiAgYm9yZGVyLWJvdHRvbTogMXB4IGRvdHRlZCAjNjY2O1xuICBtYXJnaW4tYm90dG9tOiA1cHg7XG4gIGZvbnQtdmFyaWFudDogc21hbGwtY2FwcztcbiAgY29sb3I6ICMwMDA7XG4gIGZvbnQtc2l6ZTogMS4ycmVtO1xuICBkaXNwbGF5OiBibG9jaztcbiAgbWFyZ2luLXRvcDogMTRweDtcbiAgdGV4dC1hbGlnbjogbGVmdDtcbn0iXX0= */"] });
  351. NamedEntityRefComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  352. Object(_services_component_register_service__WEBPACK_IMPORTED_MODULE_4__["register"])(_models_evt_models__WEBPACK_IMPORTED_MODULE_3__["NamedEntityRef"])
  353. ], NamedEntityRefComponent);
  354. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](NamedEntityRefComponent, [{
  355. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
  356. args: [{
  357. selector: 'evt-named-entity-ref',
  358. templateUrl: './named-entity-ref.component.html',
  359. styleUrls: ['./named-entity-ref.component.scss'],
  360. }]
  361. }], function () { return [{ type: _services_evt_status_service__WEBPACK_IMPORTED_MODULE_5__["EVTStatusService"] }, { type: _services_evt_model_service__WEBPACK_IMPORTED_MODULE_6__["EVTModelService"] }, { type: _services_entities_select_service__WEBPACK_IMPORTED_MODULE_7__["EntitiesSelectService"] }]; }, { data: [{
  362. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
  363. }] }); })();
  364. /***/ }),
  365. /***/ "0uBV":
  366. /*!***************************************************!*\
  367. !*** ./src/app/components/text/text.component.ts ***!
  368. \***************************************************/
  369. /*! exports provided: TextComponent */
  370. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  371. "use strict";
  372. __webpack_require__.r(__webpack_exports__);
  373. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TextComponent", function() { return TextComponent; });
  374. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "mrSG");
  375. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "fXoL");
  376. /* harmony import */ var _models_evt_models__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../models/evt-models */ "5c0l");
  377. /* harmony import */ var _services_component_register_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../services/component-register.service */ "d25s");
  378. /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/common */ "ofXK");
  379. function TextComponent_ng_container_0_Template(rf, ctx) { if (rf & 1) {
  380. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
  381. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1);
  382. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
  383. } if (rf & 2) {
  384. const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  385. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  386. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](ctx_r0.data.text);
  387. } }
  388. let TextComponent = class TextComponent {
  389. };
  390. TextComponent.ɵfac = function TextComponent_Factory(t) { return new (t || TextComponent)(); };
  391. TextComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({ type: TextComponent, selectors: [["evt-text"]], inputs: { data: "data" }, decls: 1, vars: 1, consts: [[4, "ngIf"]], template: function TextComponent_Template(rf, ctx) { if (rf & 1) {
  392. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](0, TextComponent_ng_container_0_Template, 2, 1, "ng-container", 0);
  393. } if (rf & 2) {
  394. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data);
  395. } }, directives: [_angular_common__WEBPACK_IMPORTED_MODULE_4__["NgIf"]], styles: ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJ0ZXh0LmNvbXBvbmVudC5zY3NzIn0= */"] });
  396. TextComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  397. Object(_services_component_register_service__WEBPACK_IMPORTED_MODULE_3__["register"])(_models_evt_models__WEBPACK_IMPORTED_MODULE_2__["Text"])
  398. ], TextComponent);
  399. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](TextComponent, [{
  400. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
  401. args: [{
  402. selector: 'evt-text',
  403. templateUrl: './text.component.html',
  404. styleUrls: ['./text.component.scss'],
  405. }]
  406. }], null, { data: [{
  407. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
  408. }] }); })();
  409. /***/ }),
  410. /***/ "1zBk":
  411. /*!***********************************************************************!*\
  412. !*** ./src/app/components/editorial-decl/editorial-decl.component.ts ***!
  413. \***********************************************************************/
  414. /*! exports provided: EditorialDeclComponent */
  415. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  416. "use strict";
  417. __webpack_require__.r(__webpack_exports__);
  418. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "EditorialDeclComponent", function() { return EditorialDeclComponent; });
  419. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "mrSG");
  420. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "fXoL");
  421. /* harmony import */ var _models_evt_models__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../models/evt-models */ "5c0l");
  422. /* harmony import */ var _services_component_register_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../services/component-register.service */ "d25s");
  423. /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/common */ "ofXK");
  424. /* harmony import */ var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../content-viewer/content-viewer.component */ "t6RO");
  425. /* harmony import */ var _ui_components_header_section_header_section_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../ui-components/header-section/header-section.component */ "iRdJ");
  426. function EditorialDeclComponent_ng_container_1_ng_container_1_Template(rf, ctx) { if (rf & 1) {
  427. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0);
  428. } }
  429. function EditorialDeclComponent_ng_container_1_ng_container_2_Template(rf, ctx) { if (rf & 1) {
  430. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0);
  431. } }
  432. function EditorialDeclComponent_ng_container_1_ng_container_3_Template(rf, ctx) { if (rf & 1) {
  433. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0);
  434. } }
  435. function EditorialDeclComponent_ng_container_1_ng_container_4_Template(rf, ctx) { if (rf & 1) {
  436. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0);
  437. } }
  438. function EditorialDeclComponent_ng_container_1_ng_container_5_Template(rf, ctx) { if (rf & 1) {
  439. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0);
  440. } }
  441. function EditorialDeclComponent_ng_container_1_ng_container_6_Template(rf, ctx) { if (rf & 1) {
  442. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0);
  443. } }
  444. function EditorialDeclComponent_ng_container_1_ng_container_7_Template(rf, ctx) { if (rf & 1) {
  445. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0);
  446. } }
  447. function EditorialDeclComponent_ng_container_1_ng_container_8_Template(rf, ctx) { if (rf & 1) {
  448. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0);
  449. } }
  450. const _c0 = function (a1) { return { label: "correction", items: a1, class: "correction" }; };
  451. const _c1 = function (a1) { return { label: "normalization", items: a1, class: "normalization" }; };
  452. const _c2 = function (a1) { return { label: "punctuation", items: a1, class: "punctuation" }; };
  453. const _c3 = function (a1) { return { label: "quotation", items: a1, class: "quotation" }; };
  454. const _c4 = function (a1) { return { label: "hyphenation", items: a1, class: "hyphenation" }; };
  455. const _c5 = function (a1) { return { label: "segmentation", items: a1, class: "segmentation" }; };
  456. const _c6 = function (a1) { return { label: "stdVals", items: a1, class: "stdVals" }; };
  457. const _c7 = function (a1) { return { label: "interpretation", items: a1, class: "interpretation" }; };
  458. function EditorialDeclComponent_ng_container_1_Template(rf, ctx) { if (rf & 1) {
  459. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
  460. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, EditorialDeclComponent_ng_container_1_ng_container_1_Template, 1, 0, "ng-container", 4);
  461. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, EditorialDeclComponent_ng_container_1_ng_container_2_Template, 1, 0, "ng-container", 4);
  462. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, EditorialDeclComponent_ng_container_1_ng_container_3_Template, 1, 0, "ng-container", 4);
  463. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, EditorialDeclComponent_ng_container_1_ng_container_4_Template, 1, 0, "ng-container", 4);
  464. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](5, EditorialDeclComponent_ng_container_1_ng_container_5_Template, 1, 0, "ng-container", 4);
  465. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](6, EditorialDeclComponent_ng_container_1_ng_container_6_Template, 1, 0, "ng-container", 4);
  466. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](7, EditorialDeclComponent_ng_container_1_ng_container_7_Template, 1, 0, "ng-container", 4);
  467. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](8, EditorialDeclComponent_ng_container_1_ng_container_8_Template, 1, 0, "ng-container", 4);
  468. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
  469. } if (rf & 2) {
  470. const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  471. const _r2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵreference"](4);
  472. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  473. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r2)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](16, _c0, ctx_r0.data == null ? null : ctx_r0.data.correction));
  474. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  475. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r2)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](18, _c1, ctx_r0.data == null ? null : ctx_r0.data.normalization));
  476. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  477. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r2)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](20, _c2, ctx_r0.data == null ? null : ctx_r0.data.punctuation));
  478. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  479. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r2)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](22, _c3, ctx_r0.data == null ? null : ctx_r0.data.quotation));
  480. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  481. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r2)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](24, _c4, ctx_r0.data == null ? null : ctx_r0.data.hyphenation));
  482. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  483. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r2)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](26, _c5, ctx_r0.data == null ? null : ctx_r0.data.segmentation));
  484. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  485. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r2)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](28, _c6, ctx_r0.data == null ? null : ctx_r0.data.stdVals));
  486. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  487. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r2)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](30, _c7, ctx_r0.data == null ? null : ctx_r0.data.interpretation));
  488. } }
  489. function EditorialDeclComponent_ng_container_2_evt_content_viewer_1_Template(rf, ctx) { if (rf & 1) {
  490. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 6);
  491. } if (rf & 2) {
  492. const element_r13 = ctx.$implicit;
  493. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", element_r13);
  494. } }
  495. function EditorialDeclComponent_ng_container_2_Template(rf, ctx) { if (rf & 1) {
  496. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
  497. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, EditorialDeclComponent_ng_container_2_evt_content_viewer_1_Template, 1, 1, "evt-content-viewer", 5);
  498. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
  499. } if (rf & 2) {
  500. const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  501. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  502. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r1.data == null ? null : ctx_r1.data.content);
  503. } }
  504. function EditorialDeclComponent_ng_template_3_evt_header_section_0_evt_content_viewer_2_Template(rf, ctx) { if (rf & 1) {
  505. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 6);
  506. } if (rf & 2) {
  507. const item_r19 = ctx.$implicit;
  508. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", item_r19);
  509. } }
  510. function EditorialDeclComponent_ng_template_3_evt_header_section_0_Template(rf, ctx) { if (rf & 1) {
  511. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "evt-header-section", 8);
  512. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "div", 9);
  513. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, EditorialDeclComponent_ng_template_3_evt_header_section_0_evt_content_viewer_2_Template, 1, 1, "evt-content-viewer", 5);
  514. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  515. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  516. } if (rf & 2) {
  517. const ctx_r20 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  518. const label_r14 = ctx_r20.label;
  519. const class_r16 = ctx_r20.class;
  520. const items_r15 = ctx_r20.items;
  521. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", label_r14)("additionalClass", class_r16)("inlineLabel", true);
  522. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  523. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", items_r15);
  524. } }
  525. function EditorialDeclComponent_ng_template_3_Template(rf, ctx) { if (rf & 1) {
  526. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](0, EditorialDeclComponent_ng_template_3_evt_header_section_0_Template, 3, 4, "evt-header-section", 7);
  527. } if (rf & 2) {
  528. const items_r15 = ctx.items;
  529. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", (items_r15 == null ? null : items_r15.length) > 0);
  530. } }
  531. let EditorialDeclComponent = class EditorialDeclComponent {
  532. };
  533. EditorialDeclComponent.ɵfac = function EditorialDeclComponent_Factory(t) { return new (t || EditorialDeclComponent)(); };
  534. EditorialDeclComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({ type: EditorialDeclComponent, selectors: [["evt-editorial-decl"]], inputs: { data: "data" }, decls: 5, vars: 2, consts: [[3, "ngSwitch"], [4, "ngSwitchCase"], [4, "ngSwitchDefault"], ["section", ""], [4, "ngTemplateOutlet", "ngTemplateOutletContext"], [3, "content", 4, "ngFor", "ngForOf"], [3, "content"], [3, "label", "additionalClass", "inlineLabel", 4, "ngIf"], [3, "label", "additionalClass", "inlineLabel"], ["content", ""]], template: function EditorialDeclComponent_Template(rf, ctx) { if (rf & 1) {
  535. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0, 0);
  536. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, EditorialDeclComponent_ng_container_1_Template, 9, 32, "ng-container", 1);
  537. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, EditorialDeclComponent_ng_container_2_Template, 2, 1, "ng-container", 2);
  538. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
  539. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, EditorialDeclComponent_ng_template_3_Template, 1, 1, "ng-template", null, 3, _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplateRefExtractor"]);
  540. } if (rf & 2) {
  541. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngSwitch", ctx.data == null ? null : ctx.data.structuredData);
  542. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  543. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngSwitchCase", true);
  544. } }, directives: [_angular_common__WEBPACK_IMPORTED_MODULE_4__["NgSwitch"], _angular_common__WEBPACK_IMPORTED_MODULE_4__["NgSwitchCase"], _angular_common__WEBPACK_IMPORTED_MODULE_4__["NgSwitchDefault"], _angular_common__WEBPACK_IMPORTED_MODULE_4__["NgTemplateOutlet"], _angular_common__WEBPACK_IMPORTED_MODULE_4__["NgForOf"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_5__["ContentViewerComponent"], _angular_common__WEBPACK_IMPORTED_MODULE_4__["NgIf"], _ui_components_header_section_header_section_component__WEBPACK_IMPORTED_MODULE_6__["HeaderSectionComponent"]], styles: [".editorialDecl[_ngcontent-%COMP%] .stdvals {\n display: inline-block;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2VkaXRvcmlhbC1kZWNsLmNvbXBvbmVudC5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUVRO0VBQ0kscUJBQUE7QUFEWiIsImZpbGUiOiJlZGl0b3JpYWwtZGVjbC5jb21wb25lbnQuc2NzcyIsInNvdXJjZXNDb250ZW50IjpbIi5lZGl0b3JpYWxEZWNsIHtcbiAgICA6Om5nLWRlZXAge1xuICAgICAgICAuc3RkdmFscyB7XG4gICAgICAgICAgICBkaXNwbGF5OiBpbmxpbmUtYmxvY2s7XG4gICAgICAgIH1cbiAgICB9XG59Il19 */"] });
  545. EditorialDeclComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  546. Object(_services_component_register_service__WEBPACK_IMPORTED_MODULE_3__["register"])(_models_evt_models__WEBPACK_IMPORTED_MODULE_2__["EditorialDecl"])
  547. ], EditorialDeclComponent);
  548. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](EditorialDeclComponent, [{
  549. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
  550. args: [{
  551. selector: 'evt-editorial-decl',
  552. templateUrl: './editorial-decl.component.html',
  553. styleUrls: ['./editorial-decl.component.scss'],
  554. }]
  555. }], null, { data: [{
  556. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
  557. }] }); })();
  558. /***/ }),
  559. /***/ "4Z5S":
  560. /*!**************************************************************!*\
  561. !*** ./src/app/services/xml-parsers/named-entity-parsers.ts ***!
  562. \**************************************************************/
  563. /*! exports provided: namedEntitiesListsTagNamesMap, getListType, getListsToParseTagNames, NamedEntitiesListParser, NamedEntityRefParser, EntityParser, PersonParser, PersonGroupParser, PlaceParser, EventParser, OrganizationParser, EntityInfoParser, RelationParser */
  564. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  565. "use strict";
  566. __webpack_require__.r(__webpack_exports__);
  567. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "namedEntitiesListsTagNamesMap", function() { return namedEntitiesListsTagNamesMap; });
  568. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getListType", function() { return getListType; });
  569. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getListsToParseTagNames", function() { return getListsToParseTagNames; });
  570. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NamedEntitiesListParser", function() { return NamedEntitiesListParser; });
  571. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NamedEntityRefParser", function() { return NamedEntityRefParser; });
  572. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "EntityParser", function() { return EntityParser; });
  573. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PersonParser", function() { return PersonParser; });
  574. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PersonGroupParser", function() { return PersonGroupParser; });
  575. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PlaceParser", function() { return PlaceParser; });
  576. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "EventParser", function() { return EventParser; });
  577. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "OrganizationParser", function() { return OrganizationParser; });
  578. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "EntityInfoParser", function() { return EntityInfoParser; });
  579. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "RelationParser", function() { return RelationParser; });
  580. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "mrSG");
  581. /* harmony import */ var src_app_app_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! src/app/app.config */ "aR35");
  582. /* harmony import */ var ___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! . */ "UAXx");
  583. /* harmony import */ var _models_evt_models__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../models/evt-models */ "5c0l");
  584. /* harmony import */ var _utils_dom_utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../utils/dom-utils */ "G9+u");
  585. /* harmony import */ var _utils_xml_utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../utils/xml-utils */ "JQLQ");
  586. /* harmony import */ var _basic_parsers__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./basic-parsers */ "bNiN");
  587. /* harmony import */ var _parser_models__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./parser-models */ "YwZW");
  588. var NamedEntitiesListParser_1, NamedEntityRefParser_1, PersonParser_1, PersonGroupParser_1, PlaceParser_1, OrganizationParser_1;
  589. const namedEntitiesListsTagNamesMap = {
  590. persons: 'listPerson',
  591. places: 'listPlace',
  592. organizations: 'listOrg',
  593. events: 'listEvent',
  594. occurrences: 'persName[ref], placeName[ref], orgName[ref], geogName[ref], event[ref]',
  595. };
  596. function getListType(tagName) {
  597. return tagName.replace('list', '').toLowerCase();
  598. }
  599. function getListsToParseTagNames() {
  600. const neListsConfig = src_app_app_config__WEBPACK_IMPORTED_MODULE_1__["AppConfig"].evtSettings.edition.namedEntitiesLists || {};
  601. return Object.keys(neListsConfig)
  602. .map((i) => neListsConfig[i].enabled ? namedEntitiesListsTagNamesMap[i] : undefined)
  603. .filter(ne => !!ne);
  604. }
  605. let NamedEntitiesListParser = NamedEntitiesListParser_1 = class NamedEntitiesListParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_6__["EmptyParser"] {
  606. constructor() {
  607. super(...arguments);
  608. this.neListsConfig = src_app_app_config__WEBPACK_IMPORTED_MODULE_1__["AppConfig"].evtSettings.edition.namedEntitiesLists || {};
  609. this.attributeParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_7__["createParser"])(_basic_parsers__WEBPACK_IMPORTED_MODULE_6__["AttributeParser"], this.genericParse);
  610. }
  611. parse(xml) {
  612. const parsedList = {
  613. type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["NamedEntitiesList"],
  614. id: xml.getAttribute('xml:id') || Object(_utils_dom_utils__WEBPACK_IMPORTED_MODULE_4__["xpath"])(xml),
  615. label: '',
  616. namedEntityType: getListType(xml.tagName),
  617. content: [],
  618. sublists: [],
  619. originalEncoding: xml,
  620. relations: [],
  621. description: [],
  622. attributes: this.attributeParser.parse(xml),
  623. };
  624. const relationParse = Object(_parser_models__WEBPACK_IMPORTED_MODULE_7__["createParser"])(RelationParser, this.genericParse);
  625. xml.childNodes.forEach((child) => {
  626. if (child.nodeType === 1) {
  627. switch (child.tagName.toLowerCase()) {
  628. case 'head':
  629. parsedList.label = Object(_utils_xml_utils__WEBPACK_IMPORTED_MODULE_5__["replaceNewLines"])(child.textContent);
  630. break;
  631. case 'desc':
  632. parsedList.description.push(this.genericParse(child));
  633. break;
  634. case 'relation':
  635. if (this.neListsConfig.relations.enabled) {
  636. parsedList.relations.push(relationParse.parse(child));
  637. }
  638. break;
  639. case 'listrelation':
  640. if (this.neListsConfig.relations.enabled) {
  641. child.querySelectorAll('relation').forEach(r => parsedList.relations.push(relationParse.parse(r)));
  642. }
  643. break;
  644. default:
  645. if (getListsToParseTagNames().indexOf(child.tagName) >= 0) {
  646. const subListParser = ___WEBPACK_IMPORTED_MODULE_2__["ParserRegister"].get('evt-named-entities-list-parser');
  647. const parsedSubList = subListParser.parse(child);
  648. parsedList.sublists.push(parsedSubList);
  649. parsedList.content = parsedList.content.concat(parsedSubList.content);
  650. parsedList.relations = parsedList.relations.concat(parsedSubList.relations);
  651. }
  652. else {
  653. parsedList.content.push(this.genericParse(child));
  654. }
  655. }
  656. }
  657. });
  658. parsedList.label = parsedList.label || xml.getAttribute('type') || `List of ${parsedList.namedEntityType}`;
  659. return parsedList;
  660. }
  661. };
  662. NamedEntitiesListParser = NamedEntitiesListParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  663. Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('evt-named-entities-list-parser', NamedEntitiesListParser_1)
  664. ], NamedEntitiesListParser);
  665. let NamedEntityRefParser = NamedEntityRefParser_1 = class NamedEntityRefParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_6__["EmptyParser"] {
  666. constructor() {
  667. super(...arguments);
  668. this.elementParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_7__["createParser"])(_basic_parsers__WEBPACK_IMPORTED_MODULE_6__["GenericElemParser"], this.genericParse);
  669. this.attributeParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_7__["createParser"])(_basic_parsers__WEBPACK_IMPORTED_MODULE_6__["AttributeParser"], this.genericParse);
  670. }
  671. parse(xml) {
  672. const ref = xml.getAttribute('ref');
  673. if (!ref) {
  674. return this.elementParser.parse(xml);
  675. }
  676. const neTypeMap = {
  677. placename: 'place',
  678. geogname: 'place',
  679. persname: 'person',
  680. orgname: 'org',
  681. event: 'event',
  682. };
  683. return {
  684. type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["NamedEntityRef"],
  685. entityId: getEntityID(ref),
  686. entityType: neTypeMap[xml.tagName.toLowerCase()],
  687. path: Object(_utils_dom_utils__WEBPACK_IMPORTED_MODULE_4__["xpath"])(xml),
  688. content: Object(_parser_models__WEBPACK_IMPORTED_MODULE_7__["parseChildren"])(xml, this.genericParse),
  689. attributes: this.attributeParser.parse(xml),
  690. class: xml.tagName.toLowerCase(),
  691. };
  692. }
  693. };
  694. NamedEntityRefParser = NamedEntityRefParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  695. Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('evt-named-entity-parser', NamedEntityRefParser_1)
  696. ], NamedEntityRefParser);
  697. // Generic entity parser
  698. class EntityParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_6__["EmptyParser"] {
  699. constructor() {
  700. super(...arguments);
  701. // TODO: try to refactor subclasses to use a function parameter to get labels
  702. this.attributeParsers = Object(_parser_models__WEBPACK_IMPORTED_MODULE_7__["createParser"])(_basic_parsers__WEBPACK_IMPORTED_MODULE_6__["AttributeMapParser"], this.genericParse);
  703. }
  704. parse(xml) {
  705. const elId = xml.getAttribute('xml:id') || Object(_utils_dom_utils__WEBPACK_IMPORTED_MODULE_4__["xpath"])(xml);
  706. const label = Object(_utils_xml_utils__WEBPACK_IMPORTED_MODULE_5__["replaceNewLines"])(xml.textContent) || 'No info';
  707. const entity = {
  708. type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["NamedEntity"],
  709. id: elId,
  710. sortKey: xml.getAttribute('sortKey') || (label ? label[0] : '') || xml.getAttribute('xml:id') || Object(_utils_dom_utils__WEBPACK_IMPORTED_MODULE_4__["xpath"])(xml),
  711. originalEncoding: xml,
  712. label,
  713. namedEntityType: this.getEntityType(xml.tagName),
  714. content: Array.from(xml.children).map((subchild) => this.parseEntityInfo(subchild)),
  715. attributes: this.attributeParsers.parse(xml),
  716. };
  717. return entity;
  718. }
  719. parseEntityInfo(xml) {
  720. return {
  721. type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["NamedEntityInfo"],
  722. label: xml.nodeType === 1 ? xml.tagName.toLowerCase() : 'info',
  723. content: [this.genericParse(xml)],
  724. attributes: xml.nodeType === 1 ? this.attributeParsers.parse(xml) : {},
  725. };
  726. }
  727. getEntityType(tagName) { return tagName.toLowerCase(); }
  728. }
  729. let PersonParser = PersonParser_1 = class PersonParser extends EntityParser {
  730. parse(xml) {
  731. return Object.assign(Object.assign({}, super.parse(xml)), { label: this.getLabel(xml) });
  732. }
  733. getLabel(xml) {
  734. const nameElement = xml.querySelector('name');
  735. const forenameElement = xml.querySelector('forename');
  736. const surnameElement = xml.querySelector('surname');
  737. const persNameElement = xml.querySelector('persName');
  738. const occupationElement = xml.querySelector('occupation');
  739. let label = 'No info';
  740. if (persNameElement) {
  741. label = Object(_utils_xml_utils__WEBPACK_IMPORTED_MODULE_5__["replaceNewLines"])(persNameElement.textContent) || 'No info';
  742. }
  743. else if (forenameElement || surnameElement) {
  744. label += forenameElement ? `${Object(_utils_xml_utils__WEBPACK_IMPORTED_MODULE_5__["replaceNewLines"])(forenameElement.textContent)} ` : '';
  745. label += surnameElement ? `${Object(_utils_xml_utils__WEBPACK_IMPORTED_MODULE_5__["replaceNewLines"])(surnameElement.textContent)} ` : '';
  746. }
  747. else if (nameElement) {
  748. label = Object(_utils_xml_utils__WEBPACK_IMPORTED_MODULE_5__["replaceNewLines"])(nameElement.textContent) || 'No info';
  749. }
  750. else {
  751. label = Object(_utils_xml_utils__WEBPACK_IMPORTED_MODULE_5__["replaceNewLines"])(xml.textContent) || 'No info';
  752. }
  753. label += occupationElement ? ` (${Object(_utils_xml_utils__WEBPACK_IMPORTED_MODULE_5__["replaceNewLines"])(occupationElement.textContent)})` : '';
  754. return label;
  755. }
  756. };
  757. PersonParser = PersonParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  758. Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('person', PersonParser_1)
  759. ], PersonParser);
  760. let PersonGroupParser = PersonGroupParser_1 = class PersonGroupParser extends EntityParser {
  761. parse(xml) { return Object.assign(Object.assign({}, super.parse(xml)), { label: this.getLabel(xml) }); }
  762. getLabel(xml) {
  763. const role = xml.getAttribute('role');
  764. let label = 'No info';
  765. if (role) {
  766. label = role.trim();
  767. }
  768. else {
  769. label = Object(_utils_xml_utils__WEBPACK_IMPORTED_MODULE_5__["replaceNewLines"])(xml.textContent) || 'No info';
  770. }
  771. return label;
  772. }
  773. };
  774. PersonGroupParser = PersonGroupParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  775. Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('personGrp', PersonGroupParser_1)
  776. ], PersonGroupParser);
  777. let PlaceParser = PlaceParser_1 = class PlaceParser extends EntityParser {
  778. parse(xml) { return Object.assign(Object.assign({}, super.parse(xml)), { label: this.getLabel(xml) }); }
  779. getLabel(xml) {
  780. const placeNameElement = xml.querySelector('placeName');
  781. const settlementElement = xml.querySelector('settlement');
  782. let label = 'No info';
  783. if (placeNameElement) {
  784. label = Object(_utils_xml_utils__WEBPACK_IMPORTED_MODULE_5__["replaceNewLines"])(placeNameElement.textContent) || 'No info';
  785. }
  786. else if (settlementElement) {
  787. label = Object(_utils_xml_utils__WEBPACK_IMPORTED_MODULE_5__["replaceNewLines"])(settlementElement.textContent) || 'No info';
  788. }
  789. return label;
  790. }
  791. };
  792. PlaceParser = PlaceParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  793. Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('place', PlaceParser_1)
  794. ], PlaceParser);
  795. class EventParser extends EntityParser {
  796. parse(xml) {
  797. return Object.assign(Object.assign({}, super.parse(xml)), { label: textLabel('label', xml) });
  798. }
  799. getLabel(xml) {
  800. const eventLabelElement = xml.querySelector('label');
  801. return (eventLabelElement ? Object(_utils_xml_utils__WEBPACK_IMPORTED_MODULE_5__["replaceNewLines"])(eventLabelElement.textContent) : '') || 'No info';
  802. }
  803. }
  804. let OrganizationParser = OrganizationParser_1 = class OrganizationParser extends EntityParser {
  805. parse(xml) {
  806. return Object.assign(Object.assign({}, super.parse(xml)), { label: textLabel('orgName', xml) });
  807. }
  808. };
  809. OrganizationParser = OrganizationParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  810. Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('org', OrganizationParser_1)
  811. ], OrganizationParser);
  812. class EntityInfoParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_6__["EmptyParser"] {
  813. constructor() {
  814. super(...arguments);
  815. this.attributeParsers = Object(_parser_models__WEBPACK_IMPORTED_MODULE_7__["createParser"])(_basic_parsers__WEBPACK_IMPORTED_MODULE_6__["AttributeParser"], this.genericParse);
  816. }
  817. parse(xml) {
  818. return {
  819. type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["NamedEntityInfo"],
  820. label: xml.nodeType === 1 ? xml.tagName.toLowerCase() : 'info',
  821. content: [this.genericParse(xml)],
  822. attributes: xml.nodeType === 1 ? this.attributeParsers.parse(xml) : {},
  823. };
  824. }
  825. }
  826. class RelationParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_6__["EmptyParser"] {
  827. constructor() {
  828. super(...arguments);
  829. this.attributeParsers = Object(_parser_models__WEBPACK_IMPORTED_MODULE_7__["createParser"])(_basic_parsers__WEBPACK_IMPORTED_MODULE_6__["AttributeParser"], this.genericParse);
  830. this.entityInfoParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_7__["createParser"])(EntityInfoParser, this.genericParse);
  831. this.textParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_7__["createParser"])(_basic_parsers__WEBPACK_IMPORTED_MODULE_6__["TextParser"], this.genericParse);
  832. }
  833. parse(xml) {
  834. const descriptionEls = xml.querySelectorAll('desc');
  835. const attributes = this.attributeParsers.parse(xml);
  836. const { name, type } = attributes;
  837. const active = xml.getAttribute('active') || ''; // TODO: make get attributes return '' as default?
  838. const mutual = xml.getAttribute('mutual') || '';
  839. const passive = xml.getAttribute('passive') || '';
  840. const relation = {
  841. type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["Relation"],
  842. name,
  843. activeParts: active.replace(/#/g, '').split(' '),
  844. mutualParts: mutual.replace(/#/g, '').split(' '),
  845. passiveParts: passive.replace(/#/g, '').split(' '),
  846. relationType: type,
  847. attributes,
  848. content: Array.from(xml.children).map((subchild) => this.entityInfoParser.parse(subchild)),
  849. description: [],
  850. };
  851. if (descriptionEls && descriptionEls.length > 0) {
  852. descriptionEls.forEach((el) => relation.description.push(this.genericParse(el)));
  853. }
  854. else {
  855. relation.description = [this.textParser.parse(xml)];
  856. }
  857. const parentListEl = xml.parentElement.tagName === 'listRelation' ? xml.parentElement : undefined;
  858. if (parentListEl) {
  859. relation.relationType = `${(parentListEl.getAttribute('type') || '')} ${(relation.relationType || '')}`.trim();
  860. }
  861. return relation;
  862. }
  863. }
  864. function getEntityID(ref) { return ref ? ref.replace(/#/g, '') : ''; }
  865. function textLabel(elemName, xml) {
  866. const el = xml.querySelector(elemName);
  867. return (el ? Object(_utils_xml_utils__WEBPACK_IMPORTED_MODULE_5__["replaceNewLines"])(el.textContent) : '') || 'No info';
  868. }
  869. /***/ }),
  870. /***/ "5DHf":
  871. /*!******************************************************************!*\
  872. !*** ./src/app/services/xml-parsers/witnesses-parser.service.ts ***!
  873. \******************************************************************/
  874. /*! exports provided: WitnessesParserService */
  875. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  876. "use strict";
  877. __webpack_require__.r(__webpack_exports__);
  878. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "WitnessesParserService", function() { return WitnessesParserService; });
  879. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "fXoL");
  880. /* harmony import */ var ___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! . */ "UAXx");
  881. /* harmony import */ var _utils_dom_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils/dom-utils */ "G9+u");
  882. /* harmony import */ var _utils_xml_utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../utils/xml-utils */ "JQLQ");
  883. /* harmony import */ var _basic_parsers__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./basic-parsers */ "bNiN");
  884. /* harmony import */ var _parser_models__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./parser-models */ "YwZW");
  885. /* harmony import */ var _generic_parser_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./generic-parser.service */ "xdSp");
  886. class WitnessesParserService {
  887. constructor(genericParserService) {
  888. this.genericParserService = genericParserService;
  889. this.witListTagName = 'listWit';
  890. this.witTagName = 'witness';
  891. this.witNameAttr = 'type="siglum"';
  892. this.groupTagName = 'head';
  893. this.attributeParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["createParser"])(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["AttributeParser"], ___WEBPACK_IMPORTED_MODULE_1__["parse"]);
  894. }
  895. parseWitnessesData(document) {
  896. const lists = Array.from(document.querySelectorAll(this.witListTagName));
  897. return {
  898. witnesses: this.parseWitnessesList(lists),
  899. groups: this.parseWitnessesGroups(lists),
  900. };
  901. }
  902. parseWitnessesList(lists) {
  903. const parsedList = lists.filter((list) => !Object(_utils_dom_utils__WEBPACK_IMPORTED_MODULE_2__["isNestedInElem"])(list, list.tagName))
  904. .map((list) => this.parseWitnesses(list))
  905. .reduce((x, y) => x.concat(y), []);
  906. return parsedList;
  907. }
  908. parseWitnesses(list) {
  909. return Array.from(list.querySelectorAll(this.witTagName))
  910. .map((wit) => this.parseWitness(wit));
  911. }
  912. parseWitness(wit) {
  913. const id = Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["getID"])(wit);
  914. return {
  915. id,
  916. name: this.parseWitnessName(wit) || id,
  917. attributes: this.attributeParser.parse(wit),
  918. content: this.parseWitnessContent(wit),
  919. groupId: this.parseParentGroupId(wit),
  920. };
  921. }
  922. parseWitnessName(wit) {
  923. // TODO use ‘?’ operator after update tu angular 9
  924. const witNameEl = wit.querySelector(`*[${this.witNameAttr}]`);
  925. if (witNameEl) {
  926. return Array.from(witNameEl.childNodes)
  927. .map((child) => this.genericParserService.parse(child));
  928. }
  929. return witNameEl;
  930. }
  931. parseWitnessContent(wit) {
  932. return Array.from(wit.childNodes)
  933. .filter((child) => child.nodeName !== this.witListTagName && child.textContent.trim().length !== 0)
  934. .map((child) => this.genericParserService.parse(child));
  935. }
  936. parseWitnessesGroups(lists) {
  937. const parsedGroups = lists.filter((list) => Object(_utils_dom_utils__WEBPACK_IMPORTED_MODULE_2__["isNestedInElem"])(list, list.tagName))
  938. .map((list) => this.parseWitnessGroup(list));
  939. return parsedGroups;
  940. }
  941. parseWitnessGroup(list) {
  942. return {
  943. id: list.getAttribute('xml:id') || Object(_utils_dom_utils__WEBPACK_IMPORTED_MODULE_2__["xpath"])(list),
  944. name: this.parseGroupName(list) || Object(_utils_xml_utils__WEBPACK_IMPORTED_MODULE_3__["replaceNotWordChar"])(list.getAttribute('xml:id')) || Object(_utils_dom_utils__WEBPACK_IMPORTED_MODULE_2__["xpath"])(list),
  945. attributes: this.attributeParser.parse(list),
  946. witnesses: this.parseGroupWitnesses(list),
  947. groupId: this.parseParentGroupId(list),
  948. };
  949. }
  950. parseGroupName(list) {
  951. const groupEl = Array.from(list.children)
  952. .find((child) => child.nodeName === this.groupTagName);
  953. return groupEl && groupEl.textContent;
  954. }
  955. parseGroupWitnesses(list) {
  956. return Array.from(list.children)
  957. .filter(({ nodeName }) => nodeName === this.witListTagName || nodeName === this.witTagName)
  958. .map((child) => child.getAttribute('xml:id'));
  959. }
  960. parseParentGroupId(element) {
  961. let parentEl = element.parentElement;
  962. do {
  963. if (Object(_utils_dom_utils__WEBPACK_IMPORTED_MODULE_2__["isNestedInElem"])(parentEl, this.witListTagName) && parentEl.tagName === this.witListTagName) {
  964. return parentEl.getAttribute('xml:id') || Object(_utils_dom_utils__WEBPACK_IMPORTED_MODULE_2__["xpath"])(parentEl);
  965. }
  966. parentEl = parentEl.parentElement;
  967. } while (parentEl.matches(this.witListTagName));
  968. }
  969. }
  970. WitnessesParserService.ɵfac = function WitnessesParserService_Factory(t) { return new (t || WitnessesParserService)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_generic_parser_service__WEBPACK_IMPORTED_MODULE_6__["GenericParserService"])); };
  971. WitnessesParserService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ token: WitnessesParserService, factory: WitnessesParserService.ɵfac, providedIn: 'root' });
  972. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](WitnessesParserService, [{
  973. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"],
  974. args: [{
  975. providedIn: 'root',
  976. }]
  977. }], function () { return [{ type: _generic_parser_service__WEBPACK_IMPORTED_MODULE_6__["GenericParserService"] }]; }, null); })();
  978. /***/ }),
  979. /***/ "5b7e":
  980. /*!************************************************!*\
  981. !*** ./src/app/evt-info/evt-info.component.ts ***!
  982. \************************************************/
  983. /*! exports provided: EvtInfoComponent */
  984. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  985. "use strict";
  986. __webpack_require__.r(__webpack_exports__);
  987. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "EvtInfoComponent", function() { return EvtInfoComponent; });
  988. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "fXoL");
  989. class EvtInfoComponent {
  990. }
  991. EvtInfoComponent.ɵfac = function EvtInfoComponent_Factory(t) { return new (t || EvtInfoComponent)(); };
  992. EvtInfoComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: EvtInfoComponent, selectors: [["evt-evt-info"]], decls: 32, vars: 0, consts: [["id", "EVTinfo_content", 1, "dialog_cont_inner"], ["href", "http://pelavicino.labcd.unipi.it/", "target", "blank"], ["href", "http://vbd.humnet.unipi.it/", "target", "blank"], ["href", "https://sourceforge.net/p/evt-project/", "target", "blank"], ["href", "mailto:roberto.rossellidelturco@gmail.com", "target", "_top"], ["href", "http://evt.labcd.unipi.it/"], ["href", "mailto:evt.developers@gmail.com"]], template: function EvtInfoComponent_Template(rf, ctx) { if (rf & 1) {
  993. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 0);
  994. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "p");
  995. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2, "EVT (Edition Visualization Technology) is a software for creating and browsing digital editions of manuscripts based on text encoded according to the TEI XML schemas and Guidelines. This tool was born as part of the DVB (Digital Vercelli Book) project in order to allow the creation of a digital edition of the Vercelli Book, a parchment codex of the late tenth century, now preserved in the Archivio e Biblioteca Capitolare of Vercelli and regarded as one of the four most important manuscripts of the Anglo-Saxon period as regards the transmission of poetic texts in the Old English language. ");
  996. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  997. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "p");
  998. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](4, "To ensure that it will be working on all the most recent web browsers, and for as long as possible on the World Wide Web itself, EVT is built on open and standard web technologies such as HTML, CSS and JavaScript. Specific features, such as the magnifying lens, are entrusted to jQuery plugins, again chosen among the open source and best supported ones to reduce the risk of future incompatibilities. The general architecture of the software, in any case, is modular, so that any component which may cause trouble or turn out to be not completely up to the task can be replaced easily. ");
  999. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  1000. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](5, "p");
  1001. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](6, "For more information about how to use and/or customize EVT please refer to the EVT Manual included in the archive you downloaded, in the \"doc\" folder. ");
  1002. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  1003. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](7, "p");
  1004. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](8, "EVT is used in the following projects:");
  1005. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  1006. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](9, "ul");
  1007. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](10, "li");
  1008. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](11, "a", 1);
  1009. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](12, "Codice Pelavicino Digitale");
  1010. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  1011. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  1012. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](13, "li");
  1013. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](14, "a", 2);
  1014. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](15, "Vercelli Book Digitale");
  1015. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  1016. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  1017. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  1018. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](16, "p");
  1019. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](17, "EVT has a home page in the ");
  1020. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](18, "a", 3);
  1021. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](19, "SourceForge");
  1022. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  1023. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](20, " repository, but development is done on Gitlab and Github: if you are interested in learning more about EVT and/or in adapting it to your specific needs please contact the project Director, Roberto Rosselli Del Turco ");
  1024. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](21, "a", 4);
  1025. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](22, "roberto.rossellidelturco@gmail.com");
  1026. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  1027. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](23, ". ");
  1028. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  1029. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](24, "p");
  1030. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](25, "For more information please visit our web page at ");
  1031. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](26, "a", 5);
  1032. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](27, "http://evt.labcd.unipi.it/");
  1033. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  1034. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  1035. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](28, "p");
  1036. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](29, "If you have any suggestions or spot an error/bug please contact us at ");
  1037. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](30, "a", 6);
  1038. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](31, "evt.developers@gmail.com");
  1039. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  1040. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  1041. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  1042. } }, styles: ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJldnQtaW5mby5jb21wb25lbnQuc2NzcyJ9 */"] });
  1043. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](EvtInfoComponent, [{
  1044. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
  1045. args: [{
  1046. selector: 'evt-evt-info',
  1047. templateUrl: './evt-info.component.html',
  1048. styleUrls: ['./evt-info.component.scss'],
  1049. }]
  1050. }], null, null); })();
  1051. /***/ }),
  1052. /***/ "5c0l":
  1053. /*!**************************************!*\
  1054. !*** ./src/app/models/evt-models.ts ***!
  1055. \**************************************/
  1056. /*! exports provided: GenericElement, NamedEntitiesList, NamedEntity, LemmatizedEntitiesList, LemmatizedEntity, LemmatizedEntityInfo, LemmatizedEntityRef, NamedEntityInfo, Relation, NamedEntityRef, ApparatusEntry, LemEntry, Reading, Text, Note, Paragraph, Lb, Surface, Zone, ZoneLine, ZoneHotSpot, Graphic, Char, G, Choice, Verse, VersesGroup, Supplied, Damage, Surplus, Gap, Addition, Sic, Word, Deletion, MsFrag, MsPart, MsDesc, Identifier, AltIdentifier, MsIdentifier, MsContents, PhysDesc, History, Head, Institution, Repository, MsName, CollectionEl, MsItemStruct, MsItem, Summary, Acquisition, Origin, OrigDate, OrigPlace, Provenance, ObjectDesc, LayoutDesc, Layout, SupportDesc, Condition, Collation, Foliation, Support, BindingDesc, Binding, DecoDesc, Additions, HandDesc, ScriptDesc, Seal, SealDesc, TypeDesc, TypeNote, MusicNotation, AccMat, Additional, AdminInfo, CustodialHist, CustEvent, RecordHist, Source, Surrogates, Rubric, FinalRubric, Incipit, Explicit, Locus, LocusGrp, DecoNote, Filiation, Dimensions, Height, Width, Depth, Dim, FileDesc, TitleStmt, RespStmt, Resp, EditionStmt, PublicationStmt, SeriesStmt, NotesStmt, SourceDesc, Extent, EncodingDesc, ProjectDesc, SamplingDecl, Correction, Normalization, Punctuation, Quotation, Hyphenation, Segmentation, StdVals, Interpretation, EditorialDecl, Rendition, TagUsage, Namespace, TagsDecl, RefsDecl, RefState, CRefPattern, Abstract, Calendar, CalendarDesc, CorrespAction, CorrespContext, CorrespDesc, Creation, Language, LangUsage, CatRef, ClassCode, Term, Keywords, TextClass, HandNote, HandNotes, Ptr, Transpose, ListTranspose, Channel, Constitution, Derivation, Domain, Factuality, Interaction, Preparedness, Purpose, TextDesc, ParticDesc, Setting, SettingDesc, ProfileDesc, Change, ListChange, RevisionDesc, ProjectInfo */
  1057. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  1058. "use strict";
  1059. __webpack_require__.r(__webpack_exports__);
  1060. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "GenericElement", function() { return GenericElement; });
  1061. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NamedEntitiesList", function() { return NamedEntitiesList; });
  1062. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NamedEntity", function() { return NamedEntity; });
  1063. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "LemmatizedEntitiesList", function() { return LemmatizedEntitiesList; });
  1064. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "LemmatizedEntity", function() { return LemmatizedEntity; });
  1065. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "LemmatizedEntityInfo", function() { return LemmatizedEntityInfo; });
  1066. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "LemmatizedEntityRef", function() { return LemmatizedEntityRef; });
  1067. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NamedEntityInfo", function() { return NamedEntityInfo; });
  1068. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Relation", function() { return Relation; });
  1069. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NamedEntityRef", function() { return NamedEntityRef; });
  1070. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ApparatusEntry", function() { return ApparatusEntry; });
  1071. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "LemEntry", function() { return LemEntry; });
  1072. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Reading", function() { return Reading; });
  1073. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Text", function() { return Text; });
  1074. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Note", function() { return Note; });
  1075. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Paragraph", function() { return Paragraph; });
  1076. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Lb", function() { return Lb; });
  1077. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Surface", function() { return Surface; });
  1078. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Zone", function() { return Zone; });
  1079. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ZoneLine", function() { return ZoneLine; });
  1080. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ZoneHotSpot", function() { return ZoneHotSpot; });
  1081. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Graphic", function() { return Graphic; });
  1082. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Char", function() { return Char; });
  1083. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "G", function() { return G; });
  1084. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Choice", function() { return Choice; });
  1085. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Verse", function() { return Verse; });
  1086. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "VersesGroup", function() { return VersesGroup; });
  1087. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Supplied", function() { return Supplied; });
  1088. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Damage", function() { return Damage; });
  1089. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Surplus", function() { return Surplus; });
  1090. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Gap", function() { return Gap; });
  1091. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Addition", function() { return Addition; });
  1092. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Sic", function() { return Sic; });
  1093. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Word", function() { return Word; });
  1094. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Deletion", function() { return Deletion; });
  1095. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MsFrag", function() { return MsFrag; });
  1096. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MsPart", function() { return MsPart; });
  1097. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MsDesc", function() { return MsDesc; });
  1098. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Identifier", function() { return Identifier; });
  1099. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AltIdentifier", function() { return AltIdentifier; });
  1100. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MsIdentifier", function() { return MsIdentifier; });
  1101. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MsContents", function() { return MsContents; });
  1102. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PhysDesc", function() { return PhysDesc; });
  1103. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "History", function() { return History; });
  1104. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Head", function() { return Head; });
  1105. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Institution", function() { return Institution; });
  1106. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Repository", function() { return Repository; });
  1107. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MsName", function() { return MsName; });
  1108. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CollectionEl", function() { return CollectionEl; });
  1109. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MsItemStruct", function() { return MsItemStruct; });
  1110. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MsItem", function() { return MsItem; });
  1111. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Summary", function() { return Summary; });
  1112. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Acquisition", function() { return Acquisition; });
  1113. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Origin", function() { return Origin; });
  1114. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "OrigDate", function() { return OrigDate; });
  1115. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "OrigPlace", function() { return OrigPlace; });
  1116. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Provenance", function() { return Provenance; });
  1117. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ObjectDesc", function() { return ObjectDesc; });
  1118. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "LayoutDesc", function() { return LayoutDesc; });
  1119. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Layout", function() { return Layout; });
  1120. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SupportDesc", function() { return SupportDesc; });
  1121. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Condition", function() { return Condition; });
  1122. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Collation", function() { return Collation; });
  1123. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Foliation", function() { return Foliation; });
  1124. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Support", function() { return Support; });
  1125. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "BindingDesc", function() { return BindingDesc; });
  1126. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Binding", function() { return Binding; });
  1127. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DecoDesc", function() { return DecoDesc; });
  1128. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Additions", function() { return Additions; });
  1129. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "HandDesc", function() { return HandDesc; });
  1130. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ScriptDesc", function() { return ScriptDesc; });
  1131. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Seal", function() { return Seal; });
  1132. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SealDesc", function() { return SealDesc; });
  1133. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TypeDesc", function() { return TypeDesc; });
  1134. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TypeNote", function() { return TypeNote; });
  1135. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MusicNotation", function() { return MusicNotation; });
  1136. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AccMat", function() { return AccMat; });
  1137. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Additional", function() { return Additional; });
  1138. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AdminInfo", function() { return AdminInfo; });
  1139. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CustodialHist", function() { return CustodialHist; });
  1140. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CustEvent", function() { return CustEvent; });
  1141. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "RecordHist", function() { return RecordHist; });
  1142. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Source", function() { return Source; });
  1143. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Surrogates", function() { return Surrogates; });
  1144. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Rubric", function() { return Rubric; });
  1145. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "FinalRubric", function() { return FinalRubric; });
  1146. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Incipit", function() { return Incipit; });
  1147. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Explicit", function() { return Explicit; });
  1148. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Locus", function() { return Locus; });
  1149. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "LocusGrp", function() { return LocusGrp; });
  1150. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DecoNote", function() { return DecoNote; });
  1151. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Filiation", function() { return Filiation; });
  1152. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Dimensions", function() { return Dimensions; });
  1153. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Height", function() { return Height; });
  1154. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Width", function() { return Width; });
  1155. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Depth", function() { return Depth; });
  1156. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Dim", function() { return Dim; });
  1157. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "FileDesc", function() { return FileDesc; });
  1158. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TitleStmt", function() { return TitleStmt; });
  1159. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "RespStmt", function() { return RespStmt; });
  1160. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Resp", function() { return Resp; });
  1161. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "EditionStmt", function() { return EditionStmt; });
  1162. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PublicationStmt", function() { return PublicationStmt; });
  1163. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SeriesStmt", function() { return SeriesStmt; });
  1164. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NotesStmt", function() { return NotesStmt; });
  1165. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SourceDesc", function() { return SourceDesc; });
  1166. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Extent", function() { return Extent; });
  1167. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "EncodingDesc", function() { return EncodingDesc; });
  1168. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ProjectDesc", function() { return ProjectDesc; });
  1169. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SamplingDecl", function() { return SamplingDecl; });
  1170. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Correction", function() { return Correction; });
  1171. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Normalization", function() { return Normalization; });
  1172. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Punctuation", function() { return Punctuation; });
  1173. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Quotation", function() { return Quotation; });
  1174. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Hyphenation", function() { return Hyphenation; });
  1175. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Segmentation", function() { return Segmentation; });
  1176. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "StdVals", function() { return StdVals; });
  1177. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Interpretation", function() { return Interpretation; });
  1178. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "EditorialDecl", function() { return EditorialDecl; });
  1179. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Rendition", function() { return Rendition; });
  1180. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TagUsage", function() { return TagUsage; });
  1181. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Namespace", function() { return Namespace; });
  1182. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TagsDecl", function() { return TagsDecl; });
  1183. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "RefsDecl", function() { return RefsDecl; });
  1184. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "RefState", function() { return RefState; });
  1185. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CRefPattern", function() { return CRefPattern; });
  1186. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Abstract", function() { return Abstract; });
  1187. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Calendar", function() { return Calendar; });
  1188. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CalendarDesc", function() { return CalendarDesc; });
  1189. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CorrespAction", function() { return CorrespAction; });
  1190. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CorrespContext", function() { return CorrespContext; });
  1191. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CorrespDesc", function() { return CorrespDesc; });
  1192. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Creation", function() { return Creation; });
  1193. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Language", function() { return Language; });
  1194. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "LangUsage", function() { return LangUsage; });
  1195. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CatRef", function() { return CatRef; });
  1196. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ClassCode", function() { return ClassCode; });
  1197. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Term", function() { return Term; });
  1198. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Keywords", function() { return Keywords; });
  1199. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TextClass", function() { return TextClass; });
  1200. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "HandNote", function() { return HandNote; });
  1201. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "HandNotes", function() { return HandNotes; });
  1202. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ptr", function() { return Ptr; });
  1203. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Transpose", function() { return Transpose; });
  1204. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ListTranspose", function() { return ListTranspose; });
  1205. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Channel", function() { return Channel; });
  1206. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Constitution", function() { return Constitution; });
  1207. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Derivation", function() { return Derivation; });
  1208. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Domain", function() { return Domain; });
  1209. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Factuality", function() { return Factuality; });
  1210. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Interaction", function() { return Interaction; });
  1211. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Preparedness", function() { return Preparedness; });
  1212. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Purpose", function() { return Purpose; });
  1213. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TextDesc", function() { return TextDesc; });
  1214. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ParticDesc", function() { return ParticDesc; });
  1215. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Setting", function() { return Setting; });
  1216. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SettingDesc", function() { return SettingDesc; });
  1217. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ProfileDesc", function() { return ProfileDesc; });
  1218. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Change", function() { return Change; });
  1219. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ListChange", function() { return ListChange; });
  1220. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "RevisionDesc", function() { return RevisionDesc; });
  1221. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ProjectInfo", function() { return ProjectInfo; });
  1222. class GenericElement {
  1223. }
  1224. class NamedEntitiesList extends GenericElement {
  1225. }
  1226. class NamedEntity extends GenericElement {
  1227. }
  1228. class LemmatizedEntitiesList extends GenericElement {
  1229. }
  1230. class LemmatizedEntity extends GenericElement {
  1231. }
  1232. class LemmatizedEntityInfo extends GenericElement {
  1233. }
  1234. class LemmatizedEntityRef extends GenericElement {
  1235. }
  1236. class NamedEntityInfo extends GenericElement {
  1237. }
  1238. class Relation extends GenericElement {
  1239. }
  1240. class NamedEntityRef extends GenericElement {
  1241. }
  1242. class ApparatusEntry extends GenericElement {
  1243. }
  1244. /* add LemEntry FS */
  1245. class LemEntry extends GenericElement {
  1246. }
  1247. class Reading extends GenericElement {
  1248. }
  1249. class Text extends GenericElement {
  1250. }
  1251. class Note extends GenericElement {
  1252. }
  1253. class Paragraph extends GenericElement {
  1254. }
  1255. class Lb extends GenericElement {
  1256. }
  1257. class Surface extends GenericElement {
  1258. }
  1259. class Zone extends GenericElement {
  1260. }
  1261. class ZoneLine extends Zone {
  1262. }
  1263. class ZoneHotSpot extends Zone {
  1264. }
  1265. class Graphic extends GenericElement {
  1266. }
  1267. class Char extends GenericElement {
  1268. }
  1269. class G extends GenericElement {
  1270. }
  1271. class Choice extends GenericElement {
  1272. }
  1273. class Verse extends GenericElement {
  1274. }
  1275. class VersesGroup extends GenericElement {
  1276. }
  1277. class Supplied extends GenericElement {
  1278. }
  1279. class Damage extends GenericElement {
  1280. }
  1281. class Surplus extends GenericElement {
  1282. }
  1283. class Gap extends GenericElement {
  1284. }
  1285. class Addition extends GenericElement {
  1286. }
  1287. class Sic extends GenericElement {
  1288. }
  1289. class Word extends GenericElement {
  1290. }
  1291. class Deletion extends GenericElement {
  1292. }
  1293. class MsFrag extends GenericElement {
  1294. }
  1295. class MsPart extends MsFrag {
  1296. }
  1297. class MsDesc extends MsPart {
  1298. }
  1299. // TODO: fix classes MsDesc, MsPart and MsFrag
  1300. class Identifier extends GenericElement {
  1301. }
  1302. class AltIdentifier extends Identifier {
  1303. }
  1304. class MsIdentifier extends Identifier {
  1305. }
  1306. class MsContents extends GenericElement {
  1307. }
  1308. class PhysDesc extends GenericElement {
  1309. }
  1310. class History extends GenericElement {
  1311. }
  1312. class Head extends GenericElement {
  1313. }
  1314. class Institution extends GenericElement {
  1315. }
  1316. class Repository extends GenericElement {
  1317. }
  1318. class MsName extends GenericElement {
  1319. }
  1320. class CollectionEl extends GenericElement {
  1321. }
  1322. class MsItemStruct extends GenericElement {
  1323. }
  1324. class MsItem extends MsItemStruct {
  1325. }
  1326. class Summary extends GenericElement {
  1327. }
  1328. class Acquisition extends GenericElement {
  1329. }
  1330. class Origin extends GenericElement {
  1331. }
  1332. class OrigDate extends GenericElement {
  1333. }
  1334. class OrigPlace extends GenericElement {
  1335. }
  1336. class Provenance extends GenericElement {
  1337. }
  1338. class ObjectDesc extends GenericElement {
  1339. }
  1340. class LayoutDesc extends GenericElement {
  1341. }
  1342. class Layout extends GenericElement {
  1343. }
  1344. class SupportDesc extends GenericElement {
  1345. }
  1346. class Condition extends GenericElement {
  1347. }
  1348. class Collation extends GenericElement {
  1349. }
  1350. class Foliation extends GenericElement {
  1351. }
  1352. class Support extends GenericElement {
  1353. }
  1354. class BindingDesc extends GenericElement {
  1355. }
  1356. class Binding extends GenericElement {
  1357. }
  1358. class DecoDesc extends GenericElement {
  1359. }
  1360. class Additions extends GenericElement {
  1361. }
  1362. class HandDesc extends GenericElement {
  1363. }
  1364. class ScriptDesc extends GenericElement {
  1365. }
  1366. class Seal extends GenericElement {
  1367. }
  1368. class SealDesc extends GenericElement {
  1369. }
  1370. class TypeDesc extends GenericElement {
  1371. }
  1372. class TypeNote extends GenericElement {
  1373. }
  1374. class MusicNotation extends GenericElement {
  1375. }
  1376. class AccMat extends GenericElement {
  1377. }
  1378. class Additional extends GenericElement {
  1379. }
  1380. class AdminInfo extends GenericElement {
  1381. }
  1382. class CustodialHist extends GenericElement {
  1383. }
  1384. class CustEvent extends GenericElement {
  1385. }
  1386. class RecordHist extends GenericElement {
  1387. }
  1388. class Source extends GenericElement {
  1389. }
  1390. class Surrogates extends GenericElement {
  1391. }
  1392. class Rubric extends GenericElement {
  1393. }
  1394. class FinalRubric extends GenericElement {
  1395. }
  1396. class Incipit extends GenericElement {
  1397. }
  1398. class Explicit extends GenericElement {
  1399. }
  1400. class Locus extends GenericElement {
  1401. }
  1402. class LocusGrp extends GenericElement {
  1403. }
  1404. class DecoNote extends GenericElement {
  1405. }
  1406. class Filiation extends GenericElement {
  1407. }
  1408. class Dimensions extends GenericElement {
  1409. }
  1410. class Height extends GenericElement {
  1411. }
  1412. class Width extends GenericElement {
  1413. }
  1414. class Depth extends GenericElement {
  1415. }
  1416. class Dim extends GenericElement {
  1417. }
  1418. class FileDesc extends GenericElement {
  1419. }
  1420. class TitleStmt extends GenericElement {
  1421. }
  1422. class RespStmt extends GenericElement {
  1423. }
  1424. class Resp extends GenericElement {
  1425. }
  1426. class EditionStmt extends GenericElement {
  1427. }
  1428. class PublicationStmt extends GenericElement {
  1429. }
  1430. class SeriesStmt extends GenericElement {
  1431. }
  1432. class NotesStmt extends GenericElement {
  1433. }
  1434. class SourceDesc extends GenericElement {
  1435. }
  1436. class Extent extends GenericElement {
  1437. }
  1438. class EncodingDesc extends GenericElement {
  1439. }
  1440. class ProjectDesc extends GenericElement {
  1441. }
  1442. class SamplingDecl extends GenericElement {
  1443. }
  1444. class Correction extends ProjectDesc {
  1445. }
  1446. class Normalization extends ProjectDesc {
  1447. }
  1448. class Punctuation extends ProjectDesc {
  1449. }
  1450. class Quotation extends ProjectDesc {
  1451. }
  1452. class Hyphenation extends ProjectDesc {
  1453. }
  1454. class Segmentation extends GenericElement {
  1455. }
  1456. class StdVals extends GenericElement {
  1457. }
  1458. class Interpretation extends GenericElement {
  1459. }
  1460. class EditorialDecl extends GenericElement {
  1461. }
  1462. class Rendition extends GenericElement {
  1463. }
  1464. class TagUsage extends GenericElement {
  1465. }
  1466. class Namespace extends GenericElement {
  1467. }
  1468. class TagsDecl extends GenericElement {
  1469. }
  1470. class RefsDecl extends GenericElement {
  1471. }
  1472. class RefState extends GenericElement {
  1473. }
  1474. class CRefPattern extends GenericElement {
  1475. }
  1476. class Abstract extends GenericElement {
  1477. }
  1478. class Calendar extends GenericElement {
  1479. }
  1480. class CalendarDesc extends GenericElement {
  1481. }
  1482. class CorrespAction extends GenericElement {
  1483. }
  1484. class CorrespContext extends GenericElement {
  1485. }
  1486. class CorrespDesc extends GenericElement {
  1487. }
  1488. class Creation extends GenericElement {
  1489. }
  1490. class Language extends GenericElement {
  1491. }
  1492. class LangUsage extends GenericElement {
  1493. }
  1494. class CatRef extends GenericElement {
  1495. }
  1496. class ClassCode extends GenericElement {
  1497. }
  1498. class Term extends GenericElement {
  1499. }
  1500. class Keywords extends GenericElement {
  1501. }
  1502. class TextClass extends GenericElement {
  1503. }
  1504. class HandNote extends GenericElement {
  1505. }
  1506. class HandNotes extends GenericElement {
  1507. }
  1508. class Ptr extends GenericElement {
  1509. }
  1510. class Transpose extends GenericElement {
  1511. }
  1512. class ListTranspose extends GenericElement {
  1513. }
  1514. class Channel extends GenericElement {
  1515. }
  1516. class Constitution extends GenericElement {
  1517. }
  1518. class Derivation extends GenericElement {
  1519. }
  1520. class Domain extends GenericElement {
  1521. }
  1522. class Factuality extends GenericElement {
  1523. }
  1524. class Interaction extends GenericElement {
  1525. }
  1526. class Preparedness extends GenericElement {
  1527. }
  1528. class Purpose extends GenericElement {
  1529. }
  1530. class TextDesc extends GenericElement {
  1531. }
  1532. class ParticDesc extends GenericElement {
  1533. }
  1534. class Setting extends GenericElement {
  1535. }
  1536. class SettingDesc extends GenericElement {
  1537. }
  1538. class ProfileDesc extends GenericElement {
  1539. }
  1540. class Change extends GenericElement {
  1541. }
  1542. class ListChange extends GenericElement {
  1543. }
  1544. class RevisionDesc extends GenericElement {
  1545. }
  1546. class ProjectInfo {
  1547. }
  1548. /***/ }),
  1549. /***/ "5hVl":
  1550. /*!**********************************************!*\
  1551. !*** ./src/app/nav-bar/nav-bar.component.ts ***!
  1552. \**********************************************/
  1553. /*! exports provided: NavBarComponent */
  1554. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  1555. "use strict";
  1556. __webpack_require__.r(__webpack_exports__);
  1557. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NavBarComponent", function() { return NavBarComponent; });
  1558. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "fXoL");
  1559. /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rxjs */ "qCKp");
  1560. /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs/operators */ "kU1M");
  1561. /* harmony import */ var _app_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../app.config */ "aR35");
  1562. /* harmony import */ var _services_evt_status_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../services/evt-status.service */ "7Ht4");
  1563. /* harmony import */ var _services_evt_model_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../services/evt-model.service */ "hI0h");
  1564. /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/common */ "ofXK");
  1565. /* harmony import */ var _ui_components_button_button_component__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../ui-components/button/button.component */ "UjKN");
  1566. /* harmony import */ var _angular_slider_ngx_slider__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @angular-slider/ngx-slider */ "mgaL");
  1567. /* harmony import */ var _components_manuscript_thumbnails_viewer_manuscript_thumbnails_viewer_component__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../components/manuscript-thumbnails-viewer/manuscript-thumbnails-viewer.component */ "xUb2");
  1568. /* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @ngx-translate/core */ "sYmb");
  1569. const _c0 = ["thumbnailsContainer"];
  1570. const _c1 = function () { return { icon: "th" }; };
  1571. function NavBarComponent_evt_button_1_Template(rf, ctx) { if (rf & 1) {
  1572. const _r6 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
  1573. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "evt-button", 9);
  1574. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("btnClick", function NavBarComponent_evt_button_1_Template_evt_button_btnClick_0_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r6); const ctx_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](); return ctx_r5.toggleThumbnailsPanel(); });
  1575. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](1, "async");
  1576. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "translate");
  1577. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  1578. } if (rf & 2) {
  1579. const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
  1580. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("iconRight", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction0"](7, _c1))("active", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](1, 3, ctx_r0.thumbnailsPanelOpened$))("title", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](2, 5, "thumbnails"));
  1581. } }
  1582. const _c2 = function () { return { icon: "rainbow", rotate: 270 }; };
  1583. function NavBarComponent_evt_button_2_Template(rf, ctx) { if (rf & 1) {
  1584. const _r8 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
  1585. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "evt-button", 9);
  1586. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("btnClick", function NavBarComponent_evt_button_2_Template_evt_button_btnClick_0_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r8); const ctx_r7 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](); return ctx_r7.toggleViscollPanel(); });
  1587. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](1, "async");
  1588. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "translate");
  1589. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  1590. } if (rf & 2) {
  1591. const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
  1592. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("iconRight", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction0"](7, _c2))("active", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](1, 3, ctx_r1.viscollPanelOpened$))("title", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](2, 5, "viscoll"));
  1593. } }
  1594. function NavBarComponent_ngx_slider_3_Template(rf, ctx) { if (rf & 1) {
  1595. const _r11 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
  1596. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "ngx-slider", 10);
  1597. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("userChangeEnd", function NavBarComponent_ngx_slider_3_Template_ngx_slider_userChangeEnd_0_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r11); const ctx_r10 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](); return ctx_r10.changePage($event); });
  1598. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](1, "async");
  1599. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  1600. } if (rf & 2) {
  1601. const pageSliderOptions_r9 = ctx.ngIf;
  1602. const ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
  1603. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("value", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](1, 2, ctx_r2.currentPage$))("options", pageSliderOptions_r9);
  1604. } }
  1605. function NavBarComponent_div_22_Template(rf, ctx) { if (rf & 1) {
  1606. const _r14 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
  1607. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 11, 12);
  1608. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "evt-manuscript-thumbnails", 13);
  1609. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("clickedItem", function NavBarComponent_div_22_Template_evt_manuscript_thumbnails_clickedItem_2_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r14); const ctx_r13 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](); return ctx_r13.toggleThumbnailsPanel(); });
  1610. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](3, "async");
  1611. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](4, "async");
  1612. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](5, "async");
  1613. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  1614. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  1615. } if (rf & 2) {
  1616. const ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
  1617. let tmp_1_0 = null;
  1618. let tmp_2_0 = null;
  1619. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
  1620. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("pages", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](3, 3, ctx_r3.evtModelService.pages$))("col", (tmp_1_0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](4, 5, ctx_r3.thViewerSettings$)) == null ? null : tmp_1_0.col)("row", (tmp_2_0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](5, 7, ctx_r3.thViewerSettings$)) == null ? null : tmp_2_0.row);
  1621. } }
  1622. function NavBarComponent_div_24_Template(rf, ctx) { if (rf & 1) {
  1623. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 14);
  1624. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1, " Viscoll coming soon...\n");
  1625. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  1626. } }
  1627. const _c3 = function () { return { icon: "step-backward" }; };
  1628. const _c4 = function () { return { icon: "caret-left" }; };
  1629. const _c5 = function () { return { icon: "caret-right" }; };
  1630. const _c6 = function () { return { icon: "step-forward" }; };
  1631. class NavBarComponent {
  1632. constructor(evtStatusService, cdref, evtModelService) {
  1633. this.evtStatusService = evtStatusService;
  1634. this.cdref = cdref;
  1635. this.evtModelService = evtModelService;
  1636. this.currentPageInfo$ = Object(rxjs__WEBPACK_IMPORTED_MODULE_1__["combineLatest"])([
  1637. this.evtModelService.pages$,
  1638. this.evtStatusService.currentPage$,
  1639. ]);
  1640. this.prevNavigationDisabled$ = this.currentPageInfo$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(([pages, page]) => pages.findIndex((p) => p.id === page.id) === 0));
  1641. this.nextNavigationDisabled$ = this.currentPageInfo$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(([pages, page]) => pages.findIndex((p) => p.id === page.id) === pages.length - 1));
  1642. this.currentPage$ = this.currentPageInfo$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(([pages, page]) => pages.findIndex((p) => p.id === page.id)));
  1643. this.thViewerSettings$ = new rxjs__WEBPACK_IMPORTED_MODULE_1__["BehaviorSubject"]({ col: 1, row: 1 });
  1644. this.thumbnailsButton = _app_config__WEBPACK_IMPORTED_MODULE_3__["AppConfig"].evtSettings.ui.thumbnailsButton;
  1645. this.thumbnailsPanelOpened$ = new rxjs__WEBPACK_IMPORTED_MODULE_1__["BehaviorSubject"](false);
  1646. this.viscollButton = _app_config__WEBPACK_IMPORTED_MODULE_3__["AppConfig"].evtSettings.ui.viscollButton;
  1647. this.viscollPanelOpened$ = new rxjs__WEBPACK_IMPORTED_MODULE_1__["BehaviorSubject"](false);
  1648. this.navigationDisabled$ = Object(rxjs__WEBPACK_IMPORTED_MODULE_1__["combineLatest"])([this.thumbnailsPanelOpened$, this.viscollPanelOpened$]).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(([thumbnailsPanelOpened, viscollPanelOpened]) => thumbnailsPanelOpened || viscollPanelOpened));
  1649. this.pageSliderOptions$ = Object(rxjs__WEBPACK_IMPORTED_MODULE_1__["combineLatest"])([this.navigationDisabled$, this.evtModelService.pages$])
  1650. .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(([navigationDisabled, pages]) => ({
  1651. floor: 0,
  1652. ceil: pages.length - 1,
  1653. showSelectionBar: true,
  1654. translate: (value) => { var _a, _b; return (_b = (_a = pages[value]) === null || _a === void 0 ? void 0 : _a.label) !== null && _b !== void 0 ? _b : ''; },
  1655. disabled: navigationDisabled,
  1656. })));
  1657. }
  1658. ngAfterViewChecked() {
  1659. this.calculateThumbsPerPage();
  1660. }
  1661. changePage(event) {
  1662. this.evtModelService.pages$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["take"])(1)).subscribe((pages) => this.evtStatusService.updatePage$.next(pages[event.value]));
  1663. }
  1664. goToFirstPage() {
  1665. this.evtModelService.pages$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["take"])(1)).subscribe((pages) => this.evtStatusService.updatePage$.next(pages[0]));
  1666. }
  1667. goToPrevPage() {
  1668. Object(rxjs__WEBPACK_IMPORTED_MODULE_1__["combineLatest"])([
  1669. this.evtModelService.pages$,
  1670. this.evtStatusService.currentPage$,
  1671. ]).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["take"])(1)).subscribe(([pages, page]) => {
  1672. const pageIndex = pages.findIndex((p) => p.id === page.id);
  1673. if (pageIndex > 0) {
  1674. this.evtStatusService.updatePage$.next(pages[pageIndex - 1]);
  1675. }
  1676. });
  1677. }
  1678. goToNextPage() {
  1679. Object(rxjs__WEBPACK_IMPORTED_MODULE_1__["combineLatest"])([
  1680. this.evtModelService.pages$,
  1681. this.evtStatusService.currentPage$,
  1682. ]).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["take"])(1)).subscribe(([pages, page]) => {
  1683. const pageIndex = pages.findIndex((p) => p.id === page.id);
  1684. if (pageIndex < pages.length - 1) {
  1685. this.evtStatusService.updatePage$.next(pages[pageIndex + 1]);
  1686. }
  1687. });
  1688. }
  1689. goToLastPage() {
  1690. this.evtModelService.pages$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["take"])(1)).subscribe((pages) => this.evtStatusService.updatePage$.next(pages[pages.length - 1]));
  1691. }
  1692. toggleThumbnailsPanel() {
  1693. this.thumbnailsPanelOpened$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["take"])(1)).subscribe(opened => {
  1694. this.thumbnailsPanelOpened$.next(!opened);
  1695. });
  1696. this.viscollPanelOpened$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["take"])(1)).subscribe(opened => {
  1697. if (opened) {
  1698. this.viscollPanelOpened$.next(!opened);
  1699. }
  1700. });
  1701. }
  1702. toggleViscollPanel() {
  1703. this.viscollPanelOpened$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["take"])(1)).subscribe(opened => {
  1704. this.viscollPanelOpened$.next(!opened);
  1705. });
  1706. this.thumbnailsPanelOpened$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["take"])(1)).subscribe(opened => {
  1707. if (opened) {
  1708. this.thumbnailsPanelOpened$.next(!opened);
  1709. }
  1710. });
  1711. }
  1712. calculateThumbsPerPage() {
  1713. var _a;
  1714. const thContainer = (_a = this.thumbnailsContainer) === null || _a === void 0 ? void 0 : _a.nativeElement;
  1715. if (thContainer) {
  1716. const thMaxHeight = parseInt(window.getComputedStyle(document.documentElement).getPropertyValue('--thumbnail-height'), 10);
  1717. const thMaxWidth = parseInt(window.getComputedStyle(document.documentElement).getPropertyValue('--thumbnail-width'), 10);
  1718. this.thViewerSettings$.next({
  1719. col: Math.floor(thContainer.clientWidth / thMaxWidth),
  1720. row: Math.floor(thContainer.clientHeight / thMaxHeight),
  1721. });
  1722. this.cdref.detectChanges();
  1723. }
  1724. }
  1725. }
  1726. NavBarComponent.ɵfac = function NavBarComponent_Factory(t) { return new (t || NavBarComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_services_evt_status_service__WEBPACK_IMPORTED_MODULE_4__["EVTStatusService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_services_evt_model_service__WEBPACK_IMPORTED_MODULE_5__["EVTModelService"])); };
  1727. NavBarComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: NavBarComponent, selectors: [["evt-nav-bar"]], viewQuery: function NavBarComponent_Query(rf, ctx) { if (rf & 1) {
  1728. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵviewQuery"](_c0, true);
  1729. } if (rf & 2) {
  1730. let _t;
  1731. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵloadQuery"]()) && (ctx.thumbnailsContainer = _t.first);
  1732. } }, decls: 26, vars: 51, consts: [[1, "nav-bar", "w-100"], ["additionalClasses", "mr-1", 3, "iconRight", "active", "title", "btnClick", 4, "ngIf"], ["class", "ml-2 mr-2", 3, "value", "options", "userChangeEnd", 4, "ngIf"], [1, "navigation-btns-container"], ["additionalClasses", "mr-1", 3, "iconRight", "title", "disabled", "btnClick"], ["additionalClasses", "mr-1", 3, "iconLeft", "title", "disabled", "btnClick"], [3, "iconLeft", "title", "disabled", "btnClick"], ["class", "thumbnails-panel", 4, "ngIf"], ["class", "viscoll-panel", 4, "ngIf"], ["additionalClasses", "mr-1", 3, "iconRight", "active", "title", "btnClick"], [1, "ml-2", "mr-2", 3, "value", "options", "userChangeEnd"], [1, "thumbnails-panel"], ["thumbnailsContainer", ""], [3, "pages", "col", "row", "clickedItem"], [1, "viscoll-panel"]], template: function NavBarComponent_Template(rf, ctx) { if (rf & 1) {
  1733. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 0);
  1734. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, NavBarComponent_evt_button_1_Template, 3, 8, "evt-button", 1);
  1735. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, NavBarComponent_evt_button_2_Template, 3, 8, "evt-button", 1);
  1736. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](3, NavBarComponent_ngx_slider_3_Template, 2, 4, "ngx-slider", 2);
  1737. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](4, "async");
  1738. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](5, "div", 3);
  1739. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](6, "evt-button", 4);
  1740. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("btnClick", function NavBarComponent_Template_evt_button_btnClick_6_listener() { return ctx.goToFirstPage(); });
  1741. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](7, "translate");
  1742. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](8, "async");
  1743. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](9, "async");
  1744. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  1745. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](10, "evt-button", 4);
  1746. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("btnClick", function NavBarComponent_Template_evt_button_btnClick_10_listener() { return ctx.goToPrevPage(); });
  1747. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](11, "translate");
  1748. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](12, "async");
  1749. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](13, "async");
  1750. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  1751. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](14, "evt-button", 5);
  1752. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("btnClick", function NavBarComponent_Template_evt_button_btnClick_14_listener() { return ctx.goToNextPage(); });
  1753. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](15, "translate");
  1754. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](16, "async");
  1755. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](17, "async");
  1756. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  1757. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](18, "evt-button", 6);
  1758. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("btnClick", function NavBarComponent_Template_evt_button_btnClick_18_listener() { return ctx.goToLastPage(); });
  1759. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](19, "translate");
  1760. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](20, "async");
  1761. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](21, "async");
  1762. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  1763. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  1764. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  1765. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](22, NavBarComponent_div_22_Template, 6, 9, "div", 7);
  1766. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](23, "async");
  1767. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](24, NavBarComponent_div_24_Template, 2, 0, "div", 8);
  1768. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](25, "async");
  1769. } if (rf & 2) {
  1770. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  1771. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.thumbnailsButton);
  1772. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  1773. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.viscollButton);
  1774. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  1775. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](4, 17, ctx.pageSliderOptions$));
  1776. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
  1777. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("iconRight", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction0"](47, _c3))("title", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](7, 19, "firstPage"))("disabled", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](8, 21, ctx.navigationDisabled$) || _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](9, 23, ctx.prevNavigationDisabled$));
  1778. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
  1779. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("iconRight", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction0"](48, _c4))("title", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](11, 25, "previousPage"))("disabled", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](12, 27, ctx.navigationDisabled$) || _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](13, 29, ctx.prevNavigationDisabled$));
  1780. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
  1781. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("iconLeft", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction0"](49, _c5))("title", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](15, 31, "nextPage"))("disabled", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](16, 33, ctx.navigationDisabled$) || _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](17, 35, ctx.nextNavigationDisabled$));
  1782. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
  1783. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("iconLeft", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction0"](50, _c6))("title", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](19, 37, "lastPage"))("disabled", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](20, 39, ctx.navigationDisabled$) || _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](21, 41, ctx.nextNavigationDisabled$));
  1784. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
  1785. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](23, 43, ctx.thumbnailsPanelOpened$));
  1786. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
  1787. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](25, 45, ctx.viscollPanelOpened$));
  1788. } }, directives: [_angular_common__WEBPACK_IMPORTED_MODULE_6__["NgIf"], _ui_components_button_button_component__WEBPACK_IMPORTED_MODULE_7__["ButtonComponent"], _angular_slider_ngx_slider__WEBPACK_IMPORTED_MODULE_8__["ɵa"], _components_manuscript_thumbnails_viewer_manuscript_thumbnails_viewer_component__WEBPACK_IMPORTED_MODULE_9__["ManuscriptThumbnailsViewerComponent"]], pipes: [_angular_common__WEBPACK_IMPORTED_MODULE_6__["AsyncPipe"], _ngx_translate_core__WEBPACK_IMPORTED_MODULE_10__["TranslatePipe"]], styles: ["[_ngcontent-%COMP%]:root {\n --thumbnail-height: 150px;\n --thumbnail-width: 100px;\n}\n\n.nav-bar[_ngcontent-%COMP%] {\n height: 45px;\n width: 100%;\n padding: 0 20px;\n vertical-align: middle;\n text-align: center;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n[data-theme=restore][_nghost-%COMP%] .nav-bar[_ngcontent-%COMP%], [data-theme=restore] [_nghost-%COMP%] .nav-bar[_ngcontent-%COMP%], [data-theme=restore][_ngcontent-%COMP%] .nav-bar[_ngcontent-%COMP%] {\n color: #e9e9e9;\n background-color: #0a4553;\n}\n\n[data-theme=neutral][_nghost-%COMP%] .nav-bar[_ngcontent-%COMP%], [data-theme=neutral] [_nghost-%COMP%] .nav-bar[_ngcontent-%COMP%], [data-theme=neutral][_ngcontent-%COMP%] .nav-bar[_ngcontent-%COMP%] {\n color: #fff;\n background-color: #45535a;\n}\n\n[data-theme=modern][_nghost-%COMP%] .nav-bar[_ngcontent-%COMP%], [data-theme=modern] [_nghost-%COMP%] .nav-bar[_ngcontent-%COMP%], [data-theme=modern][_ngcontent-%COMP%] .nav-bar[_ngcontent-%COMP%] {\n color: #ECEFF1;\n background-color: #263238;\n}\n\n[data-theme=classic][_nghost-%COMP%] .nav-bar[_ngcontent-%COMP%], [data-theme=classic] [_nghost-%COMP%] .nav-bar[_ngcontent-%COMP%], [data-theme=classic][_ngcontent-%COMP%] .nav-bar[_ngcontent-%COMP%] {\n color: #f5ead4;\n background-color: #362d28;\n}\n\n .nav-bar .ngx-slider {\n max-width: -o-calc(100% - 151px - 130px);\n max-width: calc(100% - 151px - 130px);\n}\n\n .nav-bar .ngx-slider[disabled] {\n opacity: 0.65;\n}\n\n .nav-bar .ngx-slider .ngx-slider-bar-wrapper {\n padding-top: 8px;\n}\n\n .nav-bar .ngx-slider .ngx-slider-bar {\n height: 8px;\n margin-top: 2px;\n left: 0;\n z-index: 1;\n width: 100%;\n border-radius: 2px;\n}\n\n[data-theme=restore][_nghost-%COMP%] .nav-bar .ngx-slider .ngx-slider-bar, [data-theme=restore] [_nghost-%COMP%] .nav-bar .ngx-slider .ngx-slider-bar, [data-theme=restore][_ngcontent-%COMP%] .nav-bar .ngx-slider .ngx-slider-bar {\n background: rgba(233, 233, 233, 0.5);\n}\n\n[data-theme=neutral][_nghost-%COMP%] .nav-bar .ngx-slider .ngx-slider-bar, [data-theme=neutral] [_nghost-%COMP%] .nav-bar .ngx-slider .ngx-slider-bar, [data-theme=neutral][_ngcontent-%COMP%] .nav-bar .ngx-slider .ngx-slider-bar {\n background: rgba(255, 255, 255, 0.5);\n}\n\n[data-theme=modern][_nghost-%COMP%] .nav-bar .ngx-slider .ngx-slider-bar, [data-theme=modern] [_nghost-%COMP%] .nav-bar .ngx-slider .ngx-slider-bar, [data-theme=modern][_ngcontent-%COMP%] .nav-bar .ngx-slider .ngx-slider-bar {\n background: rgba(236, 239, 241, 0.5);\n}\n\n[data-theme=classic][_nghost-%COMP%] .nav-bar .ngx-slider .ngx-slider-bar, [data-theme=classic] [_nghost-%COMP%] .nav-bar .ngx-slider .ngx-slider-bar, [data-theme=classic][_ngcontent-%COMP%] .nav-bar .ngx-slider .ngx-slider-bar {\n background: rgba(245, 234, 212, 0.5);\n}\n\n[data-theme=restore][_nghost-%COMP%] .nav-bar .ngx-slider .ngx-slider-bar.ngx-slider-selection, [data-theme=restore] [_nghost-%COMP%] .nav-bar .ngx-slider .ngx-slider-bar.ngx-slider-selection, [data-theme=restore][_ngcontent-%COMP%] .nav-bar .ngx-slider .ngx-slider-bar.ngx-slider-selection {\n background: #e9e9e9;\n}\n\n[data-theme=neutral][_nghost-%COMP%] .nav-bar .ngx-slider .ngx-slider-bar.ngx-slider-selection, [data-theme=neutral] [_nghost-%COMP%] .nav-bar .ngx-slider .ngx-slider-bar.ngx-slider-selection, [data-theme=neutral][_ngcontent-%COMP%] .nav-bar .ngx-slider .ngx-slider-bar.ngx-slider-selection {\n background: #fff;\n}\n\n[data-theme=modern][_nghost-%COMP%] .nav-bar .ngx-slider .ngx-slider-bar.ngx-slider-selection, [data-theme=modern] [_nghost-%COMP%] .nav-bar .ngx-slider .ngx-slider-bar.ngx-slider-selection, [data-theme=modern][_ngcontent-%COMP%] .nav-bar .ngx-slider .ngx-slider-bar.ngx-slider-selection {\n background: #ECEFF1;\n}\n\n[data-theme=classic][_nghost-%COMP%] .nav-bar .ngx-slider .ngx-slider-bar.ngx-slider-selection, [data-theme=classic] [_nghost-%COMP%] .nav-bar .ngx-slider .ngx-slider-bar.ngx-slider-selection, [data-theme=classic][_ngcontent-%COMP%] .nav-bar .ngx-slider .ngx-slider-bar.ngx-slider-selection {\n background: #f5ead4;\n}\n\n .nav-bar .ngx-slider .ngx-slider-pointer {\n top: -8px;\n width: 22px;\n height: 13px;\n background-color: #eceff1;\n border: 1px solid;\n -o-box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);\n -ms-box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);\n box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);\n outline: 0;\n}\n\n[data-theme=restore][_nghost-%COMP%] .nav-bar .ngx-slider .ngx-slider-pointer, [data-theme=restore] [_nghost-%COMP%] .nav-bar .ngx-slider .ngx-slider-pointer, [data-theme=restore][_ngcontent-%COMP%] .nav-bar .ngx-slider .ngx-slider-pointer {\n border: 1px solid #0a4553;\n}\n\n[data-theme=neutral][_nghost-%COMP%] .nav-bar .ngx-slider .ngx-slider-pointer, [data-theme=neutral] [_nghost-%COMP%] .nav-bar .ngx-slider .ngx-slider-pointer, [data-theme=neutral][_ngcontent-%COMP%] .nav-bar .ngx-slider .ngx-slider-pointer {\n border: 1px solid #45535a;\n}\n\n[data-theme=modern][_nghost-%COMP%] .nav-bar .ngx-slider .ngx-slider-pointer, [data-theme=modern] [_nghost-%COMP%] .nav-bar .ngx-slider .ngx-slider-pointer, [data-theme=modern][_ngcontent-%COMP%] .nav-bar .ngx-slider .ngx-slider-pointer {\n border: 1px solid #263238;\n}\n\n[data-theme=classic][_nghost-%COMP%] .nav-bar .ngx-slider .ngx-slider-pointer, [data-theme=classic] [_nghost-%COMP%] .nav-bar .ngx-slider .ngx-slider-pointer, [data-theme=classic][_ngcontent-%COMP%] .nav-bar .ngx-slider .ngx-slider-pointer {\n border: 1px solid #362d28;\n}\n\n .nav-bar .ngx-slider .ngx-slider-pointer::after {\n display: none;\n}\n\n .nav-bar .ngx-slider .ngx-slider-pointer:hover {\n background: #fff;\n}\n\n .nav-bar .ngx-slider .ngx-slider-bubble {\n font-size: 0.75rem;\n bottom: 13px;\n border: 1px solid;\n border-radius: 4px;\n opacity: 0.8 !important;\n padding: 0 3px;\n cursor: default;\n}\n\n[data-theme=restore][_nghost-%COMP%] .nav-bar .ngx-slider .ngx-slider-bubble, [data-theme=restore] [_nghost-%COMP%] .nav-bar .ngx-slider .ngx-slider-bubble, [data-theme=restore][_ngcontent-%COMP%] .nav-bar .ngx-slider .ngx-slider-bubble {\n background: #e9e9e9;\n color: #0a4553;\n}\n\n[data-theme=neutral][_nghost-%COMP%] .nav-bar .ngx-slider .ngx-slider-bubble, [data-theme=neutral] [_nghost-%COMP%] .nav-bar .ngx-slider .ngx-slider-bubble, [data-theme=neutral][_ngcontent-%COMP%] .nav-bar .ngx-slider .ngx-slider-bubble {\n background: #fff;\n color: #45535a;\n}\n\n[data-theme=modern][_nghost-%COMP%] .nav-bar .ngx-slider .ngx-slider-bubble, [data-theme=modern] [_nghost-%COMP%] .nav-bar .ngx-slider .ngx-slider-bubble, [data-theme=modern][_ngcontent-%COMP%] .nav-bar .ngx-slider .ngx-slider-bubble {\n background: #ECEFF1;\n color: #263238;\n}\n\n[data-theme=classic][_nghost-%COMP%] .nav-bar .ngx-slider .ngx-slider-bubble, [data-theme=classic] [_nghost-%COMP%] .nav-bar .ngx-slider .ngx-slider-bubble, [data-theme=classic][_ngcontent-%COMP%] .nav-bar .ngx-slider .ngx-slider-bubble {\n background: #f5ead4;\n color: #362d28;\n}\n\n .nav-bar .ngx-slider .ngx-slider-model-value {\n opacity: 1 !important;\n}\n\n.thumbnails-panel[_ngcontent-%COMP%], .viscoll-panel[_ngcontent-%COMP%] {\n left: 0;\n bottom: 45px;\n top: 54px;\n height: -o-calc(100% - 45px - 54px - 2);\n height: calc(100% - 45px - 54px - 2);\n overflow-y: auto;\n position: absolute;\n width: 100%;\n border: 1px solid #FFF;\n border-left: none;\n border-right: none;\n z-index: 9;\n}\n\n[data-theme=restore][_nghost-%COMP%] .thumbnails-panel[_ngcontent-%COMP%], [data-theme=restore] [_nghost-%COMP%] .thumbnails-panel[_ngcontent-%COMP%], [data-theme=restore][_ngcontent-%COMP%] .thumbnails-panel[_ngcontent-%COMP%], [data-theme=restore][_nghost-%COMP%] .viscoll-panel[_ngcontent-%COMP%], [data-theme=restore] [_nghost-%COMP%] .viscoll-panel[_ngcontent-%COMP%], [data-theme=restore][_ngcontent-%COMP%] .viscoll-panel[_ngcontent-%COMP%] {\n background: #783a3a;\n color: #e9e9e9;\n}\n\n[data-theme=neutral][_nghost-%COMP%] .thumbnails-panel[_ngcontent-%COMP%], [data-theme=neutral] [_nghost-%COMP%] .thumbnails-panel[_ngcontent-%COMP%], [data-theme=neutral][_ngcontent-%COMP%] .thumbnails-panel[_ngcontent-%COMP%], [data-theme=neutral][_nghost-%COMP%] .viscoll-panel[_ngcontent-%COMP%], [data-theme=neutral] [_nghost-%COMP%] .viscoll-panel[_ngcontent-%COMP%], [data-theme=neutral][_ngcontent-%COMP%] .viscoll-panel[_ngcontent-%COMP%] {\n background: #555;\n color: #fff;\n}\n\n[data-theme=modern][_nghost-%COMP%] .thumbnails-panel[_ngcontent-%COMP%], [data-theme=modern] [_nghost-%COMP%] .thumbnails-panel[_ngcontent-%COMP%], [data-theme=modern][_ngcontent-%COMP%] .thumbnails-panel[_ngcontent-%COMP%], [data-theme=modern][_nghost-%COMP%] .viscoll-panel[_ngcontent-%COMP%], [data-theme=modern] [_nghost-%COMP%] .viscoll-panel[_ngcontent-%COMP%], [data-theme=modern][_ngcontent-%COMP%] .viscoll-panel[_ngcontent-%COMP%] {\n background: #607d8b;\n color: #ECEFF1;\n}\n\n[data-theme=classic][_nghost-%COMP%] .thumbnails-panel[_ngcontent-%COMP%], [data-theme=classic] [_nghost-%COMP%] .thumbnails-panel[_ngcontent-%COMP%], [data-theme=classic][_ngcontent-%COMP%] .thumbnails-panel[_ngcontent-%COMP%], [data-theme=classic][_nghost-%COMP%] .viscoll-panel[_ngcontent-%COMP%], [data-theme=classic] [_nghost-%COMP%] .viscoll-panel[_ngcontent-%COMP%], [data-theme=classic][_ngcontent-%COMP%] .viscoll-panel[_ngcontent-%COMP%] {\n background: #8f776a;\n color: #f5ead4;\n}\n\n .navigation-btns-container .btn {\n min-width: 30px;\n font-size: 1em;\n}\n/*# sourceMappingURL=data:application/json;base64,ey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AgIH1cbiAgfVxuXG4gICY6aG92ZXIge1xuICAgIGJhY2tncm91bmQtY29sb3I6ICRjb2xvci1taWRkbGU7XG4gIH1cbn1cblxuQG1peGluIGlwZXJsZW1tYXRpemVkRW50aXR5UmVmQ29sb3JzKCRjb2xvci1iYXNlLCAkY29sb3ItbWlkZGxlLCAkY29sb3ItZGFya2VyKSB7XG4gIGJhY2tncm91bmQ6ICRjb2xvci1iYXNlO1xuICBib3JkZXItYm90dG9tLWNvbG9yOiAkY29sb3ItbWlkZGxlO1xuXG4gICYuYWN0aXZlIHtcbiAgICBiYWNrZ3JvdW5kLWNvbG9yOiAkY29sb3ItbWlkZGxlO1xuICAgIGJvcmRlci1yaWdodC1jb2xvcjogJGNvbG9yLW1pZGRsZTtcblxuICAgICY6bm90KDpmaXJzdC1jaGlsZCkge1xuICAgICAgYm9yZGVyLWxlZnQtY29sb3I6ICRjb2xvci1taWRkbGU7XG4gICAgfVxuICB9XG5cbiAgJjpob3ZlciB7XG4gICAgYmFja2dyb3VuZC1jb2xvcjogJGNvbG9yLW1pZGRsZTtcbiAgfVxufVxuXG5cbkBtaXhpbiBoZWFkZXJTZWN0aW9uVGl0bGUoKSB7XG4gIGJvcmRlci1ib3R0b206IDFweCBkb3R0ZWQgIzY2NjtcbiAgbWFyZ2luLWJvdHRvbTogNXB4O1xuICBmb250LXZhcmlhbnQ6IHNtYWxsLWNhcHM7XG4gIGNvbG9yOiAjMDAwO1xuICBmb250LXNpemU6IDEuMnJlbTtcbiAgZGlzcGxheTogYmxvY2s7XG4gIG1hcmdpbi10b3A6IDE0cHg7XG4gIHRleHQtYWxpZ246IGxlZnQ7XG59Il19 */"] });
  1789. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](NavBarComponent, [{
  1790. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
  1791. args: [{
  1792. selector: 'evt-nav-bar',
  1793. templateUrl: './nav-bar.component.html',
  1794. styleUrls: ['./nav-bar.component.scss'],
  1795. }]
  1796. }], function () { return [{ type: _services_evt_status_service__WEBPACK_IMPORTED_MODULE_4__["EVTStatusService"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"] }, { type: _services_evt_model_service__WEBPACK_IMPORTED_MODULE_5__["EVTModelService"] }]; }, { thumbnailsContainer: [{
  1797. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewChild"],
  1798. args: ['thumbnailsContainer']
  1799. }] }); })();
  1800. /***/ }),
  1801. /***/ "6Xh2":
  1802. /*!******************************************************!*\
  1803. !*** ./src/app/ui-components/modal/modal.service.ts ***!
  1804. \******************************************************/
  1805. /*! exports provided: ModalService */
  1806. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  1807. "use strict";
  1808. __webpack_require__.r(__webpack_exports__);
  1809. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ModalService", function() { return ModalService; });
  1810. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "fXoL");
  1811. /* harmony import */ var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @ng-bootstrap/ng-bootstrap */ "1kSV");
  1812. class ModalService {
  1813. constructor(ngbModal) {
  1814. this.ngbModal = ngbModal;
  1815. this.openedModals = {};
  1816. }
  1817. open(componentToOpen, options) {
  1818. options = Object.assign(Object.assign({}, options || {}), { keyboard: false });
  1819. const modalRef = this.ngbModal.open(componentToOpen, options);
  1820. if (options && options.id) {
  1821. this.openedModals[options.id] = modalRef;
  1822. }
  1823. return modalRef;
  1824. }
  1825. close(modalRef) {
  1826. if (typeof modalRef === 'string') {
  1827. this.openedModals[modalRef].close();
  1828. }
  1829. else {
  1830. modalRef.close();
  1831. }
  1832. }
  1833. }
  1834. ModalService.ɵfac = function ModalService_Factory(t) { return new (t || ModalService)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_1__["NgbModal"])); };
  1835. ModalService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ token: ModalService, factory: ModalService.ɵfac, providedIn: 'root' });
  1836. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](ModalService, [{
  1837. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"],
  1838. args: [{
  1839. providedIn: 'root',
  1840. }]
  1841. }], function () { return [{ type: _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_1__["NgbModal"] }]; }, null); })();
  1842. /***/ }),
  1843. /***/ "6n9f":
  1844. /*!*********************************************************!*\
  1845. !*** ./src/app/components/ms-frag/ms-frag.component.ts ***!
  1846. \*********************************************************/
  1847. /*! exports provided: MsFragComponent */
  1848. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  1849. "use strict";
  1850. __webpack_require__.r(__webpack_exports__);
  1851. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MsFragComponent", function() { return MsFragComponent; });
  1852. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "mrSG");
  1853. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "fXoL");
  1854. /* harmony import */ var _models_evt_models__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../models/evt-models */ "5c0l");
  1855. /* harmony import */ var _services_component_register_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../services/component-register.service */ "d25s");
  1856. /* harmony import */ var _ui_components_ms_desc_section_ms_desc_section_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../ui-components/ms-desc-section/ms-desc-section.component */ "WyXU");
  1857. /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/common */ "ofXK");
  1858. /* harmony import */ var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../content-viewer/content-viewer.component */ "t6RO");
  1859. /* harmony import */ var _ms_identifier_ms_identifier_component__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../ms-identifier/ms-identifier.component */ "Ie87");
  1860. /* harmony import */ var _identifier_identifier_component__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../identifier/identifier.component */ "FSWR");
  1861. /* harmony import */ var _ms_contents_ms_contents_component__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../ms-contents/ms-contents.component */ "xQyG");
  1862. /* harmony import */ var _phys_desc_phys_desc_component__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../phys-desc/phys-desc.component */ "xZwa");
  1863. /* harmony import */ var _history_history_component__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../history/history.component */ "6qKx");
  1864. /* harmony import */ var _additional_additional_component__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../additional/additional.component */ "uIHG");
  1865. function MsFragComponent_div_2_evt_content_viewer_4_Template(rf, ctx) { if (rf & 1) {
  1866. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 10);
  1867. } if (rf & 2) {
  1868. const par_r8 = ctx.$implicit;
  1869. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", par_r8);
  1870. } }
  1871. function MsFragComponent_div_2_Template(rf, ctx) { if (rf & 1) {
  1872. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 5);
  1873. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "div", 6);
  1874. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](2, "evt-ms-desc-section", 7);
  1875. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  1876. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](3, "div", 8);
  1877. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, MsFragComponent_div_2_evt_content_viewer_4_Template, 1, 1, "evt-content-viewer", 9);
  1878. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  1879. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  1880. } if (rf & 2) {
  1881. const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  1882. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  1883. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "summary")("inlineLabel", true);
  1884. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  1885. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r0.data.pEl);
  1886. } }
  1887. function MsFragComponent_evt_ms_identifier_3_Template(rf, ctx) { if (rf & 1) {
  1888. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-ms-identifier", 11);
  1889. } if (rf & 2) {
  1890. const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  1891. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("data", ctx_r1.data.msIdentifier);
  1892. } }
  1893. function MsFragComponent_div_4_div_3_evt_content_viewer_4_Template(rf, ctx) { if (rf & 1) {
  1894. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 10);
  1895. } if (rf & 2) {
  1896. const no_r12 = ctx.$implicit;
  1897. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", no_r12);
  1898. } }
  1899. function MsFragComponent_div_4_div_3_Template(rf, ctx) { if (rf & 1) {
  1900. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 5);
  1901. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "div", 6);
  1902. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](2, "evt-ms-desc-section", 7);
  1903. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  1904. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](3, "div", 8);
  1905. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, MsFragComponent_div_4_div_3_evt_content_viewer_4_Template, 1, 1, "evt-content-viewer", 9);
  1906. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  1907. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  1908. } if (rf & 2) {
  1909. const altIdentifier_r9 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]().ngIf;
  1910. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  1911. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "note")("inlineLabel", true);
  1912. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  1913. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", altIdentifier_r9.noteEl);
  1914. } }
  1915. function MsFragComponent_div_4_Template(rf, ctx) { if (rf & 1) {
  1916. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div");
  1917. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](1, "evt-ms-desc-section", 1);
  1918. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](2, "evt-identifier", 12);
  1919. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, MsFragComponent_div_4_div_3_Template, 5, 3, "div", 2);
  1920. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  1921. } if (rf & 2) {
  1922. const altIdentifier_r9 = ctx.ngIf;
  1923. const ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  1924. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  1925. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "altIdentifierLabel")("underline", true);
  1926. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  1927. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("data", ctx_r2.data.altIdentifier)("listClass", false);
  1928. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  1929. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", altIdentifier_r9.noteEl.length > 0);
  1930. } }
  1931. function MsFragComponent_evt_ms_contents_5_Template(rf, ctx) { if (rf & 1) {
  1932. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-ms-contents", 11);
  1933. } if (rf & 2) {
  1934. const ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  1935. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("data", ctx_r3.data.msContents);
  1936. } }
  1937. function MsFragComponent_evt_phys_desc_6_Template(rf, ctx) { if (rf & 1) {
  1938. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-phys-desc", 11);
  1939. } if (rf & 2) {
  1940. const ctx_r4 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  1941. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("data", ctx_r4.data.physDesc);
  1942. } }
  1943. function MsFragComponent_evt_history_7_Template(rf, ctx) { if (rf & 1) {
  1944. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-history", 11);
  1945. } if (rf & 2) {
  1946. const ctx_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  1947. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("data", ctx_r5.data.history);
  1948. } }
  1949. function MsFragComponent_evt_additional_8_Template(rf, ctx) { if (rf & 1) {
  1950. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-additional", 11);
  1951. } if (rf & 2) {
  1952. const ctx_r6 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  1953. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("data", ctx_r6.data.additional);
  1954. } }
  1955. let MsFragComponent = class MsFragComponent {
  1956. };
  1957. MsFragComponent.ɵfac = function MsFragComponent_Factory(t) { return new (t || MsFragComponent)(); };
  1958. MsFragComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({ type: MsFragComponent, selectors: [["evt-ms-frag"]], inputs: { data: "data" }, decls: 9, vars: 9, consts: [[1, "msFrag"], [3, "label", "underline"], ["class", "flex-container", 4, "ngIf"], [3, "data", 4, "ngIf"], [4, "ngIf"], [1, "flex-container"], [1, "flex-item-label"], [3, "label", "inlineLabel"], [1, "flex-item-information"], [3, "content", 4, "ngFor", "ngForOf"], [3, "content"], [3, "data"], [3, "data", "listClass"]], template: function MsFragComponent_Template(rf, ctx) { if (rf & 1) {
  1959. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 0);
  1960. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](1, "evt-ms-desc-section", 1);
  1961. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, MsFragComponent_div_2_Template, 5, 3, "div", 2);
  1962. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, MsFragComponent_evt_ms_identifier_3_Template, 1, 1, "evt-ms-identifier", 3);
  1963. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, MsFragComponent_div_4_Template, 4, 5, "div", 4);
  1964. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](5, MsFragComponent_evt_ms_contents_5_Template, 1, 1, "evt-ms-contents", 3);
  1965. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](6, MsFragComponent_evt_phys_desc_6_Template, 1, 1, "evt-phys-desc", 3);
  1966. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](7, MsFragComponent_evt_history_7_Template, 1, 1, "evt-history", 3);
  1967. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](8, MsFragComponent_evt_additional_8_Template, 1, 1, "evt-additional", 3);
  1968. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  1969. } if (rf & 2) {
  1970. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  1971. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "msFrag")("underline", false);
  1972. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  1973. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", (ctx.data == null ? null : ctx.data.pEl.length) > 0);
  1974. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  1975. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data == null ? null : ctx.data.msIdentifier);
  1976. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  1977. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data == null ? null : ctx.data.altIdentifier);
  1978. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  1979. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data == null ? null : ctx.data.msContents);
  1980. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  1981. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data == null ? null : ctx.data.physDesc);
  1982. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  1983. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data == null ? null : ctx.data.history);
  1984. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  1985. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data == null ? null : ctx.data.additional);
  1986. } }, directives: [_ui_components_ms_desc_section_ms_desc_section_component__WEBPACK_IMPORTED_MODULE_4__["MsDescSectionComponent"], _angular_common__WEBPACK_IMPORTED_MODULE_5__["NgIf"], _angular_common__WEBPACK_IMPORTED_MODULE_5__["NgForOf"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_6__["ContentViewerComponent"], _ms_identifier_ms_identifier_component__WEBPACK_IMPORTED_MODULE_7__["MsIdentifierComponent"], _identifier_identifier_component__WEBPACK_IMPORTED_MODULE_8__["IdentifierComponent"], _ms_contents_ms_contents_component__WEBPACK_IMPORTED_MODULE_9__["MsContentsComponent"], _phys_desc_phys_desc_component__WEBPACK_IMPORTED_MODULE_10__["PhysDescComponent"], _history_history_component__WEBPACK_IMPORTED_MODULE_11__["HistoryComponent"], _additional_additional_component__WEBPACK_IMPORTED_MODULE_12__["AdditionalComponent"]], styles: [".msFrag[_ngcontent-%COMP%] {\n margin-bottom: 2rem;\n}\n\n.flex-container[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n}\n\n.flex-item-label[_ngcontent-%COMP%] {\n flex-basis: 100%;\n}\n\n.flex-item-information[_ngcontent-%COMP%] {\n flex-basis: 100%;\n margin-bottom: 0.7rem;\n}\n\n@media (min-width: 500px) {\n .flex-item-label[_ngcontent-%COMP%] {\n flex-basis: 20%;\n }\n\n .flex-item-information[_ngcontent-%COMP%] {\n flex-basis: 80%;\n }\n}\n\n@media (min-width: 640px) {\n .flex-item-label[_ngcontent-%COMP%] {\n flex-basis: 100%;\n }\n\n .flex-item-information[_ngcontent-%COMP%] {\n flex-basis: 100%;\n }\n}\n\n@media (min-width: 1000px) {\n .flex-item-label[_ngcontent-%COMP%] {\n flex-basis: 20%;\n }\n\n .flex-item-information[_ngcontent-%COMP%] {\n flex-basis: 80%;\n }\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL21zLWZyYWcuY29tcG9uZW50LnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7RUFDSSxtQkFBQTtBQUNKOztBQUVBO0VBQ0ksYUFBQTtFQUNBLG1CQUFBO0VBQ0EsZUFBQTtBQUNKOztBQUVBO0VBQ0ksZ0JBQUE7QUFDSjs7QUFFQTtFQUNJLGdCQUFBO0VBQ0EscUJBQUE7QUFDSjs7QUFFQTtFQUNJO0lBQ0ksZUFBQTtFQUNOOztFQUVFO0lBQ0ksZUFBQTtFQUNOO0FBQ0Y7O0FBRUE7RUFDSTtJQUNJLGdCQUFBO0VBQU47O0VBR0U7SUFDSSxnQkFBQTtFQUFOO0FBQ0Y7O0FBR0E7RUFDSTtJQUNJLGVBQUE7RUFETjs7RUFJRTtJQUNJLGVBQUE7RUFETjtBQUNGIiwiZmlsZSI6Im1zLWZyYWcuY29tcG9uZW50LnNjc3MiLCJzb3VyY2VzQ29udGVudCI6WyIubXNGcmFnIHtcbiAgICBtYXJnaW4tYm90dG9tOiAycmVtO1xufVxuXG4uZmxleC1jb250YWluZXIge1xuICAgIGRpc3BsYXk6IGZsZXg7XG4gICAgZmxleC1kaXJlY3Rpb246IHJvdztcbiAgICBmbGV4LXdyYXA6IHdyYXA7XG59XG5cbi5mbGV4LWl0ZW0tbGFiZWwge1xuICAgIGZsZXgtYmFzaXM6IDEwMCU7XG59XG5cbi5mbGV4LWl0ZW0taW5mb3JtYXRpb24ge1xuICAgIGZsZXgtYmFzaXM6IDEwMCU7XG4gICAgbWFyZ2luLWJvdHRvbTogMC43cmVtO1xufVxuXG5AbWVkaWEgKG1pbi13aWR0aDogNTAwcHgpIHsgXG4gICAgLmZsZXgtaXRlbS1sYWJlbCB7XG4gICAgICAgIGZsZXgtYmFzaXM6IDIwJTtcbiAgICAgIH1cbiAgICAgIFxuICAgIC5mbGV4LWl0ZW0taW5mb3JtYXRpb24ge1xuICAgICAgICBmbGV4LWJhc2lzOiA4MCU7XG4gICAgfVxufVxuXG5AbWVkaWEgKG1pbi13aWR0aDogNjQwcHgpIHsgXG4gICAgLmZsZXgtaXRlbS1sYWJlbCB7XG4gICAgICAgIGZsZXgtYmFzaXM6IDEwMCU7XG4gICAgfVxuXG4gICAgLmZsZXgtaXRlbS1pbmZvcm1hdGlvbiB7XG4gICAgICAgIGZsZXgtYmFzaXM6MTAwJVxuICAgIH1cbiB9XG5cbkBtZWRpYSAobWluLXdpZHRoOiAxMDAwcHgpIHsgXG4gICAgLmZsZXgtaXRlbS1sYWJlbCB7XG4gICAgICAgIGZsZXgtYmFzaXM6IDIwJTtcbiAgICB9XG4gICAgICBcbiAgICAuZmxleC1pdGVtLWluZm9ybWF0aW9uIHtcbiAgICAgICAgZmxleC1iYXNpczogODAlO1xuICAgIH1cbn1cblxuIl19 */"] });
  1987. MsFragComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  1988. Object(_services_component_register_service__WEBPACK_IMPORTED_MODULE_3__["register"])(_models_evt_models__WEBPACK_IMPORTED_MODULE_2__["MsFrag"])
  1989. ], MsFragComponent);
  1990. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](MsFragComponent, [{
  1991. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
  1992. args: [{
  1993. selector: 'evt-ms-frag',
  1994. templateUrl: './ms-frag.component.html',
  1995. styleUrls: ['./ms-frag.component.scss'],
  1996. }]
  1997. }], null, { data: [{
  1998. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
  1999. }] }); })();
  2000. /***/ }),
  2001. /***/ "6qKx":
  2002. /*!*********************************************************!*\
  2003. !*** ./src/app/components/history/history.component.ts ***!
  2004. \*********************************************************/
  2005. /*! exports provided: HistoryComponent */
  2006. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  2007. "use strict";
  2008. __webpack_require__.r(__webpack_exports__);
  2009. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "HistoryComponent", function() { return HistoryComponent; });
  2010. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "mrSG");
  2011. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "fXoL");
  2012. /* harmony import */ var _models_evt_models__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../models/evt-models */ "5c0l");
  2013. /* harmony import */ var _services_component_register_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../services/component-register.service */ "d25s");
  2014. /* harmony import */ var _ui_components_ms_desc_section_ms_desc_section_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../ui-components/ms-desc-section/ms-desc-section.component */ "WyXU");
  2015. /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/common */ "ofXK");
  2016. /* harmony import */ var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../content-viewer/content-viewer.component */ "t6RO");
  2017. function HistoryComponent_div_2_evt_content_viewer_5_Template(rf, ctx) { if (rf & 1) {
  2018. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 7);
  2019. } if (rf & 2) {
  2020. const par_r5 = ctx.$implicit;
  2021. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", par_r5);
  2022. } }
  2023. function HistoryComponent_div_2_Template(rf, ctx) { if (rf & 1) {
  2024. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 3);
  2025. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "div", 4);
  2026. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](2, "evt-ms-desc-section", 5);
  2027. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  2028. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](3, "div", 6);
  2029. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](4, "evt-content-viewer", 7);
  2030. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](5, HistoryComponent_div_2_evt_content_viewer_5_Template, 1, 1, "evt-content-viewer", 8);
  2031. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  2032. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  2033. } if (rf & 2) {
  2034. const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  2035. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  2036. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "summary")("inlineLabel", true);
  2037. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  2038. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", ctx_r0.data == null ? null : ctx_r0.data.summary);
  2039. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  2040. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r0.data.pEl);
  2041. } }
  2042. function HistoryComponent_div_3_Template(rf, ctx) { if (rf & 1) {
  2043. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 3);
  2044. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "div", 4);
  2045. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](2, "evt-ms-desc-section", 5);
  2046. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  2047. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](3, "div", 6);
  2048. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](4, "evt-content-viewer", 7);
  2049. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  2050. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  2051. } if (rf & 2) {
  2052. const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  2053. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  2054. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "origin")("inlineLabel", true);
  2055. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  2056. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", ctx_r1.data == null ? null : ctx_r1.data.origin);
  2057. } }
  2058. function HistoryComponent_div_4_evt_content_viewer_4_Template(rf, ctx) { if (rf & 1) {
  2059. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 10);
  2060. } if (rf & 2) {
  2061. const p_r7 = ctx.$implicit;
  2062. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", p_r7);
  2063. } }
  2064. function HistoryComponent_div_4_Template(rf, ctx) { if (rf & 1) {
  2065. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 3);
  2066. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "div", 4);
  2067. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](2, "evt-ms-desc-section", 5);
  2068. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  2069. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](3, "div", 6);
  2070. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, HistoryComponent_div_4_evt_content_viewer_4_Template, 1, 1, "evt-content-viewer", 9);
  2071. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  2072. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  2073. } if (rf & 2) {
  2074. const ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  2075. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  2076. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "provenance")("inlineLabel", true);
  2077. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  2078. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r2.data.provenance);
  2079. } }
  2080. function HistoryComponent_div_5_Template(rf, ctx) { if (rf & 1) {
  2081. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 3);
  2082. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "div", 4);
  2083. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](2, "evt-ms-desc-section", 5);
  2084. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  2085. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](3, "div", 6);
  2086. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](4, "evt-content-viewer", 7);
  2087. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  2088. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  2089. } if (rf & 2) {
  2090. const ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  2091. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  2092. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "acquisition")("inlineLabel", true);
  2093. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  2094. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", ctx_r3.data == null ? null : ctx_r3.data.acquisition);
  2095. } }
  2096. let HistoryComponent = class HistoryComponent {
  2097. };
  2098. HistoryComponent.ɵfac = function HistoryComponent_Factory(t) { return new (t || HistoryComponent)(); };
  2099. HistoryComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({ type: HistoryComponent, selectors: [["evt-history"]], inputs: { data: "data" }, decls: 6, vars: 6, consts: [[1, "history"], [3, "label", "underline"], ["class", "flex-container", 4, "ngIf"], [1, "flex-container"], [1, "flex-item-label"], [3, "label", "inlineLabel"], [1, "flex-item-information"], [3, "content"], [3, "content", 4, "ngFor", "ngForOf"], ["class", "projectInfo-block", 3, "content", 4, "ngFor", "ngForOf"], [1, "projectInfo-block", 3, "content"]], template: function HistoryComponent_Template(rf, ctx) { if (rf & 1) {
  2100. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 0);
  2101. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](1, "evt-ms-desc-section", 1);
  2102. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, HistoryComponent_div_2_Template, 6, 4, "div", 2);
  2103. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, HistoryComponent_div_3_Template, 5, 3, "div", 2);
  2104. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, HistoryComponent_div_4_Template, 5, 3, "div", 2);
  2105. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](5, HistoryComponent_div_5_Template, 5, 3, "div", 2);
  2106. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  2107. } if (rf & 2) {
  2108. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  2109. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "history")("underline", true);
  2110. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  2111. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", (ctx.data == null ? null : ctx.data.summary) || (ctx.data == null ? null : ctx.data.pEl.length) > 0);
  2112. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  2113. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data == null ? null : ctx.data.origin);
  2114. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  2115. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", (ctx.data == null ? null : ctx.data.provenance.length) > 0);
  2116. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  2117. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data == null ? null : ctx.data.acquisition);
  2118. } }, directives: [_ui_components_ms_desc_section_ms_desc_section_component__WEBPACK_IMPORTED_MODULE_4__["MsDescSectionComponent"], _angular_common__WEBPACK_IMPORTED_MODULE_5__["NgIf"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_6__["ContentViewerComponent"], _angular_common__WEBPACK_IMPORTED_MODULE_5__["NgForOf"]], styles: [".history[_ngcontent-%COMP%] {\n margin-bottom: 2rem;\n}\n\n.projectInfo-block[_ngcontent-%COMP%] {\n display: block;\n}\n\n.flex-container[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n}\n\n.flex-item-label[_ngcontent-%COMP%] {\n flex-basis: 100%;\n}\n\n.flex-item-information[_ngcontent-%COMP%] {\n flex-basis: 100%;\n margin-bottom: 0.7rem;\n}\n\n@media (min-width: 612px) {\n .flex-item-label[_ngcontent-%COMP%] {\n flex-basis: 20%;\n }\n\n .flex-item-information[_ngcontent-%COMP%] {\n flex-basis: 80%;\n }\n}\n\n@media (min-width: 640px) {\n .flex-item-label[_ngcontent-%COMP%] {\n flex-basis: 100%;\n }\n\n .flex-item-information[_ngcontent-%COMP%] {\n flex-basis: 100%;\n }\n}\n\n@media (min-width: 1224px) {\n .flex-item-label[_ngcontent-%COMP%] {\n flex-basis: 20%;\n }\n\n .flex-item-information[_ngcontent-%COMP%] {\n flex-basis: 80%;\n }\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2hpc3RvcnkuY29tcG9uZW50LnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7RUFDSSxtQkFBQTtBQUNKOztBQUVBO0VBQ0ksY0FBQTtBQUNKOztBQUVBO0VBQ0ksYUFBQTtFQUNBLG1CQUFBO0VBQ0EsZUFBQTtBQUNKOztBQUVBO0VBQ0ksZ0JBQUE7QUFDSjs7QUFFQTtFQUNJLGdCQUFBO0VBQ0EscUJBQUE7QUFDSjs7QUFFQTtFQUNJO0lBQ0ksZUFBQTtFQUNOOztFQUVFO0lBQ0ksZUFBQTtFQUNOO0FBQ0Y7O0FBRUE7RUFDSTtJQUNJLGdCQUFBO0VBQU47O0VBR0U7S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BmbGV4LWJhc2lzOiAyMCU7XG4gICAgICB9XG4gICAgICBcbiAgICAuZmxleC1pdGVtLWluZm9ybWF0aW9uIHtcbiAgICAgICAgZmxleC1iYXNpczogODAlO1xuICAgIH1cbiB9XG4iXX0= */"] });
  2119. HistoryComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  2120. Object(_services_component_register_service__WEBPACK_IMPORTED_MODULE_3__["register"])(_models_evt_models__WEBPACK_IMPORTED_MODULE_2__["History"])
  2121. ], HistoryComponent);
  2122. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](HistoryComponent, [{
  2123. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
  2124. args: [{
  2125. selector: 'evt-history',
  2126. templateUrl: './history.component.html',
  2127. styleUrls: ['./history.component.scss'],
  2128. }]
  2129. }], null, { data: [{
  2130. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
  2131. }] }); })();
  2132. /***/ }),
  2133. /***/ "6rJU":
  2134. /*!******************************************************!*\
  2135. !*** ./src/app/main-header/main-header.component.ts ***!
  2136. \******************************************************/
  2137. /*! exports provided: MainHeaderComponent */
  2138. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  2139. "use strict";
  2140. __webpack_require__.r(__webpack_exports__);
  2141. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MainHeaderComponent", function() { return MainHeaderComponent; });
  2142. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "fXoL");
  2143. /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rxjs */ "qCKp");
  2144. /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs/operators */ "kU1M");
  2145. /* harmony import */ var _app_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../app.config */ "aR35");
  2146. /* harmony import */ var _utils_js_utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../utils/js-utils */ "zSMA");
  2147. /* harmony import */ var _services_themes_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../services/themes.service */ "onZX");
  2148. /* harmony import */ var _services_evt_model_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../services/evt-model.service */ "hI0h");
  2149. /* harmony import */ var _services_evt_status_service__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../services/evt-status.service */ "7Ht4");
  2150. /* harmony import */ var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @ng-bootstrap/ng-bootstrap */ "1kSV");
  2151. /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @angular/common */ "ofXK");
  2152. /* harmony import */ var _ui_components_button_button_component__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../ui-components/button/button.component */ "UjKN");
  2153. /* harmony import */ var _ui_components_icon_icon_component__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../ui-components/icon/icon.component */ "Mijh");
  2154. /* harmony import */ var _main_menu_main_menu_component__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../main-menu/main-menu.component */ "9jgp");
  2155. /* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @ngx-translate/core */ "sYmb");
  2156. const _c0 = function () { return { icon: "external-link-alt", iconSet: "fas" }; };
  2157. function MainHeaderComponent_a_7_Template(rf, ctx) { if (rf & 1) {
  2158. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "a", 9);
  2159. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](1, "evt-icon", 10);
  2160. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  2161. } if (rf & 2) {
  2162. const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
  2163. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("href", ctx_r0.editionHome, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵsanitizeUrl"]);
  2164. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  2165. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("iconInfo", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction0"](2, _c0));
  2166. } }
  2167. function MainHeaderComponent_span_8_Template(rf, ctx) { if (rf & 1) {
  2168. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "span", 11);
  2169. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
  2170. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  2171. } if (rf & 2) {
  2172. const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
  2173. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  2174. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](ctx_r1.editionConfig == null ? null : ctx_r1.editionConfig.badge);
  2175. } }
  2176. const _c1 = function (a0) { return { icon: a0, iconSet: "evt", additionalClasses: "viewMode-selector" }; };
  2177. function MainHeaderComponent_evt_button_10_Template(rf, ctx) { if (rf & 1) {
  2178. const _r6 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
  2179. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "evt-button", 12);
  2180. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("btnClick", function MainHeaderComponent_evt_button_10_Template_evt_button_btnClick_0_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r6); const viewMode_r4 = ctx.$implicit; const ctx_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](); return ctx_r5.selectViewMode(viewMode_r4); });
  2181. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](1, "async");
  2182. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  2183. } if (rf & 2) {
  2184. const viewMode_r4 = ctx.$implicit;
  2185. const ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
  2186. let tmp_1_0 = null;
  2187. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("title", viewMode_r4.label)("active", viewMode_r4.id === ((tmp_1_0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](1, 4, ctx_r2.currentViewMode$)) == null ? null : tmp_1_0.id))("inverted", true)("iconLeft", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction1"](6, _c1, viewMode_r4.icon));
  2188. } }
  2189. function MainHeaderComponent_evt_main_menu_12_Template(rf, ctx) { if (rf & 1) {
  2190. const _r8 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
  2191. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "evt-main-menu", 13);
  2192. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("itemClicked", function MainHeaderComponent_evt_main_menu_12_Template_evt_main_menu_itemClicked_0_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r8); const ctx_r7 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](); return ctx_r7.handleItemClicked($event); });
  2193. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  2194. } }
  2195. const _c2 = function () { return { icon: "ellipsis-v" }; };
  2196. class MainHeaderComponent {
  2197. constructor(themes, evtModelService, evtStatusService) {
  2198. var _a, _b, _c, _d;
  2199. this.themes = themes;
  2200. this.evtModelService = evtModelService;
  2201. this.evtStatusService = evtStatusService;
  2202. this.title$ = Object(rxjs__WEBPACK_IMPORTED_MODULE_1__["combineLatest"])([
  2203. Object(rxjs__WEBPACK_IMPORTED_MODULE_1__["of"])((_b = (_a = _app_config__WEBPACK_IMPORTED_MODULE_3__["AppConfig"] === null || _app_config__WEBPACK_IMPORTED_MODULE_3__["AppConfig"] === void 0 ? void 0 : _app_config__WEBPACK_IMPORTED_MODULE_3__["AppConfig"].evtSettings) === null || _a === void 0 ? void 0 : _a.edition) === null || _b === void 0 ? void 0 : _b.editionTitle),
  2204. this.evtModelService.title$,
  2205. ]).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(([configTitle, editionTitle]) => { var _a; return (_a = configTitle !== null && configTitle !== void 0 ? configTitle : editionTitle) !== null && _a !== void 0 ? _a : 'defaultTitle'; }));
  2206. this.viewModes = (_d = (_c = _app_config__WEBPACK_IMPORTED_MODULE_3__["AppConfig"].evtSettings.edition.availableViewModes) === null || _c === void 0 ? void 0 : _c.filter((e => !e.disabled))) !== null && _d !== void 0 ? _d : [];
  2207. this.currentViewMode$ = this.evtStatusService.currentViewMode$;
  2208. this.mainMenuOpened = false;
  2209. this.editionConfig = _app_config__WEBPACK_IMPORTED_MODULE_3__["AppConfig"].evtSettings.edition;
  2210. this.subscriptions = [];
  2211. }
  2212. get editionHome() { return Object(_utils_js_utils__WEBPACK_IMPORTED_MODULE_4__["normalizeUrl"])(this.editionConfig.editionHome); }
  2213. get logoUrl() {
  2214. var _a, _b, _c;
  2215. const customLogo = (_c = (_b = (_a = _app_config__WEBPACK_IMPORTED_MODULE_3__["AppConfig"] === null || _app_config__WEBPACK_IMPORTED_MODULE_3__["AppConfig"] === void 0 ? void 0 : _app_config__WEBPACK_IMPORTED_MODULE_3__["AppConfig"].evtSettings) === null || _a === void 0 ? void 0 : _a.files) === null || _b === void 0 ? void 0 : _b.logoUrl) !== null && _c !== void 0 ? _c : undefined;
  2216. return customLogo !== null && customLogo !== void 0 ? customLogo : '/evt/assets/images/logo.png';
  2217. }
  2218. selectViewMode(viewMode) {
  2219. this.evtStatusService.updateViewMode$.next(viewMode);
  2220. }
  2221. toggleMainMenu(clickEvent) {
  2222. clickEvent.event.stopPropagation();
  2223. this.mainMenuOpened = !this.mainMenuOpened;
  2224. }
  2225. handleItemClicked(itemClicked) {
  2226. if (itemClicked) {
  2227. this.mainMenuOpened = (itemClicked === 'theme' || itemClicked === 'language');
  2228. }
  2229. }
  2230. // tslint:disable-next-line: variable-name
  2231. trackViewModes(_index, item) {
  2232. return item.id;
  2233. }
  2234. openEditionHome() {
  2235. if (this.editionHome) {
  2236. window.open(this.editionHome, '_blank');
  2237. }
  2238. }
  2239. ngOnDestroy() {
  2240. this.subscriptions.forEach(subscription => subscription.unsubscribe());
  2241. }
  2242. }
  2243. MainHeaderComponent.ɵfac = function MainHeaderComponent_Factory(t) { return new (t || MainHeaderComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_services_themes_service__WEBPACK_IMPORTED_MODULE_5__["ThemesService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_services_evt_model_service__WEBPACK_IMPORTED_MODULE_6__["EVTModelService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_services_evt_status_service__WEBPACK_IMPORTED_MODULE_7__["EVTStatusService"])); };
  2244. MainHeaderComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: MainHeaderComponent, selectors: [["evt-main-header"]], decls: 13, vars: 18, consts: [[1, "navbar", "justify-content-between", "temp-header"], [1, "navbar-brand"], ["height", "30", "alt", "", 1, "d-inline-block", "align-top", "mr-2", 3, "src"], [1, "edition-font", 3, "click"], ["target", "_blank", "class", "ml-2 edition-home-link", 3, "href", 4, "ngIf"], ["class", "ml-2 badge badge-pill badge-info inverted font-weight-normal edition-badge", 4, "ngIf"], ["additionalClasses", "btn-no-border viewMode-btn", 3, "title", "active", "inverted", "iconLeft", "btnClick", 4, "ngFor", "ngForOf", "ngForTrackBy"], ["additionalClasses", "btn-no-border", 3, "inverted", "toggler", "active", "iconLeft", "btnClick"], [3, "itemClicked", 4, "ngIf"], ["target", "_blank", 1, "ml-2", "edition-home-link", 3, "href"], [3, "iconInfo"], [1, "ml-2", "badge", "badge-pill", "badge-info", "inverted", "font-weight-normal", "edition-badge"], ["additionalClasses", "btn-no-border viewMode-btn", 3, "title", "active", "inverted", "iconLeft", "btnClick"], [3, "itemClicked"]], template: function MainHeaderComponent_Template(rf, ctx) { if (rf & 1) {
  2245. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "nav", 0);
  2246. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "a", 1);
  2247. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](2, "img", 2);
  2248. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "span", 3);
  2249. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function MainHeaderComponent_Template_span_click_3_listener() { return ctx.openEditionHome(); });
  2250. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](4);
  2251. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](5, "translate");
  2252. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](6, "async");
  2253. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  2254. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](7, MainHeaderComponent_a_7_Template, 2, 3, "a", 4);
  2255. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](8, MainHeaderComponent_span_8_Template, 2, 1, "span", 5);
  2256. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  2257. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](9, "div");
  2258. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](10, MainHeaderComponent_evt_button_10_Template, 2, 8, "evt-button", 6);
  2259. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](11, "evt-button", 7);
  2260. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("btnClick", function MainHeaderComponent_Template_evt_button_btnClick_11_listener($event) { return ctx.toggleMainMenu($event); });
  2261. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  2262. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  2263. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  2264. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](12, MainHeaderComponent_evt_main_menu_12_Template, 1, 0, "evt-main-menu", 8);
  2265. } if (rf & 2) {
  2266. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
  2267. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("src", ctx.logoUrl, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵsanitizeUrl"]);
  2268. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  2269. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵclassProp"]("pointer", ctx.editionHome);
  2270. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  2271. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](5, 13, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](6, 15, ctx.title$)));
  2272. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
  2273. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.editionHome);
  2274. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  2275. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.editionConfig == null ? null : ctx.editionConfig.badge);
  2276. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
  2277. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx.viewModes)("ngForTrackBy", ctx.trackViewModes);
  2278. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  2279. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("inverted", true)("toggler", true)("active", ctx.mainMenuOpened)("iconLeft", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction0"](17, _c2));
  2280. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  2281. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.mainMenuOpened);
  2282. } }, directives: [_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_8__["NgbNavbar"], _angular_common__WEBPACK_IMPORTED_MODULE_9__["NgIf"], _angular_common__WEBPACK_IMPORTED_MODULE_9__["NgForOf"], _ui_components_button_button_component__WEBPACK_IMPORTED_MODULE_10__["ButtonComponent"], _ui_components_icon_icon_component__WEBPACK_IMPORTED_MODULE_11__["IconComponent"], _main_menu_main_menu_component__WEBPACK_IMPORTED_MODULE_12__["MainMenuComponent"]], pipes: [_ngx_translate_core__WEBPACK_IMPORTED_MODULE_13__["TranslatePipe"], _angular_common__WEBPACK_IMPORTED_MODULE_9__["AsyncPipe"]], styles: ["[_ngcontent-%COMP%]:root {\n --thumbnail-height: 150px;\n --thumbnail-width: 100px;\n}\n\n.navbar[_ngcontent-%COMP%] {\n height: 54px;\n padding: 0 5px;\n}\n\n[data-theme=restore][_nghost-%COMP%] .navbar[_ngcontent-%COMP%], [data-theme=restore] [_nghost-%COMP%] .navbar[_ngcontent-%COMP%], [data-theme=restore][_ngcontent-%COMP%] .navbar[_ngcontent-%COMP%] {\n color: #e9e9e9;\n background-color: #0a4553;\n}\n\n[data-theme=restore][_nghost-%COMP%] .navbar[_ngcontent-%COMP%] a.navbar-brand[_ngcontent-%COMP%], [data-theme=restore] [_nghost-%COMP%] .navbar[_ngcontent-%COMP%] a.navbar-brand[_ngcontent-%COMP%], [data-theme=restore][_ngcontent-%COMP%] .navbar[_ngcontent-%COMP%] a.navbar-brand[_ngcontent-%COMP%] {\n color: #e9e9e9 !important;\n}\n\n[data-theme=neutral][_nghost-%COMP%] .navbar[_ngcontent-%COMP%], [data-theme=neutral] [_nghost-%COMP%] .navbar[_ngcontent-%COMP%], [data-theme=neutral][_ngcontent-%COMP%] .navbar[_ngcontent-%COMP%] {\n color: #fff;\n background-color: #45535a;\n}\n\n[data-theme=neutral][_nghost-%COMP%] .navbar[_ngcontent-%COMP%] a.navbar-brand[_ngcontent-%COMP%], [data-theme=neutral] [_nghost-%COMP%] .navbar[_ngcontent-%COMP%] a.navbar-brand[_ngcontent-%COMP%], [data-theme=neutral][_ngcontent-%COMP%] .navbar[_ngcontent-%COMP%] a.navbar-brand[_ngcontent-%COMP%] {\n color: #fff !important;\n}\n\n[data-theme=modern][_nghost-%COMP%] .navbar[_ngcontent-%COMP%], [data-theme=modern] [_nghost-%COMP%] .navbar[_ngcontent-%COMP%], [data-theme=modern][_ngcontent-%COMP%] .navbar[_ngcontent-%COMP%] {\n color: #ECEFF1;\n background-color: #263238;\n}\n\n[data-theme=modern][_nghost-%COMP%] .navbar[_ngcontent-%COMP%] a.navbar-brand[_ngcontent-%COMP%], [data-theme=modern] [_nghost-%COMP%] .navbar[_ngcontent-%COMP%] a.navbar-brand[_ngcontent-%COMP%], [data-theme=modern][_ngcontent-%COMP%] .navbar[_ngcontent-%COMP%] a.navbar-brand[_ngcontent-%COMP%] {\n color: #ECEFF1 !important;\n}\n\n[data-theme=classic][_nghost-%COMP%] .navbar[_ngcontent-%COMP%], [data-theme=classic] [_nghost-%COMP%] .navbar[_ngcontent-%COMP%], [data-theme=classic][_ngcontent-%COMP%] .navbar[_ngcontent-%COMP%] {\n color: #f5ead4;\n background-color: #362d28;\n}\n\n[data-theme=classic][_nghost-%COMP%] .navbar[_ngcontent-%COMP%] a.navbar-brand[_ngcontent-%COMP%], [data-theme=classic] [_nghost-%COMP%] .navbar[_ngcontent-%COMP%] a.navbar-brand[_ngcontent-%COMP%], [data-theme=classic][_ngcontent-%COMP%] .navbar[_ngcontent-%COMP%] a.navbar-brand[_ngcontent-%COMP%] {\n color: #f5ead4 !important;\n}\n\n.navbar[_ngcontent-%COMP%] a.navbar-brand[_ngcontent-%COMP%] {\n max-width: 50%;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.navbar[_ngcontent-%COMP%] .right-btn-group[_ngcontent-%COMP%] {\n height: 54px;\n margin-top: 1px;\n}\n\n .viewMode-btn {\n padding: 0 5px;\n height: 38px;\n line-height: 0.9px;\n background: transparent !important;\n}\n\n[data-theme=restore][_nghost-%COMP%] .viewMode-btn, [data-theme=restore] [_nghost-%COMP%] .viewMode-btn, [data-theme=restore][_ngcontent-%COMP%] .viewMode-btn {\n color: #e9e9e9;\n}\n\n[data-theme=restore][_nghost-%COMP%] .viewMode-btn:hover, [data-theme=restore] [_nghost-%COMP%] .viewMode-btn:hover, [data-theme=restore][_ngcontent-%COMP%] .viewMode-btn:hover {\n background: rgba(233, 233, 233, 0.2);\n}\n\n[data-theme=neutral][_nghost-%COMP%] .viewMode-btn, [data-theme=neutral] [_nghost-%COMP%] .viewMode-btn, [data-theme=neutral][_ngcontent-%COMP%] .viewMode-btn {\n color: #fff;\n}\n\n[data-theme=neutral][_nghost-%COMP%] .viewMode-btn:hover, [data-theme=neutral] [_nghost-%COMP%] .viewMode-btn:hover, [data-theme=neutral][_ngcontent-%COMP%] .viewMode-btn:hover {\n background: rgba(255, 255, 255, 0.2);\n}\n\n[data-theme=modern][_nghost-%COMP%] .viewMode-btn, [data-theme=modern] [_nghost-%COMP%] .viewMode-btn, [data-theme=modern][_ngcontent-%COMP%] .viewMode-btn {\n color: #ECEFF1;\n}\n\n[data-theme=modern][_nghost-%COMP%] .viewMode-btn:hover, [data-theme=modern] [_nghost-%COMP%] .viewMode-btn:hover, [data-theme=modern][_ngcontent-%COMP%] .viewMode-btn:hover {\n background: rgba(236, 239, 241, 0.2);\n}\n\n[data-theme=classic][_nghost-%COMP%] .viewMode-btn, [data-theme=classic] [_nghost-%COMP%] .viewMode-btn, [data-theme=classic][_ngcontent-%COMP%] .viewMode-btn {\n color: #f5ead4;\n}\n\n[data-theme=classic][_nghost-%COMP%] .viewMode-btn:hover, [data-theme=classic] [_nghost-%COMP%] .viewMode-btn:hover, [data-theme=classic][_ngcontent-%COMP%] .viewMode-btn:hover {\n background: rgba(245, 234, 212, 0.2);\n}\n\n .viewMode-btn .viewMode-selector {\n line-height: 0;\n vertical-align: text-bottom;\n font-size: 2rem;\n}\n\n .viewMode-btn.active {\n color: #ffcc00 !important;\n}\n\n.edition-badge[_ngcontent-%COMP%] {\n max-width: 150px;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n vertical-align: text-bottom;\n font-variant: all-small-caps;\n font-size: 0.8rem;\n}\n\n.edition-home-link[_ngcontent-%COMP%] {\n font-size: 0.9rem;\n vertical-align: text-bottom;\n}\n\n[data-theme=restore][_nghost-%COMP%] .edition-home-link[_ngcontent-%COMP%], [data-theme=restore] [_nghost-%COMP%] .edition-home-link[_ngcontent-%COMP%], [data-theme=restore][_ngcontent-%COMP%] .edition-home-link[_ngcontent-%COMP%] {\n color: #e9e9e9;\n}\n\n[data-theme=neutral][_nghost-%COMP%] .edition-home-link[_ngcontent-%COMP%], [data-theme=neutral] [_nghost-%COMP%] .edition-home-link[_ngcontent-%COMP%], [data-theme=neutral][_ngcontent-%COMP%] .edition-home-link[_ngcontent-%COMP%] {\n color: #fff;\n}\n\n[data-theme=modern][_nghost-%COMP%] .edition-home-link[_ngcontent-%COMP%], [data-theme=modern] [_nghost-%COMP%] .edition-home-link[_ngcontent-%COMP%], [data-theme=modern][_ngcontent-%COMP%] .edition-home-link[_ngcontent-%COMP%] {\n color: #ECEFF1;\n}\n\n[data-theme=classic][_nghost-%COMP%] .edition-home-link[_ngcontent-%COMP%], [data-theme=classic] [_nghost-%COMP%] .edition-home-link[_ngcontent-%COMP%], [data-theme=classic][_ngcontent-%COMP%] .edition-home-link[_ngcontent-%COMP%] {\n color: #f5ead4;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL2Fzc2V0cy9zY3NzL192YXJpYWJsZXMuc2NzcyIsIi4uLy4uLy4uL21haW4taGVhZGVyLmNvbXBvbmVudC5zY3NzIiwiLi4vLi4vLi4vLi4vLi4vYXNzZXRzL3Njc3MvX3RoZW1lcy5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQTJCQTtFQUNJLHlCQUFBO0VBQ0Esd0JBQUE7QUMxQko7O0FBQUE7RUFDSSxZREdpQjtFQ0ZqQixjQUFBO0FBR0o7O0FDaUZRO0VEakZBLGNBQUE7RUFDQSx5QkFBQTtBQUdSOztBQURRO0VBQ0kseUJBQUE7QUFHWjs7QUMwRVE7RURqRkEsV0FBQTtFQUNBLHlCQUFBO0FBVVI7O0FBUlE7RUFDSSxzQkFBQTtBQVVaOztBQ21FUTtFRGpGQSxjQUFBO0VBQ0EseUJBQUE7QUFpQlI7O0FBZlE7RUFDSSx5QkFBQTtBQWlCWjs7QUM0RFE7RURqRkEsY0FBQTtFQUNBLHlCQUFBO0FBd0JSOztBQXRCUTtFQUNJLHlCQUFBO0FBd0JaOztBQXJCSTtFQUNJLGNBQUE7RUFDQSxtQkFBQTtFQ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bn1cblxuQGZ1bmN0aW9uIHRoZW1lZCgka2V5KSB7XG4gICAgQHJldHVybiBtYXAtZ2V0KCR0aGVtZS1tYXAsICRrZXkpO1xufVxuXG4iXX0= */"] });
  2283. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](MainHeaderComponent, [{
  2284. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
  2285. args: [{
  2286. selector: 'evt-main-header',
  2287. templateUrl: './main-header.component.html',
  2288. styleUrls: ['./main-header.component.scss'],
  2289. }]
  2290. }], function () { return [{ type: _services_themes_service__WEBPACK_IMPORTED_MODULE_5__["ThemesService"] }, { type: _services_evt_model_service__WEBPACK_IMPORTED_MODULE_6__["EVTModelService"] }, { type: _services_evt_status_service__WEBPACK_IMPORTED_MODULE_7__["EVTStatusService"] }]; }, null); })();
  2291. /***/ }),
  2292. /***/ "6tsE":
  2293. /*!*******************************************************************!*\
  2294. !*** ./src/app/view-modes/text-sources/text-sources.component.ts ***!
  2295. \*******************************************************************/
  2296. /*! exports provided: TextSourcesComponent */
  2297. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  2298. "use strict";
  2299. __webpack_require__.r(__webpack_exports__);
  2300. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TextSourcesComponent", function() { return TextSourcesComponent; });
  2301. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "fXoL");
  2302. /* harmony import */ var angular_gridster2__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! angular-gridster2 */ "Ljk9");
  2303. /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs/operators */ "kU1M");
  2304. /* harmony import */ var src_app_services_evt_status_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! src/app/services/evt-status.service */ "7Ht4");
  2305. /* harmony import */ var _panels_text_panel_text_panel_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../panels/text-panel/text-panel.component */ "CHR5");
  2306. /* harmony import */ var _panels_sources_panel_sources_panel_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../panels/sources-panel/sources-panel.component */ "ZIVV");
  2307. /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/common */ "ofXK");
  2308. class TextSourcesComponent {
  2309. constructor(evtStatusService) {
  2310. this.evtStatusService = evtStatusService;
  2311. this.options = {};
  2312. this.textPanelItem = { cols: 1, rows: 1, y: 0, x: 0 };
  2313. this.sourcesPanelItem = { cols: 1, rows: 1, y: 0, x: 1 };
  2314. this.currentPageID$ = this.evtStatusService.currentStatus$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(({ page }) => page.id));
  2315. this.currentEditionLevel$ = this.evtStatusService.currentStatus$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(({ editionLevels }) => editionLevels[0]), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["shareReplay"])(1));
  2316. }
  2317. ngOnInit() {
  2318. this.initGridster();
  2319. }
  2320. changePage(selectedPage) {
  2321. this.evtStatusService.updatePage$.next(selectedPage);
  2322. }
  2323. changeEditionLevel(editionLevel) {
  2324. this.evtStatusService.updateEditionLevels$.next([editionLevel === null || editionLevel === void 0 ? void 0 : editionLevel.id]);
  2325. }
  2326. initGridster() {
  2327. this.options = {
  2328. gridType: angular_gridster2__WEBPACK_IMPORTED_MODULE_1__["GridType"].Fit,
  2329. displayGrid: angular_gridster2__WEBPACK_IMPORTED_MODULE_1__["DisplayGrid"].None,
  2330. margin: 0,
  2331. maxCols: 2,
  2332. maxRows: 1,
  2333. draggable: {
  2334. enabled: true,
  2335. ignoreContent: true,
  2336. dragHandleClass: 'panel-header',
  2337. },
  2338. resizable: {
  2339. enabled: false,
  2340. },
  2341. };
  2342. }
  2343. }
  2344. TextSourcesComponent.ɵfac = function TextSourcesComponent_Factory(t) { return new (t || TextSourcesComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](src_app_services_evt_status_service__WEBPACK_IMPORTED_MODULE_3__["EVTStatusService"])); };
  2345. TextSourcesComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: TextSourcesComponent, selectors: [["evt-text-sources"]], decls: 7, vars: 9, consts: [[3, "options"], [3, "item"], [3, "pageID", "editionLevelID", "pageChange", "editionLevelChange"]], template: function TextSourcesComponent_Template(rf, ctx) { if (rf & 1) {
  2346. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "gridster", 0);
  2347. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "gridster-item", 1);
  2348. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "evt-text-panel", 2);
  2349. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("pageChange", function TextSourcesComponent_Template_evt_text_panel_pageChange_2_listener($event) { return ctx.changePage($event); })("editionLevelChange", function TextSourcesComponent_Template_evt_text_panel_editionLevelChange_2_listener($event) { return ctx.changeEditionLevel($event); });
  2350. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](3, "async");
  2351. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](4, "async");
  2352. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  2353. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  2354. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](5, "gridster-item", 1);
  2355. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](6, "evt-sources-panel");
  2356. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  2357. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  2358. } if (rf & 2) {
  2359. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("options", ctx.options);
  2360. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  2361. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("item", ctx.textPanelItem);
  2362. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  2363. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("pageID", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](3, 5, ctx.currentPageID$))("editionLevelID", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](4, 7, ctx.currentEditionLevel$));
  2364. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
  2365. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("item", ctx.sourcesPanelItem);
  2366. } }, directives: [angular_gridster2__WEBPACK_IMPORTED_MODULE_1__["GridsterComponent"], angular_gridster2__WEBPACK_IMPORTED_MODULE_1__["GridsterItemComponent"], _panels_text_panel_text_panel_component__WEBPACK_IMPORTED_MODULE_4__["TextPanelComponent"], _panels_sources_panel_sources_panel_component__WEBPACK_IMPORTED_MODULE_5__["SourcesPanelComponent"]], pipes: [_angular_common__WEBPACK_IMPORTED_MODULE_6__["AsyncPipe"]], styles: ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJ0ZXh0LXNvdXJjZXMuY29tcG9uZW50LnNjc3MifQ== */"] });
  2367. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](TextSourcesComponent, [{
  2368. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
  2369. args: [{
  2370. selector: 'evt-text-sources',
  2371. templateUrl: './text-sources.component.html',
  2372. styleUrls: ['./text-sources.component.scss'],
  2373. }]
  2374. }], function () { return [{ type: src_app_services_evt_status_service__WEBPACK_IMPORTED_MODULE_3__["EVTStatusService"] }]; }, null); })();
  2375. /***/ }),
  2376. /***/ "6uNG":
  2377. /*!*******************************************!*\
  2378. !*** ./src/app/pipes/starts-with.pipe.ts ***!
  2379. \*******************************************/
  2380. /*! exports provided: StartsWithPipe */
  2381. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  2382. "use strict";
  2383. __webpack_require__.r(__webpack_exports__);
  2384. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "StartsWithPipe", function() { return StartsWithPipe; });
  2385. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "fXoL");
  2386. class StartsWithPipe {
  2387. transform(items, field, value) {
  2388. if (!items) {
  2389. return [];
  2390. }
  2391. if (!value || value.length === 0) {
  2392. return items;
  2393. }
  2394. return items.filter(it => it[field] && it[field].toLowerCase()[0] === value);
  2395. }
  2396. }
  2397. StartsWithPipe.ɵfac = function StartsWithPipe_Factory(t) { return new (t || StartsWithPipe)(); };
  2398. StartsWithPipe.ɵpipe = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefinePipe"]({ name: "startsWith", type: StartsWithPipe, pure: true });
  2399. StartsWithPipe.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ token: StartsWithPipe, factory: StartsWithPipe.ɵfac });
  2400. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](StartsWithPipe, [{
  2401. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Pipe"],
  2402. args: [{
  2403. name: 'startsWith',
  2404. }]
  2405. }, {
  2406. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"]
  2407. }], null, null); })();
  2408. /***/ }),
  2409. /***/ "70Sg":
  2410. /*!***********************************************************************!*\
  2411. !*** ./src/app/services/xml-parsers/character-declarations-parser.ts ***!
  2412. \***********************************************************************/
  2413. /*! exports provided: CharParser, GlyphParser, GParser */
  2414. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  2415. "use strict";
  2416. __webpack_require__.r(__webpack_exports__);
  2417. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CharParser", function() { return CharParser; });
  2418. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "GlyphParser", function() { return GlyphParser; });
  2419. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "GParser", function() { return GParser; });
  2420. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "mrSG");
  2421. /* harmony import */ var ___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! . */ "UAXx");
  2422. /* harmony import */ var _models_evt_models__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../models/evt-models */ "5c0l");
  2423. /* harmony import */ var _basic_parsers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./basic-parsers */ "bNiN");
  2424. /* harmony import */ var _facsimile_parser__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./facsimile-parser */ "quyl");
  2425. /* harmony import */ var _parser_models__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./parser-models */ "YwZW");
  2426. var CharParser_1, GlyphParser_1, GParser_1;
  2427. let CharParser = CharParser_1 = class CharParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_3__["EmptyParser"] {
  2428. constructor() {
  2429. super(...arguments);
  2430. this.attributeParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["createParser"])(_basic_parsers__WEBPACK_IMPORTED_MODULE_3__["AttributeParser"], this.genericParse);
  2431. }
  2432. parse(xml) {
  2433. return {
  2434. type: _models_evt_models__WEBPACK_IMPORTED_MODULE_2__["Char"],
  2435. id: Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["getID"])(xml),
  2436. attributes: this.attributeParser.parse(xml),
  2437. content: Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["parseChildren"])(xml, this.genericParse),
  2438. name: this.getName(xml),
  2439. entityName: this.getEntityName(xml),
  2440. mappings: this.getMappings(xml),
  2441. localProps: this.getLocalProps(xml),
  2442. graphics: this.graphicsParser(xml),
  2443. };
  2444. }
  2445. getName(xml) {
  2446. const charNameEl = xml.querySelector('charName');
  2447. if (charNameEl) {
  2448. return charNameEl.textContent;
  2449. }
  2450. const localPropName = Array.from(xml.querySelectorAll('localProp'))
  2451. .find(el => Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["getDefaultAttr"])(el.getAttribute('name')).toLowerCase() === 'name');
  2452. return localPropName ? Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["getDefaultAttr"])(localPropName.getAttribute('value')) : '';
  2453. }
  2454. getEntityName(xml) {
  2455. const localPropName = Array.from(xml.querySelectorAll('localProp'))
  2456. .find(el => Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["getDefaultAttr"])(el.getAttribute('name')).toLowerCase() === 'entity');
  2457. return localPropName ? Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["getDefaultAttr"])(localPropName.getAttribute('value')) : '';
  2458. }
  2459. getMappings(xml) {
  2460. return Array.from(xml.querySelectorAll('mapping'))
  2461. .map(el => ({
  2462. type: Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["getDefaultAttr"])(el.getAttribute('type')),
  2463. subtype: Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["getDefaultAttr"])(el.getAttribute('subtype')),
  2464. attributes: this.attributeParser.parse(el),
  2465. content: Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["parseChildren"])(el, this.genericParse),
  2466. }));
  2467. }
  2468. getLocalProps(xml) {
  2469. return Array.from(xml.querySelectorAll('localProp'))
  2470. .map(el => ({
  2471. name: Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["getDefaultAttr"])(el.getAttribute('name')),
  2472. value: Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["getDefaultAttr"])(el.getAttribute('value')),
  2473. }));
  2474. }
  2475. graphicsParser(xml) {
  2476. const graphicParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["createParser"])(_facsimile_parser__WEBPACK_IMPORTED_MODULE_4__["GraphicParser"], this.genericParse);
  2477. return Array.from(xml.querySelectorAll('graphic'))
  2478. .map(el => graphicParser.parse(el));
  2479. }
  2480. };
  2481. CharParser = CharParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  2482. Object(___WEBPACK_IMPORTED_MODULE_1__["xmlParser"])('char', CharParser_1)
  2483. ], CharParser);
  2484. let GlyphParser = GlyphParser_1 = class GlyphParser extends CharParser {
  2485. parse(xml) {
  2486. return {
  2487. type: _models_evt_models__WEBPACK_IMPORTED_MODULE_2__["Char"],
  2488. id: Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["getID"])(xml),
  2489. attributes: this.attributeParser.parse(xml),
  2490. content: Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["parseChildren"])(xml, this.genericParse),
  2491. name: this.getName(xml),
  2492. entityName: this.getEntityName(xml),
  2493. mappings: this.getMappings(xml),
  2494. localProps: this.getLocalProps(xml),
  2495. graphics: this.graphicsParser(xml),
  2496. };
  2497. }
  2498. getName(xml) {
  2499. const charNameEl = xml.querySelector('glyphName');
  2500. if (charNameEl) {
  2501. return charNameEl.textContent;
  2502. }
  2503. const localPropName = Array.from(xml.querySelectorAll('localProp'))
  2504. .find(el => Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["getDefaultAttr"])(el.getAttribute('name')).toLowerCase() === 'name');
  2505. return localPropName ? Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["getDefaultAttr"])(localPropName.getAttribute('value')) : '';
  2506. }
  2507. };
  2508. GlyphParser = GlyphParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  2509. Object(___WEBPACK_IMPORTED_MODULE_1__["xmlParser"])('glyph', GlyphParser_1)
  2510. ], GlyphParser);
  2511. let GParser = GParser_1 = class GParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_3__["EmptyParser"] {
  2512. constructor() {
  2513. super(...arguments);
  2514. this.attributeParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["createParser"])(_basic_parsers__WEBPACK_IMPORTED_MODULE_3__["AttributeParser"], this.genericParse);
  2515. }
  2516. parse(xml) {
  2517. return {
  2518. type: _models_evt_models__WEBPACK_IMPORTED_MODULE_2__["G"],
  2519. id: Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["getID"])(xml),
  2520. attributes: this.attributeParser.parse(xml),
  2521. content: Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["parseChildren"])(xml, this.genericParse),
  2522. charId: Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["getDefaultAttr"])(xml.getAttribute('ref')).replace('#', ''),
  2523. };
  2524. }
  2525. };
  2526. GParser = GParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  2527. Object(___WEBPACK_IMPORTED_MODULE_1__["xmlParser"])('g', GParser_1)
  2528. ], GParser);
  2529. /***/ }),
  2530. /***/ "7Ht4":
  2531. /*!************************************************!*\
  2532. !*** ./src/app/services/evt-status.service.ts ***!
  2533. \************************************************/
  2534. /*! exports provided: EVTStatusService */
  2535. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  2536. "use strict";
  2537. __webpack_require__.r(__webpack_exports__);
  2538. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "EVTStatusService", function() { return EVTStatusService; });
  2539. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "fXoL");
  2540. /* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/router */ "tyNb");
  2541. /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs */ "qCKp");
  2542. /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! rxjs/operators */ "kU1M");
  2543. /* harmony import */ var _app_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../app.config */ "aR35");
  2544. /* harmony import */ var _evt_model_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./evt-model.service */ "hI0h");
  2545. class EVTStatusService {
  2546. constructor(evtModelService, router, route) {
  2547. var _a;
  2548. this.evtModelService = evtModelService;
  2549. this.router = router;
  2550. this.route = route;
  2551. this.availableEditionLevels = ((_a = _app_config__WEBPACK_IMPORTED_MODULE_4__["AppConfig"].evtSettings.edition.availableEditionLevels) === null || _a === void 0 ? void 0 : _a.filter((e => !e.disabled))) || [];
  2552. this.updateViewMode$ = new rxjs__WEBPACK_IMPORTED_MODULE_2__["BehaviorSubject"](undefined);
  2553. this.updateDocument$ = new rxjs__WEBPACK_IMPORTED_MODULE_2__["BehaviorSubject"]('');
  2554. this.updatePage$ = new rxjs__WEBPACK_IMPORTED_MODULE_2__["Subject"]();
  2555. this.updateEditionLevels$ = new rxjs__WEBPACK_IMPORTED_MODULE_2__["Subject"]();
  2556. this.updateWitnesses$ = new rxjs__WEBPACK_IMPORTED_MODULE_2__["BehaviorSubject"]([]);
  2557. this.updateVersions$ = new rxjs__WEBPACK_IMPORTED_MODULE_2__["BehaviorSubject"]([]);
  2558. this.currentViewMode$ = this.updateViewMode$.asObservable();
  2559. this.currentDocument$ = Object(rxjs__WEBPACK_IMPORTED_MODULE_2__["merge"])(this.route.queryParams.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["map"])((params) => params.d)), this.updateDocument$);
  2560. this.currentPage$ = Object(rxjs__WEBPACK_IMPORTED_MODULE_2__["combineLatest"])([
  2561. Object(rxjs__WEBPACK_IMPORTED_MODULE_2__["merge"])(this.route.queryParams.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["map"])((params) => params.p)), this.updatePage$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["map"])(p => p.id))),
  2562. this.evtModelService.pages$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["filter"])((pages) => !!pages && pages.length > 0)),
  2563. ]).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["map"])(([id, pages]) => !id ? pages[0] : pages.find((p) => p.id === id) || pages[0]));
  2564. this.currentEditionLevels$ = Object(rxjs__WEBPACK_IMPORTED_MODULE_2__["merge"])(this.route.queryParams.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["map"])((params) => { var _a, _b; return ((_b = (_a = params.el) === null || _a === void 0 ? void 0 : _a.split(',')) !== null && _b !== void 0 ? _b : []); }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["map"])((editionLevels) => (editionLevels === null || editionLevels === void 0 ? void 0 : editionLevels.length) > 0 ? editionLevels : [this.defaultEditionLevelId]), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["map"])((editionLevels) => editionLevels.filter(el => !!el))), this.updateEditionLevels$);
  2565. this.currentWitnesses$ = Object(rxjs__WEBPACK_IMPORTED_MODULE_2__["merge"])(this.route.queryParams.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["map"])((params) => { var _a, _b; return (_b = (_a = params.ws) === null || _a === void 0 ? void 0 : _a.split(',')) !== null && _b !== void 0 ? _b : []; })), this.updateWitnesses$);
  2566. this.currentVersions$ = Object(rxjs__WEBPACK_IMPORTED_MODULE_2__["merge"])(this.route.queryParams.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["map"])((params) => { var _a, _b; return (_b = (_a = params.vs) === null || _a === void 0 ? void 0 : _a.split(',')) !== null && _b !== void 0 ? _b : []; })), this.updateVersions$);
  2567. this.currentStatus$ = Object(rxjs__WEBPACK_IMPORTED_MODULE_2__["combineLatest"])([
  2568. this.updateViewMode$,
  2569. this.currentDocument$,
  2570. this.currentPage$,
  2571. this.currentEditionLevels$,
  2572. this.currentWitnesses$,
  2573. this.currentVersions$,
  2574. ]).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["distinctUntilChanged"])((x, y) => JSON.stringify(x) === JSON.stringify(y)), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["shareReplay"])(1), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["map"])(([viewMode, document, page, editionLevels, witnesses, versions,]) => {
  2575. if (viewMode.id === 'textText') {
  2576. if (editionLevels.length === 1) {
  2577. editionLevels.push(this.availableEditionLevels.filter(e => e.id !== editionLevels[0])[0].id);
  2578. }
  2579. }
  2580. else if (viewMode.id === 'collation') {
  2581. editionLevels = [];
  2582. }
  2583. else if (editionLevels.length > 1) {
  2584. editionLevels = editionLevels.slice(0, 1);
  2585. }
  2586. return {
  2587. viewMode,
  2588. document,
  2589. page,
  2590. editionLevels,
  2591. witnesses,
  2592. versions,
  2593. };
  2594. }));
  2595. this.currentUrl$ = this.currentStatus$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["map"])(currentStatus => this.getUrlFromStatus(currentStatus)));
  2596. this.currentNamedEntityId$ = new rxjs__WEBPACK_IMPORTED_MODULE_2__["BehaviorSubject"](undefined);
  2597. this.currentLemmatizedEntityId$ = new rxjs__WEBPACK_IMPORTED_MODULE_2__["BehaviorSubject"](undefined);
  2598. this.currentStatus$.subscribe(currentStatus => {
  2599. const { view, params } = this.getUrlFromStatus(currentStatus);
  2600. if (Object.keys(params).length > 0) {
  2601. this.router.navigate([`/${view}`], { queryParams: params });
  2602. }
  2603. else {
  2604. this.router.navigate([`/${view}`]);
  2605. }
  2606. });
  2607. this.router.events.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["filter"])(event => event instanceof _angular_router__WEBPACK_IMPORTED_MODULE_1__["NavigationStart"]), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["first"])()).subscribe((event) => {
  2608. const currentViewMode = this.updateViewMode$.getValue();
  2609. if (!currentViewMode) {
  2610. const pathMatch = event.url.match(/(?<!\?.+)(?<=\/)[\w-]+(?=[/\r\n?]|$)/gm);
  2611. if (pathMatch) {
  2612. this.updateViewMode$.next(this.availableViewModes.find(vm => vm.id === pathMatch[0]));
  2613. }
  2614. else {
  2615. this.updateViewMode$.next(this.defaultViewMode);
  2616. }
  2617. }
  2618. });
  2619. this.currentNamedEntityId$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["filter"])(id => !!id), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["switchMap"])(id => Object(rxjs__WEBPACK_IMPORTED_MODULE_2__["timer"])(5000).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["map"])(() => id)))).subscribe(() => this.currentNamedEntityId$.next(undefined));
  2620. this.currentLemmatizedEntityId$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["filter"])(id => !!id), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["switchMap"])(id => Object(rxjs__WEBPACK_IMPORTED_MODULE_2__["timer"])(5000).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["map"])(() => id)))).subscribe(() => this.currentLemmatizedEntityId$.next(undefined));
  2621. }
  2622. get defaultEditionLevelId() {
  2623. var _a, _b, _c;
  2624. const defaultConfig = _app_config__WEBPACK_IMPORTED_MODULE_4__["AppConfig"].evtSettings.edition.defaultEdition;
  2625. const availableEditionLevels = (_b = (_a = _app_config__WEBPACK_IMPORTED_MODULE_4__["AppConfig"].evtSettings.edition.availableEditionLevels) === null || _a === void 0 ? void 0 : _a.filter((e => !e.disabled))) !== null && _b !== void 0 ? _b : [];
  2626. let defaultEdition = availableEditionLevels[0];
  2627. if (defaultConfig) {
  2628. defaultEdition = (_c = availableEditionLevels.find(e => e.id === defaultConfig)) !== null && _c !== void 0 ? _c : defaultEdition;
  2629. }
  2630. return defaultEdition === null || defaultEdition === void 0 ? void 0 : defaultEdition.id;
  2631. }
  2632. get availableViewModes() {
  2633. var _a, _b;
  2634. return (_b = (_a = _app_config__WEBPACK_IMPORTED_MODULE_4__["AppConfig"].evtSettings.edition.availableViewModes) === null || _a === void 0 ? void 0 : _a.filter((e => !e.disabled))) !== null && _b !== void 0 ? _b : [];
  2635. }
  2636. get defaultViewMode() {
  2637. var _a;
  2638. const defaultConfig = _app_config__WEBPACK_IMPORTED_MODULE_4__["AppConfig"].evtSettings.edition.defaultViewMode;
  2639. let defaultViewMode = this.availableViewModes[0];
  2640. if (defaultConfig) {
  2641. defaultViewMode = (_a = this.availableViewModes.find(e => e.id === defaultConfig)) !== null && _a !== void 0 ? _a : defaultViewMode;
  2642. }
  2643. return defaultViewMode;
  2644. }
  2645. // add by FS
  2646. getUrlFromStatus(status) {
  2647. var _a, _b;
  2648. const params = {
  2649. d: status.document || '',
  2650. p: (_b = (_a = status.page) === null || _a === void 0 ? void 0 : _a.id) !== null && _b !== void 0 ? _b : '',
  2651. el: status.editionLevels.join(','),
  2652. ws: status.witnesses.join(','),
  2653. vs: status.versions.join(','),
  2654. };
  2655. Object.keys(params).forEach((key) => (params[key] === '') && delete params[key]);
  2656. return {
  2657. view: status.viewMode.id,
  2658. params,
  2659. };
  2660. }
  2661. }
  2662. EVTStatusService.ɵfac = function EVTStatusService_Factory(t) { return new (t || EVTStatusService)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_evt_model_service__WEBPACK_IMPORTED_MODULE_5__["EVTModelService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_router__WEBPACK_IMPORTED_MODULE_1__["Router"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_router__WEBPACK_IMPORTED_MODULE_1__["ActivatedRoute"])); };
  2663. EVTStatusService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ token: EVTStatusService, factory: EVTStatusService.ɵfac, providedIn: 'root' });
  2664. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](EVTStatusService, [{
  2665. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"],
  2666. args: [{
  2667. providedIn: 'root',
  2668. }]
  2669. }], function () { return [{ type: _evt_model_service__WEBPACK_IMPORTED_MODULE_5__["EVTModelService"] }, { type: _angular_router__WEBPACK_IMPORTED_MODULE_1__["Router"] }, { type: _angular_router__WEBPACK_IMPORTED_MODULE_1__["ActivatedRoute"] }]; }, null); })();
  2670. /***/ }),
  2671. /***/ "7Sdm":
  2672. /*!*******************************************************************************************!*\
  2673. !*** ./src/app/components/original-encoding-viewer/original-encoding-viewer.component.ts ***!
  2674. \*******************************************************************************************/
  2675. /*! exports provided: OriginalEncodingViewerComponent */
  2676. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  2677. "use strict";
  2678. __webpack_require__.r(__webpack_exports__);
  2679. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "OriginalEncodingViewerComponent", function() { return OriginalEncodingViewerComponent; });
  2680. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "fXoL");
  2681. /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/common */ "ofXK");
  2682. /* harmony import */ var ng2_handy_syntax_highlighter__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ng2-handy-syntax-highlighter */ "KXWd");
  2683. /* harmony import */ var _pipes_xml_beautify_pipe__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../pipes/xml-beautify.pipe */ "UhR9");
  2684. /* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @ngx-translate/core */ "sYmb");
  2685. function OriginalEncodingViewerComponent_ng_container_1_handy_syntax_highlighter_1_Template(rf, ctx) { if (rf & 1) {
  2686. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "handy-syntax-highlighter", 4);
  2687. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](1, "xmlBeautify");
  2688. } if (rf & 2) {
  2689. const ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
  2690. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("content", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](1, 1, ctx_r2.originalEncoding == null ? null : ctx_r2.originalEncoding.outerHTML));
  2691. } }
  2692. function OriginalEncodingViewerComponent_ng_container_1_Template(rf, ctx) { if (rf & 1) {
  2693. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
  2694. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, OriginalEncodingViewerComponent_ng_container_1_handy_syntax_highlighter_1_Template, 2, 3, "handy-syntax-highlighter", 3);
  2695. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
  2696. } if (rf & 2) {
  2697. const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
  2698. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  2699. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r0.originalEncoding);
  2700. } }
  2701. function OriginalEncodingViewerComponent_ng_container_2_Template(rf, ctx) { if (rf & 1) {
  2702. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
  2703. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
  2704. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "translate");
  2705. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
  2706. } if (rf & 2) {
  2707. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  2708. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](2, 1, "notSupportedEncoding"), " ");
  2709. } }
  2710. class OriginalEncodingViewerComponent {
  2711. ngOnInit() {
  2712. if (this.originalEncoding && this.originalEncoding.outerHTML) {
  2713. this.encodingType = 'xml';
  2714. }
  2715. }
  2716. }
  2717. OriginalEncodingViewerComponent.ɵfac = function OriginalEncodingViewerComponent_Factory(t) { return new (t || OriginalEncodingViewerComponent)(); };
  2718. OriginalEncodingViewerComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: OriginalEncodingViewerComponent, selectors: [["evt-original-encoding-viewer"]], inputs: { originalEncoding: "originalEncoding" }, decls: 3, vars: 2, consts: [[3, "ngSwitch"], [4, "ngSwitchCase"], [4, "ngSwitchDefault"], ["language", "markup", 3, "content", 4, "ngIf"], ["language", "markup", 3, "content"]], template: function OriginalEncodingViewerComponent_Template(rf, ctx) { if (rf & 1) {
  2719. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0, 0);
  2720. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, OriginalEncodingViewerComponent_ng_container_1_Template, 2, 1, "ng-container", 1);
  2721. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, OriginalEncodingViewerComponent_ng_container_2_Template, 3, 3, "ng-container", 2);
  2722. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
  2723. } if (rf & 2) {
  2724. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngSwitch", ctx.encodingType);
  2725. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  2726. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngSwitchCase", "xml");
  2727. } }, directives: [_angular_common__WEBPACK_IMPORTED_MODULE_1__["NgSwitch"], _angular_common__WEBPACK_IMPORTED_MODULE_1__["NgSwitchCase"], _angular_common__WEBPACK_IMPORTED_MODULE_1__["NgSwitchDefault"], _angular_common__WEBPACK_IMPORTED_MODULE_1__["NgIf"], ng2_handy_syntax_highlighter__WEBPACK_IMPORTED_MODULE_2__["ɵb"]], pipes: [_pipes_xml_beautify_pipe__WEBPACK_IMPORTED_MODULE_3__["XmlBeautifyPipe"], _ngx_translate_core__WEBPACK_IMPORTED_MODULE_4__["TranslatePipe"]], styles: ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJvcmlnaW5hbC1lbmNvZGluZy12aWV3ZXIuY29tcG9uZW50LnNjc3MifQ== */"] });
  2728. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](OriginalEncodingViewerComponent, [{
  2729. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
  2730. args: [{
  2731. selector: 'evt-original-encoding-viewer',
  2732. templateUrl: './original-encoding-viewer.component.html',
  2733. styleUrls: ['./original-encoding-viewer.component.scss'],
  2734. }]
  2735. }], null, { originalEncoding: [{
  2736. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
  2737. }] }); })();
  2738. /***/ }),
  2739. /***/ "7Y2x":
  2740. /*!***********************************************!*\
  2741. !*** ./src/app/components/lb/lb.component.ts ***!
  2742. \***********************************************/
  2743. /*! exports provided: LbComponent */
  2744. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  2745. "use strict";
  2746. __webpack_require__.r(__webpack_exports__);
  2747. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "LbComponent", function() { return LbComponent; });
  2748. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "mrSG");
  2749. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "fXoL");
  2750. /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs/operators */ "kU1M");
  2751. /* harmony import */ var _models_evt_models__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../models/evt-models */ "5c0l");
  2752. /* harmony import */ var _services_component_register_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../services/component-register.service */ "d25s");
  2753. /* harmony import */ var _services_evt_model_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../services/evt-model.service */ "hI0h");
  2754. /* harmony import */ var _directives_html_attributes_directive__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../directives/html-attributes.directive */ "0Bbq");
  2755. /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @angular/common */ "ofXK");
  2756. function LbComponent_br_1_Template(rf, ctx) { if (rf & 1) {
  2757. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "br");
  2758. } }
  2759. function LbComponent_span_3_Template(rf, ctx) { if (rf & 1) {
  2760. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 3);
  2761. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1);
  2762. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  2763. } if (rf & 2) {
  2764. const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  2765. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  2766. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](ctx_r1.data.n);
  2767. } }
  2768. let LbComponent = class LbComponent {
  2769. constructor(evtModelService) {
  2770. this.evtModelService = evtModelService;
  2771. }
  2772. get displayBlock$() {
  2773. return this.evtModelService.lines$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(lines => lines.length > 0), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(hasLines => {
  2774. // If line has no information about number or the ID line is shown as a block item, no matters what
  2775. if (!this.data.attributes.id && !this.data.attributes.n) {
  2776. return true;
  2777. }
  2778. // Otherwise:
  2779. // - in diplomatic and interpretative edition, if the text has at least one line,
  2780. // those are show as block items, unless current text flow is verses
  2781. // - in critical editionm lines are always shown as inline items, unless current text flow is prose
  2782. switch (this.editionLevel) {
  2783. case 'diplomatic':
  2784. case 'interpretative':
  2785. return this.textFlow === 'verses' ? false : hasLines;
  2786. case 'critical':
  2787. return this.textFlow === 'prose';
  2788. }
  2789. }));
  2790. }
  2791. };
  2792. LbComponent.ɵfac = function LbComponent_Factory(t) { return new (t || LbComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_services_evt_model_service__WEBPACK_IMPORTED_MODULE_5__["EVTModelService"])); };
  2793. LbComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({ type: LbComponent, selectors: [["evt-lb"]], inputs: { data: "data" }, decls: 5, vars: 10, consts: [[1, "lb", 3, "evtHtmlAttributes"], [4, "ngIf"], ["class", "lineN", 4, "ngIf"], [1, "lineN"]], template: function LbComponent_Template(rf, ctx) { if (rf & 1) {
  2794. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 0);
  2795. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, LbComponent_br_1_Template, 1, 0, "br", 1);
  2796. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](2, "async");
  2797. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, LbComponent_span_3_Template, 2, 1, "span", 2);
  2798. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](4, "async");
  2799. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  2800. } if (rf & 2) {
  2801. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("evtHtmlAttributes", ctx.data == null ? null : ctx.data.attributes);
  2802. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵattribute"]("id", ctx.data.id)("data-rend", ctx.data.rend || "")("data-facs", ctx.data.facs || "");
  2803. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  2804. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](2, 6, ctx.displayBlock$));
  2805. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  2806. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data.n && _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](4, 8, ctx.displayBlock$));
  2807. } }, directives: [_directives_html_attributes_directive__WEBPACK_IMPORTED_MODULE_6__["HtmlAttributesDirective"], _angular_common__WEBPACK_IMPORTED_MODULE_7__["NgIf"]], pipes: [_angular_common__WEBPACK_IMPORTED_MODULE_7__["AsyncPipe"]], styles: [".lb[_ngcontent-%COMP%] .lineN[_ngcontent-%COMP%] {\n text-align: right;\n font-size: 0.8em;\n margin-right: 10px;\n height: 100%;\n display: inline-block;\n}\n[data-theme=restore][_nghost-%COMP%] .lb[_ngcontent-%COMP%] .lineN[_ngcontent-%COMP%], [data-theme=restore] [_nghost-%COMP%] .lb[_ngcontent-%COMP%] .lineN[_ngcontent-%COMP%], [data-theme=restore][_ngcontent-%COMP%] .lb[_ngcontent-%COMP%] .lineN[_ngcontent-%COMP%] {\n color: #783a3a;\n}\n[data-theme=neutral][_nghost-%COMP%] .lb[_ngcontent-%COMP%] .lineN[_ngcontent-%COMP%], [data-theme=neutral] [_nghost-%COMP%] .lb[_ngcontent-%COMP%] .lineN[_ngcontent-%COMP%], [data-theme=neutral][_ngcontent-%COMP%] .lb[_ngcontent-%COMP%] .lineN[_ngcontent-%COMP%] {\n color: #555;\n}\n[data-theme=modern][_nghost-%COMP%] .lb[_ngcontent-%COMP%] .lineN[_ngcontent-%COMP%], [data-theme=modern] [_nghost-%COMP%] .lb[_ngcontent-%COMP%] .lineN[_ngcontent-%COMP%], [data-theme=modern][_ngcontent-%COMP%] .lb[_ngcontent-%COMP%] .lineN[_ngcontent-%COMP%] {\n color: #607d8b;\n}\n[data-theme=classic][_nghost-%COMP%] .lb[_ngcontent-%COMP%] .lineN[_ngcontent-%COMP%], [data-theme=classic] [_nghost-%COMP%] .lb[_ngcontent-%COMP%] .lineN[_ngcontent-%COMP%], [data-theme=classic][_ngcontent-%COMP%] .lb[_ngcontent-%COMP%] .lineN[_ngcontent-%COMP%] {\n color: #8f776a;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2xiLmNvbXBvbmVudC5zY3NzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vYXNzZXRzL3Njc3MvX3RoZW1lcy5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUdJO0VBQ0ksaUJBQUE7RUFDQSxnQkFBQTtFQUNBLGtCQUFBO0VBQ0EsWUFBQTtFQUNBLHFCQUFBO0FBRlI7QUNtRlE7RUQ5RUksY0FBQTtBQUZaO0FDZ0ZRO0VEOUVJLFdBQUE7QUFDWjtBQzZFUTtFRDlFSSxjQUFBO0FBSVo7QUMwRVE7RUQ5RUksY0FBQTtBQU9aIiwiZmlsZSI6ImxiLmNvbXBvbmVudC5zY3NzIiwic291cmNlc0NvbnRlbnQiOlsiQGltcG9ydCAn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gQ1NTIHJ1bGUgdGhhdCBuZWVkcyB0byBiZSB0aGVtaWZpZWQgd2l0aGluIHRoZSBtaXhpbjpcbi8vIGBgYFxuLy8gIGJ0bi1wcmltYXJ5IHtcbiAgICAvLyAgQGluY2x1ZGUgdGhlbWlmeVNlbGYoJHRoZW1lcykge1xuICAgICAgICAvLyAgY29sb3I6IHRoZW1lZCgnYmFzZUNvbG9yRGFyaycpO1xuICAgIC8vICB9XG4vLyAgfVxuLy8gYGBgXG5AbWl4aW4gdGhlbWlmeVNlbGYoJHRoZW1lczogJHRoZW1lcykge1xuICAgIEBlYWNoICR0aGVtZSwgJG1hcCBpbiAkdGhlbWVzIHtcbiAgICAgICAgICZbZGF0YS10aGVtZT1cIiN7JHRoZW1lfVwiXSB7XG4gICAgICAgICAgICAkdGhlbWUtbWFwOiAoKSAhZ2xvYmFsO1xuICAgICAgICAgICAgQGVhY2ggJGtleSwgJHN1Ym1hcCBpbiAkbWFwIHtcbiAgICAgICAgICAgICAgICAkdmFsdWU6IG1hcC1nZXQobWFwLWdldCgkdGhlbWVzLCAkdGhlbWUpLCAnI3ska2V5fScpO1xuICAgICAgICAgICAgICAgICR0aGVtZS1tYXA6IG1hcC1tZXJnZSgkdGhlbWUtbWFwLCAoJGtleTogJHZhbHVlKSkgIWdsb2JhbDtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIEBjb250ZW50O1xuICAgICAgICAgICAgJHRoZW1lLW1hcDogbnVsbCAhZ2xvYmFsO1xuICAgICAgICB9XG4gICAgfVxufVxuXG5AZnVuY3Rpb24gdGhlbWVkKCRrZXkpIHtcbiAgICBAcmV0dXJuIG1hcC1nZXQoJHRoZW1lLW1hcCwgJGtleSk7XG59XG5cbiJdfQ== */"] });
  2808. LbComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  2809. Object(_services_component_register_service__WEBPACK_IMPORTED_MODULE_4__["register"])(_models_evt_models__WEBPACK_IMPORTED_MODULE_3__["Lb"])
  2810. ], LbComponent);
  2811. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](LbComponent, [{
  2812. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
  2813. args: [{
  2814. selector: 'evt-lb',
  2815. templateUrl: './lb.component.html',
  2816. styleUrls: ['./lb.component.scss'],
  2817. }]
  2818. }], function () { return [{ type: _services_evt_model_service__WEBPACK_IMPORTED_MODULE_5__["EVTModelService"] }]; }, { data: [{
  2819. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
  2820. }] }); })();
  2821. /***/ }),
  2822. /***/ "7igE":
  2823. /*!***************************************************!*\
  2824. !*** ./src/app/components/word/word.component.ts ***!
  2825. \***************************************************/
  2826. /*! exports provided: WordComponent */
  2827. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  2828. "use strict";
  2829. __webpack_require__.r(__webpack_exports__);
  2830. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "WordComponent", function() { return WordComponent; });
  2831. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "mrSG");
  2832. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "fXoL");
  2833. /* harmony import */ var _models_evt_models__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../models/evt-models */ "5c0l");
  2834. /* harmony import */ var _services_component_register_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../services/component-register.service */ "d25s");
  2835. /* harmony import */ var _directives_html_attributes_directive__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../directives/html-attributes.directive */ "0Bbq");
  2836. /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/common */ "ofXK");
  2837. /* harmony import */ var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../content-viewer/content-viewer.component */ "t6RO");
  2838. /* harmony import */ var _directives_highlight_directive__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../directives/highlight.directive */ "CmGG");
  2839. function WordComponent_evt_content_viewer_1_Template(rf, ctx) { if (rf & 1) {
  2840. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 2);
  2841. } if (rf & 2) {
  2842. const el_r1 = ctx.$implicit;
  2843. const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  2844. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", el_r1)("editionLevel", ctx_r0.editionLevel)("itemsToHighlight", ctx_r0.itemsToHighlight)("itemsLemsToHighlight", ctx_r0.itemsLemsToHighlight)("itemsIperlemsToHighlight", ctx_r0.itemsIperlemsToHighlight)("evtHighlight", ctx_r0.highlightData);
  2845. } }
  2846. let WordComponent = class WordComponent {
  2847. constructor() {
  2848. this.opened = false;
  2849. }
  2850. get word() {
  2851. if (this.editionLevel === 'diplomatic' || this.editionLevel === 'interpretative') {
  2852. return this.data.content;
  2853. }
  2854. const lbIndex = this.data.content.findIndex((el) => el.type === _models_evt_models__WEBPACK_IMPORTED_MODULE_2__["Lb"]);
  2855. if (lbIndex >= 0) {
  2856. const wordContent = [...this.data.content];
  2857. wordContent.splice(lbIndex, 1);
  2858. wordContent.push(this.data.content[lbIndex]);
  2859. return wordContent;
  2860. }
  2861. return this.data.content;
  2862. }
  2863. toggleLemData(event) {
  2864. event.stopPropagation();
  2865. this.opened = !this.opened;
  2866. }
  2867. };
  2868. WordComponent.ɵfac = function WordComponent_Factory(t) { return new (t || WordComponent)(); };
  2869. WordComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({ type: WordComponent, selectors: [["evt-word"]], inputs: { data: "data" }, decls: 2, vars: 5, consts: [[3, "evtHtmlAttributes", "click"], [3, "content", "editionLevel", "itemsToHighlight", "itemsLemsToHighlight", "itemsIperlemsToHighlight", "evtHighlight", 4, "ngFor", "ngForOf"], [3, "content", "editionLevel", "itemsToHighlight", "itemsLemsToHighlight", "itemsIperlemsToHighlight", "evtHighlight"]], template: function WordComponent_Template(rf, ctx) { if (rf & 1) {
  2870. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 0);
  2871. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("click", function WordComponent_Template_span_click_0_listener($event) { return ctx.toggleLemData($event); });
  2872. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, WordComponent_evt_content_viewer_1_Template, 1, 6, "evt-content-viewer", 1);
  2873. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  2874. } if (rf & 2) {
  2875. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵclassMapInterpolate1"]("word ", ctx.data.class, "");
  2876. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("evtHtmlAttributes", ctx.data.attributes);
  2877. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  2878. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx.word);
  2879. } }, directives: [_directives_html_attributes_directive__WEBPACK_IMPORTED_MODULE_4__["HtmlAttributesDirective"], _angular_common__WEBPACK_IMPORTED_MODULE_5__["NgForOf"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_6__["ContentViewerComponent"], _directives_highlight_directive__WEBPACK_IMPORTED_MODULE_7__["HighlightDirective"]], styles: ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJ3b3JkLmNvbXBvbmVudC5zY3NzIn0= */"] });
  2880. WordComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  2881. Object(_services_component_register_service__WEBPACK_IMPORTED_MODULE_3__["register"])(_models_evt_models__WEBPACK_IMPORTED_MODULE_2__["Word"])
  2882. ], WordComponent);
  2883. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](WordComponent, [{
  2884. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
  2885. args: [{
  2886. selector: 'evt-word',
  2887. templateUrl: './word.component.html',
  2888. styleUrls: ['./word.component.scss'],
  2889. }]
  2890. }], null, { data: [{
  2891. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
  2892. }] }); })();
  2893. /***/ }),
  2894. /***/ "7plQ":
  2895. /*!*****************************************************!*\
  2896. !*** ./src/app/services/xml-parsers/xml-parsers.ts ***!
  2897. \*****************************************************/
  2898. /*! exports provided: ParsersDecl, XMLParsers */
  2899. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  2900. "use strict";
  2901. __webpack_require__.r(__webpack_exports__);
  2902. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ParsersDecl", function() { return ParsersDecl; });
  2903. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "XMLParsers", function() { return XMLParsers; });
  2904. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "mrSG");
  2905. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "fXoL");
  2906. /* harmony import */ var _app_parser__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./app-parser */ "jz3b");
  2907. /* harmony import */ var _basic_parsers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./basic-parsers */ "bNiN");
  2908. /* harmony import */ var _character_declarations_parser__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./character-declarations-parser */ "70Sg");
  2909. /* harmony import */ var _choice_parser__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./choice-parser */ "MsgF");
  2910. /* harmony import */ var _editorial_parsers__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./editorial-parsers */ "nUY+");
  2911. /* harmony import */ var _facsimile_parser__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./facsimile-parser */ "quyl");
  2912. /* harmony import */ var _header_parser__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./header-parser */ "Gf1x");
  2913. /* harmony import */ var _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./msdesc-parser */ "D3K6");
  2914. /* harmony import */ var _named_entity_parsers__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./named-entity-parsers */ "4Z5S");
  2915. // tslint:disable-next-line: no-any
  2916. function ParsersDecl(declarations) {
  2917. // tslint:disable-next-line: no-any
  2918. return (_) => {
  2919. return class extends _ {
  2920. constructor() {
  2921. super(...arguments);
  2922. this.declarations = declarations;
  2923. }
  2924. };
  2925. };
  2926. }
  2927. let XMLParsers = class XMLParsers {
  2928. };
  2929. XMLParsers.ɵfac = function XMLParsers_Factory(t) { return new (t || XMLParsers)(); };
  2930. XMLParsers.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjectable"]({ token: XMLParsers, factory: XMLParsers.ɵfac, providedIn: 'root' });
  2931. XMLParsers = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  2932. ParsersDecl([
  2933. _header_parser__WEBPACK_IMPORTED_MODULE_8__["AbstractParser"],
  2934. _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["AccMatParser"],
  2935. _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["AcquisitionParser"],
  2936. _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["AdditionalParser"],
  2937. _basic_parsers__WEBPACK_IMPORTED_MODULE_3__["AdditionParser"],
  2938. _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["AdditionsParser"],
  2939. _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["AdminInfoParser"],
  2940. _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["AltIdentifierParser"],
  2941. _app_parser__WEBPACK_IMPORTED_MODULE_2__["AppParser"],
  2942. _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["BindingDescParser"],
  2943. _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["BindingParser"],
  2944. _header_parser__WEBPACK_IMPORTED_MODULE_8__["CalendarDescParser"],
  2945. _header_parser__WEBPACK_IMPORTED_MODULE_8__["CalendarParser"],
  2946. _header_parser__WEBPACK_IMPORTED_MODULE_8__["CatRefParser"],
  2947. _header_parser__WEBPACK_IMPORTED_MODULE_8__["ChannelParser"],
  2948. _header_parser__WEBPACK_IMPORTED_MODULE_8__["ChangeParser"],
  2949. _character_declarations_parser__WEBPACK_IMPORTED_MODULE_4__["CharParser"],
  2950. _choice_parser__WEBPACK_IMPORTED_MODULE_5__["ChoiceParser"],
  2951. _header_parser__WEBPACK_IMPORTED_MODULE_8__["ClassCodeParser"],
  2952. _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["CollationParser"],
  2953. _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["CollectionParser"],
  2954. _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["ConditionParser"],
  2955. _header_parser__WEBPACK_IMPORTED_MODULE_8__["ConstitutionParser"],
  2956. _header_parser__WEBPACK_IMPORTED_MODULE_8__["CorrectionParser"],
  2957. _header_parser__WEBPACK_IMPORTED_MODULE_8__["CorrespActionParser"],
  2958. _header_parser__WEBPACK_IMPORTED_MODULE_8__["CorrespContextParser"],
  2959. _header_parser__WEBPACK_IMPORTED_MODULE_8__["CorrespDescParser"],
  2960. _header_parser__WEBPACK_IMPORTED_MODULE_8__["CreationParser"],
  2961. _header_parser__WEBPACK_IMPORTED_MODULE_8__["CRefPatternParser"],
  2962. _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["CustEventParser"],
  2963. _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["CustodialHistParser"],
  2964. _basic_parsers__WEBPACK_IMPORTED_MODULE_3__["DamageParser"],
  2965. _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["DecoDescParser"],
  2966. _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["DecoNoteParser"],
  2967. _basic_parsers__WEBPACK_IMPORTED_MODULE_3__["DeletionParser"],
  2968. _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["DepthParser"],
  2969. _header_parser__WEBPACK_IMPORTED_MODULE_8__["DerivationParser"],
  2970. _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["DimensionsParser"],
  2971. _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["DimParser"],
  2972. _header_parser__WEBPACK_IMPORTED_MODULE_8__["DomainParser"],
  2973. _header_parser__WEBPACK_IMPORTED_MODULE_8__["EditorialDeclParser"],
  2974. _header_parser__WEBPACK_IMPORTED_MODULE_8__["EncodingDescParser"],
  2975. _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["ExplicitParser"],
  2976. _header_parser__WEBPACK_IMPORTED_MODULE_8__["FactualityParser"],
  2977. _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["FiliationParser"],
  2978. _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["FinalRubricParser"],
  2979. _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["FoliationParser"],
  2980. _basic_parsers__WEBPACK_IMPORTED_MODULE_3__["GapParser"],
  2981. _character_declarations_parser__WEBPACK_IMPORTED_MODULE_4__["GlyphParser"],
  2982. _character_declarations_parser__WEBPACK_IMPORTED_MODULE_4__["GParser"],
  2983. _facsimile_parser__WEBPACK_IMPORTED_MODULE_7__["GraphicParser"],
  2984. _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["HandDescParser"],
  2985. _header_parser__WEBPACK_IMPORTED_MODULE_8__["HandNoteParser"],
  2986. _header_parser__WEBPACK_IMPORTED_MODULE_8__["HandNotesParser"],
  2987. _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["HeadParser"],
  2988. _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["HeightParser"],
  2989. _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["HistoryParser"],
  2990. _header_parser__WEBPACK_IMPORTED_MODULE_8__["HyphenationParser"],
  2991. _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["IncipitParser"],
  2992. _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["InstitutionParser"],
  2993. _header_parser__WEBPACK_IMPORTED_MODULE_8__["InteractionParser"],
  2994. _header_parser__WEBPACK_IMPORTED_MODULE_8__["InterpretationParser"],
  2995. _header_parser__WEBPACK_IMPORTED_MODULE_8__["KeywordsParser"],
  2996. _header_parser__WEBPACK_IMPORTED_MODULE_8__["LanguageParser"],
  2997. _header_parser__WEBPACK_IMPORTED_MODULE_8__["LangUsageParser"],
  2998. _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["LayoutDescParser"],
  2999. _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["LayoutParser"],
  3000. _basic_parsers__WEBPACK_IMPORTED_MODULE_3__["LBParser"],
  3001. _header_parser__WEBPACK_IMPORTED_MODULE_8__["ListTransposeParser"],
  3002. _header_parser__WEBPACK_IMPORTED_MODULE_8__["ListChangeParser"],
  3003. _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["LocusGrpParser"],
  3004. _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["LocusParser"],
  3005. _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["MsContentsParser"],
  3006. _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["MsDescParser"],
  3007. _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["MsFragParser"],
  3008. _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["MsIdentifierParser"],
  3009. _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["MsItemParser"],
  3010. _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["MsItemStructParser"],
  3011. _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["MsNameParser"],
  3012. _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["MsPartParser"],
  3013. _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["MusicNotationParser"],
  3014. _named_entity_parsers__WEBPACK_IMPORTED_MODULE_10__["NamedEntityRefParser"],
  3015. _header_parser__WEBPACK_IMPORTED_MODULE_8__["NamespaceParser"],
  3016. _header_parser__WEBPACK_IMPORTED_MODULE_8__["NormalizationParser"],
  3017. _basic_parsers__WEBPACK_IMPORTED_MODULE_3__["NoteParser"],
  3018. _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["ObjectDescParser"],
  3019. _named_entity_parsers__WEBPACK_IMPORTED_MODULE_10__["OrganizationParser"],
  3020. _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["OrigDateParser"],
  3021. _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["OriginParser"],
  3022. _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["OrigPlaceParser"],
  3023. _basic_parsers__WEBPACK_IMPORTED_MODULE_3__["ParagraphParser"],
  3024. _header_parser__WEBPACK_IMPORTED_MODULE_8__["ParticDescParser"],
  3025. _named_entity_parsers__WEBPACK_IMPORTED_MODULE_10__["PersonGroupParser"],
  3026. _named_entity_parsers__WEBPACK_IMPORTED_MODULE_10__["PersonParser"],
  3027. _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["PhysDescParser"],
  3028. _named_entity_parsers__WEBPACK_IMPORTED_MODULE_10__["PlaceParser"],
  3029. _header_parser__WEBPACK_IMPORTED_MODULE_8__["PreparednessParser"],
  3030. _header_parser__WEBPACK_IMPORTED_MODULE_8__["ProfileDescParser"],
  3031. _header_parser__WEBPACK_IMPORTED_MODULE_8__["ProjectDescParser"],
  3032. _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["ProvenanceParser"],
  3033. _basic_parsers__WEBPACK_IMPORTED_MODULE_3__["PtrParser"],
  3034. _header_parser__WEBPACK_IMPORTED_MODULE_8__["PunctuationParser"],
  3035. _header_parser__WEBPACK_IMPORTED_MODULE_8__["PurposeParser"],
  3036. _header_parser__WEBPACK_IMPORTED_MODULE_8__["QuotationParser"],
  3037. _app_parser__WEBPACK_IMPORTED_MODULE_2__["RdgParser"],
  3038. _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["RecordHistParser"],
  3039. _header_parser__WEBPACK_IMPORTED_MODULE_8__["RefsDeclParser"],
  3040. _header_parser__WEBPACK_IMPORTED_MODULE_8__["RefStateParser"],
  3041. _header_parser__WEBPACK_IMPORTED_MODULE_8__["RenditionParser"],
  3042. _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["RepositoryParser"],
  3043. _header_parser__WEBPACK_IMPORTED_MODULE_8__["RevisionDescParser"],
  3044. _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["RubricParser"],
  3045. _header_parser__WEBPACK_IMPORTED_MODULE_8__["SamplingDeclParser"],
  3046. _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["ScriptDescParser"],
  3047. _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["SealDescParser"],
  3048. _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["SealParser"],
  3049. _header_parser__WEBPACK_IMPORTED_MODULE_8__["SegmentationParser"],
  3050. _header_parser__WEBPACK_IMPORTED_MODULE_8__["SettingDescParser"],
  3051. _header_parser__WEBPACK_IMPORTED_MODULE_8__["SettingParser"],
  3052. _editorial_parsers__WEBPACK_IMPORTED_MODULE_6__["SicParser"],
  3053. _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["SourceParser"],
  3054. _header_parser__WEBPACK_IMPORTED_MODULE_8__["StdValsParser"],
  3055. _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["SummaryParser"],
  3056. _basic_parsers__WEBPACK_IMPORTED_MODULE_3__["SuppliedParser"],
  3057. _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["SupportDescParser"],
  3058. _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["SupportParser"],
  3059. _facsimile_parser__WEBPACK_IMPORTED_MODULE_7__["SurfaceParser"],
  3060. _editorial_parsers__WEBPACK_IMPORTED_MODULE_6__["SurplusParser"],
  3061. _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["SurrogatesParser"],
  3062. _header_parser__WEBPACK_IMPORTED_MODULE_8__["TagsDeclParser"],
  3063. _header_parser__WEBPACK_IMPORTED_MODULE_8__["TagUsageParser"],
  3064. _basic_parsers__WEBPACK_IMPORTED_MODULE_3__["TermParser"],
  3065. _header_parser__WEBPACK_IMPORTED_MODULE_8__["TextClassParser"],
  3066. _header_parser__WEBPACK_IMPORTED_MODULE_8__["TextDescParser"],
  3067. _header_parser__WEBPACK_IMPORTED_MODULE_8__["TransposeParser"],
  3068. _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["TypeDescParser"],
  3069. _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["TypeNoteParser"],
  3070. _basic_parsers__WEBPACK_IMPORTED_MODULE_3__["VerseParser"],
  3071. _basic_parsers__WEBPACK_IMPORTED_MODULE_3__["VersesGroupParser"],
  3072. _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["WidthParser"],
  3073. _basic_parsers__WEBPACK_IMPORTED_MODULE_3__["WordParser"],
  3074. _facsimile_parser__WEBPACK_IMPORTED_MODULE_7__["ZoneParser"],
  3075. ])
  3076. ], XMLParsers);
  3077. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](XMLParsers, [{
  3078. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"],
  3079. args: [{
  3080. providedIn: 'root',
  3081. }]
  3082. }], null, null); })();
  3083. /***/ }),
  3084. /***/ "9+YD":
  3085. /*!****************************************************************!*\
  3086. !*** ./src/app/services/xml-parsers/ms-desc-parser.service.ts ***!
  3087. \****************************************************************/
  3088. /*! exports provided: MsDescParserService */
  3089. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  3090. "use strict";
  3091. __webpack_require__.r(__webpack_exports__);
  3092. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MsDescParserService", function() { return MsDescParserService; });
  3093. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "fXoL");
  3094. /* harmony import */ var ___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! . */ "UAXx");
  3095. /* harmony import */ var _msdesc_parser__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./msdesc-parser */ "D3K6");
  3096. /* harmony import */ var _parser_models__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./parser-models */ "YwZW");
  3097. class MsDescParserService {
  3098. constructor() {
  3099. this.msDescParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_3__["createParser"])(_msdesc_parser__WEBPACK_IMPORTED_MODULE_2__["MsDescParser"], ___WEBPACK_IMPORTED_MODULE_1__["parse"]);
  3100. }
  3101. parseMsDesc(xml) {
  3102. return Array.from(xml.querySelectorAll('msDesc')).map(s => this.msDescParser.parse(s));
  3103. }
  3104. }
  3105. MsDescParserService.ɵfac = function MsDescParserService_Factory(t) { return new (t || MsDescParserService)(); };
  3106. MsDescParserService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ token: MsDescParserService, factory: MsDescParserService.ɵfac, providedIn: 'root' });
  3107. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](MsDescParserService, [{
  3108. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"],
  3109. args: [{
  3110. providedIn: 'root',
  3111. }]
  3112. }], null, null); })();
  3113. /***/ }),
  3114. /***/ "9L/w":
  3115. /*!**********************************************************************!*\
  3116. !*** ./src/app/services/xml-parsers/structure-xml-parser.service.ts ***!
  3117. \**********************************************************************/
  3118. /*! exports provided: StructureXmlParserService */
  3119. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  3120. "use strict";
  3121. __webpack_require__.r(__webpack_exports__);
  3122. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "StructureXmlParserService", function() { return StructureXmlParserService; });
  3123. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "fXoL");
  3124. /* harmony import */ var _app_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../app.config */ "aR35");
  3125. /* harmony import */ var _utils_dom_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils/dom-utils */ "G9+u");
  3126. /* harmony import */ var _parser_models__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./parser-models */ "YwZW");
  3127. /* harmony import */ var _generic_parser_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./generic-parser.service */ "xdSp");
  3128. class StructureXmlParserService {
  3129. constructor(genericParserService) {
  3130. this.genericParserService = genericParserService;
  3131. this.frontOrigContentAttr = 'document_front';
  3132. this.frontTagName = 'front';
  3133. this.pageTagName = 'pb';
  3134. this.bodyTagName = 'body';
  3135. }
  3136. parsePages(el) {
  3137. if (!el) {
  3138. return { pages: [] };
  3139. }
  3140. const front = el.querySelector(this.frontTagName);
  3141. const body = el.querySelector(this.bodyTagName);
  3142. const pbs = Array.from(el.querySelectorAll(this.pageTagName)).filter((p) => !p.getAttribute('ed'));
  3143. const frontPbs = pbs.filter((p) => Object(_utils_dom_utils__WEBPACK_IMPORTED_MODULE_2__["isNestedInElem"])(p, this.frontTagName));
  3144. const bodyPbs = pbs.filter((p) => Object(_utils_dom_utils__WEBPACK_IMPORTED_MODULE_2__["isNestedInElem"])(p, this.bodyTagName));
  3145. const doc = el.firstElementChild.ownerDocument;
  3146. if (frontPbs.length > 0 && bodyPbs.length > 0) {
  3147. return {
  3148. pages: pbs.map((pb, idx, arr) => this.parseDocumentPage(doc, pb, arr[idx + 1], 'text')),
  3149. };
  3150. }
  3151. const frontPages = frontPbs.length === 0 && front && this.isMarkedAsOrigContent(front)
  3152. ? [this.parseSinglePage(doc, front, 'page_front', this.frontTagName, 'facs_front')]
  3153. : frontPbs.map((pb, idx, arr) => this.parseDocumentPage(doc, pb, arr[idx + 1], this.frontTagName));
  3154. const bodyPages = bodyPbs.length === 0
  3155. ? [this.parseSinglePage(doc, body, 'page1', 'mainText', 'facs1')] // TODO: tranlsate mainText
  3156. : bodyPbs.map((pb, idx, arr) => this.parseDocumentPage(doc, pb, arr[idx + 1], this.bodyTagName));
  3157. return {
  3158. pages: [...frontPages, ...bodyPages],
  3159. };
  3160. }
  3161. parseDocumentPage(doc, pb, nextPb, ancestorTagName) {
  3162. /* If there is a next page we retrieve the elements between two page nodes
  3163. otherweise we retrieve the nodes between the page node and the last node of the body node */
  3164. // TODO: check if querySelectorAll can return an empty array in this case
  3165. const nextNode = nextPb || Array.from(doc.querySelectorAll(ancestorTagName)).reverse()[0].lastChild;
  3166. const originalContent = Object(_utils_dom_utils__WEBPACK_IMPORTED_MODULE_2__["getElementsBetweenTreeNode"])(pb, nextNode)
  3167. .filter((n) => n.tagName !== this.pageTagName)
  3168. .filter((c) => ![4, 7, 8].includes(c.nodeType)); // Filter comments, CDATAs, and processing instructions
  3169. return {
  3170. id: Object(_parser_models__WEBPACK_IMPORTED_MODULE_3__["getID"])(pb, 'page'),
  3171. label: pb.getAttribute('n') || 'page',
  3172. facs: (pb.getAttribute('facs') || 'page').split('#').slice(-1)[0],
  3173. originalContent,
  3174. parsedContent: this.parsePageContent(doc, originalContent),
  3175. url: this.getPageUrl(Object(_parser_models__WEBPACK_IMPORTED_MODULE_3__["getID"])(pb, 'page')),
  3176. facsUrl: this.getPageUrl((pb.getAttribute('facs') || 'page').split('#').slice(-1)[0]),
  3177. };
  3178. }
  3179. parseSinglePage(doc, el, id, label, facs) {
  3180. const originalContent = Object(_utils_dom_utils__WEBPACK_IMPORTED_MODULE_2__["getElementsBetweenTreeNode"])(el.firstChild, el.lastChild);
  3181. return {
  3182. id,
  3183. label,
  3184. facs,
  3185. originalContent,
  3186. parsedContent: this.parsePageContent(doc, originalContent),
  3187. url: this.getPageUrl(id),
  3188. facsUrl: this.getPageUrl(facs),
  3189. };
  3190. }
  3191. getPageUrl(id) {
  3192. // TODO: check if exists <graphic> element connected to page and return its url
  3193. // TODO: handle multiple version of page
  3194. const image = id.split('.')[0];
  3195. return `${_app_config__WEBPACK_IMPORTED_MODULE_1__["AppConfig"].evtSettings.files.imagesFolderUrl}/${image}.jpg`;
  3196. }
  3197. parsePageContent(doc, pageContent) {
  3198. return pageContent
  3199. .map((node) => {
  3200. const origEl = getEditionOrigNode(node, doc);
  3201. if (origEl.nodeName === this.frontTagName || Object(_utils_dom_utils__WEBPACK_IMPORTED_MODULE_2__["isNestedInElem"])(origEl, this.frontTagName)) {
  3202. if (this.hasOriginalContent(origEl)) {
  3203. return Array.from(origEl.querySelectorAll(`[type=${this.frontOrigContentAttr}]`))
  3204. .map((c) => this.genericParserService.parse(c));
  3205. }
  3206. if (this.isMarkedAsOrigContent(origEl)) {
  3207. return [this.genericParserService.parse(origEl)];
  3208. }
  3209. return [];
  3210. }
  3211. if (origEl.tagName === 'text' && origEl.querySelectorAll && origEl.querySelectorAll(this.frontTagName).length > 0) {
  3212. return this.parsePageContent(doc, Array.from(origEl.children));
  3213. }
  3214. return [this.genericParserService.parse(origEl)];
  3215. })
  3216. .reduce((x, y) => x.concat(y), []);
  3217. }
  3218. hasOriginalContent(el) {
  3219. return el.querySelectorAll(`[type=${this.frontOrigContentAttr}]`).length > 0;
  3220. }
  3221. isMarkedAsOrigContent(el) {
  3222. return el.nodeType !== 3 &&
  3223. (el.getAttribute('type') === this.frontOrigContentAttr ||
  3224. this.hasOriginalContent(el) ||
  3225. Object(_utils_dom_utils__WEBPACK_IMPORTED_MODULE_2__["isNestedInElem"])(el, '', [{ key: 'type', value: this.frontOrigContentAttr }]));
  3226. }
  3227. }
  3228. StructureXmlParserService.ɵfac = function StructureXmlParserService_Factory(t) { return new (t || StructureXmlParserService)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_generic_parser_service__WEBPACK_IMPORTED_MODULE_4__["GenericParserService"])); };
  3229. StructureXmlParserService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ token: StructureXmlParserService, factory: StructureXmlParserService.ɵfac, providedIn: 'root' });
  3230. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](StructureXmlParserService, [{
  3231. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"],
  3232. args: [{
  3233. providedIn: 'root',
  3234. }]
  3235. }], function () { return [{ type: _generic_parser_service__WEBPACK_IMPORTED_MODULE_4__["GenericParserService"] }]; }, null); })();
  3236. function getEditionOrigNode(el, doc) {
  3237. if (el.getAttribute && el.getAttribute('xpath')) {
  3238. const path = doc.documentElement.namespaceURI ? el.getAttribute('xpath').replace(/\//g, '/ns:') : el.getAttribute('xpath');
  3239. const xpathRes = doc.evaluate(path, doc, Object(_utils_dom_utils__WEBPACK_IMPORTED_MODULE_2__["createNsResolver"])(doc), XPathResult.ANY_TYPE, undefined);
  3240. return xpathRes.iterateNext();
  3241. }
  3242. return el;
  3243. }
  3244. /***/ }),
  3245. /***/ "9L9p":
  3246. /*!***********************************************************!*\
  3247. !*** ./src/app/components/addition/addition.component.ts ***!
  3248. \***********************************************************/
  3249. /*! exports provided: AdditionComponent */
  3250. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  3251. "use strict";
  3252. __webpack_require__.r(__webpack_exports__);
  3253. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AdditionComponent", function() { return AdditionComponent; });
  3254. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "mrSG");
  3255. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "fXoL");
  3256. /* harmony import */ var _models_evt_models__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../models/evt-models */ "5c0l");
  3257. /* harmony import */ var _services_component_register_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../services/component-register.service */ "d25s");
  3258. /* harmony import */ var _directives_highlight_directive__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../directives/highlight.directive */ "CmGG");
  3259. /* harmony import */ var _directives_editorial_convention_layout_directive__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../directives/editorial-convention-layout.directive */ "FJNG");
  3260. /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/common */ "ofXK");
  3261. /* harmony import */ var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../content-viewer/content-viewer.component */ "t6RO");
  3262. function AdditionComponent_evt_content_viewer_1_Template(rf, ctx) { if (rf & 1) {
  3263. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 2);
  3264. } if (rf & 2) {
  3265. const element_r1 = ctx.$implicit;
  3266. const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  3267. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", element_r1)("editionLevel", ctx_r0.editionLevel)("itemsToHighlight", ctx_r0.itemsToHighlight)("itemsLemsToHighlight", ctx_r0.itemsLemsToHighlight)("itemsIperlemsToHighlight", ctx_r0.itemsIperlemsToHighlight);
  3268. } }
  3269. let AdditionComponent = class AdditionComponent {
  3270. get editorialConventionData() {
  3271. return {
  3272. name: 'add',
  3273. attributes: this.data.attributes,
  3274. editionLevel: this.editionLevel,
  3275. defaultsKey: this._getDefaultLayoutsKeys(),
  3276. };
  3277. }
  3278. _getDefaultLayoutsKeys() {
  3279. switch (this.data.place) {
  3280. case 'above':
  3281. case 'sup':
  3282. return 'additionAbove';
  3283. case 'below':
  3284. case 'under':
  3285. case 'sub':
  3286. return 'additionBelow';
  3287. case 'end':
  3288. case 'inline':
  3289. case 'inspace':
  3290. return 'additionInline';
  3291. case 'left':
  3292. return 'additionLeft';
  3293. case 'right':
  3294. return 'additionRight';
  3295. default:
  3296. return 'addition';
  3297. }
  3298. }
  3299. };
  3300. AdditionComponent.ɵfac = function AdditionComponent_Factory(t) { return new (t || AdditionComponent)(); };
  3301. AdditionComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({ type: AdditionComponent, selectors: [["evt-addition"]], inputs: { data: "data" }, decls: 2, vars: 5, consts: [[1, "add", 3, "evtHighlight", "evtEditorialConventionLayout"], [3, "content", "editionLevel", "itemsToHighlight", "itemsLemsToHighlight", "itemsIperlemsToHighlight", 4, "ngFor", "ngForOf"], [3, "content", "editionLevel", "itemsToHighlight", "itemsLemsToHighlight", "itemsIperlemsToHighlight"]], template: function AdditionComponent_Template(rf, ctx) { if (rf & 1) {
  3302. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 0);
  3303. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, AdditionComponent_evt_content_viewer_1_Template, 1, 5, "evt-content-viewer", 1);
  3304. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  3305. } if (rf & 2) {
  3306. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("evtHighlight", ctx.highlightData)("evtEditorialConventionLayout", ctx.editorialConventionData);
  3307. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵattribute"]("data-edition", ctx.editionLevel)("data-place", ctx.data.place);
  3308. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  3309. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx.data.content);
  3310. } }, directives: [_directives_highlight_directive__WEBPACK_IMPORTED_MODULE_4__["HighlightDirective"], _directives_editorial_convention_layout_directive__WEBPACK_IMPORTED_MODULE_5__["EditorialConventionLayoutDirective"], _angular_common__WEBPACK_IMPORTED_MODULE_6__["NgForOf"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_7__["ContentViewerComponent"]], styles: ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJhZGRpdGlvbi5jb21wb25lbnQuc2NzcyJ9 */"] });
  3311. AdditionComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  3312. Object(_services_component_register_service__WEBPACK_IMPORTED_MODULE_3__["register"])(_models_evt_models__WEBPACK_IMPORTED_MODULE_2__["Addition"])
  3313. ], AdditionComponent);
  3314. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](AdditionComponent, [{
  3315. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
  3316. args: [{
  3317. selector: 'evt-addition',
  3318. templateUrl: './addition.component.html',
  3319. styleUrls: ['./addition.component.scss'],
  3320. }]
  3321. }], null, { data: [{
  3322. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
  3323. }] }); })();
  3324. /***/ }),
  3325. /***/ "9MqL":
  3326. /*!*****************************************************************!*\
  3327. !*** ./src/app/panels/witness-panel/witness-panel.component.ts ***!
  3328. \*****************************************************************/
  3329. /*! exports provided: WitnessPanelComponent */
  3330. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  3331. "use strict";
  3332. __webpack_require__.r(__webpack_exports__);
  3333. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "WitnessPanelComponent", function() { return WitnessPanelComponent; });
  3334. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "fXoL");
  3335. /* harmony import */ var _ui_components_panel_panel_component__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../ui-components/panel/panel.component */ "HiHV");
  3336. /* harmony import */ var _directives_annotator_directive__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../directives/annotator.directive */ "STiE");
  3337. class WitnessPanelComponent {
  3338. constructor() {
  3339. this.hide = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
  3340. }
  3341. emitHide() {
  3342. this.hide.emit(true);
  3343. }
  3344. }
  3345. WitnessPanelComponent.ɵfac = function WitnessPanelComponent_Factory(t) { return new (t || WitnessPanelComponent)(); };
  3346. WitnessPanelComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: WitnessPanelComponent, selectors: [["evt-witness-panel"]], inputs: { witness: "witness" }, outputs: { hide: "hide" }, decls: 8, vars: 4, consts: [[3, "comparable", "secondary", "closable", "hide"], ["header-left", ""], ["content", "", "evtAnnotator", ""]], template: function WitnessPanelComponent_Template(rf, ctx) { if (rf & 1) {
  3347. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "evt-panel", 0);
  3348. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("hide", function WitnessPanelComponent_Template_evt_panel_hide_0_listener() { return ctx.emitHide(); });
  3349. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "div", 1);
  3350. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2);
  3351. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  3352. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "div", 2);
  3353. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "h1");
  3354. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](5, "Text of witness");
  3355. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  3356. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](6, "p");
  3357. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](7, " Lorem ipsum dolor sit amet, consectetur adipisici elit, sed eiusmod tempor incidunt ut labore et dolore magna aliqua. Inmensae subtilitatis, obscuris et malesuada fames. Ambitioni dedisse scripsisse iudicaretur. At nos hinc posthac, sitientis piros Afros. ");
  3358. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  3359. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  3360. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  3361. } if (rf & 2) {
  3362. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("comparable", true)("secondary", true)("closable", true);
  3363. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
  3364. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" Witness ", ctx.witness, " ");
  3365. } }, directives: [_ui_components_panel_panel_component__WEBPACK_IMPORTED_MODULE_1__["PanelComponent"], _directives_annotator_directive__WEBPACK_IMPORTED_MODULE_2__["AnnotatorDirective"]], styles: ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJ3aXRuZXNzLXBhbmVsLmNvbXBvbmVudC5zY3NzIn0= */"] });
  3366. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](WitnessPanelComponent, [{
  3367. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
  3368. args: [{
  3369. selector: 'evt-witness-panel',
  3370. templateUrl: './witness-panel.component.html',
  3371. styleUrls: ['./witness-panel.component.scss'],
  3372. }]
  3373. }], null, { witness: [{
  3374. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
  3375. }], hide: [{
  3376. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
  3377. }] }); })();
  3378. /***/ }),
  3379. /***/ "9jgp":
  3380. /*!**************************************************!*\
  3381. !*** ./src/app/main-menu/main-menu.component.ts ***!
  3382. \**************************************************/
  3383. /*! exports provided: MainMenuComponent */
  3384. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  3385. "use strict";
  3386. __webpack_require__.r(__webpack_exports__);
  3387. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MainMenuComponent", function() { return MainMenuComponent; });
  3388. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "fXoL");
  3389. /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rxjs */ "qCKp");
  3390. /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs/operators */ "kU1M");
  3391. /* harmony import */ var _app_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../app.config */ "aR35");
  3392. /* harmony import */ var _components_global_lists_global_lists_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../components/global-lists/global-lists.component */ "rRcO");
  3393. /* harmony import */ var _components_project_info_project_info_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../components/project-info/project-info.component */ "s1S/");
  3394. /* harmony import */ var _evt_info_evt_info_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../evt-info/evt-info.component */ "5b7e");
  3395. /* harmony import */ var _shortcuts_shortcuts_component__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../shortcuts/shortcuts.component */ "lP9l");
  3396. /* harmony import */ var _ui_components_modal_modal_component__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../ui-components/modal/modal.component */ "P7wN");
  3397. /* harmony import */ var _services_themes_service__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../services/themes.service */ "onZX");
  3398. /* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @ngx-translate/core */ "sYmb");
  3399. /* harmony import */ var _ui_components_modal_modal_service__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../ui-components/modal/modal.service */ "6Xh2");
  3400. /* harmony import */ var _services_evt_model_service__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../services/evt-model.service */ "hI0h");
  3401. /* harmony import */ var _ui_components_directives_click_outside_directive__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../ui-components/directives/click-outside.directive */ "gCbp");
  3402. /* harmony import */ var _ui_components_directives_escape_directive__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../ui-components/directives/escape.directive */ "CimZ");
  3403. /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @angular/common */ "ofXK");
  3404. /* harmony import */ var _ui_components_icon_icon_component__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../ui-components/icon/icon.component */ "Mijh");
  3405. // import { SpecificListsComponent } from '../components/specific-lists/specific-lists.component';
  3406. function MainMenuComponent_ng_container_2_li_1_Template(rf, ctx) { if (rf & 1) {
  3407. const _r7 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
  3408. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "li");
  3409. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "span", 6);
  3410. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function MainMenuComponent_ng_container_2_li_1_Template_span_click_1_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r7); const item_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().$implicit; return item_r3.callback(); });
  3411. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](2, "evt-icon", 4);
  3412. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](3);
  3413. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](4, "translate");
  3414. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  3415. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  3416. } if (rf & 2) {
  3417. const item_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().$implicit;
  3418. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
  3419. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("iconInfo", item_r3.iconInfo);
  3420. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  3421. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"]("", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](4, 2, item_r3.label), " ");
  3422. } }
  3423. function MainMenuComponent_ng_container_2_Template(rf, ctx) { if (rf & 1) {
  3424. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
  3425. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, MainMenuComponent_ng_container_2_li_1_Template, 5, 4, "li", 2);
  3426. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "async");
  3427. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
  3428. } if (rf & 2) {
  3429. const item_r3 = ctx.$implicit;
  3430. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  3431. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](2, 1, item_r3.enabled$));
  3432. } }
  3433. function MainMenuComponent_li_5_img_5_Template(rf, ctx) { if (rf & 1) {
  3434. const _r12 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
  3435. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "img", 8);
  3436. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function MainMenuComponent_li_5_img_5_Template_img_click_0_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r12); const language_r10 = ctx.$implicit; const ctx_r11 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2); return ctx_r11.selectLanguage($event, language_r10); });
  3437. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](1, "translate");
  3438. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  3439. } if (rf & 2) {
  3440. const language_r10 = ctx.$implicit;
  3441. const ctx_r9 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
  3442. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵclassProp"]("active", ctx_r9.translate.currentLang === language_r10.code);
  3443. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpropertyInterpolate1"]("src", "../../assets/images/", language_r10.code, ".png", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵsanitizeUrl"]);
  3444. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("title", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](1, 4, language_r10.label));
  3445. } }
  3446. const _c0 = function () { return { icon: "language", additionalClasses: "icon" }; };
  3447. function MainMenuComponent_li_5_Template(rf, ctx) { if (rf & 1) {
  3448. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "li");
  3449. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "span", 3);
  3450. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](2, "evt-icon", 4);
  3451. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](3);
  3452. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](4, "translate");
  3453. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](5, MainMenuComponent_li_5_img_5_Template, 2, 6, "img", 7);
  3454. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  3455. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  3456. } if (rf & 2) {
  3457. const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
  3458. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
  3459. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("iconInfo", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction0"](6, _c0));
  3460. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  3461. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](4, 4, "changeLanguage"), " ");
  3462. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
  3463. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx_r1.getAvailableLanguages())("ngForTrackBy", ctx_r1.trackLanguages);
  3464. } }
  3465. function MainMenuComponent_span_11_Template(rf, ctx) { if (rf & 1) {
  3466. const _r15 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
  3467. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "span", 9);
  3468. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function MainMenuComponent_span_11_Template_span_click_0_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r15); const theme_r13 = ctx.$implicit; const ctx_r14 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](); return ctx_r14.selectTheme($event, theme_r13); });
  3469. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](1, "translate");
  3470. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  3471. } if (rf & 2) {
  3472. const theme_r13 = ctx.$implicit;
  3473. const ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
  3474. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵclassProp"]("active", ctx_r2.getCurrentTheme() === theme_r13);
  3475. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("title", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](1, 4, theme_r13.label));
  3476. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("data-theme", theme_r13.value);
  3477. } }
  3478. const _c1 = function () { return { icon: "paint-brush", additionalClasses: "icon" }; };
  3479. const _c2 = function () { return { icon: "keyboard", additionalClasses: "icon" }; };
  3480. const _c3 = function () { return { icon: "copyright", additionalClasses: "icon" }; };
  3481. class MainMenuComponent {
  3482. constructor(themes, translate, modalService, evtModelService) {
  3483. this.themes = themes;
  3484. this.translate = translate;
  3485. this.modalService = modalService;
  3486. this.evtModelService = evtModelService;
  3487. this.itemClicked = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
  3488. this.dynamicItems = [];
  3489. this.uiConfig = _app_config__WEBPACK_IMPORTED_MODULE_3__["AppConfig"].evtSettings.ui;
  3490. this.fileConfig = _app_config__WEBPACK_IMPORTED_MODULE_3__["AppConfig"].evtSettings.files;
  3491. this.editionConfig = _app_config__WEBPACK_IMPORTED_MODULE_3__["AppConfig"].evtSettings.edition;
  3492. this.isOpened = false;
  3493. this.subscriptions = [];
  3494. this.availableLangs = _app_config__WEBPACK_IMPORTED_MODULE_3__["AppConfig"].evtSettings.ui.availableLanguages.filter((l) => l.enabled);
  3495. }
  3496. ngOnInit() {
  3497. this.loadUiConfig();
  3498. this.isOpened = true;
  3499. }
  3500. closeMenu() {
  3501. if (this.isOpened) {
  3502. this.isOpened = false;
  3503. this.itemClicked.emit('close');
  3504. }
  3505. }
  3506. loadUiConfig() {
  3507. this.initDynamicItems();
  3508. }
  3509. initDynamicItems() {
  3510. // TODO Check if available from uiConfig
  3511. this.dynamicItems = [
  3512. {
  3513. id: 'projectInfo',
  3514. iconInfo: {
  3515. icon: 'info-circle',
  3516. additionalClasses: 'icon',
  3517. },
  3518. label: 'projectInfo',
  3519. enabled$: Object(rxjs__WEBPACK_IMPORTED_MODULE_1__["of"])(true),
  3520. callback: () => this.openGlobalDialogInfo(),
  3521. },
  3522. {
  3523. id: 'openLists',
  3524. iconInfo: {
  3525. icon: 'clipboard-list',
  3526. additionalClasses: 'icon',
  3527. },
  3528. label: 'openLists',
  3529. enabled$: this.evtModelService.namedEntities$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(ne => this.editionConfig.showLists && ne.all.entities.length > 0)),
  3530. callback: () => this.openGlobalDialogLists(),
  3531. },
  3532. ];
  3533. }
  3534. openGlobalDialogInfo() {
  3535. this.itemClicked.emit('globalInfo');
  3536. const modalRef = this.modalService.open(_ui_components_modal_modal_component__WEBPACK_IMPORTED_MODULE_8__["ModalComponent"], { id: 'project-info', animation: false });
  3537. const modalComp = modalRef.componentInstance;
  3538. modalComp.fixedHeight = true;
  3539. modalComp.wider = true;
  3540. modalComp.modalId = 'project-info';
  3541. modalComp.title = 'projectInfo';
  3542. modalComp.bodyContentClass = 'p-0 h-100';
  3543. modalComp.headerIcon = { icon: 'info', iconSet: 'fas', additionalClasses: 'mr-3' };
  3544. modalComp.bodyComponent = _components_project_info_project_info_component__WEBPACK_IMPORTED_MODULE_5__["ProjectInfoComponent"];
  3545. }
  3546. openGlobalDialogLists() {
  3547. this.itemClicked.emit('lists');
  3548. const modalRef = this.modalService.open(_ui_components_modal_modal_component__WEBPACK_IMPORTED_MODULE_8__["ModalComponent"], { id: 'global-lists' });
  3549. const modalComp = modalRef.componentInstance;
  3550. modalComp.fixedHeight = true;
  3551. modalComp.wider = true;
  3552. modalComp.modalId = 'global-lists';
  3553. modalComp.title = 'lists';
  3554. modalComp.bodyContentClass = 'p-0 h-100';
  3555. modalComp.headerIcon = { icon: 'clipboard-list', iconSet: 'fas', additionalClasses: 'mr-3' };
  3556. modalComp.bodyComponent = _components_global_lists_global_lists_component__WEBPACK_IMPORTED_MODULE_4__["GlobalListsComponent"];
  3557. }
  3558. // private openSpecificDialogLists() {
  3559. // this.itemClicked.emit('lists');
  3560. // const modalRef = this.modalService.open(ModalComponent, { id: 'specific-lists' });
  3561. // const modalComp = modalRef.componentInstance as ModalComponent;
  3562. // modalComp.fixedHeight = true;
  3563. // modalComp.wider = true;
  3564. // modalComp.modalId = 'specific-lists';
  3565. // modalComp.title = 'lists';
  3566. // modalComp.bodyContentClass = 'p-0 h-100';
  3567. // modalComp.headerIcon = { icon: 'clipboard-list', iconSet: 'fas', additionalClasses: 'mr-3' };
  3568. // modalComp.bodyComponent = SpecificListsComponent;
  3569. // }
  3570. // private generateBookmark() {
  3571. // // TODO generateBookmark
  3572. // this.itemClicked.emit('bookmark');
  3573. // }
  3574. // private downloadXML() {
  3575. // // TODO downloadXML
  3576. // this.itemClicked.emit('downloadXML');
  3577. // if (this.fileConfig && this.fileConfig.editionUrls) {
  3578. // this.fileConfig.editionUrls.forEach(url => window.open(url, '_blank'));
  3579. // } else {
  3580. // alert('Loading data... \nPlease try again later.');
  3581. // }
  3582. // }
  3583. openShortCuts() {
  3584. this.itemClicked.emit('shortcuts');
  3585. const modalRef = this.modalService.open(_ui_components_modal_modal_component__WEBPACK_IMPORTED_MODULE_8__["ModalComponent"], { id: 'shortcuts' });
  3586. const modalComp = modalRef.componentInstance;
  3587. modalComp.fixedHeight = true;
  3588. modalComp.modalId = 'shortcuts';
  3589. modalComp.title = 'shortcuts';
  3590. modalComp.bodyContentClass = 'p-3';
  3591. modalComp.headerIcon = { icon: 'keyboard', iconSet: 'fas', additionalClasses: 'mr-3' };
  3592. modalComp.bodyComponent = _shortcuts_shortcuts_component__WEBPACK_IMPORTED_MODULE_7__["ShortcutsComponent"];
  3593. }
  3594. // LANGUAGE
  3595. selectLanguage(event, languageSelected) {
  3596. event.stopPropagation();
  3597. this.translate.use(languageSelected.code);
  3598. this.itemClicked.emit('language');
  3599. }
  3600. getAvailableLanguages() {
  3601. return this.availableLangs;
  3602. }
  3603. // THEMES
  3604. selectTheme(event, theme) {
  3605. event.stopPropagation();
  3606. this.itemClicked.emit('theme');
  3607. this.themes.selectTheme(theme);
  3608. }
  3609. getAvailableThemes() {
  3610. return this.themes.getAvailableThemes();
  3611. }
  3612. getCurrentTheme() {
  3613. return this.themes.getCurrentTheme();
  3614. }
  3615. openEVTInfo() {
  3616. this.itemClicked.emit('evtInfo');
  3617. const modalRef = this.modalService.open(_ui_components_modal_modal_component__WEBPACK_IMPORTED_MODULE_8__["ModalComponent"], { id: 'evtInfo' });
  3618. const modalComp = modalRef.componentInstance;
  3619. modalComp.fixedHeight = true;
  3620. modalComp.modalId = 'evtInfo';
  3621. modalComp.title = 'aboutEVT';
  3622. modalComp.bodyContentClass = 'p-3';
  3623. modalComp.headerIcon = { icon: 'copyright', iconSet: 'fas', additionalClasses: 'mr-3' };
  3624. modalComp.bodyComponent = _evt_info_evt_info_component__WEBPACK_IMPORTED_MODULE_6__["EvtInfoComponent"];
  3625. }
  3626. // tslint:disable-next-line: variable-name
  3627. trackMenuItem(_index, item) {
  3628. return item.id;
  3629. }
  3630. // tslint:disable-next-line: variable-name
  3631. trackLanguages(_index, item) {
  3632. return item.code;
  3633. }
  3634. // tslint:disable-next-line: variable-name
  3635. trackTheme(_index, item) {
  3636. return item.value;
  3637. }
  3638. ngOnDestroy() {
  3639. this.subscriptions.forEach(subscription => subscription.unsubscribe());
  3640. }
  3641. }
  3642. MainMenuComponent.ɵfac = function MainMenuComponent_Factory(t) { return new (t || MainMenuComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_services_themes_service__WEBPACK_IMPORTED_MODULE_9__["ThemesService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_ngx_translate_core__WEBPACK_IMPORTED_MODULE_10__["TranslateService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_ui_components_modal_modal_service__WEBPACK_IMPORTED_MODULE_11__["ModalService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_services_evt_model_service__WEBPACK_IMPORTED_MODULE_12__["EVTModelService"])); };
  3643. MainMenuComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: MainMenuComponent, selectors: [["evt-main-menu"]], outputs: { itemClicked: "itemClicked" }, decls: 22, vars: 20, consts: [[1, "mainMenu", 3, "clickOutside", "escape"], [4, "ngFor", "ngForOf", "ngForTrackBy"], [4, "ngIf"], ["data-prevent-close", "true", 1, "no-action"], [3, "iconInfo"], ["class", "theme-item", 3, "active", "title", "click", 4, "ngFor", "ngForOf", "ngForTrackBy"], [3, "click"], ["class", "flag", 3, "src", "active", "title", "click", 4, "ngFor", "ngForOf", "ngForTrackBy"], [1, "flag", 3, "src", "title", "click"], [1, "theme-item", 3, "title", "click"]], template: function MainMenuComponent_Template(rf, ctx) { if (rf & 1) {
  3644. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 0);
  3645. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("clickOutside", function MainMenuComponent_Template_div_clickOutside_0_listener() { return ctx.closeMenu(); })("escape", function MainMenuComponent_Template_div_escape_0_listener() { return ctx.closeMenu(); });
  3646. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "ul");
  3647. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, MainMenuComponent_ng_container_2_Template, 3, 3, "ng-container", 1);
  3648. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  3649. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](3, "hr");
  3650. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "ul");
  3651. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](5, MainMenuComponent_li_5_Template, 6, 7, "li", 2);
  3652. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](6, "li");
  3653. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](7, "span", 3);
  3654. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](8, "evt-icon", 4);
  3655. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](9);
  3656. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](10, "translate");
  3657. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](11, MainMenuComponent_span_11_Template, 2, 6, "span", 5);
  3658. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  3659. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  3660. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](12, "li");
  3661. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](13, "span", 6);
  3662. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function MainMenuComponent_Template_span_click_13_listener() { return ctx.openShortCuts(); });
  3663. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](14, "evt-icon", 4);
  3664. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](15);
  3665. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](16, "translate");
  3666. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  3667. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  3668. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](17, "li");
  3669. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](18, "span", 6);
  3670. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function MainMenuComponent_Template_span_click_18_listener() { return ctx.openEVTInfo(); });
  3671. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](19, "evt-icon", 4);
  3672. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](20);
  3673. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](21, "translate");
  3674. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  3675. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  3676. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  3677. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  3678. } if (rf & 2) {
  3679. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
  3680. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx.dynamicItems)("ngForTrackBy", ctx.trackMenuItem);
  3681. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
  3682. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.uiConfig && ctx.uiConfig.localization);
  3683. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
  3684. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("iconInfo", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction0"](17, _c1));
  3685. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  3686. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](10, 11, "changeTheme"), " ");
  3687. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
  3688. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx.getAvailableThemes())("ngForTrackBy", ctx.trackTheme);
  3689. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
  3690. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("iconInfo", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction0"](18, _c2));
  3691. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  3692. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](16, 13, "shortcuts"), " ");
  3693. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
  3694. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("iconInfo", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction0"](19, _c3));
  3695. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  3696. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](21, 15, "aboutEVT"), " ");
  3697. } }, directives: [_ui_components_directives_click_outside_directive__WEBPACK_IMPORTED_MODULE_13__["ClickOutsideDirective"], _ui_components_directives_escape_directive__WEBPACK_IMPORTED_MODULE_14__["EscapeDirective"], _angular_common__WEBPACK_IMPORTED_MODULE_15__["NgForOf"], _angular_common__WEBPACK_IMPORTED_MODULE_15__["NgIf"], _ui_components_icon_icon_component__WEBPACK_IMPORTED_MODULE_16__["IconComponent"]], pipes: [_ngx_translate_core__WEBPACK_IMPORTED_MODULE_10__["TranslatePipe"], _angular_common__WEBPACK_IMPORTED_MODULE_15__["AsyncPipe"]], styles: ["[_ngcontent-%COMP%]:root {\n --thumbnail-height: 150px;\n --thumbnail-width: 100px;\n}\n\n.mainMenu[_ngcontent-%COMP%] {\n position: absolute;\n text-align: left;\n background-color: white;\n padding: 9px 0px;\n z-index: 9999;\n max-width: 340px;\n overflow: hidden;\n border-radius: 3px;\n top: 54px;\n right: 4px;\n -o-box-shadow: 0 2px 5px 0 rgba(0,0,0,0.26), 0 2px 10px 0 rgba(0,0,0,0.16);\n -ms-box-shadow: 0 2px 5px 0 rgba(0,0,0,0.26), 0 2px 10px 0 rgba(0,0,0,0.16);\n box-shadow: 0 2px 5px 0 rgba(0,0,0,0.26), 0 2px 10px 0 rgba(0,0,0,0.16);\n}\n\n.mainMenu[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] {\n margin: 0;\n list-style: none;\n padding: 0;\n color: #4b4b4b;\n}\n\n.mainMenu[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] > span[_ngcontent-%COMP%] {\n color: #444444;\n font-size: 1.1rem;\n height: 40px;\n padding: 6.5px 20px 0 20px;\n display: block;\n box-sizing: border-box;\n white-space: nowrap;\n cursor: pointer;\n}\n\n.mainMenu[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] > span.no-action[_ngcontent-%COMP%] {\n cursor: default;\n}\n\n.mainMenu[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:hover {\n background-color: #f4f5f5;\n cursor: pointer;\n}\n\n.mainMenu[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li.inactive[_ngcontent-%COMP%] *[_ngcontent-%COMP%] {\n background-color: #f5f5f5;\n color: #ccc;\n cursor: default;\n}\n\n.mainMenu[_ngcontent-%COMP%] img.flag[_ngcontent-%COMP%], .mainMenu[_ngcontent-%COMP%] .theme-item[_ngcontent-%COMP%] {\n height: 20px;\n width: 20px;\n border-radius: 100px;\n border: 1px solid #4E443C;\n display: inline-block;\n margin: 0px 4px;\n position: relative;\n cursor: pointer;\n opacity: 0.5;\n vertical-align: middle;\n}\n\n.mainMenu[_ngcontent-%COMP%] img.flag.active[_ngcontent-%COMP%], .mainMenu[_ngcontent-%COMP%] .theme-item.active[_ngcontent-%COMP%] {\n cursor: default;\n opacity: 1;\n}\n\n.mainMenu[_ngcontent-%COMP%] img.flag[_ngcontent-%COMP%]:hover, .mainMenu[_ngcontent-%COMP%] .theme-item[_ngcontent-%COMP%]:hover {\n opacity: 1;\n}\n\n.mainMenu[_ngcontent-%COMP%] .theme-item[data-theme=restore][_ngcontent-%COMP%] {\n background: #0a4553;\n}\n\n.mainMenu[_ngcontent-%COMP%] .theme-item[data-theme=neutral][_ngcontent-%COMP%] {\n background: #45535a;\n}\n\n.mainMenu[_ngcontent-%COMP%] .theme-item[data-theme=modern][_ngcontent-%COMP%] {\n background: #263238;\n}\n\n.mainMenu[_ngcontent-%COMP%] .theme-item[data-theme=classic][_ngcontent-%COMP%] {\n background: #362d28;\n}\n\n .mainMenu .icon {\n margin-right: 14px;\n min-width: 20px;\n float: left;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL2Fzc2V0cy9zY3NzL192YXJpYWJsZXMuc2NzcyIsIi4uLy4uLy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cHg7XG4gICAgICAgICAgICAgICAgcGFkZGluZzogNi41cHggMjBweCAwIDIwcHg7XG4gICAgICAgICAgICAgICAgZGlzcGxheTogYmxvY2s7XG4gICAgICAgICAgICAgICAgYm94LXNpemluZzogYm9yZGVyLWJveDtcbiAgICAgICAgICAgICAgICB3aGl0ZS1zcGFjZTogbm93cmFwO1xuICAgICAgICAgICAgICAgIGN1cnNvcjogcG9pbnRlcjtcblxuICAgICAgICAgICAgICAgICYubm8tYWN0aW9uIHtcbiAgICAgICAgICAgICAgICAgICAgY3Vyc29yOiBkZWZhdWx0O1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgJjpob3ZlciB7XG4gICAgICAgICAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogI2Y0ZjVmNTtcbiAgICAgICAgICAgICAgICBjdXJzb3I6IHBvaW50ZXI7XG4gICAgICAgICAgICB9XG5cbiAgICAgICAgICAgICYuaW5hY3RpdmUgKiB7XG4gICAgICAgICAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogI2Y1ZjVmNTtcbiAgICAgICAgICAgICAgICBjb2xvcjogI2NjYztcbiAgICAgICAgICAgICAgICBjdXJzb3I6IGRlZmF1bHQ7XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICB9XG5cbiAgICBpbWcuZmxhZywgLnRoZW1lLWl0ZW0ge1xuICAgICAgICBoZWlnaHQ6IDIwcHg7XG4gICAgICAgIHdpZHRoOiAyMHB4O1xuICAgICAgICBib3JkZXItcmFkaXVzOiAxMDBweDtcbiAgICAgICAgYm9yZGVyOiAxcHggc29saWQgIzRFNDQzQztcbiAgICAgICAgZGlzcGxheTogaW5saW5lLWJsb2NrO1xuICAgICAgICBtYXJnaW46IDBweCA0cHg7XG4gICAgICAgIHBvc2l0aW9uOiByZWxhdGl2ZTtcbiAgICAgICAgY3Vyc29yOiBwb2ludGVyO1xuICAgICAgICBvcGFjaXR5OiAuNTtcbiAgICAgICAgd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cInRoZW1lLW5hbWVcImAgYXR0cmlidXRlXG4vLyBhbmQgZW1ib2R5IGV2ZXJ5IENTUyBydWxlIHRoYXQgbmVlZHMgdG8gYmUgdGhlbWlmaWVkIHdpdGhpbiB0aGUgbWl4aW46XG4vLyBgYGBcbi8vICBidG4tcHJpbWFyeSB7XG4gICAgLy8gIEBpbmNsdWRlIHRoZW1pZnlTZWxmKCR0aGVtZXMpIHtcbiAgICAgICAgLy8gIGNvbG9yOiB0aGVtZWQoJ2Jhc2VDb2xvckRhcmsnKTtcbiAgICAvLyAgfVxuLy8gIH1cbi8vIGBgYFxuQG1peGluIHRoZW1pZnlTZWxmKCR0aGVtZXM6ICR0aGVtZXMpIHtcbiAgICBAZWFjaCAkdGhlbWUsICRtYXAgaW4gJHRoZW1lcyB7XG4gICAgICAgICAmW2RhdGEtdGhlbWU9XCIjeyR0aGVtZX1cIl0ge1xuICAgICAgICAgICAgJHRoZW1lLW1hcDogKCkgIWdsb2JhbDtcbiAgICAgICAgICAgIEBlYWNoICRrZXksICRzdWJtYXAgaW4gJG1hcCB7XG4gICAgICAgICAgICAgICAgJHZhbHVlOiBtYXAtZ2V0KG1hcC1nZXQoJHRoZW1lcywgJHRoZW1lKSwgJyN7JGtleX0nKTtcbiAgICAgICAgICAgICAgICAkdGhlbWUtbWFwOiBtYXAtbWVyZ2UoJHRoZW1lLW1hcCwgKCRrZXk6ICR2YWx1ZSkpICFnbG9iYWw7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICBAY29udGVudDtcbiAgICAgICAgICAgICR0aGVtZS1tYXA6IG51bGwgIWdsb2JhbDtcbiAgICAgICAgfVxuICAgIH1cbn1cblxuQGZ1bmN0aW9uIHRoZW1lZCgka2V5KSB7XG4gICAgQHJldHVybiBtYXAtZ2V0KCR0aGVtZS1tYXAsICRrZXkpO1xufVxuXG4iXX0= */"] });
  3698. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](MainMenuComponent, [{
  3699. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
  3700. args: [{
  3701. selector: 'evt-main-menu',
  3702. templateUrl: './main-menu.component.html',
  3703. styleUrls: ['./main-menu.component.scss'],
  3704. }]
  3705. }], function () { return [{ type: _services_themes_service__WEBPACK_IMPORTED_MODULE_9__["ThemesService"] }, { type: _ngx_translate_core__WEBPACK_IMPORTED_MODULE_10__["TranslateService"] }, { type: _ui_components_modal_modal_service__WEBPACK_IMPORTED_MODULE_11__["ModalService"] }, { type: _services_evt_model_service__WEBPACK_IMPORTED_MODULE_12__["EVTModelService"] }]; }, { itemClicked: [{
  3706. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
  3707. }] }); })();
  3708. /***/ }),
  3709. /***/ "9viu":
  3710. /*!***********************************************************************!*\
  3711. !*** ./src/app/components/specific-lists/specific-lists.component.ts ***!
  3712. \***********************************************************************/
  3713. /*! exports provided: SpecificListsComponent */
  3714. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  3715. "use strict";
  3716. __webpack_require__.r(__webpack_exports__);
  3717. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SpecificListsComponent", function() { return SpecificListsComponent; });
  3718. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "fXoL");
  3719. /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rxjs/operators */ "kU1M");
  3720. /* harmony import */ var _services_evt_model_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../services/evt-model.service */ "hI0h");
  3721. /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/common */ "ofXK");
  3722. /* harmony import */ var _ui_components_icon_icon_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../ui-components/icon/icon.component */ "Mijh");
  3723. /* harmony import */ var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../content-viewer/content-viewer.component */ "t6RO");
  3724. /* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @ngx-translate/core */ "sYmb");
  3725. function SpecificListsComponent_ng_template_2_ng_template_0_Template(rf, ctx) { }
  3726. const _c0 = function (a0) { return { lemlist: a0, last: false }; };
  3727. function SpecificListsComponent_ng_template_2_Template(rf, ctx) { if (rf & 1) {
  3728. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](0, SpecificListsComponent_ng_template_2_ng_template_0_Template, 0, 0, "ng-template", 9);
  3729. } if (rf & 2) {
  3730. const lemlist_r6 = ctx.$implicit;
  3731. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
  3732. const _r4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵreference"](11);
  3733. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngTemplateOutlet", _r4)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction1"](2, _c0, lemlist_r6));
  3734. } }
  3735. const _c1 = function () { return { icon: "network-wired", additionalClasses: "mr-1" }; };
  3736. function SpecificListsComponent_div_4_Template(rf, ctx) { if (rf & 1) {
  3737. const _r9 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
  3738. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 10);
  3739. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function SpecificListsComponent_div_4_Template_div_click_0_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r9); const ctx_r8 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](); return ctx_r8.openRelations(); });
  3740. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "span", 11);
  3741. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](2, "evt-icon", 12);
  3742. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](3);
  3743. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](4, "translate");
  3744. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](5, "span", 13);
  3745. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](6);
  3746. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](7, "async");
  3747. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  3748. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  3749. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  3750. } if (rf & 2) {
  3751. const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
  3752. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
  3753. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("iconInfo", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction0"](7, _c1));
  3754. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  3755. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](4, 3, "relations"), " ");
  3756. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
  3757. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](7, 5, ctx_r1.relations$).length);
  3758. } }
  3759. function SpecificListsComponent_ng_container_8_evt_content_viewer_1_Template(rf, ctx) { if (rf & 1) {
  3760. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "evt-content-viewer", 15);
  3761. } if (rf & 2) {
  3762. const relation_r11 = ctx.$implicit;
  3763. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("content", relation_r11);
  3764. } }
  3765. function SpecificListsComponent_ng_container_8_Template(rf, ctx) { if (rf & 1) {
  3766. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
  3767. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, SpecificListsComponent_ng_container_8_evt_content_viewer_1_Template, 1, 1, "evt-content-viewer", 14);
  3768. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "async");
  3769. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
  3770. } if (rf & 2) {
  3771. const ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
  3772. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  3773. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](2, 1, ctx_r2.relations$));
  3774. } }
  3775. function SpecificListsComponent_ng_container_9_evt_content_viewer_1_Template(rf, ctx) { if (rf & 1) {
  3776. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "evt-content-viewer", 15);
  3777. } if (rf & 2) {
  3778. const ctx_r12 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
  3779. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("content", ctx_r12.selectedList);
  3780. } }
  3781. function SpecificListsComponent_ng_container_9_Template(rf, ctx) { if (rf & 1) {
  3782. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
  3783. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, SpecificListsComponent_ng_container_9_evt_content_viewer_1_Template, 1, 1, "evt-content-viewer", 16);
  3784. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
  3785. } if (rf & 2) {
  3786. const ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
  3787. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  3788. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r3.selectedList);
  3789. } }
  3790. const _c2 = function (a0) { return { icon: a0, additionalClasses: "mr-1" }; };
  3791. function SpecificListsComponent_ng_template_10_evt_icon_2_Template(rf, ctx) { if (rf & 1) {
  3792. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "evt-icon", 12);
  3793. } if (rf & 2) {
  3794. const lemlist_r13 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().lemlist;
  3795. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("iconInfo", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction1"](1, _c2, lemlist_r13.icon));
  3796. } }
  3797. function SpecificListsComponent_ng_template_10_span_5_Template(rf, ctx) { if (rf & 1) {
  3798. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "span", 13);
  3799. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
  3800. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  3801. } if (rf & 2) {
  3802. const lemlist_r13 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().lemlist;
  3803. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  3804. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](lemlist_r13.content == null ? null : lemlist_r13.content.length);
  3805. } }
  3806. function SpecificListsComponent_ng_template_10_div_6_ng_template_1_ng_template_0_Template(rf, ctx) { }
  3807. const _c3 = function (a0, a1) { return { lemlist: a0, last: a1 }; };
  3808. function SpecificListsComponent_ng_template_10_div_6_ng_template_1_Template(rf, ctx) { if (rf & 1) {
  3809. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](0, SpecificListsComponent_ng_template_10_div_6_ng_template_1_ng_template_0_Template, 0, 0, "ng-template", 9);
  3810. } if (rf & 2) {
  3811. const sublist_r21 = ctx.$implicit;
  3812. const last_r22 = ctx.$implicit;
  3813. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](3);
  3814. const _r4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵreference"](11);
  3815. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngTemplateOutlet", _r4)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction2"](2, _c3, sublist_r21, last_r22));
  3816. } }
  3817. function SpecificListsComponent_ng_template_10_div_6_Template(rf, ctx) { if (rf & 1) {
  3818. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 21);
  3819. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, SpecificListsComponent_ng_template_10_div_6_ng_template_1_Template, 1, 5, "ng-template", 2);
  3820. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  3821. } if (rf & 2) {
  3822. const lemlist_r13 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().lemlist;
  3823. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  3824. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", lemlist_r13.sublists);
  3825. } }
  3826. const _c4 = function (a0, a1, a2, a3) { return { hidden: a0, "bg-dark": a1, "text-light": a2, "border-bottom": a3 }; };
  3827. function SpecificListsComponent_ng_template_10_Template(rf, ctx) { if (rf & 1) {
  3828. const _r26 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
  3829. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 17);
  3830. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function SpecificListsComponent_ng_template_10_Template_div_click_0_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r26); const lemlist_r13 = ctx.lemlist; const ctx_r25 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](); return ctx_r25.openLemList($event, lemlist_r13); });
  3831. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "span", 11);
  3832. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, SpecificListsComponent_ng_template_10_evt_icon_2_Template, 1, 3, "evt-icon", 18);
  3833. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](3);
  3834. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](4, "translate");
  3835. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](5, SpecificListsComponent_ng_template_10_span_5_Template, 2, 1, "span", 19);
  3836. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  3837. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](6, SpecificListsComponent_ng_template_10_div_6_Template, 2, 1, "div", 20);
  3838. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  3839. } if (rf & 2) {
  3840. const lemlist_r13 = ctx.lemlist;
  3841. const last_r14 = ctx.last;
  3842. const ctx_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
  3843. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction4"](7, _c4, (lemlist_r13.content == null ? null : lemlist_r13.content.length) === 0, ctx_r5.selectedList === lemlist_r13, ctx_r5.selectedList === lemlist_r13, !last_r14));
  3844. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
  3845. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", lemlist_r13.icon);
  3846. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  3847. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](4, 5, lemlist_r13.label), " ");
  3848. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
  3849. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", (lemlist_r13.content == null ? null : lemlist_r13.content.length) > 0);
  3850. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  3851. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", lemlist_r13.sublists.length > 0);
  3852. } }
  3853. class SpecificListsComponent {
  3854. constructor(evtModelService) {
  3855. this.evtModelService = evtModelService;
  3856. this.lists$ = this.evtModelService.lemmatizedEntities$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__["map"])(ne => (ne.lemmas.lemlists)), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__["map"])(lemlists => (lemlists.map(lemlist => (Object.assign(Object.assign({}, lemlist), { icon: this.listsIcons[lemlist.lemmatizedEntityType] || 'lemlist' }))))), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__["tap"])(lemlists => {
  3857. if (!this.selectedList && lemlists[0]) {
  3858. this.openLemList(undefined, lemlists[0]);
  3859. }
  3860. }));
  3861. this.relations$ = this.evtModelService.lemmatizedEntities$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__["map"])(ne => ne.relations));
  3862. this.showRelations = false;
  3863. this.listsIcons = {
  3864. lem: 'user',
  3865. place: 'map-marker',
  3866. org: 'users',
  3867. event: 'calendar',
  3868. };
  3869. }
  3870. openLemList(event, lemlist) {
  3871. if (event) {
  3872. event.stopPropagation();
  3873. }
  3874. if (this.selectedList !== lemlist) {
  3875. this.selectedList = lemlist;
  3876. }
  3877. this.showRelations = false;
  3878. }
  3879. openRelations() {
  3880. this.showRelations = true;
  3881. this.selectedList = undefined;
  3882. }
  3883. }
  3884. SpecificListsComponent.ɵfac = function SpecificListsComponent_Factory(t) { return new (t || SpecificListsComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_services_evt_model_service__WEBPACK_IMPORTED_MODULE_2__["EVTModelService"])); };
  3885. SpecificListsComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: SpecificListsComponent, selectors: [["evt-specific-lists"]], decls: 12, vars: 8, consts: [[1, "row", "h-100", "m-0"], [1, "bg-light", "col-3", "p-0", "border-right"], ["ngFor", "", 3, "ngForOf"], ["class", "list-item border-bottom border-top", 3, "click", 4, "ngIf"], [1, "col-9", "p-0"], [3, "ngSwitch"], [4, "ngSwitchCase"], [4, "ngSwitchDefault"], ["listTemplate", ""], [3, "ngTemplateOutlet", "ngTemplateOutletContext"], [1, "list-item", "border-bottom", "border-top", 3, "click"], [1, "list-item-main", "p-2", "w-100", "d-block", "edition-font"], [3, "iconInfo"], [1, "badge", "badge-pill", "badge-info", "ui-font"], [3, "content", 4, "ngFor", "ngForOf"], [3, "content"], [3, "content", 4, "ngIf"], [1, "list-item", "border-bottom", 3, "ngClass", "click"], [3, "iconInfo", 4, "ngIf"], ["class", "badge badge-pill badge-info ui-font", 4, "ngIf"], ["class", "sub-list ml-3 border-left", 4, "ngIf"], [1, "sub-list", "ml-3", "border-left"]], template: function SpecificListsComponent_Template(rf, ctx) { if (rf & 1) {
  3886. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 0);
  3887. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "div", 1);
  3888. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, SpecificListsComponent_ng_template_2_Template, 1, 4, "ng-template", 2);
  3889. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](3, "async");
  3890. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](4, SpecificListsComponent_div_4_Template, 8, 8, "div", 3);
  3891. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](5, "async");
  3892. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  3893. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](6, "div", 4);
  3894. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](7, 5);
  3895. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](8, SpecificListsComponent_ng_container_8_Template, 3, 3, "ng-container", 6);
  3896. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](9, SpecificListsComponent_ng_container_9_Template, 2, 1, "ng-container", 7);
  3897. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
  3898. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  3899. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  3900. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](10, SpecificListsComponent_ng_template_10_Template, 7, 12, "ng-template", null, 8, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplateRefExtractor"]);
  3901. } if (rf & 2) {
  3902. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
  3903. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](3, 4, ctx.lists$));
  3904. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
  3905. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](5, 6, ctx.relations$).length > 0);
  3906. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
  3907. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngSwitch", ctx.showRelations);
  3908. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  3909. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngSwitchCase", true);
  3910. } }, directives: [_angular_common__WEBPACK_IMPORTED_MODULE_3__["NgForOf"], _angular_common__WEBPACK_IMPORTED_MODULE_3__["NgIf"], _angular_common__WEBPACK_IMPORTED_MODULE_3__["NgSwitch"], _angular_common__WEBPACK_IMPORTED_MODULE_3__["NgSwitchCase"], _angular_common__WEBPACK_IMPORTED_MODULE_3__["NgSwitchDefault"], _angular_common__WEBPACK_IMPORTED_MODULE_3__["NgTemplateOutlet"], _ui_components_icon_icon_component__WEBPACK_IMPORTED_MODULE_4__["IconComponent"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_5__["ContentViewerComponent"], _angular_common__WEBPACK_IMPORTED_MODULE_3__["NgClass"]], pipes: [_angular_common__WEBPACK_IMPORTED_MODULE_3__["AsyncPipe"], _ngx_translate_core__WEBPACK_IMPORTED_MODULE_6__["TranslatePipe"]], styles: [".list-item[_ngcontent-%COMP%]:not(.active):hover, .sub-list-item[_ngcontent-%COMP%]:not(.active):hover {\n cursor: pointer;\n background: rgba(0, 0, 0, 0.1);\n}\n.list-item[_ngcontent-%COMP%] .badge[_ngcontent-%COMP%], .sub-list-item[_ngcontent-%COMP%] .badge[_ngcontent-%COMP%] {\n position: absolute;\n right: 0.5rem;\n margin-top: 0.3rem;\n}\n.toggler[_ngcontent-%COMP%] {\n cursor: pointer;\n}\n.toggler[_ngcontent-%COMP%]:hover {\n opacity: 0.8;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NwZWNpZmljLWxpc3RzLmNvbXBvbmVudC5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUVJOztFQUNJLGVBQUE7RUFDQSw4QkFBQTtBQUFSO0FBR0k7O0VBQ0ksa0JBQUE7RUFDQSxhQUFBO0VBQ0Esa0JBQUE7QUFBUjtBQUlBO0VBQ0ksZUFBQTtBQURKO0FBR0k7RUFDSSxZQUFBO0FBRFIiLCJmaWxlIjoic3BlY2lmaWMtbGlzdHMuY29tcG9uZW50LnNjc3MiLCJzb3VyY2VzQ29udGVudCI6WyIubGlzdC1pdGVtLFxuLnN1Yi1saXN0LWl0ZW0ge1xuICAgICY6bm90KC5hY3RpdmUpOmhvdmVyIHtcbiAgICAgICAgY3Vyc29yOiBwb2ludGVyO1xuICAgICAgICBiYWNrZ3JvdW5kOiByZ2JhKDAsIDAsIDAsIC4xKTtcbiAgICB9XG5cbiAgICAuYmFkZ2Uge1xuICAgICAgICBwb3NpdGlvbjogYWJzb2x1dGU7XG4gICAgICAgIHJpZ2h0OiAwLjVyZW07XG4gICAgICAgIG1hcmdpbi10b3A6IDAuM3JlbTtcbiAgICB9XG59XG5cbi50b2dnbGVyIHtcbiAgICBjdXJzb3I6IHBvaW50ZXI7XG5cbiAgICAmOmhvdmVyIHtcbiAgICAgICAgb3BhY2l0eTogLjg7XG4gICAgfVxufSJdfQ== */"] });
  3911. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](SpecificListsComponent, [{
  3912. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
  3913. args: [{
  3914. selector: 'evt-specific-lists',
  3915. templateUrl: './specific-lists.component.html',
  3916. styleUrls: ['./specific-lists.component.scss'],
  3917. }]
  3918. }], function () { return [{ type: _services_evt_model_service__WEBPACK_IMPORTED_MODULE_2__["EVTModelService"] }]; }, null); })();
  3919. /***/ }),
  3920. /***/ "AKfy":
  3921. /*!*****************************************************************!*\
  3922. !*** ./src/app/components/series-stmt/series-stmt.component.ts ***!
  3923. \*****************************************************************/
  3924. /*! exports provided: SeriesStmtComponent */
  3925. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  3926. "use strict";
  3927. __webpack_require__.r(__webpack_exports__);
  3928. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SeriesStmtComponent", function() { return SeriesStmtComponent; });
  3929. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "mrSG");
  3930. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "fXoL");
  3931. /* harmony import */ var _models_evt_models__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../models/evt-models */ "5c0l");
  3932. /* harmony import */ var _services_component_register_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../services/component-register.service */ "d25s");
  3933. /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/common */ "ofXK");
  3934. /* harmony import */ var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../content-viewer/content-viewer.component */ "t6RO");
  3935. /* harmony import */ var _ui_components_header_section_header_section_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../ui-components/header-section/header-section.component */ "iRdJ");
  3936. function SeriesStmtComponent_ng_container_2_ng_container_1_Template(rf, ctx) { if (rf & 1) {
  3937. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0);
  3938. } }
  3939. function SeriesStmtComponent_ng_container_2_ng_container_2_Template(rf, ctx) { if (rf & 1) {
  3940. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0);
  3941. } }
  3942. function SeriesStmtComponent_ng_container_2_ng_container_3_Template(rf, ctx) { if (rf & 1) {
  3943. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0);
  3944. } }
  3945. function SeriesStmtComponent_ng_container_2_ng_container_4_Template(rf, ctx) { if (rf & 1) {
  3946. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0);
  3947. } }
  3948. function SeriesStmtComponent_ng_container_2_ng_container_5_Template(rf, ctx) { if (rf & 1) {
  3949. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0);
  3950. } }
  3951. const _c0 = function (a1) { return { label: "", items: a1, class: "title" }; };
  3952. const _c1 = function (a1) { return { label: "", items: a1, class: "biblScope" }; };
  3953. const _c2 = function (a1) { return { label: "", items: a1, class: "editor" }; };
  3954. const _c3 = function (a1) { return { label: "idno", items: a1, class: "idno" }; };
  3955. const _c4 = function (a1) { return { label: "responsibles", items: a1, class: "respStmt", itemsSeparator: ", " }; };
  3956. function SeriesStmtComponent_ng_container_2_Template(rf, ctx) { if (rf & 1) {
  3957. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
  3958. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, SeriesStmtComponent_ng_container_2_ng_container_1_Template, 1, 0, "ng-container", 5);
  3959. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, SeriesStmtComponent_ng_container_2_ng_container_2_Template, 1, 0, "ng-container", 5);
  3960. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, SeriesStmtComponent_ng_container_2_ng_container_3_Template, 1, 0, "ng-container", 5);
  3961. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, SeriesStmtComponent_ng_container_2_ng_container_4_Template, 1, 0, "ng-container", 5);
  3962. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](5, SeriesStmtComponent_ng_container_2_ng_container_5_Template, 1, 0, "ng-container", 5);
  3963. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
  3964. } if (rf & 2) {
  3965. const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  3966. const _r2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵreference"](5);
  3967. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  3968. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r2)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](10, _c0, ctx_r0.data == null ? null : ctx_r0.data.title));
  3969. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  3970. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r2)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](12, _c1, ctx_r0.data == null ? null : ctx_r0.data.biblScope));
  3971. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  3972. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r2)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](14, _c2, ctx_r0.data == null ? null : ctx_r0.data.editor));
  3973. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  3974. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r2)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](16, _c3, ctx_r0.data == null ? null : ctx_r0.data.idno));
  3975. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  3976. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r2)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](18, _c4, ctx_r0.data == null ? null : ctx_r0.data.respStmt));
  3977. } }
  3978. function SeriesStmtComponent_ng_container_3_evt_content_viewer_1_Template(rf, ctx) { if (rf & 1) {
  3979. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 7);
  3980. } if (rf & 2) {
  3981. const element_r10 = ctx.$implicit;
  3982. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", element_r10);
  3983. } }
  3984. function SeriesStmtComponent_ng_container_3_Template(rf, ctx) { if (rf & 1) {
  3985. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
  3986. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, SeriesStmtComponent_ng_container_3_evt_content_viewer_1_Template, 1, 1, "evt-content-viewer", 6);
  3987. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
  3988. } if (rf & 2) {
  3989. const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  3990. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  3991. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r1.data == null ? null : ctx_r1.data.content);
  3992. } }
  3993. function SeriesStmtComponent_ng_template_4_evt_header_section_0_ng_container_2_ng_container_2_Template(rf, ctx) { if (rf & 1) {
  3994. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
  3995. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1);
  3996. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
  3997. } if (rf & 2) {
  3998. const itemsSeparator_r14 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](3).itemsSeparator;
  3999. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  4000. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](itemsSeparator_r14);
  4001. } }
  4002. function SeriesStmtComponent_ng_template_4_evt_header_section_0_ng_container_2_Template(rf, ctx) { if (rf & 1) {
  4003. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
  4004. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](1, "evt-content-viewer", 7);
  4005. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, SeriesStmtComponent_ng_template_4_evt_header_section_0_ng_container_2_ng_container_2_Template, 2, 1, "ng-container", 12);
  4006. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
  4007. } if (rf & 2) {
  4008. const item_r17 = ctx.$implicit;
  4009. const i_r18 = ctx.index;
  4010. const ctx_r21 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
  4011. const itemsSeparator_r14 = ctx_r21.itemsSeparator;
  4012. const items_r12 = ctx_r21.items;
  4013. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  4014. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", item_r17);
  4015. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  4016. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", itemsSeparator_r14 && i_r18 < items_r12.length - 1);
  4017. } }
  4018. function SeriesStmtComponent_ng_template_4_evt_header_section_0_Template(rf, ctx) { if (rf & 1) {
  4019. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "evt-header-section", 9);
  4020. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "div", 10);
  4021. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, SeriesStmtComponent_ng_template_4_evt_header_section_0_ng_container_2_Template, 3, 2, "ng-container", 11);
  4022. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  4023. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  4024. } if (rf & 2) {
  4025. const ctx_r22 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  4026. const label_r11 = ctx_r22.label;
  4027. const class_r13 = ctx_r22.class;
  4028. const items_r12 = ctx_r22.items;
  4029. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", label_r11)("additionalClass", class_r13)("inlineLabel", true);
  4030. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  4031. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", items_r12);
  4032. } }
  4033. function SeriesStmtComponent_ng_template_4_Template(rf, ctx) { if (rf & 1) {
  4034. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](0, SeriesStmtComponent_ng_template_4_evt_header_section_0_Template, 3, 4, "evt-header-section", 8);
  4035. } if (rf & 2) {
  4036. const items_r12 = ctx.items;
  4037. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", (items_r12 == null ? null : items_r12.length) > 0);
  4038. } }
  4039. let SeriesStmtComponent = class SeriesStmtComponent {
  4040. };
  4041. SeriesStmtComponent.ɵfac = function SeriesStmtComponent_Factory(t) { return new (t || SeriesStmtComponent)(); };
  4042. SeriesStmtComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({ type: SeriesStmtComponent, selectors: [["evt-series-stmt"]], inputs: { data: "data" }, decls: 6, vars: 2, consts: [[1, "seriesStatement"], [3, "ngSwitch"], [4, "ngSwitchCase"], [4, "ngSwitchDefault"], ["section", ""], [4, "ngTemplateOutlet", "ngTemplateOutletContext"], [3, "content", 4, "ngFor", "ngForOf"], [3, "content"], [3, "label", "additionalClass", "inlineLabel", 4, "ngIf"], [3, "label", "additionalClass", "inlineLabel"], ["content", ""], [4, "ngFor", "ngForOf"], [4, "ngIf"]], template: function SeriesStmtComponent_Template(rf, ctx) { if (rf & 1) {
  4043. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 0);
  4044. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](1, 1);
  4045. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, SeriesStmtComponent_ng_container_2_Template, 6, 20, "ng-container", 2);
  4046. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, SeriesStmtComponent_ng_container_3_Template, 2, 1, "ng-container", 3);
  4047. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
  4048. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  4049. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, SeriesStmtComponent_ng_template_4_Template, 1, 1, "ng-template", null, 4, _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplateRefExtractor"]);
  4050. } if (rf & 2) {
  4051. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  4052. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngSwitch", ctx.data == null ? null : ctx.data.structuredData);
  4053. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  4054. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngSwitchCase", true);
  4055. } }, directives: [_angular_common__WEBPACK_IMPORTED_MODULE_4__["NgSwitch"], _angular_common__WEBPACK_IMPORTED_MODULE_4__["NgSwitchCase"], _angular_common__WEBPACK_IMPORTED_MODULE_4__["NgSwitchDefault"], _angular_common__WEBPACK_IMPORTED_MODULE_4__["NgTemplateOutlet"], _angular_common__WEBPACK_IMPORTED_MODULE_4__["NgForOf"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_5__["ContentViewerComponent"], _angular_common__WEBPACK_IMPORTED_MODULE_4__["NgIf"], _ui_components_header_section_header_section_component__WEBPACK_IMPORTED_MODULE_6__["HeaderSectionComponent"]], styles: [".main-section-title[_ngcontent-%COMP%] {\n border-bottom: 1px dotted #666;\n margin-bottom: 5px;\n font-variant: small-caps;\n color: #000;\n font-size: 1.2rem;\n display: block;\n margin-top: 14px;\n text-align: left;\n}\n\n.seriesStatement[_ngcontent-%COMP%] .resp-stmt {\n display: inline-block;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Nlcmllcy1zdG10LmNvbXBvbmVudC5zY3NzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vYXNzZXRzL3Njc3MvX21peGlucy5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUVBO0VDMkZFLDhCQUFBO0VBQ0Esa0JBQUE7RUFDQSx3QkFBQTtFQUNBLFdBQUE7RUFDQSxpQkFBQTtFQUNBLGNBQUE7RUFDQSxnQkFBQTtFQUNBLGdCQUFBO0FEM0ZGOztBQURRO0VBQ0kscUJBQUE7QUFJWiIsImZpbGUiOiJzZXJpZXMtc3RtdC5jb21wb25lbnQuc2NzcyIsInNvdXJjZXNDb250ZW50IjpbIkBpbXBvcnQgXCIuLi8uLi8uLi9hc3NldHMvc2Nzcy9taXhpbnNcIjtcblxuLm1haW4tc2VjdGlvbi10aXRsZSB7XG4gICAgQGluY2x1ZGUga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Y29sb3I6ICMwMDA7XG4gIGZvbnQtc2l6ZTogMS4ycmVtO1xuICBkaXNwbGF5OiBibG9jaztcbiAgbWFyZ2luLXRvcDogMTRweDtcbiAgdGV4dC1hbGlnbjogbGVmdDtcbn0iXX0= */"] });
  4056. SeriesStmtComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  4057. Object(_services_component_register_service__WEBPACK_IMPORTED_MODULE_3__["register"])(_models_evt_models__WEBPACK_IMPORTED_MODULE_2__["SeriesStmt"])
  4058. ], SeriesStmtComponent);
  4059. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](SeriesStmtComponent, [{
  4060. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
  4061. args: [{
  4062. selector: 'evt-series-stmt',
  4063. templateUrl: './series-stmt.component.html',
  4064. styleUrls: ['./series-stmt.component.scss'],
  4065. }]
  4066. }], null, { data: [{
  4067. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
  4068. }] }); })();
  4069. /***/ }),
  4070. /***/ "AytR":
  4071. /*!*****************************************!*\
  4072. !*** ./src/environments/environment.ts ***!
  4073. \*****************************************/
  4074. /*! exports provided: environment */
  4075. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  4076. "use strict";
  4077. __webpack_require__.r(__webpack_exports__);
  4078. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "environment", function() { return environment; });
  4079. // This file can be replaced during build by using the `fileReplacements` array.
  4080. // `ng build --prod` replaces `environment.ts` with `environment.prod.ts`.
  4081. // The list of file replacements can be found in `angular.json`.
  4082. const environment = {
  4083. production: false
  4084. };
  4085. /*
  4086. * For easier debugging in development mode, you can import the following file
  4087. * to ignore zone related error stack frames such as `zone.run`, `zoneDelegate.invokeTask`.
  4088. *
  4089. * This import should be commented out in production mode because it will have a negative impact
  4090. * on performance if an error is thrown.
  4091. */
  4092. // import 'zone.js/dist/zone-error'; // Included with Angular CLI.
  4093. /***/ }),
  4094. /***/ "BhhM":
  4095. /*!**************************************!*\
  4096. !*** ./src/app/pipes/filter.pipe.ts ***!
  4097. \**************************************/
  4098. /*! exports provided: FilterPipe */
  4099. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  4100. "use strict";
  4101. __webpack_require__.r(__webpack_exports__);
  4102. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "FilterPipe", function() { return FilterPipe; });
  4103. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "fXoL");
  4104. class FilterPipe {
  4105. transform(items, field, value, caseSensitive) {
  4106. if (!items) {
  4107. return [];
  4108. }
  4109. if (!value || value.length === 0) {
  4110. return items;
  4111. }
  4112. try {
  4113. const reg = new RegExp(value, `${caseSensitive ? '' : 'i'}g`);
  4114. const results = items.filter(it => it[field] && value && it[field].match(reg));
  4115. return results.length > 0 ? results : [undefined];
  4116. }
  4117. catch (e) {
  4118. return [];
  4119. }
  4120. }
  4121. }
  4122. FilterPipe.ɵfac = function FilterPipe_Factory(t) { return new (t || FilterPipe)(); };
  4123. FilterPipe.ɵpipe = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefinePipe"]({ name: "filter", type: FilterPipe, pure: true });
  4124. FilterPipe.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ token: FilterPipe, factory: FilterPipe.ɵfac });
  4125. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](FilterPipe, [{
  4126. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Pipe"],
  4127. args: [{
  4128. name: 'filter',
  4129. }]
  4130. }, {
  4131. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"]
  4132. }], null, null); })();
  4133. /***/ }),
  4134. /***/ "BlhN":
  4135. /*!*************************************************************!*\
  4136. !*** ./src/app/components/namespace/namespace.component.ts ***!
  4137. \*************************************************************/
  4138. /*! exports provided: NamespaceComponent */
  4139. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  4140. "use strict";
  4141. __webpack_require__.r(__webpack_exports__);
  4142. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NamespaceComponent", function() { return NamespaceComponent; });
  4143. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "mrSG");
  4144. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "fXoL");
  4145. /* harmony import */ var _models_evt_models__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../models/evt-models */ "5c0l");
  4146. /* harmony import */ var _services_component_register_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../services/component-register.service */ "d25s");
  4147. /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/common */ "ofXK");
  4148. /* harmony import */ var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../content-viewer/content-viewer.component */ "t6RO");
  4149. /* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @ngx-translate/core */ "sYmb");
  4150. function NamespaceComponent_li_4_ng_container_3_ng_container_2_Template(rf, ctx) { if (rf & 1) {
  4151. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
  4152. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1);
  4153. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](2, "translate");
  4154. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
  4155. } if (rf & 2) {
  4156. const usage_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2).$implicit;
  4157. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  4158. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate2"]("", usage_r1.occurs, " ", usage_r1.occurs === 1 ? "occurence" : _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](2, 2, "occurences"), "");
  4159. } }
  4160. function NamespaceComponent_li_4_ng_container_3_ng_container_3_Template(rf, ctx) { if (rf & 1) {
  4161. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
  4162. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1);
  4163. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](2, "translate");
  4164. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
  4165. } if (rf & 2) {
  4166. const usage_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2).$implicit;
  4167. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  4168. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate2"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](2, 2, "withId"), " ", usage_r1.withId, "");
  4169. } }
  4170. function NamespaceComponent_li_4_ng_container_3_Template(rf, ctx) { if (rf & 1) {
  4171. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
  4172. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1, " (");
  4173. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, NamespaceComponent_li_4_ng_container_3_ng_container_2_Template, 3, 4, "ng-container", 4);
  4174. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, NamespaceComponent_li_4_ng_container_3_ng_container_3_Template, 3, 4, "ng-container", 4);
  4175. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](4, ") ");
  4176. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
  4177. } if (rf & 2) {
  4178. const usage_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]().$implicit;
  4179. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  4180. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", usage_r1.occurs);
  4181. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  4182. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", usage_r1.withId);
  4183. } }
  4184. function NamespaceComponent_li_4_evt_content_viewer_5_Template(rf, ctx) { if (rf & 1) {
  4185. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 6);
  4186. } if (rf & 2) {
  4187. const element_r9 = ctx.$implicit;
  4188. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", element_r9);
  4189. } }
  4190. function NamespaceComponent_li_4_Template(rf, ctx) { if (rf & 1) {
  4191. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "li");
  4192. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "strong");
  4193. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](2);
  4194. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  4195. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, NamespaceComponent_li_4_ng_container_3_Template, 5, 2, "ng-container", 4);
  4196. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](4, "div");
  4197. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](5, NamespaceComponent_li_4_evt_content_viewer_5_Template, 1, 1, "evt-content-viewer", 5);
  4198. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  4199. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  4200. } if (rf & 2) {
  4201. const usage_r1 = ctx.$implicit;
  4202. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  4203. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](usage_r1.gi);
  4204. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  4205. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", usage_r1.occurs || usage_r1.withId);
  4206. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  4207. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", usage_r1.content);
  4208. } }
  4209. let NamespaceComponent = class NamespaceComponent {
  4210. };
  4211. NamespaceComponent.ɵfac = function NamespaceComponent_Factory(t) { return new (t || NamespaceComponent)(); };
  4212. NamespaceComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({ type: NamespaceComponent, selectors: [["evt-namespace"]], inputs: { data: "data" }, decls: 5, vars: 2, consts: [[1, "namespace"], [1, "namespace-name"], [1, "namespace-tagUsage"], [4, "ngFor", "ngForOf"], [4, "ngIf"], [3, "content", 4, "ngFor", "ngForOf"], [3, "content"]], template: function NamespaceComponent_Template(rf, ctx) { if (rf & 1) {
  4213. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 0);
  4214. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "div", 1);
  4215. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](2);
  4216. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  4217. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](3, "ul", 2);
  4218. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, NamespaceComponent_li_4_Template, 6, 3, "li", 3);
  4219. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  4220. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  4221. } if (rf & 2) {
  4222. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  4223. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](ctx.data.name);
  4224. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  4225. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx.data.tagUsage);
  4226. } }, directives: [_angular_common__WEBPACK_IMPORTED_MODULE_4__["NgForOf"], _angular_common__WEBPACK_IMPORTED_MODULE_4__["NgIf"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_5__["ContentViewerComponent"]], pipes: [_ngx_translate_core__WEBPACK_IMPORTED_MODULE_6__["TranslatePipe"]], styles: ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJuYW1lc3BhY2UuY29tcG9uZW50LnNjc3MifQ== */"] });
  4227. NamespaceComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  4228. Object(_services_component_register_service__WEBPACK_IMPORTED_MODULE_3__["register"])(_models_evt_models__WEBPACK_IMPORTED_MODULE_2__["Namespace"])
  4229. ], NamespaceComponent);
  4230. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](NamespaceComponent, [{
  4231. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
  4232. args: [{
  4233. selector: 'evt-namespace',
  4234. templateUrl: './namespace.component.html',
  4235. styleUrls: ['./namespace.component.scss'],
  4236. }]
  4237. }], null, { data: [{
  4238. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
  4239. }] }); })();
  4240. /***/ }),
  4241. /***/ "BnO0":
  4242. /*!*******************************************************************!*\
  4243. !*** ./src/app/view-modes/reading-text/reading-text.component.ts ***!
  4244. \*******************************************************************/
  4245. /*! exports provided: ReadingTextComponent */
  4246. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  4247. "use strict";
  4248. __webpack_require__.r(__webpack_exports__);
  4249. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ReadingTextComponent", function() { return ReadingTextComponent; });
  4250. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "fXoL");
  4251. /* harmony import */ var angular_gridster2__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! angular-gridster2 */ "Ljk9");
  4252. /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs/operators */ "kU1M");
  4253. /* harmony import */ var src_app_services_evt_status_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! src/app/services/evt-status.service */ "7Ht4");
  4254. /* harmony import */ var _panels_text_panel_text_panel_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../panels/text-panel/text-panel.component */ "CHR5");
  4255. /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/common */ "ofXK");
  4256. /* harmony import */ var _ui_components_button_button_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../ui-components/button/button.component */ "UjKN");
  4257. /* harmony import */ var _panels_pinboard_panel_pinboard_panel_component__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../panels/pinboard-panel/pinboard-panel.component */ "VyoE");
  4258. /* harmony import */ var _ui_components_panel_panel_component__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../ui-components/panel/panel.component */ "HiHV");
  4259. /* harmony import */ var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @ng-bootstrap/ng-bootstrap */ "1kSV");
  4260. /* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @ngx-translate/core */ "sYmb");
  4261. function ReadingTextComponent_gridster_item_5_Template(rf, ctx) { if (rf & 1) {
  4262. const _r3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
  4263. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "gridster-item", 1);
  4264. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "evt-pinboard-panel", 7);
  4265. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("hide", function ReadingTextComponent_gridster_item_5_Template_evt_pinboard_panel_hide_1_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r3); const ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](); return ctx_r2.togglePinnedBoard(); });
  4266. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  4267. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  4268. } if (rf & 2) {
  4269. const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
  4270. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("item", ctx_r0.pinnedBoardItem);
  4271. } }
  4272. function ReadingTextComponent_gridster_item_6_ng_template_9_Template(rf, ctx) { if (rf & 1) {
  4273. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div");
  4274. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
  4275. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "translate");
  4276. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  4277. } if (rf & 2) {
  4278. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  4279. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](2, 1, "CriticalApparatus"));
  4280. } }
  4281. function ReadingTextComponent_gridster_item_6_ng_template_14_Template(rf, ctx) { if (rf & 1) {
  4282. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div");
  4283. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
  4284. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "translate");
  4285. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  4286. } if (rf & 2) {
  4287. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  4288. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](2, 1, "Sources"));
  4289. } }
  4290. function ReadingTextComponent_gridster_item_6_ng_template_19_Template(rf, ctx) { if (rf & 1) {
  4291. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div");
  4292. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
  4293. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "translate");
  4294. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  4295. } if (rf & 2) {
  4296. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  4297. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](2, 1, "Analogues"));
  4298. } }
  4299. function ReadingTextComponent_gridster_item_6_Template(rf, ctx) { if (rf & 1) {
  4300. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "gridster-item", 1);
  4301. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "evt-panel", 8);
  4302. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "div", 9);
  4303. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "ul", 10, 11);
  4304. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](5, "li", 12);
  4305. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](6, "a", 13);
  4306. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](7);
  4307. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](8, "translate");
  4308. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  4309. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](9, ReadingTextComponent_gridster_item_6_ng_template_9_Template, 3, 3, "ng-template", 14);
  4310. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  4311. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](10, "li", 12);
  4312. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](11, "a", 13);
  4313. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](12);
  4314. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](13, "translate");
  4315. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  4316. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](14, ReadingTextComponent_gridster_item_6_ng_template_14_Template, 3, 3, "ng-template", 14);
  4317. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  4318. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](15, "li", 12);
  4319. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](16, "a", 13);
  4320. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](17);
  4321. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](18, "translate");
  4322. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  4323. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](19, ReadingTextComponent_gridster_item_6_ng_template_19_Template, 3, 3, "ng-template", 14);
  4324. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  4325. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  4326. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](20, "div", 15);
  4327. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  4328. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  4329. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  4330. } if (rf & 2) {
  4331. const _r4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵreference"](4);
  4332. const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
  4333. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("item", ctx_r1.apparatusesItem);
  4334. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  4335. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("secondary", true)("hideFooter", true)("hideHeader", true);
  4336. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
  4337. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngbNavItem", "critical");
  4338. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
  4339. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](8, 11, "CriticalApparatus"));
  4340. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
  4341. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngbNavItem", "sources");
  4342. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
  4343. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](13, 13, "Sources"));
  4344. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
  4345. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngbNavItem", "analogues");
  4346. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
  4347. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](18, 15, "Analogues"));
  4348. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
  4349. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngbNavOutlet", _r4);
  4350. } }
  4351. const _c0 = function () { return { icon: "pen-square" }; };
  4352. const _c1 = function () { return { icon: "thumbtack" }; };
  4353. class ReadingTextComponent {
  4354. constructor(evtStatusService) {
  4355. this.evtStatusService = evtStatusService;
  4356. this.layoutOptions = {};
  4357. this.textPanelItem = { cols: 1, rows: 1, y: 0, x: 0 };
  4358. this.currentPageID$ = this.evtStatusService.currentStatus$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(({ page }) => page.id));
  4359. this.currentEditionLevel$ = this.evtStatusService.currentStatus$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(({ editionLevels }) => editionLevels[0]), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["shareReplay"])(1));
  4360. this.options = {};
  4361. this.apparatusesOpened = true;
  4362. this.apparatusesItem = { cols: 1, rows: 1, y: 0, x: 1 };
  4363. this.pinnedBoardOpened = false;
  4364. this.pinnedBoardItem = { cols: 1, rows: 1, y: 0, x: 1 };
  4365. this.subscriptions = [];
  4366. }
  4367. ngOnInit() {
  4368. this.initGridster();
  4369. }
  4370. changePage(selectedPage) {
  4371. this.evtStatusService.updatePage$.next(selectedPage);
  4372. }
  4373. changeEditionLevel(editionLevel) {
  4374. this.evtStatusService.updateEditionLevels$.next([editionLevel === null || editionLevel === void 0 ? void 0 : editionLevel.id]);
  4375. }
  4376. togglePinnedBoard() {
  4377. this.pinnedBoardOpened = !this.pinnedBoardOpened;
  4378. this.updateGridsterConfig();
  4379. }
  4380. toggleApparatuses() {
  4381. this.apparatusesOpened = !this.apparatusesOpened;
  4382. this.updateGridsterConfig();
  4383. }
  4384. changedOptions() {
  4385. if (this.options.api && this.options.api.optionsChanged) {
  4386. this.options.api.optionsChanged();
  4387. }
  4388. }
  4389. updateGridsterConfig() {
  4390. this.pinnedBoardItem.x = this.apparatusesOpened ? 2 : (this.textPanelItem.x !== 0 ? 0 : 1);
  4391. this.apparatusesItem.x = this.pinnedBoardOpened ? 2 : (this.textPanelItem.x !== 0 ? 0 : 1);
  4392. this.changedOptions();
  4393. }
  4394. initGridster() {
  4395. this.layoutOptions = {
  4396. gridType: angular_gridster2__WEBPACK_IMPORTED_MODULE_1__["GridType"].Fit,
  4397. displayGrid: angular_gridster2__WEBPACK_IMPORTED_MODULE_1__["DisplayGrid"].None,
  4398. compactType: angular_gridster2__WEBPACK_IMPORTED_MODULE_1__["CompactType"].CompactLeft,
  4399. margin: 0,
  4400. maxCols: 3,
  4401. maxRows: 1,
  4402. draggable: {
  4403. enabled: false,
  4404. },
  4405. resizable: {
  4406. enabled: false,
  4407. },
  4408. };
  4409. }
  4410. ngOnDestroy() {
  4411. this.subscriptions.forEach(subscription => subscription.unsubscribe());
  4412. }
  4413. }
  4414. ReadingTextComponent.ɵfac = function ReadingTextComponent_Factory(t) { return new (t || ReadingTextComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](src_app_services_evt_status_service__WEBPACK_IMPORTED_MODULE_3__["EVTStatusService"])); };
  4415. ReadingTextComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: ReadingTextComponent, selectors: [["evt-reading-text"]], decls: 10, vars: 20, consts: [[3, "options"], [3, "item"], [3, "pageID", "editionLevelID", "pageChange", "editionLevelChange"], [3, "item", 4, "ngIf"], [1, "global-tools"], ["additionalClasses", "btn-primary shadow rounded-circle mr-1", 3, "type", "toggler", "active", "iconLeft", "btnClick"], ["additionalClasses", "btn-primary shadow rounded-circle", 3, "type", "toggler", "active", "iconLeft", "btnClick"], ["content", "", 3, "hide"], [1, "apparatuses", 3, "secondary", "hideFooter", "hideHeader"], ["content", ""], ["ngbNav", "", 1, "nav-tabs", "nav-fill"], ["apparatuses", "ngbNav"], [3, "ngbNavItem"], ["ngbNavLink", ""], ["ngbNavContent", ""], [1, "mt-2", 3, "ngbNavOutlet"]], template: function ReadingTextComponent_Template(rf, ctx) { if (rf & 1) {
  4416. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "gridster", 0);
  4417. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "gridster-item", 1);
  4418. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "evt-text-panel", 2);
  4419. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("pageChange", function ReadingTextComponent_Template_evt_text_panel_pageChange_2_listener($event) { return ctx.changePage($event); })("editionLevelChange", function ReadingTextComponent_Template_evt_text_panel_editionLevelChange_2_listener($event) { return ctx.changeEditionLevel($event); });
  4420. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](3, "async");
  4421. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](4, "async");
  4422. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  4423. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  4424. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](5, ReadingTextComponent_gridster_item_5_Template, 2, 1, "gridster-item", 3);
  4425. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](6, ReadingTextComponent_gridster_item_6_Template, 21, 17, "gridster-item", 3);
  4426. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  4427. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](7, "div", 4);
  4428. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](8, "evt-button", 5);
  4429. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("btnClick", function ReadingTextComponent_Template_evt_button_btnClick_8_listener() { return ctx.toggleApparatuses(); });
  4430. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  4431. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](9, "evt-button", 6);
  4432. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("btnClick", function ReadingTextComponent_Template_evt_button_btnClick_9_listener() { return ctx.togglePinnedBoard(); });
  4433. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  4434. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  4435. } if (rf & 2) {
  4436. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("options", ctx.layoutOptions);
  4437. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  4438. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("item", ctx.textPanelItem);
  4439. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  4440. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("pageID", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](3, 14, ctx.currentPageID$))("editionLevelID", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](4, 16, ctx.currentEditionLevel$));
  4441. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
  4442. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.pinnedBoardOpened);
  4443. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  4444. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.apparatusesOpened);
  4445. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
  4446. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("type", "button")("toggler", true)("active", ctx.apparatusesOpened)("iconLeft", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction0"](18, _c0));
  4447. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  4448. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("type", "button")("toggler", true)("active", ctx.pinnedBoardOpened)("iconLeft", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction0"](19, _c1));
  4449. } }, directives: [angular_gridster2__WEBPACK_IMPORTED_MODULE_1__["GridsterComponent"], angular_gridster2__WEBPACK_IMPORTED_MODULE_1__["GridsterItemComponent"], _panels_text_panel_text_panel_component__WEBPACK_IMPORTED_MODULE_4__["TextPanelComponent"], _angular_common__WEBPACK_IMPORTED_MODULE_5__["NgIf"], _ui_components_button_button_component__WEBPACK_IMPORTED_MODULE_6__["ButtonComponent"], _panels_pinboard_panel_pinboard_panel_component__WEBPACK_IMPORTED_MODULE_7__["PinboardPanelComponent"], _ui_components_panel_panel_component__WEBPACK_IMPORTED_MODULE_8__["PanelComponent"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_9__["NgbNav"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_9__["NgbNavItem"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_9__["NgbNavLink"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_9__["NgbNavContent"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_9__["NgbNavOutlet"]], pipes: [_angular_common__WEBPACK_IMPORTED_MODULE_5__["AsyncPipe"], _ngx_translate_core__WEBPACK_IMPORTED_MODULE_10__["TranslatePipe"]], styles: [".global-tools[_ngcontent-%COMP%] {\n position: absolute;\n bottom: 10px;\n right: 10px;\n z-index: 20;\n}\n\n[_nghost-%COMP%] .global-tools .btn {\n height: 40px;\n width: 40px;\n}\n\n[_nghost-%COMP%] .apparatuses .panel .content {\n padding: 0 !important;\n}\n\n[_nghost-%COMP%] .apparatuses .tab-pane {\n padding: 1rem;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3JlYWRpbmctdGV4dC5jb21wb25lbnQuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNJLGtCQUFBO0VBQ0EsWUFBQTtFQUNBLFdBQUE7RUFDQSxXQUFBO0FBQ0o7O0FBR0k7RUFDSSxZQUFBO0VBQ0EsV0FBQTtBQUFSOztBQUdRO0VBQ0kscUJBQUE7QUFEWjs7QUFHUTtFQUNJLGFBQUE7QUFEWiIsImZpbGUiOiJyZWFkaW5nLXRleHQuY29tcG9uZW50LnNjc3MiLCJzb3VyY2VzQ29udGVudCI6WyIuZ2xvYmFsLXRvb2xzIHtcbiAgICBwb3NpdGlvbjogYWJzb2x1dGU7XG4gICAgYm90dG9tOiAxMHB4O1xuICAgIHJpZ2h0OiAxMHB4O1xuICAgIHotaW5kZXg6IDIwO1xufVxuXG46aG9zdCA6Om5nLWRlZXAge1xuICAgIC5nbG9iYWwtdG9vbHMgLmJ0biB7XG4gICAgICAgIGhlaWdodDogNDBweDtcbiAgICAgICAgd2lkdGg6IDQwcHg7XG4gICAgfVxuICAgIC5hcHBhcmF0dXNlcyB7XG4gICAgICAgIC5wYW5lbCAuY29udGVudCB7XG4gICAgICAgICAgICBwYWRkaW5nOiAwICFpbXBvcnRhbnQ7XG4gICAgICAgIH1cbiAgICAgICAgLnRhYi1wYW5lIHtcbiAgICAgICAgICAgIHBhZGRpbmc6IDFyZW07XG4gICAgICAgIH1cbiAgICB9XG59Il19 */"] });
  4450. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](ReadingTextComponent, [{
  4451. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
  4452. args: [{
  4453. selector: 'evt-reading-text',
  4454. templateUrl: './reading-text.component.html',
  4455. styleUrls: ['./reading-text.component.scss'],
  4456. }]
  4457. }], function () { return [{ type: src_app_services_evt_status_service__WEBPACK_IMPORTED_MODULE_3__["EVTStatusService"] }]; }, null); })();
  4458. /***/ }),
  4459. /***/ "CHR5":
  4460. /*!***********************************************************!*\
  4461. !*** ./src/app/panels/text-panel/text-panel.component.ts ***!
  4462. \***********************************************************/
  4463. /*! exports provided: TextPanelComponent */
  4464. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  4465. "use strict";
  4466. __webpack_require__.r(__webpack_exports__);
  4467. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TextPanelComponent", function() { return TextPanelComponent; });
  4468. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "fXoL");
  4469. /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rxjs */ "qCKp");
  4470. /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs/operators */ "kU1M");
  4471. /* harmony import */ var _app_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../app.config */ "aR35");
  4472. /* harmony import */ var _services_evt_model_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../services/evt-model.service */ "hI0h");
  4473. /* harmony import */ var _services_evt_status_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../services/evt-status.service */ "7Ht4");
  4474. /* harmony import */ var _ui_components_panel_panel_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../ui-components/panel/panel.component */ "HiHV");
  4475. /* harmony import */ var _components_page_selector_page_selector_component__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../components/page-selector/page-selector.component */ "GZCN");
  4476. /* harmony import */ var _components_edition_level_selector_edition_level_selector_component__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../components/edition-level-selector/edition-level-selector.component */ "Ow/E");
  4477. /* harmony import */ var _ui_components_button_button_component__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../ui-components/button/button.component */ "UjKN");
  4478. /* harmony import */ var _directives_annotator_directive__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../directives/annotator.directive */ "STiE");
  4479. /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @angular/common */ "ofXK");
  4480. /* harmony import */ var _components_entities_select_entities_select_component__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../../components/entities-select/entities-select.component */ "g5nV");
  4481. /* harmony import */ var _components_lems_select_lems_select_component__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../../components/lems-select/lems-select.component */ "Ox1W");
  4482. /* harmony import */ var _components_iperlems_select_iperlems_select_component__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../../components/iperlems-select/iperlems-select.component */ "Y4jJ");
  4483. /* harmony import */ var _components_page_page_component__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../../components/page/page.component */ "ycSy");
  4484. /* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @ngx-translate/core */ "sYmb");
  4485. const _c0 = ["mainContent"];
  4486. function TextPanelComponent_ng_container_7_ng_container_1_evt_page_1_Template(rf, ctx) { if (rf & 1) {
  4487. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "evt-page", 14);
  4488. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](1, "async");
  4489. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "async");
  4490. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](3, "async");
  4491. } if (rf & 2) {
  4492. const page_r7 = ctx.$implicit;
  4493. const ctx_r6 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](3);
  4494. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("data", page_r7)("textFlow", ctx_r6.textFlow)("itemsToHighlight", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](1, 6, ctx_r6.itemsToHighlight$))("itemsLemsToHighlight", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](2, 8, ctx_r6.itemsLemsToHighlight$))("itemsIperlemsToHighlight", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](3, 10, ctx_r6.itemsIperlemsToHighlight$));
  4495. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("data-id", page_r7.id);
  4496. } }
  4497. function TextPanelComponent_ng_container_7_ng_container_1_Template(rf, ctx) { if (rf & 1) {
  4498. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
  4499. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, TextPanelComponent_ng_container_7_ng_container_1_evt_page_1_Template, 4, 12, "evt-page", 13);
  4500. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
  4501. } if (rf & 2) {
  4502. const currentStatus_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().ngIf;
  4503. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  4504. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", currentStatus_r3.pages);
  4505. } }
  4506. function TextPanelComponent_ng_container_7_evt_page_3_Template(rf, ctx) { if (rf & 1) {
  4507. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "evt-page", 15);
  4508. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](1, "async");
  4509. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "async");
  4510. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](3, "async");
  4511. } if (rf & 2) {
  4512. const currentStatus_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().ngIf;
  4513. const ctx_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
  4514. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("data", currentStatus_r3.currentPage)("editionLevel", currentStatus_r3.editionLevel)("textFlow", ctx_r5.textFlow)("itemsToHighlight", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](1, 7, ctx_r5.itemsToHighlight$))("itemsLemsToHighlight", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](2, 9, ctx_r5.itemsLemsToHighlight$))("itemsIperlemsToHighlight", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](3, 11, ctx_r5.itemsIperlemsToHighlight$));
  4515. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("data-id", currentStatus_r3.currentPage.id);
  4516. } }
  4517. function TextPanelComponent_ng_container_7_Template(rf, ctx) { if (rf & 1) {
  4518. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
  4519. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, TextPanelComponent_ng_container_7_ng_container_1_Template, 2, 1, "ng-container", 7);
  4520. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "async");
  4521. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](3, TextPanelComponent_ng_container_7_evt_page_3_Template, 4, 13, "evt-page", 12);
  4522. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](4, "async");
  4523. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
  4524. } if (rf & 2) {
  4525. const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
  4526. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  4527. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](2, 2, ctx_r1.isMultiplePageFlow$));
  4528. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
  4529. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](4, 4, ctx_r1.isMultiplePageFlow$) === false);
  4530. } }
  4531. function TextPanelComponent_evt_button_15_Template(rf, ctx) { if (rf & 1) {
  4532. const _r11 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
  4533. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "evt-button", 16);
  4534. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("btnClick", function TextPanelComponent_evt_button_15_Template_evt_button_btnClick_0_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r11); const ctx_r10 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](); return ctx_r10.toggleProseVerses(); });
  4535. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](1, "translate");
  4536. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  4537. } if (rf & 2) {
  4538. const ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
  4539. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("iconLeft", ctx_r2.proseVersesTogglerIcon)("label", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](1, 2, ctx_r2.textFlow));
  4540. } }
  4541. const _c1 = function () { return { icon: "info-circle" }; };
  4542. class TextPanelComponent {
  4543. constructor(evtModelService, evtStatus) {
  4544. this.evtModelService = evtModelService;
  4545. this.evtStatus = evtStatus;
  4546. this.currentPage$ = new rxjs__WEBPACK_IMPORTED_MODULE_1__["BehaviorSubject"](undefined);
  4547. this.currentPageId$ = this.currentPage$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(p => p === null || p === void 0 ? void 0 : p.id));
  4548. this.pageChange = this.currentPage$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["filter"])(p => !!p), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["distinctUntilChanged"])());
  4549. this.currentEdLevel$ = new rxjs__WEBPACK_IMPORTED_MODULE_1__["BehaviorSubject"](undefined);
  4550. this.currentEdLevelId$ = this.currentEdLevel$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(e => e === null || e === void 0 ? void 0 : e.id));
  4551. this.editionLevelChange = this.currentEdLevel$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["filter"])(e => !!e), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["distinctUntilChanged"])());
  4552. this.currentStatus$ = Object(rxjs__WEBPACK_IMPORTED_MODULE_1__["combineLatest"])([
  4553. this.evtModelService.pages$,
  4554. this.currentPage$,
  4555. this.currentEdLevel$,
  4556. this.evtStatus.currentViewMode$,
  4557. ]).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["delay"])(0), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["filter"])(([pages, currentPage, editionLevel, currentViewMode]) => !!pages && !!currentPage && !!editionLevel && !!currentViewMode), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(([pages, currentPage, editionLevel, currentViewMode]) => ({ pages, currentPage, editionLevel, currentViewMode })), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["distinctUntilChanged"])((a, b) => JSON.stringify(a) === JSON.stringify(b)), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["shareReplay"])(1));
  4558. this.itemsToHighlight$ = new rxjs__WEBPACK_IMPORTED_MODULE_1__["Subject"]();
  4559. this.itemsLemsToHighlight$ = new rxjs__WEBPACK_IMPORTED_MODULE_1__["Subject"]();
  4560. this.itemsIperlemsToHighlight$ = new rxjs__WEBPACK_IMPORTED_MODULE_1__["Subject"]();
  4561. this.secondaryContent = '';
  4562. this.showSecondaryContent = false;
  4563. this.textFlow = _app_config__WEBPACK_IMPORTED_MODULE_3__["AppConfig"].evtSettings.edition.defaultTextFlow || 'prose';
  4564. this.enableProseVersesToggler = _app_config__WEBPACK_IMPORTED_MODULE_3__["AppConfig"].evtSettings.edition.proseVersesToggler;
  4565. this.isMultiplePageFlow$ = this.currentStatus$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])((x) => x.editionLevel.id === 'critical' && x.currentViewMode.id !== 'imageText'), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["shareReplay"])(1));
  4566. this.updatingPageFromScroll = false;
  4567. this.subscriptions = [];
  4568. }
  4569. get proseVersesTogglerIcon() {
  4570. return { icon: this.textFlow === 'prose' ? 'align-left' : 'align-justify', iconSet: 'fas' };
  4571. }
  4572. ngOnInit() {
  4573. if (this.editionLevelID === 'critical') {
  4574. this.textFlow = _app_config__WEBPACK_IMPORTED_MODULE_3__["AppConfig"].evtSettings.edition.defaultTextFlow || 'verses';
  4575. }
  4576. if (!this.enableProseVersesToggler) {
  4577. this.textFlow = undefined;
  4578. }
  4579. this.subscriptions.push(this.currentStatus$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(currentStatus => currentStatus.currentPage), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["filter"])(page => !!page), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["delay"])(0)).subscribe((page) => this._scrollToPage(page.id)));
  4580. }
  4581. getSecondaryContent() {
  4582. return this.secondaryContent;
  4583. }
  4584. isSecondaryContentOpened() {
  4585. return this.showSecondaryContent;
  4586. }
  4587. toggleSecondaryContent(newContent) {
  4588. if (this.secondaryContent !== newContent) {
  4589. this.showSecondaryContent = true;
  4590. this.secondaryContent = newContent;
  4591. }
  4592. else {
  4593. this.showSecondaryContent = false;
  4594. this.secondaryContent = '';
  4595. }
  4596. }
  4597. toggleProseVerses() {
  4598. this.textFlow = this.textFlow === 'prose' ? 'verses' : 'prose';
  4599. }
  4600. ngOnDestroy() {
  4601. this.subscriptions.forEach(subscription => subscription.unsubscribe());
  4602. }
  4603. updatePage() {
  4604. if (this.mainContent && this.editionLevelID === 'critical') {
  4605. const mainContentEl = this.mainContent.nativeElement;
  4606. const pbs = mainContentEl.querySelectorAll('evt-page');
  4607. let pbCount = 0;
  4608. let pbVisible = false;
  4609. let pbId = '';
  4610. const docViewTop = mainContentEl.scrollTop;
  4611. const docViewBottom = docViewTop + mainContentEl.parentElement.clientHeight;
  4612. while (pbCount < pbs.length && !pbVisible) {
  4613. pbId = pbs[pbCount].getAttribute('data-id');
  4614. const pbElem = mainContentEl.querySelector(`evt-page[data-id="${pbId}"]`);
  4615. const pbRect = pbElem.getBoundingClientRect();
  4616. if (pbRect.top && (pbRect.top <= docViewBottom) && (pbRect.top >= docViewTop)) {
  4617. pbVisible = true;
  4618. }
  4619. else {
  4620. pbCount++;
  4621. }
  4622. }
  4623. Object(rxjs__WEBPACK_IMPORTED_MODULE_1__["combineLatest"])([this.evtModelService.pages$, this.currentPageId$])
  4624. .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["take"])(1)).subscribe(([pages, currentPageId]) => {
  4625. if (pbVisible && currentPageId !== pbId) {
  4626. this.updatingPageFromScroll = true;
  4627. this.evtStatus.updatePage$.next(pages.find(p => p.id === pbId));
  4628. }
  4629. });
  4630. }
  4631. }
  4632. _scrollToPage(pageId) {
  4633. if (this.updatingPageFromScroll) {
  4634. this.updatingPageFromScroll = false;
  4635. }
  4636. else if (this.mainContent) {
  4637. const mainContentEl = this.mainContent.nativeElement;
  4638. const pageEl = mainContentEl.querySelector(`[data-id="${pageId}"]`);
  4639. if (pageEl) {
  4640. pageEl.scrollIntoView();
  4641. }
  4642. else {
  4643. mainContentEl.parentElement.scrollTop = 0;
  4644. }
  4645. }
  4646. }
  4647. }
  4648. TextPanelComponent.ɵfac = function TextPanelComponent_Factory(t) { return new (t || TextPanelComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_services_evt_model_service__WEBPACK_IMPORTED_MODULE_4__["EVTModelService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_services_evt_status_service__WEBPACK_IMPORTED_MODULE_5__["EVTStatusService"])); };
  4649. TextPanelComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: TextPanelComponent, selectors: [["evt-text-panel"]], viewQuery: function TextPanelComponent_Query(rf, ctx) { if (rf & 1) {
  4650. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵviewQuery"](_c0, true);
  4651. } if (rf & 2) {
  4652. let _t;
  4653. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵloadQuery"]()) && (ctx.mainContent = _t.first);
  4654. } }, inputs: { hideEditionLevelSelector: "hideEditionLevelSelector", pageID: "pageID", editionLevelID: "editionLevelID" }, outputs: { pageChange: "pageChange", editionLevelChange: "editionLevelChange" }, decls: 16, vars: 13, consts: [[3, "showSecondaryContent", "scrollContent"], ["header-left", ""], [3, "pageID", "selectionChange"], [3, "editionLevelID", "selectionChange"], ["label", "Info", "additionalClasses", "btn-primary mr-1", 1, "info-panel", 3, "iconLeft", "active", "btnClick"], ["content", "", "evtAnnotator", ""], ["mainContent", ""], [4, "ngIf"], ["secondary-content", ""], ["footer", ""], [3, "selectionChange"], ["additionalClasses", "ml-1", 3, "iconLeft", "label", "btnClick", 4, "ngIf"], [3, "data", "editionLevel", "textFlow", "itemsToHighlight", "itemsLemsToHighlight", "itemsIperlemsToHighlight", 4, "ngIf"], [3, "data", "textFlow", "itemsToHighlight", "itemsLemsToHighlight", "itemsIperlemsToHighlight", 4, "ngFor", "ngForOf"], [3, "data", "textFlow", "itemsToHighlight", "itemsLemsToHighlight", "itemsIperlemsToHighlight"], [3, "data", "editionLevel", "textFlow", "itemsToHighlight", "itemsLemsToHighlight", "itemsIperlemsToHighlight"], ["additionalClasses", "ml-1", 3, "iconLeft", "label", "btnClick"]], template: function TextPanelComponent_Template(rf, ctx) { if (rf & 1) {
  4655. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "evt-panel", 0);
  4656. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("scrollContent", function TextPanelComponent_Template_evt_panel_scrollContent_0_listener() { return ctx.updatePage(); });
  4657. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "div", 1);
  4658. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "evt-page-selector", 2);
  4659. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("selectionChange", function TextPanelComponent_Template_evt_page_selector_selectionChange_2_listener($event) { return ctx.currentPage$.next($event); });
  4660. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  4661. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "evt-edition-level-selector", 3);
  4662. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("selectionChange", function TextPanelComponent_Template_evt_edition_level_selector_selectionChange_3_listener($event) { return ctx.currentEdLevel$.next($event); });
  4663. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  4664. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "evt-button", 4);
  4665. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("btnClick", function TextPanelComponent_Template_evt_button_btnClick_4_listener() { return ctx.toggleSecondaryContent("Images are published by concession of the Ministry of Culture \u2013 Prato State Archives and are freely usable for activities of study, research, free expression of thought or creative expression, and promotion of knowledge of cultural heritage. The reproduction rights of the images published \u2013 in accordance with Articles 106, 107 and 108 of the Code of Cultural Heritage and Landscape (Legislative Decree 42/2004 as amended and supplemented) \u2013 belong to the Prato State Archives, therefore all uses of these images, other than those set forth above, must be expressly authorized (https://archiviodistatoprato.cultura.gov.it/servizi/autorizzazioni-a-pubblicare)."); });
  4666. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  4667. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  4668. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](5, "div", 5, 6);
  4669. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](7, TextPanelComponent_ng_container_7_Template, 5, 6, "ng-container", 7);
  4670. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](8, "async");
  4671. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  4672. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](9, "div", 8);
  4673. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](10);
  4674. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  4675. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](11, "div", 9);
  4676. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](12, "evt-entities-select", 10);
  4677. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("selectionChange", function TextPanelComponent_Template_evt_entities_select_selectionChange_12_listener($event) { return ctx.itemsToHighlight$.next($event); });
  4678. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  4679. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](13, "evt-lems-select", 10);
  4680. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("selectionChange", function TextPanelComponent_Template_evt_lems_select_selectionChange_13_listener($event) { return ctx.itemsLemsToHighlight$.next($event); });
  4681. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  4682. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](14, "evt-iperlems-select", 10);
  4683. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("selectionChange", function TextPanelComponent_Template_evt_iperlems_select_selectionChange_14_listener($event) { return ctx.itemsIperlemsToHighlight$.next($event); });
  4684. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  4685. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](15, TextPanelComponent_evt_button_15_Template, 2, 4, "evt-button", 11);
  4686. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  4687. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  4688. } if (rf & 2) {
  4689. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("showSecondaryContent", ctx.isSecondaryContentOpened());
  4690. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
  4691. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("pageID", ctx.pageID);
  4692. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  4693. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵclassProp"]("hidden", ctx.hideEditionLevelSelector);
  4694. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("editionLevelID", ctx.editionLevelID);
  4695. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  4696. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("iconLeft", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction0"](12, _c1))("active", ctx.secondaryContent === "Info");
  4697. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
  4698. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](8, 10, ctx.currentStatus$));
  4699. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
  4700. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", ctx.getSecondaryContent(), " ");
  4701. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](5);
  4702. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.enableProseVersesToggler);
  4703. } }, directives: [_ui_components_panel_panel_component__WEBPACK_IMPORTED_MODULE_6__["PanelComponent"], _components_page_selector_page_selector_component__WEBPACK_IMPORTED_MODULE_7__["PageSelectorComponent"], _components_edition_level_selector_edition_level_selector_component__WEBPACK_IMPORTED_MODULE_8__["EditionLevelSelectorComponent"], _ui_components_button_button_component__WEBPACK_IMPORTED_MODULE_9__["ButtonComponent"], _directives_annotator_directive__WEBPACK_IMPORTED_MODULE_10__["AnnotatorDirective"], _angular_common__WEBPACK_IMPORTED_MODULE_11__["NgIf"], _components_entities_select_entities_select_component__WEBPACK_IMPORTED_MODULE_12__["EntitiesSelectComponent"], _components_lems_select_lems_select_component__WEBPACK_IMPORTED_MODULE_13__["LemsSelectComponent"], _components_iperlems_select_iperlems_select_component__WEBPACK_IMPORTED_MODULE_14__["IperlemsSelectComponent"], _angular_common__WEBPACK_IMPORTED_MODULE_11__["NgForOf"], _components_page_page_component__WEBPACK_IMPORTED_MODULE_15__["PageComponent"]], pipes: [_angular_common__WEBPACK_IMPORTED_MODULE_11__["AsyncPipe"], _ngx_translate_core__WEBPACK_IMPORTED_MODULE_16__["TranslatePipe"]], styles: ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJ0ZXh0LXBhbmVsLmNvbXBvbmVudC5zY3NzIn0= */"] });
  4704. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](TextPanelComponent, [{
  4705. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
  4706. args: [{
  4707. selector: 'evt-text-panel',
  4708. templateUrl: './text-panel.component.html',
  4709. styleUrls: ['./text-panel.component.scss'],
  4710. }]
  4711. }], function () { return [{ type: _services_evt_model_service__WEBPACK_IMPORTED_MODULE_4__["EVTModelService"] }, { type: _services_evt_status_service__WEBPACK_IMPORTED_MODULE_5__["EVTStatusService"] }]; }, { mainContent: [{
  4712. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewChild"],
  4713. args: ['mainContent']
  4714. }], hideEditionLevelSelector: [{
  4715. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
  4716. }], pageID: [{
  4717. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
  4718. }], pageChange: [{
  4719. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
  4720. }], editionLevelID: [{
  4721. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
  4722. }], editionLevelChange: [{
  4723. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
  4724. }] }); })();
  4725. /***/ }),
  4726. /***/ "CimZ":
  4727. /*!**************************************************************!*\
  4728. !*** ./src/app/ui-components/directives/escape.directive.ts ***!
  4729. \**************************************************************/
  4730. /*! exports provided: EscapeDirective */
  4731. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  4732. "use strict";
  4733. __webpack_require__.r(__webpack_exports__);
  4734. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "EscapeDirective", function() { return EscapeDirective; });
  4735. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "fXoL");
  4736. /* harmony import */ var _utils_js_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../utils/js-utils */ "zSMA");
  4737. class EscapeDirective {
  4738. constructor() {
  4739. this.escape = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
  4740. }
  4741. keyEvent(e) {
  4742. if (e.code === 'Escape' || e.key === 'Escape' || Object(_utils_js_utils__WEBPACK_IMPORTED_MODULE_1__["getEventKeyCode"])(e) === 27) {
  4743. this.escape.emit();
  4744. }
  4745. }
  4746. }
  4747. EscapeDirective.ɵfac = function EscapeDirective_Factory(t) { return new (t || EscapeDirective)(); };
  4748. EscapeDirective.ɵdir = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({ type: EscapeDirective, selectors: [["", "escape", ""]], hostBindings: function EscapeDirective_HostBindings(rf, ctx) { if (rf & 1) {
  4749. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("keyup", function EscapeDirective_keyup_HostBindingHandler($event) { return ctx.keyEvent($event); }, false, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵresolveWindow"]);
  4750. } }, outputs: { escape: "escape" } });
  4751. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](EscapeDirective, [{
  4752. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Directive"],
  4753. args: [{
  4754. // tslint:disable-next-line: directive-selector
  4755. selector: '[escape]',
  4756. }]
  4757. }], null, { escape: [{
  4758. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
  4759. }], keyEvent: [{
  4760. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostListener"],
  4761. args: ['window:keyup', ['$event']]
  4762. }] }); })();
  4763. /***/ }),
  4764. /***/ "CmGG":
  4765. /*!***************************************************!*\
  4766. !*** ./src/app/directives/highlight.directive.ts ***!
  4767. \***************************************************/
  4768. /*! exports provided: HighlightDirective */
  4769. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  4770. "use strict";
  4771. __webpack_require__.r(__webpack_exports__);
  4772. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "HighlightDirective", function() { return HighlightDirective; });
  4773. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "fXoL");
  4774. class HighlightDirective {
  4775. constructor(el) {
  4776. this.el = el;
  4777. }
  4778. set highlightData(hd) {
  4779. this.highlight(hd);
  4780. }
  4781. highlight(highlightData) {
  4782. if (highlightData.highlight) {
  4783. this.el.nativeElement.classList.add('highlight');
  4784. }
  4785. else {
  4786. this.el.nativeElement.classList.remove('highlight');
  4787. }
  4788. this.el.nativeElement.style.backgroundColor = highlightData && highlightData.highlight ? highlightData.highlightColor : '';
  4789. }
  4790. }
  4791. HighlightDirective.ɵfac = function HighlightDirective_Factory(t) { return new (t || HighlightDirective)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"])); };
  4792. HighlightDirective.ɵdir = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({ type: HighlightDirective, selectors: [["", "evtHighlight", ""]], inputs: { highlightData: ["evtHighlight", "highlightData"] } });
  4793. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](HighlightDirective, [{
  4794. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Directive"],
  4795. args: [{
  4796. selector: '[evtHighlight]',
  4797. }]
  4798. }], function () { return [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"] }]; }, { highlightData: [{
  4799. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"],
  4800. args: ['evtHighlight']
  4801. }] }); })();
  4802. /***/ }),
  4803. /***/ "D3K6":
  4804. /*!*******************************************************!*\
  4805. !*** ./src/app/services/xml-parsers/msdesc-parser.ts ***!
  4806. \*******************************************************/
  4807. /*! exports provided: DimParser, DepthParser, WidthParser, HeightParser, DimensionsParser, AcquisitionParser, OrigDateParser, OrigPlaceParser, OriginParser, ProvenanceParser, HistoryParser, LayoutParser, LayoutDescParser, SupportParser, CollationParser, ConditionParser, FoliationParser, SupportDescParser, ObjectDescParser, DecoNoteParser, BindingParser, BindingDescParser, SummaryParser, DecoDescParser, HandDescParser, AdditionsParser, ScriptDescParser, SealParser, SealDescParser, TypeNoteParser, TypeDescParser, AccMatParser, MusicNotationParser, PhysDescParser, FinalRubricParser, LocusParser, LocusGrpParser, IncipitParser, ExplicitParser, RubricParser, FiliationParser, MsItemStructParser, MsItemParser, CustEventParser, CustodialHistParser, SourceParser, RecordHistParser, AdminInfoParser, SurrogatesParser, AdditionalParser, RepositoryParser, MsContentsParser, CollectionParser, AltIdentifierParser, MsNameParser, InstitutionParser, MsIdentifierParser, HeadParser, MsFragParser, MsPartParser, MsDescParser */
  4808. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  4809. "use strict";
  4810. __webpack_require__.r(__webpack_exports__);
  4811. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DimParser", function() { return DimParser; });
  4812. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DepthParser", function() { return DepthParser; });
  4813. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "WidthParser", function() { return WidthParser; });
  4814. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "HeightParser", function() { return HeightParser; });
  4815. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DimensionsParser", function() { return DimensionsParser; });
  4816. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AcquisitionParser", function() { return AcquisitionParser; });
  4817. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "OrigDateParser", function() { return OrigDateParser; });
  4818. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "OrigPlaceParser", function() { return OrigPlaceParser; });
  4819. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "OriginParser", function() { return OriginParser; });
  4820. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ProvenanceParser", function() { return ProvenanceParser; });
  4821. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "HistoryParser", function() { return HistoryParser; });
  4822. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "LayoutParser", function() { return LayoutParser; });
  4823. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "LayoutDescParser", function() { return LayoutDescParser; });
  4824. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SupportParser", function() { return SupportParser; });
  4825. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CollationParser", function() { return CollationParser; });
  4826. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ConditionParser", function() { return ConditionParser; });
  4827. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "FoliationParser", function() { return FoliationParser; });
  4828. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SupportDescParser", function() { return SupportDescParser; });
  4829. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ObjectDescParser", function() { return ObjectDescParser; });
  4830. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DecoNoteParser", function() { return DecoNoteParser; });
  4831. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "BindingParser", function() { return BindingParser; });
  4832. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "BindingDescParser", function() { return BindingDescParser; });
  4833. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SummaryParser", function() { return SummaryParser; });
  4834. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DecoDescParser", function() { return DecoDescParser; });
  4835. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "HandDescParser", function() { return HandDescParser; });
  4836. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AdditionsParser", function() { return AdditionsParser; });
  4837. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ScriptDescParser", function() { return ScriptDescParser; });
  4838. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SealParser", function() { return SealParser; });
  4839. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SealDescParser", function() { return SealDescParser; });
  4840. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TypeNoteParser", function() { return TypeNoteParser; });
  4841. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TypeDescParser", function() { return TypeDescParser; });
  4842. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AccMatParser", function() { return AccMatParser; });
  4843. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MusicNotationParser", function() { return MusicNotationParser; });
  4844. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PhysDescParser", function() { return PhysDescParser; });
  4845. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "FinalRubricParser", function() { return FinalRubricParser; });
  4846. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "LocusParser", function() { return LocusParser; });
  4847. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "LocusGrpParser", function() { return LocusGrpParser; });
  4848. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "IncipitParser", function() { return IncipitParser; });
  4849. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ExplicitParser", function() { return ExplicitParser; });
  4850. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "RubricParser", function() { return RubricParser; });
  4851. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "FiliationParser", function() { return FiliationParser; });
  4852. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MsItemStructParser", function() { return MsItemStructParser; });
  4853. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MsItemParser", function() { return MsItemParser; });
  4854. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CustEventParser", function() { return CustEventParser; });
  4855. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CustodialHistParser", function() { return CustodialHistParser; });
  4856. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SourceParser", function() { return SourceParser; });
  4857. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "RecordHistParser", function() { return RecordHistParser; });
  4858. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AdminInfoParser", function() { return AdminInfoParser; });
  4859. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SurrogatesParser", function() { return SurrogatesParser; });
  4860. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AdditionalParser", function() { return AdditionalParser; });
  4861. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "RepositoryParser", function() { return RepositoryParser; });
  4862. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MsContentsParser", function() { return MsContentsParser; });
  4863. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CollectionParser", function() { return CollectionParser; });
  4864. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AltIdentifierParser", function() { return AltIdentifierParser; });
  4865. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MsNameParser", function() { return MsNameParser; });
  4866. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "InstitutionParser", function() { return InstitutionParser; });
  4867. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MsIdentifierParser", function() { return MsIdentifierParser; });
  4868. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "HeadParser", function() { return HeadParser; });
  4869. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MsFragParser", function() { return MsFragParser; });
  4870. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MsPartParser", function() { return MsPartParser; });
  4871. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MsDescParser", function() { return MsDescParser; });
  4872. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "mrSG");
  4873. /* harmony import */ var src_app_utils_js_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! src/app/utils/js-utils */ "zSMA");
  4874. /* harmony import */ var ___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! . */ "UAXx");
  4875. /* harmony import */ var _models_evt_models__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../models/evt-models */ "5c0l");
  4876. /* harmony import */ var _basic_parsers__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./basic-parsers */ "bNiN");
  4877. /* harmony import */ var _character_declarations_parser__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./character-declarations-parser */ "70Sg");
  4878. /* harmony import */ var _parser_models__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./parser-models */ "YwZW");
  4879. var DimParser_1, DepthParser_1, WidthParser_1, HeightParser_1, DimensionsParser_1, AcquisitionParser_1, OrigDateParser_1, OrigPlaceParser_1, OriginParser_1, ProvenanceParser_1, HistoryParser_1, LayoutParser_1, LayoutDescParser_1, SupportParser_1, CollationParser_1, ConditionParser_1, FoliationParser_1, SupportDescParser_1, ObjectDescParser_1, DecoNoteParser_1, BindingParser_1, BindingDescParser_1, SummaryParser_1, DecoDescParser_1, HandDescParser_1, AdditionsParser_1, ScriptDescParser_1, SealParser_1, SealDescParser_1, TypeNoteParser_1, TypeDescParser_1, AccMatParser_1, MusicNotationParser_1, PhysDescParser_1, FinalRubricParser_1, LocusParser_1, LocusGrpParser_1, IncipitParser_1, ExplicitParser_1, RubricParser_1, FiliationParser_1, MsItemStructParser_1, MsItemParser_1, CustEventParser_1, CustodialHistParser_1, SourceParser_1, RecordHistParser_1, AdminInfoParser_1, SurrogatesParser_1, AdditionalParser_1, RepositoryParser_1, MsContentsParser_1, CollectionParser_1, IdentifierParser_1, AltIdentifierParser_1, MsNameParser_1, InstitutionParser_1, MsIdentifierParser_1, HeadParser_1, MsFragParser_1, MsPartParser_1, MsDescParser_1;
  4880. class GAttrParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"] {
  4881. constructor() {
  4882. super(...arguments);
  4883. this.gParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["createParser"])(_character_declarations_parser__WEBPACK_IMPORTED_MODULE_5__["GParser"], this.genericParse);
  4884. }
  4885. }
  4886. let DimParser = DimParser_1 = class DimParser extends GAttrParser {
  4887. parse(xml) {
  4888. const genericElem = super.parse(xml);
  4889. const { dimType, scope, extent, unit, quantity, atLeast, atMost, min, max } = genericElem.attributes;
  4890. return Object.assign(Object.assign({}, genericElem), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["Dim"], scope,
  4891. extent,
  4892. unit, quantity: quantity ? parseInt(quantity, 10) : undefined, atLeast: atLeast ? parseInt(atLeast, 10) : undefined, atMost: atMost ? parseInt(atMost, 10) : undefined, min: min ? parseInt(min, 10) : undefined, max: max ? parseInt(max, 10) : undefined, dimType, gEl: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElements"])(xml, 'g') });
  4893. }
  4894. };
  4895. DimParser = DimParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  4896. Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('dim', DimParser_1)
  4897. ], DimParser);
  4898. let DepthParser = DepthParser_1 = class DepthParser extends GAttrParser {
  4899. parse(xml) {
  4900. const genericElem = super.parse(xml);
  4901. const { scope, extent, unit, quantity, atLeast, atMost, min, max } = genericElem.attributes;
  4902. return Object.assign(Object.assign({}, genericElem), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["Depth"], scope,
  4903. extent,
  4904. unit, quantity: quantity ? parseInt(quantity, 10) : undefined, atLeast: atLeast ? parseInt(atLeast, 10) : undefined, atMost: atMost ? parseInt(atMost, 10) : undefined, min: min ? parseInt(min, 10) : undefined, max: max ? parseInt(max, 10) : undefined, gEl: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElements"])(xml, 'g') });
  4905. }
  4906. };
  4907. DepthParser = DepthParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  4908. Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('depth', DepthParser_1)
  4909. ], DepthParser);
  4910. let WidthParser = WidthParser_1 = class WidthParser extends GAttrParser {
  4911. parse(xml) {
  4912. const genericElem = super.parse(xml);
  4913. const { scope, extent, unit, quantity, atLeast, atMost, min, max } = genericElem.attributes;
  4914. return Object.assign(Object.assign({}, genericElem), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["Width"], scope,
  4915. extent,
  4916. unit, quantity: quantity ? parseInt(quantity, 10) : undefined, atLeast: atLeast ? parseInt(atLeast, 10) : undefined, atMost: atMost ? parseInt(atMost, 10) : undefined, min: min ? parseInt(min, 10) : undefined, max: max ? parseInt(max, 10) : undefined, gEl: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElements"])(xml, 'g') });
  4917. }
  4918. };
  4919. WidthParser = WidthParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  4920. Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('width', WidthParser_1)
  4921. ], WidthParser);
  4922. let HeightParser = HeightParser_1 = class HeightParser extends GAttrParser {
  4923. parse(xml) {
  4924. const genericElem = super.parse(xml);
  4925. const { scope, extent, unit, quantity, atLeast, atMost, min, max } = genericElem.attributes;
  4926. return Object.assign(Object.assign({}, genericElem), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["Height"], scope,
  4927. extent,
  4928. unit, quantity: quantity ? parseInt(quantity, 10) : undefined, atLeast: atLeast ? parseInt(atLeast, 10) : undefined, atMost: atMost ? parseInt(atMost, 10) : undefined, min: min ? parseInt(min, 10) : undefined, max: max ? parseInt(max, 10) : undefined, gEl: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElements"])(xml, 'g') });
  4929. }
  4930. };
  4931. HeightParser = HeightParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  4932. Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('height', HeightParser_1)
  4933. ], HeightParser);
  4934. let DimensionsParser = DimensionsParser_1 = class DimensionsParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"] {
  4935. parse(xml) {
  4936. const genericElem = super.parse(xml);
  4937. const { dimensionsType, scope, extent, unit, quantity, atLeast, atMost, min, max } = genericElem.attributes;
  4938. return Object.assign(Object.assign({}, genericElem), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["Dimensions"], dimensionsType,
  4939. scope,
  4940. extent,
  4941. unit, quantity: quantity ? parseInt(quantity, 10) : undefined, atLeast: atLeast ? parseInt(atLeast, 10) : undefined, atMost: atMost ? parseInt(atMost, 10) : undefined, min: min ? parseInt(min, 10) : undefined, max: max ? parseInt(max, 10) : undefined, height: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'height'), width: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'width'), depth: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'depth'), dim: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'dim') });
  4942. }
  4943. };
  4944. DimensionsParser = DimensionsParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  4945. Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('dimensions', DimensionsParser_1)
  4946. ], DimensionsParser);
  4947. let AcquisitionParser = AcquisitionParser_1 = class AcquisitionParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"] {
  4948. parse(xml) {
  4949. const genericElem = super.parse(xml);
  4950. const { notBefore, notAfter } = genericElem.attributes;
  4951. return Object.assign(Object.assign({}, genericElem), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["Acquisition"], notBefore,
  4952. notAfter, name: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["unhandledElement"])(xml, 'name', this.genericParse) });
  4953. }
  4954. };
  4955. AcquisitionParser = AcquisitionParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  4956. Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('acquisition', AcquisitionParser_1)
  4957. ], AcquisitionParser);
  4958. let OrigDateParser = OrigDateParser_1 = class OrigDateParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"] {
  4959. parse(xml) {
  4960. const genericElem = super.parse(xml);
  4961. const { notBefore, notAfter, when, origDateType } = genericElem.attributes;
  4962. return Object.assign(Object.assign({}, genericElem), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["OrigDate"], notBefore,
  4963. notAfter,
  4964. when,
  4965. origDateType });
  4966. }
  4967. };
  4968. OrigDateParser = OrigDateParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  4969. Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('origDate', OrigDateParser_1)
  4970. ], OrigDateParser);
  4971. let OrigPlaceParser = OrigPlaceParser_1 = class OrigPlaceParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"] {
  4972. parse(xml) {
  4973. const genericElem = super.parse(xml);
  4974. const { key, origPlaceType } = genericElem.attributes;
  4975. return Object.assign(Object.assign({}, genericElem), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["OrigPlace"], key,
  4976. origPlaceType });
  4977. }
  4978. };
  4979. OrigPlaceParser = OrigPlaceParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  4980. Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('origPlace', OrigPlaceParser_1)
  4981. ], OrigPlaceParser);
  4982. let OriginParser = OriginParser_1 = class OriginParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"] {
  4983. parse(xml) {
  4984. const genericElem = super.parse(xml);
  4985. const { notBefore, notAfter, evidence, resp } = genericElem.attributes;
  4986. return Object.assign(Object.assign({}, genericElem), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["Origin"], notBefore,
  4987. notAfter,
  4988. evidence,
  4989. resp, origDate: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'origDate'), origPlace: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'origPlace') });
  4990. }
  4991. };
  4992. OriginParser = OriginParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  4993. Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('origin', OriginParser_1)
  4994. ], OriginParser);
  4995. let ProvenanceParser = ProvenanceParser_1 = class ProvenanceParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"] {
  4996. parse(xml) {
  4997. const genericElem = super.parse(xml);
  4998. const { when } = genericElem.attributes;
  4999. return Object.assign(Object.assign({}, genericElem), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["Acquisition"], when });
  5000. }
  5001. };
  5002. ProvenanceParser = ProvenanceParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  5003. Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('provenance', ProvenanceParser_1)
  5004. ], ProvenanceParser);
  5005. let HistoryParser = HistoryParser_1 = class HistoryParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"] {
  5006. parse(xml) {
  5007. return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["History"], acquisition: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'acquisition'), origin: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'origin'), provenance: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElements"])(xml, 'provenance'), summary: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'summary'), pEl: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElements"])(xml, 'p') });
  5008. }
  5009. };
  5010. HistoryParser = HistoryParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  5011. Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('history', HistoryParser_1)
  5012. ], HistoryParser);
  5013. let LayoutParser = LayoutParser_1 = class LayoutParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"] {
  5014. parse(xml) {
  5015. const genericElem = super.parse(xml);
  5016. const { columns, streams, ruledLines, writtenLines } = genericElem.attributes;
  5017. return Object.assign(Object.assign({}, genericElem), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["LayoutDesc"], columns: columns ? parseInt(columns, 10) : undefined, streams: streams ? parseInt(streams, 10) : undefined, ruledLines: ruledLines ? parseInt(ruledLines, 10) : undefined, writtenLines: writtenLines ? parseInt(writtenLines, 10) : undefined, pEl: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElements"])(xml, 'p') });
  5018. }
  5019. };
  5020. LayoutParser = LayoutParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  5021. Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('layout', LayoutParser_1)
  5022. ], LayoutParser);
  5023. let LayoutDescParser = LayoutDescParser_1 = class LayoutDescParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"] {
  5024. parse(xml) {
  5025. return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["LayoutDesc"], pEl: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElements"])(xml, 'p'), ab: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["unhandledElement"])(xml, 'ab', this.genericParse), summary: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'provenance'), layout: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'layout') });
  5026. }
  5027. };
  5028. LayoutDescParser = LayoutDescParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  5029. Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('layoutDesc', LayoutDescParser_1)
  5030. ], LayoutDescParser);
  5031. let SupportParser = SupportParser_1 = class SupportParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"] {
  5032. parse(xml) {
  5033. return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["Support"], material: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["unhandledElement"])(xml, 'material', this.genericParse), watermark: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["unhandledElement"])(xml, 'watermark', this.genericParse) });
  5034. }
  5035. };
  5036. SupportParser = SupportParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  5037. Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('support', SupportParser_1)
  5038. ], SupportParser);
  5039. let CollationParser = CollationParser_1 = class CollationParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"] {
  5040. parse(xml) {
  5041. return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["Collation"], pEl: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElements"])(xml, 'p') });
  5042. }
  5043. };
  5044. CollationParser = CollationParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  5045. Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('collation', CollationParser_1)
  5046. ], CollationParser);
  5047. let ConditionParser = ConditionParser_1 = class ConditionParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"] {
  5048. parse(xml) {
  5049. return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["Condition"], pEl: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElements"])(xml, 'p') });
  5050. }
  5051. };
  5052. ConditionParser = ConditionParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  5053. Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('condition', ConditionParser_1)
  5054. ], ConditionParser);
  5055. let FoliationParser = FoliationParser_1 = class FoliationParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"] {
  5056. parse(xml) {
  5057. return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["Foliation"], id: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["getID"])(xml), pEl: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElements"])(xml, 'p') });
  5058. }
  5059. };
  5060. FoliationParser = FoliationParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  5061. Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('foliation', FoliationParser_1)
  5062. ], FoliationParser);
  5063. let SupportDescParser = SupportDescParser_1 = class SupportDescParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"] {
  5064. parse(xml) {
  5065. return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["SupportDesc"], material: xml.getAttribute('material'), pEl: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElements"])(xml, 'p'), ab: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["unhandledElement"])(xml, 'ab', this.genericParse), extents: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["unhandledElement"])(xml, 'extent', this.genericParse), support: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'support'), collation: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'collation'), foliation: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'foliation'), condition: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'condition') });
  5066. }
  5067. };
  5068. SupportDescParser = SupportDescParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  5069. Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('supportDesc', SupportDescParser_1)
  5070. ], SupportDescParser);
  5071. let ObjectDescParser = ObjectDescParser_1 = class ObjectDescParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"] {
  5072. parse(xml) {
  5073. const genericElem = super.parse(xml);
  5074. const { form } = genericElem.attributes;
  5075. return Object.assign(Object.assign({}, genericElem), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["ObjectDesc"], form, layoutDesc: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'layoutDesc'), supportDesc: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'supportDesc'), pEl: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElements"])(xml, 'p') });
  5076. }
  5077. };
  5078. ObjectDescParser = ObjectDescParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  5079. Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('objectDesc', ObjectDescParser_1)
  5080. ], ObjectDescParser);
  5081. let DecoNoteParser = DecoNoteParser_1 = class DecoNoteParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"] {
  5082. parse(xml) {
  5083. const genericElem = super.parse(xml);
  5084. const { decoNoteType } = genericElem.attributes;
  5085. return Object.assign(Object.assign({}, genericElem), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["DecoNote"], decoNoteType, watermark: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["unhandledElement"])(xml, 'watermark', this.genericParse) });
  5086. }
  5087. };
  5088. DecoNoteParser = DecoNoteParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  5089. Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('decoNote', DecoNoteParser_1)
  5090. ], DecoNoteParser);
  5091. let BindingParser = BindingParser_1 = class BindingParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"] {
  5092. parse(xml) {
  5093. return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["Binding"], contemporary: true || false, decoNote: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElements"])(xml, 'decoNote'), pEl: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElements"])(xml, 'p'), condition: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["unhandledElement"])(xml, 'condition', this.genericParse), ab: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["unhandledElement"])(xml, 'ab', this.genericParse) });
  5094. }
  5095. };
  5096. BindingParser = BindingParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  5097. Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('binding', BindingParser_1)
  5098. ], BindingParser);
  5099. let BindingDescParser = BindingDescParser_1 = class BindingDescParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"] {
  5100. parse(xml) {
  5101. return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["BindingDesc"], condition: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["unhandledElement"])(xml, 'condition', this.genericParse), decoNote: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElements"])(xml, 'decoNote'), binding: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElements"])(xml, 'binding'), pEl: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElements"])(xml, 'p') });
  5102. }
  5103. };
  5104. BindingDescParser = BindingDescParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  5105. Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('bindingDesc', BindingDescParser_1)
  5106. ], BindingDescParser);
  5107. let SummaryParser = SummaryParser_1 = class SummaryParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"] {
  5108. parse(xml) {
  5109. return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["Summary"], pEl: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElements"])(xml, 'p') });
  5110. }
  5111. };
  5112. SummaryParser = SummaryParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  5113. Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('summary', SummaryParser_1)
  5114. ], SummaryParser);
  5115. let DecoDescParser = DecoDescParser_1 = class DecoDescParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"] {
  5116. parse(xml) {
  5117. return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["DecoDesc"], decoNote: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'decoNote'), pEl: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElements"])(xml, 'p'), summary: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'summary'), ab: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["unhandledElement"])(xml, 'ab', this.genericParse) });
  5118. }
  5119. };
  5120. DecoDescParser = DecoDescParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  5121. Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('decoDesc', DecoDescParser_1)
  5122. ], DecoDescParser);
  5123. let HandDescParser = HandDescParser_1 = class HandDescParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"] {
  5124. parse(xml) {
  5125. const genericElem = super.parse(xml);
  5126. const { hands } = genericElem.attributes;
  5127. return Object.assign(Object.assign({}, genericElem), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["HandDesc"], hands, handNote: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElements"])(xml, 'handNote') });
  5128. }
  5129. };
  5130. HandDescParser = HandDescParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  5131. Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('handDesc', HandDescParser_1)
  5132. ], HandDescParser);
  5133. let AdditionsParser = AdditionsParser_1 = class AdditionsParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"] {
  5134. parse(xml) {
  5135. return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["Additions"], pEl: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElements"])(xml, 'p') });
  5136. }
  5137. };
  5138. AdditionsParser = AdditionsParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  5139. Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('additions', AdditionsParser_1)
  5140. ], AdditionsParser);
  5141. let ScriptDescParser = ScriptDescParser_1 = class ScriptDescParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"] {
  5142. parse(xml) {
  5143. return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["ScriptDesc"], content: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["parseChildren"])(xml, this.genericParse), attributes: this.attributeParser.parse(xml), summary: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'summary'), scriptNote: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["unhandledElement"])(xml, 'scriptNote', this.genericParse) });
  5144. }
  5145. };
  5146. ScriptDescParser = ScriptDescParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  5147. Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('scriptDesc', ScriptDescParser_1)
  5148. ], ScriptDescParser);
  5149. let SealParser = SealParser_1 = class SealParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"] {
  5150. parse(xml) {
  5151. const genericElem = super.parse(xml);
  5152. const { n, sealType } = genericElem.attributes;
  5153. return Object.assign(Object.assign({}, genericElem), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["Seal"], contemporary: Object(src_app_utils_js_utils__WEBPACK_IMPORTED_MODULE_1__["isBoolString"])(xml.getAttribute('contemporary')), decoNote: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'decoNote'), sealType, n: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["getDefaultN"])(n), pEl: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElements"])(xml, 'p'), ab: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["unhandledElement"])(xml, 'ab', this.genericParse) });
  5154. }
  5155. };
  5156. SealParser = SealParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  5157. Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('seal', SealParser_1)
  5158. ], SealParser);
  5159. let SealDescParser = SealDescParser_1 = class SealDescParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"] {
  5160. parse(xml) {
  5161. return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["SealDesc"], seal: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'seal') });
  5162. }
  5163. };
  5164. SealDescParser = SealDescParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  5165. Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('sealDesc', SealDescParser_1)
  5166. ], SealDescParser);
  5167. let TypeNoteParser = TypeNoteParser_1 = class TypeNoteParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"] {
  5168. parse(xml) {
  5169. const genericElem = super.parse(xml);
  5170. const { scope } = genericElem.attributes;
  5171. return Object.assign(Object.assign({}, genericElem), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["TypeNote"], id: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["getID"])(xml), scope });
  5172. }
  5173. };
  5174. TypeNoteParser = TypeNoteParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  5175. Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('typeNote', TypeNoteParser_1)
  5176. ], TypeNoteParser);
  5177. let TypeDescParser = TypeDescParser_1 = class TypeDescParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"] {
  5178. parse(xml) {
  5179. return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["TypeDesc"], summary: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'summary'), typeNote: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'typeNote') });
  5180. }
  5181. };
  5182. TypeDescParser = TypeDescParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  5183. Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('typeDesc', TypeDescParser_1)
  5184. ], TypeDescParser);
  5185. let AccMatParser = AccMatParser_1 = class AccMatParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"] {
  5186. parse(xml) {
  5187. return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["AccMat"], pEl: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElements"])(xml, 'p') });
  5188. }
  5189. };
  5190. AccMatParser = AccMatParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  5191. Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('accMat', AccMatParser_1)
  5192. ], AccMatParser);
  5193. let MusicNotationParser = MusicNotationParser_1 = class MusicNotationParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"] {
  5194. parse(xml) {
  5195. return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["MusicNotation"], term: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["unhandledElement"])(xml, 'term', this.genericParse) });
  5196. }
  5197. };
  5198. MusicNotationParser = MusicNotationParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  5199. Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('musicNotation', MusicNotationParser_1)
  5200. ], MusicNotationParser);
  5201. let PhysDescParser = PhysDescParser_1 = class PhysDescParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"] {
  5202. parse(xml) {
  5203. return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["PhysDesc"], objectDesc: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'objectDesc'), bindingDesc: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'bindingDesc'), decoDesc: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'decoDesc'), handDesc: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'handDesc'), accMat: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'accMat'), additions: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'additions'), musicNotation: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'musicNotation'), scriptDesc: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'scriptDesc'), sealDesc: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'sealDesc'), typeDesc: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'typeDesc'), pEl: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElements"])(xml, 'p') });
  5204. }
  5205. };
  5206. PhysDescParser = PhysDescParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  5207. Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('physDesc', PhysDescParser_1)
  5208. ], PhysDescParser);
  5209. let FinalRubricParser = FinalRubricParser_1 = class FinalRubricParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"] {
  5210. parse(xml) {
  5211. return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["FinalRubric"], lbEl: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElements"])(xml, 'lb') });
  5212. }
  5213. };
  5214. FinalRubricParser = FinalRubricParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  5215. Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('finalRubric', FinalRubricParser_1)
  5216. ], FinalRubricParser);
  5217. let LocusParser = LocusParser_1 = class LocusParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"] {
  5218. parse(xml) {
  5219. const genericElem = super.parse(xml);
  5220. const { scheme, from, to, facs, target } = genericElem.attributes;
  5221. return Object.assign(Object.assign({}, genericElem), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["Locus"], scheme,
  5222. from,
  5223. to,
  5224. facs,
  5225. target, gEl: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElements"])(xml, 'g'), locus: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'locus'), hi: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["unhandledElement"])(xml, 'hi', this.genericParse) });
  5226. }
  5227. };
  5228. LocusParser = LocusParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  5229. Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('locus', LocusParser_1)
  5230. ], LocusParser);
  5231. let LocusGrpParser = LocusGrpParser_1 = class LocusGrpParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"] {
  5232. parse(xml) {
  5233. const genericElem = super.parse(xml);
  5234. const { scheme } = genericElem.attributes;
  5235. return Object.assign(Object.assign({}, genericElem), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["LocusGrp"], scheme, locus: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'locus') });
  5236. }
  5237. };
  5238. LocusGrpParser = LocusGrpParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  5239. Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('locusGrp', LocusGrpParser_1)
  5240. ], LocusGrpParser);
  5241. let IncipitParser = IncipitParser_1 = class IncipitParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"] {
  5242. parse(xml) {
  5243. const genericElem = super.parse(xml);
  5244. const { lang } = genericElem.attributes;
  5245. return Object.assign(Object.assign({}, genericElem), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["Incipit"], defective: Object(src_app_utils_js_utils__WEBPACK_IMPORTED_MODULE_1__["isBoolString"])(xml.getAttribute('defective')), lang, lbEl: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElements"])(xml, 'lb'), locus: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'locus') });
  5246. }
  5247. };
  5248. IncipitParser = IncipitParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  5249. Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('incipit', IncipitParser_1)
  5250. ], IncipitParser);
  5251. let ExplicitParser = ExplicitParser_1 = class ExplicitParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"] {
  5252. parse(xml) {
  5253. const genericElem = super.parse(xml);
  5254. const { lang } = genericElem.attributes;
  5255. return Object.assign(Object.assign({}, genericElem), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["Explicit"], defective: Object(src_app_utils_js_utils__WEBPACK_IMPORTED_MODULE_1__["isBoolString"])(xml.getAttribute('defective')), lang, locus: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'locus') });
  5256. }
  5257. };
  5258. ExplicitParser = ExplicitParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  5259. Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('explicit', ExplicitParser_1)
  5260. ], ExplicitParser);
  5261. let RubricParser = RubricParser_1 = class RubricParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"] {
  5262. parse(xml) {
  5263. const genericElem = super.parse(xml);
  5264. const { lang, rend } = genericElem.attributes;
  5265. return Object.assign(Object.assign({}, genericElem), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["Rubric"], lang,
  5266. rend, lbEl: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElements"])(xml, 'lb'), locus: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'locus'), stamp: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["unhandledElement"])(xml, 'stamp', this.genericParse) });
  5267. }
  5268. };
  5269. RubricParser = RubricParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  5270. Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('rubric', RubricParser_1)
  5271. ], RubricParser);
  5272. let FiliationParser = FiliationParser_1 = class FiliationParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"] {
  5273. parse(xml) {
  5274. const genericElem = super.parse(xml);
  5275. const { filiationType } = genericElem.attributes;
  5276. return Object.assign(Object.assign({}, genericElem), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["Filiation"], filiationType });
  5277. }
  5278. };
  5279. FiliationParser = FiliationParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  5280. Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('filiation', FiliationParser_1)
  5281. ], FiliationParser);
  5282. let MsItemStructParser = MsItemStructParser_1 = class MsItemStructParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"] {
  5283. parse(xml) {
  5284. const genericElem = super.parse(xml);
  5285. const { n } = genericElem.attributes;
  5286. return Object.assign(Object.assign({}, genericElem), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["MsItemStruct"], n: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["getDefaultN"])(n), defective: Object(src_app_utils_js_utils__WEBPACK_IMPORTED_MODULE_1__["isBoolString"])(xml.getAttribute('defective')), authors: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["unhandledElement"])(xml, 'author', this.genericParse), titles: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["unhandledElement"])(xml, 'title', this.genericParse), textLangs: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["unhandledElement"])(xml, 'textLang', this.genericParse), bibl: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["unhandledElement"])(xml, 'bibl', this.genericParse), respStmt: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["unhandledElement"])(xml, 'respStmt', this.genericParse), quote: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["unhandledElement"])(xml, 'quote', this.genericParse), listBibl: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["unhandledElement"])(xml, 'listBibl', this.genericParse), colophons: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["unhandledElement"])(xml, 'colophon', this.genericParse), rubric: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'rubric'), incipit: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'incipit'), explicit: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'explicit'), finalRubric: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'finalRubric'), decoNote: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'decoNote'), filiation: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElements"])(xml, 'filiation'), locus: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'locus'), noteEl: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElements"])(xml, 'note') });
  5287. }
  5288. };
  5289. MsItemStructParser = MsItemStructParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  5290. Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('msItemStruct', MsItemStructParser_1)
  5291. ], MsItemStructParser);
  5292. let MsItemParser = MsItemParser_1 = class MsItemParser extends MsItemStructParser {
  5293. parse(xml) {
  5294. return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["MsItem"], docAuthors: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["unhandledElement"])(xml, 'docAuthor', this.genericParse), docTitles: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["unhandledElement"])(xml, 'docTitle', this.genericParse), docImprints: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["unhandledElement"])(xml, 'docImprint', this.genericParse), docDate: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["unhandledElement"])(xml, 'docDate', this.genericParse), locusGrp: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'locusGrp'), gapEl: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElements"])(xml, 'gap'), msItem: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElements"])(xml, 'msItem') });
  5295. }
  5296. };
  5297. MsItemParser = MsItemParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  5298. Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('msItem', MsItemParser_1)
  5299. ], MsItemParser);
  5300. let CustEventParser = CustEventParser_1 = class CustEventParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"] {
  5301. parse(xml) {
  5302. const genericElem = super.parse(xml);
  5303. const { notBefore, notAfter, when, from, to, custEventType } = genericElem.attributes;
  5304. return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["CustEvent"], notBefore,
  5305. notAfter,
  5306. when,
  5307. from,
  5308. to,
  5309. custEventType });
  5310. }
  5311. };
  5312. CustEventParser = CustEventParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  5313. Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('custEvent', CustEventParser_1)
  5314. ], CustEventParser);
  5315. let CustodialHistParser = CustodialHistParser_1 = class CustodialHistParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"] {
  5316. parse(xml) {
  5317. return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["CustodialHist"], custEvent: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElements"])(xml, 'custEvent'), ab: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["unhandledElement"])(xml, 'ab', this.genericParse), pEl: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElements"])(xml, 'p') });
  5318. }
  5319. };
  5320. CustodialHistParser = CustodialHistParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  5321. Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('custodialHist', CustodialHistParser_1)
  5322. ], CustodialHistParser);
  5323. let SourceParser = SourceParser_1 = class SourceParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"] {
  5324. parse(xml) {
  5325. return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["Source"], pEl: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElements"])(xml, 'p') });
  5326. }
  5327. };
  5328. SourceParser = SourceParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  5329. Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('source', SourceParser_1)
  5330. ], SourceParser);
  5331. let RecordHistParser = RecordHistParser_1 = class RecordHistParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"] {
  5332. parse(xml) {
  5333. return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["RecordHist"], changes: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["unhandledElement"])(xml, 'change', this.genericParse), source: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElements"])(xml, 'source'), ab: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["unhandledElement"])(xml, 'ab', this.genericParse), pEl: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElements"])(xml, 'p') });
  5334. }
  5335. };
  5336. RecordHistParser = RecordHistParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  5337. Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('recordHist', RecordHistParser_1)
  5338. ], RecordHistParser);
  5339. let AdminInfoParser = AdminInfoParser_1 = class AdminInfoParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"] {
  5340. parse(xml) {
  5341. return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["AdminInfo"], noteEl: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElements"])(xml, 'note'), availabilities: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["unhandledElement"])(xml, 'availability', this.genericParse), custodialHist: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'custodialHist'), recordHist: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'recordHist') });
  5342. }
  5343. };
  5344. AdminInfoParser = AdminInfoParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  5345. Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('adminInfo', AdminInfoParser_1)
  5346. ], AdminInfoParser);
  5347. let SurrogatesParser = SurrogatesParser_1 = class SurrogatesParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"] {
  5348. parse(xml) {
  5349. return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["Surrogates"], bibls: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["unhandledElement"])(xml, 'bibl', this.genericParse), pEl: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElements"])(xml, 'p') });
  5350. }
  5351. };
  5352. SurrogatesParser = SurrogatesParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  5353. Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('surrogates', SurrogatesParser_1)
  5354. ], SurrogatesParser);
  5355. let AdditionalParser = AdditionalParser_1 = class AdditionalParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"] {
  5356. parse(xml) {
  5357. return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["Summary"], class: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["getClass"])(xml), content: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["parseChildren"])(xml, this.genericParse), attributes: this.attributeParser.parse(xml), listBibls: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["unhandledElement"])(xml, 'listBibl', this.genericParse), adminInfo: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'adminInfo'), surrogates: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'surrogates') });
  5358. }
  5359. };
  5360. AdditionalParser = AdditionalParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  5361. Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('additional', AdditionalParser_1)
  5362. ], AdditionalParser);
  5363. let RepositoryParser = RepositoryParser_1 = class RepositoryParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"] {
  5364. parse(xml) {
  5365. const genericElem = super.parse(xml);
  5366. const { lang } = genericElem.attributes;
  5367. return Object.assign(Object.assign({}, genericElem), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["Repository"], lang });
  5368. }
  5369. };
  5370. RepositoryParser = RepositoryParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  5371. Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('repository', RepositoryParser_1)
  5372. ], RepositoryParser);
  5373. let MsContentsParser = MsContentsParser_1 = class MsContentsParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"] {
  5374. parse(xml) {
  5375. return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["MsContents"], summary: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'summary'), msItem: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElements"])(xml, 'msItem'), msItemStruct: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'msItemStruct'), pEl: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElements"])(xml, 'p'), textLangs: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["unhandledElement"])(xml, 'textLang', this.genericParse) });
  5376. }
  5377. };
  5378. MsContentsParser = MsContentsParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  5379. Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('msContents', MsContentsParser_1)
  5380. ], MsContentsParser);
  5381. let CollectionParser = CollectionParser_1 = class CollectionParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"] {
  5382. parse(xml) {
  5383. const genericElem = super.parse(xml);
  5384. const { collectionType } = genericElem.attributes;
  5385. return Object.assign(Object.assign({}, genericElem), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["CollectionEl"], collectionType });
  5386. }
  5387. };
  5388. CollectionParser = CollectionParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  5389. Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('collection', CollectionParser_1)
  5390. ], CollectionParser);
  5391. let IdentifierParser = IdentifierParser_1 = class IdentifierParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"] {
  5392. parse(xml) {
  5393. return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["Identifier"], collection: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElements"])(xml, 'collection'), repository: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'repository'), idnos: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["unhandledElement"])(xml, 'idno', this.genericParse), regions: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["unhandledElement"])(xml, 'region', this.genericParse), settlements: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["unhandledElement"])(xml, 'settlement', this.genericParse), countries: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["unhandledElement"])(xml, 'country', this.genericParse) });
  5394. }
  5395. };
  5396. IdentifierParser = IdentifierParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  5397. Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('evt-identifier-parser', IdentifierParser_1)
  5398. ], IdentifierParser);
  5399. let AltIdentifierParser = AltIdentifierParser_1 = class AltIdentifierParser extends IdentifierParser {
  5400. parse(xml) {
  5401. return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["AltIdentifier"], noteEl: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElements"])(xml, 'note') });
  5402. }
  5403. };
  5404. AltIdentifierParser = AltIdentifierParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  5405. Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('altIdentifier', AltIdentifierParser_1)
  5406. ], AltIdentifierParser);
  5407. let MsNameParser = MsNameParser_1 = class MsNameParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"] {
  5408. parse(xml) {
  5409. return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["AltIdentifier"], name: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["unhandledElement"])(xml, 'name', this.genericParse), rs: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["unhandledElement"])(xml, 'rs', this.genericParse), gEl: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElements"])(xml, 'g') });
  5410. }
  5411. };
  5412. MsNameParser = MsNameParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  5413. Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('msName', MsNameParser_1)
  5414. ], MsNameParser);
  5415. let InstitutionParser = InstitutionParser_1 = class InstitutionParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"] {
  5416. parse(xml) {
  5417. return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["Institution"], country: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["unhandledElement"])(xml, 'country', this.genericParse), region: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["unhandledElement"])(xml, 'region', this.genericParse) });
  5418. }
  5419. };
  5420. InstitutionParser = InstitutionParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  5421. Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('institution', InstitutionParser_1)
  5422. ], InstitutionParser);
  5423. let MsIdentifierParser = MsIdentifierParser_1 = class MsIdentifierParser extends IdentifierParser {
  5424. parse(xml) {
  5425. return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["MsIdentifier"], id: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["getID"])(xml), institution: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'institution'), altIdentifier: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElements"])(xml, 'altIdentifier'), msName: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElements"])(xml, 'msName') });
  5426. }
  5427. };
  5428. MsIdentifierParser = MsIdentifierParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  5429. Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('msIdentifier', MsIdentifierParser_1)
  5430. ], MsIdentifierParser);
  5431. let HeadParser = HeadParser_1 = class HeadParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"] {
  5432. parse(xml) {
  5433. const genericElem = super.parse(xml);
  5434. const { place, rend, style, rendition, facs, n } = genericElem.attributes;
  5435. return Object.assign(Object.assign({}, genericElem), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["Head"], n: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["getDefaultN"])(n), place,
  5436. rend,
  5437. rendition,
  5438. style,
  5439. facs, lbEl: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElements"])(xml, 'lb'), hi: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["unhandledElement"])(xml, 'hi', this.genericParse), title: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["unhandledElement"])(xml, 'title', this.genericParse), origPlace: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'origPlace'), origDate: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'origDate') });
  5440. }
  5441. };
  5442. HeadParser = HeadParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  5443. Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('head', HeadParser_1)
  5444. ], HeadParser);
  5445. let MsFragParser = MsFragParser_1 = class MsFragParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"] {
  5446. parse(xml) {
  5447. return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["MsFrag"], additional: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'additional'), altIdentifier: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'altIdentifier'), history: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'history'), msContents: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'msContents'), msIdentifier: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'msIdentifier'), physDesc: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'physDesc'), pEl: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElements"])(xml, 'p') });
  5448. }
  5449. };
  5450. MsFragParser = MsFragParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  5451. Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('msFrag', MsFragParser_1)
  5452. ], MsFragParser);
  5453. let MsPartParser = MsPartParser_1 = class MsPartParser extends MsFragParser {
  5454. parse(xml) {
  5455. return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["MsPart"], msParts: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElements"])(xml, 'msPart'), head: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'head') });
  5456. }
  5457. };
  5458. MsPartParser = MsPartParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  5459. Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('msPart', MsPartParser_1)
  5460. ], MsPartParser);
  5461. let MsDescParser = MsDescParser_1 = class MsDescParser extends MsPartParser {
  5462. constructor() {
  5463. super(...arguments);
  5464. this.msDescCounter = 0;
  5465. }
  5466. parse(xml) {
  5467. const genericElem = super.parse(xml);
  5468. const { n, label } = genericElem.attributes;
  5469. let firstIdnoValue = '';
  5470. const msDesc = Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["MsDesc"], id: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["getID"])(xml), n: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["getDefaultN"])(n), label, msFrags: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElements"])(xml, 'msFrag') });
  5471. firstIdnoValue = this.getFirstIdnoValue(msDesc);
  5472. msDesc.label = xml.getAttribute('n') || xml.getAttribute('xml:id') || firstIdnoValue;
  5473. return msDesc;
  5474. }
  5475. getFirstIdnoValue(ms) {
  5476. this.msDescCounter++;
  5477. if (ms.msIdentifier.idnos.length > 0) {
  5478. const item = ms.msIdentifier.idnos[0].filter((el) => { var _a, _b; return ((_a = el.text) === null || _a === void 0 ? void 0 : _a.trim()) || ((_b = el.content) === null || _b === void 0 ? void 0 : _b.length) > 0; });
  5479. if (item[0].text) {
  5480. return item[0].text.trim();
  5481. }
  5482. if (item[0].content.length > 0) {
  5483. return (item[0].content[0].text);
  5484. }
  5485. }
  5486. return `MS Desc ${this.msDescCounter}`;
  5487. }
  5488. };
  5489. MsDescParser = MsDescParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  5490. Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('msDesc', MsDescParser_1)
  5491. ], MsDescParser);
  5492. /***/ }),
  5493. /***/ "DBF2":
  5494. /*!*****************************************************************!*\
  5495. !*** ./src/app/panels/version-panel/version-panel.component.ts ***!
  5496. \*****************************************************************/
  5497. /*! exports provided: VersionPanelComponent */
  5498. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  5499. "use strict";
  5500. __webpack_require__.r(__webpack_exports__);
  5501. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "VersionPanelComponent", function() { return VersionPanelComponent; });
  5502. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "fXoL");
  5503. /* harmony import */ var _ui_components_panel_panel_component__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../ui-components/panel/panel.component */ "HiHV");
  5504. /* harmony import */ var _directives_annotator_directive__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../directives/annotator.directive */ "STiE");
  5505. class VersionPanelComponent {
  5506. constructor() {
  5507. this.hide = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
  5508. }
  5509. emitHide() {
  5510. this.hide.emit(true);
  5511. }
  5512. }
  5513. VersionPanelComponent.ɵfac = function VersionPanelComponent_Factory(t) { return new (t || VersionPanelComponent)(); };
  5514. VersionPanelComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: VersionPanelComponent, selectors: [["evt-version-panel"]], inputs: { version: "version" }, outputs: { hide: "hide" }, decls: 8, vars: 4, consts: [[3, "comparable", "secondary", "closable", "hide"], ["header-left", ""], ["content", "", "evtAnnotator", ""]], template: function VersionPanelComponent_Template(rf, ctx) { if (rf & 1) {
  5515. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "evt-panel", 0);
  5516. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("hide", function VersionPanelComponent_Template_evt_panel_hide_0_listener() { return ctx.emitHide(); });
  5517. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "div", 1);
  5518. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2);
  5519. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  5520. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "div", 2);
  5521. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "h1");
  5522. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](5, "Text of version");
  5523. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  5524. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](6, "p");
  5525. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](7, " Lorem ipsum dolor sit amet, consectetur adipisici elit, sed eiusmod tempor incidunt ut labore et dolore magna aliqua. Inmensae subtilitatis, obscuris et malesuada fames. Ambitioni dedisse scripsisse iudicaretur. At nos hinc posthac, sitientis piros Afros. ");
  5526. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  5527. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  5528. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  5529. } if (rf & 2) {
  5530. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("comparable", true)("secondary", true)("closable", true);
  5531. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
  5532. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" Version ", ctx.version, " ");
  5533. } }, directives: [_ui_components_panel_panel_component__WEBPACK_IMPORTED_MODULE_1__["PanelComponent"], _directives_annotator_directive__WEBPACK_IMPORTED_MODULE_2__["AnnotatorDirective"]], styles: ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJ2ZXJzaW9uLXBhbmVsLmNvbXBvbmVudC5zY3NzIn0= */"] });
  5534. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](VersionPanelComponent, [{
  5535. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
  5536. args: [{
  5537. selector: 'evt-version-panel',
  5538. templateUrl: './version-panel.component.html',
  5539. styleUrls: ['./version-panel.component.scss'],
  5540. }]
  5541. }], null, { version: [{
  5542. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
  5543. }], hide: [{
  5544. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
  5545. }] }); })();
  5546. /***/ }),
  5547. /***/ "DJp8":
  5548. /*!*************************************************************!*\
  5549. !*** ./src/app/view-modes/text-text/text-text.component.ts ***!
  5550. \*************************************************************/
  5551. /*! exports provided: TextTextComponent */
  5552. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  5553. "use strict";
  5554. __webpack_require__.r(__webpack_exports__);
  5555. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TextTextComponent", function() { return TextTextComponent; });
  5556. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "fXoL");
  5557. /* harmony import */ var angular_gridster2__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! angular-gridster2 */ "Ljk9");
  5558. /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs */ "qCKp");
  5559. /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! rxjs/operators */ "kU1M");
  5560. /* harmony import */ var src_app_services_evt_status_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! src/app/services/evt-status.service */ "7Ht4");
  5561. /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/common */ "ofXK");
  5562. /* harmony import */ var _panels_text_panel_text_panel_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../panels/text-panel/text-panel.component */ "CHR5");
  5563. function TextTextComponent_gridster_0_Template(rf, ctx) { if (rf & 1) {
  5564. const _r3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
  5565. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "gridster", 1);
  5566. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "gridster-item", 2);
  5567. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "evt-text-panel", 3);
  5568. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("pageChange", function TextTextComponent_gridster_0_Template_evt_text_panel_pageChange_2_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r3); const ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](); return ctx_r2.changePage($event); })("editionLevelChange", function TextTextComponent_gridster_0_Template_evt_text_panel_editionLevelChange_2_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r3); const ctx_r4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](); return ctx_r4.changeEditionLevel($event, 1); });
  5569. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](3, "async");
  5570. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  5571. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  5572. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "gridster-item", 2);
  5573. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](5, "evt-text-panel", 3);
  5574. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("pageChange", function TextTextComponent_gridster_0_Template_evt_text_panel_pageChange_5_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r3); const ctx_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](); return ctx_r5.changePage($event); })("editionLevelChange", function TextTextComponent_gridster_0_Template_evt_text_panel_editionLevelChange_5_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r3); const ctx_r6 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](); return ctx_r6.changeEditionLevel($event, 2); });
  5575. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](6, "async");
  5576. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  5577. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  5578. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  5579. } if (rf & 2) {
  5580. const currentEditionLevels_r1 = ctx.ngIf;
  5581. const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
  5582. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("options", ctx_r0.options);
  5583. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  5584. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("item", ctx_r0.textPanel1Item);
  5585. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  5586. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("pageID", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](3, 7, ctx_r0.currentPageID$))("editionLevelID", currentEditionLevels_r1[0]);
  5587. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
  5588. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("item", ctx_r0.textPanel2Item);
  5589. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  5590. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("pageID", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](6, 9, ctx_r0.currentPageID$))("editionLevelID", currentEditionLevels_r1[1]);
  5591. } }
  5592. class TextTextComponent {
  5593. constructor(evtStatusService) {
  5594. this.evtStatusService = evtStatusService;
  5595. this.options = {};
  5596. this.textPanel1Item = { cols: 1, rows: 1, y: 0, x: 0 };
  5597. this.textPanel2Item = { cols: 1, rows: 1, y: 0, x: 1 };
  5598. this.currentPageID$ = this.evtStatusService.currentStatus$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["map"])(({ page }) => page.id));
  5599. this.currentEditionLevels$ = this.evtStatusService.currentStatus$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["map"])(({ editionLevels }) => editionLevels), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["shareReplay"])(1));
  5600. this.editionLevelPanel1Change$ = new rxjs__WEBPACK_IMPORTED_MODULE_2__["BehaviorSubject"](undefined);
  5601. this.editionLevelPanel2Change$ = new rxjs__WEBPACK_IMPORTED_MODULE_2__["BehaviorSubject"](undefined);
  5602. this.lastPanelChanged$ = new rxjs__WEBPACK_IMPORTED_MODULE_2__["BehaviorSubject"](undefined);
  5603. this.editionLevelChange$ = Object(rxjs__WEBPACK_IMPORTED_MODULE_2__["combineLatest"])([
  5604. this.editionLevelPanel1Change$,
  5605. this.editionLevelPanel2Change$,
  5606. this.lastPanelChanged$,
  5607. ]);
  5608. this.subscriptions = [];
  5609. }
  5610. ngOnInit() {
  5611. this.initGridster();
  5612. this.editionLevelChange$.subscribe(([edLvl1, edLvl2, changedPanel]) => {
  5613. if (!edLvl1 || !edLvl2) {
  5614. return;
  5615. }
  5616. if (edLvl1 === edLvl2) {
  5617. if (changedPanel === 1) {
  5618. edLvl2 = this.evtStatusService.availableEditionLevels.filter(e => e.id !== edLvl1.id)[0];
  5619. }
  5620. else if (changedPanel === 2) {
  5621. edLvl1 = this.evtStatusService.availableEditionLevels.filter(e => e.id !== edLvl2.id)[0];
  5622. }
  5623. }
  5624. this.evtStatusService.updateEditionLevels$.next([edLvl1 === null || edLvl1 === void 0 ? void 0 : edLvl1.id, edLvl2 === null || edLvl2 === void 0 ? void 0 : edLvl2.id]);
  5625. });
  5626. }
  5627. changePage(selectedPage) {
  5628. this.evtStatusService.updatePage$.next(selectedPage);
  5629. }
  5630. changeEditionLevel(edLvl, changedPanel) {
  5631. if (changedPanel === 1) {
  5632. this.editionLevelPanel1Change$.next(edLvl);
  5633. }
  5634. else if (changedPanel === 2) {
  5635. this.editionLevelPanel2Change$.next(edLvl);
  5636. }
  5637. this.lastPanelChanged$.next(changedPanel);
  5638. }
  5639. initGridster() {
  5640. this.options = {
  5641. gridType: angular_gridster2__WEBPACK_IMPORTED_MODULE_1__["GridType"].Fit,
  5642. displayGrid: angular_gridster2__WEBPACK_IMPORTED_MODULE_1__["DisplayGrid"].None,
  5643. margin: 0,
  5644. maxCols: 2,
  5645. maxRows: 1,
  5646. draggable: {
  5647. enabled: true,
  5648. ignoreContent: true,
  5649. dragHandleClass: 'panel-header',
  5650. },
  5651. resizable: {
  5652. enabled: false,
  5653. },
  5654. };
  5655. }
  5656. ngOnDestroy() {
  5657. this.subscriptions.forEach(s => s.unsubscribe());
  5658. }
  5659. }
  5660. TextTextComponent.ɵfac = function TextTextComponent_Factory(t) { return new (t || TextTextComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](src_app_services_evt_status_service__WEBPACK_IMPORTED_MODULE_4__["EVTStatusService"])); };
  5661. TextTextComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: TextTextComponent, selectors: [["evt-text-text"]], decls: 2, vars: 3, consts: [[3, "options", 4, "ngIf"], [3, "options"], [3, "item"], [3, "pageID", "editionLevelID", "pageChange", "editionLevelChange"]], template: function TextTextComponent_Template(rf, ctx) { if (rf & 1) {
  5662. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](0, TextTextComponent_gridster_0_Template, 7, 11, "gridster", 0);
  5663. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](1, "async");
  5664. } if (rf & 2) {
  5665. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](1, 1, ctx.currentEditionLevels$));
  5666. } }, directives: [_angular_common__WEBPACK_IMPORTED_MODULE_5__["NgIf"], angular_gridster2__WEBPACK_IMPORTED_MODULE_1__["GridsterComponent"], angular_gridster2__WEBPACK_IMPORTED_MODULE_1__["GridsterItemComponent"], _panels_text_panel_text_panel_component__WEBPACK_IMPORTED_MODULE_6__["TextPanelComponent"]], pipes: [_angular_common__WEBPACK_IMPORTED_MODULE_5__["AsyncPipe"]], styles: ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJ0ZXh0LXRleHQuY29tcG9uZW50LnNjc3MifQ== */"] });
  5667. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](TextTextComponent, [{
  5668. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
  5669. args: [{
  5670. selector: 'evt-text-text',
  5671. templateUrl: './text-text.component.html',
  5672. styleUrls: ['./text-text.component.scss'],
  5673. }]
  5674. }], function () { return [{ type: src_app_services_evt_status_service__WEBPACK_IMPORTED_MODULE_4__["EVTStatusService"] }]; }, null); })();
  5675. /***/ }),
  5676. /***/ "EOxZ":
  5677. /*!*************************************************************************************!*\
  5678. !*** ./src/app/components/lem-entry/lem-entry-detail/lem-entry-detail.component.ts ***!
  5679. \*************************************************************************************/
  5680. /*! exports provided: LemEntryDetailComponent */
  5681. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  5682. "use strict";
  5683. __webpack_require__.r(__webpack_exports__);
  5684. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "LemEntryDetailComponent", function() { return LemEntryDetailComponent; });
  5685. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "mrSG");
  5686. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "fXoL");
  5687. /* harmony import */ var _models_evt_models__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./../../../models/evt-models */ "5c0l");
  5688. /* harmony import */ var src_app_services_component_register_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! src/app/services/component-register.service */ "d25s");
  5689. /* harmony import */ var _services_evt_model_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../services/evt-model.service */ "hI0h");
  5690. /* harmony import */ var _lem_entry_readings_lem_entry_readings_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../lem-entry-readings/lem-entry-readings.component */ "XvlD");
  5691. /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/common */ "ofXK");
  5692. /* harmony import */ var _pinboard_pinner_pinner_component__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../pinboard/pinner/pinner.component */ "j7gH");
  5693. /* harmony import */ var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @ng-bootstrap/ng-bootstrap */ "1kSV");
  5694. /* harmony import */ var _note_note_component__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../note/note.component */ "EpuN");
  5695. /* harmony import */ var _reading_reading_component__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../reading/reading.component */ "QgGR");
  5696. /* harmony import */ var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../content-viewer/content-viewer.component */ "t6RO");
  5697. /* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @ngx-translate/core */ "sYmb");
  5698. /* harmony import */ var _pipes_xml_beautify_pipe__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../../../pipes/xml-beautify.pipe */ "UhR9");
  5699. var LemEntryDetailComponent_1;
  5700. function LemEntryDetailComponent_div_4_span_1_Template(rf, ctx) { if (rf & 1) {
  5701. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 19);
  5702. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "sup");
  5703. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](2);
  5704. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  5705. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](3, "evt-lem-entry-readings", 20);
  5706. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  5707. } if (rf & 2) {
  5708. const nesLem_r9 = ctx.$implicit;
  5709. const i_r10 = ctx.index;
  5710. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
  5711. const _r6 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵreference"](23);
  5712. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  5713. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"]("", i_r10 + 1, " ");
  5714. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  5715. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("data", nesLem_r9)("template", _r6)("rdgHasCounter", false);
  5716. } }
  5717. function LemEntryDetailComponent_div_4_Template(rf, ctx) { if (rf & 1) {
  5718. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 17);
  5719. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, LemEntryDetailComponent_div_4_span_1_Template, 4, 4, "span", 18);
  5720. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  5721. } if (rf & 2) {
  5722. const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  5723. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  5724. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r0.nestedLems);
  5725. } }
  5726. function LemEntryDetailComponent_li_9_ng_template_4_evt_note_0_Template(rf, ctx) { if (rf & 1) {
  5727. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-note", 23);
  5728. } if (rf & 2) {
  5729. const note_r13 = ctx.$implicit;
  5730. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("data", note_r13);
  5731. } }
  5732. function LemEntryDetailComponent_li_9_ng_template_4_Template(rf, ctx) { if (rf & 1) {
  5733. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](0, LemEntryDetailComponent_li_9_ng_template_4_evt_note_0_Template, 1, 1, "evt-note", 22);
  5734. } if (rf & 2) {
  5735. const ctx_r11 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
  5736. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r11.data.notes);
  5737. } }
  5738. function LemEntryDetailComponent_li_9_Template(rf, ctx) { if (rf & 1) {
  5739. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "li", 21);
  5740. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "a", 14);
  5741. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](2);
  5742. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](3, "translate");
  5743. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  5744. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, LemEntryDetailComponent_li_9_ng_template_4_Template, 1, 1, "ng-template", 12);
  5745. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  5746. } if (rf & 2) {
  5747. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  5748. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](3, 1, "lemmaNotes"));
  5749. } }
  5750. function LemEntryDetailComponent_li_10_ng_template_4_span_0_Template(rf, ctx) { if (rf & 1) {
  5751. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 26);
  5752. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](1, "evt-reading", 23);
  5753. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  5754. } if (rf & 2) {
  5755. const el_r16 = ctx.$implicit;
  5756. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  5757. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("data", el_r16);
  5758. } }
  5759. function LemEntryDetailComponent_li_10_ng_template_4_Template(rf, ctx) { if (rf & 1) {
  5760. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](0, LemEntryDetailComponent_li_10_ng_template_4_span_0_Template, 2, 1, "span", 25);
  5761. } if (rf & 2) {
  5762. const ctx_r14 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
  5763. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r14.notSignificantRdg);
  5764. } }
  5765. function LemEntryDetailComponent_li_10_Template(rf, ctx) { if (rf & 1) {
  5766. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "li", 24);
  5767. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "a", 14);
  5768. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](2);
  5769. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](3, "translate");
  5770. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  5771. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, LemEntryDetailComponent_li_10_ng_template_4_Template, 1, 1, "ng-template", 12);
  5772. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  5773. } if (rf & 2) {
  5774. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  5775. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](3, 1, "ortographicVariants"));
  5776. } }
  5777. function LemEntryDetailComponent_ng_template_15_div_0_evt_reading_4_Template(rf, ctx) { if (rf & 1) {
  5778. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-reading", 33);
  5779. } if (rf & 2) {
  5780. const ctx_r18 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](3);
  5781. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("data", ctx_r18.data.lemma);
  5782. } }
  5783. function LemEntryDetailComponent_ng_template_15_div_0_span_5_ng_container_1_Template(rf, ctx) { if (rf & 1) {
  5784. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0);
  5785. } }
  5786. const _c0 = function (a0) { return { rdgHasCounter: a0 }; };
  5787. function LemEntryDetailComponent_ng_template_15_div_0_span_5_Template(rf, ctx) { if (rf & 1) {
  5788. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 34);
  5789. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, LemEntryDetailComponent_ng_template_15_div_0_span_5_ng_container_1_Template, 1, 0, "ng-container", 35);
  5790. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  5791. } if (rf & 2) {
  5792. const ctx_r19 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](3);
  5793. const _r6 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵreference"](23);
  5794. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  5795. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r6)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](2, _c0, ctx_r19.rdgHasCounter));
  5796. } }
  5797. function LemEntryDetailComponent_ng_template_15_div_0_span_6_span_1_Template(rf, ctx) { if (rf & 1) {
  5798. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 38);
  5799. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1);
  5800. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  5801. } if (rf & 2) {
  5802. const metadata_r23 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]().$implicit;
  5803. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  5804. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"]("", metadata_r23.key, ":");
  5805. } }
  5806. function LemEntryDetailComponent_ng_template_15_div_0_span_6_Template(rf, ctx) { if (rf & 1) {
  5807. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 36);
  5808. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, LemEntryDetailComponent_ng_template_15_div_0_span_6_span_1_Template, 2, 1, "span", 37);
  5809. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](2);
  5810. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  5811. } if (rf & 2) {
  5812. const metadata_r23 = ctx.$implicit;
  5813. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  5814. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", metadata_r23.key !== "id");
  5815. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  5816. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"](" ", metadata_r23.value, " ");
  5817. } }
  5818. function LemEntryDetailComponent_ng_template_15_div_0_span_8_Template(rf, ctx) { if (rf & 1) {
  5819. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 36);
  5820. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "span", 39);
  5821. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](2);
  5822. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](3, "translate");
  5823. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  5824. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  5825. } if (rf & 2) {
  5826. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  5827. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](3, 1, "noDataAvailable"));
  5828. } }
  5829. function LemEntryDetailComponent_ng_template_15_div_0_Template(rf, ctx) { if (rf & 1) {
  5830. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 28);
  5831. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "span");
  5832. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](2);
  5833. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](3, "translate");
  5834. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  5835. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, LemEntryDetailComponent_ng_template_15_div_0_evt_reading_4_Template, 1, 1, "evt-reading", 29);
  5836. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](5, LemEntryDetailComponent_ng_template_15_div_0_span_5_Template, 2, 4, "span", 30);
  5837. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](6, LemEntryDetailComponent_ng_template_15_div_0_span_6_Template, 3, 2, "span", 31);
  5838. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](7, "keyvalue");
  5839. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](8, LemEntryDetailComponent_ng_template_15_div_0_span_8_Template, 4, 3, "span", 32);
  5840. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](9, "keyvalue");
  5841. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  5842. } if (rf & 2) {
  5843. const ctx_r17 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
  5844. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  5845. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"]("", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](3, 5, "infoForLemma"), " ");
  5846. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  5847. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx_r17.data.nestedLemsIDs.length === 0);
  5848. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  5849. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx_r17.data.nestedLemsIDs.length > 0);
  5850. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  5851. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](7, 7, ctx_r17.rdgMetadata));
  5852. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  5853. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](9, 9, ctx_r17.rdgMetadata).length === 0);
  5854. } }
  5855. function LemEntryDetailComponent_ng_template_15_Template(rf, ctx) { if (rf & 1) {
  5856. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](0, LemEntryDetailComponent_ng_template_15_div_0_Template, 10, 11, "div", 27);
  5857. } if (rf & 2) {
  5858. const ctx_r4 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  5859. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx_r4.data.lemma);
  5860. } }
  5861. function LemEntryDetailComponent_ng_template_20_Template(rf, ctx) { if (rf & 1) {
  5862. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "pre");
  5863. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1);
  5864. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](2, "xmlBeautify");
  5865. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  5866. } if (rf & 2) {
  5867. const ctx_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  5868. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  5869. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](2, 1, ctx_r5.data.originalEncoding));
  5870. } }
  5871. function LemEntryDetailComponent_ng_template_22_ng_container_0_evt_content_viewer_1_Template(rf, ctx) { if (rf & 1) {
  5872. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 43);
  5873. } if (rf & 2) {
  5874. const c_r28 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]().$implicit;
  5875. const ctx_r29 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
  5876. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵclassMap"](ctx_r29.data.class);
  5877. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", c_r28);
  5878. } }
  5879. function LemEntryDetailComponent_ng_template_22_ng_container_0_ng_container_2_sup_2_Template(rf, ctx) { if (rf & 1) {
  5880. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "sup");
  5881. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1);
  5882. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  5883. } if (rf & 2) {
  5884. const c_r28 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2).$implicit;
  5885. const ctx_r32 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
  5886. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  5887. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"]("", ctx_r32.getNestedLemPos(c_r28.id) + 1, " ");
  5888. } }
  5889. function LemEntryDetailComponent_ng_template_22_ng_container_0_ng_container_2_ng_container_3_ng_container_1_sup_2_Template(rf, ctx) { if (rf & 1) {
  5890. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "sup");
  5891. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1);
  5892. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  5893. } if (rf & 2) {
  5894. const nesID_r36 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]().$implicit;
  5895. const ctx_r38 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](5);
  5896. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  5897. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](ctx_r38.getNestedLemPos(nesID_r36) + 1);
  5898. } }
  5899. function LemEntryDetailComponent_ng_template_22_ng_container_0_ng_container_2_ng_container_3_ng_container_1_Template(rf, ctx) { if (rf & 1) {
  5900. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
  5901. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](1, "evt-reading", 23);
  5902. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, LemEntryDetailComponent_ng_template_22_ng_container_0_ng_container_2_ng_container_3_ng_container_1_sup_2_Template, 2, 1, "sup", 42);
  5903. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
  5904. } if (rf & 2) {
  5905. const nesID_r36 = ctx.$implicit;
  5906. const rdgHasCounter_r26 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](4).rdgHasCounter;
  5907. const ctx_r35 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  5908. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  5909. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("data", ctx_r35.getNestedLemLemma(nesID_r36));
  5910. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  5911. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", rdgHasCounter_r26);
  5912. } }
  5913. function LemEntryDetailComponent_ng_template_22_ng_container_0_ng_container_2_ng_container_3_Template(rf, ctx) { if (rf & 1) {
  5914. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
  5915. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, LemEntryDetailComponent_ng_template_22_ng_container_0_ng_container_2_ng_container_3_ng_container_1_Template, 3, 2, "ng-container", 40);
  5916. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
  5917. } if (rf & 2) {
  5918. const c_r28 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2).$implicit;
  5919. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  5920. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", c_r28.nestedLemsIDs);
  5921. } }
  5922. function LemEntryDetailComponent_ng_template_22_ng_container_0_ng_container_2_Template(rf, ctx) { if (rf & 1) {
  5923. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
  5924. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](1, "evt-reading", 23);
  5925. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, LemEntryDetailComponent_ng_template_22_ng_container_0_ng_container_2_sup_2_Template, 2, 1, "sup", 42);
  5926. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, LemEntryDetailComponent_ng_template_22_ng_container_0_ng_container_2_ng_container_3_Template, 2, 1, "ng-container", 42);
  5927. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
  5928. } if (rf & 2) {
  5929. const c_r28 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]().$implicit;
  5930. const rdgHasCounter_r26 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]().rdgHasCounter;
  5931. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  5932. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("data", c_r28.lemma);
  5933. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  5934. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", rdgHasCounter_r26);
  5935. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  5936. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", c_r28.nestedLemsIDs.length > 0);
  5937. } }
  5938. function LemEntryDetailComponent_ng_template_22_ng_container_0_Template(rf, ctx) { if (rf & 1) {
  5939. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
  5940. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, LemEntryDetailComponent_ng_template_22_ng_container_0_evt_content_viewer_1_Template, 1, 4, "evt-content-viewer", 41);
  5941. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, LemEntryDetailComponent_ng_template_22_ng_container_0_ng_container_2_Template, 4, 3, "ng-container", 42);
  5942. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
  5943. } if (rf & 2) {
  5944. const c_r28 = ctx.$implicit;
  5945. const ctx_r27 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
  5946. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  5947. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", !ctx_r27.isLemEntry(c_r28));
  5948. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  5949. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx_r27.isLemEntry(c_r28));
  5950. } }
  5951. function LemEntryDetailComponent_ng_template_22_Template(rf, ctx) { if (rf & 1) {
  5952. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](0, LemEntryDetailComponent_ng_template_22_ng_container_0_Template, 3, 2, "ng-container", 40);
  5953. } if (rf & 2) {
  5954. const ctx_r7 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  5955. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r7.data.lemma.content);
  5956. } }
  5957. let LemEntryDetailComponent = LemEntryDetailComponent_1 = class LemEntryDetailComponent {
  5958. constructor(evtModelService) {
  5959. this.evtModelService = evtModelService;
  5960. this.nestedLems = [];
  5961. this.rdgHasCounter = false;
  5962. }
  5963. get significantRdg() {
  5964. return this.data.readings.filter((rdg) => rdg.significant);
  5965. }
  5966. get notSignificantRdg() {
  5967. return this.data.readings.filter((rdg) => !rdg.significant);
  5968. }
  5969. get readings() {
  5970. return [this.data.lemma, ...this.significantRdg, ...this.notSignificantRdg];
  5971. }
  5972. get rdgMetadata() {
  5973. return Object.keys(this.data.attributes).filter((key) => key !== 'id')
  5974. .reduce((obj, key) => (Object.assign(Object.assign({}, obj), { [key]: this.data.attributes[key] })), {});
  5975. }
  5976. ngOnInit() {
  5977. if (this.data.nestedLemsIDs.length > 0) {
  5978. this.recoverNestedLems(this.data);
  5979. }
  5980. }
  5981. recoverNestedLems(lem) {
  5982. const nesLems = lem.lemma.content.filter((c) => c.type === _models_evt_models__WEBPACK_IMPORTED_MODULE_2__["LemEntry"]);
  5983. nesLems.forEach((nesLem) => {
  5984. this.nestedLems = this.nestedLems.concat(nesLem);
  5985. if (nesLem.nestedLemsIDs.length > 0) {
  5986. this.recoverNestedLems(nesLem);
  5987. }
  5988. });
  5989. }
  5990. isLemEntry(item) {
  5991. return item.type === _models_evt_models__WEBPACK_IMPORTED_MODULE_2__["LemEntry"];
  5992. }
  5993. getNestedLemLemma(lemId) {
  5994. return this.nestedLems.find((c) => c.id === lemId).lemma;
  5995. }
  5996. getNestedLemPos(lemId) {
  5997. return this.nestedLems.findIndex((nesLem) => nesLem.id === lemId);
  5998. }
  5999. };
  6000. LemEntryDetailComponent.ɵfac = function LemEntryDetailComponent_Factory(t) { return new (t || LemEntryDetailComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_services_evt_model_service__WEBPACK_IMPORTED_MODULE_4__["EVTModelService"])); };
  6001. LemEntryDetailComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({ type: LemEntryDetailComponent, selectors: [["evt-lem-entry-detail"]], inputs: { data: "data" }, decls: 24, vars: 14, consts: [[1, "card", "lem-detail-container"], [1, "card-body", "lem-detail-content"], [1, "lem-detail-readings", 3, "data", "template", "rdgHasCounter"], ["class", "lem-detail-nested-readings-container", 4, "ngIf"], ["renderer", "LemsEntryReadings", "pinType", "LemsEntry", 3, "item"], [1, "card-footer", "lem-detail-tabs"], ["ngbNav", "", 1, "nav-pills"], ["lemEntryTab", "ngbNav"], ["ngbNavItem", "lemmaNotes", 4, "ngIf"], ["ngbNavItem", "notSignificantRdg", 4, "ngIf"], ["ngbNavItem", "info"], ["ngbNavLink", "", 1, "lem-detail-btn-new"], ["ngbNavContent", ""], ["ngbNavItem", "xml"], ["ngbNavLink", "", 1, "lem-detail-btn"], [1, "tab-content", 3, "ngbNavOutlet"], ["nestedLemsReadingsTemplate", ""], [1, "lem-detail-nested-readings-container"], ["class", "lem-detail-nested-readings", 4, "ngFor", "ngForOf"], [1, "lem-detail-nested-readings"], [3, "data", "template", "rdgHasCounter"], ["ngbNavItem", "lemmaNotes"], [3, "data", 4, "ngFor", "ngForOf"], [3, "data"], ["ngbNavItem", "notSignificantRdg"], ["class", "d-block", 4, "ngFor", "ngForOf"], [1, "d-block"], ["class", "info-lemma-wrapper-new", 4, "ngIf"], [1, "info-lemma-wrapper-new"], ["class", "info-rdg", 3, "data", 4, "ngIf"], ["class", "info-rdg", 4, "ngIf"], ["class", "d-block ml-2", 4, "ngFor", "ngForOf"], ["class", "d-block ml-2", 4, "ngIf"], [1, "info-rdg", 3, "data"], [1, "info-rdg"], [4, "ngTemplateOutlet", "ngTemplateOutletContext"], [1, "d-block", "ml-2"], ["class", "info-label", 4, "ngIf"], [1, "info-label"], [1, "font-italic"], [4, "ngFor", "ngForOf"], [3, "class", "content", 4, "ngIf"], [4, "ngIf"], [3, "content"]], template: function LemEntryDetailComponent_Template(rf, ctx) { if (rf & 1) {
  6002. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 0);
  6003. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "div", 1);
  6004. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](2, "span");
  6005. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](3, "evt-lem-entry-readings", 2);
  6006. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, LemEntryDetailComponent_div_4_Template, 2, 1, "div", 3);
  6007. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  6008. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](5, "evt-pinner", 4);
  6009. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  6010. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](6, "div", 5);
  6011. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](7, "ul", 6, 7);
  6012. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](9, LemEntryDetailComponent_li_9_Template, 5, 3, "li", 8);
  6013. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](10, LemEntryDetailComponent_li_10_Template, 5, 3, "li", 9);
  6014. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](11, "li", 10);
  6015. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](12, "a", 11);
  6016. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](13);
  6017. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](14, "translate");
  6018. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  6019. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](15, LemEntryDetailComponent_ng_template_15_Template, 1, 1, "ng-template", 12);
  6020. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  6021. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](16, "li", 13);
  6022. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](17, "a", 14);
  6023. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](18);
  6024. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](19, "translate");
  6025. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  6026. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](20, LemEntryDetailComponent_ng_template_20_Template, 3, 3, "ng-template", 12);
  6027. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  6028. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  6029. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](21, "div", 15);
  6030. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  6031. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  6032. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](22, LemEntryDetailComponent_ng_template_22_Template, 1, 1, "ng-template", null, 16, _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplateRefExtractor"]);
  6033. } if (rf & 2) {
  6034. const _r1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵreference"](8);
  6035. const _r6 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵreference"](23);
  6036. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](3);
  6037. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("data", ctx.data)("template", _r6)("rdgHasCounter", true);
  6038. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  6039. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data.nestedLemsIDs.length > 0);
  6040. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  6041. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("item", ctx.data);
  6042. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](4);
  6043. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data.notes.length > 0);
  6044. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  6045. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.notSignificantRdg.length > 0);
  6046. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](3);
  6047. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](14, 10, "info"));
  6048. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](5);
  6049. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](19, 12, "xml"));
  6050. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](3);
  6051. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngbNavOutlet", _r1);
  6052. } }, directives: [_lem_entry_readings_lem_entry_readings_component__WEBPACK_IMPORTED_MODULE_5__["LemEntryReadingsComponent"], _angular_common__WEBPACK_IMPORTED_MODULE_6__["NgIf"], _pinboard_pinner_pinner_component__WEBPACK_IMPORTED_MODULE_7__["PinnerComponent"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_8__["NgbNav"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_8__["NgbNavItem"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_8__["NgbNavLink"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_8__["NgbNavContent"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_8__["NgbNavOutlet"], _angular_common__WEBPACK_IMPORTED_MODULE_6__["NgForOf"], _note_note_component__WEBPACK_IMPORTED_MODULE_9__["NoteComponent"], _reading_reading_component__WEBPACK_IMPORTED_MODULE_10__["ReadingComponent"], _angular_common__WEBPACK_IMPORTED_MODULE_6__["NgTemplateOutlet"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_11__["ContentViewerComponent"]], pipes: [_ngx_translate_core__WEBPACK_IMPORTED_MODULE_12__["TranslatePipe"], _angular_common__WEBPACK_IMPORTED_MODULE_6__["KeyValuePipe"], _pipes_xml_beautify_pipe__WEBPACK_IMPORTED_MODULE_13__["XmlBeautifyPipe"]], styles: ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJsZW0tZW50cnktZGV0YWlsLmNvbXBvbmVudC5zY3NzIn0= */"], changeDetection: 0 });
  6053. LemEntryDetailComponent = LemEntryDetailComponent_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  6054. Object(src_app_services_component_register_service__WEBPACK_IMPORTED_MODULE_3__["register"])(LemEntryDetailComponent_1)
  6055. ], LemEntryDetailComponent);
  6056. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](LemEntryDetailComponent, [{
  6057. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
  6058. args: [{
  6059. selector: 'evt-lem-entry-detail',
  6060. templateUrl: './lem-entry-detail.component.html',
  6061. styleUrls: ['./lem-entry-detail.component.scss'],
  6062. changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_1__["ChangeDetectionStrategy"].OnPush,
  6063. }]
  6064. }], function () { return [{ type: _services_evt_model_service__WEBPACK_IMPORTED_MODULE_4__["EVTModelService"] }]; }, { data: [{
  6065. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
  6066. }] }); })();
  6067. [];
  6068. /***/ }),
  6069. /***/ "EXMU":
  6070. /*!*********************************************************!*\
  6071. !*** ./src/app/components/surplus/surplus.component.ts ***!
  6072. \*********************************************************/
  6073. /*! exports provided: SurplusComponent */
  6074. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  6075. "use strict";
  6076. __webpack_require__.r(__webpack_exports__);
  6077. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SurplusComponent", function() { return SurplusComponent; });
  6078. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "mrSG");
  6079. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "fXoL");
  6080. /* harmony import */ var _models_evt_models__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../models/evt-models */ "5c0l");
  6081. /* harmony import */ var _services_component_register_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../services/component-register.service */ "d25s");
  6082. /* harmony import */ var _directives_highlight_directive__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../directives/highlight.directive */ "CmGG");
  6083. /* harmony import */ var _directives_editorial_convention_layout_directive__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../directives/editorial-convention-layout.directive */ "FJNG");
  6084. /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/common */ "ofXK");
  6085. /* harmony import */ var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../content-viewer/content-viewer.component */ "t6RO");
  6086. function SurplusComponent_evt_content_viewer_1_Template(rf, ctx) { if (rf & 1) {
  6087. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 2);
  6088. } if (rf & 2) {
  6089. const element_r1 = ctx.$implicit;
  6090. const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  6091. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", element_r1)("editionLevel", ctx_r0.editionLevel)("itemsToHighlight", ctx_r0.itemsToHighlight);
  6092. } }
  6093. let SurplusComponent = class SurplusComponent {
  6094. get editorialConventionData() {
  6095. var _a;
  6096. return {
  6097. name: 'surplus',
  6098. attributes: ((_a = this.data) === null || _a === void 0 ? void 0 : _a.attributes) || {},
  6099. editionLevel: this.editionLevel,
  6100. defaultsKey: 'surplus',
  6101. };
  6102. }
  6103. };
  6104. SurplusComponent.ɵfac = function SurplusComponent_Factory(t) { return new (t || SurplusComponent)(); };
  6105. SurplusComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({ type: SurplusComponent, selectors: [["evt-surplus"]], inputs: { data: "data" }, decls: 2, vars: 6, consts: [[3, "evtHighlight", "evtEditorialConventionLayout"], [3, "content", "editionLevel", "itemsToHighlight", 4, "ngFor", "ngForOf"], [3, "content", "editionLevel", "itemsToHighlight"]], template: function SurplusComponent_Template(rf, ctx) { if (rf & 1) {
  6106. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 0);
  6107. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, SurplusComponent_evt_content_viewer_1_Template, 1, 3, "evt-content-viewer", 1);
  6108. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  6109. } if (rf & 2) {
  6110. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵclassMap"](ctx.data.class);
  6111. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("evtHighlight", ctx.highlightData)("evtEditorialConventionLayout", ctx.editorialConventionData);
  6112. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  6113. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx.data.content);
  6114. } }, directives: [_directives_highlight_directive__WEBPACK_IMPORTED_MODULE_4__["HighlightDirective"], _directives_editorial_convention_layout_directive__WEBPACK_IMPORTED_MODULE_5__["EditorialConventionLayoutDirective"], _angular_common__WEBPACK_IMPORTED_MODULE_6__["NgForOf"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_7__["ContentViewerComponent"]], styles: ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzdXJwbHVzLmNvbXBvbmVudC5zY3NzIn0= */"] });
  6115. SurplusComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  6116. Object(_services_component_register_service__WEBPACK_IMPORTED_MODULE_3__["register"])(_models_evt_models__WEBPACK_IMPORTED_MODULE_2__["Surplus"])
  6117. ], SurplusComponent);
  6118. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](SurplusComponent, [{
  6119. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
  6120. args: [{
  6121. selector: 'evt-surplus',
  6122. templateUrl: './surplus.component.html',
  6123. styleUrls: ['./surplus.component.scss'],
  6124. }]
  6125. }], null, { data: [{
  6126. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
  6127. }] }); })();
  6128. /***/ }),
  6129. /***/ "EY52":
  6130. /*!*************************************************************************!*\
  6131. !*** ./src/app/services/xml-parsers/prefatory-matter-parser.service.ts ***!
  6132. \*************************************************************************/
  6133. /*! exports provided: PrefatoryMatterParserService */
  6134. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  6135. "use strict";
  6136. __webpack_require__.r(__webpack_exports__);
  6137. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PrefatoryMatterParserService", function() { return PrefatoryMatterParserService; });
  6138. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "fXoL");
  6139. /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rxjs/operators */ "kU1M");
  6140. /* harmony import */ var _basic_parsers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./basic-parsers */ "bNiN");
  6141. /* harmony import */ var _edition_data_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../edition-data.service */ "ft15");
  6142. class PrefatoryMatterParserService {
  6143. constructor(editionDataService) {
  6144. this.editionDataService = editionDataService;
  6145. this.title$ = this.editionDataService.parsedEditionSource$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__["map"])((source) => this.parseEditionTitle(source)), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__["shareReplay"])(1));
  6146. this.projectInfo$ = this.editionDataService.parsedEditionSource$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__["map"])((source) => this.parseProjectInfo(source)), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__["shareReplay"])(1));
  6147. }
  6148. parseEditionTitle(source) {
  6149. var _a;
  6150. const titleElems = source.querySelectorAll('titleStmt title');
  6151. return (_a = titleElems[0]) === null || _a === void 0 ? void 0 : _a.textContent;
  6152. }
  6153. parseProjectInfo(source) {
  6154. return {
  6155. fileDesc: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_2__["queryAndParseElement"])(source, 'fileDesc', true),
  6156. encodingDesc: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_2__["queryAndParseElement"])(source, 'encodingDesc', true),
  6157. profileDesc: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_2__["queryAndParseElement"])(source, 'profileDesc', true),
  6158. revisionDesc: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_2__["queryAndParseElement"])(source, 'revisionDesc', true),
  6159. };
  6160. }
  6161. }
  6162. PrefatoryMatterParserService.ɵfac = function PrefatoryMatterParserService_Factory(t) { return new (t || PrefatoryMatterParserService)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_edition_data_service__WEBPACK_IMPORTED_MODULE_3__["EditionDataService"])); };
  6163. PrefatoryMatterParserService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ token: PrefatoryMatterParserService, factory: PrefatoryMatterParserService.ɵfac, providedIn: 'root' });
  6164. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](PrefatoryMatterParserService, [{
  6165. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"],
  6166. args: [{
  6167. providedIn: 'root',
  6168. }]
  6169. }], function () { return [{ type: _edition_data_service__WEBPACK_IMPORTED_MODULE_3__["EditionDataService"] }]; }, null); })();
  6170. /***/ }),
  6171. /***/ "Eeve":
  6172. /*!*********************************************!*\
  6173. !*** ./src/app/components/g/g.component.ts ***!
  6174. \*********************************************/
  6175. /*! exports provided: GComponent */
  6176. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  6177. "use strict";
  6178. __webpack_require__.r(__webpack_exports__);
  6179. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "GComponent", function() { return GComponent; });
  6180. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "mrSG");
  6181. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "fXoL");
  6182. /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs/operators */ "kU1M");
  6183. /* harmony import */ var _models_evt_models__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../models/evt-models */ "5c0l");
  6184. /* harmony import */ var _services_component_register_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../services/component-register.service */ "d25s");
  6185. /* harmony import */ var _services_evt_model_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../services/evt-model.service */ "hI0h");
  6186. /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/common */ "ofXK");
  6187. /* harmony import */ var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../content-viewer/content-viewer.component */ "t6RO");
  6188. function GComponent_ng_container_0_evt_content_viewer_1_Template(rf, ctx) { if (rf & 1) {
  6189. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 2);
  6190. } if (rf & 2) {
  6191. const element_r3 = ctx.$implicit;
  6192. const ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
  6193. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", element_r3)("editionLevel", ctx_r2.editionLevel)("itemsToHighlight", ctx_r2.itemsToHighlight)("itemsLemsToHighlight", ctx_r2.itemsLemsToHighlight)("itemsIperlemsToHighlight", ctx_r2.itemsIperlemsToHighlight)("textFlow", ctx_r2.textFlow);
  6194. } }
  6195. function GComponent_ng_container_0_Template(rf, ctx) { if (rf & 1) {
  6196. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
  6197. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, GComponent_ng_container_0_evt_content_viewer_1_Template, 1, 6, "evt-content-viewer", 1);
  6198. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
  6199. } if (rf & 2) {
  6200. const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  6201. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  6202. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r0.data.content);
  6203. } }
  6204. function GComponent_ng_container_1_ng_container_2_evt_content_viewer_1_Template(rf, ctx) { if (rf & 1) {
  6205. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 2);
  6206. } if (rf & 2) {
  6207. const element_r7 = ctx.$implicit;
  6208. const ctx_r6 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](3);
  6209. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", element_r7)("editionLevel", ctx_r6.editionLevel)("itemsToHighlight", ctx_r6.itemsToHighlight)("itemsLemsToHighlight", ctx_r6.itemsLemsToHighlight)("itemsIperlemsToHighlight", ctx_r6.itemsIperlemsToHighlight)("textFlow", ctx_r6.textFlow);
  6210. } }
  6211. function GComponent_ng_container_1_ng_container_2_Template(rf, ctx) { if (rf & 1) {
  6212. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
  6213. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, GComponent_ng_container_1_ng_container_2_evt_content_viewer_1_Template, 1, 6, "evt-content-viewer", 1);
  6214. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](2, "async");
  6215. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
  6216. } if (rf & 2) {
  6217. const ctx_r4 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
  6218. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  6219. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](2, 1, ctx_r4.diplomaticMapping$));
  6220. } }
  6221. function GComponent_ng_container_1_ng_container_3_evt_content_viewer_1_Template(rf, ctx) { if (rf & 1) {
  6222. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 2);
  6223. } if (rf & 2) {
  6224. const element_r9 = ctx.$implicit;
  6225. const ctx_r8 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](3);
  6226. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", element_r9)("editionLevel", ctx_r8.editionLevel)("itemsToHighlight", ctx_r8.itemsToHighlight)("itemsLemsToHighlight", ctx_r8.itemsLemsToHighlight)("itemsIperlemsToHighlight", ctx_r8.itemsIperlemsToHighlight)("textFlow", ctx_r8.textFlow);
  6227. } }
  6228. function GComponent_ng_container_1_ng_container_3_Template(rf, ctx) { if (rf & 1) {
  6229. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
  6230. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, GComponent_ng_container_1_ng_container_3_evt_content_viewer_1_Template, 1, 6, "evt-content-viewer", 1);
  6231. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](2, "async");
  6232. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
  6233. } if (rf & 2) {
  6234. const ctx_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
  6235. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  6236. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](2, 1, ctx_r5.normalizedMapping$));
  6237. } }
  6238. function GComponent_ng_container_1_Template(rf, ctx) { if (rf & 1) {
  6239. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
  6240. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](1, 3);
  6241. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, GComponent_ng_container_1_ng_container_2_Template, 3, 3, "ng-container", 4);
  6242. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, GComponent_ng_container_1_ng_container_3_Template, 3, 3, "ng-container", 5);
  6243. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
  6244. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
  6245. } if (rf & 2) {
  6246. const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  6247. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  6248. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngSwitch", ctx_r1.editionLevel);
  6249. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  6250. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngSwitchCase", "diplomatic");
  6251. } }
  6252. let GComponent = class GComponent {
  6253. constructor(evtModelService) {
  6254. this.evtModelService = evtModelService;
  6255. this.specialChars$ = this.evtModelService.specialChars$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])((specialChars) => specialChars.find(char => char.id === this.data.charId)));
  6256. this.diplomaticMapping$ = this.specialChars$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])((specialChar) => {
  6257. var _a;
  6258. const mapping = specialChar === null || specialChar === void 0 ? void 0 : specialChar.mappings.find(m => m.type === 'diplomatic');
  6259. return (_a = mapping === null || mapping === void 0 ? void 0 : mapping.content) !== null && _a !== void 0 ? _a : [];
  6260. }));
  6261. this.normalizedMapping$ = this.specialChars$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])((specialChar) => {
  6262. var _a;
  6263. const mapping = specialChar === null || specialChar === void 0 ? void 0 : specialChar.mappings.find(m => m.type === 'normalized');
  6264. return (_a = mapping === null || mapping === void 0 ? void 0 : mapping.content) !== null && _a !== void 0 ? _a : [];
  6265. }));
  6266. }
  6267. };
  6268. GComponent.ɵfac = function GComponent_Factory(t) { return new (t || GComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_services_evt_model_service__WEBPACK_IMPORTED_MODULE_5__["EVTModelService"])); };
  6269. GComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({ type: GComponent, selectors: [["evt-g"]], inputs: { data: "data" }, decls: 2, vars: 2, consts: [[4, "ngIf"], [3, "content", "editionLevel", "itemsToHighlight", "itemsLemsToHighlight", "itemsIperlemsToHighlight", "textFlow", 4, "ngFor", "ngForOf"], [3, "content", "editionLevel", "itemsToHighlight", "itemsLemsToHighlight", "itemsIperlemsToHighlight", "textFlow"], [3, "ngSwitch"], [4, "ngSwitchCase"], [4, "ngSwitchDefault"]], template: function GComponent_Template(rf, ctx) { if (rf & 1) {
  6270. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](0, GComponent_ng_container_0_Template, 2, 1, "ng-container", 0);
  6271. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, GComponent_ng_container_1_Template, 4, 2, "ng-container", 0);
  6272. } if (rf & 2) {
  6273. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data.content.length > 0);
  6274. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  6275. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data.content.length === 0);
  6276. } }, directives: [_angular_common__WEBPACK_IMPORTED_MODULE_6__["NgIf"], _angular_common__WEBPACK_IMPORTED_MODULE_6__["NgForOf"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_7__["ContentViewerComponent"], _angular_common__WEBPACK_IMPORTED_MODULE_6__["NgSwitch"], _angular_common__WEBPACK_IMPORTED_MODULE_6__["NgSwitchCase"], _angular_common__WEBPACK_IMPORTED_MODULE_6__["NgSwitchDefault"]], pipes: [_angular_common__WEBPACK_IMPORTED_MODULE_6__["AsyncPipe"]], styles: ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJnLmNvbXBvbmVudC5zY3NzIn0= */"] });
  6277. GComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  6278. Object(_services_component_register_service__WEBPACK_IMPORTED_MODULE_4__["register"])(_models_evt_models__WEBPACK_IMPORTED_MODULE_3__["G"])
  6279. ], GComponent);
  6280. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](GComponent, [{
  6281. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
  6282. args: [{
  6283. selector: 'evt-g',
  6284. templateUrl: './g.component.html',
  6285. styleUrls: ['./g.component.scss'],
  6286. }]
  6287. }], function () { return [{ type: _services_evt_model_service__WEBPACK_IMPORTED_MODULE_5__["EVTModelService"] }]; }, { data: [{
  6288. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
  6289. }] }); })();
  6290. /***/ }),
  6291. /***/ "EpuN":
  6292. /*!***************************************************!*\
  6293. !*** ./src/app/components/note/note.component.ts ***!
  6294. \***************************************************/
  6295. /*! exports provided: NoteComponent */
  6296. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  6297. "use strict";
  6298. __webpack_require__.r(__webpack_exports__);
  6299. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NoteComponent", function() { return NoteComponent; });
  6300. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "mrSG");
  6301. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "fXoL");
  6302. /* harmony import */ var _models_evt_models__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../models/evt-models */ "5c0l");
  6303. /* harmony import */ var _services_component_register_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../services/component-register.service */ "d25s");
  6304. /* harmony import */ var _directives_html_attributes_directive__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../directives/html-attributes.directive */ "0Bbq");
  6305. /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/common */ "ofXK");
  6306. /* harmony import */ var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../content-viewer/content-viewer.component */ "t6RO");
  6307. /* harmony import */ var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @ng-bootstrap/ng-bootstrap */ "1kSV");
  6308. /* harmony import */ var _pinboard_pinner_pinner_component__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../pinboard/pinner/pinner.component */ "j7gH");
  6309. const _c0 = ["popover"];
  6310. function NoteComponent_ng_container_2_evt_content_viewer_1_Template(rf, ctx) { if (rf & 1) {
  6311. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 6);
  6312. } if (rf & 2) {
  6313. const element_r5 = ctx.$implicit;
  6314. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", element_r5);
  6315. } }
  6316. function NoteComponent_ng_container_2_Template(rf, ctx) { if (rf & 1) {
  6317. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
  6318. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, NoteComponent_ng_container_2_evt_content_viewer_1_Template, 1, 1, "evt-content-viewer", 5);
  6319. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
  6320. } if (rf & 2) {
  6321. const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  6322. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  6323. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r0.data.content);
  6324. } }
  6325. const _c1 = function () { return ["auto"]; };
  6326. function NoteComponent_ng_container_3_Template(rf, ctx) { if (rf & 1) {
  6327. const _r8 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵgetCurrentView"]();
  6328. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
  6329. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "button", 7, 8);
  6330. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("click", function NoteComponent_ng_container_3_Template_button_click_1_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵrestoreView"](_r8); const ctx_r7 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](); return ctx_r7.onTriggerClicked($event); });
  6331. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](3, "span", 9);
  6332. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](4);
  6333. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](5, "span", 10);
  6334. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  6335. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  6336. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
  6337. } if (rf & 2) {
  6338. const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  6339. const _r2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵreference"](5);
  6340. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  6341. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpropertyInterpolate1"]("popoverClass", "evt-note-popover ", ctx_r1.data == null ? null : ctx_r1.data.noteType, "");
  6342. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngbPopover", _r2)("autoClose", "outside")("placement", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction0"](6, _c1));
  6343. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵattribute"]("data-note-type", ctx_r1.data.noteType);
  6344. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](3);
  6345. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"](" ", ctx_r1.data.exponent, " ");
  6346. } }
  6347. function NoteComponent_ng_template_4_evt_content_viewer_2_Template(rf, ctx) { if (rf & 1) {
  6348. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 6);
  6349. } if (rf & 2) {
  6350. const element_r10 = ctx.$implicit;
  6351. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", element_r10);
  6352. } }
  6353. function NoteComponent_ng_template_4_Template(rf, ctx) { if (rf & 1) {
  6354. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-pinner", 11);
  6355. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "div", 12);
  6356. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, NoteComponent_ng_template_4_evt_content_viewer_2_Template, 1, 1, "evt-content-viewer", 5);
  6357. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  6358. } if (rf & 2) {
  6359. const ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  6360. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("item", ctx_r3.data)("additionalStyle", ctx_r3.pinnerStyle);
  6361. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  6362. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r3.data.content);
  6363. } }
  6364. let NoteComponent = class NoteComponent {
  6365. constructor() {
  6366. this.pinnerStyle = {
  6367. 'margin-right': '-0.65rem',
  6368. 'margin-top': '-0.35rem',
  6369. float: 'right',
  6370. };
  6371. }
  6372. onTriggerClicked(event) {
  6373. event.stopPropagation();
  6374. }
  6375. };
  6376. NoteComponent.ɵfac = function NoteComponent_Factory(t) { return new (t || NoteComponent)(); };
  6377. NoteComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({ type: NoteComponent, selectors: [["evt-note"]], viewQuery: function NoteComponent_Query(rf, ctx) { if (rf & 1) {
  6378. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵstaticViewQuery"](_c0, true);
  6379. } if (rf & 2) {
  6380. let _t;
  6381. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵloadQuery"]()) && (ctx.popover = _t.first);
  6382. } }, inputs: { data: "data" }, decls: 6, vars: 4, consts: [[1, "evt-note", 3, "evtHtmlAttributes"], [3, "ngSwitch"], [4, "ngSwitchCase"], [4, "ngSwitchDefault"], ["popContent", ""], [3, "content", 4, "ngFor", "ngForOf"], [3, "content"], ["type", "button", "container", "body", 1, "btn", "btn-link", "popover-toggle", "evt-trigger", 3, "ngbPopover", "autoClose", "popoverClass", "placement", "click"], ["popover", "ngbPopover"], [1, "note-icon"], [1, "arrow"], ["pinType", "Notes", 3, "item", "additionalStyle"], [1, "content"]], template: function NoteComponent_Template(rf, ctx) { if (rf & 1) {
  6383. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 0);
  6384. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](1, 1);
  6385. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, NoteComponent_ng_container_2_Template, 2, 1, "ng-container", 2);
  6386. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, NoteComponent_ng_container_3_Template, 6, 7, "ng-container", 3);
  6387. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
  6388. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  6389. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, NoteComponent_ng_template_4_Template, 3, 3, "ng-template", null, 4, _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplateRefExtractor"]);
  6390. } if (rf & 2) {
  6391. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("evtHtmlAttributes", ctx.data == null ? null : ctx.data.attributes);
  6392. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵattribute"]("data-type", ctx.data == null ? null : ctx.data.noteType);
  6393. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  6394. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngSwitch", ctx.data == null ? null : ctx.data.noteLayout);
  6395. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  6396. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngSwitchCase", "plain-text");
  6397. } }, directives: [_directives_html_attributes_directive__WEBPACK_IMPORTED_MODULE_4__["HtmlAttributesDirective"], _angular_common__WEBPACK_IMPORTED_MODULE_5__["NgSwitch"], _angular_common__WEBPACK_IMPORTED_MODULE_5__["NgSwitchCase"], _angular_common__WEBPACK_IMPORTED_MODULE_5__["NgSwitchDefault"], _angular_common__WEBPACK_IMPORTED_MODULE_5__["NgForOf"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_6__["ContentViewerComponent"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_7__["NgbPopover"], _pinboard_pinner_pinner_component__WEBPACK_IMPORTED_MODULE_8__["PinnerComponent"]], styles: [".evt-trigger[_ngcontent-%COMP%] {\n text-decoration: none !important;\n color: #000;\n font-size: 0.8rem;\n opacity: 0.8;\n padding: 0;\n vertical-align: super;\n position: relative;\n}\n.evt-trigger[data-note-type=comment][_ngcontent-%COMP%] {\n color: #570e69;\n}\n.evt-trigger[data-note-type=critical][_ngcontent-%COMP%] {\n color: #18469b;\n}\n.evt-trigger[_ngcontent-%COMP%]:hover {\n opacity: 1;\n}\n.evt-trigger[_ngcontent-%COMP%] .note-icon[_ngcontent-%COMP%] {\n min-width: 13px;\n height: 13px;\n display: inline-block;\n border-radius: 4px;\n color: #fff;\n padding: 0.25em 0.6em;\n font-size: 75%;\n font-weight: 700;\n line-height: 1;\n text-align: center;\n white-space: nowrap;\n vertical-align: baseline;\n position: relative;\n top: -1px;\n background: black;\n}\n.evt-trigger[_ngcontent-%COMP%] .note-icon[_ngcontent-%COMP%] .arrow[_ngcontent-%COMP%] {\n width: 0;\n height: 0;\n border: 0 solid transparent;\n border-left-width: 0px;\n border-right-width: 6px;\n border-top: 4px solid black;\n position: absolute;\n top: 12px;\n left: 3px;\n}\n.evt-trigger[data-note-type=comment][_ngcontent-%COMP%] .note-icon[_ngcontent-%COMP%] {\n background: #570e69;\n border-radius: 6px;\n}\n.evt-trigger[data-note-type=comment][_ngcontent-%COMP%] .note-icon[_ngcontent-%COMP%] .arrow[_ngcontent-%COMP%] {\n border-top-color: #570e69;\n}\n.evt-trigger[data-note-type=critical][_ngcontent-%COMP%] .note-icon[_ngcontent-%COMP%] {\n background: #18469b;\n}\n.evt-trigger[data-note-type=critical][_ngcontent-%COMP%] .note-icon[_ngcontent-%COMP%] .arrow[_ngcontent-%COMP%] {\n border-top-color: #18469b;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL25vdGUuY29tcG9uZW50LnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBR0E7RUFDSSxnQ0FBQTtFQUNBLFdBQUE7RUFDQSxpQkFBQTtFQUNBLFlBQUE7RUFDQSxVQUFBO0VBQ0EscUJBQUE7RUFDQSxrQkFBQTtBQUZKO0FBSUk7RUFDSSxjQUFBO0FBRlI7QUFLSTtFQUNJLGNBQUE7QUFIUjtBQU1JO0VBQ0ksVUFBQTtBQUpSO0FBT0k7RUFDSSxlQUFBO0VBQ0EsWUFBQTtFQUNBLHFCQUFBO0VBQ0Esa0JBQUE7RUFDQSxXQUFBO0VBQ0EscUJBQUE7RUFDQSxjQUFBO0VBQ0EsZ0JBQUE7RUFDQSxjQUFBO0VBQ0Esa0JBQUE7RUFDQSxtQkFBQTtFQUNBLHdCQUFBO0VBQ0Esa0JBQUE7RUFDQSxTQUFBO0VBQ0EsaUJBQUE7QUFMUjtBQU9RO0VBQ0ksUUFBQTtFQUNBLFNBQUE7RUFDQSwyQkFBQTtFQUNBLHNCQUFBO0VBQ0EsdUJBQUE7RUFDQSwyQkFBQTtFQUNBLGtCQUFBO0VBQ0EsU0FBQTtFQUNBLFNBQUE7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IGZvbnQtc2l6ZTogNzUlO1xuICAgICAgICBmb250LXdlaWdodDogNzAwO1xuICAgICAgICBsaW5lLWhlaWdodDogMTtcbiAgICAgICAgdGV4dC1hbGlnbjogY2VudGVyO1xuICAgICAgICB3aGl0ZS1zcGFjZTogbm93cmFwO1xuICAgICAgICB2ZXJ0aWNhbC1hbGlnbjogYmFzZWxpbmU7XG4gICAgICAgIHBvc2l0aW9uOiByZWxhdGl2ZTtcbiAgICAgICAgdG9wOiAtMXB4O1xuICAgICAgICBiYWNrZ3JvdW5kOiBibGFjaztcblxuICAgICAgICAuYXJyb3cge1xuICAgICAgICAgICAgd2lkdGg6IDA7XG4gICAgICAgICAgICBoZWlnaHQ6IDA7XG4gICAgICAgICAgICBib3JkZXI6IDAgc29saWQgdHJhbnNwYXJlbnQ7XG4gICAgICAgICAgICBib3JkZXItbGVmdC13aWR0aDogMHB4O1xuICAgICAgICAgICAgYm9yZGVyLXJpZ2h0LXdpZHRoOiA2cHg7XG4gICAgICAgICAgICBib3JkZXItdG9wOiA0cHggc29saWQgYmxhY2s7XG4gICAgICAgICAgICBwb3NpdGlvbjogYWJzb2x1dGU7XG4gICAgICAgICAgICB0b3A6IDEycHg7XG4gICAgICAgICAgICBsZWZ0OiAzcHg7XG4gICAgICAgIH1cbiAgICB9XG5cblxuICAgICZbZGF0YS1ub3RlLXR5cGU9J2NvbW1lbnQnXSB7XG4gICAgICAgIC5ub3RlLWljb24ge1xuICAgICAgICAgICAgYmFja2dyb3VuZDogZ2V0LWNvbG9yKGNvbW1lbnROb3Rlcyk7XG4gICAgICAgICAgICBib3JkZXItcmFkaXVzOiA2cHg7XG5cbiAgICAgICAgICAgIC5hcnJvdyB7XG4gICAgICAgICAgICAgICAgYm9yZGVyLXRvcC1jb2xvcjogZ2V0LWNvbG9yKGNvbW1lbnROb3Rlcyk7XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICB9XG5cbiAgICAmW2RhdGEtbm90ZS10eXBlPSdjcml0aWNhbCddIHtcbiAgICAgICAgLm5vdGUtaWNvbiB7XG4gICAgICAgICAgICBiYWNrZ3JvdW5kOiBnZXQtY29sb3IoY3JpdGljYWxOb3Rlcyk7XG5cbiAgICAgICAgICAgIC5hcnJvdyB7XG4gICAgICAgICAgICAgICAgYm9yZGVyLXRvcC1jb2xvcjogZ2V0LWNvbG9yKGNyaXRpY2FsTm90ZXMpO1xuICAgICAgICAgICAgfVxuICAgICAgICB9XG4gICAgfVxufSJdfQ== */"] });
  6398. NoteComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  6399. Object(_services_component_register_service__WEBPACK_IMPORTED_MODULE_3__["register"])(_models_evt_models__WEBPACK_IMPORTED_MODULE_2__["Note"])
  6400. ], NoteComponent);
  6401. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](NoteComponent, [{
  6402. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
  6403. args: [{
  6404. selector: 'evt-note',
  6405. templateUrl: './note.component.html',
  6406. styleUrls: ['./note.component.scss'],
  6407. }]
  6408. }], null, { data: [{
  6409. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
  6410. }], popover: [{
  6411. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewChild"],
  6412. args: ['popover', { static: true }]
  6413. }] }); })();
  6414. /***/ }),
  6415. /***/ "FJNG":
  6416. /*!*********************************************************************!*\
  6417. !*** ./src/app/directives/editorial-convention-layout.directive.ts ***!
  6418. \*********************************************************************/
  6419. /*! exports provided: EditorialConventionLayoutDirective */
  6420. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  6421. "use strict";
  6422. __webpack_require__.r(__webpack_exports__);
  6423. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "EditorialConventionLayoutDirective", function() { return EditorialConventionLayoutDirective; });
  6424. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "fXoL");
  6425. /* harmony import */ var _services_editorial_conventions_service__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../services/editorial-conventions.service */ "IP0A");
  6426. class EditorialConventionLayoutDirective {
  6427. constructor(editorialConventionsService, el, renderer) {
  6428. this.editorialConventionsService = editorialConventionsService;
  6429. this.el = el;
  6430. this.renderer = renderer;
  6431. }
  6432. ngOnInit() {
  6433. this._setLayout();
  6434. }
  6435. ngOnChanges(changes) {
  6436. if (!changes.data.isFirstChange() && changes.data.previousValue !== changes.data.currentValue) {
  6437. this._setLayout();
  6438. }
  6439. }
  6440. _setLayout() {
  6441. const layouts = this.editorialConventionsService.getLayouts(this.data.name, this.data.attributes, this.data.defaultsKey);
  6442. this._cleanPreviousLayout();
  6443. if (layouts && this.data.editionLevel) {
  6444. const editionLayout = layouts[this.data.editionLevel];
  6445. if (editionLayout) {
  6446. if (editionLayout.pre) {
  6447. const preEl = document.createElement('span');
  6448. preEl.classList.add('pre');
  6449. preEl.innerHTML = editionLayout.pre;
  6450. this.el.nativeElement.prepend(preEl);
  6451. }
  6452. if (editionLayout.post) {
  6453. const postEl = document.createElement('span');
  6454. postEl.classList.add('post');
  6455. postEl.innerHTML = editionLayout.post;
  6456. this.renderer.appendChild(this.el.nativeElement, postEl);
  6457. }
  6458. if (editionLayout.style) {
  6459. Object.keys(editionLayout.style).forEach(key => this.renderer.setStyle(this.el.nativeElement, key, editionLayout.style[key]));
  6460. this._oldStyle = editionLayout.style;
  6461. }
  6462. }
  6463. }
  6464. }
  6465. _cleanPreviousLayout() {
  6466. const preEl = this.el.nativeElement.querySelector('.pre');
  6467. if (preEl) {
  6468. preEl.remove();
  6469. }
  6470. const postEl = this.el.nativeElement.querySelector('.post');
  6471. if (postEl) {
  6472. postEl.remove();
  6473. }
  6474. if (this._oldStyle) {
  6475. Object.keys(this._oldStyle).forEach(key => this.renderer.setStyle(this.el.nativeElement, key, ''));
  6476. this._oldStyle = undefined;
  6477. }
  6478. }
  6479. }
  6480. EditorialConventionLayoutDirective.ɵfac = function EditorialConventionLayoutDirective_Factory(t) { return new (t || EditorialConventionLayoutDirective)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_services_editorial_conventions_service__WEBPACK_IMPORTED_MODULE_1__["EditorialConventionsService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["Renderer2"])); };
  6481. EditorialConventionLayoutDirective.ɵdir = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({ type: EditorialConventionLayoutDirective, selectors: [["", "evtEditorialConventionLayout", ""]], inputs: { data: ["evtEditorialConventionLayout", "data"], defaultLayouts: "defaultLayouts" }, features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵNgOnChangesFeature"]] });
  6482. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](EditorialConventionLayoutDirective, [{
  6483. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Directive"],
  6484. args: [{
  6485. selector: '[evtEditorialConventionLayout]',
  6486. }]
  6487. }], function () { return [{ type: _services_editorial_conventions_service__WEBPACK_IMPORTED_MODULE_1__["EditorialConventionsService"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Renderer2"] }]; }, { data: [{
  6488. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"],
  6489. args: ['evtEditorialConventionLayout']
  6490. }], defaultLayouts: [{
  6491. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
  6492. }] }); })();
  6493. /***/ }),
  6494. /***/ "FSWR":
  6495. /*!***************************************************************!*\
  6496. !*** ./src/app/components/identifier/identifier.component.ts ***!
  6497. \***************************************************************/
  6498. /*! exports provided: IdentifierComponent */
  6499. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  6500. "use strict";
  6501. __webpack_require__.r(__webpack_exports__);
  6502. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "IdentifierComponent", function() { return IdentifierComponent; });
  6503. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "mrSG");
  6504. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "fXoL");
  6505. /* harmony import */ var _models_evt_models__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../models/evt-models */ "5c0l");
  6506. /* harmony import */ var _services_component_register_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../services/component-register.service */ "d25s");
  6507. /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/common */ "ofXK");
  6508. /* harmony import */ var _ui_components_ms_desc_section_ms_desc_section_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../ui-components/ms-desc-section/ms-desc-section.component */ "WyXU");
  6509. /* harmony import */ var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../content-viewer/content-viewer.component */ "t6RO");
  6510. function IdentifierComponent_ng_container_1_span_5_evt_content_viewer_1_Template(rf, ctx) { if (rf & 1) {
  6511. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 7);
  6512. } if (rf & 2) {
  6513. const settlements_r9 = ctx.$implicit;
  6514. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", settlements_r9);
  6515. } }
  6516. function IdentifierComponent_ng_container_1_span_5_Template(rf, ctx) { if (rf & 1) {
  6517. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span");
  6518. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, IdentifierComponent_ng_container_1_span_5_evt_content_viewer_1_Template, 1, 1, "evt-content-viewer", 6);
  6519. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  6520. } if (rf & 2) {
  6521. const settlements_r7 = ctx.$implicit;
  6522. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  6523. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", settlements_r7);
  6524. } }
  6525. function IdentifierComponent_ng_container_1_ng_container_6_ng_container_1_Template(rf, ctx) { if (rf & 1) {
  6526. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
  6527. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1, ", ");
  6528. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
  6529. } }
  6530. function IdentifierComponent_ng_container_1_ng_container_6_span_2_evt_content_viewer_1_Template(rf, ctx) { if (rf & 1) {
  6531. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 7);
  6532. } if (rf & 2) {
  6533. const region_r14 = ctx.$implicit;
  6534. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", region_r14);
  6535. } }
  6536. function IdentifierComponent_ng_container_1_ng_container_6_span_2_Template(rf, ctx) { if (rf & 1) {
  6537. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span");
  6538. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, IdentifierComponent_ng_container_1_ng_container_6_span_2_evt_content_viewer_1_Template, 1, 1, "evt-content-viewer", 6);
  6539. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  6540. } if (rf & 2) {
  6541. const regions_r12 = ctx.$implicit;
  6542. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  6543. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", regions_r12);
  6544. } }
  6545. function IdentifierComponent_ng_container_1_ng_container_6_Template(rf, ctx) { if (rf & 1) {
  6546. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
  6547. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, IdentifierComponent_ng_container_1_ng_container_6_ng_container_1_Template, 2, 0, "ng-container", 1);
  6548. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, IdentifierComponent_ng_container_1_ng_container_6_span_2_Template, 2, 1, "span", 5);
  6549. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
  6550. } if (rf & 2) {
  6551. const ctx_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
  6552. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  6553. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx_r5.data.settlements.length > 0);
  6554. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  6555. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r5.data.regions);
  6556. } }
  6557. function IdentifierComponent_ng_container_1_ng_container_7_ng_container_1_Template(rf, ctx) { if (rf & 1) {
  6558. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
  6559. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1, ", ");
  6560. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
  6561. } }
  6562. function IdentifierComponent_ng_container_1_ng_container_7_span_2_evt_content_viewer_1_Template(rf, ctx) { if (rf & 1) {
  6563. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 7);
  6564. } if (rf & 2) {
  6565. const country_r19 = ctx.$implicit;
  6566. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", country_r19);
  6567. } }
  6568. function IdentifierComponent_ng_container_1_ng_container_7_span_2_Template(rf, ctx) { if (rf & 1) {
  6569. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span");
  6570. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, IdentifierComponent_ng_container_1_ng_container_7_span_2_evt_content_viewer_1_Template, 1, 1, "evt-content-viewer", 6);
  6571. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  6572. } if (rf & 2) {
  6573. const countries_r17 = ctx.$implicit;
  6574. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  6575. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", countries_r17);
  6576. } }
  6577. function IdentifierComponent_ng_container_1_ng_container_7_Template(rf, ctx) { if (rf & 1) {
  6578. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
  6579. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, IdentifierComponent_ng_container_1_ng_container_7_ng_container_1_Template, 2, 0, "ng-container", 1);
  6580. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, IdentifierComponent_ng_container_1_ng_container_7_span_2_Template, 2, 1, "span", 5);
  6581. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
  6582. } if (rf & 2) {
  6583. const ctx_r6 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
  6584. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  6585. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx_r6.data.settlements.length > 0 || ctx_r6.data.regions.length > 0);
  6586. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  6587. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r6.data.countries);
  6588. } }
  6589. function IdentifierComponent_ng_container_1_Template(rf, ctx) { if (rf & 1) {
  6590. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
  6591. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "div", 2);
  6592. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](2, "evt-ms-desc-section", 3);
  6593. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  6594. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](3, "div", 4);
  6595. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](4, "div");
  6596. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](5, IdentifierComponent_ng_container_1_span_5_Template, 2, 1, "span", 5);
  6597. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](6, IdentifierComponent_ng_container_1_ng_container_6_Template, 3, 2, "ng-container", 1);
  6598. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](7, IdentifierComponent_ng_container_1_ng_container_7_Template, 3, 2, "ng-container", 1);
  6599. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  6600. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  6601. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
  6602. } if (rf & 2) {
  6603. const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  6604. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  6605. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "place")("additionalClass", "settlement")("inlineLabel", true);
  6606. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](3);
  6607. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r0.data.settlements);
  6608. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  6609. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx_r0.data.regions.length > 0);
  6610. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  6611. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx_r0.data.countries.length > 0);
  6612. } }
  6613. function IdentifierComponent_ng_container_2_Template(rf, ctx) { if (rf & 1) {
  6614. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
  6615. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "div", 2);
  6616. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](2, "evt-ms-desc-section", 3);
  6617. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  6618. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](3, "div", 4);
  6619. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](4, "evt-content-viewer", 7);
  6620. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  6621. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
  6622. } if (rf & 2) {
  6623. const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  6624. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  6625. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "repository")("additionalClass", "repository")("inlineLabel", true);
  6626. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  6627. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", ctx_r1.data.repository);
  6628. } }
  6629. function IdentifierComponent_ng_container_3_evt_content_viewer_4_Template(rf, ctx) { if (rf & 1) {
  6630. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 9);
  6631. } if (rf & 2) {
  6632. const c_r21 = ctx.$implicit;
  6633. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", c_r21);
  6634. } }
  6635. function IdentifierComponent_ng_container_3_Template(rf, ctx) { if (rf & 1) {
  6636. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
  6637. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "div", 2);
  6638. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](2, "evt-ms-desc-section", 3);
  6639. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  6640. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](3, "div", 4);
  6641. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, IdentifierComponent_ng_container_3_evt_content_viewer_4_Template, 1, 1, "evt-content-viewer", 8);
  6642. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  6643. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
  6644. } if (rf & 2) {
  6645. const ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  6646. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  6647. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "collection")("additionalClass", "collection")("inlineLabel", true);
  6648. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  6649. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r2.data.collection);
  6650. } }
  6651. function IdentifierComponent_ng_container_4_div_4_evt_content_viewer_1_Template(rf, ctx) { if (rf & 1) {
  6652. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 7);
  6653. } if (rf & 2) {
  6654. const idno_r25 = ctx.$implicit;
  6655. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", idno_r25);
  6656. } }
  6657. function IdentifierComponent_ng_container_4_div_4_Template(rf, ctx) { if (rf & 1) {
  6658. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div");
  6659. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, IdentifierComponent_ng_container_4_div_4_evt_content_viewer_1_Template, 1, 1, "evt-content-viewer", 6);
  6660. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  6661. } if (rf & 2) {
  6662. const idnos_r23 = ctx.$implicit;
  6663. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  6664. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", idnos_r23);
  6665. } }
  6666. function IdentifierComponent_ng_container_4_Template(rf, ctx) { if (rf & 1) {
  6667. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
  6668. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "div", 2);
  6669. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](2, "evt-ms-desc-section", 3);
  6670. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  6671. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](3, "div", 4);
  6672. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, IdentifierComponent_ng_container_4_div_4_Template, 2, 1, "div", 5);
  6673. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  6674. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
  6675. } if (rf & 2) {
  6676. const ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  6677. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  6678. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "idno")("additionalClass", "idno")("inlineLabel", true);
  6679. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  6680. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r3.data.idnos);
  6681. } }
  6682. let IdentifierComponent = class IdentifierComponent {
  6683. };
  6684. IdentifierComponent.ɵfac = function IdentifierComponent_Factory(t) { return new (t || IdentifierComponent)(); };
  6685. IdentifierComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({ type: IdentifierComponent, selectors: [["evt-identifier"]], inputs: { data: "data", listClass: "listClass" }, decls: 5, vars: 6, consts: [[1, "flex-container"], [4, "ngIf"], [1, "flex-item-label"], [3, "label", "additionalClass", "inlineLabel"], [1, "flex-item-information"], [4, "ngFor", "ngForOf"], [3, "content", 4, "ngFor", "ngForOf"], [3, "content"], ["class", "projectInfo-block", 3, "content", 4, "ngFor", "ngForOf"], [1, "projectInfo-block", 3, "content"]], template: function IdentifierComponent_Template(rf, ctx) { if (rf & 1) {
  6686. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 0);
  6687. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, IdentifierComponent_ng_container_1_Template, 8, 6, "ng-container", 1);
  6688. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, IdentifierComponent_ng_container_2_Template, 5, 4, "ng-container", 1);
  6689. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, IdentifierComponent_ng_container_3_Template, 5, 4, "ng-container", 1);
  6690. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, IdentifierComponent_ng_container_4_Template, 5, 4, "ng-container", 1);
  6691. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  6692. } if (rf & 2) {
  6693. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵclassProp"]("has-list-class", ctx.listClass);
  6694. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  6695. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", (ctx.data == null ? null : ctx.data.settlements.length) > 0 || (ctx.data == null ? null : ctx.data.regions.length) > 0 || (ctx.data == null ? null : ctx.data.countries.length) > 0);
  6696. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  6697. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data == null ? null : ctx.data.repository);
  6698. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  6699. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", (ctx.data == null ? null : ctx.data.collection.length) > 0);
  6700. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  6701. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", (ctx.data == null ? null : ctx.data.idnos.length) > 0);
  6702. } }, directives: [_angular_common__WEBPACK_IMPORTED_MODULE_4__["NgIf"], _ui_components_ms_desc_section_ms_desc_section_component__WEBPACK_IMPORTED_MODULE_5__["MsDescSectionComponent"], _angular_common__WEBPACK_IMPORTED_MODULE_4__["NgForOf"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_6__["ContentViewerComponent"]], styles: [".has-list-class[_ngcontent-%COMP%] {\n margin-left: 2.5rem;\n}\n\n.projectInfo-block[_ngcontent-%COMP%] {\n display: block;\n}\n\n.flex-container[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n}\n\n.flex-item-label[_ngcontent-%COMP%] {\n flex-basis: 100%;\n}\n\n.flex-item-information[_ngcontent-%COMP%] {\n flex-basis: 100%;\n margin-bottom: 0.7rem;\n}\n\n@media (min-width: 1326px) {\n .flex-item-label[_ngcontent-%COMP%] {\n flex-basis: 20%;\n }\n\n .flex-item-information[_ngcontent-%COMP%] {\n flex-basis: 80%;\n }\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2lkZW50aWZpZXIuY29tcG9uZW50LnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7RUFDSSxtQkFBQTtBQUNKOztBQUVBO0VBQ0ksY0FBQTtBQUNKOztBQUVBO0VBQ0ksYUFBQTtFQUNBLG1CQUFBO0VBQ0EsZUFBQTtBQUNKOztBQUVBO0VBQ0ksZ0JBQUE7QUFDSjs7QUFFQTtFQUNJLGdCQUFBO0VBQ0EscUJBQUE7QUFDSjs7QUFFQTtFQUNJO0lBQ0ksZUFBQTtFQUNOOztFQUVFO0lBQ0ksZUFBQTtFQUNOO0FBQ0YiLCJmaWxlIjoiaWRlbnRpZmllci5jb21wb25lbnQuc2NzcyIsInNvdXJjZXNDb250ZW50IjpbIi5oYXMtbGlzdC1jbGFzcyB7XG4gICAgbWFyZ2luLWxlZnQ6IDIuNXJlbTtcbn1cblxuLnByb2plY3RJbmZvLWJsb2NrIHtcbiAgICBkaXNwbGF5OiBibG9jaztcbn1cblxuLmZsZXgtY29udGFpbmVyIHtcbiAgICBkaXNwbGF5OiBmbGV4O1xuICAgIGZsZXgtZGlyZWN0aW9uOiByb3c7XG4gICAgZmxleC13cmFwOiB3cmFwO1xufVxuXG4uZmxleC1pdGVtLWxhYmVsIHtcbiAgICBmbGV4LWJhc2lzOiAxMDAlO1xufVxuXG4uZmxleC1pdGVtLWluZm9ybWF0aW9uIHtcbiAgICBmbGV4LWJhc2lzOiAxMDAlO1xuICAgIG1hcmdpbi1ib3R0b206IDAuN3JlbTtcbn1cblxuQG1lZGlhIChtaW4td2lkdGg6IDEzMjZweCkgeyBcbiAgICAuZmxleC1pdGVtLWxhYmVsIHtcbiAgICAgICAgZmxleC1iYXNpczogMjAlO1xuICAgICAgfVxuICAgICAgXG4gICAgLmZsZXgtaXRlbS1pbmZvcm1hdGlvbiB7XG4gICAgICAgIGZsZXgtYmFzaXM6IDgwJTtcbiAgICB9XG59Il19 */"] });
  6703. IdentifierComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  6704. Object(_services_component_register_service__WEBPACK_IMPORTED_MODULE_3__["register"])(_models_evt_models__WEBPACK_IMPORTED_MODULE_2__["Identifier"])
  6705. ], IdentifierComponent);
  6706. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](IdentifierComponent, [{
  6707. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
  6708. args: [{
  6709. selector: 'evt-identifier',
  6710. templateUrl: './identifier.component.html',
  6711. styleUrls: ['./identifier.component.scss'],
  6712. }]
  6713. }], null, { data: [{
  6714. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
  6715. }], listClass: [{
  6716. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
  6717. }] }); })();
  6718. /***/ }),
  6719. /***/ "FmO3":
  6720. /*!*******************************************************!*\
  6721. !*** ./src/app/components/choice/choice.component.ts ***!
  6722. \*******************************************************/
  6723. /*! exports provided: ChoiceComponent */
  6724. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  6725. "use strict";
  6726. __webpack_require__.r(__webpack_exports__);
  6727. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ChoiceComponent", function() { return ChoiceComponent; });
  6728. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "mrSG");
  6729. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "fXoL");
  6730. /* harmony import */ var _models_evt_models__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../models/evt-models */ "5c0l");
  6731. /* harmony import */ var _services_component_register_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../services/component-register.service */ "d25s");
  6732. /* harmony import */ var _directives_html_attributes_directive__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../directives/html-attributes.directive */ "0Bbq");
  6733. /* harmony import */ var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @ng-bootstrap/ng-bootstrap */ "1kSV");
  6734. /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/common */ "ofXK");
  6735. /* harmony import */ var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../content-viewer/content-viewer.component */ "t6RO");
  6736. function ChoiceComponent_evt_content_viewer_1_Template(rf, ctx) { if (rf & 1) {
  6737. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 3);
  6738. } if (rf & 2) {
  6739. const element_r3 = ctx.$implicit;
  6740. const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  6741. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", element_r3)("editionLevel", ctx_r0.editionLevel)("itemsToHighlight", ctx_r0.itemsToHighlight)("itemsLemsToHighlight", ctx_r0.itemsLemsToHighlight)("itemsIperlemsToHighlight", ctx_r0.itemsIperlemsToHighlight)("textFlow", ctx_r0.textFlow);
  6742. } }
  6743. function ChoiceComponent_ng_template_2_evt_content_viewer_0_Template(rf, ctx) { if (rf & 1) {
  6744. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 3);
  6745. } if (rf & 2) {
  6746. const element_r5 = ctx.$implicit;
  6747. const ctx_r4 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
  6748. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", element_r5)("editionLevel", ctx_r4.alternativeEditionLevel)("itemsToHighlight", ctx_r4.itemsToHighlight)("itemsLemsToHighlight", ctx_r4.itemsLemsToHighlight)("itemsIperlemsToHighlight", ctx_r4.itemsIperlemsToHighlight)("textFlow", ctx_r4.textFlow);
  6749. } }
  6750. function ChoiceComponent_ng_template_2_Template(rf, ctx) { if (rf & 1) {
  6751. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](0, ChoiceComponent_ng_template_2_evt_content_viewer_0_Template, 1, 6, "evt-content-viewer", 1);
  6752. } if (rf & 2) {
  6753. const ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  6754. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r2.alternativeContent);
  6755. } }
  6756. const _c0 = function () { return ["bottom"]; };
  6757. let ChoiceComponent = class ChoiceComponent {
  6758. get content() {
  6759. if (this.editionLevel === 'diplomatic') {
  6760. return this.data.originalContent;
  6761. }
  6762. return this.data.normalizedContent;
  6763. }
  6764. get alternativeContent() {
  6765. if (this.editionLevel === 'diplomatic') {
  6766. return this.data.normalizedContent;
  6767. }
  6768. return this.data.originalContent;
  6769. }
  6770. get alternativeEditionLevel() {
  6771. return this.editionLevel === 'diplomatic' ? 'interpretative' : 'diplomatic';
  6772. }
  6773. };
  6774. ChoiceComponent.ɵfac = function ChoiceComponent_Factory(t) { return new (t || ChoiceComponent)(); };
  6775. ChoiceComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({ type: ChoiceComponent, selectors: [["evt-choice"]], inputs: { data: "data" }, decls: 4, vars: 8, consts: [["container", "body", "triggers", "mouseenter:mouseleave", 1, "choice", 3, "evtHtmlAttributes", "ngbPopover", "autoClose", "popoverClass", "placement"], [3, "content", "editionLevel", "itemsToHighlight", "itemsLemsToHighlight", "itemsIperlemsToHighlight", "textFlow", 4, "ngFor", "ngForOf"], ["popContent", ""], [3, "content", "editionLevel", "itemsToHighlight", "itemsLemsToHighlight", "itemsIperlemsToHighlight", "textFlow"]], template: function ChoiceComponent_Template(rf, ctx) { if (rf & 1) {
  6776. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 0);
  6777. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, ChoiceComponent_evt_content_viewer_1_Template, 1, 6, "evt-content-viewer", 1);
  6778. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  6779. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, ChoiceComponent_ng_template_2_Template, 1, 1, "ng-template", null, 2, _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplateRefExtractor"]);
  6780. } if (rf & 2) {
  6781. const _r1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵreference"](3);
  6782. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpropertyInterpolate1"]("popoverClass", "choice-popover ", ctx.data.editorialInterventionType, "");
  6783. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("evtHtmlAttributes", ctx.data == null ? null : ctx.data.attributes)("ngbPopover", _r1)("autoClose", "outside")("placement", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction0"](7, _c0));
  6784. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵattribute"]("data-intervention-type", ctx.data.editorialInterventionType);
  6785. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  6786. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx.content);
  6787. } }, directives: [_directives_html_attributes_directive__WEBPACK_IMPORTED_MODULE_4__["HtmlAttributesDirective"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_5__["NgbPopover"], _angular_common__WEBPACK_IMPORTED_MODULE_6__["NgForOf"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_7__["ContentViewerComponent"]], styles: [".choice[data-intervention-type=normalization][_ngcontent-%COMP%] {\n color: #69513a;\n}\n.choice[data-intervention-type=emendation][_ngcontent-%COMP%] {\n color: #934d4d;\n}\n.choice[_ngcontent-%COMP%]:hover {\n text-decoration: underline;\n}\n .choice-popover {\n background: #fffbf3;\n box-shadow: 0 0 3px 0px rgba(0, 0, 0, 0.25);\n border: 1px solid rgba(0, 0, 0, 0.35);\n}\n .choice-popover .popover-body {\n padding: 0.1rem 0.5rem;\n}\n .choice-popover .arrow::before {\n border-bottom-color: rgba(0, 0, 0, 0.5);\n}\n .choice-popover .arrow::after {\n border-bottom-color: #fffbf3;\n}\n .choice-popover.normalization {\n background: #fffbf3;\n}\n .choice-popover.normalization .arrow::after {\n border-bottom-color: #fffbf3;\n}\n .choice-popover.emendation {\n background: #f99069;\n}\n .choice-popover.emendation .arrow::after {\n border-bottom-color: #f99069;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2Nob2ljZS5jb21wb25lbnQuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFHSTtFQUNJLGNBQUE7QUFGUjtBQUlJO0VBQ0ksY0FBQTtBQUZSO0FBSUk7RUFDSSwwQkFBQTtBQUZSO0FBTUE7RUFDSSxtQkFBQTtFQUNBLDJDQUFBO0VBQ0EscUNBQUE7QUFISjtBQUtJO0VBQ0ksc0JBQ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jo6YWZ0ZXIge1xuICAgICAgICAgICAgYm9yZGVyLWJvdHRvbS1jb2xvcjogI2ZmZmJmMztcbiAgICAgICAgfVxuICAgIH1cblxuICAgICYubm9ybWFsaXphdGlvbiB7XG4gICAgICAgIGJhY2tncm91bmQ6IGdldC1jb2xvcihub3JtYWxpemF0aW9uQmFja2dyb3VuZCk7XG5cbiAgICAgICAgLmFycm93OjphZnRlciB7XG4gICAgICAgICAgICBib3JkZXItYm90dG9tLWNvbG9yOiBnZXQtY29sb3Iobm9ybWFsaXphdGlvbkJhY2tncm91bmQpO1xuICAgICAgICB9XG4gICAgfVxuXG4gICAgJi5lbWVuZGF0aW9uIHtcbiAgICAgICAgYmFja2dyb3VuZDogZ2V0LWNvbG9yKGVtZW5kYXRpb25CYWNrZ3JvdW5kKTtcblxuICAgICAgICAuYXJyb3c6OmFmdGVyIHtcbiAgICAgICAgICAgIGJvcmRlci1ib3R0b20tY29sb3I6IGdldC1jb2xvcihlbWVuZGF0aW9uQmFja2dyb3VuZCk7XG4gICAgICAgIH1cbiAgICB9XG59Il19 */"] });
  6788. ChoiceComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  6789. Object(_services_component_register_service__WEBPACK_IMPORTED_MODULE_3__["register"])(_models_evt_models__WEBPACK_IMPORTED_MODULE_2__["Choice"])
  6790. ], ChoiceComponent);
  6791. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](ChoiceComponent, [{
  6792. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
  6793. args: [{
  6794. selector: 'evt-choice',
  6795. templateUrl: './choice.component.html',
  6796. styleUrls: ['./choice.component.scss'],
  6797. }]
  6798. }], null, { data: [{
  6799. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
  6800. }] }); })();
  6801. /***/ }),
  6802. /***/ "G9+u":
  6803. /*!************************************!*\
  6804. !*** ./src/app/utils/dom-utils.ts ***!
  6805. \************************************/
  6806. /*! exports provided: isNestedInElem, isDirectlyNestedInElem, isNodeNestedInElem, xpath, balanceXHTML, getElementsBetweenTreeNode, getOuterHTML, getCommonAncestor, createNsResolver */
  6807. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  6808. "use strict";
  6809. __webpack_require__.r(__webpack_exports__);
  6810. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "isNestedInElem", function() { return isNestedInElem; });
  6811. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "isDirectlyNestedInElem", function() { return isDirectlyNestedInElem; });
  6812. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "isNodeNestedInElem", function() { return isNodeNestedInElem; });
  6813. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "xpath", function() { return xpath; });
  6814. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "balanceXHTML", function() { return balanceXHTML; });
  6815. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getElementsBetweenTreeNode", function() { return getElementsBetweenTreeNode; });
  6816. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getOuterHTML", function() { return getOuterHTML; });
  6817. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getCommonAncestor", function() { return getCommonAncestor; });
  6818. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "createNsResolver", function() { return createNsResolver; });
  6819. /**
  6820. * Counter that takes into account the number of parsed elements with [xpath]{@link DOMUtilsService.html#xpath},
  6821. * in order to allow the generation of unique ids when node path is not available.
  6822. */
  6823. let totIdsGenerated = 0;
  6824. /**
  6825. * Function to check if an element is nested into another particular element.
  6826. * @param element The element to be checked
  6827. * @param parentTagName TagName of the element that does not be a parent of the given element
  6828. * @param attributes attributes
  6829. *
  6830. * @returns Whether the given element is nested in a node with given TagName or not
  6831. */
  6832. function isNestedInElem(element, parentTagName, attributes) {
  6833. return !!element && isNodeNestedInElem(element, parentTagName, false, attributes);
  6834. }
  6835. /**
  6836. * Function to check if an element is directly nested into another particular element.
  6837. * @param element The element to be checked
  6838. * @param parentTagName TagName of the element that does not be a parent of the given element
  6839. * @param attributes attributes
  6840. *
  6841. * @returns Whether the given element is nested in a node with given TagName or not
  6842. */
  6843. function isDirectlyNestedInElem(element, parentTagName, attributes) {
  6844. return isNodeNestedInElem(element, parentTagName, true, attributes);
  6845. }
  6846. /**
  6847. * Function to check if an element is nested into another particular element.
  6848. * @param element The element to be checked
  6849. * @param parentTagName TagName of the element that does not be a parent of the given element
  6850. * @param directCheck Whether to check only parentNode or analyize all ancestors
  6851. * @param attributes attributes
  6852. *
  6853. * @returns Whether the given element is nested in a node with given TagName or not
  6854. */
  6855. function isNodeNestedInElem(element, parentTagName, directCheck, attributes) {
  6856. if (element.parentNode !== null) {
  6857. if (element.parentNode.tagName === 'text') {
  6858. return false;
  6859. }
  6860. if (parentTagName === '' || element.parentNode.tagName === parentTagName || element.parentNode.nodeName === parentTagName) {
  6861. if (!attributes || attributes.length === 0) {
  6862. return true;
  6863. }
  6864. if (!element.parentNode.attributes || element.parentNode.attributes.length === 0) {
  6865. return false;
  6866. }
  6867. let matchingAttr = 0;
  6868. attributes.forEach(attr => {
  6869. if (element.parentNode.attributes[attr.key] &&
  6870. element.parentNode.attributes[attr.key].value === attr.value) {
  6871. matchingAttr++;
  6872. }
  6873. });
  6874. if (matchingAttr === attributes.length) {
  6875. return true;
  6876. }
  6877. return directCheck ? false : isNestedInElem(element.parentNode, parentTagName, attributes);
  6878. }
  6879. return directCheck ? false : isNestedInElem(element.parentNode, parentTagName, attributes);
  6880. }
  6881. return false;
  6882. }
  6883. /**
  6884. * This method will generate a string representing the xpath of the given element.
  6885. * This string can be use as a unique identifier, since every element as a different xpath.
  6886. * @param el XML element to analyze
  6887. *
  6888. * @returns calculated xpath of the given element
  6889. */
  6890. // tslint:disable-next-line: no-any
  6891. function xpath(el) {
  6892. try {
  6893. if (typeof el === 'string') {
  6894. // document.evaluate(xpathExpression, contextNode, namespaceResolver, resultType, result );
  6895. return document.evaluate(el, document, undefined, 0, undefined).stringValue;
  6896. }
  6897. if (!el || el.nodeType !== 1) {
  6898. return '';
  6899. }
  6900. let sames = [];
  6901. if (el.parentNode) {
  6902. sames = [].filter.call(el.parentNode.children, (x) => {
  6903. return x.tagName === el.tagName;
  6904. });
  6905. }
  6906. let countIndex = sames.length > 1 ? ([].indexOf.call(sames, el) + 1) : 1;
  6907. countIndex = `[${countIndex}]`;
  6908. const tagName = el.tagName !== 'tei' ? '-' + el.tagName : '';
  6909. return `${xpath(el.parentNode)}${tagName}${countIndex}`;
  6910. }
  6911. catch (e) {
  6912. totIdsGenerated++; // TODO: remove side effects
  6913. return `-id${totIdsGenerated}`;
  6914. }
  6915. }
  6916. /**
  6917. * This method will an excerpted or truncated XHTML string and returns a well-balanced XHTML string
  6918. * - It checks for broken tags, e.g. <code>&lt;stro</code> [a <code>&lt;</code> after the last <code>&gt;</code> indicates a broken tag]
  6919. * - It eventually truncates broken tags
  6920. * - It checks for broken elements, e.g. <code>&lt;strong&gt;Hello, w</code>
  6921. * - It gets an array of all tags (start, end, and self-closing)
  6922. * - It prepares an empty array where to store broken tags (<code>stack</code>)
  6923. * - It loops over all tags
  6924. * - when it founds an end tag, it pops it off of the stack
  6925. * - when it founds a start tag, it push it onto the stack
  6926. * - then it founds a self-closing tag, it do nothing
  6927. * - At the end of the loop, <code>stack</code> should contain only the start tags of the broken elements, most deeply-nested at the top
  6928. * - It loops over stack array
  6929. * - pops the unmatched tag off the stack
  6930. * - gets just the tag name
  6931. * - and appends the end tag
  6932. *
  6933. * @param XHTMLstring string to balanced
  6934. *
  6935. * @returns well-balanced XHTML string
  6936. */
  6937. function balanceXHTML(XHTMLstring) {
  6938. // Check for broken tags, e.g. <stro
  6939. // Check for a < after the last >, indicating a broken tag
  6940. if (XHTMLstring) {
  6941. if (XHTMLstring.lastIndexOf('<') > XHTMLstring.lastIndexOf('>')) {
  6942. // Truncate broken tag
  6943. XHTMLstring = XHTMLstring.substring(0, XHTMLstring.lastIndexOf('<'));
  6944. }
  6945. // Check for broken elements, e.g. <strong>Hello, w
  6946. // Get an array of all tags (start, end, and self-closing)
  6947. const tags = XHTMLstring.match(/<(?!\!)[^>]+>/g);
  6948. const stack = [];
  6949. const tagToOpen = [];
  6950. for (const tag in tags) {
  6951. if (tag.search('/') === 1) { // </tagName>
  6952. // end tag -- pop off of the stack
  6953. // If the last element of the stack is the corresponding of opening tag
  6954. const tagName = tag.replace(/[<\/>]/ig, '');
  6955. const openTag = stack[stack.length - 1];
  6956. if (openTag && (openTag.search('<' + tagName + ' ') >= 0 || openTag.search('<' + tagName + '>') >= 0)) {
  6957. stack.pop();
  6958. }
  6959. else { // Tag non aperto
  6960. tagToOpen.push(tagName);
  6961. }
  6962. }
  6963. else if (tag.search('/>') <= 0) { // <tagName>
  6964. // start tag -- push onto the stack
  6965. stack.push(tag);
  6966. }
  6967. else { // <tagName />
  6968. // self-closing tag -- do nothing
  6969. }
  6970. }
  6971. // stack should now contain only the start tags of the broken elements, most deeply-nested at the top
  6972. while (stack.length > 0) {
  6973. // pop the unmatched tag off the stack
  6974. let endTag = stack.pop();
  6975. // get just the tag name
  6976. endTag = endTag.substring(1, endTag.search(/[ >]/));
  6977. // append the end tag
  6978. XHTMLstring += '</' + endTag + '>';
  6979. }
  6980. while (tagToOpen.length > 0) {
  6981. const startTag = tagToOpen.shift();
  6982. XHTMLstring = '<' + startTag + '>' + XHTMLstring;
  6983. }
  6984. }
  6985. // Return the well-balanced XHTML string
  6986. return (XHTMLstring ? XHTMLstring : '');
  6987. }
  6988. /**
  6989. * Get all DOM elements contained between the node elements
  6990. *
  6991. * @param start starting node
  6992. * @param end ending node
  6993. *
  6994. * @returns list of nodes contained between start node and end node
  6995. */
  6996. // tslint:disable-next-line: no-any
  6997. function getElementsBetweenTreeNode(start, end) {
  6998. const range = document.createRange();
  6999. range.setStart(start, 0);
  7000. range.setEnd(end, end.length || end.childNodes.length);
  7001. const commonAncestorChild = Array.from(range.commonAncestorContainer.children);
  7002. const startIdx = commonAncestorChild.indexOf(start);
  7003. const endIdx = commonAncestorChild.indexOf(end);
  7004. const rangeNodes = commonAncestorChild.slice(startIdx, endIdx).filter((c) => c !== start);
  7005. rangeNodes.forEach((c) => c.setAttribute('xpath', xpath(c).replace(/-/g, '/')));
  7006. const fragment = range.cloneContents();
  7007. const nodes = Array.from(fragment.childNodes);
  7008. return nodes;
  7009. }
  7010. function getOuterHTML(element) {
  7011. let outerHTML = element.outerHTML;
  7012. outerHTML = outerHTML ? outerHTML.replace(/ xmlns="http:\/\/www\.tei-c\.org\/ns\/1\.0"/g, '') : outerHTML;
  7013. return outerHTML;
  7014. }
  7015. function getCommonAncestor(node1, node2) {
  7016. const method = 'contains' in node1 ? 'contains' : 'compareDocumentPosition';
  7017. const test = method === 'contains' ? 1 : 0x10;
  7018. node1 = node1.parentNode;
  7019. while (node1) {
  7020. // tslint:disable-next-line:no-bitwise
  7021. if ((node1[method](node2) & test) === test) {
  7022. return node1;
  7023. }
  7024. node1 = node1.parentNode;
  7025. }
  7026. return undefined;
  7027. }
  7028. function createNsResolver(doc) {
  7029. return (prefix) => prefix === 'ns' ? doc.documentElement.namespaceURI : undefined;
  7030. }
  7031. /***/ }),
  7032. /***/ "GTTo":
  7033. /*!***************************************************************!*\
  7034. !*** ./src/app/components/title-stmt/title-stmt.component.ts ***!
  7035. \***************************************************************/
  7036. /*! exports provided: TitleStmtComponent */
  7037. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  7038. "use strict";
  7039. __webpack_require__.r(__webpack_exports__);
  7040. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TitleStmtComponent", function() { return TitleStmtComponent; });
  7041. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "mrSG");
  7042. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "fXoL");
  7043. /* harmony import */ var _models_evt_models__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../models/evt-models */ "5c0l");
  7044. /* harmony import */ var _services_component_register_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../services/component-register.service */ "d25s");
  7045. /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/common */ "ofXK");
  7046. /* harmony import */ var _directives_html_attributes_directive__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../directives/html-attributes.directive */ "0Bbq");
  7047. /* harmony import */ var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../content-viewer/content-viewer.component */ "t6RO");
  7048. /* harmony import */ var _ui_components_header_section_header_section_component__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../ui-components/header-section/header-section.component */ "iRdJ");
  7049. function TitleStmtComponent_div_0_Template(rf, ctx) { if (rf & 1) {
  7050. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 5);
  7051. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](1, "evt-content-viewer", 6);
  7052. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  7053. } if (rf & 2) {
  7054. const el_r10 = ctx.$implicit;
  7055. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("evtHtmlAttributes", el_r10 == null ? null : el_r10.attributes);
  7056. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  7057. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", el_r10);
  7058. } }
  7059. function TitleStmtComponent_div_1_Template(rf, ctx) { if (rf & 1) {
  7060. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 7);
  7061. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](1, "evt-content-viewer", 6);
  7062. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  7063. } if (rf & 2) {
  7064. const el_r11 = ctx.$implicit;
  7065. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("evtHtmlAttributes", el_r11 == null ? null : el_r11.attributes);
  7066. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  7067. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", el_r11);
  7068. } }
  7069. function TitleStmtComponent_div_2_Template(rf, ctx) { if (rf & 1) {
  7070. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 8);
  7071. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](1, "evt-content-viewer", 6);
  7072. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  7073. } if (rf & 2) {
  7074. const author_r12 = ctx.$implicit;
  7075. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  7076. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", author_r12);
  7077. } }
  7078. function TitleStmtComponent_ng_container_3_Template(rf, ctx) { if (rf & 1) {
  7079. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0);
  7080. } }
  7081. function TitleStmtComponent_ng_container_4_Template(rf, ctx) { if (rf & 1) {
  7082. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0);
  7083. } }
  7084. function TitleStmtComponent_ng_container_5_Template(rf, ctx) { if (rf & 1) {
  7085. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0);
  7086. } }
  7087. function TitleStmtComponent_ng_container_6_Template(rf, ctx) { if (rf & 1) {
  7088. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0);
  7089. } }
  7090. function TitleStmtComponent_ng_container_7_Template(rf, ctx) { if (rf & 1) {
  7091. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0);
  7092. } }
  7093. function TitleStmtComponent_ng_template_8_evt_header_section_0_evt_content_viewer_2_Template(rf, ctx) { if (rf & 1) {
  7094. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 6);
  7095. } if (rf & 2) {
  7096. const item_r18 = ctx.$implicit;
  7097. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", item_r18);
  7098. } }
  7099. function TitleStmtComponent_ng_template_8_evt_header_section_0_Template(rf, ctx) { if (rf & 1) {
  7100. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "evt-header-section", 10);
  7101. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "div", 11);
  7102. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, TitleStmtComponent_ng_template_8_evt_header_section_0_evt_content_viewer_2_Template, 1, 1, "evt-content-viewer", 12);
  7103. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  7104. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  7105. } if (rf & 2) {
  7106. const ctx_r19 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  7107. const label_r13 = ctx_r19.label;
  7108. const class_r15 = ctx_r19.class;
  7109. const items_r14 = ctx_r19.items;
  7110. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", label_r13)("additionalClass", class_r15);
  7111. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  7112. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", items_r14);
  7113. } }
  7114. function TitleStmtComponent_ng_template_8_Template(rf, ctx) { if (rf & 1) {
  7115. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](0, TitleStmtComponent_ng_template_8_evt_header_section_0_Template, 3, 3, "evt-header-section", 9);
  7116. } if (rf & 2) {
  7117. const items_r14 = ctx.items;
  7118. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", (items_r14 == null ? null : items_r14.length) > 0);
  7119. } }
  7120. const _c0 = function (a1) { return { label: "editors", items: a1, class: "editor" }; };
  7121. const _c1 = function (a1) { return { label: "sponsors", items: a1, class: "sponsor" }; };
  7122. const _c2 = function (a1) { return { label: "funders", items: a1, class: "funder" }; };
  7123. const _c3 = function (a1) { return { label: "principals", items: a1, class: "principal" }; };
  7124. const _c4 = function (a1) { return { label: "responsibles", items: a1, class: "principal" }; };
  7125. let TitleStmtComponent = class TitleStmtComponent {
  7126. };
  7127. TitleStmtComponent.ɵfac = function TitleStmtComponent_Factory(t) { return new (t || TitleStmtComponent)(); };
  7128. TitleStmtComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({ type: TitleStmtComponent, selectors: [["evt-title-stmt"]], inputs: { data: "data" }, decls: 10, vars: 23, consts: [["class", "main-title", 3, "evtHtmlAttributes", 4, "ngFor", "ngForOf"], ["class", "sub-title", 3, "evtHtmlAttributes", 4, "ngFor", "ngForOf"], ["class", "author", 4, "ngFor", "ngForOf"], [4, "ngTemplateOutlet", "ngTemplateOutletContext"], ["section", ""], [1, "main-title", 3, "evtHtmlAttributes"], [3, "content"], [1, "sub-title", 3, "evtHtmlAttributes"], [1, "author"], [3, "label", "additionalClass", 4, "ngIf"], [3, "label", "additionalClass"], ["content", ""], [3, "content", 4, "ngFor", "ngForOf"]], template: function TitleStmtComponent_Template(rf, ctx) { if (rf & 1) {
  7129. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](0, TitleStmtComponent_div_0_Template, 2, 2, "div", 0);
  7130. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, TitleStmtComponent_div_1_Template, 2, 2, "div", 1);
  7131. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, TitleStmtComponent_div_2_Template, 2, 1, "div", 2);
  7132. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, TitleStmtComponent_ng_container_3_Template, 1, 0, "ng-container", 3);
  7133. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, TitleStmtComponent_ng_container_4_Template, 1, 0, "ng-container", 3);
  7134. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](5, TitleStmtComponent_ng_container_5_Template, 1, 0, "ng-container", 3);
  7135. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](6, TitleStmtComponent_ng_container_6_Template, 1, 0, "ng-container", 3);
  7136. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](7, TitleStmtComponent_ng_container_7_Template, 1, 0, "ng-container", 3);
  7137. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](8, TitleStmtComponent_ng_template_8_Template, 1, 1, "ng-template", null, 4, _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplateRefExtractor"]);
  7138. } if (rf & 2) {
  7139. const _r8 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵreference"](9);
  7140. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx.data == null ? null : ctx.data.titles);
  7141. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  7142. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx.data == null ? null : ctx.data.subtitles);
  7143. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  7144. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx.data == null ? null : ctx.data.authors);
  7145. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  7146. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r8)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](13, _c0, ctx.data == null ? null : ctx.data.editors));
  7147. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  7148. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r8)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](15, _c1, ctx.data == null ? null : ctx.data.sponsors));
  7149. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  7150. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r8)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](17, _c2, ctx.data == null ? null : ctx.data.funders));
  7151. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  7152. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r8)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](19, _c3, ctx.data == null ? null : ctx.data.principals));
  7153. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  7154. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r8)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](21, _c4, ctx.data == null ? null : ctx.data.respStmts));
  7155. } }, directives: [_angular_common__WEBPACK_IMPORTED_MODULE_4__["NgForOf"], _angular_common__WEBPACK_IMPORTED_MODULE_4__["NgTemplateOutlet"], _directives_html_attributes_directive__WEBPACK_IMPORTED_MODULE_5__["HtmlAttributesDirective"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_6__["ContentViewerComponent"], _angular_common__WEBPACK_IMPORTED_MODULE_4__["NgIf"], _ui_components_header_section_header_section_component__WEBPACK_IMPORTED_MODULE_7__["HeaderSectionComponent"]], styles: [".main-title[_ngcontent-%COMP%], .sub-title[_ngcontent-%COMP%], .author[_ngcontent-%COMP%] {\n display: block;\n text-align: center;\n margin-bottom: 10px;\n}\n\n.main-title[_ngcontent-%COMP%] {\n font-weight: 700;\n font-size: 1.5em;\n}\n\n.sub-title[_ngcontent-%COMP%] {\n font-weight: 700;\n font-size: 1.2em;\n}\n\n.author[_ngcontent-%COMP%] {\n font-size: 1em;\n font-style: italic;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3RpdGxlLXN0bXQuY29tcG9uZW50LnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7OztFQUdJLGNBQUE7RUFDQSxrQkFBQTtFQUNBLG1CQUFBO0FBQ0o7O0FBQ0E7RUFDSSxnQkFBQTtFQUNBLGdCQUFBO0FBRUo7O0FBQ0E7RUFDSSxnQkFBQTtFQUNBLGdCQUFBO0FBRUo7O0FBQ0E7RUFDSSxjQUFBO0VBQ0Esa0JBQUE7QUFFSiIsImZpbGUiOiJ0aXRsZS1zdG10LmNvbXBvbmVudC5zY3NzIiwic291cmNlc0NvbnRlbnQiOlsiLm1haW4tdGl0bGUsXG4uc3ViLXRpdGxlLFxuLmF1dGhvciB7XG4gICAgZGlzcGxheTogYmxvY2s7XG4gICAgdGV4dC1hbGlnbjogY2VudGVyO1xuICAgIG1hcmdpbi1ib3R0b206IDEwcHg7XG59XG4ubWFpbi10aXRsZSB7XG4gICAgZm9udC13ZWlnaHQ6IDcwMDtcbiAgICBmb250LXNpemU6IDEuNWVtO1xufVxuXG4uc3ViLXRpdGxlIHtcbiAgICBmb250LXdlaWdodDogNzAwO1xuICAgIGZvbnQtc2l6ZTogMS4yZW07XG59XG5cbi5hdXRob3Ige1xuICAgIGZvbnQtc2l6ZTogMWVtO1xuICAgIGZvbnQtc3R5bGU6IGl0YWxpYztcbn1cbiJdfQ== */"] });
  7156. TitleStmtComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  7157. Object(_services_component_register_service__WEBPACK_IMPORTED_MODULE_3__["register"])(_models_evt_models__WEBPACK_IMPORTED_MODULE_2__["TitleStmt"])
  7158. ], TitleStmtComponent);
  7159. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](TitleStmtComponent, [{
  7160. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
  7161. args: [{
  7162. selector: 'evt-title-stmt',
  7163. templateUrl: './title-stmt.component.html',
  7164. styleUrls: ['./title-stmt.component.scss'],
  7165. }]
  7166. }], null, { data: [{
  7167. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
  7168. }] }); })();
  7169. /***/ }),
  7170. /***/ "GZCN":
  7171. /*!*********************************************************************!*\
  7172. !*** ./src/app/components/page-selector/page-selector.component.ts ***!
  7173. \*********************************************************************/
  7174. /*! exports provided: PageSelectorComponent */
  7175. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  7176. "use strict";
  7177. __webpack_require__.r(__webpack_exports__);
  7178. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PageSelectorComponent", function() { return PageSelectorComponent; });
  7179. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "fXoL");
  7180. /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rxjs */ "qCKp");
  7181. /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs/operators */ "kU1M");
  7182. /* harmony import */ var _services_evt_model_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../services/evt-model.service */ "hI0h");
  7183. /* harmony import */ var _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @ng-select/ng-select */ "ZOsW");
  7184. /* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/forms */ "3Pt+");
  7185. /* harmony import */ var _ui_components_icon_icon_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../ui-components/icon/icon.component */ "Mijh");
  7186. /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @angular/common */ "ofXK");
  7187. /* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @ngx-translate/core */ "sYmb");
  7188. const _c0 = function () { return { icon: "file-alt", additionalClasses: "mr-2" }; };
  7189. const _c1 = function (a0) { return { value: a0 }; };
  7190. function PageSelectorComponent_ng_template_3_Template(rf, ctx) { if (rf & 1) {
  7191. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "evt-icon", 2);
  7192. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
  7193. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "translate");
  7194. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](3, "async");
  7195. } if (rf & 2) {
  7196. const item_r1 = ctx.item;
  7197. const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
  7198. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("iconInfo", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction0"](7, _c0));
  7199. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  7200. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind2"](2, 2, item_r1.label, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction1"](8, _c1, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](3, 5, ctx_r0.pages$).indexOf(item_r1) + 1)), " ");
  7201. } }
  7202. class PageSelectorComponent {
  7203. constructor(evtModelService) {
  7204. this.evtModelService = evtModelService;
  7205. this.pages$ = this.evtModelService.pages$;
  7206. this.selectedPage$ = new rxjs__WEBPACK_IMPORTED_MODULE_1__["BehaviorSubject"](undefined);
  7207. this.selectionChange = Object(rxjs__WEBPACK_IMPORTED_MODULE_1__["combineLatest"])([
  7208. this.pages$,
  7209. this.selectedPage$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["distinctUntilChanged"])()),
  7210. ]).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["filter"])(([pages, pageID]) => !!pageID && !!pages && pages.length > 0), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(([pages, pageID]) => pages.find(p => p.id === pageID)));
  7211. }
  7212. set pageID(p) {
  7213. this._pageID = p;
  7214. this.selectedPage$.next(this._pageID);
  7215. }
  7216. get pageID() { return this._pageID; }
  7217. }
  7218. PageSelectorComponent.ɵfac = function PageSelectorComponent_Factory(t) { return new (t || PageSelectorComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_services_evt_model_service__WEBPACK_IMPORTED_MODULE_3__["EVTModelService"])); };
  7219. PageSelectorComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: PageSelectorComponent, selectors: [["evt-page-selector"]], inputs: { pageID: "pageID" }, outputs: { selectionChange: "selectionChange" }, decls: 4, vars: 8, consts: [["bindLabel", "label", "bindValue", "id", 1, "mr-1", 3, "items", "clearable", "searchable", "ngModel", "change"], ["ng-label-tmp", ""], ["label-left", "", 3, "iconInfo"]], template: function PageSelectorComponent_Template(rf, ctx) { if (rf & 1) {
  7220. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "ng-select", 0);
  7221. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("change", function PageSelectorComponent_Template_ng_select_change_0_listener($event) { return ctx.pageID = $event.id; });
  7222. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](1, "async");
  7223. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "async");
  7224. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](3, PageSelectorComponent_ng_template_3_Template, 4, 10, "ng-template", 1);
  7225. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  7226. } if (rf & 2) {
  7227. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("items", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](1, 4, ctx.pages$))("clearable", false)("searchable", true)("ngModel", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](2, 6, ctx.selectedPage$));
  7228. } }, directives: [_ng_select_ng_select__WEBPACK_IMPORTED_MODULE_4__["NgSelectComponent"], _angular_forms__WEBPACK_IMPORTED_MODULE_5__["NgControlStatus"], _angular_forms__WEBPACK_IMPORTED_MODULE_5__["NgModel"], _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_4__["ɵh"], _ui_components_icon_icon_component__WEBPACK_IMPORTED_MODULE_6__["IconComponent"]], pipes: [_angular_common__WEBPACK_IMPORTED_MODULE_7__["AsyncPipe"], _ngx_translate_core__WEBPACK_IMPORTED_MODULE_8__["TranslatePipe"]], styles: ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJwYWdlLXNlbGVjdG9yLmNvbXBvbmVudC5zY3NzIn0= */"] });
  7229. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](PageSelectorComponent, [{
  7230. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
  7231. args: [{
  7232. selector: 'evt-page-selector',
  7233. templateUrl: './page-selector.component.html',
  7234. styleUrls: ['./page-selector.component.scss'],
  7235. }]
  7236. }], function () { return [{ type: _services_evt_model_service__WEBPACK_IMPORTED_MODULE_3__["EVTModelService"] }]; }, { pageID: [{
  7237. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
  7238. }], selectionChange: [{
  7239. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
  7240. }] }); })();
  7241. /***/ }),
  7242. /***/ "Gf1x":
  7243. /*!*******************************************************!*\
  7244. !*** ./src/app/services/xml-parsers/header-parser.ts ***!
  7245. \*******************************************************/
  7246. /*! exports provided: RespParser, RespStmtParser, TitleStmtParser, EditionStmtParser, PublicationStmtParser, SeriesStmtParser, NotesStmtParser, SourceDescParser, ExtentParser, FileDescParser, ProjectDescParser, SamplingDeclParser, CorrectionParser, NormalizationParser, PunctuationParser, QuotationParser, HyphenationParser, SegmentationParser, StdValsParser, InterpretationParser, EditorialDeclParser, RenditionParser, TagUsageParser, NamespaceParser, TagsDeclParser, CRefPatternParser, RefStateParser, RefsDeclParser, EncodingDescParser, AbstractParser, CalendarParser, CalendarDescParser, CorrespActionParser, CorrespContextParser, CorrespDescParser, CreationParser, LanguageParser, LangUsageParser, ClassCodeParser, CatRefParser, KeywordsParser, TextClassParser, HandNoteParser, HandNotesParser, TransposeParser, ListTransposeParser, ChannelParser, ConstitutionParser, DerivationParser, DomainParser, FactualityParser, InteractionParser, PreparednessParser, PurposeParser, ChangeParser, TextDescParser, ParticDescParser, SettingParser, SettingDescParser, ListChangeParser, ProfileDescParser, RevisionDescParser */
  7247. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  7248. "use strict";
  7249. __webpack_require__.r(__webpack_exports__);
  7250. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "RespParser", function() { return RespParser; });
  7251. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "RespStmtParser", function() { return RespStmtParser; });
  7252. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TitleStmtParser", function() { return TitleStmtParser; });
  7253. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "EditionStmtParser", function() { return EditionStmtParser; });
  7254. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PublicationStmtParser", function() { return PublicationStmtParser; });
  7255. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SeriesStmtParser", function() { return SeriesStmtParser; });
  7256. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NotesStmtParser", function() { return NotesStmtParser; });
  7257. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SourceDescParser", function() { return SourceDescParser; });
  7258. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ExtentParser", function() { return ExtentParser; });
  7259. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "FileDescParser", function() { return FileDescParser; });
  7260. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ProjectDescParser", function() { return ProjectDescParser; });
  7261. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SamplingDeclParser", function() { return SamplingDeclParser; });
  7262. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CorrectionParser", function() { return CorrectionParser; });
  7263. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NormalizationParser", function() { return NormalizationParser; });
  7264. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PunctuationParser", function() { return PunctuationParser; });
  7265. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "QuotationParser", function() { return QuotationParser; });
  7266. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "HyphenationParser", function() { return HyphenationParser; });
  7267. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SegmentationParser", function() { return SegmentationParser; });
  7268. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "StdValsParser", function() { return StdValsParser; });
  7269. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "InterpretationParser", function() { return InterpretationParser; });
  7270. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "EditorialDeclParser", function() { return EditorialDeclParser; });
  7271. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "RenditionParser", function() { return RenditionParser; });
  7272. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TagUsageParser", function() { return TagUsageParser; });
  7273. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NamespaceParser", function() { return NamespaceParser; });
  7274. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TagsDeclParser", function() { return TagsDeclParser; });
  7275. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CRefPatternParser", function() { return CRefPatternParser; });
  7276. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "RefStateParser", function() { return RefStateParser; });
  7277. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "RefsDeclParser", function() { return RefsDeclParser; });
  7278. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "EncodingDescParser", function() { return EncodingDescParser; });
  7279. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AbstractParser", function() { return AbstractParser; });
  7280. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CalendarParser", function() { return CalendarParser; });
  7281. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CalendarDescParser", function() { return CalendarDescParser; });
  7282. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CorrespActionParser", function() { return CorrespActionParser; });
  7283. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CorrespContextParser", function() { return CorrespContextParser; });
  7284. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CorrespDescParser", function() { return CorrespDescParser; });
  7285. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CreationParser", function() { return CreationParser; });
  7286. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "LanguageParser", function() { return LanguageParser; });
  7287. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "LangUsageParser", function() { return LangUsageParser; });
  7288. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ClassCodeParser", function() { return ClassCodeParser; });
  7289. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CatRefParser", function() { return CatRefParser; });
  7290. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "KeywordsParser", function() { return KeywordsParser; });
  7291. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TextClassParser", function() { return TextClassParser; });
  7292. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "HandNoteParser", function() { return HandNoteParser; });
  7293. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "HandNotesParser", function() { return HandNotesParser; });
  7294. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TransposeParser", function() { return TransposeParser; });
  7295. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ListTransposeParser", function() { return ListTransposeParser; });
  7296. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ChannelParser", function() { return ChannelParser; });
  7297. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ConstitutionParser", function() { return ConstitutionParser; });
  7298. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DerivationParser", function() { return DerivationParser; });
  7299. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DomainParser", function() { return DomainParser; });
  7300. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "FactualityParser", function() { return FactualityParser; });
  7301. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "InteractionParser", function() { return InteractionParser; });
  7302. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PreparednessParser", function() { return PreparednessParser; });
  7303. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PurposeParser", function() { return PurposeParser; });
  7304. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ChangeParser", function() { return ChangeParser; });
  7305. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TextDescParser", function() { return TextDescParser; });
  7306. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ParticDescParser", function() { return ParticDescParser; });
  7307. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SettingParser", function() { return SettingParser; });
  7308. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SettingDescParser", function() { return SettingDescParser; });
  7309. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ListChangeParser", function() { return ListChangeParser; });
  7310. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ProfileDescParser", function() { return ProfileDescParser; });
  7311. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "RevisionDescParser", function() { return RevisionDescParser; });
  7312. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "mrSG");
  7313. /* harmony import */ var src_app_utils_dom_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! src/app/utils/dom-utils */ "G9+u");
  7314. /* harmony import */ var src_app_utils_js_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! src/app/utils/js-utils */ "zSMA");
  7315. /* harmony import */ var ___WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! . */ "UAXx");
  7316. /* harmony import */ var _models_evt_models__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../models/evt-models */ "5c0l");
  7317. /* harmony import */ var _basic_parsers__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./basic-parsers */ "bNiN");
  7318. /* harmony import */ var _named_entity_parsers__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./named-entity-parsers */ "4Z5S");
  7319. /* harmony import */ var _parser_models__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./parser-models */ "YwZW");
  7320. var RespParser_1, RespStmtParser_1, TitleStmtParser_1, EditionStmtParser_1, PublicationStmtParser_1, SeriesStmtParser_1, NotesStmtParser_1, SourceDescParser_1, ExtentParser_1, FileDescParser_1, ProjectDescParser_1, SamplingDeclParser_1, CorrectionParser_1, NormalizationParser_1, PunctuationParser_1, QuotationParser_1, HyphenationParser_1, SegmentationParser_1, StdValsParser_1, InterpretationParser_1, EditorialDeclParser_1, RenditionParser_1, TagUsageParser_1, NamespaceParser_1, TagsDeclParser_1, CRefPatternParser_1, RefStateParser_1, RefsDeclParser_1, EncodingDescParser_1, AbstractParser_1, CalendarParser_1, CalendarDescParser_1, CorrespActionParser_1, CorrespContextParser_1, CorrespDescParser_1, CreationParser_1, LanguageParser_1, LangUsageParser_1, ClassCodeParser_1, CatRefParser_1, KeywordsParser_1, TextClassParser_1, HandNoteParser_1, HandNotesParser_1, TransposeParser_1, ListTransposeParser_1, ChannelParser_1, ConstitutionParser_1, DerivationParser_1, DomainParser_1, FactualityParser_1, InteractionParser_1, PreparednessParser_1, PurposeParser_1, ChangeParser_1, TextDescParser_1, ParticDescParser_1, SettingParser_1, SettingDescParser_1, ListChangeParser_1, ProfileDescParser_1, RevisionDescParser_1;
  7321. let RespParser = RespParser_1 = class RespParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"] {
  7322. parse(xml) {
  7323. const { ref, when } = this.attributeParser.parse(xml);
  7324. const normalizedResp = (ref === null || ref === void 0 ? void 0 : ref.indexOf('http://')) < 0 && (ref === null || ref === void 0 ? void 0 : ref.indexOf('https://')) < 0 ? `http://${ref}` : ref !== null && ref !== void 0 ? ref : '';
  7325. return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["Resp"], normalizedResp, date: when || '' });
  7326. }
  7327. };
  7328. RespParser = RespParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  7329. Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('resp', RespParser_1)
  7330. ], RespParser);
  7331. let RespStmtParser = RespStmtParser_1 = class RespStmtParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"] {
  7332. constructor() {
  7333. super(...arguments);
  7334. this.namedEntityRefParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_7__["createParser"])(_named_entity_parsers__WEBPACK_IMPORTED_MODULE_6__["NamedEntityRefParser"], this.genericParse);
  7335. }
  7336. parse(xml) {
  7337. const people = Array.from(xml.querySelectorAll(':scope > name, :scope > orgName, :scope > persName'))
  7338. .map(p => {
  7339. if (['orgName', 'persName'].includes(p.tagName)) {
  7340. return this.namedEntityRefParser.parse(p);
  7341. }
  7342. return this.genericParse(p);
  7343. });
  7344. return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["RespStmt"], responsibility: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElement"])(xml, 'resp'), notes: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'note'), people });
  7345. }
  7346. };
  7347. RespStmtParser = RespStmtParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  7348. Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('respStmt', RespStmtParser_1)
  7349. ], RespStmtParser);
  7350. let TitleStmtParser = TitleStmtParser_1 = class TitleStmtParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericParser"] {
  7351. parse(xml) {
  7352. const title = Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'title[type="main"]');
  7353. return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["TitleStmt"], titles: title.length > 0 ? title : Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'title:not([type="sub"])'), subtitles: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'title[type="sub"]'), authors: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'author'), editors: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'editor'), sponsors: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'sponsor'), funders: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'funder'), principals: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'principal'), respStmts: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'respStmt') });
  7354. }
  7355. };
  7356. TitleStmtParser = TitleStmtParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  7357. Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('titleStmt', TitleStmtParser_1)
  7358. ], TitleStmtParser);
  7359. let EditionStmtParser = EditionStmtParser_1 = class EditionStmtParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericParser"] {
  7360. parse(xml) {
  7361. return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["EditionStmt"], edition: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'edition'), respStmt: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'respStmt'), structuredData: Array.from(xml.children).filter(el => el.tagName === 'p').length !== xml.children.length });
  7362. }
  7363. };
  7364. EditionStmtParser = EditionStmtParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  7365. Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('editionStmt', EditionStmtParser_1)
  7366. ], EditionStmtParser);
  7367. let PublicationStmtParser = PublicationStmtParser_1 = class PublicationStmtParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericParser"] {
  7368. parse(xml) {
  7369. return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["PublicationStmt"], structuredData: Array.from(xml.children).filter(el => el.tagName === 'p').length !== xml.children.length, publisher: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'publisher'), distributor: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'distributor'), authority: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'authority'), pubPlace: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'pubPlace'), address: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'address'), idno: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'idno'), availability: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'availability'), date: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'date'), licence: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'licence') });
  7370. }
  7371. };
  7372. PublicationStmtParser = PublicationStmtParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  7373. Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('publicationStmt', PublicationStmtParser_1)
  7374. ], PublicationStmtParser);
  7375. let SeriesStmtParser = SeriesStmtParser_1 = class SeriesStmtParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericParser"] {
  7376. parse(xml) {
  7377. return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["SeriesStmt"], structuredData: Array.from(xml.querySelectorAll(':scope > p')).length === 0, title: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'title'), idno: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'idno'), respStmt: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'respStmt'), editor: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'editor'), biblScope: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'biblScope') });
  7378. }
  7379. };
  7380. SeriesStmtParser = SeriesStmtParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  7381. Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('seriesStmt', SeriesStmtParser_1)
  7382. ], SeriesStmtParser);
  7383. let NotesStmtParser = NotesStmtParser_1 = class NotesStmtParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericParser"] {
  7384. parse(xml) {
  7385. return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["NotesStmt"], notes: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'note').map(el => (Object.assign(Object.assign({}, el), { noteLayout: 'plain-text' }))), relatedItems: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'relatedItem') });
  7386. }
  7387. };
  7388. NotesStmtParser = NotesStmtParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  7389. Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('notesStmt', NotesStmtParser_1)
  7390. ], NotesStmtParser);
  7391. let SourceDescParser = SourceDescParser_1 = class SourceDescParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericParser"] {
  7392. parse(xml) {
  7393. return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["SourceDesc"], structuredData: Array.from(xml.children).filter(el => el.tagName === 'p').length !== xml.children.length, msDescs: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'msDesc'), bibl: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'bibl'), biblFull: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'biblFull'), biblStruct: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'biblStruct'), recordingStmt: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'recordingStmt'), scriptStmt: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'scriptStmt') });
  7394. }
  7395. };
  7396. SourceDescParser = SourceDescParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  7397. Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('sourceDesc', SourceDescParser_1)
  7398. ], SourceDescParser);
  7399. let ExtentParser = ExtentParser_1 = class ExtentParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"] {
  7400. parse(xml) {
  7401. return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["Extent"] });
  7402. }
  7403. };
  7404. ExtentParser = ExtentParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  7405. Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('extent', ExtentParser_1)
  7406. ], ExtentParser);
  7407. let FileDescParser = FileDescParser_1 = class FileDescParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"] {
  7408. constructor() {
  7409. super(...arguments);
  7410. this.excludeFromParsing = [
  7411. 'listBibl',
  7412. 'listEvent',
  7413. 'listOrg',
  7414. 'listPerson',
  7415. 'listPlace',
  7416. 'listWit',
  7417. ];
  7418. }
  7419. parse(xml) {
  7420. xml = xml.cloneNode(true);
  7421. Array.from(xml.querySelectorAll(this.excludeFromParsing.toString()))
  7422. .filter((list) => !Object(src_app_utils_dom_utils__WEBPACK_IMPORTED_MODULE_1__["isNestedInElem"])(list, list.tagName))
  7423. .forEach(el => el.remove());
  7424. return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["FileDesc"], titleStmt: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElement"])(xml, 'titleStmt'), editionStmt: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElement"])(xml, 'editionStmt'), publicationStmt: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElement"])(xml, 'publicationStmt'), sourceDesc: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElement"])(xml, 'sourceDesc'), extent: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElement"])(xml, 'extent'), notesStmt: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElement"])(xml, 'notesStmt'), seriesStmt: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElement"])(xml, 'seriesStmt') });
  7425. }
  7426. };
  7427. FileDescParser = FileDescParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  7428. Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('fileDesc', FileDescParser_1)
  7429. ], FileDescParser);
  7430. let ProjectDescParser = ProjectDescParser_1 = class ProjectDescParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"] {
  7431. parse(xml) {
  7432. return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["ProjectDesc"], content: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'p') });
  7433. }
  7434. };
  7435. ProjectDescParser = ProjectDescParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  7436. Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('projectDesc', ProjectDescParser_1)
  7437. ], ProjectDescParser);
  7438. let SamplingDeclParser = SamplingDeclParser_1 = class SamplingDeclParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"] {
  7439. parse(xml) {
  7440. return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["SamplingDecl"], content: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'p') });
  7441. }
  7442. };
  7443. SamplingDeclParser = SamplingDeclParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  7444. Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('samplingDecl', SamplingDeclParser_1)
  7445. ], SamplingDeclParser);
  7446. let CorrectionParser = CorrectionParser_1 = class CorrectionParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"] {
  7447. parse(xml) {
  7448. return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["Correction"], content: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'p'), status: xml.getAttribute('status'), method: xml.getAttribute('method') || 'silent' });
  7449. }
  7450. };
  7451. CorrectionParser = CorrectionParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  7452. Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('correction', CorrectionParser_1)
  7453. ], CorrectionParser);
  7454. let NormalizationParser = NormalizationParser_1 = class NormalizationParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"] {
  7455. parse(xml) {
  7456. var _a;
  7457. return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["Normalization"], content: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'p'), sources: ((_a = xml.getAttribute('source')) === null || _a === void 0 ? void 0 : _a.split(' ')) || [], method: xml.getAttribute('method') || 'silent' });
  7458. }
  7459. };
  7460. NormalizationParser = NormalizationParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  7461. Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('normalization', NormalizationParser_1)
  7462. ], NormalizationParser);
  7463. let PunctuationParser = PunctuationParser_1 = class PunctuationParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"] {
  7464. parse(xml) {
  7465. return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["Punctuation"], content: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'p'), marks: xml.getAttribute('marks'), placement: xml.getAttribute('placement') });
  7466. }
  7467. };
  7468. PunctuationParser = PunctuationParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  7469. Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('punctuation', PunctuationParser_1)
  7470. ], PunctuationParser);
  7471. let QuotationParser = QuotationParser_1 = class QuotationParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"] {
  7472. parse(xml) {
  7473. return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["Quotation"], content: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'p'), marks: xml.getAttribute('marks') });
  7474. }
  7475. };
  7476. QuotationParser = QuotationParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  7477. Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('quotation', QuotationParser_1)
  7478. ], QuotationParser);
  7479. let HyphenationParser = HyphenationParser_1 = class HyphenationParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"] {
  7480. parse(xml) {
  7481. return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["Hyphenation"], content: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'p'), eol: xml.getAttribute('eol') });
  7482. }
  7483. };
  7484. HyphenationParser = HyphenationParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  7485. Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('hyphenation', HyphenationParser_1)
  7486. ], HyphenationParser);
  7487. let SegmentationParser = SegmentationParser_1 = class SegmentationParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"] {
  7488. parse(xml) {
  7489. return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["Segmentation"], content: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'p') });
  7490. }
  7491. };
  7492. SegmentationParser = SegmentationParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  7493. Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('segmentation', SegmentationParser_1)
  7494. ], SegmentationParser);
  7495. let StdValsParser = StdValsParser_1 = class StdValsParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"] {
  7496. parse(xml) {
  7497. return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["StdVals"], content: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'p') });
  7498. }
  7499. };
  7500. StdValsParser = StdValsParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  7501. Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('stdVals', StdValsParser_1)
  7502. ], StdValsParser);
  7503. let InterpretationParser = InterpretationParser_1 = class InterpretationParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"] {
  7504. parse(xml) {
  7505. return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["Interpretation"], content: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'p') });
  7506. }
  7507. };
  7508. InterpretationParser = InterpretationParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  7509. Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('interpretation', InterpretationParser_1)
  7510. ], InterpretationParser);
  7511. let EditorialDeclParser = EditorialDeclParser_1 = class EditorialDeclParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericParser"] {
  7512. parse(xml) {
  7513. return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["EditorialDecl"], structuredData: Array.from(xml.children).filter(el => el.tagName === 'p').length !== xml.children.length, correction: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'correction'), hyphenation: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'hyphenation'), interpretation: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'interpretation'), normalization: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'normalization'), punctuation: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'punctuation'), quotation: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'quotation'), segmentation: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'segmentation'), stdVals: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'stdVals') });
  7514. }
  7515. };
  7516. EditorialDeclParser = EditorialDeclParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  7517. Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('editorialDecl', EditorialDeclParser_1)
  7518. ], EditorialDeclParser);
  7519. let RenditionParser = RenditionParser_1 = class RenditionParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"] {
  7520. parse(xml) {
  7521. return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["Rendition"], id: Object(_parser_models__WEBPACK_IMPORTED_MODULE_7__["getID"])(xml), scope: xml.getAttribute('scope') || '', selector: xml.getAttribute('selector') || '', scheme: xml.getAttribute('scheme') || undefined, schemeVersion: xml.getAttribute('schemeVersion') || '' });
  7522. }
  7523. };
  7524. RenditionParser = RenditionParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  7525. Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('rendition', RenditionParser_1)
  7526. ], RenditionParser);
  7527. let TagUsageParser = TagUsageParser_1 = class TagUsageParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"] {
  7528. parse(xml) {
  7529. return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["TagUsage"], gi: xml.getAttribute('gi'), occurs: parseInt(xml.getAttribute('occurs'), 10) || undefined, withId: parseInt(xml.getAttribute('withId'), 10) || undefined });
  7530. }
  7531. };
  7532. TagUsageParser = TagUsageParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  7533. Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('tagUsage', TagUsageParser_1)
  7534. ], TagUsageParser);
  7535. let NamespaceParser = NamespaceParser_1 = class NamespaceParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"] {
  7536. parse(xml) {
  7537. return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["Namespace"], name: xml.getAttribute('name') || '', tagUsage: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'tagUsage') });
  7538. }
  7539. };
  7540. NamespaceParser = NamespaceParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  7541. Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('namespace', NamespaceParser_1)
  7542. ], NamespaceParser);
  7543. let TagsDeclParser = TagsDeclParser_1 = class TagsDeclParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"] {
  7544. parse(xml) {
  7545. return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["TagsDecl"], rendition: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'rendition'), namespace: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'namespace') });
  7546. }
  7547. };
  7548. TagsDeclParser = TagsDeclParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  7549. Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('tagsDecl', TagsDeclParser_1)
  7550. ], TagsDeclParser);
  7551. let CRefPatternParser = CRefPatternParser_1 = class CRefPatternParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"] {
  7552. parse(xml) {
  7553. return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["CRefPattern"], matchPattern: xml.getAttribute('matchPattern'), replacementPattern: xml.getAttribute('replacementPattern') });
  7554. }
  7555. };
  7556. CRefPatternParser = CRefPatternParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  7557. Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('cRefPattern', CRefPatternParser_1)
  7558. ], CRefPatternParser);
  7559. let RefStateParser = RefStateParser_1 = class RefStateParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"] {
  7560. parse(xml) {
  7561. return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["RefState"], ed: xml.getAttribute('ed'), unit: xml.getAttribute('unit'), length: parseInt(xml.getAttribute('length'), 10) || 0, delim: xml.getAttribute('delim') });
  7562. }
  7563. };
  7564. RefStateParser = RefStateParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  7565. Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('refState', RefStateParser_1)
  7566. ], RefStateParser);
  7567. let RefsDeclParser = RefsDeclParser_1 = class RefsDeclParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"] {
  7568. constructor() {
  7569. super(...arguments);
  7570. this.cRefPatternParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_7__["createParser"])(CRefPatternParser, this.genericParse);
  7571. this.refStateParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_7__["createParser"])(RefStateParser, this.genericParse);
  7572. }
  7573. parse(xml) {
  7574. return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["RefsDecl"], structuredData: Array.from(xml.children).filter(el => el.tagName === 'p').length !== xml.children.length, cRefPattern: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'cRefPattern'), refState: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'refState') });
  7575. }
  7576. };
  7577. RefsDeclParser = RefsDeclParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  7578. Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('refsDecl', RefsDeclParser_1)
  7579. ], RefsDeclParser);
  7580. let EncodingDescParser = EncodingDescParser_1 = class EncodingDescParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericParser"] {
  7581. parse(xml) {
  7582. return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["EncodingDesc"], structuredData: Array.from(xml.children).filter(el => el.tagName === 'p').length !== xml.children.length, projectDesc: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'projectDesc'), samplingDecl: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'samplingDecl'), editorialDecl: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'editorialDecl'), tagsDecl: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'tagsDecl'), styleDefDecl: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElement"])(xml, 'styleDefDecl'), refsDecl: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'refsDecl'), classDecl: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'classDecl'), geoDecl: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'geoDecl'), unitDecl: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'unitDecl'), schemaSpec: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'schemaSpec'), schemaRef: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'schemaRef') });
  7583. }
  7584. };
  7585. EncodingDescParser = EncodingDescParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  7586. Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('encodingDesc', EncodingDescParser_1)
  7587. ], EncodingDescParser);
  7588. let AbstractParser = AbstractParser_1 = class AbstractParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"] {
  7589. parse(xml) {
  7590. return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["Abstract"], resp: xml.getAttribute('resp'), lang: xml.getAttribute('xml:lang') });
  7591. }
  7592. };
  7593. AbstractParser = AbstractParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  7594. Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('abstract', AbstractParser_1)
  7595. ], AbstractParser);
  7596. let CalendarParser = CalendarParser_1 = class CalendarParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"] {
  7597. parse(xml) {
  7598. return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["Calendar"], id: xml.getAttribute('xml:id'), target: xml.getAttribute('target') });
  7599. }
  7600. };
  7601. CalendarParser = CalendarParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  7602. Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('calendar', CalendarParser_1)
  7603. ], CalendarParser);
  7604. let CalendarDescParser = CalendarDescParser_1 = class CalendarDescParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"] {
  7605. parse(xml) {
  7606. return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["CalendarDesc"], calendars: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'calendar') });
  7607. }
  7608. };
  7609. CalendarDescParser = CalendarDescParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  7610. Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('calendarDesc', CalendarDescParser_1)
  7611. ], CalendarDescParser);
  7612. let CorrespActionParser = CorrespActionParser_1 = class CorrespActionParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"] {
  7613. parse(xml) {
  7614. return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["CorrespAction"], actionType: xml.getAttribute('type') });
  7615. }
  7616. };
  7617. CorrespActionParser = CorrespActionParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  7618. Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('correspAction', CorrespActionParser_1)
  7619. ], CorrespActionParser);
  7620. let CorrespContextParser = CorrespContextParser_1 = class CorrespContextParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"] {
  7621. parse(xml) {
  7622. return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["CorrespContext"] });
  7623. }
  7624. };
  7625. CorrespContextParser = CorrespContextParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  7626. Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('correspContext', CorrespContextParser_1)
  7627. ], CorrespContextParser);
  7628. let CorrespDescParser = CorrespDescParser_1 = class CorrespDescParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericParser"] {
  7629. parse(xml) {
  7630. return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["CorrespDesc"], content: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'correspAction, correspContext, note, p') });
  7631. }
  7632. };
  7633. CorrespDescParser = CorrespDescParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  7634. Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('correspDesc', CorrespDescParser_1)
  7635. ], CorrespDescParser);
  7636. let CreationParser = CreationParser_1 = class CreationParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"] {
  7637. parse(xml) {
  7638. return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["Creation"] });
  7639. }
  7640. };
  7641. CreationParser = CreationParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  7642. Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('creation', CreationParser_1)
  7643. ], CreationParser);
  7644. let LanguageParser = LanguageParser_1 = class LanguageParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"] {
  7645. parse(xml) {
  7646. return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["Language"], ident: xml.getAttribute('ident'), usage: parseInt(xml.getAttribute('usage'), 10) || undefined });
  7647. }
  7648. };
  7649. LanguageParser = LanguageParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  7650. Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('language', LanguageParser_1)
  7651. ], LanguageParser);
  7652. let LangUsageParser = LangUsageParser_1 = class LangUsageParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"] {
  7653. parse(xml) {
  7654. return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["LangUsage"], structuredData: Array.from(xml.querySelectorAll(':scope > p')).length > 0, languages: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'language') });
  7655. }
  7656. };
  7657. LangUsageParser = LangUsageParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  7658. Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('langUsage', LangUsageParser_1)
  7659. ], LangUsageParser);
  7660. let ClassCodeParser = ClassCodeParser_1 = class ClassCodeParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"] {
  7661. parse(xml) {
  7662. return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["ClassCode"], scheme: xml.getAttribute('scheme') });
  7663. }
  7664. };
  7665. ClassCodeParser = ClassCodeParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  7666. Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('classCode', ClassCodeParser_1)
  7667. ], ClassCodeParser);
  7668. let CatRefParser = CatRefParser_1 = class CatRefParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"] {
  7669. parse(xml) {
  7670. return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["CatRef"], scheme: xml.getAttribute('scheme'), target: xml.getAttribute('target') });
  7671. }
  7672. };
  7673. CatRefParser = CatRefParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  7674. Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('catRef', CatRefParser_1)
  7675. ], CatRefParser);
  7676. let KeywordsParser = KeywordsParser_1 = class KeywordsParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"] {
  7677. parse(xml) {
  7678. return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["Keywords"], scheme: xml.getAttribute('scheme'), terms: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'term') });
  7679. }
  7680. };
  7681. KeywordsParser = KeywordsParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  7682. Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('keywords', KeywordsParser_1)
  7683. ], KeywordsParser);
  7684. let TextClassParser = TextClassParser_1 = class TextClassParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"] {
  7685. parse(xml) {
  7686. return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["TextClass"], keywords: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'keywords'), catRef: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'catRef'), classCode: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'classCode') });
  7687. }
  7688. };
  7689. TextClassParser = TextClassParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  7690. Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('textClass', TextClassParser_1)
  7691. ], TextClassParser);
  7692. let HandNoteParser = HandNoteParser_1 = class HandNoteParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"] {
  7693. parse(xml) {
  7694. return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["HandNote"], id: Object(_parser_models__WEBPACK_IMPORTED_MODULE_7__["getID"])(xml), scribe: xml.getAttribute('scribe'), scribeRef: xml.getAttribute('scribeRef'), script: xml.getAttribute('script'), scriptRef: xml.getAttribute('scriptRef'), medium: xml.getAttribute('medium'), scope: xml.getAttribute('scope') });
  7695. }
  7696. };
  7697. HandNoteParser = HandNoteParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  7698. Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('handNote', HandNoteParser_1)
  7699. ], HandNoteParser);
  7700. let HandNotesParser = HandNotesParser_1 = class HandNotesParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"] {
  7701. parse(xml) {
  7702. return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["HandNotes"], content: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'keywords') });
  7703. }
  7704. };
  7705. HandNotesParser = HandNotesParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  7706. Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('handNotes', HandNotesParser_1)
  7707. ], HandNotesParser);
  7708. let TransposeParser = TransposeParser_1 = class TransposeParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"] {
  7709. parse(xml) {
  7710. return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["Transpose"], content: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'ptr') });
  7711. }
  7712. };
  7713. TransposeParser = TransposeParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  7714. Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('transpose', TransposeParser_1)
  7715. ], TransposeParser);
  7716. let ListTransposeParser = ListTransposeParser_1 = class ListTransposeParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"] {
  7717. parse(xml) {
  7718. return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["ListTranspose"], description: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'desc'), transposes: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'transpose') });
  7719. }
  7720. };
  7721. ListTransposeParser = ListTransposeParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  7722. Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('listTranspose', ListTransposeParser_1)
  7723. ], ListTransposeParser);
  7724. let ChannelParser = ChannelParser_1 = class ChannelParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"] {
  7725. parse(xml) {
  7726. return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["Channel"], mode: xml.getAttribute('mode') });
  7727. }
  7728. };
  7729. ChannelParser = ChannelParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  7730. Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('channel', ChannelParser_1)
  7731. ], ChannelParser);
  7732. let ConstitutionParser = ConstitutionParser_1 = class ConstitutionParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"] {
  7733. parse(xml) {
  7734. return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["Constitution"], constitutionType: xml.getAttribute('type') });
  7735. }
  7736. };
  7737. ConstitutionParser = ConstitutionParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  7738. Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('constitution', ConstitutionParser_1)
  7739. ], ConstitutionParser);
  7740. let DerivationParser = DerivationParser_1 = class DerivationParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"] {
  7741. parse(xml) {
  7742. return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["Derivation"], derivationType: xml.getAttribute('type') });
  7743. }
  7744. };
  7745. DerivationParser = DerivationParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  7746. Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('derivation', DerivationParser_1)
  7747. ], DerivationParser);
  7748. let DomainParser = DomainParser_1 = class DomainParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"] {
  7749. parse(xml) {
  7750. return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["Domain"], domainType: xml.getAttribute('type') });
  7751. }
  7752. };
  7753. DomainParser = DomainParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  7754. Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('domain', DomainParser_1)
  7755. ], DomainParser);
  7756. let FactualityParser = FactualityParser_1 = class FactualityParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"] {
  7757. parse(xml) {
  7758. return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["Factuality"], factualityType: xml.getAttribute('type') });
  7759. }
  7760. };
  7761. FactualityParser = FactualityParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  7762. Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('factuality', FactualityParser_1)
  7763. ], FactualityParser);
  7764. let InteractionParser = InteractionParser_1 = class InteractionParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"] {
  7765. parse(xml) {
  7766. return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["Interaction"], interactionType: xml.getAttribute('type'), active: xml.getAttribute('type'), passive: xml.getAttribute('type') });
  7767. }
  7768. };
  7769. InteractionParser = InteractionParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  7770. Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('interaction', InteractionParser_1)
  7771. ], InteractionParser);
  7772. let PreparednessParser = PreparednessParser_1 = class PreparednessParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"] {
  7773. parse(xml) {
  7774. return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["Preparedness"], preparednessType: xml.getAttribute('type') });
  7775. }
  7776. };
  7777. PreparednessParser = PreparednessParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  7778. Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('preparedness', PreparednessParser_1)
  7779. ], PreparednessParser);
  7780. let PurposeParser = PurposeParser_1 = class PurposeParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"] {
  7781. parse(xml) {
  7782. return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["Purpose"], purposeType: xml.getAttribute('type'), degree: xml.getAttribute('degree') });
  7783. }
  7784. };
  7785. PurposeParser = PurposeParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  7786. Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('purpose', PurposeParser_1)
  7787. ], PurposeParser);
  7788. let ChangeParser = ChangeParser_1 = class ChangeParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericParser"] {
  7789. parse(xml) {
  7790. return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["Change"], id: Object(_parser_models__WEBPACK_IMPORTED_MODULE_7__["getID"])(xml), who: Object(_parser_models__WEBPACK_IMPORTED_MODULE_7__["getDefaultAttr"])(xml.getAttribute('who')).replace('#', ''), status: xml.getAttribute('status'), when: xml.getAttribute('when'), notBefore: xml.getAttribute('notBefore'), notAfter: xml.getAttribute('notAfter'), targets: Object(_parser_models__WEBPACK_IMPORTED_MODULE_7__["getDefaultAttr"])(xml.getAttribute('target')).split(' ').map(t => t.replace('#', '')) });
  7791. }
  7792. };
  7793. ChangeParser = ChangeParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  7794. Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('change', ChangeParser_1)
  7795. ], ChangeParser);
  7796. let TextDescParser = TextDescParser_1 = class TextDescParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"] {
  7797. parse(xml) {
  7798. return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["TextDesc"], channel: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'channel'), constitution: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'constitution'), derivation: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'derivation'), domain: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'domain'), factuality: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'factuality'), interaction: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'interaction'), preparedness: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'preparedness'), purpose: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'purpose') });
  7799. }
  7800. };
  7801. TextDescParser = TextDescParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  7802. Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('textDesc', TextDescParser_1)
  7803. ], TextDescParser);
  7804. let ParticDescParser = ParticDescParser_1 = class ParticDescParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"] {
  7805. parse(xml) {
  7806. return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["ParticDesc"], structuredData: Array.from(xml.children).filter(el => el.tagName === 'p').length !== xml.children.length, participants: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'listPerson').concat(Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'listOrg')) });
  7807. }
  7808. };
  7809. ParticDescParser = ParticDescParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  7810. Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('particDesc', ParticDescParser_1)
  7811. ], ParticDescParser);
  7812. let SettingParser = SettingParser_1 = class SettingParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"] {
  7813. parse(xml) {
  7814. const names = Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'name');
  7815. const orgNames = Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'orgName');
  7816. const persNames = Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'persName');
  7817. const placeNames = Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'placeName');
  7818. return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["Setting"], who: xml.getAttribute('who'), name: names.concat(orgNames).concat(persNames).concat(placeNames), date: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'date'), time: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'time'), locale: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'locale'), activity: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'activity') });
  7819. }
  7820. };
  7821. SettingParser = SettingParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  7822. Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('setting', SettingParser_1)
  7823. ], SettingParser);
  7824. let SettingDescParser = SettingDescParser_1 = class SettingDescParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"] {
  7825. parse(xml) {
  7826. return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["SettingDesc"], structuredData: Array.from(xml.children).filter(el => el.tagName === 'p').length !== xml.children.length, settings: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'setting'), places: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'listPlace') });
  7827. }
  7828. };
  7829. SettingDescParser = SettingDescParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  7830. Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('settingDesc', SettingDescParser_1)
  7831. ], SettingDescParser);
  7832. let ListChangeParser = ListChangeParser_1 = class ListChangeParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericParser"] {
  7833. parse(xml) {
  7834. return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["ListChange"], content: Object(_parser_models__WEBPACK_IMPORTED_MODULE_7__["complexElements"])(xml.childNodes, true).filter((child) => child.tagName !== 'desc')
  7835. .map(child => Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["parseElement"])(child)), description: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElement"])(xml, 'desc'), id: Object(_parser_models__WEBPACK_IMPORTED_MODULE_7__["getID"])(xml), ordered: Object(src_app_utils_js_utils__WEBPACK_IMPORTED_MODULE_2__["isBoolString"])(xml.getAttribute('ordered')) });
  7836. }
  7837. };
  7838. ListChangeParser = ListChangeParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  7839. Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('listChange', ListChangeParser_1)
  7840. ], ListChangeParser);
  7841. let ProfileDescParser = ProfileDescParser_1 = class ProfileDescParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericParser"] {
  7842. parse(xml) {
  7843. return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["ProfileDesc"], abstract: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'abstract'), calendarDesc: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'calendarDesc'), correspDesc: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'correspDesc'), creation: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'creation'), handNotes: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'handNotes'), langUsage: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'langUsage'), listTranspose: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'listTranspose'), particDesc: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'particDesc'), settingDesc: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'settingDesc'), textClass: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'textClass'), textDesc: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'textDesc') });
  7844. }
  7845. };
  7846. ProfileDescParser = ProfileDescParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  7847. Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('profileDesc', ProfileDescParser_1)
  7848. ], ProfileDescParser);
  7849. let RevisionDescParser = RevisionDescParser_1 = class RevisionDescParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericParser"] {
  7850. parse(xml) {
  7851. return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["RevisionDesc"], content: Object(_parser_models__WEBPACK_IMPORTED_MODULE_7__["complexElements"])(xml.childNodes, true).map(child => Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["parseElement"])(child)), status: xml.getAttribute('status') });
  7852. }
  7853. };
  7854. RevisionDescParser = RevisionDescParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  7855. Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('revisionDesc', RevisionDescParser_1)
  7856. ], RevisionDescParser);
  7857. /***/ }),
  7858. /***/ "HFpj":
  7859. /*!*********************************************************!*\
  7860. !*** ./src/app/components/ms-part/ms-part.component.ts ***!
  7861. \*********************************************************/
  7862. /*! exports provided: MsPartComponent */
  7863. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  7864. "use strict";
  7865. __webpack_require__.r(__webpack_exports__);
  7866. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MsPartComponent", function() { return MsPartComponent; });
  7867. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "mrSG");
  7868. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "fXoL");
  7869. /* harmony import */ var _models_evt_models__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../models/evt-models */ "5c0l");
  7870. /* harmony import */ var _services_component_register_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../services/component-register.service */ "d25s");
  7871. /* harmony import */ var _ui_components_ms_desc_section_ms_desc_section_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../ui-components/ms-desc-section/ms-desc-section.component */ "WyXU");
  7872. /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/common */ "ofXK");
  7873. /* harmony import */ var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../content-viewer/content-viewer.component */ "t6RO");
  7874. /* harmony import */ var _ms_identifier_ms_identifier_component__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../ms-identifier/ms-identifier.component */ "Ie87");
  7875. /* harmony import */ var _ms_contents_ms_contents_component__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../ms-contents/ms-contents.component */ "xQyG");
  7876. /* harmony import */ var _phys_desc_phys_desc_component__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../phys-desc/phys-desc.component */ "xZwa");
  7877. /* harmony import */ var _history_history_component__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../history/history.component */ "6qKx");
  7878. /* harmony import */ var _additional_additional_component__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../additional/additional.component */ "uIHG");
  7879. function MsPartComponent_div_2_evt_content_viewer_4_Template(rf, ctx) { if (rf & 1) {
  7880. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 11);
  7881. } if (rf & 2) {
  7882. const par_r9 = ctx.$implicit;
  7883. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", par_r9);
  7884. } }
  7885. function MsPartComponent_div_2_Template(rf, ctx) { if (rf & 1) {
  7886. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 6);
  7887. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "div", 7);
  7888. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](2, "evt-ms-desc-section", 8);
  7889. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  7890. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](3, "div", 9);
  7891. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, MsPartComponent_div_2_evt_content_viewer_4_Template, 1, 1, "evt-content-viewer", 10);
  7892. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  7893. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  7894. } if (rf & 2) {
  7895. const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  7896. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  7897. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "summary")("inlineLabel", true);
  7898. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  7899. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r0.data.pEl);
  7900. } }
  7901. function MsPartComponent_ng_container_3_div_1_ng_container_4_evt_content_viewer_1_Template(rf, ctx) { if (rf & 1) {
  7902. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 11);
  7903. } if (rf & 2) {
  7904. const title_r19 = ctx.$implicit;
  7905. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", title_r19);
  7906. } }
  7907. function MsPartComponent_ng_container_3_div_1_ng_container_4_span_2_Template(rf, ctx) { if (rf & 1) {
  7908. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span");
  7909. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1, ", ");
  7910. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  7911. } }
  7912. const _c0 = function (a0) { return [a0]; };
  7913. function MsPartComponent_ng_container_3_div_1_ng_container_4_Template(rf, ctx) { if (rf & 1) {
  7914. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
  7915. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, MsPartComponent_ng_container_3_div_1_ng_container_4_evt_content_viewer_1_Template, 1, 1, "evt-content-viewer", 10);
  7916. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, MsPartComponent_ng_container_3_div_1_ng_container_4_span_2_Template, 2, 0, "span", 3);
  7917. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
  7918. } if (rf & 2) {
  7919. const titles_r15 = ctx.$implicit;
  7920. const i_r16 = ctx.index;
  7921. const head_r10 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2).ngIf;
  7922. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  7923. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", titles_r15);
  7924. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  7925. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", i_r16 < _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](2, _c0, head_r10.title.length - 1));
  7926. } }
  7927. function MsPartComponent_ng_container_3_div_1_Template(rf, ctx) { if (rf & 1) {
  7928. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 6);
  7929. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "div", 7);
  7930. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](2, "evt-ms-desc-section", 8);
  7931. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  7932. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](3, "div", 9);
  7933. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, MsPartComponent_ng_container_3_div_1_ng_container_4_Template, 3, 4, "ng-container", 5);
  7934. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  7935. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  7936. } if (rf & 2) {
  7937. const head_r10 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]().ngIf;
  7938. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  7939. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "title")("inlineLabel", true);
  7940. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  7941. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", head_r10.title);
  7942. } }
  7943. function MsPartComponent_ng_container_3_div_2_Template(rf, ctx) { if (rf & 1) {
  7944. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 6);
  7945. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "div", 7);
  7946. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](2, "evt-ms-desc-section", 8);
  7947. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  7948. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](3, "div", 9);
  7949. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](4, "evt-content-viewer", 11);
  7950. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  7951. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  7952. } if (rf & 2) {
  7953. const head_r10 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]().ngIf;
  7954. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  7955. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "origPlace")("inlineLabel", true);
  7956. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  7957. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", head_r10.origPlace);
  7958. } }
  7959. function MsPartComponent_ng_container_3_div_3_Template(rf, ctx) { if (rf & 1) {
  7960. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 6);
  7961. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "div", 7);
  7962. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](2, "evt-ms-desc-section", 8);
  7963. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  7964. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](3, "div", 9);
  7965. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](4, "evt-content-viewer", 11);
  7966. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  7967. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  7968. } if (rf & 2) {
  7969. const head_r10 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]().ngIf;
  7970. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  7971. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "origDate")("inlineLabel", true);
  7972. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  7973. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", head_r10.origDate);
  7974. } }
  7975. function MsPartComponent_ng_container_3_Template(rf, ctx) { if (rf & 1) {
  7976. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
  7977. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, MsPartComponent_ng_container_3_div_1_Template, 5, 3, "div", 2);
  7978. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, MsPartComponent_ng_container_3_div_2_Template, 5, 3, "div", 2);
  7979. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, MsPartComponent_ng_container_3_div_3_Template, 5, 3, "div", 2);
  7980. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
  7981. } if (rf & 2) {
  7982. const head_r10 = ctx.ngIf;
  7983. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  7984. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", head_r10.title.length > 0);
  7985. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  7986. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", head_r10.origPlace);
  7987. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  7988. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", head_r10.origDate);
  7989. } }
  7990. function MsPartComponent_evt_ms_identifier_4_Template(rf, ctx) { if (rf & 1) {
  7991. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-ms-identifier", 12);
  7992. } if (rf & 2) {
  7993. const ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  7994. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("data", ctx_r2.data.msIdentifier);
  7995. } }
  7996. function MsPartComponent_evt_ms_contents_5_Template(rf, ctx) { if (rf & 1) {
  7997. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-ms-contents", 12);
  7998. } if (rf & 2) {
  7999. const ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  8000. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("data", ctx_r3.data.msContents);
  8001. } }
  8002. function MsPartComponent_evt_phys_desc_6_Template(rf, ctx) { if (rf & 1) {
  8003. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-phys-desc", 12);
  8004. } if (rf & 2) {
  8005. const ctx_r4 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  8006. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("data", ctx_r4.data.physDesc);
  8007. } }
  8008. function MsPartComponent_evt_history_7_Template(rf, ctx) { if (rf & 1) {
  8009. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-history", 12);
  8010. } if (rf & 2) {
  8011. const ctx_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  8012. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("data", ctx_r5.data.history);
  8013. } }
  8014. function MsPartComponent_evt_additional_8_Template(rf, ctx) { if (rf & 1) {
  8015. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-additional", 12);
  8016. } if (rf & 2) {
  8017. const ctx_r6 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  8018. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("data", ctx_r6.data.additional);
  8019. } }
  8020. function MsPartComponent_ng_container_9_Template(rf, ctx) { if (rf & 1) {
  8021. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
  8022. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "ul");
  8023. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](2, "li");
  8024. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](3, "evt-ms-part", 12);
  8025. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  8026. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  8027. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
  8028. } if (rf & 2) {
  8029. const p_r24 = ctx.$implicit;
  8030. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](3);
  8031. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("data", p_r24);
  8032. } }
  8033. let MsPartComponent = class MsPartComponent {
  8034. };
  8035. MsPartComponent.ɵfac = function MsPartComponent_Factory(t) { return new (t || MsPartComponent)(); };
  8036. MsPartComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({ type: MsPartComponent, selectors: [["evt-ms-part"]], inputs: { data: "data" }, decls: 10, vars: 10, consts: [[1, "msPart"], [3, "label", "underline"], ["class", "flex-container", 4, "ngIf"], [4, "ngIf"], [3, "data", 4, "ngIf"], [4, "ngFor", "ngForOf"], [1, "flex-container"], [1, "flex-item-label"], [3, "label", "inlineLabel"], [1, "flex-item-information"], [3, "content", 4, "ngFor", "ngForOf"], [3, "content"], [3, "data"]], template: function MsPartComponent_Template(rf, ctx) { if (rf & 1) {
  8037. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 0);
  8038. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](1, "evt-ms-desc-section", 1);
  8039. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, MsPartComponent_div_2_Template, 5, 3, "div", 2);
  8040. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, MsPartComponent_ng_container_3_Template, 4, 3, "ng-container", 3);
  8041. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, MsPartComponent_evt_ms_identifier_4_Template, 1, 1, "evt-ms-identifier", 4);
  8042. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](5, MsPartComponent_evt_ms_contents_5_Template, 1, 1, "evt-ms-contents", 4);
  8043. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](6, MsPartComponent_evt_phys_desc_6_Template, 1, 1, "evt-phys-desc", 4);
  8044. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](7, MsPartComponent_evt_history_7_Template, 1, 1, "evt-history", 4);
  8045. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](8, MsPartComponent_evt_additional_8_Template, 1, 1, "evt-additional", 4);
  8046. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](9, MsPartComponent_ng_container_9_Template, 4, 1, "ng-container", 5);
  8047. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  8048. } if (rf & 2) {
  8049. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  8050. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "msPart")("underline", false);
  8051. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  8052. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", (ctx.data == null ? null : ctx.data.pEl.length) > 0);
  8053. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  8054. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data == null ? null : ctx.data.head);
  8055. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  8056. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data == null ? null : ctx.data.msIdentifier);
  8057. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  8058. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data == null ? null : ctx.data.msContents);
  8059. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  8060. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data == null ? null : ctx.data.physDesc);
  8061. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  8062. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data == null ? null : ctx.data.history);
  8063. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  8064. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data == null ? null : ctx.data.additional);
  8065. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  8066. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx.data == null ? null : ctx.data.msParts);
  8067. } }, directives: [_ui_components_ms_desc_section_ms_desc_section_component__WEBPACK_IMPORTED_MODULE_4__["MsDescSectionComponent"], _angular_common__WEBPACK_IMPORTED_MODULE_5__["NgIf"], _angular_common__WEBPACK_IMPORTED_MODULE_5__["NgForOf"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_6__["ContentViewerComponent"], _ms_identifier_ms_identifier_component__WEBPACK_IMPORTED_MODULE_7__["MsIdentifierComponent"], _ms_contents_ms_contents_component__WEBPACK_IMPORTED_MODULE_8__["MsContentsComponent"], _phys_desc_phys_desc_component__WEBPACK_IMPORTED_MODULE_9__["PhysDescComponent"], _history_history_component__WEBPACK_IMPORTED_MODULE_10__["HistoryComponent"], _additional_additional_component__WEBPACK_IMPORTED_MODULE_11__["AdditionalComponent"], MsPartComponent], styles: [".msPart[_ngcontent-%COMP%] {\n margin-bottom: 2rem;\n}\n\n.flex-container[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n}\n\n.flex-item-label[_ngcontent-%COMP%] {\n flex-basis: 100%;\n}\n\n.flex-item-information[_ngcontent-%COMP%] {\n flex-basis: 100%;\n margin-bottom: 0.7rem;\n}\n\n@media (min-width: 500px) {\n .flex-item-label[_ngcontent-%COMP%] {\n flex-basis: 20%;\n }\n\n .flex-item-information[_ngcontent-%COMP%] {\n flex-basis: 80%;\n }\n}\n\n@media (min-width: 640px) {\n .flex-item-label[_ngcontent-%COMP%] {\n flex-basis: 100%;\n }\n\n .flex-item-information[_ngcontent-%COMP%] {\n flex-basis: 100%;\n }\n}\n\n@media (min-width: 1000px) {\n .flex-item-label[_ngcontent-%COMP%] {\n flex-basis: 20%;\n }\n\n .flex-item-information[_ngcontent-%COMP%] {\n flex-basis: 80%;\n }\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL21zLXBhcnQuY29tcG9uZW50LnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7RUFDSSxtQkFBQTtBQUNKOztBQUVBO0VBQ0ksYUFBQTtFQUNBLG1CQUFBO0VBQ0EsZUFBQTtBQUNKOztBQUVBO0VBQ0ksZ0JBQUE7QUFDSjs7QUFFQTtFQUNJLGdCQUFBO0VBQ0EscUJBQUE7QUFDSjs7QUFFQTtFQUNJO0lBQ0ksZUFBQTtFQUNOOztFQUVFO0lBQ0ksZUFBQTtFQUNOO0FBQ0Y7O0FBRUE7RUFDSTtJQUNJLGdCQUFBO0VBQU47O0VBR0U7SUFDSSxnQkFBQTtFQUFOO0FBQ0Y7O0FBR0E7RUFDSTtJQUNJLGVBQUE7RUFETjs7RUFJRTtJQUNJLGVBQUE7RUFETjtBQUNGIiwiZmlsZSI6Im1zLXBhcnQuY29tcG9uZW50LnNjc3MiLCJzb3VyY2VzQ29udGVudCI6WyIubXNQYXJ0IHtcbiAgICBtYXJnaW4tYm90dG9tOiAycmVtO1xufVxuXG4uZmxleC1jb250YWluZXIge1xuICAgIGRpc3BsYXk6IGZsZXg7XG4gICAgZmxleC1kaXJlY3Rpb246IHJvdztcbiAgICBmbGV4LXdyYXA6IHdyYXA7XG59XG5cbi5mbGV4LWl0ZW0tbGFiZWwge1xuICAgIGZsZXgtYmFzaXM6IDEwMCU7XG59XG5cbi5mbGV4LWl0ZW0taW5mb3JtYXRpb24ge1xuICAgIGZsZXgtYmFzaXM6IDEwMCU7XG4gICAgbWFyZ2luLWJvdHRvbTogMC43cmVtO1xufVxuXG5AbWVkaWEgKG1pbi13aWR0aDogNTAwcHgpIHsgXG4gICAgLmZsZXgtaXRlbS1sYWJlbCB7XG4gICAgICAgIGZsZXgtYmFzaXM6IDIwJTtcbiAgICAgIH1cbiAgICAgIFxuICAgIC5mbGV4LWl0ZW0taW5mb3JtYXRpb24ge1xuICAgICAgICBmbGV4LWJhc2lzOiA4MCU7XG4gICAgfVxufVxuXG5AbWVkaWEgKG1pbi13aWR0aDogNjQwcHgpIHsgXG4gICAgLmZsZXgtaXRlbS1sYWJlbCB7XG4gICAgICAgIGZsZXgtYmFzaXM6IDEwMCU7XG4gICAgfVxuXG4gICAgLmZsZXgtaXRlbS1pbmZvcm1hdGlvbiB7XG4gICAgICAgIGZsZXgtYmFzaXM6MTAwJVxuICAgIH1cbiB9XG5cbkBtZWRpYSAobWluLXdpZHRoOiAxMDAwcHgpIHsgXG4gICAgLmZsZXgtaXRlbS1sYWJlbCB7XG4gICAgICAgIGZsZXgtYmFzaXM6IDIwJTtcbiAgICAgIH1cbiAgICAgIFxuICAgIC5mbGV4LWl0ZW0taW5mb3JtYXRpb24ge1xuICAgICAgICBmbGV4LWJhc2lzOiA4MCU7XG4gICAgfVxuIH1cbiJdfQ== */"] });
  8068. MsPartComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  8069. Object(_services_component_register_service__WEBPACK_IMPORTED_MODULE_3__["register"])(_models_evt_models__WEBPACK_IMPORTED_MODULE_2__["MsPart"])
  8070. ], MsPartComponent);
  8071. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](MsPartComponent, [{
  8072. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
  8073. args: [{
  8074. selector: 'evt-ms-part',
  8075. templateUrl: './ms-part.component.html',
  8076. styleUrls: ['./ms-part.component.scss'],
  8077. }]
  8078. }], null, { data: [{
  8079. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
  8080. }] }); })();
  8081. /***/ }),
  8082. /***/ "HJJq":
  8083. /*!*************************************************************!*\
  8084. !*** ./src/app/components/paragraph/paragraph.component.ts ***!
  8085. \*************************************************************/
  8086. /*! exports provided: ParagraphComponent */
  8087. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  8088. "use strict";
  8089. __webpack_require__.r(__webpack_exports__);
  8090. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ParagraphComponent", function() { return ParagraphComponent; });
  8091. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "mrSG");
  8092. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "fXoL");
  8093. /* harmony import */ var _models_evt_models__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../models/evt-models */ "5c0l");
  8094. /* harmony import */ var _services_component_register_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../services/component-register.service */ "d25s");
  8095. /* harmony import */ var _directives_html_attributes_directive__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../directives/html-attributes.directive */ "0Bbq");
  8096. /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/common */ "ofXK");
  8097. /* harmony import */ var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../content-viewer/content-viewer.component */ "t6RO");
  8098. /* harmony import */ var _directives_highlight_directive__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../directives/highlight.directive */ "CmGG");
  8099. function ParagraphComponent_span_1_Template(rf, ctx) { if (rf & 1) {
  8100. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 3);
  8101. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1);
  8102. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  8103. } if (rf & 2) {
  8104. const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  8105. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  8106. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](ctx_r0.data.n);
  8107. } }
  8108. function ParagraphComponent_evt_content_viewer_2_Template(rf, ctx) { if (rf & 1) {
  8109. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 4);
  8110. } if (rf & 2) {
  8111. const el_r2 = ctx.$implicit;
  8112. const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  8113. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", el_r2)("editionLevel", ctx_r1.editionLevel)("itemsToHighlight", ctx_r1.itemsToHighlight)("itemsLemsToHighlight", ctx_r1.itemsLemsToHighlight)("itemsIperlemsToHighlight", ctx_r1.itemsIperlemsToHighlight)("evtHighlight", ctx_r1.highlightData)("textFlow", ctx_r1.textFlow);
  8114. } }
  8115. let ParagraphComponent = class ParagraphComponent {
  8116. };
  8117. ParagraphComponent.ɵfac = function ParagraphComponent_Factory(t) { return new (t || ParagraphComponent)(); };
  8118. ParagraphComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({ type: ParagraphComponent, selectors: [["evt-paragraph"]], inputs: { data: "data" }, decls: 3, vars: 3, consts: [[3, "evtHtmlAttributes"], ["class", "p-num", 4, "ngIf"], [3, "content", "editionLevel", "itemsToHighlight", "itemsLemsToHighlight", "itemsIperlemsToHighlight", "evtHighlight", "textFlow", 4, "ngFor", "ngForOf"], [1, "p-num"], [3, "content", "editionLevel", "itemsToHighlight", "itemsLemsToHighlight", "itemsIperlemsToHighlight", "evtHighlight", "textFlow"]], template: function ParagraphComponent_Template(rf, ctx) { if (rf & 1) {
  8119. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "p", 0);
  8120. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, ParagraphComponent_span_1_Template, 2, 1, "span", 1);
  8121. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, ParagraphComponent_evt_content_viewer_2_Template, 1, 7, "evt-content-viewer", 2);
  8122. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  8123. } if (rf & 2) {
  8124. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("evtHtmlAttributes", ctx.data == null ? null : ctx.data.attributes);
  8125. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  8126. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data.n);
  8127. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  8128. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx.data.content);
  8129. } }, directives: [_directives_html_attributes_directive__WEBPACK_IMPORTED_MODULE_4__["HtmlAttributesDirective"], _angular_common__WEBPACK_IMPORTED_MODULE_5__["NgIf"], _angular_common__WEBPACK_IMPORTED_MODULE_5__["NgForOf"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_6__["ContentViewerComponent"], _directives_highlight_directive__WEBPACK_IMPORTED_MODULE_7__["HighlightDirective"]], styles: [".p-num[_ngcontent-%COMP%] {\n font-size: 0.8em;\n padding-right: 0.3rem;\n}\n[data-theme=restore][_nghost-%COMP%] .p-num[_ngcontent-%COMP%], [data-theme=restore] [_nghost-%COMP%] .p-num[_ngcontent-%COMP%], [data-theme=restore][_ngcontent-%COMP%] .p-num[_ngcontent-%COMP%] {\n color: #783a3a;\n}\n[data-theme=neutral][_nghost-%COMP%] .p-num[_ngcontent-%COMP%], [data-theme=neutral] [_nghost-%COMP%] .p-num[_ngcontent-%COMP%], [data-theme=neutral][_ngcontent-%COMP%] .p-num[_ngcontent-%COMP%] {\n color: #555;\n}\n[data-theme=modern][_nghost-%COMP%] .p-num[_ngcontent-%COMP%], [data-theme=modern] [_nghost-%COMP%] .p-num[_ngcontent-%COMP%], [data-theme=modern][_ngcontent-%COMP%] .p-num[_ngcontent-%COMP%] {\n color: #607d8b;\n}\n[data-theme=classic][_nghost-%COMP%] .p-num[_ngcontent-%COMP%], [data-theme=classic] [_nghost-%COMP%] .p-num[_ngcontent-%COMP%], [data-theme=classic][_ngcontent-%COMP%] .p-num[_ngcontent-%COMP%] {\n color: #8f776a;\n}\n.p-num[_ngcontent-%COMP%]::after {\n content: \".\";\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3BhcmFncmFwaC5jb21wb25lbnQuc2NzcyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2Fzc2V0cy9zY3NzL190aGVtZXMuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFQTtFQUNFLGdCQUFBO0VBQ0EscUJBQUE7QUFERjtBQ3NGUTtFRGxGSixjQUFBO0FBREo7QUNtRlE7RURsRkosV0FBQTtBQUVKO0FDZ0ZRO0VEbEZKLGNBQUE7QUFLSjtBQzZFUTtFRGxGSixjQUFBO0FBUUo7QUFMRTtFQUNFLFlBQUE7QUFPSiIsImZpbGUiOiJwYXJhZ3JhcGguY29tcG9uZW50LnNjc3MiLCJzb3VyY2VzQ29udGVudCI6WyJAaW1wb3J0IFwiLi4vLi4vLi4vYXNzZXRzL3Njc3MvdGhlbWVzXCI7XG5cbi5wLW51bSB7XG4gIGZvbnQtc2l6ZTogLjhlbTtcbiAgcGFkZGluZy1yaWdodDogLjNyZW07XG5cbiAgQGluY2x1ZGUgdGhlbWlmeSgkdGhlbWVzKSB7XG4gICAgY29sb3I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eVNlbGYoJHRoZW1lczogJHRoZW1lcykge1xuICAgIEBlYWNoICR0aGVtZSwgJG1hcCBpbiAkdGhlbWVzIHtcbiAgICAgICAgICZbZGF0YS10aGVtZT1cIiN7JHRoZW1lfVwiXSB7XG4gICAgICAgICAgICAkdGhlbWUtbWFwOiAoKSAhZ2xvYmFsO1xuICAgICAgICAgICAgQGVhY2ggJGtleSwgJHN1Ym1hcCBpbiAkbWFwIHtcbiAgICAgICAgICAgICAgICAkdmFsdWU6IG1hcC1nZXQobWFwLWdldCgkdGhlbWVzLCAkdGhlbWUpLCAnI3ska2V5fScpO1xuICAgICAgICAgICAgICAgICR0aGVtZS1tYXA6IG1hcC1tZXJnZSgkdGhlbWUtbWFwLCAoJGtleTogJHZhbHVlKSkgIWdsb2JhbDtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIEBjb250ZW50O1xuICAgICAgICAgICAgJHRoZW1lLW1hcDogbnVsbCAhZ2xvYmFsO1xuICAgICAgICB9XG4gICAgfVxufVxuXG5AZnVuY3Rpb24gdGhlbWVkKCRrZXkpIHtcbiAgICBAcmV0dXJuIG1hcC1nZXQoJHRoZW1lLW1hcCwgJGtleSk7XG59XG5cbiJdfQ== */"] });
  8130. ParagraphComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  8131. Object(_services_component_register_service__WEBPACK_IMPORTED_MODULE_3__["register"])(_models_evt_models__WEBPACK_IMPORTED_MODULE_2__["Paragraph"])
  8132. ], ParagraphComponent);
  8133. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](ParagraphComponent, [{
  8134. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
  8135. args: [{
  8136. selector: 'evt-paragraph',
  8137. templateUrl: './paragraph.component.html',
  8138. styleUrls: ['./paragraph.component.scss'],
  8139. }]
  8140. }], null, { data: [{
  8141. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
  8142. }] }); })();
  8143. /***/ }),
  8144. /***/ "HPGp":
  8145. /*!*************************************************!*\
  8146. !*** ./src/app/components/gap/gap.component.ts ***!
  8147. \*************************************************/
  8148. /*! exports provided: GapComponent */
  8149. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  8150. "use strict";
  8151. __webpack_require__.r(__webpack_exports__);
  8152. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "GapComponent", function() { return GapComponent; });
  8153. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "mrSG");
  8154. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "fXoL");
  8155. /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs/operators */ "kU1M");
  8156. /* harmony import */ var src_app_models_evt_models__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! src/app/models/evt-models */ "5c0l");
  8157. /* harmony import */ var src_app_services_component_register_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! src/app/services/component-register.service */ "d25s");
  8158. /* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @ngx-translate/core */ "sYmb");
  8159. /* harmony import */ var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @ng-bootstrap/ng-bootstrap */ "1kSV");
  8160. /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @angular/common */ "ofXK");
  8161. let GapComponent = class GapComponent {
  8162. constructor(translateService) {
  8163. this.translateService = translateService;
  8164. }
  8165. get content() {
  8166. if (!!this.data.unit && !!this.data.quantity) {
  8167. switch (this.data.unit) {
  8168. case 'char':
  8169. return `[${'.'.repeat(this.data.quantity)}]`;
  8170. case 'line':
  8171. return '<span class="line-gap"></span>'.repeat(this.data.quantity);
  8172. case 'word':
  8173. return `[${'... '.repeat(this.data.quantity).slice(0, -1)}]`;
  8174. default:
  8175. return '[***]';
  8176. }
  8177. }
  8178. else if (this.data.extent) {
  8179. return `[${this.data.extent}]`;
  8180. }
  8181. return '[***]';
  8182. }
  8183. get gapDescription$() {
  8184. return this.translateService.get([this.data.unit, `${this.data.unit}s`, 'missingS', 'missingP', this.data.extent, this.data.reason])
  8185. .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])((translations) => {
  8186. let desc = '';
  8187. if (!!this.data.unit || !!this.data.quantity) {
  8188. const unit = this.data.quantity > 1 ? translations[`${this.data.unit}s`] : translations[this.data.unit];
  8189. const missing = this.data.quantity > 1 ? translations.missingP : translations.missingS;
  8190. desc = this.data.quantity ? `${this.data.quantity} ${unit} ${missing}` : `${unit}`;
  8191. }
  8192. else if (this.data.extent) {
  8193. desc = translations[this.data.extent];
  8194. }
  8195. desc += (this.data.reason ? ` (${translations[this.data.reason]})` : '').trim();
  8196. return translations[this.data.extent] === desc ? '' : desc;
  8197. }));
  8198. }
  8199. };
  8200. GapComponent.ɵfac = function GapComponent_Factory(t) { return new (t || GapComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_ngx_translate_core__WEBPACK_IMPORTED_MODULE_5__["TranslateService"])); };
  8201. GapComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({ type: GapComponent, selectors: [["evt-gap"]], inputs: { data: "data" }, decls: 2, vars: 7, consts: [["triggers", "mouseenter:mouseleave", 3, "innerHTML", "ngbPopover"]], template: function GapComponent_Template(rf, ctx) { if (rf & 1) {
  8202. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "span", 0);
  8203. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](1, "async");
  8204. } if (rf & 2) {
  8205. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵclassMapInterpolate1"]("gap ", ctx.data.class, "");
  8206. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("innerHTML", ctx.content, _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵsanitizeHtml"])("ngbPopover", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](1, 5, ctx.gapDescription$));
  8207. } }, directives: [_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_6__["NgbPopover"]], pipes: [_angular_common__WEBPACK_IMPORTED_MODULE_7__["AsyncPipe"]], styles: [".gap[_ngcontent-%COMP%]:hover {\n background: #ffffcc;\n}\n\n .gap:hover .line-gap {\n background: #ffffcc;\n}\n\n .gap .line-gap {\n display: block;\n position: relative;\n}\n\n .gap .line-gap:before {\n content: \"[\";\n}\n\n .gap .line-gap:after {\n content: \"]\";\n position: absolute;\n right: 0;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2dhcC5jb21wb25lbnQuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFLSTtFQUNJLG1CQUphO0FBQXJCOztBQVFJO0VBQ0ksbUJBVGE7QUFJckI7O0FBT0k7RUFDSSxjQUFBO0VBQ0Esa0JBQUE7QUFMUjs7QUFNUTtFQUNJLFlBQUE7QUFKWjs7QUFNUTtFQUNJLFlBQUE7RUFDQSxrQkFBQTtFQUNBLFFBQUE7QUFKWiIsImZpbGUiOiJnYXAuY29tcG9uZW50LnNjc3MiLCJzb3VyY2VzQ29udGVudCI6WyJAaW1wb3J0ICcuLi8uLi8uLi9hc3NldHMvc2Nzcy9jb2xvcnMnO1xuXG4kZ2FwSG92ZXJCYWNrZ3JvdW5kOiBnZXQtY29sb3IoaGlnaGxpZ2h0Q29sb3IpO1xuXG4uZ2FwIHtcbiAgICAmOmhvdmVyIHtcbiAgICAgICAgYmFja2dyb3VuZDogJGdhcEhvdmVyQmFja2dyb3VuZDtcbiAgICB9XG59XG46Om5nLWRlZXAgLmdhcCB7XG4gICAgJjpob3ZlciAubGluZS1nYXAge1xuICAgICAgICBiYWNrZ3JvdW5kOiAkZ2FwSG92ZXJCYWNrZ3JvdW5kO1xuICAgIH1cbiAgICAubGluZS1nYXAge1xuICAgICAgICBkaXNwbGF5OiBibG9jaztcbiAgICAgICAgcG9zaXRpb246IHJlbGF0aXZlO1xuICAgICAgICAmOmJlZm9yZSB7XG4gICAgICAgICAgICBjb250ZW50OiBcIltcIjtcbiAgICAgICAgfVxuICAgICAgICAmOmFmdGVyIHtcbiAgICAgICAgICAgIGNvbnRlbnQ6IFwiXVwiO1xuICAgICAgICAgICAgcG9zaXRpb246IGFic29sdXRlO1xuICAgICAgICAgICAgcmlnaHQ6IDA7XG4gICAgICAgIH1cbiAgICB9XG59XG4iXX0= */"] });
  8208. GapComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  8209. Object(src_app_services_component_register_service__WEBPACK_IMPORTED_MODULE_4__["register"])(src_app_models_evt_models__WEBPACK_IMPORTED_MODULE_3__["Gap"])
  8210. ], GapComponent);
  8211. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](GapComponent, [{
  8212. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
  8213. args: [{
  8214. selector: 'evt-gap',
  8215. templateUrl: './gap.component.html',
  8216. styleUrls: ['./gap.component.scss'],
  8217. }]
  8218. }], function () { return [{ type: _ngx_translate_core__WEBPACK_IMPORTED_MODULE_5__["TranslateService"] }]; }, { data: [{
  8219. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
  8220. }] }); })();
  8221. /***/ }),
  8222. /***/ "HiHV":
  8223. /*!********************************************************!*\
  8224. !*** ./src/app/ui-components/panel/panel.component.ts ***!
  8225. \********************************************************/
  8226. /*! exports provided: PanelComponent */
  8227. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  8228. "use strict";
  8229. __webpack_require__.r(__webpack_exports__);
  8230. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PanelComponent", function() { return PanelComponent; });
  8231. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "fXoL");
  8232. /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/common */ "ofXK");
  8233. /* harmony import */ var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @ng-bootstrap/ng-bootstrap */ "1kSV");
  8234. /* harmony import */ var _button_button_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../button/button.component */ "UjKN");
  8235. const _c0 = function () { return { icon: "times" }; };
  8236. function PanelComponent_div_1_evt_button_6_Template(rf, ctx) { if (rf & 1) {
  8237. const _r4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
  8238. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "evt-button", 8);
  8239. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("btnClick", function PanelComponent_div_1_evt_button_6_Template_evt_button_btnClick_0_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r4); const ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2); return ctx_r3.emitHide(); });
  8240. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  8241. } if (rf & 2) {
  8242. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("iconLeft", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction0"](1, _c0));
  8243. } }
  8244. function PanelComponent_div_1_Template(rf, ctx) { if (rf & 1) {
  8245. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 5);
  8246. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "nav", 6);
  8247. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "div");
  8248. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵprojection"](3, 2);
  8249. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  8250. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "div");
  8251. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵprojection"](5, 3);
  8252. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  8253. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](6, PanelComponent_div_1_evt_button_6_Template, 1, 2, "evt-button", 7);
  8254. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  8255. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  8256. } if (rf & 2) {
  8257. const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
  8258. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](6);
  8259. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r0.closable);
  8260. } }
  8261. function PanelComponent_div_6_Template(rf, ctx) { if (rf & 1) {
  8262. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 9);
  8263. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵprojection"](1, 4);
  8264. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  8265. } }
  8266. const _c1 = [[["", "content", ""]], [["", "secondary-content", ""]], [["", "header-left", ""]], [["", "header-right", ""]], [["", "footer", ""]]];
  8267. const _c2 = ["[content]", "[secondary-content]", "[header-left]", "[header-right]", "[footer]"];
  8268. class PanelComponent {
  8269. constructor() {
  8270. this.hide = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
  8271. this.scrollContent = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
  8272. }
  8273. ngOnInit() {
  8274. this.comparable = this.comparable === undefined ? false : this.comparable;
  8275. this.secondary = this.secondary === undefined ? false : this.secondary;
  8276. this.closable = this.closable === undefined ? false : this.closable;
  8277. this.hideHeader = this.hideHeader === undefined ? false : this.hideHeader;
  8278. this.hideFooter = this.hideFooter === undefined ? false : this.hideFooter;
  8279. this.showSecondaryContent = this.showSecondaryContent === undefined ? false : this.showSecondaryContent;
  8280. }
  8281. isSecondaryContentOpened() {
  8282. return this.showSecondaryContent;
  8283. }
  8284. emitHide() {
  8285. this.hide.emit(true);
  8286. }
  8287. onScroll(event) {
  8288. event.preventDefault();
  8289. this.scrollContent.emit(event);
  8290. }
  8291. }
  8292. PanelComponent.ɵfac = function PanelComponent_Factory(t) { return new (t || PanelComponent)(); };
  8293. PanelComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: PanelComponent, selectors: [["evt-panel"]], inputs: { comparable: "comparable", secondary: "secondary", closable: "closable", hideHeader: "hideHeader", hideFooter: "hideFooter", showSecondaryContent: "showSecondaryContent" }, outputs: { hide: "hide", scrollContent: "scrollContent" }, ngContentSelectors: _c2, decls: 7, vars: 16, consts: [[1, "panel", "card"], ["class", "panel-header header card-header", 4, "ngIf"], [1, "panel-content", "content", "card-content", 3, "scroll"], [1, "secondary-content", "card-content"], ["class", "footer card-footer", 4, "ngIf"], [1, "panel-header", "header", "card-header"], [1, "navbar"], ["additionalClasses", "rounded-circle btn-close", 3, "iconLeft", "btnClick", 4, "ngIf"], ["additionalClasses", "rounded-circle btn-close", 3, "iconLeft", "btnClick"], [1, "footer", "card-footer"]], template: function PanelComponent_Template(rf, ctx) { if (rf & 1) {
  8294. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵprojectionDef"](_c1);
  8295. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 0);
  8296. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, PanelComponent_div_1_Template, 7, 1, "div", 1);
  8297. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "div", 2);
  8298. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("scroll", function PanelComponent_Template_div_scroll_2_listener($event) { return ctx.onScroll($event); });
  8299. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵprojection"](3);
  8300. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  8301. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "div", 3);
  8302. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵprojection"](5, 1);
  8303. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  8304. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](6, PanelComponent_div_6_Template, 2, 0, "div", 4);
  8305. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  8306. } if (rf & 2) {
  8307. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵclassProp"]("comparable", ctx.comparable)("secondary", ctx.secondary);
  8308. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  8309. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", !ctx.hideHeader);
  8310. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  8311. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵclassProp"]("noFooter", ctx.hideFooter)("noHeader", ctx.hideHeader)("p-4", !ctx.hideHeader || !ctx.hideFooter);
  8312. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
  8313. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵclassProp"]("open", ctx.isSecondaryContentOpened())("noFooter", ctx.hideFooter);
  8314. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
  8315. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", !ctx.hideFooter);
  8316. } }, directives: [_angular_common__WEBPACK_IMPORTED_MODULE_1__["NgIf"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_2__["NgbNavbar"], _button_button_component__WEBPACK_IMPORTED_MODULE_3__["ButtonComponent"]], styles: ["[_ngcontent-%COMP%]:root {\n --thumbnail-height: 150px;\n --thumbnail-width: 100px;\n}\n\n.panel[_ngcontent-%COMP%] {\n white-space: normal;\n position: relative;\n height: 100%;\n}\n\n.panel[_ngcontent-%COMP%]:not(.comparable) {\n width: 100%;\n}\n\n.panel.comparable[_ngcontent-%COMP%] {\n width: 100%;\n height: 100%;\n}\n\n.panel[_ngcontent-%COMP%] .header[_ngcontent-%COMP%], .panel[_ngcontent-%COMP%] .footer[_ngcontent-%COMP%] {\n height: 42px;\n min-height: 42px;\n font-size: 16px;\n padding: 6px;\n}\n\n.panel[_ngcontent-%COMP%] .header[_ngcontent-%COMP%] .navbar[_ngcontent-%COMP%], .panel[_ngcontent-%COMP%] .footer[_ngcontent-%COMP%] .navbar[_ngcontent-%COMP%] {\n padding: 0;\n}\n\n.panel[_ngcontent-%COMP%] .footer[_ngcontent-%COMP%] {\n padding: 3px 6px 6px;\n}\n\n.panel[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] {\n min-height: -o-calc(100% - 84px);\n min-height: calc(100% - 84px);\n height: -o-calc(100% - 84px);\n height: calc(100% - 84px);\n padding: 0.4rem;\n overflow: auto;\n font-size: 18px;\n}\n\n.panel[_ngcontent-%COMP%] .content.noHeader[_ngcontent-%COMP%] {\n min-height: -o-calc(100% - 42px);\n min-height: calc(100% - 42px);\n height: -o-calc(100% - 42px);\n height: calc(100% - 42px);\n}\n\n.panel[_ngcontent-%COMP%] .content.noFooter[_ngcontent-%COMP%] {\n min-height: -o-calc(100% - 42px);\n min-height: calc(100% - 42px);\n height: -o-calc(100% - 42px);\n height: calc(100% - 42px);\n}\n\n.panel[_ngcontent-%COMP%] .content.noHeader.noFooter[_ngcontent-%COMP%] {\n min-height: -o-calc(100%);\n min-height: calc(100%);\n height: -o-calc(100%);\n height: calc(100%);\n}\n\n.panel[_ngcontent-%COMP%] .secondary-content[_ngcontent-%COMP%] {\n text-align: left;\n margin-top: 42px;\n margin-bottom: 42px;\n display: none;\n position: absolute;\n z-index: 10;\n padding: 20px;\n overflow-y: auto;\n overflow-x: hidden;\n top: 2px;\n right: 3px;\n left: 3px;\n background: rgba(255, 255, 255, 0.95);\n min-height: -o-calc(calc(100% - 84px - 4px));\n min-height: calc(calc(100% - 84px - 4px));\n height: -o-calc(calc(100% - 84px - 4px));\n height: calc(calc(100% - 84px - 4px));\n width: -o-calc(calc(100% - 5px));\n width: calc(calc(100% - 5px));\n}\n\n.panel[_ngcontent-%COMP%] .secondary-content.noFooter[_ngcontent-%COMP%] {\n min-height: -o-calc(calc(100% - 42px - 4px));\n min-height: calc(calc(100% - 42px - 4px));\n height: -o-calc(calc(100% - 42px - 4px));\n height: calc(calc(100% - 42px - 4px));\n}\n\n.panel[_ngcontent-%COMP%] .secondary-content.open[_ngcontent-%COMP%] {\n display: block;\n}\n\n.panel[_ngcontent-%COMP%] .secondary-content[_ngcontent-%COMP%] [_ngcontent-%COMP%]:ng-deep p[_ngcontent-%COMP%] {\n margin-bottom: 0;\n}\n\n[data-theme=restore][_nghost-%COMP%] .panel[_ngcontent-%COMP%], [data-theme=restore] [_nghost-%COMP%] .panel[_ngcontent-%COMP%], [data-theme=restore][_ngcontent-%COMP%] .panel[_ngcontent-%COMP%] {\n color: #462e2e;\n background-color: #fff;\n}\n\n[data-theme=restore][_nghost-%COMP%] .panel[_ngcontent-%COMP%] .header[_ngcontent-%COMP%], [data-theme=restore] [_nghost-%COMP%] .panel[_ngcontent-%COMP%] .header[_ngcontent-%COMP%], [data-theme=restore][_nghost-%COMP%] .panel[_ngcontent-%COMP%] .footer[_ngcontent-%COMP%], [data-theme=restore] [_nghost-%COMP%] .panel[_ngcontent-%COMP%] .footer[_ngcontent-%COMP%], [data-theme=restore][_ngcontent-%COMP%] .panel[_ngcontent-%COMP%] .header[_ngcontent-%COMP%], [data-theme=restore][_ngcontent-%COMP%] .panel[_ngcontent-%COMP%] .footer[_ngcontent-%COMP%] {\n color: #e9e9e9;\n background-color: #0a4553;\n}\n\n[data-theme=restore][_nghost-%COMP%] .panel[_ngcontent-%COMP%] .content[_ngcontent-%COMP%], [data-theme=restore] [_nghost-%COMP%] .panel[_ngcontent-%COMP%] .content[_ngcontent-%COMP%], [data-theme=restore][_ngcontent-%COMP%] .panel[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] {\n border: 2px solid #0a4553;\n}\n\n[data-theme=restore][_nghost-%COMP%] .panel[_ngcontent-%COMP%] .secondary-content[_ngcontent-%COMP%], [data-theme=restore] [_nghost-%COMP%] .panel[_ngcontent-%COMP%] .secondary-content[_ngcontent-%COMP%], [data-theme=restore][_ngcontent-%COMP%] .panel[_ngcontent-%COMP%] .secondary-content[_ngcontent-%COMP%] {\n background: rgba(236, 239, 241, 0.95);\n}\n\n[data-theme=restore][_nghost-%COMP%] .panel.secondary[_ngcontent-%COMP%] .header[_ngcontent-%COMP%], [data-theme=restore] [_nghost-%COMP%] .panel.secondary[_ngcontent-%COMP%] .header[_ngcontent-%COMP%], [data-theme=restore][_nghost-%COMP%] .panel.secondary[_ngcontent-%COMP%] .footer[_ngcontent-%COMP%], [data-theme=restore] [_nghost-%COMP%] .panel.secondary[_ngcontent-%COMP%] .footer[_ngcontent-%COMP%], [data-theme=restore][_ngcontent-%COMP%] .panel.secondary[_ngcontent-%COMP%] .header[_ngcontent-%COMP%], [data-theme=restore][_ngcontent-%COMP%] .panel.secondary[_ngcontent-%COMP%] .footer[_ngcontent-%COMP%] {\n color: #e9e9e9;\n background-color: #783a3a;\n}\n\n[data-theme=restore][_nghost-%COMP%] .panel.secondary[_ngcontent-%COMP%] .content[_ngcontent-%COMP%], [data-theme=restore] [_nghost-%COMP%] .panel.secondary[_ngcontent-%COMP%] .content[_ngcontent-%COMP%], [data-theme=restore][_ngcontent-%COMP%] .panel.secondary[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] {\n border-color: #783a3a;\n}\n\n[data-theme=restore][_nghost-%COMP%] .panel.secondary[_ngcontent-%COMP%] .secondary-content[_ngcontent-%COMP%], [data-theme=restore] [_nghost-%COMP%] .panel.secondary[_ngcontent-%COMP%] .secondary-content[_ngcontent-%COMP%], [data-theme=restore][_ngcontent-%COMP%] .panel.secondary[_ngcontent-%COMP%] .secondary-content[_ngcontent-%COMP%] {\n background: rgba(236, 239, 241, 0.95);\n}\n\n[data-theme=neutral][_nghost-%COMP%] .panel[_ngcontent-%COMP%], [data-theme=neutral] [_nghost-%COMP%] .panel[_ngcontent-%COMP%], [data-theme=neutral][_ngcontent-%COMP%] .panel[_ngcontent-%COMP%] {\n color: #000;\n background-color: #fff;\n}\n\n[data-theme=neutral][_nghost-%COMP%] .panel[_ngcontent-%COMP%] .header[_ngcontent-%COMP%], [data-theme=neutral] [_nghost-%COMP%] .panel[_ngcontent-%COMP%] .header[_ngcontent-%COMP%], [data-theme=neutral][_nghost-%COMP%] .panel[_ngcontent-%COMP%] .footer[_ngcontent-%COMP%], [data-theme=neutral] [_nghost-%COMP%] .panel[_ngcontent-%COMP%] .footer[_ngcontent-%COMP%], [data-theme=neutral][_ngcontent-%COMP%] .panel[_ngcontent-%COMP%] .header[_ngcontent-%COMP%], [data-theme=neutral][_ngcontent-%COMP%] .panel[_ngcontent-%COMP%] .footer[_ngcontent-%COMP%] {\n color: #fff;\n background-color: #45535a;\n}\n\n[data-theme=neutral][_nghost-%COMP%] .panel[_ngcontent-%COMP%] .content[_ngcontent-%COMP%], [data-theme=neutral] [_nghost-%COMP%] .panel[_ngcontent-%COMP%] .content[_ngcontent-%COMP%], [data-theme=neutral][_ngcontent-%COMP%] .panel[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] {\n border: 2px solid #45535a;\n}\n\n[data-theme=neutral][_nghost-%COMP%] .panel[_ngcontent-%COMP%] .secondary-content[_ngcontent-%COMP%], [data-theme=neutral] [_nghost-%COMP%] .panel[_ngcontent-%COMP%] .secondary-content[_ngcontent-%COMP%], [data-theme=neutral][_ngcontent-%COMP%] .panel[_ngcontent-%COMP%] .secondary-content[_ngcontent-%COMP%] {\n background: rgba(255, 255, 255, 0.95);\n}\n\n[data-theme=neutral][_nghost-%COMP%] .panel.secondary[_ngcontent-%COMP%] .header[_ngcontent-%COMP%], [data-theme=neutral] [_nghost-%COMP%] .panel.secondary[_ngcontent-%COMP%] .header[_ngcontent-%COMP%], [data-theme=neutral][_nghost-%COMP%] .panel.secondary[_ngcontent-%COMP%] .footer[_ngcontent-%COMP%], [data-theme=neutral] [_nghost-%COMP%] .panel.secondary[_ngcontent-%COMP%] .footer[_ngcontent-%COMP%], [data-theme=neutral][_ngcontent-%COMP%] .panel.secondary[_ngcontent-%COMP%] .header[_ngcontent-%COMP%], [data-theme=neutral][_ngcontent-%COMP%] .panel.secondary[_ngcontent-%COMP%] .footer[_ngcontent-%COMP%] {\n color: #fff;\n background-color: #555;\n}\n\n[data-theme=neutral][_nghost-%COMP%] .panel.secondary[_ngcontent-%COMP%] .content[_ngcontent-%COMP%], [data-theme=neutral] [_nghost-%COMP%] .panel.secondary[_ngcontent-%COMP%] .content[_ngcontent-%COMP%], [data-theme=neutral][_ngcontent-%COMP%] .panel.secondary[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] {\n border-color: #555;\n}\n\n[data-theme=neutral][_nghost-%COMP%] .panel.secondary[_ngcontent-%COMP%] .secondary-content[_ngcontent-%COMP%], [data-theme=neutral] [_nghost-%COMP%] .panel.secondary[_ngcontent-%COMP%] .secondary-content[_ngcontent-%COMP%], [data-theme=neutral][_ngcontent-%COMP%] .panel.secondary[_ngcontent-%COMP%] .secondary-content[_ngcontent-%COMP%] {\n background: rgba(255, 255, 255, 0.95);\n}\n\n[data-theme=modern][_nghost-%COMP%] .panel[_ngcontent-%COMP%], [data-theme=modern] [_nghost-%COMP%] .panel[_ngcontent-%COMP%], [data-theme=modern][_ngcontent-%COMP%] .panel[_ngcontent-%COMP%] {\n color: #000;\n background-color: #fff;\n}\n\n[data-theme=modern][_nghost-%COMP%] .panel[_ngcontent-%COMP%] .header[_ngcontent-%COMP%], [data-theme=modern] [_nghost-%COMP%] .panel[_ngcontent-%COMP%] .header[_ngcontent-%COMP%], [data-theme=modern][_nghost-%COMP%] .panel[_ngcontent-%COMP%] .footer[_ngcontent-%COMP%], [data-theme=modern] [_nghost-%COMP%] .panel[_ngcontent-%COMP%] .footer[_ngcontent-%COMP%], [data-theme=modern][_ngcontent-%COMP%] .panel[_ngcontent-%COMP%] .header[_ngcontent-%COMP%], [data-theme=modern][_ngcontent-%COMP%] .panel[_ngcontent-%COMP%] .footer[_ngcontent-%COMP%] {\n color: #ECEFF1;\n background-color: #263238;\n}\n\n[data-theme=modern][_nghost-%COMP%] .panel[_ngcontent-%COMP%] .content[_ngcontent-%COMP%], [data-theme=modern] [_nghost-%COMP%] .panel[_ngcontent-%COMP%] .content[_ngcontent-%COMP%], [data-theme=modern][_ngcontent-%COMP%] .panel[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] {\n border: 2px solid #263238;\n}\n\n[data-theme=modern][_nghost-%COMP%] .panel[_ngcontent-%COMP%] .secondary-content[_ngcontent-%COMP%], [data-theme=modern] [_nghost-%COMP%] .panel[_ngcontent-%COMP%] .secondary-content[_ngcontent-%COMP%], [data-theme=modern][_ngcontent-%COMP%] .panel[_ngcontent-%COMP%] .secondary-content[_ngcontent-%COMP%] {\n background: rgba(236, 239, 241, 0.95);\n}\n\n[data-theme=modern][_nghost-%COMP%] .panel.secondary[_ngcontent-%COMP%] .header[_ngcontent-%COMP%], [data-theme=modern] [_nghost-%COMP%] .panel.secondary[_ngcontent-%COMP%] .header[_ngcontent-%COMP%], [data-theme=modern][_nghost-%COMP%] .panel.secondary[_ngcontent-%COMP%] .footer[_ngcontent-%COMP%], [data-theme=modern] [_nghost-%COMP%] .panel.secondary[_ngcontent-%COMP%] .footer[_ngcontent-%COMP%], [data-theme=modern][_ngcontent-%COMP%] .panel.secondary[_ngcontent-%COMP%] .header[_ngcontent-%COMP%], [data-theme=modern][_ngcontent-%COMP%] .panel.secondary[_ngcontent-%COMP%] .footer[_ngcontent-%COMP%] {\n color: #ECEFF1;\n background-color: #607d8b;\n}\n\n[data-theme=modern][_nghost-%COMP%] .panel.secondary[_ngcontent-%COMP%] .content[_ngcontent-%COMP%], [data-theme=modern] [_nghost-%COMP%] .panel.secondary[_ngcontent-%COMP%] .content[_ngcontent-%COMP%], [data-theme=modern][_ngcontent-%COMP%] .panel.secondary[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] {\n border-color: #607d8b;\n}\n\n[data-theme=modern][_nghost-%COMP%] .panel.secondary[_ngcontent-%COMP%] .secondary-content[_ngcontent-%COMP%], [data-theme=modern] [_nghost-%COMP%] .panel.secondary[_ngcontent-%COMP%] .secondary-content[_ngcontent-%COMP%], [data-theme=modern][_ngcontent-%COMP%] .panel.secondary[_ngcontent-%COMP%] .secondary-content[_ngcontent-%COMP%] {\n background: rgba(236, 239, 241, 0.95);\n}\n\n[data-theme=classic][_nghost-%COMP%] .panel[_ngcontent-%COMP%], [data-theme=classic] [_nghost-%COMP%] .panel[_ngcontent-%COMP%], [data-theme=classic][_ngcontent-%COMP%] .panel[_ngcontent-%COMP%] {\n color: #000;\n background-color: #fff;\n}\n\n[data-theme=classic][_nghost-%COMP%] .panel[_ngcontent-%COMP%] .header[_ngcontent-%COMP%], [data-theme=classic] [_nghost-%COMP%] .panel[_ngcontent-%COMP%] .header[_ngcontent-%COMP%], [data-theme=classic][_nghost-%COMP%] .panel[_ngcontent-%COMP%] .footer[_ngcontent-%COMP%], [data-theme=classic] [_nghost-%COMP%] .panel[_ngcontent-%COMP%] .footer[_ngcontent-%COMP%], [data-theme=classic][_ngcontent-%COMP%] .panel[_ngcontent-%COMP%] .header[_ngcontent-%COMP%], [data-theme=classic][_ngcontent-%COMP%] .panel[_ngcontent-%COMP%] .footer[_ngcontent-%COMP%] {\n color: #f5ead4;\n background-color: #362d28;\n}\n\n[data-theme=classic][_nghost-%COMP%] .panel[_ngcontent-%COMP%] .content[_ngcontent-%COMP%], [data-theme=classic] [_nghost-%COMP%] .panel[_ngcontent-%COMP%] .content[_ngcontent-%COMP%], [data-theme=classic][_ngcontent-%COMP%] .panel[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] {\n border: 2px solid #362d28;\n}\n\n[data-theme=classic][_nghost-%COMP%] .panel[_ngcontent-%COMP%] .secondary-content[_ngcontent-%COMP%], [data-theme=classic] [_nghost-%COMP%] .panel[_ngcontent-%COMP%] .secondary-content[_ngcontent-%COMP%], [data-theme=classic][_ngcontent-%COMP%] .panel[_ngcontent-%COMP%] .secondary-content[_ngcontent-%COMP%] {\n background: rgba(236, 239, 241, 0.95);\n}\n\n[data-theme=classic][_nghost-%COMP%] .panel.secondary[_ngcontent-%COMP%] .header[_ngcontent-%COMP%], [data-theme=classic] [_nghost-%COMP%] .panel.secondary[_ngcontent-%COMP%] .header[_ngcontent-%COMP%], [data-theme=classic][_nghost-%COMP%] .panel.secondary[_ngcontent-%COMP%] .footer[_ngcontent-%COMP%], [data-theme=classic] [_nghost-%COMP%] .panel.secondary[_ngcontent-%COMP%] .footer[_ngcontent-%COMP%], [data-theme=classic][_ngcontent-%COMP%] .panel.secondary[_ngcontent-%COMP%] .header[_ngcontent-%COMP%], [data-theme=classic][_ngcontent-%COMP%] .panel.secondary[_ngcontent-%COMP%] .footer[_ngcontent-%COMP%] {\n color: #f5ead4;\n background-color: #8f776a;\n}\n\n[data-theme=classic][_nghost-%COMP%] .panel.secondary[_ngcontent-%COMP%] .content[_ngcontent-%COMP%], [data-theme=classic] [_nghost-%COMP%] .panel.secondary[_ngcontent-%COMP%] .content[_ngcontent-%COMP%], [data-theme=classic][_ngcontent-%COMP%] .panel.secondary[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] {\n border-color: #8f776a;\n}\n\n[data-theme=classic][_nghost-%COMP%] .panel.secondary[_ngcontent-%COMP%] .secondary-content[_ngcontent-%COMP%], [data-theme=classic] [_nghost-%COMP%] .panel.secondary[_ngcontent-%COMP%] .secondary-content[_ngcontent-%COMP%], [data-theme=classic][_ngcontent-%COMP%] .panel.secondary[_ngcontent-%COMP%] .secondary-content[_ngcontent-%COMP%] {\n background: rgba(236, 239, 241, 0.95);\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2Fzc2V0cy9zY3NzL192YXJpYWJsZXMuc2NzcyIsIi4uLy4uLy4uLy4uL3BhbmVsLmNvbXBvbmVudC5zY3NzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vYXNzZXRzL3Njc3MvX21peGlucy5zY3NzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vYXNzZXRzL3Njc3MvX3RoZW1lcy5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQTJCQTtFQUNJLHlCQUFBO0VBQ0Esd0JBQUE7QUMxQko7O0FBYUE7RUFJSSxtQkFBQTtFQUNBLGtCQUFBO0VBQ0EsWUFBQTtBQWJKOztBQVFJO0VBQ0ksV0FBQTtBQU5SOztBQVdJO0VBQ0ksV0FBQTtFQUNBLFlBQUE7QUFUUjs7QUFXSTs7RUFFSSxZRHBCb0I7RUNxQnBCLGdCRHJCb0I7RUNzQnBCLGVBQUE7RUFDQSxZQUFBO0FBVFI7O0FBVVE7O0VBQ0ksVUFBQTtBQVBaOztBQVVJO0VBQ0ksb0JBQUE7QUFSUjs7QUFVSTtFQ2pDRixnQ0FBQTtFQUVBLDZCQUFBO0VBRkEsNEJBQ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ZigkdG9wLW1lbnU9PXRydWUgYW5kICRib3R0b20tbWVudT09dHJ1ZSkge1xuICAgICAgICBAcmV0dXJuIFwiMTAwJSAtICN7JG1haW5Db250YWluZXItbWVudS1oZWlnaHQqMn1cIjtcbiAgICB9XG4gICAgQGVsc2UgaWYoJHRvcC1tZW51PT10cnVlIG9yICRib3R0b20tbWVudT09dHJ1ZSkge1xuICAgICAgICBAcmV0dXJuIFwiMTAwJSAtICN7JG1haW5Db250YWluZXItbWVudS1oZWlnaHR9XCI7XG4gICAgfVxuICAgIEBlbHNlIHtcbiAgICAgICAgQHJldHVybiAxMDAlO1xuICAgIH1cbn1cblxuLnBhbmVsIHtcbiAgICAmOm5vdCguY29tcGFyYWJsZSkge1xuICAgICAgICB3aWR0aDogMTAwJTtcbiAgICB9XG4gICAgd2hpdGUtc3BhY2U6IG5vcm1hbDtcbiAgICBwb3NpdGlvbjogcmVsYXRpdmU7XG4gICAgaGVpZ2h0OiAxMDAlO1xuICAgICYuY29tcGFyYWJsZSB7XG4gICAgICAgIHdpZHRoOiAxMDAlO1xuICAgICAgICBoZWlnaHQ6IDEwMCU7XG4gICAgfVxuICAgIC5oZWFkZXIsXG4gICAgLmZvb3RlciB7XG4gICAgICAgIGhlaWdodDogJG1haW5Db250YWluZXItbWVudS1oZWlnaHQ7XG4gICAgICAgIG1pbi1oZWlnaHQ6ICRtYWluQ29udGFpbmVyLW1lbnUtaGVpZ2h0O1xuICAgICAgICBmb250LXNpemU6IDE2cHg7XG4gICAgICAgIHBhZGRpbmc6IDZweDtcbiAgICAgICAgLm5hdmJhciB7XG4gICAgICAgICAgICBwYWRkaW5nOiAwO1xuICAgICAgICB9XG4gICAgfVxuICAgIC5mb290ZXIge1xuICAgICAgICBwYWRkaW5nOiAzcHggNnB4IDZweDtcbiAgICB9XG4gICAgLmNvbnRlbnQge1xuICAgICAgICBAaW5jbHVkZSBjYWxjKG1pbi1oZWlnaHQsICN7c2V0SW5zaWRlRnJhbWVIZWlnaHQoJG1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AgICAgIC5mb290ZXIge1xuICAgICAgICAgICAgY29sb3I6IHRoZW1lZCgnYmFzZUNvbG9yTGlnaHQnKTtcbiAgICAgICAgICAgIGJhY2tncm91bmQtY29sb3I6IHRoZW1lZCgnYmFzZUNvbG9yRGFyaycpO1xuICAgICAgICB9XG4gICAgICAgIC5jb250ZW50IHtcbiAgICAgICAgICAgIGJvcmRlcjogJG1haW5Db250YWluZXItYm9yZGVyLXdpZHRoIHNvbGlkIHRoZW1lZCgnYmFzZUNvbG9yRGFyaycpO1xuICAgICAgICB9XG4gICAgICAgIC5zZWNvbmRhcnktY29udGVudCB7XG4gICAgICAgICAgICBiYWNrZ3JvdW5kOiB0aGVtZWQoJ3BhbmVsU2Vjb25kYXJ5QmFja2dyb3VuZENvbG9yJyk7XG4gICAgICAgIH1cbiAgICAgICAgJi5zZWNvbmRhcnkge1xuICAgICAgICAgICAgLmhlYWRlcixcbiAgICAgICAgICAgIC5mb290ZXIge1xuICAgICAgICAgICAgICAgIGNvbG9yOiB0aGVtZWQoJ3NlY29uZGFyeUNvbG9yTGlnaHQnKTtcbiAgICAgICAgICAgICAgICBiYWNrZ3JvdW5kLWNvbG9yOiB0aGVtZWQoJ3NlY29uZGFyeUNvbG9yRGFyaycpO1xuICAgICAgICAgICAgfVxuICAgICAgICAgICAgLmNvbnRlbnQge1xuICAgICAgICAgICAgICAgIGJvcmRlci1jb2xvcjogdGhlbWVkKCdzZWNvbmRhcnlDb2xvckRhcmsnKTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIC5zZWNvbmRhcnktY29udGVudCB7XG4gICAgICAgICAgICAgICAgYmFja2dyb3VuZDogdGhlbWVkKCdwYW5lbFNlY29uZGFyeUJhY2tncm91bmRDb2xvcicpO1xuICAgICAgICAgICAgfVxuICAgICAgICB9XG4gICAgfVxufSIsIi8vIC8vLy8vLy8vLy8vLy8vLy8vLyAvL1xuLy8gR0xPQkFMIFNDU1MgTUlYSU5TIC8vXG4vLyAvLy8vLy8vLy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AgICAgICAgICAkdmFsdWU6IG1hcC1nZXQobWFwLWdldCgkdGhlbWVzLCAkdGhlbWUpLCAnI3ska2V5fScpO1xuICAgICAgICAgICAgICAgICR0aGVtZS1tYXA6IG1hcC1tZXJnZSgkdGhlbWUtbWFwLCAoJGtleTogJHZhbHVlKSkgIWdsb2JhbDtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIEBjb250ZW50O1xuICAgICAgICAgICAgJHRoZW1lLW1hcDogbnVsbCAhZ2xvYmFsO1xuICAgICAgICB9XG4gICAgfVxufVxuXG5AZnVuY3Rpb24gdGhlbWVkKCRrZXkpIHtcbiAgICBAcmV0dXJuIG1hcC1nZXQoJHRoZW1lLW1hcCwgJGtleSk7XG59XG5cbiJdfQ== */"] });
  8317. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](PanelComponent, [{
  8318. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
  8319. args: [{
  8320. selector: 'evt-panel',
  8321. templateUrl: './panel.component.html',
  8322. styleUrls: ['./panel.component.scss'],
  8323. }]
  8324. }], null, { comparable: [{
  8325. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
  8326. }], secondary: [{
  8327. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
  8328. }], closable: [{
  8329. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
  8330. }], hideHeader: [{
  8331. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
  8332. }], hideFooter: [{
  8333. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
  8334. }], showSecondaryContent: [{
  8335. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
  8336. }], hide: [{
  8337. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
  8338. }], scrollContent: [{
  8339. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
  8340. }] }); })();
  8341. /***/ }),
  8342. /***/ "I7fL":
  8343. /*!*********************************************************!*\
  8344. !*** ./src/app/services/annotator/annotator.service.ts ***!
  8345. \*********************************************************/
  8346. /*! exports provided: AnnotatorService */
  8347. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  8348. "use strict";
  8349. __webpack_require__.r(__webpack_exports__);
  8350. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AnnotatorService", function() { return AnnotatorService; });
  8351. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "fXoL");
  8352. /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rxjs */ "qCKp");
  8353. class AnnotatorService {
  8354. constructor() {
  8355. this.textSelection$ = new rxjs__WEBPACK_IMPORTED_MODULE_1__["Subject"]();
  8356. }
  8357. selectedText() {
  8358. this.textSelection$.next(window.getSelection());
  8359. }
  8360. }
  8361. AnnotatorService.ɵfac = function AnnotatorService_Factory(t) { return new (t || AnnotatorService)(); };
  8362. AnnotatorService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ token: AnnotatorService, factory: AnnotatorService.ɵfac, providedIn: 'root' });
  8363. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](AnnotatorService, [{
  8364. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"],
  8365. args: [{
  8366. providedIn: 'root',
  8367. }]
  8368. }], null, null); })();
  8369. /***/ }),
  8370. /***/ "IP0A":
  8371. /*!***********************************************************!*\
  8372. !*** ./src/app/services/editorial-conventions.service.ts ***!
  8373. \***********************************************************/
  8374. /*! exports provided: EditorialConventionsService */
  8375. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  8376. "use strict";
  8377. __webpack_require__.r(__webpack_exports__);
  8378. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "EditorialConventionsService", function() { return EditorialConventionsService; });
  8379. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "fXoL");
  8380. /* harmony import */ var _app_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../app.config */ "aR35");
  8381. class EditorialConventionsService {
  8382. constructor() {
  8383. this.defaultLayouts = {
  8384. addition: {
  8385. diplomatic: {
  8386. style: {
  8387. 'background-color': '#bdecb6',
  8388. },
  8389. },
  8390. },
  8391. additionAbove: {
  8392. interpretative: {
  8393. pre: '\\',
  8394. post: '/',
  8395. },
  8396. diplomatic: {
  8397. style: {
  8398. 'vertical-align': 'super',
  8399. 'font-size': '.7rem',
  8400. 'background-color': '#bdecb6',
  8401. },
  8402. },
  8403. },
  8404. additionBelow: {
  8405. interpretative: {
  8406. pre: '/',
  8407. post: '\\',
  8408. },
  8409. diplomatic: {
  8410. style: {
  8411. 'vertical-align': 'bottom',
  8412. 'font-size': '.7rem',
  8413. 'background-color': '#bdecb6',
  8414. },
  8415. },
  8416. },
  8417. additionInline: {
  8418. interpretative: {
  8419. pre: '|',
  8420. post: '|',
  8421. },
  8422. diplomatic: {
  8423. style: {
  8424. 'background-color': '#bdecb6',
  8425. },
  8426. },
  8427. },
  8428. additionLeft: {
  8429. interpretative: {
  8430. post: '| |',
  8431. style: {
  8432. 'margin-right': '-0.3rem',
  8433. },
  8434. },
  8435. diplomatic: {
  8436. style: {
  8437. 'margin-left': '-1rem',
  8438. 'background-color': '#bdecb6',
  8439. },
  8440. },
  8441. },
  8442. additionRight: {
  8443. interpretative: {
  8444. pre: '| |',
  8445. style: {
  8446. 'margin-left': '-0.3rem',
  8447. },
  8448. },
  8449. diplomatic: {
  8450. style: {
  8451. 'background-color': '#bdecb6',
  8452. },
  8453. },
  8454. },
  8455. damage: {
  8456. diplomatic: {
  8457. style: {
  8458. 'background-color': 'rgba(193, 193, 193, 0.7)',
  8459. },
  8460. },
  8461. },
  8462. deletion: {
  8463. diplomatic: {
  8464. style: {
  8465. 'background-color': '#fdd3d1',
  8466. 'text-decoration': 'line-through',
  8467. },
  8468. },
  8469. interpretative: {
  8470. pre: '[[',
  8471. post: ']]',
  8472. },
  8473. },
  8474. sicCrux: {
  8475. diplomatic: {
  8476. pre: '&dagger;',
  8477. post: '&dagger;',
  8478. },
  8479. interpretative: {
  8480. pre: '&dagger;',
  8481. post: '&dagger;',
  8482. },
  8483. critical: {
  8484. pre: '&dagger;',
  8485. post: '&dagger;',
  8486. },
  8487. },
  8488. surplus: {
  8489. diplomatic: {
  8490. pre: '{',
  8491. post: '}',
  8492. style: {
  8493. 'background-color': '#f6b26a',
  8494. },
  8495. },
  8496. },
  8497. };
  8498. }
  8499. getLayouts(name, attributes, defaultsKey) {
  8500. var _a, _b;
  8501. const defaultKeys = this.defaultLayouts[defaultsKey];
  8502. let layouts = defaultKeys;
  8503. const externalLayouts = (_b = (_a = this._getExternalConfigs().find(c => {
  8504. return c.element === name &&
  8505. (!attributes || Object.keys(attributes).concat(Object.keys(c.attributes)).every(k => attributes[k] === c.attributes[k]));
  8506. })) === null || _a === void 0 ? void 0 : _a.layouts) !== null && _b !== void 0 ? _b : undefined;
  8507. if (externalLayouts) {
  8508. Object.keys(externalLayouts).forEach(editionLevel => {
  8509. layouts = Object.assign(Object.assign({}, defaultKeys || {}), { [editionLevel]: Object.assign(Object.assign({}, defaultKeys ? defaultKeys[editionLevel] : {}), externalLayouts[editionLevel]) });
  8510. });
  8511. }
  8512. return layouts;
  8513. }
  8514. _getExternalConfigs() {
  8515. const customs = _app_config__WEBPACK_IMPORTED_MODULE_1__["AppConfig"].evtSettings.editorialConventions;
  8516. return Object.keys(customs).map((key) => {
  8517. var _a, _b, _c, _d, _e;
  8518. return ({
  8519. element: (_b = (_a = customs[key].markup) === null || _a === void 0 ? void 0 : _a.element) !== null && _b !== void 0 ? _b : key,
  8520. attributes: (_d = (_c = customs[key].markup) === null || _c === void 0 ? void 0 : _c.attributes) !== null && _d !== void 0 ? _d : {},
  8521. layouts: (_e = customs[key].layouts) !== null && _e !== void 0 ? _e : {},
  8522. });
  8523. });
  8524. }
  8525. }
  8526. EditorialConventionsService.ɵfac = function EditorialConventionsService_Factory(t) { return new (t || EditorialConventionsService)(); };
  8527. EditorialConventionsService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ token: EditorialConventionsService, factory: EditorialConventionsService.ɵfac, providedIn: 'root' });
  8528. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](EditorialConventionsService, [{
  8529. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"],
  8530. args: [{
  8531. providedIn: 'root',
  8532. }]
  8533. }], null, null); })();
  8534. /***/ }),
  8535. /***/ "Ie87":
  8536. /*!*********************************************************************!*\
  8537. !*** ./src/app/components/ms-identifier/ms-identifier.component.ts ***!
  8538. \*********************************************************************/
  8539. /*! exports provided: MsIdentifierComponent */
  8540. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  8541. "use strict";
  8542. __webpack_require__.r(__webpack_exports__);
  8543. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MsIdentifierComponent", function() { return MsIdentifierComponent; });
  8544. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "mrSG");
  8545. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "fXoL");
  8546. /* harmony import */ var _models_evt_models__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../models/evt-models */ "5c0l");
  8547. /* harmony import */ var _services_component_register_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../services/component-register.service */ "d25s");
  8548. /* harmony import */ var _ui_components_ms_desc_section_ms_desc_section_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../ui-components/ms-desc-section/ms-desc-section.component */ "WyXU");
  8549. /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/common */ "ofXK");
  8550. /* harmony import */ var _identifier_identifier_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../identifier/identifier.component */ "FSWR");
  8551. /* harmony import */ var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../content-viewer/content-viewer.component */ "t6RO");
  8552. function MsIdentifierComponent_ng_container_3_evt_content_viewer_4_Template(rf, ctx) { if (rf & 1) {
  8553. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 10);
  8554. } if (rf & 2) {
  8555. const m_r4 = ctx.$implicit;
  8556. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", m_r4);
  8557. } }
  8558. function MsIdentifierComponent_ng_container_3_Template(rf, ctx) { if (rf & 1) {
  8559. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
  8560. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "div", 6);
  8561. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](2, "evt-ms-desc-section", 7);
  8562. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  8563. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](3, "div", 8);
  8564. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, MsIdentifierComponent_ng_container_3_evt_content_viewer_4_Template, 1, 1, "evt-content-viewer", 9);
  8565. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  8566. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
  8567. } if (rf & 2) {
  8568. const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  8569. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  8570. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "msName")("additionalClass", "msName")("inlineLabel", true);
  8571. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  8572. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r0.data.msName);
  8573. } }
  8574. function MsIdentifierComponent_ng_container_4_div_1_Template(rf, ctx) { if (rf & 1) {
  8575. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 6);
  8576. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](1, "evt-ms-desc-section", 7);
  8577. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  8578. } if (rf & 2) {
  8579. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  8580. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "institution")("additionalClass", "institution")("inlineLabel", true);
  8581. } }
  8582. function MsIdentifierComponent_ng_container_4_Template(rf, ctx) { if (rf & 1) {
  8583. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
  8584. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, MsIdentifierComponent_ng_container_4_div_1_Template, 2, 3, "div", 11);
  8585. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](2, "div", 8);
  8586. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](3, "evt-content-viewer", 12);
  8587. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  8588. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
  8589. } if (rf & 2) {
  8590. const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  8591. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  8592. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx_r1.data == null ? null : ctx_r1.data.institution);
  8593. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  8594. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", ctx_r1.data == null ? null : ctx_r1.data.institution);
  8595. } }
  8596. function MsIdentifierComponent_ng_container_6_evt_ms_desc_section_3_evt_content_viewer_1_Template(rf, ctx) { if (rf & 1) {
  8597. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 12);
  8598. } if (rf & 2) {
  8599. const nt_r9 = ctx.$implicit;
  8600. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", nt_r9);
  8601. } }
  8602. function MsIdentifierComponent_ng_container_6_evt_ms_desc_section_3_Template(rf, ctx) { if (rf & 1) {
  8603. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "evt-ms-desc-section", 16);
  8604. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, MsIdentifierComponent_ng_container_6_evt_ms_desc_section_3_evt_content_viewer_1_Template, 1, 1, "evt-content-viewer", 17);
  8605. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  8606. } if (rf & 2) {
  8607. const a_r6 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]().$implicit;
  8608. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("inlineLabel", true)("additionalClass", "itemElement");
  8609. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  8610. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", a_r6.noteEl);
  8611. } }
  8612. function MsIdentifierComponent_ng_container_6_Template(rf, ctx) { if (rf & 1) {
  8613. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
  8614. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](1, "evt-ms-desc-section", 13);
  8615. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](2, "evt-identifier", 14);
  8616. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, MsIdentifierComponent_ng_container_6_evt_ms_desc_section_3_Template, 2, 3, "evt-ms-desc-section", 15);
  8617. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
  8618. } if (rf & 2) {
  8619. const a_r6 = ctx.$implicit;
  8620. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  8621. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "altIdentifier")("inlineLabel", true);
  8622. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  8623. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("data", a_r6)("listClass", true);
  8624. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  8625. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", a_r6.noteEl.length > 0);
  8626. } }
  8627. let MsIdentifierComponent = class MsIdentifierComponent {
  8628. };
  8629. MsIdentifierComponent.ɵfac = function MsIdentifierComponent_Factory(t) { return new (t || MsIdentifierComponent)(); };
  8630. MsIdentifierComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({ type: MsIdentifierComponent, selectors: [["evt-ms-identifier"]], inputs: { data: "data" }, decls: 7, vars: 6, consts: [[1, "msIdentifier"], [3, "label", "underline"], [1, "flex-container"], [4, "ngIf"], [3, "data"], [4, "ngFor", "ngForOf"], [1, "flex-item-label"], [3, "label", "additionalClass", "inlineLabel"], [1, "flex-item-information"], ["class", "projectInfo-block", 3, "content", 4, "ngFor", "ngForOf"], [1, "projectInfo-block", 3, "content"], ["class", "flex-item-label", 4, "ngIf"], [3, "content"], [3, "label", "inlineLabel"], [3, "data", "listClass"], [3, "inlineLabel", "additionalClass", 4, "ngIf"], [3, "inlineLabel", "additionalClass"], [3, "content", 4, "ngFor", "ngForOf"]], template: function MsIdentifierComponent_Template(rf, ctx) { if (rf & 1) {
  8631. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 0);
  8632. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](1, "evt-ms-desc-section", 1);
  8633. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](2, "div", 2);
  8634. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, MsIdentifierComponent_ng_container_3_Template, 5, 4, "ng-container", 3);
  8635. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, MsIdentifierComponent_ng_container_4_Template, 4, 2, "ng-container", 3);
  8636. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  8637. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](5, "evt-identifier", 4);
  8638. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](6, MsIdentifierComponent_ng_container_6_Template, 4, 5, "ng-container", 5);
  8639. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  8640. } if (rf & 2) {
  8641. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  8642. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "msIdentifier")("underline", true);
  8643. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  8644. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", (ctx.data == null ? null : ctx.data.msName.length) > 0);
  8645. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  8646. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data == null ? null : ctx.data.institution);
  8647. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  8648. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("data", ctx.data);
  8649. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  8650. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx.data == null ? null : ctx.data.altIdentifier);
  8651. } }, directives: [_ui_components_ms_desc_section_ms_desc_section_component__WEBPACK_IMPORTED_MODULE_4__["MsDescSectionComponent"], _angular_common__WEBPACK_IMPORTED_MODULE_5__["NgIf"], _identifier_identifier_component__WEBPACK_IMPORTED_MODULE_6__["IdentifierComponent"], _angular_common__WEBPACK_IMPORTED_MODULE_5__["NgForOf"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_7__["ContentViewerComponent"]], styles: [".msIdentifier[_ngcontent-%COMP%] {\n margin-bottom: 2rem;\n}\n\n.projectInfo-block[_ngcontent-%COMP%] {\n display: block;\n}\n\n.flex-container[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n}\n\n.flex-item-label[_ngcontent-%COMP%] {\n flex-basis: 100%;\n}\n\n.flex-item-information[_ngcontent-%COMP%] {\n flex-basis: 100%;\n margin-bottom: 0.7rem;\n}\n\n@media (min-width: 1326px) {\n .flex-item-label[_ngcontent-%COMP%] {\n flex-basis: 20%;\n }\n\n .flex-item-information[_ngcontent-%COMP%] {\n flex-basis: 80%;\n }\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL21zLWlkZW50aWZpZXIuY29tcG9uZW50LnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7RUFDSSxtQkFBQTtBQUNKOztBQUVBO0VBQ0ksY0FBQTtBQUNKOztBQUVBO0VBQ0ksYUFBQTtFQUNBLG1CQUFBO0VBQ0EsZUFBQTtBQUNKOztBQUVBO0VBQ0ksZ0JBQUE7QUFDSjs7QUFFQTtFQUNJLGdCQUFBO0VBQ0EscUJBQUE7QUFDSjs7QUFFQTtFQUNJO0lBQ0ksZUFBQTtFQUNOOztFQUVFO0lBQ0ksZUFBQTtFQUNOO0FBQ0YiLCJmaWxlIjoibXMtaWRlbnRpZmllci5jb21wb25lbnQuc2NzcyIsInNvdXJjZXNDb250ZW50IjpbIi5tc0lkZW50aWZpZXIge1xuICAgIG1hcmdpbi1ib3R0b206IDJyZW07XG59XG5cbi5wcm9qZWN0SW5mby1ibG9jayB7XG4gICAgZGlzcGxheTogYmxvY2s7XG59XG5cbi5mbGV4LWNvbnRhaW5lciB7XG4gICAgZGlzcGxheTogZmxleDtcbiAgICBmbGV4LWRpcmVjdGlvbjogcm93O1xuICAgIGZsZXgtd3JhcDogd3JhcDtcbn1cblxuLmZsZXgtaXRlbS1sYWJlbCB7XG4gICAgZmxleC1iYXNpczogMTAwJTtcbn1cblxuLmZsZXgtaXRlbS1pbmZvcm1hdGlvbiB7XG4gICAgZmxleC1iYXNpczogMTAwJTtcbiAgICBtYXJnaW4tYm90dG9tOiAwLjdyZW07XG59XG5cbkBtZWRpYSAobWluLXdpZHRoOiAxMzI2cHgpIHsgXG4gICAgLmZsZXgtaXRlbS1sYWJlbCB7XG4gICAgICAgIGZsZXgtYmFzaXM6IDIwJTtcbiAgICAgIH1cbiAgICAgIFxuICAgIC5mbGV4LWl0ZW0taW5mb3JtYXRpb24ge1xuICAgICAgICBmbGV4LWJhc2lzOiA4MCU7XG4gICAgfVxufVxuIl19 */"] });
  8652. MsIdentifierComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  8653. Object(_services_component_register_service__WEBPACK_IMPORTED_MODULE_3__["register"])(_models_evt_models__WEBPACK_IMPORTED_MODULE_2__["MsIdentifier"])
  8654. ], MsIdentifierComponent);
  8655. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](MsIdentifierComponent, [{
  8656. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
  8657. args: [{
  8658. selector: 'evt-ms-identifier',
  8659. templateUrl: './ms-identifier.component.html',
  8660. styleUrls: ['./ms-identifier.component.scss'],
  8661. }]
  8662. }], null, { data: [{
  8663. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
  8664. }] }); })();
  8665. /***/ }),
  8666. /***/ "Ilzk":
  8667. /*!*******************************************************!*\
  8668. !*** ./src/app/components/extent/extent.component.ts ***!
  8669. \*******************************************************/
  8670. /*! exports provided: ExtentComponent */
  8671. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  8672. "use strict";
  8673. __webpack_require__.r(__webpack_exports__);
  8674. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ExtentComponent", function() { return ExtentComponent; });
  8675. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "mrSG");
  8676. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "fXoL");
  8677. /* harmony import */ var _models_evt_models__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../models/evt-models */ "5c0l");
  8678. /* harmony import */ var _services_component_register_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../services/component-register.service */ "d25s");
  8679. /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/common */ "ofXK");
  8680. /* harmony import */ var _ui_components_header_section_header_section_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../ui-components/header-section/header-section.component */ "iRdJ");
  8681. /* harmony import */ var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../content-viewer/content-viewer.component */ "t6RO");
  8682. function ExtentComponent_evt_header_section_0_evt_content_viewer_2_Template(rf, ctx) { if (rf & 1) {
  8683. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 4);
  8684. } if (rf & 2) {
  8685. const el_r2 = ctx.$implicit;
  8686. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", el_r2);
  8687. } }
  8688. function ExtentComponent_evt_header_section_0_Template(rf, ctx) { if (rf & 1) {
  8689. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "evt-header-section", 1);
  8690. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "div", 2);
  8691. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, ExtentComponent_evt_header_section_0_evt_content_viewer_2_Template, 1, 1, "evt-content-viewer", 3);
  8692. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  8693. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  8694. } if (rf & 2) {
  8695. const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  8696. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "extent")("additionalClass", "extent")("inlineLabel", true);
  8697. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  8698. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r0.data.content);
  8699. } }
  8700. let ExtentComponent = class ExtentComponent {
  8701. };
  8702. ExtentComponent.ɵfac = function ExtentComponent_Factory(t) { return new (t || ExtentComponent)(); };
  8703. ExtentComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({ type: ExtentComponent, selectors: [["evt-extent"]], inputs: { data: "data" }, decls: 1, vars: 1, consts: [[3, "label", "additionalClass", "inlineLabel", 4, "ngIf"], [3, "label", "additionalClass", "inlineLabel"], ["content", ""], [3, "content", 4, "ngFor", "ngForOf"], [3, "content"]], template: function ExtentComponent_Template(rf, ctx) { if (rf & 1) {
  8704. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](0, ExtentComponent_evt_header_section_0_Template, 3, 4, "evt-header-section", 0);
  8705. } if (rf & 2) {
  8706. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", (ctx.data == null ? null : ctx.data.content == null ? null : ctx.data.content.length) > 0);
  8707. } }, directives: [_angular_common__WEBPACK_IMPORTED_MODULE_4__["NgIf"], _ui_components_header_section_header_section_component__WEBPACK_IMPORTED_MODULE_5__["HeaderSectionComponent"], _angular_common__WEBPACK_IMPORTED_MODULE_4__["NgForOf"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_6__["ContentViewerComponent"]], styles: ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJleHRlbnQuY29tcG9uZW50LnNjc3MifQ== */"] });
  8708. ExtentComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  8709. Object(_services_component_register_service__WEBPACK_IMPORTED_MODULE_3__["register"])(_models_evt_models__WEBPACK_IMPORTED_MODULE_2__["Extent"])
  8710. ], ExtentComponent);
  8711. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](ExtentComponent, [{
  8712. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
  8713. args: [{
  8714. selector: 'evt-extent',
  8715. templateUrl: './extent.component.html',
  8716. styleUrls: ['./extent.component.scss'],
  8717. }]
  8718. }], null, { data: [{
  8719. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
  8720. }] }); })();
  8721. /***/ }),
  8722. /***/ "Izqa":
  8723. /*!*********************************************************************!*\
  8724. !*** ./src/app/view-modes/text-versions/text-versions.component.ts ***!
  8725. \*********************************************************************/
  8726. /*! exports provided: TextVersionsComponent */
  8727. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  8728. "use strict";
  8729. __webpack_require__.r(__webpack_exports__);
  8730. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TextVersionsComponent", function() { return TextVersionsComponent; });
  8731. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "fXoL");
  8732. /* harmony import */ var angular_gridster2__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! angular-gridster2 */ "Ljk9");
  8733. /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs/operators */ "kU1M");
  8734. /* harmony import */ var src_app_services_evt_status_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! src/app/services/evt-status.service */ "7Ht4");
  8735. /* harmony import */ var _panels_text_panel_text_panel_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../panels/text-panel/text-panel.component */ "CHR5");
  8736. /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/common */ "ofXK");
  8737. /* harmony import */ var _ui_components_button_button_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../ui-components/button/button.component */ "UjKN");
  8738. /* harmony import */ var _panels_version_panel_version_panel_component__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../panels/version-panel/version-panel.component */ "DBF2");
  8739. /* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @ngx-translate/core */ "sYmb");
  8740. const _c0 = ["versionsPanel"];
  8741. function TextVersionsComponent_gridster_8_gridster_item_1_Template(rf, ctx) { if (rf & 1) {
  8742. const _r6 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
  8743. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "gridster-item", 1);
  8744. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "evt-version-panel", 8);
  8745. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("hide", function TextVersionsComponent_gridster_8_gridster_item_1_Template_evt_version_panel_hide_1_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r6); const i_r4 = ctx.index; const ctx_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2); return ctx_r5.removeVersion(i_r4); });
  8746. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  8747. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  8748. } if (rf & 2) {
  8749. const version_r3 = ctx.$implicit;
  8750. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("item", version_r3.itemConfig);
  8751. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  8752. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("version", version_r3.label);
  8753. } }
  8754. function TextVersionsComponent_gridster_8_Template(rf, ctx) { if (rf & 1) {
  8755. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "gridster", 0);
  8756. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, TextVersionsComponent_gridster_8_gridster_item_1_Template, 2, 2, "gridster-item", 7);
  8757. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  8758. } if (rf & 2) {
  8759. const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
  8760. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("options", ctx_r1.versionsOptions);
  8761. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  8762. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx_r1.getVersions());
  8763. } }
  8764. class TextVersionsComponent {
  8765. constructor(evtStatusService) {
  8766. this.evtStatusService = evtStatusService;
  8767. this.versions = [];
  8768. this.options = {};
  8769. this.textPanelItem = { cols: 1, rows: 1, y: 0, x: 0 };
  8770. this.versionsPanelItem = { cols: 1, rows: 1, y: 0, x: 1 };
  8771. this.versionsOptions = {};
  8772. this.currentPageID$ = this.evtStatusService.currentStatus$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(({ page }) => page.id));
  8773. this.currentEditionLevel$ = this.evtStatusService.currentStatus$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(({ editionLevels }) => editionLevels[0]), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["shareReplay"])(1));
  8774. }
  8775. get versionBtn() {
  8776. return {
  8777. label: this.versions.length > 0 ? '' : 'addVersion',
  8778. title: this.versions.length > 0 ? 'addVersion' : '',
  8779. additionalClasses: `btn-floating ${this.versions.length > 0 ? 'rounded-circle' : ''}`,
  8780. icon: { iconSet: 'fas', icon: 'plus' },
  8781. };
  8782. }
  8783. ngOnInit() {
  8784. this.initGridster();
  8785. this.initPageAndVersions();
  8786. }
  8787. changePage(selectedPage) {
  8788. this.evtStatusService.updatePage$.next(selectedPage);
  8789. }
  8790. changeEditionLevel(editionLevel) {
  8791. this.evtStatusService.updateEditionLevels$.next([editionLevel === null || editionLevel === void 0 ? void 0 : editionLevel.id]);
  8792. }
  8793. getVersions() {
  8794. return this.versions;
  8795. }
  8796. addVersion() {
  8797. const newVersion = {
  8798. label: (this.versions.length + 1).toString(),
  8799. itemConfig: { cols: 1, rows: 1, y: 0, x: this.versions.length + 1 },
  8800. };
  8801. this.versions.push(newVersion); // TODO: TEMP
  8802. this.updateGridsterOptions();
  8803. // TODO: Come gestiamo la rotta nel caso di più versioni selezionate?
  8804. }
  8805. removeVersion(index) {
  8806. this.versions.splice(index, 1);
  8807. this.updateGridsterOptions();
  8808. }
  8809. initPageAndVersions() {
  8810. // TODO: subscribe to route params
  8811. }
  8812. initGridster() {
  8813. this.options = {
  8814. gridType: angular_gridster2__WEBPACK_IMPORTED_MODULE_1__["GridType"].Fit,
  8815. displayGrid: angular_gridster2__WEBPACK_IMPORTED_MODULE_1__["DisplayGrid"].None,
  8816. margin: 0,
  8817. maxCols: 2,
  8818. maxRows: 1,
  8819. draggable: {
  8820. enabled: false,
  8821. ignoreContent: false,
  8822. ignoreContentClass: 'panel-content',
  8823. dragHandleClass: 'panel-header',
  8824. },
  8825. resizable: {
  8826. enabled: false,
  8827. },
  8828. };
  8829. this.versionsOptions = {
  8830. gridType: angular_gridster2__WEBPACK_IMPORTED_MODULE_1__["GridType"].Fit,
  8831. displayGrid: angular_gridster2__WEBPACK_IMPORTED_MODULE_1__["DisplayGrid"].None,
  8832. compactType: angular_gridster2__WEBPACK_IMPORTED_MODULE_1__["CompactType"].CompactLeft,
  8833. scrollToNewItems: true,
  8834. margin: 0,
  8835. maxRows: 1,
  8836. draggable: {
  8837. enabled: true,
  8838. ignoreContent: true,
  8839. dragHandleClass: 'panel-header',
  8840. },
  8841. resizable: {
  8842. enabled: false,
  8843. },
  8844. mobileBreakpoint: 0,
  8845. itemResizeCallback: this.updateFixedColWidth.bind(this),
  8846. itemChangeCallback: this.itemChange.bind(this),
  8847. };
  8848. }
  8849. itemChange() {
  8850. const updatedVerList = [];
  8851. for (const verItem of this.versions) {
  8852. const verIndex = verItem.itemConfig.x;
  8853. updatedVerList[verIndex] = verItem.label;
  8854. }
  8855. // TODO: Use this list to update URL params
  8856. console.log('TODO! Use this list to update URL params', updatedVerList);
  8857. }
  8858. updateGridsterOptions() {
  8859. this.options.maxCols = this.versions.length <= 1 ? 2 : 3;
  8860. this.versionsPanelItem.cols = this.versions.length <= 1 ? 1 : 2;
  8861. this.versionsOptions.maxCols = this.versions.length;
  8862. this.versionsOptions.gridType = this.versions.length <= 2 ? angular_gridster2__WEBPACK_IMPORTED_MODULE_1__["GridType"].Fit : angular_gridster2__WEBPACK_IMPORTED_MODULE_1__["GridType"].HorizontalFixed;
  8863. this.changedOptions();
  8864. this.updateFixedColWidth();
  8865. }
  8866. changedOptions() {
  8867. if (this.options.api && this.options.api.optionsChanged) {
  8868. this.options.api.optionsChanged();
  8869. }
  8870. if (this.versionsOptions.api && this.versionsOptions.api.optionsChanged) {
  8871. this.versionsOptions.api.optionsChanged();
  8872. }
  8873. }
  8874. updateFixedColWidth() {
  8875. const versionsPanelEl = this.versionsPanel.nativeElement;
  8876. const fixedColWidth = versionsPanelEl.clientWidth * 0.416666666667;
  8877. this.versionsOptions.fixedColWidth = this.versions.length > 2 ? fixedColWidth : undefined;
  8878. this.changedOptions();
  8879. }
  8880. }
  8881. TextVersionsComponent.ɵfac = function TextVersionsComponent_Factory(t) { return new (t || TextVersionsComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](src_app_services_evt_status_service__WEBPACK_IMPORTED_MODULE_3__["EVTStatusService"])); };
  8882. TextVersionsComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: TextVersionsComponent, selectors: [["evt-text-versions"]], viewQuery: function TextVersionsComponent_Query(rf, ctx) { if (rf & 1) {
  8883. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵstaticViewQuery"](_c0, true);
  8884. } if (rf & 2) {
  8885. let _t;
  8886. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵloadQuery"]()) && (ctx.versionsPanel = _t.first);
  8887. } }, decls: 12, vars: 24, consts: [[3, "options"], [3, "item"], [3, "pageID", "editionLevelID", "pageChange", "editionLevelChange"], [1, "versionsPanel"], ["versionsPanel", ""], [3, "options", 4, "ngIf"], [1, "btn", 3, "additionalClasses", "label", "iconLeft", "title", "btnClick"], [3, "item", 4, "ngFor", "ngForOf"], [3, "version", "hide"]], template: function TextVersionsComponent_Template(rf, ctx) { if (rf & 1) {
  8888. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "gridster", 0);
  8889. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "gridster-item", 1);
  8890. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "evt-text-panel", 2);
  8891. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("pageChange", function TextVersionsComponent_Template_evt_text_panel_pageChange_2_listener($event) { return ctx.changePage($event); })("editionLevelChange", function TextVersionsComponent_Template_evt_text_panel_editionLevelChange_2_listener($event) { return ctx.changeEditionLevel($event); });
  8892. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](3, "async");
  8893. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](4, "async");
  8894. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  8895. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  8896. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](5, "gridster-item", 1);
  8897. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](6, "div", 3, 4);
  8898. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](8, TextVersionsComponent_gridster_8_Template, 2, 2, "gridster", 5);
  8899. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](9, "evt-button", 6);
  8900. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("btnClick", function TextVersionsComponent_Template_evt_button_btnClick_9_listener() { return ctx.addVersion(); });
  8901. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](10, "translate");
  8902. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](11, "translate");
  8903. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  8904. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  8905. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  8906. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  8907. } if (rf & 2) {
  8908. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("options", ctx.options);
  8909. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  8910. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("item", ctx.textPanelItem);
  8911. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  8912. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("pageID", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](3, 16, ctx.currentPageID$))("editionLevelID", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](4, 18, ctx.currentEditionLevel$));
  8913. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
  8914. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("item", ctx.versionsPanelItem);
  8915. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  8916. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵclassProp"]("align-self-center", ctx.getVersions().length === 0)("empty", ctx.getVersions().length === 0);
  8917. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
  8918. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.getVersions().length > 0);
  8919. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  8920. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵclassProp"]("btn-float-right", ctx.getVersions().length > 0);
  8921. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("additionalClasses", ctx.versionBtn == null ? null : ctx.versionBtn.additionalClasses)("label", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](10, 20, ctx.versionBtn == null ? null : ctx.versionBtn.label))("iconLeft", ctx.versionBtn == null ? null : ctx.versionBtn.icon)("title", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](11, 22, ctx.versionBtn == null ? null : ctx.versionBtn.title));
  8922. } }, directives: [angular_gridster2__WEBPACK_IMPORTED_MODULE_1__["GridsterComponent"], angular_gridster2__WEBPACK_IMPORTED_MODULE_1__["GridsterItemComponent"], _panels_text_panel_text_panel_component__WEBPACK_IMPORTED_MODULE_4__["TextPanelComponent"], _angular_common__WEBPACK_IMPORTED_MODULE_5__["NgIf"], _ui_components_button_button_component__WEBPACK_IMPORTED_MODULE_6__["ButtonComponent"], _angular_common__WEBPACK_IMPORTED_MODULE_5__["NgForOf"], _panels_version_panel_version_panel_component__WEBPACK_IMPORTED_MODULE_7__["VersionPanelComponent"]], pipes: [_angular_common__WEBPACK_IMPORTED_MODULE_5__["AsyncPipe"], _ngx_translate_core__WEBPACK_IMPORTED_MODULE_8__["TranslatePipe"]], styles: ["[_ngcontent-%COMP%]:root {\n --thumbnail-height: 150px;\n --thumbnail-width: 100px;\n}\n\n.row[_ngcontent-%COMP%] {\n height: 100%;\n}\n\n.versionsPanel[_ngcontent-%COMP%] {\n height: 100%;\n}\n\n.versionsPanel.empty[_ngcontent-%COMP%] {\n display: flex;\n}\n\n.versionsPanel.empty[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%] {\n margin: auto;\n}\n\n.btn-float-right[_ngcontent-%COMP%] {\n position: absolute;\n right: -0.3rem;\n transform: translate(0, -50%);\n top: 50%;\n z-index: 99999;\n opacity: 0.5;\n}\n\n.btn-float-right[_ngcontent-%COMP%]:hover {\n opacity: 1;\n}\n\n[_nghost-%COMP%] .vers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NTAlO1xuICAgIHotaW5kZXg6IDk5OTk5O1xuICAgIG9wYWNpdHk6IC41O1xuICAgICY6aG92ZXIge1xuICAgICAgICBvcGFjaXR5OiAxO1xuICAgIH1cbn1cblxuOmhvc3QgOjpuZy1kZWVwIC52ZXJzaW9uc1BhbmVsIGdyaWRzdGVyLWl0ZW0ge1xuICAgIGhlaWdodDogMTAwJSAhaW1wb3J0YW50O1xufVxuIl19 */"] });
  8923. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](TextVersionsComponent, [{
  8924. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
  8925. args: [{
  8926. selector: 'evt-text-versions',
  8927. templateUrl: './text-versions.component.html',
  8928. styleUrls: ['./text-versions.component.scss'],
  8929. }]
  8930. }], function () { return [{ type: src_app_services_evt_status_service__WEBPACK_IMPORTED_MODULE_3__["EVTStatusService"] }]; }, { versionsPanel: [{
  8931. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewChild"],
  8932. args: ['versionsPanel', { static: true }]
  8933. }] }); })();
  8934. /***/ }),
  8935. /***/ "JIL6":
  8936. /*!**********************************************************************************************!*\
  8937. !*** ./src/app/components/named-entity/named-entity-detail/named-entity-detail.component.ts ***!
  8938. \**********************************************************************************************/
  8939. /*! exports provided: NamedEntityDetailComponent */
  8940. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  8941. "use strict";
  8942. __webpack_require__.r(__webpack_exports__);
  8943. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NamedEntityDetailComponent", function() { return NamedEntityDetailComponent; });
  8944. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "mrSG");
  8945. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "fXoL");
  8946. /* harmony import */ var _models_evt_models__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../models/evt-models */ "5c0l");
  8947. /* harmony import */ var _services_component_register_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../services/component-register.service */ "d25s");
  8948. /* harmony import */ var _ui_components_icon_icon_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../ui-components/icon/icon.component */ "Mijh");
  8949. /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/common */ "ofXK");
  8950. /* harmony import */ var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../content-viewer/content-viewer.component */ "t6RO");
  8951. function NamedEntityDetailComponent_span_4_Template(rf, ctx) { if (rf & 1) {
  8952. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 6);
  8953. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1);
  8954. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  8955. } if (rf & 2) {
  8956. const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  8957. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  8958. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"]("", ctx_r0.data.label, ": ");
  8959. } }
  8960. function NamedEntityDetailComponent_ng_container_6_li_3_Template(rf, ctx) { if (rf & 1) {
  8961. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "li");
  8962. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "span", 6);
  8963. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](2);
  8964. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  8965. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](3);
  8966. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  8967. } if (rf & 2) {
  8968. const item_r4 = ctx.$implicit;
  8969. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  8970. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"]("", item_r4.key, ":");
  8971. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  8972. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"](" ", item_r4.value, " ");
  8973. } }
  8974. function NamedEntityDetailComponent_ng_container_6_Template(rf, ctx) { if (rf & 1) {
  8975. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
  8976. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](1, "evt-content-viewer", 7);
  8977. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](2, "ul", 8);
  8978. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, NamedEntityDetailComponent_ng_container_6_li_3_Template, 4, 2, "li", 5);
  8979. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](4, "keyvalue");
  8980. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  8981. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
  8982. } if (rf & 2) {
  8983. const element_r2 = ctx.$implicit;
  8984. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  8985. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", element_r2);
  8986. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  8987. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](4, 2, element_r2.attributes));
  8988. } }
  8989. let NamedEntityDetailComponent = class NamedEntityDetailComponent {
  8990. constructor() {
  8991. this.iconData = {
  8992. actors: { icon: 'users' },
  8993. birth: { icon: 'birthday-cake' },
  8994. bloc: { icon: 'map-marker' },
  8995. country: { icon: 'map-marker' },
  8996. death: { icon: 'times', rotate: 45 },
  8997. district: { icon: 'map-marker' },
  8998. geogFeat: { icon: 'map-marker' },
  8999. geoname: { icon: 'map-marker' },
  9000. idno: { icon: 'barcode' },
  9001. note: { icon: 'sticky-note' },
  9002. occupation: { icon: 'briefcase' },
  9003. orgname: { icon: 'users' },
  9004. persname: { icon: 'user' },
  9005. placename: { icon: 'map-marker' },
  9006. region: { icon: 'map-marker' },
  9007. relations: { icon: 'share-alt' },
  9008. residence: { icon: 'home' },
  9009. settlement: { icon: 'location-arrow' },
  9010. sex: { icon: 'venus-mars' },
  9011. };
  9012. this.defaultIcon = { icon: 'info-circle' };
  9013. }
  9014. };
  9015. NamedEntityDetailComponent.ɵfac = function NamedEntityDetailComponent_Factory(t) { return new (t || NamedEntityDetailComponent)(); };
  9016. NamedEntityDetailComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({ type: NamedEntityDetailComponent, selectors: [["evt-named-entity-detail"]], inputs: { data: "data" }, decls: 7, vars: 6, consts: [[3, "title"], [1, "icon"], [3, "iconInfo"], ["class", "label", 4, "ngIf"], [1, "text"], [4, "ngFor", "ngForOf"], [1, "label"], [3, "content"], [1, "attributes-list"]], template: function NamedEntityDetailComponent_Template(rf, ctx) { if (rf & 1) {
  9017. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 0);
  9018. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](1, "lowercase");
  9019. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](2, "span", 1);
  9020. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](3, "evt-icon", 2);
  9021. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  9022. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, NamedEntityDetailComponent_span_4_Template, 2, 1, "span", 3);
  9023. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](5, "span", 4);
  9024. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](6, NamedEntityDetailComponent_ng_container_6_Template, 5, 4, "ng-container", 5);
  9025. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  9026. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  9027. } if (rf & 2) {
  9028. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("title", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](1, 4, "<" + ctx.data.label + ">"));
  9029. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](3);
  9030. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("iconInfo", ctx.iconData[ctx.data.label] || ctx.defaultIcon);
  9031. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  9032. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data.label);
  9033. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  9034. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx.data.content);
  9035. } }, directives: [_ui_components_icon_icon_component__WEBPACK_IMPORTED_MODULE_4__["IconComponent"], _angular_common__WEBPACK_IMPORTED_MODULE_5__["NgIf"], _angular_common__WEBPACK_IMPORTED_MODULE_5__["NgForOf"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_6__["ContentViewerComponent"]], pipes: [_angular_common__WEBPACK_IMPORTED_MODULE_5__["LowerCasePipe"], _angular_common__WEBPACK_IMPORTED_MODULE_5__["KeyValuePipe"]], styles: [".icon[_ngcontent-%COMP%] {\n margin-right: 5px;\n min-width: 15px;\n cursor: help;\n display: inline-block;\n}\n\n.label[_ngcontent-%COMP%] {\n font-variant: small-caps;\n text-transform: capitalize;\n font-size: 95%;\n}\n\n.attributes-list[_ngcontent-%COMP%] {\n list-style-type: circle;\n margin-bottom: 0.1rem;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL25hbWVkLWVudGl0eS1kZXRhaWwuY29tcG9uZW50LnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7RUFDSSxpQkFBQTtFQUNBLGVBQUE7RUFDQSxZQUFBO0VBQ0EscUJBQUE7QUFDSjs7QUFFQTtFQUNJLHdCQUFBO0VBQ0EsMEJBQUE7RUFDQSxjQUFBO0FBQ0o7O0FBRUE7RUFDSSx1QkFBQTtFQUNBLHFCQUFBO0FBQ0oiLCJmaWxlIjoibmFtZWQtZW50aXR5LWRldGFpbC5jb21wb25lbnQuc2NzcyIsInNvdXJjZXNDb250ZW50IjpbIi5pY29uIHtcbiAgICBtYXJnaW4tcmlnaHQ6IDVweDtcbiAgICBtaW4td2lkdGg6IDE1cHg7XG4gICAgY3Vyc29yOiBoZWxwO1xuICAgIGRpc3BsYXk6IGlubGluZS1ibG9jaztcbn1cblxuLmxhYmVsIHtcbiAgICBmb250LXZhcmlhbnQ6IHNtYWxsLWNhcHM7XG4gICAgdGV4dC10cmFuc2Zvcm06IGNhcGl0YWxpemU7XG4gICAgZm9udC1zaXplOiA5NSU7XG59XG5cbi5hdHRyaWJ1dGVzLWxpc3Qge1xuICAgIGxpc3Qtc3R5bGUtdHlwZTogY2lyY2xlO1xuICAgIG1hcmdpbi1ib3R0b206IC4xcmVtO1xufSJdfQ== */"] });
  9036. NamedEntityDetailComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  9037. Object(_services_component_register_service__WEBPACK_IMPORTED_MODULE_3__["register"])(_models_evt_models__WEBPACK_IMPORTED_MODULE_2__["NamedEntityInfo"])
  9038. ], NamedEntityDetailComponent);
  9039. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](NamedEntityDetailComponent, [{
  9040. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
  9041. args: [{
  9042. selector: 'evt-named-entity-detail',
  9043. templateUrl: './named-entity-detail.component.html',
  9044. styleUrls: ['./named-entity-detail.component.scss'],
  9045. }]
  9046. }], null, { data: [{
  9047. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
  9048. }] }); })();
  9049. /***/ }),
  9050. /***/ "JQLQ":
  9051. /*!************************************!*\
  9052. !*** ./src/app/utils/xml-utils.ts ***!
  9053. \************************************/
  9054. /*! exports provided: parseXml, replaceMultispaces, replaceNewLines, replaceNotWordChar, removeSpaces */
  9055. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  9056. "use strict";
  9057. __webpack_require__.r(__webpack_exports__);
  9058. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "parseXml", function() { return parseXml; });
  9059. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "replaceMultispaces", function() { return replaceMultispaces; });
  9060. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "replaceNewLines", function() { return replaceNewLines; });
  9061. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "replaceNotWordChar", function() { return replaceNotWordChar; });
  9062. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "removeSpaces", function() { return removeSpaces; });
  9063. function parseXml(xmlStr) {
  9064. if (typeof window.DOMParser !== 'undefined') {
  9065. return (new window.DOMParser()).parseFromString(xmlStr, 'text/xml');
  9066. }
  9067. if (typeof window.ActiveXObject !== 'undefined' &&
  9068. new window.ActiveXObject('Microsoft.XMLDOM')) {
  9069. const xmlDoc = new window.ActiveXObject('Microsoft.XMLDOM');
  9070. xmlDoc.async = 'false';
  9071. xmlDoc.loadXML(xmlStr);
  9072. return xmlDoc;
  9073. }
  9074. throw new Error('No XML parser found');
  9075. }
  9076. function replaceMultispaces(textContent) {
  9077. return textContent.replace(/\s{2,}/g, ' ');
  9078. }
  9079. function replaceNewLines(textContent) {
  9080. return replaceMultispaces(textContent.trim().replace(/\n/g, ' '));
  9081. }
  9082. function replaceNotWordChar(textContent) {
  9083. return textContent && textContent.replace(/[\W_]/, ' ');
  9084. }
  9085. function removeSpaces(textContent) {
  9086. return textContent.replace(/\s/g, '');
  9087. }
  9088. /***/ }),
  9089. /***/ "KA5I":
  9090. /*!*****************************************************!*\
  9091. !*** ./src/app/services/entities-select.service.ts ***!
  9092. \*****************************************************/
  9093. /*! exports provided: EntitiesSelectService */
  9094. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  9095. "use strict";
  9096. __webpack_require__.r(__webpack_exports__);
  9097. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "EntitiesSelectService", function() { return EntitiesSelectService; });
  9098. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "fXoL");
  9099. /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rxjs */ "qCKp");
  9100. /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs/operators */ "kU1M");
  9101. /* harmony import */ var _app_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../app.config */ "aR35");
  9102. class EntitiesSelectService {
  9103. constructor() {
  9104. this.updateSelection$ = new rxjs__WEBPACK_IMPORTED_MODULE_1__["Subject"]();
  9105. this.selectedItems$ = this.updateSelection$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["shareReplay"])(1));
  9106. }
  9107. getClassNameFromValue(value) {
  9108. return value.toLowerCase().replace(/\s/g, '').replace(/(\[.*?\])/g, '');
  9109. }
  9110. getAttributesFromValue(value) {
  9111. return (value.toLowerCase().replace(/\s/g, '').match(/(\[.*?\])/g) || [])
  9112. .map(i => i.replace(/(\[|\]|\')/g, '').split('=')).map(i => ({ key: i[0], value: i[1] }));
  9113. }
  9114. matchClassAndAttributes(valueForCheck, attributesToCheck, classToCheck) {
  9115. return valueForCheck.split(',')
  9116. .some(v => this.matchClass(v, classToCheck) && this.matchAttributes(v, attributesToCheck));
  9117. }
  9118. matchClass(classForCheck, classToCheck) {
  9119. return classToCheck === this.getClassNameFromValue(classForCheck);
  9120. }
  9121. matchAttributes(attributesForCheck, attributesToCheck) {
  9122. return this.getAttributesFromValue(attributesForCheck).every(a => attributesToCheck[a.key] === a.value);
  9123. }
  9124. getHighlightColor(attributesToCheck, classNameToCheck, selectedItems) {
  9125. const entitiesSelectItems = _app_config__WEBPACK_IMPORTED_MODULE_3__["AppConfig"].evtSettings.edition.entitiesSelectItems
  9126. .reduce((i, g) => i.concat(g.items), [])
  9127. .reduce((x, y) => {
  9128. const multiValues = [];
  9129. y.value.split(',').forEach(t => {
  9130. multiValues.push(Object.assign(Object.assign({}, y), { value: t }));
  9131. });
  9132. return x.concat(multiValues);
  9133. }, []);
  9134. let bestMatch;
  9135. entitiesSelectItems.forEach(item => {
  9136. let score = 0;
  9137. score += this.matchClass(item.value, classNameToCheck) ? 1 : 0;
  9138. const attributes = this.getAttributesFromValue(item.value);
  9139. score += attributes.length && this.matchAttributes(item.value, attributesToCheck) ? 1 : 0;
  9140. if (score > 0 && selectedItems) {
  9141. score += selectedItems.find(i => i.value === item.value) ? 1 : 0;
  9142. }
  9143. if (score > 0 && (!bestMatch || bestMatch.score < score)) {
  9144. bestMatch = Object.assign(Object.assign({}, item), { score });
  9145. }
  9146. });
  9147. return bestMatch ? bestMatch.color : '';
  9148. }
  9149. }
  9150. EntitiesSelectService.ɵfac = function EntitiesSelectService_Factory(t) { return new (t || EntitiesSelectService)(); };
  9151. EntitiesSelectService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ token: EntitiesSelectService, factory: EntitiesSelectService.ɵfac, providedIn: 'root' });
  9152. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](EntitiesSelectService, [{
  9153. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"],
  9154. args: [{
  9155. providedIn: 'root',
  9156. }]
  9157. }], null, null); })();
  9158. /***/ }),
  9159. /***/ "LjVO":
  9160. /*!*****************************************************!*\
  9161. !*** ./src/app/services/iperlems-select.service.ts ***!
  9162. \*****************************************************/
  9163. /*! exports provided: IperlemsSelectService */
  9164. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  9165. "use strict";
  9166. __webpack_require__.r(__webpack_exports__);
  9167. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "IperlemsSelectService", function() { return IperlemsSelectService; });
  9168. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "fXoL");
  9169. /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rxjs */ "qCKp");
  9170. /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs/operators */ "kU1M");
  9171. /* harmony import */ var _app_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../app.config */ "aR35");
  9172. class IperlemsSelectService {
  9173. constructor() {
  9174. this.updateIperlemsSelection$ = new rxjs__WEBPACK_IMPORTED_MODULE_1__["Subject"]();
  9175. this.selectedIperlemsItems$ = this.updateIperlemsSelection$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["shareReplay"])(1));
  9176. }
  9177. getClassNameFromValue(value) {
  9178. return value.toLowerCase().replace(/\s/g, '').replace(/(\[.*?\])/g, '');
  9179. }
  9180. getAttributesFromValue(value) {
  9181. return (value.toLowerCase().replace(/\s/g, '').match(/(\[.*?\])/g) || [])
  9182. .map(i => i.replace(/(\[|\]|\')/g, '').split('=')).map(i => ({ key: i[0], value: i[1] }));
  9183. }
  9184. matchClassAndAttributes(valueForCheck, attributesToCheck, classToCheck) {
  9185. return valueForCheck.split(',')
  9186. .some(v => this.matchClass(v, classToCheck) && this.matchAttributes(v, attributesToCheck));
  9187. }
  9188. matchClass(classForCheck, classToCheck) {
  9189. return classToCheck === this.getClassNameFromValue(classForCheck);
  9190. }
  9191. matchAttributes(attributesForCheck, attributesToCheck) {
  9192. return this.getAttributesFromValue(attributesForCheck).every(a => attributesToCheck[a.key] === a.value);
  9193. }
  9194. getHighlightColor(attributesToCheck, classNameToCheck, selectedIperlemsItems) {
  9195. const iperlemsSelectItems = _app_config__WEBPACK_IMPORTED_MODULE_3__["AppConfig"].evtSettings.edition.iperlemsSelectItems
  9196. .reduce((i, g) => i.concat(g.items), [])
  9197. .reduce((x, y) => {
  9198. const multiValues = [];
  9199. y.value.split(',').forEach(t => {
  9200. multiValues.push(Object.assign(Object.assign({}, y), { value: t }));
  9201. });
  9202. return x.concat(multiValues);
  9203. }, []);
  9204. let bestMatch;
  9205. iperlemsSelectItems.forEach(item => {
  9206. let score = 0;
  9207. score += this.matchClass(item.value, classNameToCheck) ? 1 : 0;
  9208. const attributes = this.getAttributesFromValue(item.value);
  9209. score += attributes.length && this.matchAttributes(item.value, attributesToCheck) ? 1 : 0;
  9210. if (score > 0 && selectedIperlemsItems) {
  9211. score += selectedIperlemsItems.find(i => i.value === item.value) ? 1 : 0;
  9212. }
  9213. if (score > 0 && (!bestMatch || bestMatch.score < score)) {
  9214. bestMatch = Object.assign(Object.assign({}, item), { score });
  9215. }
  9216. });
  9217. return bestMatch ? bestMatch.color : '';
  9218. }
  9219. }
  9220. IperlemsSelectService.ɵfac = function IperlemsSelectService_Factory(t) { return new (t || IperlemsSelectService)(); };
  9221. IperlemsSelectService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ token: IperlemsSelectService, factory: IperlemsSelectService.ɵfac, providedIn: 'root' });
  9222. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](IperlemsSelectService, [{
  9223. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"],
  9224. args: [{
  9225. providedIn: 'root',
  9226. }]
  9227. }], null, null); })();
  9228. /***/ }),
  9229. /***/ "M+Vw":
  9230. /*!*************************************************************************************************************!*\
  9231. !*** ./src/app/components/lemmatized-entity/lemmatized-entity-detail/lemmatized-entity-detail.component.ts ***!
  9232. \*************************************************************************************************************/
  9233. /*! exports provided: LemmatizedEntityDetailComponent */
  9234. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  9235. "use strict";
  9236. __webpack_require__.r(__webpack_exports__);
  9237. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "LemmatizedEntityDetailComponent", function() { return LemmatizedEntityDetailComponent; });
  9238. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "mrSG");
  9239. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "fXoL");
  9240. /* harmony import */ var _models_evt_models__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../models/evt-models */ "5c0l");
  9241. /* harmony import */ var _services_component_register_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../services/component-register.service */ "d25s");
  9242. /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/common */ "ofXK");
  9243. /* harmony import */ var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../content-viewer/content-viewer.component */ "t6RO");
  9244. /* harmony import */ var _ui_components_icon_icon_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../ui-components/icon/icon.component */ "Mijh");
  9245. function LemmatizedEntityDetailComponent_span_2_Template(rf, ctx) { if (rf & 1) {
  9246. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 4);
  9247. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1, "Lemma: ");
  9248. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  9249. } }
  9250. function LemmatizedEntityDetailComponent_span_3_Template(rf, ctx) { if (rf & 1) {
  9251. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 4);
  9252. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1, " Note: ");
  9253. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  9254. } }
  9255. function LemmatizedEntityDetailComponent_ng_container_5_div_3_li_1_span_1_Template(rf, ctx) { if (rf & 1) {
  9256. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 4);
  9257. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1, "Forma normalizzata: ");
  9258. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  9259. } }
  9260. function LemmatizedEntityDetailComponent_ng_container_5_div_3_li_1_span_2_Template(rf, ctx) { if (rf & 1) {
  9261. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 4);
  9262. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1, "Iperlemma: ");
  9263. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  9264. } }
  9265. function LemmatizedEntityDetailComponent_ng_container_5_div_3_li_1_span_3_Template(rf, ctx) { if (rf & 1) {
  9266. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 4);
  9267. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1, "Categoria grammaticale: ");
  9268. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  9269. } }
  9270. function LemmatizedEntityDetailComponent_ng_container_5_div_3_li_1_span_4_Template(rf, ctx) { if (rf & 1) {
  9271. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span");
  9272. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1);
  9273. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  9274. } if (rf & 2) {
  9275. const item_r7 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2).$implicit;
  9276. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  9277. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](item_r7.value);
  9278. } }
  9279. function LemmatizedEntityDetailComponent_ng_container_5_div_3_li_1_Template(rf, ctx) { if (rf & 1) {
  9280. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "li");
  9281. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, LemmatizedEntityDetailComponent_ng_container_5_div_3_li_1_span_1_Template, 2, 0, "span", 1);
  9282. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, LemmatizedEntityDetailComponent_ng_container_5_div_3_li_1_span_2_Template, 2, 0, "span", 1);
  9283. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, LemmatizedEntityDetailComponent_ng_container_5_div_3_li_1_span_3_Template, 2, 0, "span", 1);
  9284. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, LemmatizedEntityDetailComponent_ng_container_5_div_3_li_1_span_4_Template, 2, 1, "span", 7);
  9285. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  9286. } if (rf & 2) {
  9287. const item_r7 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]().$implicit;
  9288. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  9289. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", item_r7.key === "norm" && item_r7.key !== "lemmaRef");
  9290. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  9291. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", item_r7.key === "type" && item_r7.key !== "lemmaRef");
  9292. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  9293. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", item_r7.key === "pos" && item_r7.key !== "lemmaRef");
  9294. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  9295. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", item_r7.key !== "lemmaRef");
  9296. } }
  9297. function LemmatizedEntityDetailComponent_ng_container_5_div_3_Template(rf, ctx) { if (rf & 1) {
  9298. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div");
  9299. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, LemmatizedEntityDetailComponent_ng_container_5_div_3_li_1_Template, 5, 4, "li", 7);
  9300. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  9301. } if (rf & 2) {
  9302. const item_r7 = ctx.$implicit;
  9303. const ctx_r6 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
  9304. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  9305. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", item_r7.key !== "lemmaRef" && ctx_r6.data.label !== "div");
  9306. } }
  9307. function LemmatizedEntityDetailComponent_ng_container_5_Template(rf, ctx) { if (rf & 1) {
  9308. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
  9309. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](1, "evt-content-viewer", 5);
  9310. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](2, "ul", 6);
  9311. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, LemmatizedEntityDetailComponent_ng_container_5_div_3_Template, 2, 1, "div", 3);
  9312. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](4, "keyvalue");
  9313. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  9314. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
  9315. } if (rf & 2) {
  9316. const element_r5 = ctx.$implicit;
  9317. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  9318. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", element_r5);
  9319. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  9320. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](4, 2, element_r5.attributes));
  9321. } }
  9322. function LemmatizedEntityDetailComponent_span_6_Template(rf, ctx) { if (rf & 1) {
  9323. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 4);
  9324. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1, " Risorse esterne");
  9325. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](2, "br");
  9326. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](3, "Consulta il Tesoro della Lingua Italiana delle Origini ");
  9327. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  9328. } }
  9329. const _c0 = function () { return { icon: "external-link-alt", iconSet: "fas" }; };
  9330. function LemmatizedEntityDetailComponent_ng_container_8_div_2_li_1_Template(rf, ctx) { if (rf & 1) {
  9331. const _r23 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵgetCurrentView"]();
  9332. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "li");
  9333. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "div");
  9334. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](2, "span", 8);
  9335. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("click", function LemmatizedEntityDetailComponent_ng_container_8_div_2_li_1_Template_span_click_2_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵrestoreView"](_r23); const ctx_r22 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](3); return ctx_r22.openlinkLem(); });
  9336. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](3, "a", 9);
  9337. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](4, " Definizione lemma ");
  9338. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](5, "evt-icon", 10);
  9339. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  9340. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  9341. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  9342. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  9343. } if (rf & 2) {
  9344. const ctx_r20 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](3);
  9345. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  9346. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵclassProp"]("pointer", ctx_r20.linkLem);
  9347. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](3);
  9348. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("iconInfo", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction0"](3, _c0));
  9349. } }
  9350. function LemmatizedEntityDetailComponent_ng_container_8_div_2_li_2_Template(rf, ctx) { if (rf & 1) {
  9351. const _r25 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵgetCurrentView"]();
  9352. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "li");
  9353. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "div");
  9354. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](2, "span", 8);
  9355. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("click", function LemmatizedEntityDetailComponent_ng_container_8_div_2_li_2_Template_span_click_2_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵrestoreView"](_r25); const ctx_r24 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](3); return ctx_r24.openlinkTLIO(); });
  9356. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](3, "a", 9);
  9357. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](4, " TLIO ");
  9358. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](5, "evt-icon", 10);
  9359. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  9360. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  9361. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  9362. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  9363. } if (rf & 2) {
  9364. const ctx_r21 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](3);
  9365. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  9366. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵclassProp"]("pointer", ctx_r21.linkLem);
  9367. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](3);
  9368. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("iconInfo", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction0"](3, _c0));
  9369. } }
  9370. function LemmatizedEntityDetailComponent_ng_container_8_div_2_Template(rf, ctx) { if (rf & 1) {
  9371. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div");
  9372. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, LemmatizedEntityDetailComponent_ng_container_8_div_2_li_1_Template, 6, 4, "li", 7);
  9373. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, LemmatizedEntityDetailComponent_ng_container_8_div_2_li_2_Template, 6, 4, "li", 7);
  9374. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  9375. } if (rf & 2) {
  9376. const item_r19 = ctx.$implicit;
  9377. const ctx_r18 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
  9378. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  9379. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", item_r19.key === "lemmaRef" && ctx_r18.data.label !== "lem" && ctx_r18.data.label != "note" && ctx_r18.data.label === "a" && item_r19.key !== "pos" && item_r19.key !== "norm" && item_r19.key !== "type");
  9380. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  9381. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", item_r19.key !== "lemmaRef" && ctx_r18.data.label !== "a" && item_r19.key !== "pos" && item_r19.key !== "norm");
  9382. } }
  9383. function LemmatizedEntityDetailComponent_ng_container_8_Template(rf, ctx) { if (rf & 1) {
  9384. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
  9385. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "ul", 6);
  9386. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, LemmatizedEntityDetailComponent_ng_container_8_div_2_Template, 3, 2, "div", 3);
  9387. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](3, "keyvalue");
  9388. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  9389. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
  9390. } if (rf & 2) {
  9391. const element_r15 = ctx.$implicit;
  9392. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  9393. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](3, 1, element_r15.attributes));
  9394. } }
  9395. // import { normalizeUrl } from '../../../utils/js-utils';
  9396. let LemmatizedEntityDetailComponent = class LemmatizedEntityDetailComponent {
  9397. constructor() {
  9398. this.iconData = {
  9399. actors: { icon: 'users' },
  9400. birth: { icon: 'birthday-cake' },
  9401. bloc: { icon: 'map-marker' },
  9402. country: { icon: 'map-marker' },
  9403. death: { icon: 'times', rotate: 45 },
  9404. district: { icon: 'map-marker' },
  9405. geogFeat: { icon: 'map-marker' },
  9406. geoname: { icon: 'map-marker' },
  9407. idno: { icon: 'barcode' },
  9408. note: { icon: 'sticky-note' },
  9409. occupation: { icon: 'briefcase' },
  9410. orgname: { icon: 'users' },
  9411. persname: { icon: 'user' },
  9412. placename: { icon: 'map-marker' },
  9413. region: { icon: 'map-marker' },
  9414. relations: { icon: 'share-alt' },
  9415. residence: { icon: 'home' },
  9416. settlement: { icon: 'location-arrow' },
  9417. sex: { icon: 'venus-mars' },
  9418. link: { icon: 'external-link-alt', iconSet: 'fas' }
  9419. };
  9420. this.defaultIcon = { icon: 'info-circle' };
  9421. }
  9422. get linkLem() {
  9423. var link = this.data.attributes.lemmaRef;
  9424. return link;
  9425. }
  9426. openlinkLem() {
  9427. if (this.linkLem) {
  9428. window.open(this.linkLem);
  9429. }
  9430. }
  9431. openlinkTLIO() {
  9432. window.open('http://tlio.ovi.cnr.it/TLIO/');
  9433. }
  9434. };
  9435. LemmatizedEntityDetailComponent.ɵfac = function LemmatizedEntityDetailComponent_Factory(t) { return new (t || LemmatizedEntityDetailComponent)(); };
  9436. LemmatizedEntityDetailComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({ type: LemmatizedEntityDetailComponent, selectors: [["evt-lemmatized-entity-detail"]], inputs: { data: "data" }, decls: 9, vars: 8, consts: [[3, "title"], ["class", "label", 4, "ngIf"], [1, "text"], [4, "ngFor", "ngForOf"], [1, "label"], [3, "content"], [1, "attributes-list"], [4, "ngIf"], [3, "click"], [1, "ml-2", "external-link-alt"], [3, "iconInfo"]], template: function LemmatizedEntityDetailComponent_Template(rf, ctx) { if (rf & 1) {
  9437. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 0);
  9438. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](1, "lowercase");
  9439. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, LemmatizedEntityDetailComponent_span_2_Template, 2, 0, "span", 1);
  9440. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, LemmatizedEntityDetailComponent_span_3_Template, 2, 0, "span", 1);
  9441. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](4, "span", 2);
  9442. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](5, LemmatizedEntityDetailComponent_ng_container_5_Template, 5, 4, "ng-container", 3);
  9443. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](6, LemmatizedEntityDetailComponent_span_6_Template, 4, 0, "span", 1);
  9444. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](7, "span");
  9445. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](8, LemmatizedEntityDetailComponent_ng_container_8_Template, 4, 3, "ng-container", 3);
  9446. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  9447. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  9448. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  9449. } if (rf & 2) {
  9450. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("title", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](1, 6, "<" + ctx.data.label + ">"));
  9451. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  9452. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data.label == "lem");
  9453. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  9454. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data.label == "note");
  9455. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  9456. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx.data.content);
  9457. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  9458. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data.label == "lem");
  9459. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  9460. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx.data.content);
  9461. } }, directives: [_angular_common__WEBPACK_IMPORTED_MODULE_4__["NgIf"], _angular_common__WEBPACK_IMPORTED_MODULE_4__["NgForOf"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_5__["ContentViewerComponent"], _ui_components_icon_icon_component__WEBPACK_IMPORTED_MODULE_6__["IconComponent"]], pipes: [_angular_common__WEBPACK_IMPORTED_MODULE_4__["LowerCasePipe"], _angular_common__WEBPACK_IMPORTED_MODULE_4__["KeyValuePipe"]], styles: [".icon[_ngcontent-%COMP%] {\n margin-right: 5px;\n min-width: 15px;\n cursor: help;\n display: inline-block;\n}\n\n.label[_ngcontent-%COMP%] {\n font-variant: small-caps;\n text-transform: capitalize;\n font-size: 95%;\n}\n\n.attributes-list[_ngcontent-%COMP%] {\n list-style-type: circle;\n margin-bottom: 0.1rem;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL2xlbW1hdGl6ZWQtZW50aXR5LWRldGFpbC5jb21wb25lbnQuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNJLGlCQUFBO0VBQ0EsZUFBQTtFQUNBLFlBQUE7RUFDQSxxQkFBQTtBQUNKOztBQUVBO0VBQ0ksd0JBQUE7RUFDQSwwQkFBQTtFQUNBLGNBQUE7QUFDSjs7QUFFQTtFQUNJLHVCQUFBO0VBQ0EscUJBQUE7QUFDSiIsImZpbGUiOiJsZW1tYXRpemVkLWVudGl0eS1kZXRhaWwuY29tcG9uZW50LnNjc3MiLCJzb3VyY2VzQ29udGVudCI6WyIuaWNvbiB7XG4gICAgbWFyZ2luLXJpZ2h0OiA1cHg7XG4gICAgbWluLXdpZHRoOiAxNXB4O1xuICAgIGN1cnNvcjogaGVscDtcbiAgICBkaXNwbGF5OiBpbmxpbmUtYmxvY2s7XG59XG5cbi5sYWJlbCB7XG4gICAgZm9udC12YXJpYW50OiBzbWFsbC1jYXBzO1xuICAgIHRleHQtdHJhbnNmb3JtOiBjYXBpdGFsaXplO1xuICAgIGZvbnQtc2l6ZTogOTUlO1xufVxuXG4uYXR0cmlidXRlcy1saXN0IHtcbiAgICBsaXN0LXN0eWxlLXR5cGU6IGNpcmNsZTtcbiAgICBtYXJnaW4tYm90dG9tOiAuMXJlbTtcbn1cblxuIl19 */"] });
  9462. LemmatizedEntityDetailComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  9463. Object(_services_component_register_service__WEBPACK_IMPORTED_MODULE_3__["register"])(_models_evt_models__WEBPACK_IMPORTED_MODULE_2__["LemmatizedEntityInfo"])
  9464. ], LemmatizedEntityDetailComponent);
  9465. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](LemmatizedEntityDetailComponent, [{
  9466. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
  9467. args: [{
  9468. selector: 'evt-lemmatized-entity-detail',
  9469. templateUrl: './lemmatized-entity-detail.component.html',
  9470. styleUrls: ['./lemmatized-entity-detail.component.scss'],
  9471. }]
  9472. }], null, { data: [{
  9473. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
  9474. }] }); })();
  9475. /***/ }),
  9476. /***/ "Mijh":
  9477. /*!******************************************************!*\
  9478. !*** ./src/app/ui-components/icon/icon.component.ts ***!
  9479. \******************************************************/
  9480. /*! exports provided: IconComponent */
  9481. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  9482. "use strict";
  9483. __webpack_require__.r(__webpack_exports__);
  9484. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "IconComponent", function() { return IconComponent; });
  9485. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "fXoL");
  9486. /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/common */ "ofXK");
  9487. /* harmony import */ var _fortawesome_angular_fontawesome__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @fortawesome/angular-fontawesome */ "6NWb");
  9488. function IconComponent_ng_container_0_ng_container_2_Template(rf, ctx) { if (rf & 1) {
  9489. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
  9490. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](1, "span");
  9491. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
  9492. } if (rf & 2) {
  9493. const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
  9494. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  9495. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵclassMapInterpolate2"]("evt-icon-", ctx_r1.iconInfo.icon, " ", ctx_r1.iconInfo.additionalClasses, "");
  9496. } }
  9497. const _c0 = function (a0, a1) { return [a0, a1]; };
  9498. function IconComponent_ng_container_0_ng_container_3_Template(rf, ctx) { if (rf & 1) {
  9499. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
  9500. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](1, "fa-icon", 4);
  9501. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
  9502. } if (rf & 2) {
  9503. const ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
  9504. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  9505. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵclassMap"](ctx_r2.iconInfo.additionalClasses);
  9506. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("icon", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction2"](7, _c0, ctx_r2.iconInfo.iconSet, ctx_r2.iconInfo.icon))("rotate", ctx_r2.iconInfo.rotate)("transform", ctx_r2.iconInfo.transform)("mask", ctx_r2.iconInfo.mask);
  9507. } }
  9508. function IconComponent_ng_container_0_ng_container_4_Template(rf, ctx) { if (rf & 1) {
  9509. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
  9510. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "span", 5);
  9511. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2, "iconSet non supportato");
  9512. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  9513. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
  9514. } }
  9515. function IconComponent_ng_container_0_Template(rf, ctx) { if (rf & 1) {
  9516. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
  9517. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](1, 1);
  9518. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, IconComponent_ng_container_0_ng_container_2_Template, 2, 4, "ng-container", 2);
  9519. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](3, IconComponent_ng_container_0_ng_container_3_Template, 2, 10, "ng-container", 2);
  9520. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](4, IconComponent_ng_container_0_ng_container_4_Template, 3, 0, "ng-container", 3);
  9521. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
  9522. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
  9523. } if (rf & 2) {
  9524. const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
  9525. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  9526. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngSwitch", true);
  9527. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  9528. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngSwitchCase", ctx_r0.iconInfo.iconSet === "evt");
  9529. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  9530. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngSwitchCase", ctx_r0.iconInfo.iconSet === "fas" || ctx_r0.iconInfo.iconSet === "far");
  9531. } }
  9532. class IconComponent {
  9533. ngOnInit() {
  9534. if (this.iconInfo) {
  9535. this.iconInfo.iconSet = this.iconInfo.iconSet ? this.iconInfo.iconSet : 'fas'; // Default set is Fontawesome Solid
  9536. this.iconInfo.additionalClasses = this.iconInfo.additionalClasses || '';
  9537. this.iconInfo.rotate = this.iconInfo.rotate !== undefined ? this.iconInfo.rotate : 0;
  9538. }
  9539. }
  9540. }
  9541. IconComponent.ɵfac = function IconComponent_Factory(t) { return new (t || IconComponent)(); };
  9542. IconComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: IconComponent, selectors: [["evt-icon"]], inputs: { iconInfo: "iconInfo" }, decls: 1, vars: 1, consts: [[4, "ngIf"], [3, "ngSwitch"], [4, "ngSwitchCase"], [4, "ngSwitchDefault"], [3, "icon", "rotate", "transform", "mask"], [2, "display", "none"]], template: function IconComponent_Template(rf, ctx) { if (rf & 1) {
  9543. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](0, IconComponent_ng_container_0_Template, 5, 3, "ng-container", 0);
  9544. } if (rf & 2) {
  9545. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.iconInfo);
  9546. } }, directives: [_angular_common__WEBPACK_IMPORTED_MODULE_1__["NgIf"], _angular_common__WEBPACK_IMPORTED_MODULE_1__["NgSwitch"], _angular_common__WEBPACK_IMPORTED_MODULE_1__["NgSwitchCase"], _angular_common__WEBPACK_IMPORTED_MODULE_1__["NgSwitchDefault"], _fortawesome_angular_fontawesome__WEBPACK_IMPORTED_MODULE_2__["FaIconComponent"]], styles: ["@charset \"UTF-8\";\n@font-face {\n font-family: \"evt-icons\";\n src: url(\"/assets/fonts/evt-icons.eot?yo01vg\");\n src: url(\"/assets/fonts/evt-icons.eot?yo01vg#iefix\") format(\"embedded-opentype\"), url(\"/evt/assets/fonts/evt-icons.ttf?yo01vg\") format(\"truetype\"), url(\"/assets/fonts/evt-icons.woff?yo01vg\") format(\"woff\"), url(\"/assets/fonts/evt-icons.svg?yo01vg#evt-icons\") format(\"svg\");\n font-weight: normal;\n font-style: normal;\n font-display: block;\n}\n[class^=evt-icon-][_ngcontent-%COMP%], [class*=\" evt-icon-\"][_ngcontent-%COMP%] {\n \n font-family: \"evt-icons\" !important;\n speak-as: none;\n font-style: normal;\n font-weight: normal;\n font-variant: normal;\n text-transform: none;\n line-height: 1;\n \n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n.evt-icon-files-empty[_ngcontent-%COMP%]:before {\n content: \"\uE93C\";\n}\n.evt-icon-equalizer[_ngcontent-%COMP%]:before {\n content: \"\uE93D\";\n}\n.evt-icon-square-o[_ngcontent-%COMP%]:before {\n content: \"\uE93E\";\n}\n.evt-icon-copy[_ngcontent-%COMP%]:before {\n content: \"\uE93F\";\n}\n.evt-icon-clone[_ngcontent-%COMP%]:before {\n content: \"\uE940\";\n}\n.evt-icon-quote-right[_ngcontent-%COMP%]:before {\n content: \"\uE941\";\n}\n.evt-icon-fork[_ngcontent-%COMP%]:before {\n content: \"\uE942\";\n}\n.evt-icon-quote-left[_ngcontent-%COMP%]:before {\n content: \"\uE943\";\n}\n.evt-icon-versions[_ngcontent-%COMP%]:before {\n content: \"\uE944\";\n}\n.evt-icon-srcTxt[_ngcontent-%COMP%]:before {\n content: \"\uE945\";\n}\n.evt-icon-bookreader[_ngcontent-%COMP%]:before {\n content: \"\uE904\";\n}\n.evt-icon-collation[_ngcontent-%COMP%]:before {\n content: \"\uE908\";\n}\n.evt-icon-imgTxt[_ngcontent-%COMP%]:before {\n content: \"\uE91C\";\n}\n.evt-icon-txt[_ngcontent-%COMP%]:before {\n content: \"\uE92E\";\n}\n.evt-icon-txtTxt[_ngcontent-%COMP%]:before {\n content: \"\uE92F\";\n}\n.evt-icon-add[_ngcontent-%COMP%]:before {\n content: \"\uE900\";\n}\n.evt-icon-book[_ngcontent-%COMP%]:before {\n content: \"\uE901\";\n}\n.evt-icon-bookmark-alt[_ngcontent-%COMP%]:before {\n content: \"\uE902\";\n}\n.evt-icon-bookmark[_ngcontent-%COMP%]:before {\n content: \"\uE903\";\n}\n.evt-icon-books[_ngcontent-%COMP%]:before {\n content: \"\uE905\";\n}\n.evt-icon-close[_ngcontent-%COMP%]:before {\n content: \"\uE906\";\n}\n.evt-icon-code[_ngcontent-%COMP%]:before {\n content: \"\uE907\";\n}\n.evt-icon-color-legend[_ngcontent-%COMP%]:before {\n content: \"\uE909\";\n}\n.evt-icon-color-lens[_ngcontent-%COMP%]:before {\n content: \"\uE90A\";\n}\n.evt-icon-colors-fill[_ngcontent-%COMP%]:before {\n content: \"\uE90B\";\n}\n.evt-icon-copyright[_ngcontent-%COMP%]:before {\n content: \"\uE90C\";\n}\n.evt-icon-drop-down[_ngcontent-%COMP%]:before {\n content: \"\uE90D\";\n}\n.evt-icon-drop-up[_ngcontent-%COMP%]:before {\n content: \"\uE90E\";\n}\n.evt-icon-filter[_ngcontent-%COMP%]:before {\n content: \"\uE90F\";\n}\n.evt-icon-find-in-page[_ngcontent-%COMP%]:before {\n content: \"\uE910\";\n}\n.evt-icon-font-size-minu-alt[_ngcontent-%COMP%]:before {\n content: \"\uE911\";\n}\n.evt-icon-font-size-minus[_ngcontent-%COMP%]:before {\n content: \"\uE912\";\n}\n.evt-icon-font-size-plus-alt[_ngcontent-%COMP%]:before {\n content: \"\uE913\";\n}\n.evt-icon-font-size-plus[_ngcontent-%COMP%]:before {\n content: \"\uE914\";\n}\n.evt-icon-font-size-reset[_ngcontent-%COMP%]:before {\n content: \"\uE915\";\n}\n.evt-icon-fragment[_ngcontent-%COMP%]:before {\n content: \"\uE916\";\n}\n.evt-icon-heatmap-alt[_ngcontent-%COMP%]:before {\n content: \"\uE917\";\n}\n.evt-icon-heatmap[_ngcontent-%COMP%]:before {\n content: \"\uE918\";\n}\n.evt-icon-help-alt[_ngcontent-%COMP%]:before {\n content: \"\uE919\";\n}\n.evt-icon-help[_ngcontent-%COMP%]:before {\n content: \"\uE91A\";\n}\n.evt-icon-hotspot[_ngcontent-%COMP%]:before {\n content: \"\uE91B\";\n}\n.evt-icon-info-alt-r[_ngcontent-%COMP%]:before {\n content: \"\uE91D\";\n}\n.evt-icon-info-alt-sq[_ngcontent-%COMP%]:before {\n content: \"\uE91E\";\n}\n.evt-icon-info-alt[_ngcontent-%COMP%]:before {\n content: \"\uE91F\";\n}\n.evt-icon-info[_ngcontent-%COMP%]:before {\n content: \"\uE920\";\n}\n.evt-icon-link[_ngcontent-%COMP%]:before {\n content: \"\uE921\";\n}\n.evt-icon-list-alt[_ngcontent-%COMP%]:before {\n content: \"\uE922\";\n}\n.evt-icon-list[_ngcontent-%COMP%]:before {\n content: \"\uE923\";\n}\n.evt-icon-mail[_ngcontent-%COMP%]:before {\n content: \"\uE924\";\n}\n.evt-icon-menu[_ngcontent-%COMP%]:before {\n content: \"\uE925\";\n}\n.evt-icon-paragraph[_ngcontent-%COMP%]:before {\n content: \"\uE929\";\n}\n.evt-icon-search[_ngcontent-%COMP%]:before {\n content: \"\uE92D\";\n}\n.evt-icon-zoom-fit[_ngcontent-%COMP%]:before {\n content: \"\uE930\";\n}\n.evt-icon-zoom-in[_ngcontent-%COMP%]:before {\n content: \"\uE931\";\n}\n.evt-icon-zoom-one[_ngcontent-%COMP%]:before {\n content: \"\uE932\";\n}\n.evt-icon-zoom-out[_ngcontent-%COMP%]:before {\n content: \"\uE933\";\n}\n.evt-icon-zoom[_ngcontent-%COMP%]:before {\n content: \"\uE934\";\n}\n.evt-icon-align[_ngcontent-%COMP%]:before {\n content: \"\uE935\";\n}\n.evt-icon-bookmark-alt2[_ngcontent-%COMP%]:before {\n content: \"\uE936\";\n}\n.evt-icon-bookreader-alt[_ngcontent-%COMP%]:before {\n content: \"\uE937\";\n}\n.evt-icon-font-size-minus-alt[_ngcontent-%COMP%]:before {\n content: \"\uE938\";\n}\n.evt-icon-font-size-reset-alt[_ngcontent-%COMP%]:before {\n content: \"\uE939\";\n}\n.evt-icon-font-size[_ngcontent-%COMP%]:before {\n content: \"\uE93A\";\n}\n.evt-icon-thumbnails[_ngcontent-%COMP%]:before {\n content: \"\uE93B\";\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2ljb24uY29tcG9uZW50LnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsZ0JBQWdCO0FBQWhCO0VBQ0ksd0JBQUE7RUFDQSw4Q0FBQTtFQUNBLDRRQUFBO0VBSUEsbUJBQUE7RUFDQSxrQkFBQTtFQUNBLG1CQUFBO0FBREo7QUFJQTs7RUFFSSwrRUFBQTtFQUNBLG1DQUFBO0VBQ0EsY0FBQTtFQUNBLGtCQUFBO0VBQ0EsbUJBQUE7RUFDQSxvQkFBQTtFQUNBLG9CQUFBO0VBQ0EsY0FBQTtFQUVBLHNDQUFBO0VBQ0EsbUNBQUE7RUFDQSxrQ0FBQTtBQUhKO0FBTUE7RUFDSSxZQUFBO0FBSEo7QUFNQTtFQUNJLFlBQUE7QUFISjtBQU1BO0VBQ0ksWUFBQTtBQUhKO0FBTUE7RUFDSSxZQUFBO0FBSEo7QUFNQTtFQUNJLFlBQUE7QUFISjtBQU1BO0VBQ0ksWUFBQTtBQUhKO0FBTUE7RUFDSSxZQUFBO0FBSEo7QUFNQTtFQUNJLFlBQUE7QUFISjtBQU1BO0VBQ0ksWUFBQTtBQUhKO0FBTUE7RUFDSSxZQUFBO0FBSEo7QUFNQTtFQUNJLFlBQUE7QUFISjtBQU1BO0VBQ0ksWUFBQTtBQUhKO0FBTUE7RUFDSSx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ldnQtaWNvbi1mb250LXNpemUtcmVzZXQtYWx0OmJlZm9yZSB7XG4gICAgY29udGVudDogXCJcXGU5MzlcIjtcbn1cblxuLmV2dC1pY29uLWZvbnQtc2l6ZTpiZWZvcmUge1xuICAgIGNvbnRlbnQ6IFwiXFxlOTNhXCI7XG59XG5cbi5ldnQtaWNvbi10aHVtYm5haWxzOmJlZm9yZSB7XG4gICAgY29udGVudDogXCJcXGU5M2JcIjtcbn0iXX0= */"] });
  9547. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](IconComponent, [{
  9548. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
  9549. args: [{
  9550. selector: 'evt-icon',
  9551. templateUrl: './icon.component.html',
  9552. styleUrls: ['./icon.component.scss'],
  9553. }]
  9554. }], null, { iconInfo: [{
  9555. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
  9556. }] }); })();
  9557. /***/ }),
  9558. /***/ "MpUx":
  9559. /*!***********************************************************************!*\
  9560. !*** ./src/app/services/xml-parsers/named-entities-parser.service.ts ***!
  9561. \***********************************************************************/
  9562. /*! exports provided: NamedEntitiesParserService */
  9563. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  9564. "use strict";
  9565. __webpack_require__.r(__webpack_exports__);
  9566. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NamedEntitiesParserService", function() { return NamedEntitiesParserService; });
  9567. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "fXoL");
  9568. /* harmony import */ var ___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! . */ "UAXx");
  9569. /* harmony import */ var _utils_dom_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils/dom-utils */ "G9+u");
  9570. /* harmony import */ var _basic_parsers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./basic-parsers */ "bNiN");
  9571. /* harmony import */ var _named_entity_parsers__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./named-entity-parsers */ "4Z5S");
  9572. /* harmony import */ var _parser_models__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./parser-models */ "YwZW");
  9573. class NamedEntitiesParserService {
  9574. constructor() {
  9575. this.tagNamesMap = _named_entity_parsers__WEBPACK_IMPORTED_MODULE_4__["namedEntitiesListsTagNamesMap"];
  9576. }
  9577. parseLists(document) {
  9578. const listsToParse = Object(_named_entity_parsers__WEBPACK_IMPORTED_MODULE_4__["getListsToParseTagNames"])();
  9579. const listParser = ___WEBPACK_IMPORTED_MODULE_1__["ParserRegister"].get('evt-named-entities-list-parser');
  9580. // We consider only first level lists; inset lists will be considered
  9581. const lists = Array.from(document.querySelectorAll(listsToParse.toString()))
  9582. .filter((list) => !Object(_utils_dom_utils__WEBPACK_IMPORTED_MODULE_2__["isNestedInElem"])(list, list.tagName))
  9583. .map((l) => listParser.parse(l));
  9584. return {
  9585. lists,
  9586. entities: lists.map(({ content }) => content).reduce((a, b) => a.concat(b), []),
  9587. relations: lists.map(({ relations }) => relations).reduce((a, b) => a.concat(b), []),
  9588. };
  9589. }
  9590. getResultsByType(lists, entities, type) {
  9591. return {
  9592. lists: lists.filter(list => type.indexOf(list.namedEntityType) >= 0),
  9593. entities: entities.filter(entity => type.indexOf(entity.namedEntityType) >= 0),
  9594. };
  9595. }
  9596. parseNamedEntitiesOccurrences(pages) {
  9597. return pages.map(p => this.getNamedEntitiesOccurrencesInPage(p))
  9598. .reduce((x, y) => {
  9599. Object.keys(y).forEach(k => {
  9600. if (x[k]) {
  9601. x[k] = x[k].concat([y[k]]);
  9602. }
  9603. else {
  9604. x[k] = [y[k]];
  9605. }
  9606. });
  9607. return x;
  9608. }, {});
  9609. }
  9610. getNamedEntitiesOccurrencesInPage(p) {
  9611. return p.originalContent
  9612. .filter(e => e.nodeType === 1)
  9613. .map(e => {
  9614. const occurrences = [];
  9615. if (this.tagNamesMap.occurrences.indexOf(e.tagName) >= 0 && e.getAttribute('ref')) { // Handle first level page contents
  9616. occurrences.push(this.parseNamedEntityOccurrence(e));
  9617. }
  9618. return occurrences.concat(Array.from(e.querySelectorAll(this.tagNamesMap.occurrences))
  9619. .map(el => this.parseNamedEntityOccurrence(el)));
  9620. })
  9621. .filter(e => e.length > 0)
  9622. .reduce((x, y) => x.concat(y), [])
  9623. .reduce((x, y) => {
  9624. const refsByDoc = x[y.ref] ? x[y.ref].refsByDoc || [] : [];
  9625. const docRefs = refsByDoc.find(r => r.docId === y.docId);
  9626. if (docRefs) {
  9627. docRefs.refs.push(y.el);
  9628. }
  9629. else {
  9630. refsByDoc.push({
  9631. docId: y.docId,
  9632. refs: [y.el],
  9633. docLabel: y.docLabel,
  9634. });
  9635. }
  9636. return Object.assign(Object.assign({}, x), { [y.ref]: {
  9637. pageId: p.id,
  9638. pageLabel: p.label,
  9639. refsByDoc,
  9640. } });
  9641. }, {});
  9642. }
  9643. parseNamedEntityOccurrence(xml) {
  9644. const doc = xml.closest('text');
  9645. const elementParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["createParser"])(_basic_parsers__WEBPACK_IMPORTED_MODULE_3__["GenericElemParser"], ___WEBPACK_IMPORTED_MODULE_1__["parse"]);
  9646. return {
  9647. ref: xml.getAttribute('ref').replace('#', ''),
  9648. el: elementParser.parse(xml),
  9649. docId: doc ? doc.getAttribute('xml:id') : '',
  9650. docLabel: doc ? doc.getAttribute('n') || doc.getAttribute('xml:id') : '',
  9651. };
  9652. }
  9653. }
  9654. NamedEntitiesParserService.ɵfac = function NamedEntitiesParserService_Factory(t) { return new (t || NamedEntitiesParserService)(); };
  9655. NamedEntitiesParserService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ token: NamedEntitiesParserService, factory: NamedEntitiesParserService.ɵfac, providedIn: 'root' });
  9656. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](NamedEntitiesParserService, [{
  9657. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"],
  9658. args: [{
  9659. providedIn: 'root',
  9660. }]
  9661. }], null, null); })();
  9662. /***/ }),
  9663. /***/ "Mq1B":
  9664. /*!*********************************************************************!*\
  9665. !*** ./src/app/components/encoding-desc/encoding-desc.component.ts ***!
  9666. \*********************************************************************/
  9667. /*! exports provided: EncodingDescComponent */
  9668. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  9669. "use strict";
  9670. __webpack_require__.r(__webpack_exports__);
  9671. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "EncodingDescComponent", function() { return EncodingDescComponent; });
  9672. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "mrSG");
  9673. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "fXoL");
  9674. /* harmony import */ var _models_evt_models__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../models/evt-models */ "5c0l");
  9675. /* harmony import */ var _services_component_register_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../services/component-register.service */ "d25s");
  9676. /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/common */ "ofXK");
  9677. /* harmony import */ var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../content-viewer/content-viewer.component */ "t6RO");
  9678. /* harmony import */ var _ui_components_header_section_header_section_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../ui-components/header-section/header-section.component */ "iRdJ");
  9679. /* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @ngx-translate/core */ "sYmb");
  9680. function EncodingDescComponent_ng_container_1_ng_container_1_Template(rf, ctx) { if (rf & 1) {
  9681. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0);
  9682. } }
  9683. function EncodingDescComponent_ng_container_1_ng_container_2_Template(rf, ctx) { if (rf & 1) {
  9684. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0);
  9685. } }
  9686. function EncodingDescComponent_ng_container_1_ng_container_3_Template(rf, ctx) { if (rf & 1) {
  9687. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0);
  9688. } }
  9689. function EncodingDescComponent_ng_container_1_ng_container_4_Template(rf, ctx) { if (rf & 1) {
  9690. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0);
  9691. } }
  9692. function EncodingDescComponent_ng_container_1_ng_container_5_Template(rf, ctx) { if (rf & 1) {
  9693. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0);
  9694. } }
  9695. function EncodingDescComponent_ng_container_1_ng_container_6_Template(rf, ctx) { if (rf & 1) {
  9696. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0);
  9697. } }
  9698. function EncodingDescComponent_ng_container_1_ng_container_7_Template(rf, ctx) { if (rf & 1) {
  9699. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0);
  9700. } }
  9701. function EncodingDescComponent_ng_container_1_ng_container_8_Template(rf, ctx) { if (rf & 1) {
  9702. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0);
  9703. } }
  9704. function EncodingDescComponent_ng_container_1_ng_container_9_Template(rf, ctx) { if (rf & 1) {
  9705. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0);
  9706. } }
  9707. function EncodingDescComponent_ng_container_1_ng_container_10_Template(rf, ctx) { if (rf & 1) {
  9708. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0);
  9709. } }
  9710. const _c0 = function (a1) { return { label: "projectDesc", items: a1, class: "projectDesc" }; };
  9711. const _c1 = function (a1) { return { label: "samplingDecl", items: a1, class: "samplingDecl" }; };
  9712. const _c2 = function (a1) { return { label: "editorialDecl", items: a1, class: "editorialDecl" }; };
  9713. const _c3 = function (a1) { return { label: "tagsDecl", items: a1, class: "tagsDecl" }; };
  9714. const _c4 = function (a1) { return { label: "refsDecl", items: a1, class: "refsDecl" }; };
  9715. const _c5 = function (a1) { return { label: "classDecl", items: a1, class: "classDecl" }; };
  9716. const _c6 = function (a1) { return { label: "geoDecl", items: a1, class: "geoDecl" }; };
  9717. const _c7 = function (a1) { return { label: "unitDecl", items: a1, class: "unitDecl" }; };
  9718. const _c8 = function (a1) { return { label: "schemaSpec", items: a1, class: "schemaSpec" }; };
  9719. const _c9 = function (a1) { return { label: "schemaRef", items: a1, class: "schemaRef" }; };
  9720. function EncodingDescComponent_ng_container_1_Template(rf, ctx) { if (rf & 1) {
  9721. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
  9722. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, EncodingDescComponent_ng_container_1_ng_container_1_Template, 1, 0, "ng-container", 4);
  9723. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, EncodingDescComponent_ng_container_1_ng_container_2_Template, 1, 0, "ng-container", 4);
  9724. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, EncodingDescComponent_ng_container_1_ng_container_3_Template, 1, 0, "ng-container", 4);
  9725. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, EncodingDescComponent_ng_container_1_ng_container_4_Template, 1, 0, "ng-container", 4);
  9726. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](5, EncodingDescComponent_ng_container_1_ng_container_5_Template, 1, 0, "ng-container", 4);
  9727. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](6, EncodingDescComponent_ng_container_1_ng_container_6_Template, 1, 0, "ng-container", 4);
  9728. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](7, EncodingDescComponent_ng_container_1_ng_container_7_Template, 1, 0, "ng-container", 4);
  9729. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](8, EncodingDescComponent_ng_container_1_ng_container_8_Template, 1, 0, "ng-container", 4);
  9730. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](9, EncodingDescComponent_ng_container_1_ng_container_9_Template, 1, 0, "ng-container", 4);
  9731. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](10, EncodingDescComponent_ng_container_1_ng_container_10_Template, 1, 0, "ng-container", 4);
  9732. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
  9733. } if (rf & 2) {
  9734. const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  9735. const _r2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵreference"](4);
  9736. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  9737. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r2)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](20, _c0, ctx_r0.data == null ? null : ctx_r0.data.projectDesc));
  9738. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  9739. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r2)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](22, _c1, ctx_r0.data == null ? null : ctx_r0.data.samplingDecl));
  9740. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  9741. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r2)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](24, _c2, ctx_r0.data == null ? null : ctx_r0.data.editorialDecl));
  9742. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  9743. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r2)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](26, _c3, ctx_r0.data == null ? null : ctx_r0.data.tagsDecl));
  9744. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  9745. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r2)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](28, _c4, ctx_r0.data == null ? null : ctx_r0.data.refsDecl));
  9746. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  9747. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r2)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](30, _c5, ctx_r0.data == null ? null : ctx_r0.data.classDecl));
  9748. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  9749. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r2)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](32, _c6, ctx_r0.data == null ? null : ctx_r0.data.geoDecl));
  9750. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  9751. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r2)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](34, _c7, ctx_r0.data == null ? null : ctx_r0.data.unitDecl));
  9752. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  9753. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r2)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](36, _c8, ctx_r0.data == null ? null : ctx_r0.data.schemaSpec));
  9754. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  9755. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r2)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](38, _c9, ctx_r0.data == null ? null : ctx_r0.data.schemaRef));
  9756. } }
  9757. function EncodingDescComponent_ng_container_2_evt_content_viewer_1_Template(rf, ctx) { if (rf & 1) {
  9758. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 6);
  9759. } if (rf & 2) {
  9760. const element_r15 = ctx.$implicit;
  9761. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", element_r15);
  9762. } }
  9763. function EncodingDescComponent_ng_container_2_Template(rf, ctx) { if (rf & 1) {
  9764. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
  9765. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, EncodingDescComponent_ng_container_2_evt_content_viewer_1_Template, 1, 1, "evt-content-viewer", 5);
  9766. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
  9767. } if (rf & 2) {
  9768. const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  9769. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  9770. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r1.data == null ? null : ctx_r1.data.content);
  9771. } }
  9772. function EncodingDescComponent_ng_template_3_ng_container_0_h4_1_Template(rf, ctx) { if (rf & 1) {
  9773. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "h4", 11);
  9774. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1);
  9775. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](2, "translate");
  9776. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  9777. } if (rf & 2) {
  9778. const label_r16 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2).label;
  9779. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  9780. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](2, 1, label_r16));
  9781. } }
  9782. function EncodingDescComponent_ng_template_3_ng_container_0_evt_content_viewer_4_Template(rf, ctx) { if (rf & 1) {
  9783. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 6);
  9784. } if (rf & 2) {
  9785. const item_r23 = ctx.$implicit;
  9786. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", item_r23);
  9787. } }
  9788. function EncodingDescComponent_ng_template_3_ng_container_0_Template(rf, ctx) { if (rf & 1) {
  9789. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
  9790. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, EncodingDescComponent_ng_template_3_ng_container_0_h4_1_Template, 3, 3, "h4", 8);
  9791. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](2, "evt-header-section", 9);
  9792. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](3, "div", 10);
  9793. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, EncodingDescComponent_ng_template_3_ng_container_0_evt_content_viewer_4_Template, 1, 1, "evt-content-viewer", 5);
  9794. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  9795. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  9796. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
  9797. } if (rf & 2) {
  9798. const ctx_r24 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  9799. const label_r16 = ctx_r24.label;
  9800. const class_r18 = ctx_r24.class;
  9801. const items_r17 = ctx_r24.items;
  9802. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  9803. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", label_r16);
  9804. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  9805. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("additionalClass", class_r18);
  9806. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  9807. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", items_r17);
  9808. } }
  9809. function EncodingDescComponent_ng_template_3_Template(rf, ctx) { if (rf & 1) {
  9810. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](0, EncodingDescComponent_ng_template_3_ng_container_0_Template, 5, 3, "ng-container", 7);
  9811. } if (rf & 2) {
  9812. const items_r17 = ctx.items;
  9813. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", (items_r17 == null ? null : items_r17.length) > 0);
  9814. } }
  9815. let EncodingDescComponent = class EncodingDescComponent {
  9816. };
  9817. EncodingDescComponent.ɵfac = function EncodingDescComponent_Factory(t) { return new (t || EncodingDescComponent)(); };
  9818. EncodingDescComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({ type: EncodingDescComponent, selectors: [["evt-encoding-desc"]], inputs: { data: "data" }, decls: 5, vars: 2, consts: [[3, "ngSwitch"], [4, "ngSwitchCase"], [4, "ngSwitchDefault"], ["section", ""], [4, "ngTemplateOutlet", "ngTemplateOutletContext"], [3, "content", 4, "ngFor", "ngForOf"], [3, "content"], [4, "ngIf"], ["class", "main-section-title", 4, "ngIf"], [3, "additionalClass"], ["content", ""], [1, "main-section-title"]], template: function EncodingDescComponent_Template(rf, ctx) { if (rf & 1) {
  9819. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0, 0);
  9820. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, EncodingDescComponent_ng_container_1_Template, 11, 40, "ng-container", 1);
  9821. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, EncodingDescComponent_ng_container_2_Template, 2, 1, "ng-container", 2);
  9822. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
  9823. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, EncodingDescComponent_ng_template_3_Template, 1, 1, "ng-template", null, 3, _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplateRefExtractor"]);
  9824. } if (rf & 2) {
  9825. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngSwitch", ctx.data == null ? null : ctx.data.structuredData);
  9826. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  9827. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngSwitchCase", true);
  9828. } }, directives: [_angular_common__WEBPACK_IMPORTED_MODULE_4__["NgSwitch"], _angular_common__WEBPACK_IMPORTED_MODULE_4__["NgSwitchCase"], _angular_common__WEBPACK_IMPORTED_MODULE_4__["NgSwitchDefault"], _angular_common__WEBPACK_IMPORTED_MODULE_4__["NgTemplateOutlet"], _angular_common__WEBPACK_IMPORTED_MODULE_4__["NgForOf"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_5__["ContentViewerComponent"], _angular_common__WEBPACK_IMPORTED_MODULE_4__["NgIf"], _ui_components_header_section_header_section_component__WEBPACK_IMPORTED_MODULE_6__["HeaderSectionComponent"]], pipes: [_ngx_translate_core__WEBPACK_IMPORTED_MODULE_7__["TranslatePipe"]], styles: [".main-section-title[_ngcontent-%COMP%] {\n border-bottom: 1px dotted #666;\n margin-bottom: 5px;\n font-variant: small-caps;\n color: #000;\n font-size: 1.2rem;\n display: block;\n margin-top: 14px;\n text-align: left;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2VuY29kaW5nLWRlc2MuY29tcG9uZW50LnNjc3MiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9hc3NldHMvc2Nzcy9fbWl4aW5zLnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRUE7RUMyRkUsOEJBQUE7RUFDQSxrQkFBQTtFQUNBLHdCQUFBO0VBQ0EsV0FBQTtFQUNBLGlCQUFBO0VBQ0EsY0FBQTtFQUNBLGdCQUFBO0VBQ0EsZ0JBQUE7QUQzRkYiLCJmaWxlIjoiZW5jb2RpbmctZGVzYy5jb21wb25lbnQuc2NzcyIsInNvdXJjZXNDb250ZW50IjpbIkBpbXBvcnQgXCIuLi8uLi8uLi9hc3NldHMvc2Nzcy9taXhpbnNcIjtcblxuLm1haW4tc2VjdGlvbi10aXRsZSB7XG4gICAgQGluY2x1ZGUgaGVhZGVyU2VjdGlvblRpdGxlKCk7XG59IiwiLy8gLy8vLy8vLy8vLy8vLy8vLy8vIC8vXG4vLyBHTE9CQUwgU0NTUyBNSVhJTlMgLy9cbi8vIC8vLy8vLy8vLy8vLy8vLy8vLyAvL1xuXG4vLyBTZXQgY2FsY3VsYXRlZC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5cbiAgJjpob3ZlciB7XG4gICAgYmFja2dyb3VuZC1jb2xvcjogJGNvbG9yLW1pZGRsZTtcbiAgfVxufVxuXG5AbWl4aW4gaXBlcmxlbW1hdGl6ZWRFbnRpdHlSZWZDb2xvcnMoJGNvbG9yLWJhc2UsICRjb2xvci1taWRkbGUsICRjb2xvci1kYXJrZXIpIHtcbiAgYmFja2dyb3VuZDogJGNvbG9yLWJhc2U7XG4gIGJvcmRlci1ib3R0b20tY29sb3I6ICRjb2xvci1taWRkbGU7XG5cbiAgJi5hY3RpdmUge1xuICAgIGJhY2tncm91bmQtY29sb3I6ICRjb2xvci1taWRkbGU7XG4gICAgYm9yZGVyLXJpZ2h0LWNvbG9yOiAkY29sb3ItbWlkZGxlO1xuXG4gICAgJjpub3QoOmZpcnN0LWNoaWxkKSB7XG4gICAgICBib3JkZXItbGVmdC1jb2xvcjogJGNvbG9yLW1pZGRsZTtcbiAgICB9XG4gIH1cblxuICAmOmhvdmVyIHtcbiAgICBiYWNrZ3JvdW5kLWNvbG9yOiAkY29sb3ItbWlkZGxlO1xuICB9XG59XG5cblxuQG1peGluIGhlYWRlclNlY3Rpb25UaXRsZSgpIHtcbiAgYm9yZGVyLWJvdHRvbTogMXB4IGRvdHRlZCAjNjY2O1xuICBtYXJnaW4tYm90dG9tOiA1cHg7XG4gIGZvbnQtdmFyaWFudDogc21hbGwtY2FwcztcbiAgY29sb3I6ICMwMDA7XG4gIGZvbnQtc2l6ZTogMS4ycmVtO1xuICBkaXNwbGF5OiBibG9jaztcbiAgbWFyZ2luLXRvcDogMTRweDtcbiAgdGV4dC1hbGlnbjogbGVmdDtcbn0iXX0= */"] });
  9829. EncodingDescComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  9830. Object(_services_component_register_service__WEBPACK_IMPORTED_MODULE_3__["register"])(_models_evt_models__WEBPACK_IMPORTED_MODULE_2__["EncodingDesc"])
  9831. ], EncodingDescComponent);
  9832. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](EncodingDescComponent, [{
  9833. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
  9834. args: [{
  9835. selector: 'evt-encoding-desc',
  9836. templateUrl: './encoding-desc.component.html',
  9837. styleUrls: ['./encoding-desc.component.scss'],
  9838. }]
  9839. }], null, { data: [{
  9840. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
  9841. }] }); })();
  9842. /***/ }),
  9843. /***/ "MsgF":
  9844. /*!*******************************************************!*\
  9845. !*** ./src/app/services/xml-parsers/choice-parser.ts ***!
  9846. \*******************************************************/
  9847. /*! exports provided: ChoiceParser */
  9848. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  9849. "use strict";
  9850. __webpack_require__.r(__webpack_exports__);
  9851. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ChoiceParser", function() { return ChoiceParser; });
  9852. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "mrSG");
  9853. /* harmony import */ var ___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! . */ "UAXx");
  9854. /* harmony import */ var _models_evt_models__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../models/evt-models */ "5c0l");
  9855. /* harmony import */ var _basic_parsers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./basic-parsers */ "bNiN");
  9856. /* harmony import */ var _parser_models__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./parser-models */ "YwZW");
  9857. var ChoiceParser_1;
  9858. let ChoiceParser = ChoiceParser_1 = class ChoiceParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_3__["EmptyParser"] {
  9859. constructor() {
  9860. super(...arguments);
  9861. this.attributeParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_4__["createParser"])(_basic_parsers__WEBPACK_IMPORTED_MODULE_3__["AttributeParser"], this.genericParse);
  9862. }
  9863. parse(xml) {
  9864. const attributes = this.attributeParser.parse(xml);
  9865. const choiceComponent = {
  9866. type: _models_evt_models__WEBPACK_IMPORTED_MODULE_2__["Choice"],
  9867. content: Object(_parser_models__WEBPACK_IMPORTED_MODULE_4__["parseChildren"])(xml, this.genericParse),
  9868. attributes,
  9869. editorialInterventionType: this.getEditorialInterventionType(xml),
  9870. originalContent: this.getOriginalContent(xml),
  9871. normalizedContent: this.getNormalizedContent(xml),
  9872. };
  9873. return choiceComponent;
  9874. }
  9875. getEditorialInterventionType(xml) {
  9876. const sicCorEls = Array.from(xml.querySelectorAll('sic, corr'))
  9877. .filter(el => el.parentElement === xml);
  9878. if (sicCorEls.length > 0) {
  9879. return 'emendation';
  9880. }
  9881. const origRegEls = Array.from(xml.querySelectorAll('orig, reg, abbr, expan'))
  9882. .filter(el => el.parentElement === xml);
  9883. if (origRegEls.length > 0) {
  9884. return 'normalization';
  9885. }
  9886. return '';
  9887. }
  9888. getOriginalContent(xml) {
  9889. return Array.from(xml.querySelectorAll('orig, sic, abbr'))
  9890. .filter(el => el.parentElement === xml)
  9891. .map(el => this.genericParse(el));
  9892. }
  9893. getNormalizedContent(xml) {
  9894. return Array.from(xml.querySelectorAll('reg, corr, expan'))
  9895. .filter(el => el.parentElement === xml)
  9896. .map(el => this.genericParse(el));
  9897. }
  9898. };
  9899. ChoiceParser = ChoiceParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  9900. Object(___WEBPACK_IMPORTED_MODULE_1__["xmlParser"])('choice', ChoiceParser_1)
  9901. ], ChoiceParser);
  9902. /***/ }),
  9903. /***/ "O0Pb":
  9904. /*!*********************************************************************!*\
  9905. !*** ./src/app/services/xml-parsers/lines-verses-parser.service.ts ***!
  9906. \*********************************************************************/
  9907. /*! exports provided: LinesVersesParserService */
  9908. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  9909. "use strict";
  9910. __webpack_require__.r(__webpack_exports__);
  9911. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "LinesVersesParserService", function() { return LinesVersesParserService; });
  9912. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "fXoL");
  9913. /* harmony import */ var ___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! . */ "UAXx");
  9914. /* harmony import */ var _basic_parsers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./basic-parsers */ "bNiN");
  9915. /* harmony import */ var _parser_models__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./parser-models */ "YwZW");
  9916. class LinesVersesParserService {
  9917. parseLines(document) {
  9918. // Significant verses are those with at least @n or @xml:id attribute
  9919. return Array.from(document.querySelectorAll('lb'))
  9920. .filter(el => el.getAttribute('n') || el.getAttribute('xml:id'))
  9921. .map((l) => this.parseLine(l));
  9922. }
  9923. parseLine(line) {
  9924. return Object(_parser_models__WEBPACK_IMPORTED_MODULE_3__["createParser"])(_basic_parsers__WEBPACK_IMPORTED_MODULE_2__["LBParser"], ___WEBPACK_IMPORTED_MODULE_1__["parse"]).parse(line);
  9925. }
  9926. parseVerses(document) {
  9927. return Array.from(document.querySelectorAll('l'))
  9928. .map((v) => this.parseLine(v));
  9929. }
  9930. parseVerse(verse) {
  9931. return Object(_parser_models__WEBPACK_IMPORTED_MODULE_3__["createParser"])(_basic_parsers__WEBPACK_IMPORTED_MODULE_2__["VerseParser"], ___WEBPACK_IMPORTED_MODULE_1__["parse"]).parse(verse);
  9932. }
  9933. }
  9934. LinesVersesParserService.ɵfac = function LinesVersesParserService_Factory(t) { return new (t || LinesVersesParserService)(); };
  9935. LinesVersesParserService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ token: LinesVersesParserService, factory: LinesVersesParserService.ɵfac, providedIn: 'root' });
  9936. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](LinesVersesParserService, [{
  9937. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"],
  9938. args: [{
  9939. providedIn: 'root',
  9940. }]
  9941. }], null, null); })();
  9942. /***/ }),
  9943. /***/ "OEwW":
  9944. /*!***************************************************************!*\
  9945. !*** ./src/app/view-modes/image-text/image-text.component.ts ***!
  9946. \***************************************************************/
  9947. /*! exports provided: ImageTextComponent */
  9948. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  9949. "use strict";
  9950. __webpack_require__.r(__webpack_exports__);
  9951. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ImageTextComponent", function() { return ImageTextComponent; });
  9952. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "fXoL");
  9953. /* harmony import */ var angular_gridster2__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! angular-gridster2 */ "Ljk9");
  9954. /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs/operators */ "kU1M");
  9955. /* harmony import */ var _app_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../app.config */ "aR35");
  9956. /* harmony import */ var _models_evt_polymorphic_models__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../models/evt-polymorphic-models */ "tv3h");
  9957. /* harmony import */ var _services_evt_status_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../services/evt-status.service */ "7Ht4");
  9958. /* harmony import */ var _services_evt_model_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../services/evt-model.service */ "hI0h");
  9959. /* harmony import */ var _panels_image_panel_image_panel_component__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../panels/image-panel/image-panel.component */ "UksB");
  9960. /* harmony import */ var _panels_text_panel_text_panel_component__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../panels/text-panel/text-panel.component */ "CHR5");
  9961. /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @angular/common */ "ofXK");
  9962. class ImageTextComponent {
  9963. constructor(evtStatusService, evtModelService) {
  9964. this.evtStatusService = evtStatusService;
  9965. this.evtModelService = evtModelService;
  9966. this.layoutOptions = {};
  9967. this.imagePanelItem = { cols: 1, rows: 1, y: 0, x: 0 };
  9968. this.textPanelItem = { cols: 1, rows: 1, y: 0, x: 1 };
  9969. this.imageViewer$ = this.evtModelService.surfaces$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])((surface) => this.getImageViewerType(_app_config__WEBPACK_IMPORTED_MODULE_3__["AppConfig"].evtSettings.files.editionImagesSource, surface)));
  9970. this.currentPageID$ = this.evtStatusService.currentStatus$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(({ page }) => page.id));
  9971. this.currentEditionLevel$ = this.evtStatusService.currentStatus$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(({ editionLevels }) => editionLevels[0]), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["shareReplay"])(1));
  9972. }
  9973. getImageViewerType(editionImages, surface) {
  9974. for (const key of Object.keys(editionImages)) {
  9975. if (editionImages[key].enabled) {
  9976. return _models_evt_polymorphic_models__WEBPACK_IMPORTED_MODULE_4__["ViewerSource"].getDataType(key, surface);
  9977. }
  9978. }
  9979. const xmlImages = [];
  9980. this.evtModelService.pages$.pipe().subscribe((pages) => pages.map(page => xmlImages.push({ url: page.facsUrl })));
  9981. return { type: 'default', value: { xmlImages } };
  9982. }
  9983. ngOnInit() {
  9984. this.initGridster();
  9985. }
  9986. changePage(selectedPage) {
  9987. this.evtStatusService.updatePage$.next(selectedPage);
  9988. }
  9989. changeEditionLevel(editionLevel) {
  9990. this.evtStatusService.updateEditionLevels$.next([editionLevel === null || editionLevel === void 0 ? void 0 : editionLevel.id]);
  9991. }
  9992. initGridster() {
  9993. this.layoutOptions = {
  9994. gridType: angular_gridster2__WEBPACK_IMPORTED_MODULE_1__["GridType"].Fit,
  9995. displayGrid: angular_gridster2__WEBPACK_IMPORTED_MODULE_1__["DisplayGrid"].None,
  9996. margin: 0,
  9997. maxCols: 2,
  9998. maxRows: 1,
  9999. draggable: {
  10000. enabled: true,
  10001. ignoreContent: true,
  10002. dragHandleClass: 'panel-header',
  10003. },
  10004. resizable: {
  10005. enabled: false,
  10006. },
  10007. };
  10008. }
  10009. }
  10010. ImageTextComponent.ɵfac = function ImageTextComponent_Factory(t) { return new (t || ImageTextComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_services_evt_status_service__WEBPACK_IMPORTED_MODULE_5__["EVTStatusService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_services_evt_model_service__WEBPACK_IMPORTED_MODULE_6__["EVTModelService"])); };
  10011. ImageTextComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: ImageTextComponent, selectors: [["evt-image-text"]], decls: 9, vars: 15, consts: [[3, "options"], [3, "item"], [3, "viewerData", "pageID", "pageChange"], [3, "pageID", "editionLevelID", "pageChange", "editionLevelChange"]], template: function ImageTextComponent_Template(rf, ctx) { if (rf & 1) {
  10012. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "gridster", 0);
  10013. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "gridster-item", 1);
  10014. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "evt-image-panel", 2);
  10015. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("pageChange", function ImageTextComponent_Template_evt_image_panel_pageChange_2_listener($event) { return ctx.changePage($event); });
  10016. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](3, "async");
  10017. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](4, "async");
  10018. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  10019. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  10020. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](5, "gridster-item", 1);
  10021. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](6, "evt-text-panel", 3);
  10022. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("pageChange", function ImageTextComponent_Template_evt_text_panel_pageChange_6_listener($event) { return ctx.changePage($event); })("editionLevelChange", function ImageTextComponent_Template_evt_text_panel_editionLevelChange_6_listener($event) { return ctx.changeEditionLevel($event); });
  10023. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](7, "async");
  10024. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](8, "async");
  10025. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  10026. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  10027. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  10028. } if (rf & 2) {
  10029. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("options", ctx.layoutOptions);
  10030. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  10031. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("item", ctx.imagePanelItem);
  10032. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  10033. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("viewerData", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](3, 7, ctx.imageViewer$))("pageID", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](4, 9, ctx.currentPageID$));
  10034. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
  10035. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("item", ctx.textPanelItem);
  10036. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  10037. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("pageID", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](7, 11, ctx.currentPageID$))("editionLevelID", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](8, 13, ctx.currentEditionLevel$));
  10038. } }, directives: [angular_gridster2__WEBPACK_IMPORTED_MODULE_1__["GridsterComponent"], angular_gridster2__WEBPACK_IMPORTED_MODULE_1__["GridsterItemComponent"], _panels_image_panel_image_panel_component__WEBPACK_IMPORTED_MODULE_7__["ImagePanelComponent"], _panels_text_panel_text_panel_component__WEBPACK_IMPORTED_MODULE_8__["TextPanelComponent"]], pipes: [_angular_common__WEBPACK_IMPORTED_MODULE_9__["AsyncPipe"]], styles: ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJpbWFnZS10ZXh0LmNvbXBvbmVudC5zY3NzIn0= */"] });
  10039. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](ImageTextComponent, [{
  10040. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
  10041. args: [{
  10042. selector: 'evt-image-text',
  10043. templateUrl: './image-text.component.html',
  10044. styleUrls: ['./image-text.component.scss'],
  10045. }]
  10046. }], function () { return [{ type: _services_evt_status_service__WEBPACK_IMPORTED_MODULE_5__["EVTStatusService"] }, { type: _services_evt_model_service__WEBPACK_IMPORTED_MODULE_6__["EVTModelService"] }]; }, null); })();
  10047. /***/ }),
  10048. /***/ "Ow/E":
  10049. /*!***************************************************************************************!*\
  10050. !*** ./src/app/components/edition-level-selector/edition-level-selector.component.ts ***!
  10051. \***************************************************************************************/
  10052. /*! exports provided: EditionLevelSelectorComponent */
  10053. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  10054. "use strict";
  10055. __webpack_require__.r(__webpack_exports__);
  10056. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "EditionLevelSelectorComponent", function() { return EditionLevelSelectorComponent; });
  10057. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "fXoL");
  10058. /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rxjs */ "qCKp");
  10059. /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs/operators */ "kU1M");
  10060. /* harmony import */ var _app_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../app.config */ "aR35");
  10061. /* harmony import */ var _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @ng-select/ng-select */ "ZOsW");
  10062. /* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/forms */ "3Pt+");
  10063. /* harmony import */ var _ui_components_icon_icon_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../ui-components/icon/icon.component */ "Mijh");
  10064. /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @angular/common */ "ofXK");
  10065. /* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @ngx-translate/core */ "sYmb");
  10066. function EditionLevelSelectorComponent_ng_template_2_Template(rf, ctx) { if (rf & 1) {
  10067. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "evt-icon", 3);
  10068. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
  10069. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "translate");
  10070. } if (rf & 2) {
  10071. const item_r2 = ctx.item;
  10072. const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
  10073. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("iconInfo", ctx_r0.icon);
  10074. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  10075. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](2, 2, item_r2.label), " ");
  10076. } }
  10077. function EditionLevelSelectorComponent_ng_template_3_Template(rf, ctx) { if (rf & 1) {
  10078. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](0);
  10079. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](1, "translate");
  10080. } if (rf & 2) {
  10081. const item_r3 = ctx.item;
  10082. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](1, 1, item_r3.label), " ");
  10083. } }
  10084. class EditionLevelSelectorComponent {
  10085. constructor() {
  10086. this.editionLevels = (_app_config__WEBPACK_IMPORTED_MODULE_3__["AppConfig"].evtSettings.edition.availableEditionLevels || []).filter((el) => !el.disabled);
  10087. this.selectedEditionLevel$ = new rxjs__WEBPACK_IMPORTED_MODULE_1__["BehaviorSubject"](undefined);
  10088. this.selectionChange = Object(rxjs__WEBPACK_IMPORTED_MODULE_1__["combineLatest"])([
  10089. Object(rxjs__WEBPACK_IMPORTED_MODULE_1__["of"])(this.editionLevels),
  10090. this.selectedEditionLevel$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["distinctUntilChanged"])()),
  10091. ]).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["filter"])(([edLevels, edLevelID]) => !!edLevelID && !!edLevels && edLevels.length > 0), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(([edLevels, edLevelID]) => !!edLevelID ? edLevels.find(p => p.id === edLevelID) || edLevels[0] : edLevels[0]), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["filter"])(e => !!e));
  10092. this.icon = {
  10093. icon: 'layer-group',
  10094. additionalClasses: 'mr-2',
  10095. };
  10096. }
  10097. set editionLevelID(p) {
  10098. this._edLevelID = p;
  10099. this.selectedEditionLevel$.next(this._edLevelID);
  10100. }
  10101. get editionLevelID() { return this._edLevelID; }
  10102. }
  10103. EditionLevelSelectorComponent.ɵfac = function EditionLevelSelectorComponent_Factory(t) { return new (t || EditionLevelSelectorComponent)(); };
  10104. EditionLevelSelectorComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: EditionLevelSelectorComponent, selectors: [["evt-edition-level-selector"]], inputs: { editionLevelID: "editionLevelID" }, outputs: { selectionChange: "selectionChange" }, decls: 4, vars: 6, consts: [["bindLabel", "label", "bindValue", "id", 1, "mr-1", 3, "items", "clearable", "searchable", "ngModel", "change"], ["ng-label-tmp", ""], ["ng-option-tmp", ""], ["label-left", "", 3, "iconInfo"]], template: function EditionLevelSelectorComponent_Template(rf, ctx) { if (rf & 1) {
  10105. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "ng-select", 0);
  10106. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("change", function EditionLevelSelectorComponent_Template_ng_select_change_0_listener($event) { return ctx.editionLevelID = $event.id; });
  10107. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](1, "async");
  10108. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, EditionLevelSelectorComponent_ng_template_2_Template, 3, 4, "ng-template", 1);
  10109. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](3, EditionLevelSelectorComponent_ng_template_3_Template, 2, 3, "ng-template", 2);
  10110. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  10111. } if (rf & 2) {
  10112. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("items", ctx.editionLevels)("clearable", false)("searchable", true)("ngModel", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](1, 4, ctx.selectedEditionLevel$));
  10113. } }, directives: [_ng_select_ng_select__WEBPACK_IMPORTED_MODULE_4__["NgSelectComponent"], _angular_forms__WEBPACK_IMPORTED_MODULE_5__["NgControlStatus"], _angular_forms__WEBPACK_IMPORTED_MODULE_5__["NgModel"], _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_4__["ɵh"], _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_4__["ɵf"], _ui_components_icon_icon_component__WEBPACK_IMPORTED_MODULE_6__["IconComponent"]], pipes: [_angular_common__WEBPACK_IMPORTED_MODULE_7__["AsyncPipe"], _ngx_translate_core__WEBPACK_IMPORTED_MODULE_8__["TranslatePipe"]], styles: ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJlZGl0aW9uLWxldmVsLXNlbGVjdG9yLmNvbXBvbmVudC5zY3NzIn0= */"] });
  10114. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](EditionLevelSelectorComponent, [{
  10115. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
  10116. args: [{
  10117. selector: 'evt-edition-level-selector',
  10118. templateUrl: './edition-level-selector.component.html',
  10119. styleUrls: ['./edition-level-selector.component.scss'],
  10120. }]
  10121. }], null, { editionLevelID: [{
  10122. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
  10123. }], selectionChange: [{
  10124. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
  10125. }] }); })();
  10126. /***/ }),
  10127. /***/ "Ox1W":
  10128. /*!*****************************************************************!*\
  10129. !*** ./src/app/components/lems-select/lems-select.component.ts ***!
  10130. \*****************************************************************/
  10131. /*! exports provided: LemsSelectComponent */
  10132. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  10133. "use strict";
  10134. __webpack_require__.r(__webpack_exports__);
  10135. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "LemsSelectComponent", function() { return LemsSelectComponent; });
  10136. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "fXoL");
  10137. /* harmony import */ var _app_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../app.config */ "aR35");
  10138. /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/common */ "ofXK");
  10139. /* harmony import */ var _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @ng-select/ng-select */ "ZOsW");
  10140. /* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/forms */ "3Pt+");
  10141. /* harmony import */ var _ui_components_icon_icon_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../ui-components/icon/icon.component */ "Mijh");
  10142. /* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @ngx-translate/core */ "sYmb");
  10143. function LemsSelectComponent_ng_container_0_ng_template_3_Template(rf, ctx) { if (rf & 1) {
  10144. const _r5 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
  10145. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 5);
  10146. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "div", 6);
  10147. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "input", 7);
  10148. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function LemsSelectComponent_ng_container_0_ng_template_3_Template_input_click_2_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r5); const ctx_r4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2); return ctx_r4.toggleSelection(); });
  10149. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  10150. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "label", 8);
  10151. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](4);
  10152. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](5, "translate");
  10153. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  10154. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  10155. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  10156. } if (rf & 2) {
  10157. const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
  10158. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
  10159. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("checked", (ctx_r1.selectedLemTypes == null ? null : ctx_r1.selectedLemTypes.length) === ctx_r1.lemsTypes.length);
  10160. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
  10161. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](5, 2, "selectLemsAll"));
  10162. } }
  10163. function LemsSelectComponent_ng_container_0_ng_template_4_Template(rf, ctx) { if (rf & 1) {
  10164. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "input", 9);
  10165. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](1, "evt-icon", 10);
  10166. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "span", 11);
  10167. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](3);
  10168. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](4, "translate");
  10169. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  10170. } if (rf & 2) {
  10171. const item_r6 = ctx.item;
  10172. const item$_r7 = ctx.item$;
  10173. const index_r8 = ctx.index;
  10174. const ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
  10175. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpropertyInterpolate1"]("id", "item-", index_r8, "");
  10176. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngModel", item$_r7.selected);
  10177. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  10178. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵstyleProp"]("color", item_r6.color);
  10179. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("iconInfo", ctx_r2.iconColor);
  10180. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
  10181. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](4, 6, item_r6.label));
  10182. } }
  10183. function LemsSelectComponent_ng_container_0_ng_template_5_ng_container_0_div_1_Template(rf, ctx) { if (rf & 1) {
  10184. const _r18 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
  10185. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 14);
  10186. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](1, "evt-icon", 10);
  10187. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "span", 11);
  10188. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](3);
  10189. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  10190. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "span", 15);
  10191. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function LemsSelectComponent_ng_container_0_ng_template_5_ng_container_0_div_1_Template_span_click_4_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r18); const item_r15 = ctx.$implicit; const clear_r11 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2).clear; return clear_r11(item_r15); });
  10192. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](5, "\u00D7");
  10193. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  10194. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  10195. } if (rf & 2) {
  10196. const item_r15 = ctx.$implicit;
  10197. const ctx_r14 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](4);
  10198. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  10199. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵstyleProp"]("color", item_r15.color);
  10200. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("iconInfo", ctx_r14.iconColor);
  10201. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
  10202. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](item_r15.label);
  10203. } }
  10204. function LemsSelectComponent_ng_container_0_ng_template_5_ng_container_0_Template(rf, ctx) { if (rf & 1) {
  10205. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
  10206. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, LemsSelectComponent_ng_container_0_ng_template_5_ng_container_0_div_1_Template, 6, 4, "div", 13);
  10207. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "slice");
  10208. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
  10209. } if (rf & 2) {
  10210. const items_r10 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().items;
  10211. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  10212. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind3"](2, 1, items_r10, 0, 1));
  10213. } }
  10214. function LemsSelectComponent_ng_container_0_ng_template_5_div_1_Template(rf, ctx) { if (rf & 1) {
  10215. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 14);
  10216. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "span", 11);
  10217. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2);
  10218. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](3, "translate");
  10219. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  10220. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  10221. } if (rf & 2) {
  10222. const items_r10 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().items;
  10223. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
  10224. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate2"]("", items_r10.length, " ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](3, 2, "selected"), "");
  10225. } }
  10226. function LemsSelectComponent_ng_container_0_ng_template_5_Template(rf, ctx) { if (rf & 1) {
  10227. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](0, LemsSelectComponent_ng_container_0_ng_template_5_ng_container_0_Template, 3, 5, "ng-container", 0);
  10228. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, LemsSelectComponent_ng_container_0_ng_template_5_div_1_Template, 4, 4, "div", 12);
  10229. } if (rf & 2) {
  10230. const items_r10 = ctx.items;
  10231. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", items_r10.length === 1);
  10232. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  10233. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", items_r10.length > 1);
  10234. } }
  10235. function LemsSelectComponent_ng_container_0_Template(rf, ctx) { if (rf & 1) {
  10236. const _r22 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
  10237. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
  10238. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "ng-select", 1);
  10239. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("ngModelChange", function LemsSelectComponent_ng_container_0_Template_ng_select_ngModelChange_1_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r22); const ctx_r21 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](); return ctx_r21.selectedLemTypes = $event; })("change", function LemsSelectComponent_ng_container_0_Template_ng_select_change_1_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r22); const ctx_r23 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](); return ctx_r23.updateSelectedLemTypes($event); });
  10240. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "translate");
  10241. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](3, LemsSelectComponent_ng_container_0_ng_template_3_Template, 6, 4, "ng-template", 2);
  10242. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](4, LemsSelectComponent_ng_container_0_ng_template_4_Template, 5, 8, "ng-template", 3);
  10243. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](5, LemsSelectComponent_ng_container_0_ng_template_5_Template, 2, 2, "ng-template", 4);
  10244. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  10245. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
  10246. } if (rf & 2) {
  10247. const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
  10248. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  10249. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("items", ctx_r0.lemsTypes)("multiple", true)("closeOnSelect", false)("searchable", false)("placeholder", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](2, 7, "selectLemsItems"))("ngModel", ctx_r0.selectedLemTypes)("disabled", ctx_r0.lemsTypes.length === 0);
  10250. } }
  10251. class LemsSelectComponent {
  10252. constructor() {
  10253. this.selectionChange = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
  10254. this.lemsTypes = (_app_config__WEBPACK_IMPORTED_MODULE_1__["AppConfig"].evtSettings.edition.lemsSelectItems || [])
  10255. .filter(g => !g.disabled)
  10256. .reduce((x, y) => [...x, ...y.items.filter(i => !i.disabled).map(i => (Object.assign(Object.assign({}, i), { group: y.label })))], []);
  10257. this.iconColor = {
  10258. icon: 'circle',
  10259. iconSet: 'fas',
  10260. additionalClasses: 'ml-2 mr-1',
  10261. };
  10262. this.selectedLemTypes = [];
  10263. }
  10264. updateSelectedLemTypes(lemsTypes) {
  10265. if (Array.isArray(lemsTypes)) { // BUGFIX: There is a bug in ng-select change event and second time the parameter is an event
  10266. this.selectionChange.emit(lemsTypes);
  10267. // console.log('Prova', AppConfig.evtSettings.edition.lemsSelectItems || [])
  10268. }
  10269. }
  10270. toggleSelection() {
  10271. if (this.selectedLemTypes.length < this.lemsTypes.length) {
  10272. this.selectedLemTypes = this.lemsTypes;
  10273. }
  10274. else {
  10275. this.selectedLemTypes = [];
  10276. }
  10277. this.selectionChange.emit(this.selectedLemTypes);
  10278. // console.log('Prova 0', AppConfig.evtSettings.edition.lemsSelectItems[0])
  10279. // console.log('Prova 1', AppConfig.evtSettings.edition.lemsSelectItems[1])
  10280. }
  10281. }
  10282. LemsSelectComponent.ɵfac = function LemsSelectComponent_Factory(t) { return new (t || LemsSelectComponent)(); };
  10283. LemsSelectComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: LemsSelectComponent, selectors: [["evt-lems-select"]], outputs: { selectionChange: "selectionChange" }, decls: 1, vars: 1, consts: [[4, "ngIf"], ["groupBy", "group", 3, "items", "multiple", "closeOnSelect", "searchable", "placeholder", "ngModel", "disabled", "ngModelChange", "change"], ["ng-header-tmp", ""], ["ng-option-tmp", ""], ["ng-multi-label-tmp", ""], [1, "lem-select-toolbar"], [1, "w-100", "text-dark", "select-all-btn"], ["id", "select-all", "type", "checkbox", 1, "mr-2", 3, "checked", "click"], ["for", "select-all", 1, "m-0"], ["type", "checkbox", 3, "id", "ngModel"], [3, "iconInfo"], [1, "ng-value-label"], ["class", "ng-value", 4, "ngIf"], ["class", "ng-value", 4, "ngFor", "ngForOf"], [1, "ng-value"], ["aria-hidden", "true", 1, "ng-value-icon", "right", 3, "click"]], template: function LemsSelectComponent_Template(rf, ctx) { if (rf & 1) {
  10284. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](0, LemsSelectComponent_ng_container_0_Template, 6, 9, "ng-container", 0);
  10285. } if (rf & 2) {
  10286. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.lemsTypes.length > 0);
  10287. } }, directives: [_angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_3__["NgSelectComponent"], _angular_forms__WEBPACK_IMPORTED_MODULE_4__["NgControlStatus"], _angular_forms__WEBPACK_IMPORTED_MODULE_4__["NgModel"], _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_3__["ɵj"], _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_3__["ɵf"], _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_3__["ɵi"], _angular_forms__WEBPACK_IMPORTED_MODULE_4__["CheckboxControlValueAccessor"], _ui_components_icon_icon_component__WEBPACK_IMPORTED_MODULE_5__["IconComponent"], _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"]], pipes: [_ngx_translate_core__WEBPACK_IMPORTED_MODULE_6__["TranslatePipe"], _angular_common__WEBPACK_IMPORTED_MODULE_2__["SlicePipe"]], styles: [".ng-select {\n min-width: 150px;\n}\n\n .ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup {\n font-size: 90%;\n font-variant: small-caps;\n}\n\n .ng-dropdown-panel .ng-dropdown-panel-items .ng-option {\n padding-left: 10px !important;\n}\n\n.lem-select-toolbar[_ngcontent-%COMP%] {\n display: flex;\n}\n\n.lem-select-toolbar[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%] {\n flex-grow: 1;\n}\n\n.select-all-btn[_ngcontent-%COMP%] {\n cursor: pointer;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2xlbXMtc2VsZWN0LmNvbXBvbmVudC5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBO0VBQ0ksZ0JBQUE7QUFBSjs7QUFLUTtFQUNJLGNBQUE7RUFDQSx3QkFBQTtBQUZaOztBQUtRO0VBQ0ksNkJBQUE7QUFIWjs7QUFRQTtFQUNJLGFBQUE7QUFMSjs7QUFPSTtFQUNJLFlBQUE7QUFMUjs7QUFTQTtFQUNJLGVBQUE7QUFOSiIsImZpbGUiOiJsZW1zLXNlbGVjdC5jb21wb25lbnQuc2NzcyIsInNvdXJjZXNDb250ZW50IjpbIi8vIG5nLXNlbGVjdCBvdmVycmlkZXNcbjo6bmctZGVlcCAubmctc2VsZWN0IHtcbiAgICBtaW4td2lkdGg6IDE1MHB4O1xufVxuXG46Om5nLWRlZXAgLm5nLWRyb3Bkb3duLXBhbmVsIHtcbiAgICAubmctZHJvcGRvd24tcGFuZWwtaXRlbXMge1xuICAgICAgICAubmctb3B0Z3JvdXAge1xuICAgICAgICAgICAgZm9udC1zaXplOiA5MCU7XG4gICAgICAgICAgICBmb250LXZhcmlhbnQ6IHNtYWxsLWNhcHM7XG4gICAgICAgIH1cblxuICAgICAgICAubmctb3B0aW9uIHtcbiAgICAgICAgICAgIHBhZGRpbmctbGVmdDogMTBweCAhaW1wb3J0YW50O1xuICAgICAgICB9XG4gICAgfVxufVxuXG4ubGVtLXNlbGVjdC10b29sYmFyIHtcbiAgICBkaXNwbGF5OiBmbGV4O1xuXG4gICAgLmJ0biB7XG4gICAgICAgIGZsZXgtZ3JvdzogMTtcbiAgICB9XG59XG5cbi5zZWxlY3QtYWxsLWJ0biB7XG4gICAgY3Vyc29yOiBwb2ludGVyO1xufVxuXG4iXX0= */"] });
  10288. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](LemsSelectComponent, [{
  10289. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
  10290. args: [{
  10291. selector: 'evt-lems-select',
  10292. templateUrl: './lems-select.component.html',
  10293. styleUrls: ['./lems-select.component.scss'],
  10294. }]
  10295. }], null, { selectionChange: [{
  10296. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
  10297. }] }); })();
  10298. /***/ }),
  10299. /***/ "P7wN":
  10300. /*!********************************************************!*\
  10301. !*** ./src/app/ui-components/modal/modal.component.ts ***!
  10302. \********************************************************/
  10303. /*! exports provided: ModalComponent */
  10304. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  10305. "use strict";
  10306. __webpack_require__.r(__webpack_exports__);
  10307. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ModalComponent", function() { return ModalComponent; });
  10308. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "fXoL");
  10309. /* harmony import */ var _services_themes_service__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../services/themes.service */ "onZX");
  10310. /* harmony import */ var _modal_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./modal.service */ "6Xh2");
  10311. /* harmony import */ var _directives_escape_directive__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../directives/escape.directive */ "CimZ");
  10312. /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/common */ "ofXK");
  10313. /* harmony import */ var _icon_icon_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../icon/icon.component */ "Mijh");
  10314. /* harmony import */ var ng_dynamic_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ng-dynamic-component */ "CS/5");
  10315. /* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @ngx-translate/core */ "sYmb");
  10316. const _c0 = ["modalDialog"];
  10317. function ModalComponent_evt_icon_5_Template(rf, ctx) { if (rf & 1) {
  10318. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "evt-icon", 14);
  10319. } if (rf & 2) {
  10320. const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
  10321. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("iconInfo", ctx_r1.headerIcon);
  10322. } }
  10323. function ModalComponent_div_16_Template(rf, ctx) { if (rf & 1) {
  10324. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "div", 15);
  10325. } if (rf & 2) {
  10326. const ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
  10327. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("innerHtml", ctx_r2.bodyHTML, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵsanitizeHtml"]);
  10328. } }
  10329. function ModalComponent_ndc_dynamic_17_Template(rf, ctx) { if (rf & 1) {
  10330. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "ndc-dynamic", 16);
  10331. } if (rf & 2) {
  10332. const ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
  10333. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ndcDynamicComponent", ctx_r3.bodyComponent);
  10334. } }
  10335. function ModalComponent_div_20_Template(rf, ctx) { if (rf & 1) {
  10336. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "div", 17);
  10337. } if (rf & 2) {
  10338. const ctx_r4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
  10339. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("innerHtml", ctx_r4.footerHTML, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵsanitizeHtml"]);
  10340. } }
  10341. function ModalComponent_ndc_dynamic_21_Template(rf, ctx) { if (rf & 1) {
  10342. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "ndc-dynamic", 16);
  10343. } if (rf & 2) {
  10344. const ctx_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
  10345. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ndcDynamicComponent", ctx_r5.footerComponent);
  10346. } }
  10347. const _c1 = [[["", "title", ""]], [["", "body", ""]], [["", "footer", ""]]];
  10348. const _c2 = ["[title]", "[body]", "[footer]"];
  10349. class ModalComponent {
  10350. constructor(modalId, title, bodyContentClass, themes, modalService) {
  10351. this.modalId = modalId;
  10352. this.title = title;
  10353. this.bodyContentClass = bodyContentClass;
  10354. this.themes = themes;
  10355. this.modalService = modalService;
  10356. this.hide = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
  10357. }
  10358. get dataTheme() { return this.themes.getCurrentTheme().value; }
  10359. ngOnInit() {
  10360. this.closeOnShadow = this.closeOnShadow === undefined ? true : this.closeOnShadow;
  10361. this.closeOnEsc = this.closeOnEsc === undefined ? true : this.closeOnEsc;
  10362. this.fixedHeight = this.fixedHeight === undefined ? false : this.fixedHeight;
  10363. }
  10364. clickout(event) {
  10365. const modal = this.modalDialog.nativeElement;
  10366. const internalClick = event.path.find((o) => {
  10367. return o.className && o.className.indexOf && o.className.indexOf(modal.className) >= 0;
  10368. });
  10369. if (this.closeOnShadow && !internalClick) {
  10370. this.closeDialog();
  10371. }
  10372. }
  10373. handleEscape() {
  10374. if (this.closeOnEsc) {
  10375. this.closeDialog();
  10376. }
  10377. }
  10378. closeDialog() {
  10379. this.hide.emit(this.modalId);
  10380. this.modalService.close(this.modalId);
  10381. }
  10382. }
  10383. ModalComponent.ɵfac = function ModalComponent_Factory(t) { return new (t || ModalComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinjectAttribute"]('modalId'), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinjectAttribute"]('title'), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinjectAttribute"]('bodyContentClass'), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_services_themes_service__WEBPACK_IMPORTED_MODULE_1__["ThemesService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_modal_service__WEBPACK_IMPORTED_MODULE_2__["ModalService"])); };
  10384. ModalComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: ModalComponent, selectors: [["evt-modal"]], viewQuery: function ModalComponent_Query(rf, ctx) { if (rf & 1) {
  10385. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵstaticViewQuery"](_c0, true);
  10386. } if (rf & 2) {
  10387. let _t;
  10388. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵloadQuery"]()) && (ctx.modalDialog = _t.first);
  10389. } }, hostVars: 1, hostBindings: function ModalComponent_HostBindings(rf, ctx) { if (rf & 1) {
  10390. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function ModalComponent_click_HostBindingHandler($event) { return ctx.clickout($event); });
  10391. } if (rf & 2) {
  10392. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("data-theme", ctx.dataTheme);
  10393. } }, inputs: { closeOnShadow: "closeOnShadow", closeOnEsc: "closeOnEsc", fixedHeight: "fixedHeight", scrollDisabled: "scrollDisabled", wider: "wider", headerIcon: "headerIcon", bodyComponent: "bodyComponent", footerComponent: "footerComponent", bodyHTML: "bodyHTML", footerHTML: "footerHTML" }, outputs: { hide: "hide" }, ngContentSelectors: _c2, decls: 22, vars: 17, consts: [["tabindex", "-1", "role", "dialog", "aria-hidden", "true", 1, "modal", "fade", "show", 3, "escape"], ["role", "document", 1, "modal-dialog", "modal-dialog-centered"], ["modalDialog", ""], [1, "modal-content"], [1, "modal-header"], [3, "iconInfo", 4, "ngIf"], [1, "modal-title"], ["type", "button", "data-dismiss", "modal", "aria-label", "Close", 1, "close", 3, "click"], ["aria-hidden", "true"], [1, "modal-body", "p-0"], [3, "innerHtml", 4, "ngIf"], [3, "ndcDynamicComponent", 4, "ngIf"], [1, "modal-footer"], ["class", "modal-footer", 3, "innerHtml", 4, "ngIf"], [3, "iconInfo"], [3, "innerHtml"], [3, "ndcDynamicComponent"], [1, "modal-footer", 3, "innerHtml"]], template: function ModalComponent_Template(rf, ctx) { if (rf & 1) {
  10394. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵprojectionDef"](_c1);
  10395. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 0);
  10396. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("escape", function ModalComponent_Template_div_escape_0_listener() { return ctx.handleEscape(); });
  10397. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "div", 1, 2);
  10398. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "div", 3);
  10399. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "div", 4);
  10400. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](5, ModalComponent_evt_icon_5_Template, 1, 1, "evt-icon", 5);
  10401. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](6, "span", 6);
  10402. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](7);
  10403. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](8, "translate");
  10404. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵprojection"](9);
  10405. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  10406. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](10, "button", 7);
  10407. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function ModalComponent_Template_button_click_10_listener() { return ctx.closeDialog(); });
  10408. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](11, "span", 8);
  10409. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](12, "\u00D7");
  10410. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  10411. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  10412. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  10413. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](13, "div", 9);
  10414. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](14, "div");
  10415. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵprojection"](15, 1);
  10416. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](16, ModalComponent_div_16_Template, 1, 1, "div", 10);
  10417. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](17, ModalComponent_ndc_dynamic_17_Template, 1, 1, "ndc-dynamic", 11);
  10418. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  10419. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  10420. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](18, "div", 12);
  10421. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵprojection"](19, 2);
  10422. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](20, ModalComponent_div_20_Template, 1, 1, "div", 13);
  10423. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](21, ModalComponent_ndc_dynamic_21_Template, 1, 1, "ndc-dynamic", 11);
  10424. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  10425. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  10426. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  10427. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  10428. } if (rf & 2) {
  10429. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵclassProp"]("fixed-height", ctx.fixedHeight);
  10430. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  10431. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵclassProp"]("wider", ctx.wider);
  10432. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
  10433. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.headerIcon);
  10434. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
  10435. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](8, 15, ctx.title), " ");
  10436. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](6);
  10437. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵclassProp"]("no-scroll", ctx.scrollDisabled);
  10438. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  10439. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵclassMap"](ctx.bodyContentClass);
  10440. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
  10441. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.bodyHTML);
  10442. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  10443. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.bodyComponent);
  10444. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
  10445. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.footerHTML);
  10446. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  10447. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.footerComponent);
  10448. } }, directives: [_directives_escape_directive__WEBPACK_IMPORTED_MODULE_3__["EscapeDirective"], _angular_common__WEBPACK_IMPORTED_MODULE_4__["NgIf"], _icon_icon_component__WEBPACK_IMPORTED_MODULE_5__["IconComponent"], ng_dynamic_component__WEBPACK_IMPORTED_MODULE_6__["DynamicComponent"]], pipes: [_ngx_translate_core__WEBPACK_IMPORTED_MODULE_7__["TranslatePipe"]], styles: ["[_ngcontent-%COMP%]:root {\n --thumbnail-height: 150px;\n --thumbnail-width: 100px;\n}\n\n.modal[_ngcontent-%COMP%] {\n display: block;\n max-width: 100%;\n font-size: 1rem;\n}\n\n.modal[_ngcontent-%COMP%] .modal-footer[_ngcontent-%COMP%]:empty {\n height: 5px;\n background: #fff;\n padding: 0;\n border: 0;\n}\n\n[data-theme=restore][_nghost-%COMP%] .modal[_ngcontent-%COMP%], [data-theme=restore] [_nghost-%COMP%] .modal[_ngcontent-%COMP%], [data-theme=restore][_ngcontent-%COMP%] .modal[_ngcontent-%COMP%] {\n background: rgba(10, 69, 83, 0.5);\n}\n\n[data-theme=restore][_nghost-%COMP%] .modal[_ngcontent-%COMP%] .modal-header[_ngcontent-%COMP%], [data-theme=restore] [_nghost-%COMP%] .modal[_ngcontent-%COMP%] .modal-header[_ngcontent-%COMP%], [data-theme=restore][_ngcontent-%COMP%] .modal[_ngcontent-%COMP%] .modal-header[_ngcontent-%COMP%] {\n color: #e9e9e9;\n background: #0a4553;\n}\n\n[data-theme=restore][_nghost-%COMP%] .modal[_ngcontent-%COMP%] .close[_ngcontent-%COMP%], [data-theme=restore] [_nghost-%COMP%] .modal[_ngcontent-%COMP%] .close[_ngcontent-%COMP%], [data-theme=restore][_ngcontent-%COMP%] .modal[_ngcontent-%COMP%] .close[_ngcontent-%COMP%] {\n color: #e9e9e9;\n}\n\n[data-theme=restore][_nghost-%COMP%] .modal[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%], [data-theme=restore] [_nghost-%COMP%] .modal[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%], [data-theme=restore][_ngcontent-%COMP%] .modal[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] {\n background: #e9e9e9;\n color: #0a4553;\n}\n\n[data-theme=neutral][_nghost-%COMP%] .modal[_ngcontent-%COMP%], [data-theme=neutral] [_nghost-%COMP%] .modal[_ngcontent-%COMP%], [data-theme=neutral][_ngcontent-%COMP%] .modal[_ngcontent-%COMP%] {\n background: rgba(69, 83, 90, 0.5);\n}\n\n[data-theme=neutral][_nghost-%COMP%] .modal[_ngcontent-%COMP%] .modal-header[_ngcontent-%COMP%], [data-theme=neutral] [_nghost-%COMP%] .modal[_ngcontent-%COMP%] .modal-header[_ngcontent-%COMP%], [data-theme=neutral][_ngcontent-%COMP%] .modal[_ngcontent-%COMP%] .modal-header[_ngcontent-%COMP%] {\n color: #fff;\n background: #45535a;\n}\n\n[data-theme=neutral][_nghost-%COMP%] .modal[_ngcontent-%COMP%] .close[_ngcontent-%COMP%], [data-theme=neutral] [_nghost-%COMP%] .modal[_ngcontent-%COMP%] .close[_ngcontent-%COMP%], [data-theme=neutral][_ngcontent-%COMP%] .modal[_ngcontent-%COMP%] .close[_ngcontent-%COMP%] {\n color: #fff;\n}\n\n[data-theme=neutral][_nghost-%COMP%] .modal[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%], [data-theme=neutral] [_nghost-%COMP%] .modal[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%], [data-theme=neutral][_ngcontent-%COMP%] .modal[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] {\n background: #fff;\n color: #45535a;\n}\n\n[data-theme=modern][_nghost-%COMP%] .modal[_ngcontent-%COMP%], [data-theme=modern] [_nghost-%COMP%] .modal[_ngcontent-%COMP%], [data-theme=modern][_ngcontent-%COMP%] .modal[_ngcontent-%COMP%] {\n background: rgba(38, 50, 56, 0.5);\n}\n\n[data-theme=modern][_nghost-%COMP%] .modal[_ngcontent-%COMP%] .modal-header[_ngcontent-%COMP%], [data-theme=modern] [_nghost-%COMP%] .modal[_ngcontent-%COMP%] .modal-header[_ngcontent-%COMP%], [data-theme=modern][_ngcontent-%COMP%] .modal[_ngcontent-%COMP%] .modal-header[_ngcontent-%COMP%] {\n color: #ECEFF1;\n background: #263238;\n}\n\n[data-theme=modern][_nghost-%COMP%] .modal[_ngcontent-%COMP%] .close[_ngcontent-%COMP%], [data-theme=modern] [_nghost-%COMP%] .modal[_ngcontent-%COMP%] .close[_ngcontent-%COMP%], [data-theme=modern][_ngcontent-%COMP%] .modal[_ngcontent-%COMP%] .close[_ngcontent-%COMP%] {\n color: #ECEFF1;\n}\n\n[data-theme=modern][_nghost-%COMP%] .modal[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%], [data-theme=modern] [_nghost-%COMP%] .modal[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%], [data-theme=modern][_ngcontent-%COMP%] .modal[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] {\n background: #ECEFF1;\n color: #263238;\n}\n\n[data-theme=classic][_nghost-%COMP%] .modal[_ngcontent-%COMP%], [data-theme=classic] [_nghost-%COMP%] .modal[_ngcontent-%COMP%], [data-theme=classic][_ngcontent-%COMP%] .modal[_ngcontent-%COMP%] {\n background: rgba(54, 45, 40, 0.5);\n}\n\n[data-theme=classic][_nghost-%COMP%] .modal[_ngcontent-%COMP%] .modal-header[_ngcontent-%COMP%], [data-theme=classic] [_nghost-%COMP%] .modal[_ngcontent-%COMP%] .modal-header[_ngcontent-%COMP%], [data-theme=classic][_ngcontent-%COMP%] .modal[_ngcontent-%COMP%] .modal-header[_ngcontent-%COMP%] {\n color: #f5ead4;\n background: #362d28;\n}\n\n[data-theme=classic][_nghost-%COMP%] .modal[_ngcontent-%COMP%] .close[_ngcontent-%COMP%], [data-theme=classic] [_nghost-%COMP%] .modal[_ngcontent-%COMP%] .close[_ngcontent-%COMP%], [data-theme=classic][_ngcontent-%COMP%] .modal[_ngcontent-%COMP%] .close[_ngcontent-%COMP%] {\n color: #f5ead4;\n}\n\n[data-theme=classic][_nghost-%COMP%] .modal[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%], [data-theme=classic] [_nghost-%COMP%] .modal[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%], [data-theme=classic][_ngcontent-%COMP%] .modal[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] {\n background: #f5ead4;\n color: #362d28;\n}\n\n.modal[_ngcontent-%COMP%] .modal-content[_ngcontent-%COMP%] {\n background: transparent;\n}\n\n.modal[_ngcontent-%COMP%] .modal-dialog[_ngcontent-%COMP%] {\n max-width: 800px;\n height: 80%;\n}\n\n.modal[_ngcontent-%COMP%] .modal-dialog.wider[_ngcontent-%COMP%] {\n max-width: 80%;\n}\n\n.modal[_ngcontent-%COMP%] .modal-header[_ngcontent-%COMP%] {\n padding: 0.5rem 1rem;\n}\n\n.modal[_ngcontent-%COMP%] .modal-header[_ngcontent-%COMP%] .modal-title[_ngcontent-%COMP%] {\n font-size: 1.2em;\n}\n\n.modal[_ngcontent-%COMP%] .modal-header[_ngcontent-%COMP%] .close[_ngcontent-%COMP%] {\n text-shadow: none;\n}\n\n.modal.fixed-height[_ngcontent-%COMP%] .modal-dialog[_ngcontent-%COMP%] {\n overflow-y: initial !important;\n}\n\n.modal.fixed-height[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] {\n height: 500px;\n overflow-y: auto;\n}\n\n.modal.fixed-height[_ngcontent-%COMP%] .modal-dialog[_ngcontent-%COMP%] {\n overflow-y: initial !important;\n}\n\n.modal.fixed-height[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] {\n height: 500px;\n overflow-y: auto;\n}\n\n.modal[_ngcontent-%COMP%] .modal-body.no-scroll[_ngcontent-%COMP%] {\n overflow: hidden !important;\n}\n\nbutton[_ngcontent-%COMP%]:focus {\n outline: none;\n}\n\n evt-icon [class^=evt-icon] {\n font-size: 1.3rem;\n vertical-align: bottom;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2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HdpdGhpbiB0aGUgbWl4aW46XG4vLyBgYGBcbi8vICBidG4tcHJpbWFyeSB7XG4gICAgLy8gIEBpbmNsdWRlIHRoZW1pZnlTZWxmKCR0aGVtZXMpIHtcbiAgICAgICAgLy8gIGNvbG9yOiB0aGVtZWQoJ2Jhc2VDb2xvckRhcmsnKTtcbiAgICAvLyAgfVxuLy8gIH1cbi8vIGBgYFxuQG1peGluIHRoZW1pZnlTZWxmKCR0aGVtZXM6ICR0aGVtZXMpIHtcbiAgICBAZWFjaCAkdGhlbWUsICRtYXAgaW4gJHRoZW1lcyB7XG4gICAgICAgICAmW2RhdGEtdGhlbWU9XCIjeyR0aGVtZX1cIl0ge1xuICAgICAgICAgICAgJHRoZW1lLW1hcDogKCkgIWdsb2JhbDtcbiAgICAgICAgICAgIEBlYWNoICRrZXksICRzdWJtYXAgaW4gJG1hcCB7XG4gICAgICAgICAgICAgICAgJHZhbHVlOiBtYXAtZ2V0KG1hcC1nZXQoJHRoZW1lcywgJHRoZW1lKSwgJyN7JGtleX0nKTtcbiAgICAgICAgICAgICAgICAkdGhlbWUtbWFwOiBtYXAtbWVyZ2UoJHRoZW1lLW1hcCwgKCRrZXk6ICR2YWx1ZSkpICFnbG9iYWw7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICBAY29udGVudDtcbiAgICAgICAgICAgICR0aGVtZS1tYXA6IG51bGwgIWdsb2JhbDtcbiAgICAgICAgfVxuICAgIH1cbn1cblxuQGZ1bmN0aW9uIHRoZW1lZCgka2V5KSB7XG4gICAgQHJldHVybiBtYXAtZ2V0KCR0aGVtZS1tYXAsICRrZXkpO1xufVxuXG4iXX0= */"] });
  10449. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](ModalComponent, [{
  10450. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
  10451. args: [{
  10452. selector: 'evt-modal',
  10453. templateUrl: './modal.component.html',
  10454. styleUrls: ['./modal.component.scss'],
  10455. }]
  10456. }], function () { return [{ type: undefined, decorators: [{
  10457. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Attribute"],
  10458. args: ['modalId']
  10459. }] }, { type: undefined, decorators: [{
  10460. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Attribute"],
  10461. args: ['title']
  10462. }] }, { type: undefined, decorators: [{
  10463. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Attribute"],
  10464. args: ['bodyContentClass']
  10465. }] }, { type: _services_themes_service__WEBPACK_IMPORTED_MODULE_1__["ThemesService"] }, { type: _modal_service__WEBPACK_IMPORTED_MODULE_2__["ModalService"] }]; }, { closeOnShadow: [{
  10466. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
  10467. }], closeOnEsc: [{
  10468. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
  10469. }], fixedHeight: [{
  10470. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
  10471. }], scrollDisabled: [{
  10472. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
  10473. }], wider: [{
  10474. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
  10475. }], headerIcon: [{
  10476. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
  10477. }], bodyComponent: [{
  10478. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
  10479. }], footerComponent: [{
  10480. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
  10481. }], bodyHTML: [{
  10482. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
  10483. }], footerHTML: [{
  10484. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
  10485. }], hide: [{
  10486. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
  10487. }], modalDialog: [{
  10488. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewChild"],
  10489. args: ['modalDialog', { static: true }]
  10490. }], dataTheme: [{
  10491. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostBinding"],
  10492. args: ['attr.data-theme']
  10493. }], clickout: [{
  10494. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostListener"],
  10495. args: ['click', ['$event']]
  10496. }] }); })();
  10497. /***/ }),
  10498. /***/ "QgGR":
  10499. /*!*********************************************************!*\
  10500. !*** ./src/app/components/reading/reading.component.ts ***!
  10501. \*********************************************************/
  10502. /*! exports provided: ReadingComponent */
  10503. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  10504. "use strict";
  10505. __webpack_require__.r(__webpack_exports__);
  10506. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ReadingComponent", function() { return ReadingComponent; });
  10507. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "mrSG");
  10508. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "fXoL");
  10509. /* harmony import */ var _models_evt_models__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../models/evt-models */ "5c0l");
  10510. /* harmony import */ var _services_component_register_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../services/component-register.service */ "d25s");
  10511. /* harmony import */ var _components_mixins__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../components-mixins */ "qoJN");
  10512. /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/common */ "ofXK");
  10513. /* harmony import */ var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../content-viewer/content-viewer.component */ "t6RO");
  10514. function ReadingComponent_evt_content_viewer_0_Template(rf, ctx) { if (rf & 1) {
  10515. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 1);
  10516. } if (rf & 2) {
  10517. const element_r1 = ctx.$implicit;
  10518. const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  10519. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵclassMap"](ctx_r0.data.class);
  10520. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", element_r1)("itemsToHighlight", ctx_r0.itemsToHighlight);
  10521. } }
  10522. let ReadingComponent = class ReadingComponent extends _components_mixins__WEBPACK_IMPORTED_MODULE_4__["Highlightable"] {
  10523. };
  10524. ReadingComponent.ɵfac = function ReadingComponent_Factory(t) { return ɵReadingComponent_BaseFactory(t || ReadingComponent); };
  10525. ReadingComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({ type: ReadingComponent, selectors: [["evt-reading"]], inputs: { data: "data" }, features: [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵInheritDefinitionFeature"]], decls: 1, vars: 1, consts: [[3, "class", "content", "itemsToHighlight", 4, "ngFor", "ngForOf"], [3, "content", "itemsToHighlight"]], template: function ReadingComponent_Template(rf, ctx) { if (rf & 1) {
  10526. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](0, ReadingComponent_evt_content_viewer_0_Template, 1, 5, "evt-content-viewer", 0);
  10527. } if (rf & 2) {
  10528. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx.data.content);
  10529. } }, directives: [_angular_common__WEBPACK_IMPORTED_MODULE_5__["NgForOf"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_6__["ContentViewerComponent"]], styles: ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJyZWFkaW5nLmNvbXBvbmVudC5zY3NzIn0= */"] });
  10530. ReadingComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  10531. Object(_services_component_register_service__WEBPACK_IMPORTED_MODULE_3__["register"])(_models_evt_models__WEBPACK_IMPORTED_MODULE_2__["Reading"])
  10532. ], ReadingComponent);
  10533. const ɵReadingComponent_BaseFactory = /*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵgetInheritedFactory"](ReadingComponent);
  10534. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](ReadingComponent, [{
  10535. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
  10536. args: [{
  10537. selector: 'evt-reading',
  10538. templateUrl: './reading.component.html',
  10539. styleUrls: ['./reading.component.scss'],
  10540. }]
  10541. }], null, { data: [{
  10542. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
  10543. }] }); })();
  10544. /***/ }),
  10545. /***/ "SG9k":
  10546. /*!*************************************************************************!*\
  10547. !*** ./src/app/components/generic-element/generic-element.component.ts ***!
  10548. \*************************************************************************/
  10549. /*! exports provided: GenericElementComponent */
  10550. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  10551. "use strict";
  10552. __webpack_require__.r(__webpack_exports__);
  10553. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "GenericElementComponent", function() { return GenericElementComponent; });
  10554. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "mrSG");
  10555. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "fXoL");
  10556. /* harmony import */ var _models_evt_models__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../models/evt-models */ "5c0l");
  10557. /* harmony import */ var _services_component_register_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../services/component-register.service */ "d25s");
  10558. /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/common */ "ofXK");
  10559. /* harmony import */ var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../content-viewer/content-viewer.component */ "t6RO");
  10560. /* harmony import */ var _directives_html_attributes_directive__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../directives/html-attributes.directive */ "0Bbq");
  10561. /* harmony import */ var _directives_highlight_directive__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../directives/highlight.directive */ "CmGG");
  10562. function GenericElementComponent_evt_content_viewer_0_Template(rf, ctx) { if (rf & 1) {
  10563. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 1);
  10564. } if (rf & 2) {
  10565. const el_r1 = ctx.$implicit;
  10566. const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  10567. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵclassMapInterpolate1"]("genericElement ", ctx_r0.data.class, "");
  10568. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("evtHtmlAttributes", ctx_r0.data == null ? null : ctx_r0.data.attributes)("content", el_r1)("editionLevel", ctx_r0.editionLevel)("itemsToHighlight", ctx_r0.itemsToHighlight)("itemsLemsToHighlight", ctx_r0.itemsLemsToHighlight)("itemsIperlemsToHighlight", ctx_r0.itemsIperlemsToHighlight)("evtHighlight", ctx_r0.highlightData)("textFlow", ctx_r0.textFlow);
  10569. } }
  10570. let GenericElementComponent = class GenericElementComponent {
  10571. };
  10572. GenericElementComponent.ɵfac = function GenericElementComponent_Factory(t) { return new (t || GenericElementComponent)(); };
  10573. GenericElementComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({ type: GenericElementComponent, selectors: [["evt-generic-element"]], inputs: { data: "data" }, decls: 1, vars: 1, consts: [[3, "class", "evtHtmlAttributes", "content", "editionLevel", "itemsToHighlight", "itemsLemsToHighlight", "itemsIperlemsToHighlight", "evtHighlight", "textFlow", 4, "ngFor", "ngForOf"], [3, "evtHtmlAttributes", "content", "editionLevel", "itemsToHighlight", "itemsLemsToHighlight", "itemsIperlemsToHighlight", "evtHighlight", "textFlow"]], template: function GenericElementComponent_Template(rf, ctx) { if (rf & 1) {
  10574. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](0, GenericElementComponent_evt_content_viewer_0_Template, 1, 11, "evt-content-viewer", 0);
  10575. } if (rf & 2) {
  10576. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx.data.content);
  10577. } }, directives: [_angular_common__WEBPACK_IMPORTED_MODULE_4__["NgForOf"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_5__["ContentViewerComponent"], _directives_html_attributes_directive__WEBPACK_IMPORTED_MODULE_6__["HtmlAttributesDirective"], _directives_highlight_directive__WEBPACK_IMPORTED_MODULE_7__["HighlightDirective"]], styles: [".app[_ngcontent-%COMP%] {\n background: violet;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2dlbmVyaWMtZWxlbWVudC5jb21wb25lbnQuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFDQTtFQUNJLGtCQUFBO0FBQUoiLCJmaWxlIjoiZ2VuZXJpYy1lbGVtZW50LmNvbXBvbmVudC5zY3NzIiwic291cmNlc0NvbnRlbnQiOlsiLy8gVEVNUFxuLmFwcCB7XG4gICAgYmFja2dyb3VuZDogdmlvbGV0O1xufSJdfQ== */"] });
  10578. GenericElementComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  10579. Object(_services_component_register_service__WEBPACK_IMPORTED_MODULE_3__["register"])(_models_evt_models__WEBPACK_IMPORTED_MODULE_2__["GenericElement"])
  10580. ], GenericElementComponent);
  10581. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](GenericElementComponent, [{
  10582. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
  10583. args: [{
  10584. selector: 'evt-generic-element',
  10585. templateUrl: './generic-element.component.html',
  10586. styleUrls: ['./generic-element.component.scss'],
  10587. }]
  10588. }], null, { data: [{
  10589. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
  10590. }] }); })();
  10591. /***/ }),
  10592. /***/ "STiE":
  10593. /*!***************************************************!*\
  10594. !*** ./src/app/directives/annotator.directive.ts ***!
  10595. \***************************************************/
  10596. /*! exports provided: AnnotatorDirective */
  10597. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  10598. "use strict";
  10599. __webpack_require__.r(__webpack_exports__);
  10600. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AnnotatorDirective", function() { return AnnotatorDirective; });
  10601. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "fXoL");
  10602. /* harmony import */ var _services_annotator_annotator_service__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../services/annotator/annotator.service */ "I7fL");
  10603. class AnnotatorDirective {
  10604. constructor(annotator) {
  10605. this.annotator = annotator;
  10606. }
  10607. onMouseup() {
  10608. this.annotator.selectedText();
  10609. }
  10610. }
  10611. AnnotatorDirective.ɵfac = function AnnotatorDirective_Factory(t) { return new (t || AnnotatorDirective)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_services_annotator_annotator_service__WEBPACK_IMPORTED_MODULE_1__["AnnotatorService"])); };
  10612. AnnotatorDirective.ɵdir = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({ type: AnnotatorDirective, selectors: [["", "evtAnnotator", ""]], hostBindings: function AnnotatorDirective_HostBindings(rf, ctx) { if (rf & 1) {
  10613. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("mouseup", function AnnotatorDirective_mouseup_HostBindingHandler() { return ctx.onMouseup(); });
  10614. } } });
  10615. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](AnnotatorDirective, [{
  10616. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Directive"],
  10617. args: [{
  10618. selector: '[evtAnnotator]',
  10619. }]
  10620. }], function () { return [{ type: _services_annotator_annotator_service__WEBPACK_IMPORTED_MODULE_1__["AnnotatorService"] }]; }, { onMouseup: [{
  10621. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostListener"],
  10622. args: ['mouseup']
  10623. }] }); })();
  10624. /***/ }),
  10625. /***/ "Sy1n":
  10626. /*!**********************************!*\
  10627. !*** ./src/app/app.component.ts ***!
  10628. \**********************************/
  10629. /*! exports provided: AppComponent */
  10630. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  10631. "use strict";
  10632. __webpack_require__.r(__webpack_exports__);
  10633. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AppComponent", function() { return AppComponent; });
  10634. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "fXoL");
  10635. /* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/router */ "tyNb");
  10636. /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs */ "qCKp");
  10637. /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! rxjs/operators */ "kU1M");
  10638. /* harmony import */ var _app_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./app.config */ "aR35");
  10639. /* harmony import */ var ngx_spinner__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ngx-spinner */ "JqCM");
  10640. /* harmony import */ var _shortcuts_shortcuts_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./shortcuts/shortcuts.service */ "jPca");
  10641. /* harmony import */ var _services_themes_service__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./services/themes.service */ "onZX");
  10642. /* harmony import */ var _main_header_main_header_component__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./main-header/main-header.component */ "6rJU");
  10643. /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @angular/common */ "ofXK");
  10644. /* harmony import */ var _ui_components_icon_icon_component__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./ui-components/icon/icon.component */ "Mijh");
  10645. /* harmony import */ var _nav_bar_nav_bar_component__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./nav-bar/nav-bar.component */ "5hVl");
  10646. /* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @ngx-translate/core */ "sYmb");
  10647. const _c0 = ["mainSpinner"];
  10648. const _c1 = function (a0) { return { opened: a0 }; };
  10649. function AppComponent_ng_container_4_Template(rf, ctx) { if (rf & 1) {
  10650. const _r3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
  10651. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
  10652. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "span", 4);
  10653. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function AppComponent_ng_container_4_Template_span_click_1_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r3); const ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](); return ctx_r2.toggleToolbar(); });
  10654. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "async");
  10655. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](3, "translate");
  10656. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](4, "evt-icon", 5);
  10657. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](5, "async");
  10658. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  10659. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](6, "evt-nav-bar", 6);
  10660. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](7, "async");
  10661. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
  10662. } if (rf & 2) {
  10663. const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
  10664. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  10665. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction1"](12, _c1, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](2, 4, ctx_r0.navbarOpened$)))("title", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](3, 6, "toggleToolbar"));
  10666. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
  10667. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("iconInfo", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](5, 8, ctx_r0.navbarTogglerIcon$));
  10668. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
  10669. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction1"](14, _c1, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](7, 10, ctx_r0.navbarOpened$)));
  10670. } }
  10671. const _c2 = function (a0) { return { "has-navbar": a0 }; };
  10672. class AppComponent {
  10673. constructor(router, spinner, shortcutsService, themes) {
  10674. this.router = router;
  10675. this.spinner = spinner;
  10676. this.shortcutsService = shortcutsService;
  10677. this.themes = themes;
  10678. this.subscriptions = [];
  10679. this.hasNavBar = _app_config__WEBPACK_IMPORTED_MODULE_4__["AppConfig"].evtSettings.ui.enableNavBar;
  10680. this.navbarOpened$ = new rxjs__WEBPACK_IMPORTED_MODULE_2__["BehaviorSubject"](this.hasNavBar && _app_config__WEBPACK_IMPORTED_MODULE_4__["AppConfig"].evtSettings.ui.initNavBarOpened);
  10681. this.navbarTogglerIcon$ = this.navbarOpened$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["map"])((opened) => opened ? { icon: 'caret-down', iconSet: 'fas' } : { icon: 'caret-up', iconSet: 'fas' }));
  10682. this.router.events.subscribe((event) => {
  10683. switch (true) {
  10684. case event instanceof _angular_router__WEBPACK_IMPORTED_MODULE_1__["NavigationStart"]:
  10685. this.spinner.show();
  10686. break;
  10687. case event instanceof _angular_router__WEBPACK_IMPORTED_MODULE_1__["NavigationEnd"]:
  10688. case event instanceof _angular_router__WEBPACK_IMPORTED_MODULE_1__["NavigationCancel"]:
  10689. case event instanceof _angular_router__WEBPACK_IMPORTED_MODULE_1__["NavigationError"]:
  10690. this.spinner.hide();
  10691. break;
  10692. default:
  10693. break;
  10694. }
  10695. });
  10696. }
  10697. get dataTheme() { return this.themes.getCurrentTheme().value; }
  10698. toggleToolbar() {
  10699. this.navbarOpened$.next(!this.navbarOpened$.getValue());
  10700. window.dispatchEvent(new Event('resize')); // Needed to tell Gridster to resize
  10701. }
  10702. ngOnDestroy() {
  10703. this.subscriptions.forEach(subscription => subscription.unsubscribe());
  10704. }
  10705. keyEvent(e) {
  10706. this.shortcutsService.handleKeyboardEvent(e);
  10707. }
  10708. }
  10709. AppComponent.ɵfac = function AppComponent_Factory(t) { return new (t || AppComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_router__WEBPACK_IMPORTED_MODULE_1__["Router"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](ngx_spinner__WEBPACK_IMPORTED_MODULE_5__["NgxSpinnerService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_shortcuts_shortcuts_service__WEBPACK_IMPORTED_MODULE_6__["ShortcutsService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_services_themes_service__WEBPACK_IMPORTED_MODULE_7__["ThemesService"])); };
  10710. AppComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: AppComponent, selectors: [["evt-root"]], viewQuery: function AppComponent_Query(rf, ctx) { if (rf & 1) {
  10711. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵviewQuery"](_c0, true);
  10712. } if (rf & 2) {
  10713. let _t;
  10714. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵloadQuery"]()) && (ctx.mainSpinner = _t.first);
  10715. } }, hostVars: 1, hostBindings: function AppComponent_HostBindings(rf, ctx) { if (rf & 1) {
  10716. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("keyup", function AppComponent_keyup_HostBindingHandler($event) { return ctx.keyEvent($event); }, false, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵresolveWindow"]);
  10717. } if (rf & 2) {
  10718. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("data-theme", ctx.dataTheme);
  10719. } }, decls: 7, vars: 6, consts: [[1, "temp-panel", 3, "ngClass"], [4, "ngIf"], ["bdColor", "rgba(51,51,51,0.8)"], ["mainSpinner", ""], [1, "navbar-toggler", 3, "ngClass", "title", "click"], [3, "iconInfo"], [3, "ngClass"]], template: function AppComponent_Template(rf, ctx) { if (rf & 1) {
  10720. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "evt-main-header");
  10721. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "div", 0);
  10722. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "async");
  10723. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](3, "router-outlet");
  10724. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  10725. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](4, AppComponent_ng_container_4_Template, 8, 16, "ng-container", 1);
  10726. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](5, "ngx-spinner", 2, 3);
  10727. } if (rf & 2) {
  10728. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  10729. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction1"](4, _c2, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](2, 2, ctx.navbarOpened$)));
  10730. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
  10731. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.hasNavBar);
  10732. } }, directives: [_main_header_main_header_component__WEBPACK_IMPORTED_MODULE_8__["MainHeaderComponent"], _angular_common__WEBPACK_IMPORTED_MODULE_9__["NgClass"], _angular_router__WEBPACK_IMPORTED_MODULE_1__["RouterOutlet"], _angular_common__WEBPACK_IMPORTED_MODULE_9__["NgIf"], ngx_spinner__WEBPACK_IMPORTED_MODULE_5__["NgxSpinnerComponent"], _ui_components_icon_icon_component__WEBPACK_IMPORTED_MODULE_10__["IconComponent"], _nav_bar_nav_bar_component__WEBPACK_IMPORTED_MODULE_11__["NavBarComponent"]], pipes: [_angular_common__WEBPACK_IMPORTED_MODULE_9__["AsyncPipe"], _ngx_translate_core__WEBPACK_IMPORTED_MODULE_12__["TranslatePipe"]], styles: ["[_ngcontent-%COMP%]:root {\n --thumbnail-height: 150px;\n --thumbnail-width: 100px;\n}\n\n.temp-panel[_ngcontent-%COMP%] {\n height: 100%;\n height: -o-calc(100% - 54px);\n height: calc(100% - 54px);\n}\n\n.has-navbar[_ngcontent-%COMP%] {\n height: -o-calc(100% - 54px - 45px);\n height: calc(100% - 54px - 45px);\n}\n\n.navbar-toggler[_ngcontent-%COMP%] {\n position: absolute;\n bottom: 0;\n height: 30px;\n width: 30px;\n right: 2px;\n z-index: 9;\n opacity: 0.5;\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: 0.25rem 0.25rem 0 0;\n transition: bottom 0.6s;\n}\n\n.navbar-toggler[_ngcontent-%COMP%]:hover {\n opacity: 1;\n cursor: pointer;\n}\n\n[data-theme=restore][_nghost-%COMP%] .navbar-toggler[_ngcontent-%COMP%], [data-theme=restore] [_nghost-%COMP%] .navbar-toggler[_ngcontent-%COMP%], [data-theme=restore][_ngcontent-%COMP%] .navbar-toggler[_ngcontent-%COMP%] {\n color: #e9e9e9;\n background-color: rgba(10, 69, 83, 0.7);\n border-color: #e9e9e9;\n}\n\n[data-theme=neutral][_nghost-%COMP%] .navbar-toggler[_ngcontent-%COMP%], [data-theme=neutral] [_nghost-%COMP%] .navbar-toggler[_ngcontent-%COMP%], [data-theme=neutral][_ngcontent-%COMP%] .navbar-toggler[_ngcontent-%COMP%] {\n color: #fff;\n background-color: rgba(0, 0, 0, 0.7);\n border-color: #fff;\n}\n\n[data-theme=modern][_nghost-%COMP%] .navbar-toggler[_ngcontent-%COMP%], [data-theme=modern] [_nghost-%COMP%] .navbar-toggler[_ngcontent-%COMP%], [data-theme=modern][_ngcontent-%COMP%] .navbar-toggler[_ngcontent-%COMP%] {\n color: #ECEFF1;\n background-color: rgba(38, 50, 56, 0.7);\n border-color: #ECEFF1;\n}\n\n[data-theme=classic][_nghost-%COMP%] .navbar-toggler[_ngcontent-%COMP%], [data-theme=classic] [_nghost-%COMP%] .navbar-toggler[_ngcontent-%COMP%], [data-theme=classic][_ngcontent-%COMP%] .navbar-toggler[_ngcontent-%COMP%] {\n color: #f5ead4;\n background-color: rgba(54, 45, 40, 0.7);\n border-color: #f5ead4;\n}\n\n.navbar-toggler.opened[_ngcontent-%COMP%] {\n bottom: 45px;\n transition: bottom 0.5s;\n}\n\n evt-nav-bar .nav-bar {\n position: fixed;\n bottom: -45px;\n transition: bottom 1s;\n}\n\n evt-nav-bar.opened .nav-bar {\n bottom: 0;\n transition: bottom 0.5s;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL2Fzc2V0cy9zY3NzL192YXJpYWJsZXMuc2NzcyIsIi4uLy4uL2FwcC5jb21wb25lbnQuc2NzcyIsIi4uLy4uLy4uL2Fzc2V0cy9zY3NzL19taXhpbnMuc2NzcyIsIi4uLy4uLy4uL2Fzc2V0cy9zY3NzL190aGVtZXMuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUEyQkE7RUFDSSx5QkFBQTtFQUNBLHdCQUFBO0FDMUJKOztBQUVBO0VBQ0ksWUFBQTtFQ0NGLDRCQUFBO0VBRUEseUJBQUE7QURFRjs7QUFEQTtFQ0hFLG1DQUFBO0VBRUEsZ0NBQUE7QURTRjs7QUFKQTtFQUNJLGtCQUFBO0VBQ0EsU0FBQTtFQUNBLFlBQUE7RUFDQSxXQUFBO0VBQ0EsVUFBQTtFQUNBLFVBQUE7RUFDQSxZQUFBO0VBRUEsYUFBQTtFQUNBLG1CQUFBO0VBQ0EsdUJBQUE7RUFDQSxrQ0FBQTtFQUVBLHVCQUFBO0FBS0o7O0FBSEk7RUFDSSxVQUFBO0VBQ0EsZUFBQTtBQUtSOztBRW9EUTtFRnJEQSxjQUFBO0VBQ0EsdUNBQUE7RUFDQSxxQkFBQTtBQUlSOztBRStDUTtFRnJEQSxXQUFBO0VBQ0Esb0NBQUE7RUFDQSxrQkFBQTtBQVNSOztBRTBDUTt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AgICAgfVxuICAgICAgICAgICAgQGNvbnRlbnQ7XG4gICAgICAgICAgICAkdGhlbWUtbWFwOiBudWxsICFnbG9iYWw7XG4gICAgICAgIH1cbiAgICB9XG59XG5cbkBmdW5jdGlvbiB0aGVtZWQoJGtleSkge1xuICAgIEByZXR1cm4gbWFwLWdldCgkdGhlbWUtbWFwLCAka2V5KTtcbn1cblxuIl19 */"] });
  10733. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](AppComponent, [{
  10734. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
  10735. args: [{
  10736. selector: 'evt-root',
  10737. templateUrl: './app.component.html',
  10738. styleUrls: ['./app.component.scss'],
  10739. }]
  10740. }], function () { return [{ type: _angular_router__WEBPACK_IMPORTED_MODULE_1__["Router"] }, { type: ngx_spinner__WEBPACK_IMPORTED_MODULE_5__["NgxSpinnerService"] }, { type: _shortcuts_shortcuts_service__WEBPACK_IMPORTED_MODULE_6__["ShortcutsService"] }, { type: _services_themes_service__WEBPACK_IMPORTED_MODULE_7__["ThemesService"] }]; }, { mainSpinner: [{
  10741. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewChild"],
  10742. args: ['mainSpinner']
  10743. }], dataTheme: [{
  10744. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostBinding"],
  10745. args: ['attr.data-theme']
  10746. }], keyEvent: [{
  10747. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostListener"],
  10748. args: ['window:keyup', ['$event']]
  10749. }] }); })();
  10750. /***/ }),
  10751. /***/ "UAXx":
  10752. /*!***********************************************!*\
  10753. !*** ./src/app/services/xml-parsers/index.ts ***!
  10754. \***********************************************/
  10755. /*! exports provided: ParserRegister, xmlParser, parse */
  10756. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  10757. "use strict";
  10758. __webpack_require__.r(__webpack_exports__);
  10759. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ParserRegister", function() { return ParserRegister; });
  10760. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "xmlParser", function() { return xmlParser; });
  10761. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "parse", function() { return parse; });
  10762. /* harmony import */ var _parser_models__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./parser-models */ "YwZW");
  10763. class ParserRegister {
  10764. // tslint:disable-next-line: no-any
  10765. static set(tagName, parserType) {
  10766. ParserRegister.PARSER_MAP[tagName.toLowerCase()] = parserType;
  10767. }
  10768. static get(tagName) {
  10769. const name = ParserRegister.mapName(tagName.toLowerCase());
  10770. return Object(_parser_models__WEBPACK_IMPORTED_MODULE_0__["createParser"])(ParserRegister.PARSER_MAP[name], parse);
  10771. }
  10772. static mapName(tagName) {
  10773. const nes = ['event', 'geogname', 'orgname', 'persname', 'placename'];
  10774. if (nes.includes(tagName)) {
  10775. return 'evt-named-entity-parser';
  10776. }
  10777. const nels = ['listPerson', 'listPlace', 'listOrg', 'listEvent'];
  10778. if (nels.includes(tagName)) {
  10779. return 'evt-named-entities-list-parser';
  10780. }
  10781. const crit = ['app'];
  10782. if (crit.includes(tagName)) {
  10783. return 'evt-apparatus-entry-parser';
  10784. }
  10785. /* add by FS
  10786. const ling = ['rdgGrp'];
  10787. if (ling.includes(tagName)) {
  10788. return 'evt-lem-entry-parser';
  10789. } */
  10790. const neslem = ['w', 'lem'];
  10791. if (neslem.includes(tagName)) {
  10792. return 'evt-lemmatized-entity-parser';
  10793. }
  10794. const nelslem = ['list'];
  10795. if (nelslem.includes(tagName)) {
  10796. return 'evt-lemmatized-entities-list-parser';
  10797. }
  10798. if (!Object.keys(ParserRegister.PARSER_MAP).includes(tagName)) {
  10799. return 'evt-generic-elem-parser';
  10800. }
  10801. return tagName;
  10802. }
  10803. }
  10804. // tslint:disable-next-line: no-any
  10805. ParserRegister.PARSER_MAP = {};
  10806. // tslint:disable-next-line: no-any
  10807. function xmlParser(tagName, parserType) {
  10808. // tslint:disable-next-line: no-any
  10809. return (_) => {
  10810. ParserRegister.set(tagName, parserType);
  10811. };
  10812. }
  10813. function parse(xml) {
  10814. if (!xml) {
  10815. return { content: [xml] };
  10816. }
  10817. // Text Node
  10818. if (xml.nodeType === 3) {
  10819. return ParserRegister.get('evt-text-parser').parse(xml);
  10820. }
  10821. // Comment
  10822. if (xml.nodeType === 8) {
  10823. return {};
  10824. }
  10825. const tagName = xml.tagName.toLowerCase();
  10826. const parser = ParserRegister.get(tagName);
  10827. return parser.parse(xml);
  10828. }
  10829. /***/ }),
  10830. /***/ "UhR9":
  10831. /*!********************************************!*\
  10832. !*** ./src/app/pipes/xml-beautify.pipe.ts ***!
  10833. \********************************************/
  10834. /*! exports provided: XmlBeautifyPipe */
  10835. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  10836. "use strict";
  10837. __webpack_require__.r(__webpack_exports__);
  10838. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "XmlBeautifyPipe", function() { return XmlBeautifyPipe; });
  10839. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "fXoL");
  10840. /* harmony import */ var vkbeautify__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vkbeautify */ "NH6c");
  10841. /* harmony import */ var vkbeautify__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(vkbeautify__WEBPACK_IMPORTED_MODULE_1__);
  10842. /* harmony import */ var _utils_xml_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils/xml-utils */ "JQLQ");
  10843. class XmlBeautifyPipe {
  10844. transform(value) {
  10845. return vkbeautify__WEBPACK_IMPORTED_MODULE_1__["xml"](Object(_utils_xml_utils__WEBPACK_IMPORTED_MODULE_2__["replaceMultispaces"])('\n' + value));
  10846. }
  10847. }
  10848. XmlBeautifyPipe.ɵfac = function XmlBeautifyPipe_Factory(t) { return new (t || XmlBeautifyPipe)(); };
  10849. XmlBeautifyPipe.ɵpipe = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefinePipe"]({ name: "xmlBeautify", type: XmlBeautifyPipe, pure: true });
  10850. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](XmlBeautifyPipe, [{
  10851. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Pipe"],
  10852. args: [{
  10853. name: 'xmlBeautify',
  10854. }]
  10855. }], null, null); })();
  10856. /***/ }),
  10857. /***/ "UjKN":
  10858. /*!**********************************************************!*\
  10859. !*** ./src/app/ui-components/button/button.component.ts ***!
  10860. \**********************************************************/
  10861. /*! exports provided: ButtonComponent */
  10862. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  10863. "use strict";
  10864. __webpack_require__.r(__webpack_exports__);
  10865. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ButtonComponent", function() { return ButtonComponent; });
  10866. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "fXoL");
  10867. /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/common */ "ofXK");
  10868. /* harmony import */ var _icon_icon_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../icon/icon.component */ "Mijh");
  10869. function ButtonComponent_evt_icon_2_Template(rf, ctx) { if (rf & 1) {
  10870. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "evt-icon", 2);
  10871. } if (rf & 2) {
  10872. const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
  10873. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("iconInfo", ctx_r0.iconLeft);
  10874. } }
  10875. function ButtonComponent_evt_icon_4_Template(rf, ctx) { if (rf & 1) {
  10876. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "evt-icon", 2);
  10877. } if (rf & 2) {
  10878. const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
  10879. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("iconInfo", ctx_r1.iconRight);
  10880. } }
  10881. const _c0 = [[["", "label-left", ""]]];
  10882. const _c1 = function (a0, a1, a2, a3, a4, a5) { return { "btn-light": a0, "btn-inverted": a1, "btn-hovered": a2, "shadow-sm": a3, transparent: a4, active: a5 }; };
  10883. const _c2 = ["[label-left]"];
  10884. class ButtonComponent {
  10885. constructor(cdRef) {
  10886. this.cdRef = cdRef;
  10887. this.btnClick = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
  10888. }
  10889. ngOnInit() {
  10890. this.active = this.active !== undefined ? this.active : false;
  10891. this.disabled = this.disabled !== undefined ? this.disabled : false;
  10892. if (this.iconLeft) {
  10893. this.iconLeft = Object.assign(Object.assign({}, this.iconLeft), { additionalClasses: 'icon ' + (this.iconLeft.additionalClasses || '') });
  10894. }
  10895. if (this.iconRight) {
  10896. this.iconRight = Object.assign(Object.assign({}, this.iconRight), { additionalClasses: 'icon ' + (this.iconRight.additionalClasses || '') });
  10897. }
  10898. }
  10899. ngOnChanges(changes) {
  10900. if (changes && changes.active) {
  10901. this.active = changes.active.currentValue;
  10902. this.cdRef.detectChanges();
  10903. }
  10904. }
  10905. clickButton(event) {
  10906. if (!this.disabled) {
  10907. if (this.toggler) {
  10908. this.active = !this.active;
  10909. }
  10910. this.btnClick.emit({ event, active: this.active });
  10911. }
  10912. }
  10913. }
  10914. ButtonComponent.ɵfac = function ButtonComponent_Factory(t) { return new (t || ButtonComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"])); };
  10915. ButtonComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: ButtonComponent, selectors: [["evt-button"]], inputs: { iconLeft: "iconLeft", iconRight: "iconRight", toggler: "toggler", transparent: "transparent", inverted: "inverted", active: "active", additionalStyle: "additionalStyle", disabled: "disabled", label: "label", additionalClasses: "additionalClasses", type: "type" }, outputs: { btnClick: "btnClick" }, features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵNgOnChangesFeature"]], ngContentSelectors: _c2, decls: 5, vars: 17, consts: [["type", "button", 3, "disabled", "ngClass", "ngStyle", "type", "click"], [3, "iconInfo", 4, "ngIf"], [3, "iconInfo"]], template: function ButtonComponent_Template(rf, ctx) { if (rf & 1) {
  10916. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵprojectionDef"](_c0);
  10917. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "button", 0);
  10918. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function ButtonComponent_Template_button_click_0_listener($event) { return ctx.clickButton($event); });
  10919. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵprojection"](1);
  10920. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, ButtonComponent_evt_icon_2_Template, 1, 1, "evt-icon", 1);
  10921. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](3);
  10922. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](4, ButtonComponent_evt_icon_4_Template, 1, 1, "evt-icon", 1);
  10923. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  10924. } if (rf & 2) {
  10925. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵclassMapInterpolate1"]("btn btn-sm ", ctx.additionalClasses, "");
  10926. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("disabled", ctx.disabled)("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction6"](10, _c1, !ctx.transparent, ctx.inverted, ctx.inverted && ctx.active, !ctx.transparent, ctx.transparent, ctx.active))("ngStyle", ctx.additionalStyle)("type", ctx.type);
  10927. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
  10928. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.iconLeft);
  10929. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  10930. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", ctx.label, " ");
  10931. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  10932. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.iconRight);
  10933. } }, directives: [_angular_common__WEBPACK_IMPORTED_MODULE_1__["NgClass"], _angular_common__WEBPACK_IMPORTED_MODULE_1__["NgStyle"], _angular_common__WEBPACK_IMPORTED_MODULE_1__["NgIf"], _icon_icon_component__WEBPACK_IMPORTED_MODULE_2__["IconComponent"]], styles: [".btn[_ngcontent-%COMP%] {\n outline: none;\n border: none;\n}\n.btn[disabled][_ngcontent-%COMP%] {\n cursor: default;\n}\n.btn.btn-sm[_ngcontent-%COMP%] {\n height: 31px;\n}\n.btn[_ngcontent-%COMP%]:focus {\n box-shadow: none;\n}\n[data-theme=restore][_nghost-%COMP%] .btn[_ngcontent-%COMP%], [data-theme=restore] [_nghost-%COMP%] .btn[_ngcontent-%COMP%], [data-theme=restore][_ngcontent-%COMP%] .btn[_ngcontent-%COMP%] {\n color: #0a4553;\n background-color: #e9e9e9;\n border-color: #e9e9e9;\n}\n[data-theme=neutral][_nghost-%COMP%] .btn[_ngcontent-%COMP%], [data-theme=neutral] [_nghost-%COMP%] .btn[_ngcontent-%COMP%], [data-theme=neutral][_ngcontent-%COMP%] .btn[_ngcontent-%COMP%] {\n color: #000;\n background-color: #fff;\n border-color: #fff;\n}\n[data-theme=modern][_nghost-%COMP%] .btn[_ngcontent-%COMP%], [data-theme=modern] [_nghost-%COMP%] .btn[_ngcontent-%COMP%], [data-theme=modern][_ngcontent-%COMP%] .btn[_ngcontent-%COMP%] {\n color: #263238;\n background-color: #ECEFF1;\n border-color: #ECEFF1;\n}\n[data-theme=classic][_nghost-%COMP%] .btn[_ngcontent-%COMP%], [data-theme=classic] [_nghost-%COMP%] .btn[_ngcontent-%COMP%], [data-theme=classic][_ngcontent-%COMP%] .btn[_ngcontent-%COMP%] {\n color: #362d28;\n background-color: #f5ead4;\n border-color: #f5ead4;\n}\n.btn[_ngcontent-%COMP%]:hover:not([disabled]) {\n -o-box-shadow: 1px 2px 3px rgba(0, 0, 0, .4) inset !important;\n -ms-box-shadow: 1px 2px 3px rgba(0, 0, 0, .4) inset !important;\n box-shadow: 1px 2px 3px rgba(0, 0, 0, .4) inset !important;\n}\n[data-theme=restore][_nghost-%COMP%] .btn.active[_ngcontent-%COMP%], [data-theme=restore] [_nghost-%COMP%] .btn.active[_ngcontent-%COMP%], [data-theme=restore][_ngcontent-%COMP%] .btn.active[_ngcontent-%COMP%] {\n background: white;\n}\n[data-theme=neutral][_nghost-%COMP%] .btn.active[_ngcontent-%COMP%], [data-theme=neutral] [_nghost-%COMP%] .btn.active[_ngcontent-%COMP%], [data-theme=neutral][_ngcontent-%COMP%] .btn.active[_ngcontent-%COMP%] {\n background: #ffdd00;\n}\n[data-theme=modern][_nghost-%COMP%] .btn.active[_ngcontent-%COMP%], [data-theme=modern] [_nghost-%COMP%] .btn.active[_ngcontent-%COMP%], [data-theme=modern][_ngcontent-%COMP%] .btn.active[_ngcontent-%COMP%] {\n background: #ffdd00;\n}\n[data-theme=classic][_nghost-%COMP%] .btn.active[_ngcontent-%COMP%], [data-theme=classic] [_nghost-%COMP%] .btn.active[_ngcontent-%COMP%], [data-theme=classic][_ngcontent-%COMP%] .btn.active[_ngcontent-%COMP%] {\n background: #ffdd00;\n}\n.btn.transparent[_ngcontent-%COMP%] {\n background: none !important;\n border-color: transparent !important;\n}\n[data-theme=restore][_nghost-%COMP%] .btn.transparent.active[_ngcontent-%COMP%], [data-theme=restore] [_nghost-%COMP%] .btn.transparent.active[_ngcontent-%COMP%], [data-theme=restore][_ngcontent-%COMP%] .btn.transparent.active[_ngcontent-%COMP%] {\n color: white;\n}\n[data-theme=neutral][_nghost-%COMP%] .btn.transparent.active[_ngcontent-%COMP%], [data-theme=neutral] [_nghost-%COMP%] .btn.transparent.active[_ngcontent-%COMP%], [data-theme=neutral][_ngcontent-%COMP%] .btn.transparent.active[_ngcontent-%COMP%] {\n color: #ffdd00;\n}\n[data-theme=modern][_nghost-%COMP%] .btn.transparent.active[_ngcontent-%COMP%], [data-theme=modern] [_nghost-%COMP%] .btn.transparent.active[_ngcontent-%COMP%], [data-theme=modern][_ngcontent-%COMP%] .btn.transparent.active[_ngcontent-%COMP%] {\n color: #ffdd00;\n}\n[data-theme=classic][_nghost-%COMP%] .btn.transparent.active[_ngcontent-%COMP%], [data-theme=classic] [_nghost-%COMP%] .btn.transparent.active[_ngcontent-%COMP%], [data-theme=classic][_ngcontent-%COMP%] .btn.transparent.active[_ngcontent-%COMP%] {\n color: #ffdd00;\n}\n.btn.btn-inverted[_ngcontent-%COMP%] {\n background: transparent;\n border: none;\n box-shadow: none;\n}\n[data-theme=restore][_nghost-%COMP%] .btn.btn-inverted[_ngcontent-%COMP%], [data-theme=restore] [_nghost-%COMP%] .btn.btn-inverted[_ngcontent-%COMP%], [data-theme=restore][_ngcontent-%COMP%] .btn.btn-inverted[_ngcontent-%COMP%] {\n color: #e9e9e9;\n background-color: #0a4553;\n border-color: #0a4553;\n}\n[data-theme=restore][_nghost-%COMP%] .btn.btn-inverted[_ngcontent-%COMP%]:hover, [data-theme=restore] [_nghost-%COMP%] .btn.btn-inverted[_ngcontent-%COMP%]:hover, [data-theme=restore][_nghost-%COMP%] .btn.btn-inverted.btn-hovered[_ngcontent-%COMP%], [data-theme=restore] [_nghost-%COMP%] .btn.btn-inverted.btn-hovered[_ngcontent-%COMP%], [data-theme=restore][_ngcontent-%COMP%] .btn.btn-inverted[_ngcontent-%COMP%]:hover, [data-theme=restore][_ngcontent-%COMP%] .btn.btn-inverted.btn-hovered[_ngcontent-%COMP%] {\n background: rgba(233, 233, 233, 0.2);\n}\n[data-theme=neutral][_nghost-%COMP%] .btn.btn-inverted[_ngcontent-%COMP%], [data-theme=neutral] [_nghost-%COMP%] .btn.btn-inverted[_ngcontent-%COMP%], [data-theme=neutral][_ngcontent-%COMP%] .btn.btn-inverted[_ngcontent-%COMP%] {\n color: #fff;\n background-color: #000;\n border-color: #000;\n}\n[data-theme=neutral][_nghost-%COMP%] .btn.btn-inverted[_ngcontent-%COMP%]:hover, [data-theme=neutral] [_nghost-%COMP%] .btn.btn-inverted[_ngcontent-%COMP%]:hover, [data-theme=neutral][_nghost-%COMP%] .btn.btn-inverted.btn-hovered[_ngcontent-%COMP%], [data-theme=neutral] [_nghost-%COMP%] .btn.btn-inverted.btn-hovered[_ngcontent-%COMP%], [data-theme=neutral][_ngcontent-%COMP%] .btn.btn-inverted[_ngcontent-%COMP%]:hover, [data-theme=neutral][_ngcontent-%COMP%] .btn.btn-inverted.btn-hovered[_ngcontent-%COMP%] {\n background: rgba(255, 255, 255, 0.2);\n}\n[data-theme=modern][_nghost-%COMP%] .btn.btn-inverted[_ngcontent-%COMP%], [data-theme=modern] [_nghost-%COMP%] .btn.btn-inverted[_ngcontent-%COMP%], [data-theme=modern][_ngcontent-%COMP%] .btn.btn-inverted[_ngcontent-%COMP%] {\n color: #ECEFF1;\n background-color: #263238;\n border-color: #263238;\n}\n[data-theme=modern][_nghost-%COMP%] .btn.btn-inverted[_ngcontent-%COMP%]:hover, [data-theme=modern] [_nghost-%COMP%] .btn.btn-inverted[_ngcontent-%COMP%]:hover, [data-theme=modern][_nghost-%COMP%] .btn.btn-inverted.btn-hovered[_ngcontent-%COMP%], [data-theme=modern] [_nghost-%COMP%] .btn.btn-inverted.btn-hovered[_ngcontent-%COMP%], [data-theme=modern][_ngcontent-%COMP%] .btn.btn-inverted[_ngcontent-%COMP%]:hover, [data-theme=modern][_ngcontent-%COMP%] .btn.btn-inverted.btn-hovered[_ngcontent-%COMP%] {\n background: rgba(236, 239, 241, 0.2);\n}\n[data-theme=classic][_nghost-%COMP%] .btn.btn-inverted[_ngcontent-%COMP%], [data-theme=classic] [_nghost-%COMP%] .btn.btn-inverted[_ngcontent-%COMP%], [data-theme=classic][_ngcontent-%COMP%] .btn.btn-inverted[_ngcontent-%COMP%] {\n color: #f5ead4;\n background-color: #362d28;\n border-color: #362d28;\n}\n[data-theme=classic][_nghost-%COMP%] .btn.btn-inverted[_ngcontent-%COMP%]:hover, [data-theme=classic] [_nghost-%COMP%] .btn.btn-inverted[_ngcontent-%COMP%]:hover, [data-theme=classic][_nghost-%COMP%] .btn.btn-inverted.btn-hovered[_ngcontent-%COMP%], [data-theme=classic] [_nghost-%COMP%] .btn.btn-inverted.btn-hovered[_ngcontent-%COMP%], [data-theme=classic][_ngcontent-%COMP%] .btn.btn-inverted[_ngcontent-%COMP%]:hover, [data-theme=classic][_ngcontent-%COMP%] .btn.btn-inverted.btn-hovered[_ngcontent-%COMP%] {\n background: rgba(245, 234, 212, 0.2);\n}\n.btn.btn-floating[_ngcontent-%COMP%] {\n -o-box-shadow: 0 2px 4px rgba(0, 0, 0, .4) !important;\n -ms-box-shadow: 0 2px 4px rgba(0, 0, 0, .4) !important;\n box-shadow: 0 2px 4px rgba(0, 0, 0, .4) !important;\n}\n[data-theme=restore][_nghost-%COMP%] .btn.btn-floating[_ngcontent-%COMP%], [data-theme=restore] [_nghost-%COMP%] .btn.btn-floating[_ngcontent-%COMP%], [data-theme=restore][_ngcontent-%COMP%] .btn.btn-floating[_ngcontent-%COMP%] {\n color: #e9e9e9;\n background-color: #0a4553;\n border-color: #0a4553;\n}\n[data-theme=neutral][_nghost-%COMP%] .btn.btn-floating[_ngcontent-%COMP%], [data-theme=neutral] [_nghost-%COMP%] .btn.btn-floating[_ngcontent-%COMP%], [data-theme=neutral][_ngcontent-%COMP%] .btn.btn-floating[_ngcontent-%COMP%] {\n color: #fff;\n background-color: #000;\n border-color: #000;\n}\n[data-theme=modern][_nghost-%COMP%] .btn.btn-floating[_ngcontent-%COMP%], [data-theme=modern] [_nghost-%COMP%] .btn.btn-floating[_ngcontent-%COMP%], [data-theme=modern][_ngcontent-%COMP%] .btn.btn-floating[_ngcontent-%COMP%] {\n color: #ECEFF1;\n background-color: #263238;\n border-color: #263238;\n}\n[data-theme=classic][_nghost-%COMP%] .btn.btn-floating[_ngcontent-%COMP%], [data-theme=classic] [_nghost-%COMP%] .btn.btn-floating[_ngcontent-%COMP%], [data-theme=classic][_ngcontent-%COMP%] .btn.btn-floating[_ngcontent-%COMP%] {\n color: #f5ead4;\n background-color: #362d28;\n border-color: #362d28;\n}\n.btn.btn-floating[_ngcontent-%COMP%]:hover {\n -o-box-shadow: none !important;\n -ms-box-shadow: none !important;\n box-shadow: none !important;\n}\n.btn.btn-floating.rounded-circle[_ngcontent-%COMP%] {\n height: 40px;\n width: 40px;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2J1dHRvbi5jb21wb25lbnQuc2NzcyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2Fzc2V0cy9zY3NzL190aGVtZXMuc2NzcyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2Fzc2V0cy9zY3NzL19taXhpbnMuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFHQTtFQUNJLGFBQUE7RUFDQSxZQUFBO0FBRko7QUFJSTtFQUNJLGVBQUE7QUFGUjtBQUtJO0VBQ0ksWUFBQTtBQUhSO0FBTUk7RUFDSSxnQkFBQTtBQUpSO0FDNkVRO0VEckVBLGNBQUE7RUFDQSx5QkFBQTtFQUNBLHFCQUFBO0FBTFI7QUN3RVE7RURyRUEsV0FBQTtFQUNBLHNCQUFBO0VBQ0Esa0JBQUE7QUFBUjtBQ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DAsIC40KSBpbnNldCAhaW1wb3J0YW50XCIpO1xuICAgIH1cblxuICAgICYuYWN0aXZlIHtcbiAgICAgICAgQGluY2x1ZGUgdGhlbWlmeSgkdGhlbWVzKSB7XG4gICAgICAgICAgICBiYWNrZ3JvdW5kOiB0aGVtZWQoXCJ0b29sc0NvbG9yQWN0aXZlXCIpO1xuICAgICAgICB9XG4gICAgfVxuXG4gICAgJi50cmFuc3BhcmVudCB7XG4gICAgICAgIGJhY2tncm91bmQ6IG5vbmUgIWltcG9ydGFudDtcbiAgICAgICAgYm9yZGVyLWNvbG9yOiB0cmFuc3BhcmVudCAhaW1wb3J0YW50O1xuXG4gICAgICAgICYuYWN0aXZlIHtcbiAgICAgICAgICAgIEBpbmNsdWRlIHRoZW1pZnkoJHRoZW1lcykge1xuICAgICAgICAgICAgICAgIGNvbG9yOiB0aGVtZWQoXCJ0b29sc0NvbG9yQWN0aXZlXCIpO1xuICAgICAgICAgICAgfVxuICAgICAgICB9XG4gICAgfVxuXG4gICAgJi5idG4taW52ZXJ0ZWQge1xuICAgICAgICBiYWNrZ3JvdW5kOiB0cmFuc3BhcmVudDtcbiAgICAgICAgYm9yZGVyOiBub25lO1xuICAgICAgICBib3gtc2hhZG93OiBub25lO1xuXG4gICAgICAgIEBpbmNsdWRlIHRoZW1pZnkoJHRoZW1lcykge1xuICAgICAgICAgICAgY29sb3I6IHRoZW1lZChcInRvb2xzQmFja2dyb3VuZFwiKTtcbiAgICAgICAgICAgIGJhY2tncm91bmQtY29sb3I6IHRoZW1lZChcInRvb2xzQ29sb3JcIik7XG4gICAgICAgICAgICBib3JkZXItY29sb3I6IHRoZW1lZChcInRvb2xzQ29sb3JcIik7XG5cbiAgICAgICAgICAgICY6aG92ZXIsXG4gICAgICAgICAgICAmLmJ0bi1ob3ZlcmVkIHtcbiAgICAgICAgICAgICAgICBiYWNrZ3JvdW5kOiByZ2JhKHRoZW1lZChcInRvb2xzQmFja2dyb3VuZFwiKSwgMC4yKTtcbiAgICA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NpemU6IDEuMnJlbTtcbiAgZGlzcGxheTogYmxvY2s7XG4gIG1hcmdpbi10b3A6IDE0cHg7XG4gIHRleHQtYWxpZ246IGxlZnQ7XG59Il19 */"] });
  10934. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](ButtonComponent, [{
  10935. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
  10936. args: [{
  10937. selector: 'evt-button',
  10938. templateUrl: './button.component.html',
  10939. styleUrls: ['./button.component.scss'],
  10940. }]
  10941. }], function () { return [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"] }]; }, { iconLeft: [{
  10942. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
  10943. }], iconRight: [{
  10944. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
  10945. }], toggler: [{
  10946. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
  10947. }], transparent: [{
  10948. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
  10949. }], inverted: [{
  10950. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
  10951. }], active: [{
  10952. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
  10953. }], additionalStyle: [{
  10954. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
  10955. }], disabled: [{
  10956. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
  10957. }], label: [{
  10958. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
  10959. }], additionalClasses: [{
  10960. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
  10961. }], type: [{
  10962. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
  10963. }], btnClick: [{
  10964. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
  10965. }] }); })();
  10966. /***/ }),
  10967. /***/ "UksB":
  10968. /*!*************************************************************!*\
  10969. !*** ./src/app/panels/image-panel/image-panel.component.ts ***!
  10970. \*************************************************************/
  10971. /*! exports provided: ImagePanelComponent */
  10972. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  10973. "use strict";
  10974. __webpack_require__.r(__webpack_exports__);
  10975. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ImagePanelComponent", function() { return ImagePanelComponent; });
  10976. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "fXoL");
  10977. /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rxjs */ "qCKp");
  10978. /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs/operators */ "kU1M");
  10979. /* harmony import */ var _services_evt_model_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../services/evt-model.service */ "hI0h");
  10980. /* harmony import */ var src_app_services_evt_status_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! src/app/services/evt-status.service */ "7Ht4");
  10981. /* harmony import */ var _ui_components_panel_panel_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../ui-components/panel/panel.component */ "HiHV");
  10982. /* harmony import */ var _components_ms_desc_selector_ms_desc_selector_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../components/ms-desc-selector/ms-desc-selector.component */ "qKvR");
  10983. /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @angular/common */ "ofXK");
  10984. /* harmony import */ var _components_osd_osd_component__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../components/osd/osd.component */ "ry9e");
  10985. /* harmony import */ var _components_ms_desc_ms_desc_component__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../components/ms-desc/ms-desc.component */ "ZiLK");
  10986. function ImagePanelComponent_evt_osd_5_Template(rf, ctx) { if (rf & 1) {
  10987. const _r5 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
  10988. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "evt-osd", 8);
  10989. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("pageChange", function ImagePanelComponent_evt_osd_5_Template_evt_osd_pageChange_0_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r5); const ctx_r4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](); return ctx_r4.updatePage($event); });
  10990. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  10991. } if (rf & 2) {
  10992. const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
  10993. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("viewerData", ctx_r1.viewerData)("page", ctx_r1.pageNumber);
  10994. } }
  10995. function ImagePanelComponent_p_6_Template(rf, ctx) { if (rf & 1) {
  10996. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "p");
  10997. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1, "Found no source file");
  10998. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  10999. } }
  11000. function ImagePanelComponent_div_8_Template(rf, ctx) { if (rf & 1) {
  11001. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div");
  11002. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](1, "evt-ms-desc", 9);
  11003. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "async");
  11004. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  11005. } if (rf & 2) {
  11006. const ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
  11007. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  11008. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("data", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](2, 1, ctx_r3.currentMsDesc$));
  11009. } }
  11010. class ImagePanelComponent {
  11011. constructor(evtModelService, evtStatus) {
  11012. this.evtModelService = evtModelService;
  11013. this.evtStatus = evtStatus;
  11014. this.currentPage$ = new rxjs__WEBPACK_IMPORTED_MODULE_1__["BehaviorSubject"](undefined);
  11015. this.currentPageId$ = this.currentPage$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(p => p === null || p === void 0 ? void 0 : p.id));
  11016. this.currentMsDescId$ = new rxjs__WEBPACK_IMPORTED_MODULE_1__["BehaviorSubject"](undefined);
  11017. this.currentMsDesc$ = Object(rxjs__WEBPACK_IMPORTED_MODULE_1__["combineLatest"])([this.evtModelService.msDesc$, this.currentMsDescId$]).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["filter"])(([msDesc, currentId]) => !!msDesc && !!currentId), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(([msDesc, currentId]) => msDesc.find(m => m.id === currentId)));
  11018. this.msDescOpen = false;
  11019. }
  11020. set pageID(v) {
  11021. this.evtModelService.pages$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["take"])(1)).subscribe((pages) => this._pageNumber = pages.findIndex(page => page.id === v));
  11022. }
  11023. get pageNumber() { return this._pageNumber + 1; }
  11024. updatePage(viewerPage) {
  11025. this.evtModelService.pages$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["take"])(1)).subscribe((pages) => this.evtStatus.updatePage$.next(pages[viewerPage - 1]));
  11026. }
  11027. setMsDescOpen(isOpen) {
  11028. this.msDescOpen = isOpen;
  11029. }
  11030. setMsDescID(msDescId) {
  11031. this.currentMsDescId$.next(msDescId);
  11032. }
  11033. }
  11034. ImagePanelComponent.ɵfac = function ImagePanelComponent_Factory(t) { return new (t || ImagePanelComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_services_evt_model_service__WEBPACK_IMPORTED_MODULE_3__["EVTModelService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](src_app_services_evt_status_service__WEBPACK_IMPORTED_MODULE_4__["EVTStatusService"])); };
  11035. ImagePanelComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: ImagePanelComponent, selectors: [["evt-image-panel"]], inputs: { viewerData: "viewerData", pageID: "pageID" }, decls: 9, vars: 6, consts: [[3, "showSecondaryContent", "hideHeader", "hideFooter"], ["header-left", ""], [3, "selectionChange", "msDescOpen"], ["msDesc", ""], ["content", ""], [3, "viewerData", "page", "pageChange", 4, "ngIf"], [4, "ngIf"], ["secondary-content", ""], [3, "viewerData", "page", "pageChange"], [3, "data"]], template: function ImagePanelComponent_Template(rf, ctx) { if (rf & 1) {
  11036. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "evt-panel", 0);
  11037. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "div", 1);
  11038. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "evt-ms-desc-selector", 2, 3);
  11039. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("selectionChange", function ImagePanelComponent_Template_evt_ms_desc_selector_selectionChange_2_listener($event) { return ctx.setMsDescID($event); })("msDescOpen", function ImagePanelComponent_Template_evt_ms_desc_selector_msDescOpen_2_listener($event) { return ctx.setMsDescOpen($event); });
  11040. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  11041. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  11042. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "div", 4);
  11043. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](5, ImagePanelComponent_evt_osd_5_Template, 1, 2, "evt-osd", 5);
  11044. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](6, ImagePanelComponent_p_6_Template, 2, 0, "p", 6);
  11045. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  11046. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](7, "div", 7);
  11047. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](8, ImagePanelComponent_div_8_Template, 3, 3, "div", 6);
  11048. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  11049. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  11050. } if (rf & 2) {
  11051. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("showSecondaryContent", ctx.msDescOpen)("hideHeader", false)("hideFooter", true);
  11052. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](5);
  11053. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.viewerData);
  11054. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  11055. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", !ctx.viewerData);
  11056. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
  11057. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.msDescOpen);
  11058. } }, directives: [_ui_components_panel_panel_component__WEBPACK_IMPORTED_MODULE_5__["PanelComponent"], _components_ms_desc_selector_ms_desc_selector_component__WEBPACK_IMPORTED_MODULE_6__["MsDescSelectorComponent"], _angular_common__WEBPACK_IMPORTED_MODULE_7__["NgIf"], _components_osd_osd_component__WEBPACK_IMPORTED_MODULE_8__["OsdComponent"], _components_ms_desc_ms_desc_component__WEBPACK_IMPORTED_MODULE_9__["MsDescComponent"]], pipes: [_angular_common__WEBPACK_IMPORTED_MODULE_7__["AsyncPipe"]], styles: ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJpbWFnZS1wYW5lbC5jb21wb25lbnQuc2NzcyJ9 */"] });
  11059. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](ImagePanelComponent, [{
  11060. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
  11061. args: [{
  11062. selector: 'evt-image-panel',
  11063. templateUrl: './image-panel.component.html',
  11064. styleUrls: ['./image-panel.component.scss'],
  11065. }]
  11066. }], function () { return [{ type: _services_evt_model_service__WEBPACK_IMPORTED_MODULE_3__["EVTModelService"] }, { type: src_app_services_evt_status_service__WEBPACK_IMPORTED_MODULE_4__["EVTStatusService"] }]; }, { viewerData: [{
  11067. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
  11068. }], pageID: [{
  11069. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
  11070. }] }); })();
  11071. /***/ }),
  11072. /***/ "VyoE":
  11073. /*!*******************************************************************!*\
  11074. !*** ./src/app/panels/pinboard-panel/pinboard-panel.component.ts ***!
  11075. \*******************************************************************/
  11076. /*! exports provided: PinboardPanelComponent */
  11077. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  11078. "use strict";
  11079. __webpack_require__.r(__webpack_exports__);
  11080. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PinboardPanelComponent", function() { return PinboardPanelComponent; });
  11081. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "fXoL");
  11082. /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rxjs/operators */ "kU1M");
  11083. /* harmony import */ var _pinboard_pinboard_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../pinboard/pinboard.service */ "fqbd");
  11084. /* harmony import */ var _ui_components_panel_panel_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../ui-components/panel/panel.component */ "HiHV");
  11085. /* harmony import */ var _pinboard_pinboard_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../pinboard/pinboard.component */ "W4vA");
  11086. /* harmony import */ var _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @ng-select/ng-select */ "ZOsW");
  11087. /* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/forms */ "3Pt+");
  11088. /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @angular/common */ "ofXK");
  11089. /* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @ngx-translate/core */ "sYmb");
  11090. function PinboardPanelComponent_ng_template_10_div_0_Template(rf, ctx) { if (rf & 1) {
  11091. const _r8 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
  11092. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 8);
  11093. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "span", 9);
  11094. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2);
  11095. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  11096. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "span", 10);
  11097. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function PinboardPanelComponent_ng_template_10_div_0_Template_span_click_3_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r8); const item_r5 = ctx.$implicit; const clear_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().clear; return clear_r2(item_r5); });
  11098. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](4, "\u00D7");
  11099. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  11100. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  11101. } if (rf & 2) {
  11102. const item_r5 = ctx.$implicit;
  11103. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
  11104. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](item_r5.label);
  11105. } }
  11106. function PinboardPanelComponent_ng_template_10_div_2_Template(rf, ctx) { if (rf & 1) {
  11107. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 8);
  11108. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "span", 9);
  11109. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2);
  11110. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](3, "translate");
  11111. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  11112. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  11113. } if (rf & 2) {
  11114. const items_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().items;
  11115. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
  11116. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate2"]("", items_r1.length - 2, " ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](3, 2, "more"), "...");
  11117. } }
  11118. function PinboardPanelComponent_ng_template_10_Template(rf, ctx) { if (rf & 1) {
  11119. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](0, PinboardPanelComponent_ng_template_10_div_0_Template, 5, 1, "div", 6);
  11120. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](1, "slice");
  11121. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, PinboardPanelComponent_ng_template_10_div_2_Template, 4, 4, "div", 7);
  11122. } if (rf & 2) {
  11123. const items_r1 = ctx.items;
  11124. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind3"](1, 2, items_r1, 0, 2));
  11125. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
  11126. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", items_r1.length > 2);
  11127. } }
  11128. class PinboardPanelComponent {
  11129. constructor(pinboard) {
  11130. this.pinboard = pinboard;
  11131. this.hide = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
  11132. this.selectedPinTypes = [];
  11133. this.pinboardTypes$ = this.pinboard.getItems().pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__["map"])(items => {
  11134. const types = [];
  11135. items.forEach(item => {
  11136. const pinType = item.pinType;
  11137. if (pinType && !types.find(i => i.id === item.pinType)) {
  11138. types.push({ id: pinType, label: pinType });
  11139. }
  11140. });
  11141. return types;
  11142. }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__["tap"])(types => {
  11143. if (this.selectedPinTypes && this.selectedPinTypes.length > 0) {
  11144. this.selectedPinTypes = [...this.selectedPinTypes.filter(type => types.find(i => i.id === type))];
  11145. }
  11146. }));
  11147. }
  11148. emitHide() {
  11149. this.hide.emit();
  11150. }
  11151. }
  11152. PinboardPanelComponent.ɵfac = function PinboardPanelComponent_Factory(t) { return new (t || PinboardPanelComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_pinboard_pinboard_service__WEBPACK_IMPORTED_MODULE_2__["PinboardService"])); };
  11153. PinboardPanelComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: PinboardPanelComponent, selectors: [["evt-pinboard-panel"]], outputs: { hide: "hide" }, decls: 11, vars: 19, consts: [[3, "closable", "secondary", "hide"], ["header-left", ""], ["content", "", 3, "types"], ["footer", ""], ["bindValue", "id", "bindLabel", "label", 3, "items", "multiple", "closeOnSelect", "searchable", "placeholder", "ngModel", "disabled", "ngModelChange"], ["ng-multi-label-tmp", ""], ["class", "ng-value", 4, "ngFor", "ngForOf"], ["class", "ng-value", 4, "ngIf"], [1, "ng-value"], [1, "ng-value-label"], ["aria-hidden", "true", 1, "ng-value-icon", "right", 3, "click"]], template: function PinboardPanelComponent_Template(rf, ctx) { if (rf & 1) {
  11154. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "evt-panel", 0);
  11155. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("hide", function PinboardPanelComponent_Template_evt_panel_hide_0_listener() { return ctx.emitHide(); });
  11156. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "div", 1);
  11157. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2);
  11158. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](3, "translate");
  11159. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  11160. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](4, "evt-pinboard", 2);
  11161. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](5, "div", 3);
  11162. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](6, "ng-select", 4);
  11163. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("ngModelChange", function PinboardPanelComponent_Template_ng_select_ngModelChange_6_listener($event) { return ctx.selectedPinTypes = $event; });
  11164. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](7, "async");
  11165. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](8, "translate");
  11166. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](9, "async");
  11167. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](10, PinboardPanelComponent_ng_template_10_Template, 3, 6, "ng-template", 5);
  11168. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  11169. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  11170. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  11171. } if (rf & 2) {
  11172. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("closable", true)("secondary", true);
  11173. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
  11174. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](3, 11, "pinboard"));
  11175. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
  11176. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("types", ctx.selectedPinTypes);
  11177. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
  11178. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("items", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](7, 13, ctx.pinboardTypes$))("multiple", true)("closeOnSelect", false)("searchable", true)("placeholder", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](8, 15, "filterPins"))("ngModel", ctx.selectedPinTypes)("disabled", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](9, 17, ctx.pinboardTypes$).length === 0);
  11179. } }, directives: [_ui_components_panel_panel_component__WEBPACK_IMPORTED_MODULE_3__["PanelComponent"], _pinboard_pinboard_component__WEBPACK_IMPORTED_MODULE_4__["PinboardComponent"], _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_5__["NgSelectComponent"], _angular_forms__WEBPACK_IMPORTED_MODULE_6__["NgControlStatus"], _angular_forms__WEBPACK_IMPORTED_MODULE_6__["NgModel"], _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_5__["ɵi"], _angular_common__WEBPACK_IMPORTED_MODULE_7__["NgForOf"], _angular_common__WEBPACK_IMPORTED_MODULE_7__["NgIf"]], pipes: [_ngx_translate_core__WEBPACK_IMPORTED_MODULE_8__["TranslatePipe"], _angular_common__WEBPACK_IMPORTED_MODULE_7__["AsyncPipe"], _angular_common__WEBPACK_IMPORTED_MODULE_7__["SlicePipe"]], styles: [".pin-types-selector[_ngcontent-%COMP%] .ng-fa-layers-counter[_ngcontent-%COMP%] {\n font-size: 2rem !important;\n top: -7px;\n position: relative;\n left: 1.5rem;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3BpbmJvYXJkLXBhbmVsLmNvbXBvbmVudC5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNJO0VBQ0ksMEJBQUE7RUFDQSxTQUFBO0VBQ0Esa0JBQUE7RUFDQSxZQUFBO0FBQVIiLCJmaWxlIjoicGluYm9hcmQtcGFuZWwuY29tcG9uZW50LnNjc3MiLCJzb3VyY2VzQ29udGVudCI6WyIucGluLXR5cGVzLXNlbGVjdG9yIHtcbiAgICAubmctZmEtbGF5ZXJzLWNvdW50ZXIge1xuICAgICAgICBmb250LXNpemU6IDJyZW0gIWltcG9ydGFudDtcbiAgICAgICAgdG9wOiAtN3B4O1xuICAgICAgICBwb3NpdGlvbjogcmVsYXRpdmU7XG4gICAgICAgIGxlZnQ6IDEuNXJlbTtcbiAgICB9XG59Il19 */"] });
  11180. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](PinboardPanelComponent, [{
  11181. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
  11182. args: [{
  11183. selector: 'evt-pinboard-panel',
  11184. templateUrl: './pinboard-panel.component.html',
  11185. styleUrls: ['./pinboard-panel.component.scss'],
  11186. }]
  11187. }], function () { return [{ type: _pinboard_pinboard_service__WEBPACK_IMPORTED_MODULE_2__["PinboardService"] }]; }, { hide: [{
  11188. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
  11189. }] }); })();
  11190. /***/ }),
  11191. /***/ "W4vA":
  11192. /*!************************************************!*\
  11193. !*** ./src/app/pinboard/pinboard.component.ts ***!
  11194. \************************************************/
  11195. /*! exports provided: PinboardComponent */
  11196. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  11197. "use strict";
  11198. __webpack_require__.r(__webpack_exports__);
  11199. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PinboardComponent", function() { return PinboardComponent; });
  11200. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "fXoL");
  11201. /* harmony import */ var _pinboard_service__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./pinboard.service */ "fqbd");
  11202. /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/common */ "ofXK");
  11203. /* harmony import */ var _ui_components_button_button_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../ui-components/button/button.component */ "UjKN");
  11204. /* harmony import */ var _components_apparatus_entry_apparatus_entry_readings_apparatus_entry_readings_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../components/apparatus-entry/apparatus-entry-readings/apparatus-entry-readings.component */ "etwH");
  11205. /* harmony import */ var _components_content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../components/content-viewer/content-viewer.component */ "t6RO");
  11206. /* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @ngx-translate/core */ "sYmb");
  11207. function PinboardComponent_div_0_div_1_div_11_Template(rf, ctx) { if (rf & 1) {
  11208. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div");
  11209. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](1, "evt-apparatus-entry-readings", 13);
  11210. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  11211. } if (rf & 2) {
  11212. const item_r6 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().$implicit;
  11213. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  11214. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("data", item_r6);
  11215. } }
  11216. function PinboardComponent_div_0_div_1_div_12_evt_content_viewer_1_Template(rf, ctx) { if (rf & 1) {
  11217. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "evt-content-viewer", 15);
  11218. } if (rf & 2) {
  11219. const element_r11 = ctx.$implicit;
  11220. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("content", element_r11);
  11221. } }
  11222. function PinboardComponent_div_0_div_1_div_12_Template(rf, ctx) { if (rf & 1) {
  11223. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div");
  11224. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, PinboardComponent_div_0_div_1_div_12_evt_content_viewer_1_Template, 1, 1, "evt-content-viewer", 14);
  11225. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  11226. } if (rf & 2) {
  11227. const item_r6 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().$implicit;
  11228. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  11229. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", item_r6.content);
  11230. } }
  11231. const _c0 = function () { return { icon: "trash-alt" }; };
  11232. function PinboardComponent_div_0_div_1_Template(rf, ctx) { if (rf & 1) {
  11233. const _r14 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
  11234. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 5);
  11235. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "div", 6);
  11236. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "span", 7);
  11237. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](3);
  11238. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](4, "translate");
  11239. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  11240. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](5, "span", 8);
  11241. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](6);
  11242. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](7, "date");
  11243. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  11244. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](8, "evt-button", 9);
  11245. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("btnClick", function PinboardComponent_div_0_div_1_Template_evt_button_btnClick_8_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r14); const item_r6 = ctx.$implicit; const ctx_r13 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2); return ctx_r13.removePinnedItem(item_r6); });
  11246. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](9, "translate");
  11247. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  11248. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  11249. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](10, 10);
  11250. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](11, PinboardComponent_div_0_div_1_div_11_Template, 2, 1, "div", 11);
  11251. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](12, PinboardComponent_div_0_div_1_div_12_Template, 2, 1, "div", 12);
  11252. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
  11253. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  11254. } if (rf & 2) {
  11255. const item_r6 = ctx.$implicit;
  11256. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
  11257. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](4, 6, item_r6.pinType), "");
  11258. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
  11259. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" [", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind2"](7, 8, item_r6.pinDate, "shortDate"), "]");
  11260. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
  11261. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("iconLeft", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction0"](13, _c0))("title", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](9, 11, "RemovePin"));
  11262. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
  11263. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngSwitch", item_r6.renderer);
  11264. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  11265. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngSwitchCase", "ApparatusEntryReadings");
  11266. } }
  11267. function PinboardComponent_div_0_div_2_span_1_Template(rf, ctx) { if (rf & 1) {
  11268. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "span");
  11269. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
  11270. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "translate");
  11271. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  11272. } if (rf & 2) {
  11273. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  11274. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](2, 1, "filteredPinboardEmpty"), " ");
  11275. } }
  11276. function PinboardComponent_div_0_div_2_span_2_Template(rf, ctx) { if (rf & 1) {
  11277. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "span");
  11278. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
  11279. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "translate");
  11280. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  11281. } if (rf & 2) {
  11282. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  11283. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](2, 1, "pinboardEmpty"), " ");
  11284. } }
  11285. function PinboardComponent_div_0_div_2_Template(rf, ctx) { if (rf & 1) {
  11286. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div");
  11287. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, PinboardComponent_div_0_div_2_span_1_Template, 3, 3, "span", 4);
  11288. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, PinboardComponent_div_0_div_2_span_2_Template, 3, 3, "span", 4);
  11289. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  11290. } if (rf & 2) {
  11291. const ctx_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
  11292. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  11293. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r5.types.length > 0);
  11294. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  11295. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", !ctx_r5.types || ctx_r5.types.length === 0);
  11296. } }
  11297. function PinboardComponent_div_0_Template(rf, ctx) { if (rf & 1) {
  11298. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 2);
  11299. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, PinboardComponent_div_0_div_1_Template, 13, 14, "div", 3);
  11300. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, PinboardComponent_div_0_div_2_Template, 3, 2, "div", 4);
  11301. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  11302. } if (rf & 2) {
  11303. const itemsPinned_r3 = ctx.ngIf;
  11304. const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
  11305. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  11306. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", itemsPinned_r3);
  11307. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  11308. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", itemsPinned_r3.length === 0 && ctx_r0.types);
  11309. } }
  11310. function PinboardComponent_ng_template_2_Template(rf, ctx) { if (rf & 1) {
  11311. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](0);
  11312. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](1, "translate");
  11313. } if (rf & 2) {
  11314. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](1, 1, "pinboardLoading"), "\n");
  11315. } }
  11316. class PinboardComponent {
  11317. constructor(pinboard) {
  11318. this.pinboard = pinboard;
  11319. }
  11320. ngOnInit() {
  11321. this.initPins();
  11322. }
  11323. ngOnChanges(changes) {
  11324. if (changes.types.currentValue !== changes.types.previousValue) {
  11325. this.initPins();
  11326. }
  11327. }
  11328. removePinnedItem(item) {
  11329. this.pinboard.toggleItem(item);
  11330. }
  11331. initPins() {
  11332. this.itemsPinned$ = this.pinboard.getItems(this.types);
  11333. }
  11334. }
  11335. PinboardComponent.ɵfac = function PinboardComponent_Factory(t) { return new (t || PinboardComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_pinboard_service__WEBPACK_IMPORTED_MODULE_1__["PinboardService"])); };
  11336. PinboardComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: PinboardComponent, selectors: [["evt-pinboard"]], inputs: { types: "types" }, features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵNgOnChangesFeature"]], decls: 4, vars: 4, consts: [["class", "pinnedItems-container", 4, "ngIf", "ngIfElse"], ["loading", ""], [1, "pinnedItems-container"], ["class", "pinnedItem", 4, "ngFor", "ngForOf"], [4, "ngIf"], [1, "pinnedItem"], [1, "pinnedItem-header"], [1, "pin-type"], [1, "pin-date"], [1, "pin-remover", 3, "iconLeft", "title", "btnClick"], [3, "ngSwitch"], [4, "ngSwitchCase"], [4, "ngSwitchDefault"], [3, "data"], [3, "content", 4, "ngFor", "ngForOf"], [3, "content"]], template: function PinboardComponent_Template(rf, ctx) { if (rf & 1) {
  11337. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](0, PinboardComponent_div_0_Template, 3, 2, "div", 0);
  11338. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](1, "async");
  11339. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, PinboardComponent_ng_template_2_Template, 2, 3, "ng-template", null, 1, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplateRefExtractor"]);
  11340. } if (rf & 2) {
  11341. const _r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵreference"](3);
  11342. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](1, 2, ctx.itemsPinned$))("ngIfElse", _r1);
  11343. } }, directives: [_angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], _ui_components_button_button_component__WEBPACK_IMPORTED_MODULE_3__["ButtonComponent"], _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgSwitch"], _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgSwitchCase"], _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgSwitchDefault"], _components_apparatus_entry_apparatus_entry_readings_apparatus_entry_readings_component__WEBPACK_IMPORTED_MODULE_4__["ApparatusEntryReadingsComponent"], _components_content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_5__["ContentViewerComponent"]], pipes: [_angular_common__WEBPACK_IMPORTED_MODULE_2__["AsyncPipe"], _ngx_translate_core__WEBPACK_IMPORTED_MODULE_6__["TranslatePipe"], _angular_common__WEBPACK_IMPORTED_MODULE_2__["DatePipe"]], styles: [".pinnedItem[_ngcontent-%COMP%] {\n position: relative;\n margin-bottom: 0.5rem;\n border-bottom: 1px solid lightgray;\n padding-bottom: 0.5rem;\n}\n.pinnedItem-header[_ngcontent-%COMP%] {\n min-height: 31px;\n}\n.pinnedItem-header[_ngcontent-%COMP%] .pin-type[_ngcontent-%COMP%] {\n font-variant: small-caps;\n}\n.pinnedItem-header[_ngcontent-%COMP%] .pin-type[_ngcontent-%COMP%], .pinnedItem-header[_ngcontent-%COMP%] .pin-date[_ngcontent-%COMP%] {\n font-size: 0.7rem;\n color: grey;\n}\n.pinnedItem-header[_ngcontent-%COMP%] .pin-remover[_ngcontent-%COMP%] {\n float: right;\n position: absolute;\n top: 0;\n right: 0;\n z-index: 99;\n}\n.pinnedItem-header[_ngcontent-%COMP%] .pin-remover[_ngcontent-%COMP%]:hover {\n background: rgba(0, 0, 0, 0.1);\n}\n[_nghost-%COMP%] .pinnedItems-container evt-pinner {\n display: none !important;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3BpbmJvYXJkLmNvbXBvbmVudC5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0VBQ0Usa0JBQUE7RUFDQSxxQkFBQTtFQUNBLGtDQUFBO0VBQ0Esc0JBQUE7QUFDRjtBQUNFO0VBQ0UsZ0JBQUE7QUFDSjtBQUNJO0VBQ0Usd0JBQUE7QUFDTjtBQUVJOztFQUVFLGlCQUFBO0VBQ0EsV0FBQTtBQUFOO0FBR0k7RUFDRSxZQUFBO0VBQ0Esa0JBQUE7RUFDQSxNQUFBO0VBQ0EsUUFBQTtFQUNBLFdBQUE7QUFETjtBQUdNO0VBQ0UsOEJBQUE7QUFEUjtBQVFFO0VBQ0Usd0JBQUE7QUFMSiIsImZpbGUiOiJwaW5ib2FyZC5jb21wb25lbnQuc2NzcyIsInNvdXJjZXNDb250ZW50IjpbIi5waW5uZWRJdGVtIHtcbiAgcG9zaXRpb246IHJlbGF0aXZlO1xuICBtYXJnaW4tYm90dG9tOiAwLjVyZW07XG4gIGJvcmRlci1ib3R0b206IDFweCBzb2xpZCBsaWdodGdyYXk7XG4gIHBhZGRpbmctYm90dG9tOiAuNXJlbTtcblxuICAmLWhlYWRlciB7XG4gICAgbWluLWhlaWdodDogMzFweDtcblxuICAgIC5waW4tdHlwZSB7XG4gICAgICBmb250LXZhcmlhbnQ6IHNtYWxsLWNhcHM7XG4gICAgfVxuXG4gICAgLnBpbi10eXBlLFxuICAgIC5waW4tZGF0ZSB7XG4gICAgICBmb250LXNpemU6IC43cmVtO1xuICAgICAgY29sb3I6IGdyZXk7XG4gICAgfVxuXG4gICAgLnBpbi1yZW1vdmVyIHtcbiAgICAgIGZsb2F0OiByaWdodDtcbiAgICAgIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgICAgIHRvcDogMDtcbiAgICAgIHJpZ2h0OiAwO1xuICAgICAgei1pbmRleDogOTk7XG5cbiAgICAgICY6aG92ZXIge1xuICAgICAgICBiYWNrZ3JvdW5kOiByZ2JhKDAsIDAsIDAsIC4xKTtcbiAgICAgIH1cbiAgICB9XG4gIH1cbn1cblxuOmhvc3QgOjpuZy1kZWVwIC5waW5uZWRJdGVtcy1jb250YWluZXIge1xuICBldnQtcGlubmVyIHtcbiAgICBkaXNwbGF5OiBub25lICFpbXBvcnRhbnQ7XG4gIH1cbn0iXX0= */"] });
  11344. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](PinboardComponent, [{
  11345. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
  11346. args: [{
  11347. selector: 'evt-pinboard',
  11348. templateUrl: './pinboard.component.html',
  11349. styleUrls: ['./pinboard.component.scss'],
  11350. }]
  11351. }], function () { return [{ type: _pinboard_service__WEBPACK_IMPORTED_MODULE_1__["PinboardService"] }]; }, { types: [{
  11352. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
  11353. }] }); })();
  11354. /***/ }),
  11355. /***/ "Wu1i":
  11356. /*!****************************************!*\
  11357. !*** ./src/app/pipes/humanize.pipe.ts ***!
  11358. \****************************************/
  11359. /*! exports provided: HumanizePipe */
  11360. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  11361. "use strict";
  11362. __webpack_require__.r(__webpack_exports__);
  11363. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "HumanizePipe", function() { return HumanizePipe; });
  11364. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "fXoL");
  11365. class HumanizePipe {
  11366. transform(value) {
  11367. if (value === '') {
  11368. return value;
  11369. }
  11370. value = value.replace(/([^A-Z])([A-Z])/g, '$1 $2').replace(/([A-Z])([A-Z][^A-Z])/g, '$1 $2');
  11371. return value;
  11372. }
  11373. }
  11374. HumanizePipe.ɵfac = function HumanizePipe_Factory(t) { return new (t || HumanizePipe)(); };
  11375. HumanizePipe.ɵpipe = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefinePipe"]({ name: "humanize", type: HumanizePipe, pure: true });
  11376. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](HumanizePipe, [{
  11377. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Pipe"],
  11378. args: [{ name: 'humanize' }]
  11379. }], null, null); })();
  11380. /***/ }),
  11381. /***/ "WyXU":
  11382. /*!****************************************************************************!*\
  11383. !*** ./src/app/ui-components/ms-desc-section/ms-desc-section.component.ts ***!
  11384. \****************************************************************************/
  11385. /*! exports provided: MsDescSectionComponent */
  11386. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  11387. "use strict";
  11388. __webpack_require__.r(__webpack_exports__);
  11389. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MsDescSectionComponent", function() { return MsDescSectionComponent; });
  11390. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "fXoL");
  11391. /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/common */ "ofXK");
  11392. /* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @ngx-translate/core */ "sYmb");
  11393. function MsDescSectionComponent_span_1_Template(rf, ctx) { if (rf & 1) {
  11394. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "span", 5);
  11395. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
  11396. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "translate");
  11397. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  11398. } if (rf & 2) {
  11399. const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
  11400. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  11401. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate2"]("", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](2, 2, ctx_r0.label), "", ctx_r0.inlineLabel ? ": " : "", "");
  11402. } }
  11403. function MsDescSectionComponent_ng_container_3_Template(rf, ctx) { if (rf & 1) {
  11404. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
  11405. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainer"](1, 6);
  11406. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
  11407. } if (rf & 2) {
  11408. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
  11409. const _r3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵreference"](6);
  11410. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  11411. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngTemplateOutlet", _r3);
  11412. } }
  11413. function MsDescSectionComponent_ng_container_4_Template(rf, ctx) { if (rf & 1) {
  11414. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
  11415. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "div", 7);
  11416. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainer"](2, 6);
  11417. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  11418. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
  11419. } if (rf & 2) {
  11420. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
  11421. const _r3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵreference"](6);
  11422. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
  11423. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngTemplateOutlet", _r3);
  11424. } }
  11425. function MsDescSectionComponent_ng_template_5_Template(rf, ctx) { if (rf & 1) {
  11426. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵprojection"](0);
  11427. } }
  11428. const _c0 = [[["", "content", ""]]];
  11429. const _c1 = ["[content]"];
  11430. class MsDescSectionComponent {
  11431. }
  11432. MsDescSectionComponent.ɵfac = function MsDescSectionComponent_Factory(t) { return new (t || MsDescSectionComponent)(); };
  11433. MsDescSectionComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: MsDescSectionComponent, selectors: [["evt-ms-desc-section"]], inputs: { label: "label", additionalClass: "additionalClass", inlineLabel: "inlineLabel", nestedElement: "nestedElement", underline: "underline" }, ngContentSelectors: _c1, decls: 7, vars: 12, consts: [["class", "section-label", 4, "ngIf"], [3, "ngSwitch"], [4, "ngSwitchCase"], [4, "ngSwitchDefault"], ["content", ""], [1, "section-label"], [3, "ngTemplateOutlet"], [1, "section-content"]], template: function MsDescSectionComponent_Template(rf, ctx) { if (rf & 1) {
  11434. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵprojectionDef"](_c0);
  11435. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div");
  11436. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, MsDescSectionComponent_span_1_Template, 3, 4, "span", 0);
  11437. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](2, 1);
  11438. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](3, MsDescSectionComponent_ng_container_3_Template, 2, 1, "ng-container", 2);
  11439. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](4, MsDescSectionComponent_ng_container_4_Template, 3, 1, "ng-container", 3);
  11440. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
  11441. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  11442. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](5, MsDescSectionComponent_ng_template_5_Template, 1, 0, "ng-template", null, 4, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplateRefExtractor"]);
  11443. } if (rf & 2) {
  11444. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵclassMapInterpolate1"]("section ", ctx.additionalClass, "");
  11445. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵclassProp"]("has-inline-label", ctx.inlineLabel)("has-nested-element", ctx.nestedElement)("underline-dotted", ctx.underline);
  11446. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  11447. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.label);
  11448. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  11449. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngSwitch", ctx.nestedElement);
  11450. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  11451. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngSwitchCase", true);
  11452. } }, directives: [_angular_common__WEBPACK_IMPORTED_MODULE_1__["NgIf"], _angular_common__WEBPACK_IMPORTED_MODULE_1__["NgSwitch"], _angular_common__WEBPACK_IMPORTED_MODULE_1__["NgSwitchCase"], _angular_common__WEBPACK_IMPORTED_MODULE_1__["NgSwitchDefault"], _angular_common__WEBPACK_IMPORTED_MODULE_1__["NgTemplateOutlet"]], pipes: [_ngx_translate_core__WEBPACK_IMPORTED_MODULE_2__["TranslatePipe"]], styles: [".section[_ngcontent-%COMP%] .section-label[_ngcontent-%COMP%] {\n font-variant: small-caps;\n color: #666;\n}\n.section.has-inline-label[_ngcontent-%COMP%] {\n display: flex;\n}\n.section.has-inline-label.has-nested-element[_ngcontent-%COMP%] {\n display: block;\n}\n.section.has-inline-label[_ngcontent-%COMP%] .section-label[_ngcontent-%COMP%] {\n margin-right: 0.3rem;\n line-height: 1.3;\n}\n.section[_ngcontent-%COMP%]:not(.has-inline-label) .section-label[_ngcontent-%COMP%] {\n display: block;\n margin-top: 1rem;\n}\n.section[_ngcontent-%COMP%]:not(.has-inline-label).underline-dotted {\n border-bottom: 0.07rem dotted #666;\n margin-bottom: 0.3rem;\n font-size: 1.125rem;\n}\n.section[_ngcontent-%COMP%]:not(.has-inline-label):not(.underline-dotted) {\n font-size: 1.37rem;\n}\n.section[_ngcontent-%COMP%] p {\n margin-bottom: 0;\n}\n.itemElement[_ngcontent-%COMP%] {\n margin-left: 1rem;\n}\n/*# sourceMappingURL=data:application/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ICAgICAgICAgICBtYXJnaW4tdG9wOiAxcmVtOyAgXG4gICAgICAgIH1cbiAgICAgICAgJi51bmRlcmxpbmUtZG90dGVkIHtcbiAgICAgICAgICAgIGJvcmRlci1ib3R0b206IDAuMDdyZW0gZG90dGVkICM2NjY7XG4gICAgICAgICAgICBtYXJnaW4tYm90dG9tOiAwLjNyZW07XG4gICAgICAgICAgICBmb250LXNpemU6IDEuMTI1cmVtO1xuICAgICAgICAgICBcbiAgICAgICAgfVxuICAgICAgICAmOm5vdCgudW5kZXJsaW5lLWRvdHRlZCl7XG4gICAgICAgICAgICBmb250LXNpemU6IDEuMzdyZW07XG4gICAgICAgIH1cbiAgICB9XG4gICAgOjpuZy1kZWVwIHAge1xuICAgICAgICBtYXJnaW4tYm90dG9tOiAwO1xuICAgIH1cbn1cbi5pdGVtRWxlbWVudCB7XG4gICAgbWFyZ2luLWxlZnQ6IDFyZW07XG59XG5cbiJdfQ== */"] });
  11453. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](MsDescSectionComponent, [{
  11454. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
  11455. args: [{
  11456. selector: 'evt-ms-desc-section',
  11457. templateUrl: './ms-desc-section.component.html',
  11458. styleUrls: ['./ms-desc-section.component.scss'],
  11459. }]
  11460. }], null, { label: [{
  11461. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
  11462. }], additionalClass: [{
  11463. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
  11464. }], inlineLabel: [{
  11465. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
  11466. }], nestedElement: [{
  11467. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
  11468. }], underline: [{
  11469. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
  11470. }] }); })();
  11471. /***/ }),
  11472. /***/ "XMdj":
  11473. /*!******************************************************************!*\
  11474. !*** ./src/app/services/xml-parsers/facsimile-parser.service.ts ***!
  11475. \******************************************************************/
  11476. /*! exports provided: FacsimileParserService */
  11477. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  11478. "use strict";
  11479. __webpack_require__.r(__webpack_exports__);
  11480. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "FacsimileParserService", function() { return FacsimileParserService; });
  11481. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "fXoL");
  11482. /* harmony import */ var ___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! . */ "UAXx");
  11483. /* harmony import */ var _facsimile_parser__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./facsimile-parser */ "quyl");
  11484. /* harmony import */ var _parser_models__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./parser-models */ "YwZW");
  11485. class FacsimileParserService {
  11486. constructor() {
  11487. this.zoneParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_3__["createParser"])(_facsimile_parser__WEBPACK_IMPORTED_MODULE_2__["ZoneParser"], ___WEBPACK_IMPORTED_MODULE_1__["parse"]);
  11488. this.surfaceParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_3__["createParser"])(_facsimile_parser__WEBPACK_IMPORTED_MODULE_2__["SurfaceParser"], ___WEBPACK_IMPORTED_MODULE_1__["parse"]);
  11489. }
  11490. parseSurfaces(xml) {
  11491. if (!xml) {
  11492. return [];
  11493. }
  11494. return Array.from(xml.querySelectorAll('surface')).map(s => this.surfaceParser.parse(s));
  11495. }
  11496. parseZones(xml) {
  11497. if (!xml) {
  11498. return [];
  11499. }
  11500. return Array.from(xml.querySelectorAll('zone')).map(z => this.zoneParser.parse(z));
  11501. }
  11502. }
  11503. FacsimileParserService.ɵfac = function FacsimileParserService_Factory(t) { return new (t || FacsimileParserService)(); };
  11504. FacsimileParserService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ token: FacsimileParserService, factory: FacsimileParserService.ɵfac, providedIn: 'root' });
  11505. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](FacsimileParserService, [{
  11506. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"],
  11507. args: [{
  11508. providedIn: 'root',
  11509. }]
  11510. }], null, null); })();
  11511. /***/ }),
  11512. /***/ "XOBg":
  11513. /*!*******************************************!*\
  11514. !*** ./src/app/app-translation.module.ts ***!
  11515. \*******************************************/
  11516. /*! exports provided: HttpLoaderFactory, AppTranslationModule */
  11517. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  11518. "use strict";
  11519. __webpack_require__.r(__webpack_exports__);
  11520. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "HttpLoaderFactory", function() { return HttpLoaderFactory; });
  11521. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AppTranslationModule", function() { return AppTranslationModule; });
  11522. /* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/common/http */ "tk/3");
  11523. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "fXoL");
  11524. /* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @ngx-translate/core */ "sYmb");
  11525. /* harmony import */ var _ngx_translate_http_loader__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @ngx-translate/http-loader */ "mqiu");
  11526. // AoT requires an exported function for factories
  11527. function HttpLoaderFactory(http) {
  11528. return new _ngx_translate_http_loader__WEBPACK_IMPORTED_MODULE_3__["TranslateHttpLoader"](http, './assets/i18n/', '.json');
  11529. }
  11530. class AppTranslationModule {
  11531. }
  11532. AppTranslationModule.ɵmod = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineNgModule"]({ type: AppTranslationModule });
  11533. AppTranslationModule.ɵinj = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjector"]({ factory: function AppTranslationModule_Factory(t) { return new (t || AppTranslationModule)(); }, imports: [[
  11534. _angular_common_http__WEBPACK_IMPORTED_MODULE_0__["HttpClientModule"],
  11535. _ngx_translate_core__WEBPACK_IMPORTED_MODULE_2__["TranslateModule"].forRoot({
  11536. loader: {
  11537. provide: _ngx_translate_core__WEBPACK_IMPORTED_MODULE_2__["TranslateLoader"],
  11538. useFactory: HttpLoaderFactory,
  11539. deps: [_angular_common_http__WEBPACK_IMPORTED_MODULE_0__["HttpClient"]],
  11540. },
  11541. })
  11542. ], _ngx_translate_core__WEBPACK_IMPORTED_MODULE_2__["TranslateModule"]] });
  11543. (function () { (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵsetNgModuleScope"](AppTranslationModule, { imports: [_angular_common_http__WEBPACK_IMPORTED_MODULE_0__["HttpClientModule"], _ngx_translate_core__WEBPACK_IMPORTED_MODULE_2__["TranslateModule"]], exports: [_ngx_translate_core__WEBPACK_IMPORTED_MODULE_2__["TranslateModule"]] }); })();
  11544. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](AppTranslationModule, [{
  11545. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["NgModule"],
  11546. args: [{
  11547. imports: [
  11548. _angular_common_http__WEBPACK_IMPORTED_MODULE_0__["HttpClientModule"],
  11549. _ngx_translate_core__WEBPACK_IMPORTED_MODULE_2__["TranslateModule"].forRoot({
  11550. loader: {
  11551. provide: _ngx_translate_core__WEBPACK_IMPORTED_MODULE_2__["TranslateLoader"],
  11552. useFactory: HttpLoaderFactory,
  11553. deps: [_angular_common_http__WEBPACK_IMPORTED_MODULE_0__["HttpClient"]],
  11554. },
  11555. })
  11556. ],
  11557. exports: [_ngx_translate_core__WEBPACK_IMPORTED_MODULE_2__["TranslateModule"]],
  11558. }]
  11559. }], null, null); })();
  11560. /***/ }),
  11561. /***/ "XvlD":
  11562. /*!*****************************************************************************************!*\
  11563. !*** ./src/app/components/lem-entry/lem-entry-readings/lem-entry-readings.component.ts ***!
  11564. \*****************************************************************************************/
  11565. /*! exports provided: LemEntryReadingsComponent */
  11566. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  11567. "use strict";
  11568. __webpack_require__.r(__webpack_exports__);
  11569. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "LemEntryReadingsComponent", function() { return LemEntryReadingsComponent; });
  11570. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "mrSG");
  11571. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "fXoL");
  11572. /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs/operators */ "kU1M");
  11573. /* harmony import */ var src_app_services_component_register_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! src/app/services/component-register.service */ "d25s");
  11574. /* harmony import */ var src_app_services_evt_model_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! src/app/services/evt-model.service */ "hI0h");
  11575. /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/common */ "ofXK");
  11576. /* harmony import */ var _reading_reading_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../reading/reading.component */ "QgGR");
  11577. var LemEntryReadingsComponent_1;
  11578. function LemEntryReadingsComponent_evt_reading_1_Template(rf, ctx) { if (rf & 1) {
  11579. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-reading", 4);
  11580. } if (rf & 2) {
  11581. const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  11582. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("data", ctx_r0.data.lemma);
  11583. } }
  11584. function LemEntryReadingsComponent_ng_container_2_ng_container_1_Template(rf, ctx) { if (rf & 1) {
  11585. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0);
  11586. } }
  11587. const _c0 = function (a0) { return { rdgHasCounter: a0 }; };
  11588. function LemEntryReadingsComponent_ng_container_2_Template(rf, ctx) { if (rf & 1) {
  11589. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
  11590. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, LemEntryReadingsComponent_ng_container_2_ng_container_1_Template, 1, 0, "ng-container", 5);
  11591. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
  11592. } if (rf & 2) {
  11593. const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  11594. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  11595. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", ctx_r1.template)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](2, _c0, ctx_r1.rdgHasCounter));
  11596. } }
  11597. function LemEntryReadingsComponent_ng_container_3_span_1_Template(rf, ctx) { if (rf & 1) {
  11598. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span");
  11599. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1);
  11600. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  11601. } if (rf & 2) {
  11602. const witID_r6 = ctx.$implicit;
  11603. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  11604. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"](" ", witID_r6, "");
  11605. } }
  11606. function LemEntryReadingsComponent_ng_container_3_Template(rf, ctx) { if (rf & 1) {
  11607. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
  11608. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, LemEntryReadingsComponent_ng_container_3_span_1_Template, 2, 1, "span", 6);
  11609. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
  11610. } if (rf & 2) {
  11611. const ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  11612. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  11613. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r2.data.lemma.witIDs);
  11614. } }
  11615. function LemEntryReadingsComponent_span_6_evt_reading_1_Template(rf, ctx) { if (rf & 1) {
  11616. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-reading", 4);
  11617. } if (rf & 2) {
  11618. const el_r7 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]().$implicit;
  11619. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("data", el_r7);
  11620. } }
  11621. function LemEntryReadingsComponent_span_6_span_2_Template(rf, ctx) { if (rf & 1) {
  11622. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 8);
  11623. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1, "omit.");
  11624. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  11625. } }
  11626. function LemEntryReadingsComponent_span_6_ng_container_3_span_1_Template(rf, ctx) { if (rf & 1) {
  11627. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 8);
  11628. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1);
  11629. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  11630. } if (rf & 2) {
  11631. const wit_r14 = ctx.$implicit;
  11632. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  11633. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"](" ", wit_r14, " ");
  11634. } }
  11635. function LemEntryReadingsComponent_span_6_ng_container_3_Template(rf, ctx) { if (rf & 1) {
  11636. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
  11637. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, LemEntryReadingsComponent_span_6_ng_container_3_span_1_Template, 2, 1, "span", 9);
  11638. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](2, "async");
  11639. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
  11640. } if (rf & 2) {
  11641. const witID_r12 = ctx.$implicit;
  11642. const ctx_r10 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
  11643. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  11644. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](2, 1, ctx_r10.getWits$(witID_r12)));
  11645. } }
  11646. function LemEntryReadingsComponent_span_6_Template(rf, ctx) { if (rf & 1) {
  11647. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 0);
  11648. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, LemEntryReadingsComponent_span_6_evt_reading_1_Template, 1, 1, "evt-reading", 1);
  11649. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, LemEntryReadingsComponent_span_6_span_2_Template, 2, 0, "span", 7);
  11650. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, LemEntryReadingsComponent_span_6_ng_container_3_Template, 3, 3, "ng-container", 6);
  11651. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  11652. } if (rf & 2) {
  11653. const el_r7 = ctx.$implicit;
  11654. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  11655. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", el_r7.content.length !== 0);
  11656. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  11657. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", el_r7.content.length === 0);
  11658. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  11659. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", el_r7.witIDs);
  11660. } }
  11661. let LemEntryReadingsComponent = LemEntryReadingsComponent_1 = class LemEntryReadingsComponent {
  11662. constructor(evtModelService) {
  11663. this.evtModelService = evtModelService;
  11664. this.groups$ = this.evtModelService.groups$;
  11665. }
  11666. get significantRdg() {
  11667. return this.data.readings.filter((rdg) => rdg.significant);
  11668. }
  11669. getWits$(witID) {
  11670. return this.groups$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])((groups) => {
  11671. return groups.filter((g) => g.id === witID).map((g) => g.witnesses).reduce((x, y) => ([...x, ...y]), []);
  11672. }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])((groupWits) => groupWits.length > 0 ? groupWits : [witID]));
  11673. }
  11674. };
  11675. LemEntryReadingsComponent.ɵfac = function LemEntryReadingsComponent_Factory(t) { return new (t || LemEntryReadingsComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](src_app_services_evt_model_service__WEBPACK_IMPORTED_MODULE_4__["EVTModelService"])); };
  11676. LemEntryReadingsComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({ type: LemEntryReadingsComponent, selectors: [["evt-lem-entry-readings"]], inputs: { data: "data", rdgHasCounter: "rdgHasCounter", template: "template" }, decls: 7, vars: 4, consts: [[1, "lem-entry-reading"], [3, "data", 4, "ngIf"], [4, "ngIf"], ["class", "lem-entry-reading", 4, "ngFor", "ngForOf"], [3, "data"], [4, "ngTemplateOutlet", "ngTemplateOutletContext"], [4, "ngFor", "ngForOf"], ["class", "font-italic", 4, "ngIf"], [1, "font-italic"], ["class", "font-italic", 4, "ngFor", "ngForOf"]], template: function LemEntryReadingsComponent_Template(rf, ctx) { if (rf & 1) {
  11677. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 0);
  11678. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, LemEntryReadingsComponent_evt_reading_1_Template, 1, 1, "evt-reading", 1);
  11679. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, LemEntryReadingsComponent_ng_container_2_Template, 2, 4, "ng-container", 2);
  11680. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, LemEntryReadingsComponent_ng_container_3_Template, 2, 1, "ng-container", 2);
  11681. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](4, "span");
  11682. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](5, "] ");
  11683. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  11684. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  11685. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](6, LemEntryReadingsComponent_span_6_Template, 4, 3, "span", 3);
  11686. } if (rf & 2) {
  11687. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  11688. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data.nestedLemsIDs.length === 0);
  11689. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  11690. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data.nestedLemsIDs.length > 0);
  11691. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  11692. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data.lemma.content.length > 0);
  11693. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](3);
  11694. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx.significantRdg);
  11695. } }, directives: [_angular_common__WEBPACK_IMPORTED_MODULE_5__["NgIf"], _angular_common__WEBPACK_IMPORTED_MODULE_5__["NgForOf"], _reading_reading_component__WEBPACK_IMPORTED_MODULE_6__["ReadingComponent"], _angular_common__WEBPACK_IMPORTED_MODULE_5__["NgTemplateOutlet"]], pipes: [_angular_common__WEBPACK_IMPORTED_MODULE_5__["AsyncPipe"]], styles: ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJsZW0tZW50cnktcmVhZGluZ3MuY29tcG9uZW50LnNjc3MifQ== */"], changeDetection: 0 });
  11696. LemEntryReadingsComponent = LemEntryReadingsComponent_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  11697. Object(src_app_services_component_register_service__WEBPACK_IMPORTED_MODULE_3__["register"])(LemEntryReadingsComponent_1)
  11698. ], LemEntryReadingsComponent);
  11699. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](LemEntryReadingsComponent, [{
  11700. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
  11701. args: [{
  11702. selector: 'evt-lem-entry-readings',
  11703. templateUrl: './lem-entry-readings.component.html',
  11704. styleUrls: ['./lem-entry-readings.component.scss'],
  11705. changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_1__["ChangeDetectionStrategy"].OnPush,
  11706. }]
  11707. }], function () { return [{ type: src_app_services_evt_model_service__WEBPACK_IMPORTED_MODULE_4__["EVTModelService"] }]; }, { data: [{
  11708. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
  11709. }], rdgHasCounter: [{
  11710. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
  11711. }], template: [{
  11712. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
  11713. }] }); })();
  11714. /***/ }),
  11715. /***/ "Y4jJ":
  11716. /*!*************************************************************************!*\
  11717. !*** ./src/app/components/iperlems-select/iperlems-select.component.ts ***!
  11718. \*************************************************************************/
  11719. /*! exports provided: IperlemsSelectComponent */
  11720. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  11721. "use strict";
  11722. __webpack_require__.r(__webpack_exports__);
  11723. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "IperlemsSelectComponent", function() { return IperlemsSelectComponent; });
  11724. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "fXoL");
  11725. /* harmony import */ var _app_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../app.config */ "aR35");
  11726. /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/common */ "ofXK");
  11727. /* harmony import */ var _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @ng-select/ng-select */ "ZOsW");
  11728. /* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/forms */ "3Pt+");
  11729. /* harmony import */ var _ui_components_icon_icon_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../ui-components/icon/icon.component */ "Mijh");
  11730. /* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @ngx-translate/core */ "sYmb");
  11731. function IperlemsSelectComponent_ng_container_0_ng_template_3_Template(rf, ctx) { if (rf & 1) {
  11732. const _r5 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
  11733. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 5);
  11734. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "div", 6);
  11735. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "input", 7);
  11736. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function IperlemsSelectComponent_ng_container_0_ng_template_3_Template_input_click_2_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r5); const ctx_r4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2); return ctx_r4.toggleSelection(); });
  11737. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  11738. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "label", 8);
  11739. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](4);
  11740. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](5, "translate");
  11741. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  11742. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  11743. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  11744. } if (rf & 2) {
  11745. const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
  11746. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
  11747. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("checked", (ctx_r1.selectedIperlemTypes == null ? null : ctx_r1.selectedIperlemTypes.length) === ctx_r1.iperlemsTypes.length);
  11748. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
  11749. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](5, 2, "selectIperlemsAll"));
  11750. } }
  11751. function IperlemsSelectComponent_ng_container_0_ng_template_4_Template(rf, ctx) { if (rf & 1) {
  11752. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "input", 9);
  11753. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](1, "evt-icon", 10);
  11754. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "span", 11);
  11755. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](3);
  11756. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](4, "translate");
  11757. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  11758. } if (rf & 2) {
  11759. const item_r6 = ctx.item;
  11760. const item$_r7 = ctx.item$;
  11761. const index_r8 = ctx.index;
  11762. const ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
  11763. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpropertyInterpolate1"]("id", "item-", index_r8, "");
  11764. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngModel", item$_r7.selected);
  11765. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  11766. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵstyleProp"]("color", item_r6.color);
  11767. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("iconInfo", ctx_r2.iconColor);
  11768. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
  11769. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](4, 6, item_r6.label));
  11770. } }
  11771. function IperlemsSelectComponent_ng_container_0_ng_template_5_ng_container_0_div_1_Template(rf, ctx) { if (rf & 1) {
  11772. const _r18 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
  11773. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 14);
  11774. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](1, "evt-icon", 10);
  11775. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "span", 11);
  11776. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](3);
  11777. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  11778. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "span", 15);
  11779. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function IperlemsSelectComponent_ng_container_0_ng_template_5_ng_container_0_div_1_Template_span_click_4_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r18); const item_r15 = ctx.$implicit; const clear_r11 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2).clear; return clear_r11(item_r15); });
  11780. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](5, "\u00D7");
  11781. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  11782. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  11783. } if (rf & 2) {
  11784. const item_r15 = ctx.$implicit;
  11785. const ctx_r14 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](4);
  11786. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  11787. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵstyleProp"]("color", item_r15.color);
  11788. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("iconInfo", ctx_r14.iconColor);
  11789. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
  11790. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](item_r15.label);
  11791. } }
  11792. function IperlemsSelectComponent_ng_container_0_ng_template_5_ng_container_0_Template(rf, ctx) { if (rf & 1) {
  11793. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
  11794. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, IperlemsSelectComponent_ng_container_0_ng_template_5_ng_container_0_div_1_Template, 6, 4, "div", 13);
  11795. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "slice");
  11796. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
  11797. } if (rf & 2) {
  11798. const items_r10 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().items;
  11799. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  11800. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind3"](2, 1, items_r10, 0, 1));
  11801. } }
  11802. function IperlemsSelectComponent_ng_container_0_ng_template_5_div_1_Template(rf, ctx) { if (rf & 1) {
  11803. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 14);
  11804. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "span", 11);
  11805. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2);
  11806. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](3, "translate");
  11807. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  11808. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  11809. } if (rf & 2) {
  11810. const items_r10 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().items;
  11811. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
  11812. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate2"]("", items_r10.length, " ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](3, 2, "selected"), "");
  11813. } }
  11814. function IperlemsSelectComponent_ng_container_0_ng_template_5_Template(rf, ctx) { if (rf & 1) {
  11815. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](0, IperlemsSelectComponent_ng_container_0_ng_template_5_ng_container_0_Template, 3, 5, "ng-container", 0);
  11816. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, IperlemsSelectComponent_ng_container_0_ng_template_5_div_1_Template, 4, 4, "div", 12);
  11817. } if (rf & 2) {
  11818. const items_r10 = ctx.items;
  11819. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", items_r10.length === 1);
  11820. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  11821. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", items_r10.length > 1);
  11822. } }
  11823. function IperlemsSelectComponent_ng_container_0_Template(rf, ctx) { if (rf & 1) {
  11824. const _r22 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
  11825. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
  11826. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "ng-select", 1);
  11827. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("ngModelChange", function IperlemsSelectComponent_ng_container_0_Template_ng_select_ngModelChange_1_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r22); const ctx_r21 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](); return ctx_r21.selectedIperlemTypes = $event; })("change", function IperlemsSelectComponent_ng_container_0_Template_ng_select_change_1_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r22); const ctx_r23 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](); return ctx_r23.updateSelectedIperlemTypes($event); });
  11828. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "translate");
  11829. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](3, IperlemsSelectComponent_ng_container_0_ng_template_3_Template, 6, 4, "ng-template", 2);
  11830. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](4, IperlemsSelectComponent_ng_container_0_ng_template_4_Template, 5, 8, "ng-template", 3);
  11831. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](5, IperlemsSelectComponent_ng_container_0_ng_template_5_Template, 2, 2, "ng-template", 4);
  11832. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  11833. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
  11834. } if (rf & 2) {
  11835. const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
  11836. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  11837. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("items", ctx_r0.iperlemsTypes)("multiple", true)("closeOnSelect", false)("searchable", false)("placeholder", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](2, 7, "selectIperlemsItems"))("ngModel", ctx_r0.selectedIperlemTypes)("disabled", ctx_r0.iperlemsTypes.length === 0);
  11838. } }
  11839. class IperlemsSelectComponent {
  11840. constructor() {
  11841. this.selectionChange = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
  11842. this.iperlemsTypes = (_app_config__WEBPACK_IMPORTED_MODULE_1__["AppConfig"].evtSettings.edition.iperlemsSelectItems || [])
  11843. .filter(g => !g.disabled)
  11844. .reduce((x, y) => [...x, ...y.items.filter(i => !i.disabled).map(i => (Object.assign(Object.assign({}, i), { group: y.label })))], []);
  11845. this.iconColor = {
  11846. icon: 'circle',
  11847. iconSet: 'fas',
  11848. additionalClasses: 'ml-2 mr-1',
  11849. };
  11850. this.selectedIperlemTypes = [];
  11851. }
  11852. updateSelectedIperlemTypes(iperlemsTypes) {
  11853. if (Array.isArray(iperlemsTypes)) { // BUGFIX: There is a bug in ng-select change event and second time the parameter is an event
  11854. this.selectionChange.emit(iperlemsTypes);
  11855. // console.log('Prova', AppConfig.evtSettings.edition.iperlemsSelectItems || [])
  11856. }
  11857. }
  11858. toggleSelection() {
  11859. if (this.selectedIperlemTypes.length < this.iperlemsTypes.length) {
  11860. this.selectedIperlemTypes = this.iperlemsTypes;
  11861. }
  11862. else {
  11863. this.selectedIperlemTypes = [];
  11864. }
  11865. this.selectionChange.emit(this.selectedIperlemTypes);
  11866. // console.log('Prova 0', AppConfig.evtSettings.edition.iperlemsSelectItems[0])
  11867. // console.log('Prova 1', AppConfig.evtSettings.edition.iperlemsSelectItems[1])
  11868. }
  11869. }
  11870. IperlemsSelectComponent.ɵfac = function IperlemsSelectComponent_Factory(t) { return new (t || IperlemsSelectComponent)(); };
  11871. IperlemsSelectComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: IperlemsSelectComponent, selectors: [["evt-iperlems-select"]], outputs: { selectionChange: "selectionChange" }, decls: 1, vars: 1, consts: [[4, "ngIf"], ["groupBy", "group", 3, "items", "multiple", "closeOnSelect", "searchable", "placeholder", "ngModel", "disabled", "ngModelChange", "change"], ["ng-header-tmp", ""], ["ng-option-tmp", ""], ["ng-multi-label-tmp", ""], [1, "lem-select-toolbar"], [1, "w-100", "text-dark", "select-all-btn"], ["id", "select-all", "type", "checkbox", 1, "mr-2", 3, "checked", "click"], ["for", "select-all", 1, "m-0"], ["type", "checkbox", 3, "id", "ngModel"], [3, "iconInfo"], [1, "ng-value-label"], ["class", "ng-value", 4, "ngIf"], ["class", "ng-value", 4, "ngFor", "ngForOf"], [1, "ng-value"], ["aria-hidden", "true", 1, "ng-value-icon", "right", 3, "click"]], template: function IperlemsSelectComponent_Template(rf, ctx) { if (rf & 1) {
  11872. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](0, IperlemsSelectComponent_ng_container_0_Template, 6, 9, "ng-container", 0);
  11873. } if (rf & 2) {
  11874. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.iperlemsTypes.length > 0);
  11875. } }, directives: [_angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_3__["NgSelectComponent"], _angular_forms__WEBPACK_IMPORTED_MODULE_4__["NgControlStatus"], _angular_forms__WEBPACK_IMPORTED_MODULE_4__["NgModel"], _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_3__["ɵj"], _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_3__["ɵf"], _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_3__["ɵi"], _angular_forms__WEBPACK_IMPORTED_MODULE_4__["CheckboxControlValueAccessor"], _ui_components_icon_icon_component__WEBPACK_IMPORTED_MODULE_5__["IconComponent"], _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"]], pipes: [_ngx_translate_core__WEBPACK_IMPORTED_MODULE_6__["TranslatePipe"], _angular_common__WEBPACK_IMPORTED_MODULE_2__["SlicePipe"]], styles: [".ng-select {\n min-width: 150px;\n}\n\n .ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup {\n font-size: 90%;\n font-variant: small-caps;\n}\n\n .ng-dropdown-panel .ng-dropdown-panel-items .ng-option {\n padding-left: 10px !important;\n}\n\n.lem-select-toolbar[_ngcontent-%COMP%] {\n display: flex;\n}\n\n.lem-select-toolbar[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%] {\n flex-grow: 1;\n}\n\n.select-all-btn[_ngcontent-%COMP%] {\n cursor: pointer;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2lwZXJsZW1zLXNlbGVjdC5jb21wb25lbnQuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFDQTtFQUNJLGdCQUFBO0FBQUo7O0FBS1E7RUFDSSxjQUFBO0VBQ0Esd0JBQUE7QUFGWjs7QUFLUTtFQUNJLDZCQUFBO0FBSFo7O0FBUUE7RUFDSSxhQUFBO0FBTEo7O0FBT0k7RUFDSSxZQUFBO0FBTFI7O0FBU0E7RUFDSSxlQUFBO0FBTkoiLCJmaWxlIjoiaXBlcmxlbXMtc2VsZWN0LmNvbXBvbmVudC5zY3NzIiwic291cmNlc0NvbnRlbnQiOlsiLy8gbmctc2VsZWN0IG92ZXJyaWRlc1xuOjpuZy1kZWVwIC5uZy1zZWxlY3Qge1xuICAgIG1pbi13aWR0aDogMTUwcHg7XG59XG5cbjo6bmctZGVlcCAubmctZHJvcGRvd24tcGFuZWwge1xuICAgIC5uZy1kcm9wZG93bi1wYW5lbC1pdGVtcyB7XG4gICAgICAgIC5uZy1vcHRncm91cCB7XG4gICAgICAgICAgICBmb250LXNpemU6IDkwJTtcbiAgICAgICAgICAgIGZvbnQtdmFyaWFudDogc21hbGwtY2FwcztcbiAgICAgICAgfVxuXG4gICAgICAgIC5uZy1vcHRpb24ge1xuICAgICAgICAgICAgcGFkZGluZy1sZWZ0OiAxMHB4ICFpbXBvcnRhbnQ7XG4gICAgICAgIH1cbiAgICB9XG59XG5cbi5sZW0tc2VsZWN0LXRvb2xiYXIge1xuICAgIGRpc3BsYXk6IGZsZXg7XG5cbiAgICAuYnRuIHtcbiAgICAgICAgZmxleC1ncm93OiAxO1xuICAgIH1cbn1cblxuLnNlbGVjdC1hbGwtYnRuIHtcbiAgICBjdXJzb3I6IHBvaW50ZXI7XG59XG5cbiJdfQ== */"] });
  11876. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](IperlemsSelectComponent, [{
  11877. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
  11878. args: [{
  11879. selector: 'evt-iperlems-select',
  11880. templateUrl: './iperlems-select.component.html',
  11881. styleUrls: ['./iperlems-select.component.scss'],
  11882. }]
  11883. }], null, { selectionChange: [{
  11884. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
  11885. }] }); })();
  11886. /***/ }),
  11887. /***/ "YSoE":
  11888. /*!***********************************************************************************************!*\
  11889. !*** ./src/app/components/lemmatized-entity-relation/lemmatized-entity-relation.component.ts ***!
  11890. \***********************************************************************************************/
  11891. /*! exports provided: LemmatizedEntityRelationComponent */
  11892. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  11893. "use strict";
  11894. __webpack_require__.r(__webpack_exports__);
  11895. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "LemmatizedEntityRelationComponent", function() { return LemmatizedEntityRelationComponent; });
  11896. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "mrSG");
  11897. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "fXoL");
  11898. /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs/operators */ "kU1M");
  11899. /* harmony import */ var _models_evt_models__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../models/evt-models */ "5c0l");
  11900. /* harmony import */ var _services_component_register_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../services/component-register.service */ "d25s");
  11901. /* harmony import */ var _services_evt_model_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../services/evt-model.service */ "hI0h");
  11902. /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/common */ "ofXK");
  11903. /* harmony import */ var _directives_html_attributes_directive__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../directives/html-attributes.directive */ "0Bbq");
  11904. /* harmony import */ var _ui_components_icon_icon_component__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../ui-components/icon/icon.component */ "Mijh");
  11905. /* harmony import */ var _lemmatized_entity_lemmatized_entity_component__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../lemmatized-entity/lemmatized-entity.component */ "n4Hk");
  11906. /* harmony import */ var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../content-viewer/content-viewer.component */ "t6RO");
  11907. /* harmony import */ var _pipes_humanize_pipe__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../pipes/humanize.pipe */ "Wu1i");
  11908. function LemmatizedEntityRelationComponent_small_1_Template(rf, ctx) { if (rf & 1) {
  11909. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "small", 7);
  11910. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1);
  11911. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](2, "lowercase");
  11912. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  11913. } if (rf & 2) {
  11914. const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  11915. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  11916. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](2, 1, ctx_r0.data.relationType));
  11917. } }
  11918. function LemmatizedEntityRelationComponent_ng_template_4_ng_template_0_Template(rf, ctx) { }
  11919. const _c0 = function (a0, a1) { return { part: a0, last: a1 }; };
  11920. function LemmatizedEntityRelationComponent_ng_template_4_Template(rf, ctx) { if (rf & 1) {
  11921. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](0, LemmatizedEntityRelationComponent_ng_template_4_ng_template_0_Template, 0, 0, "ng-template", 8);
  11922. } if (rf & 2) {
  11923. const part_r8 = ctx.$implicit;
  11924. const last_r9 = ctx.last;
  11925. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  11926. const _r6 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵreference"](16);
  11927. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r6)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction2"](2, _c0, part_r8, last_r9));
  11928. } }
  11929. function LemmatizedEntityRelationComponent_ng_template_6_ng_template_0_Template(rf, ctx) { }
  11930. function LemmatizedEntityRelationComponent_ng_template_6_Template(rf, ctx) { if (rf & 1) {
  11931. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](0, LemmatizedEntityRelationComponent_ng_template_6_ng_template_0_Template, 0, 0, "ng-template", 8);
  11932. } if (rf & 2) {
  11933. const part_r11 = ctx.$implicit;
  11934. const last_r12 = ctx.last;
  11935. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  11936. const _r6 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵreference"](16);
  11937. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r6)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction2"](2, _c0, part_r11, last_r12));
  11938. } }
  11939. function LemmatizedEntityRelationComponent_ng_template_11_ng_template_0_Template(rf, ctx) { }
  11940. function LemmatizedEntityRelationComponent_ng_template_11_Template(rf, ctx) { if (rf & 1) {
  11941. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](0, LemmatizedEntityRelationComponent_ng_template_11_ng_template_0_Template, 0, 0, "ng-template", 8);
  11942. } if (rf & 2) {
  11943. const part_r14 = ctx.$implicit;
  11944. const last_r15 = ctx.last;
  11945. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  11946. const _r6 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵreference"](16);
  11947. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r6)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction2"](2, _c0, part_r14, last_r15));
  11948. } }
  11949. function LemmatizedEntityRelationComponent_evt_lemmatized_entity_13_Template(rf, ctx) { if (rf & 1) {
  11950. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-lemmatized-entity", 9);
  11951. } if (rf & 2) {
  11952. const ctx_r4 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  11953. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("data", ctx_r4.selectedEntity)("inList", false);
  11954. } }
  11955. function LemmatizedEntityRelationComponent_div_14_evt_content_viewer_1_Template(rf, ctx) { if (rf & 1) {
  11956. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 12);
  11957. } if (rf & 2) {
  11958. const el_r18 = ctx.$implicit;
  11959. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", el_r18);
  11960. } }
  11961. function LemmatizedEntityRelationComponent_div_14_Template(rf, ctx) { if (rf & 1) {
  11962. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 10);
  11963. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, LemmatizedEntityRelationComponent_div_14_evt_content_viewer_1_Template, 1, 1, "evt-content-viewer", 11);
  11964. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  11965. } if (rf & 2) {
  11966. const ctx_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  11967. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  11968. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r5.data.description);
  11969. } }
  11970. function LemmatizedEntityRelationComponent_ng_template_15_Template(rf, ctx) { if (rf & 1) {
  11971. const _r22 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵgetCurrentView"]();
  11972. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 13);
  11973. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("click", function LemmatizedEntityRelationComponent_ng_template_15_Template_span_click_0_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵrestoreView"](_r22); const part_r19 = ctx.part; const ctx_r21 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](); return ctx_r21.toggleEntity(part_r19.entity); });
  11974. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1);
  11975. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  11976. } if (rf & 2) {
  11977. const part_r19 = ctx.part;
  11978. const last_r20 = ctx.last;
  11979. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵclassMapInterpolate1"]("relation-entity ", part_r19.entity == null ? null : part_r19.entity.lemmatizedEntityType, "");
  11980. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵclassProp"]("disabled", !part_r19.entity);
  11981. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  11982. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](part_r19.label + (!last_r20 ? ", " : ""));
  11983. } }
  11984. const _c1 = function (a0, a1) { return { "p-3": a0, "border-bottom": a1 }; };
  11985. const _c2 = function () { return { icon: "network-wired", additionalClasses: "mr-2" }; };
  11986. let LemmatizedEntityRelationComponent = class LemmatizedEntityRelationComponent {
  11987. constructor(evtModelService) {
  11988. this.evtModelService = evtModelService;
  11989. this.activeParts$ = this.getEntities('activeParts');
  11990. this.mutualParts$ = this.getEntities('mutualParts');
  11991. this.passiveParts$ = this.getEntities('passiveParts');
  11992. }
  11993. toggleEntity(entity) {
  11994. // TODO: if inEntity, then open entity in list
  11995. if (!this.inEntity) {
  11996. if (this.selectedEntity === entity) {
  11997. this.selectedEntity = undefined;
  11998. }
  11999. else {
  12000. this.selectedEntity = entity;
  12001. }
  12002. }
  12003. }
  12004. getEntities(partIdsGroup) {
  12005. return this.evtModelService.lemmatizedEntities$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(ne => this.data[partIdsGroup].map(entityId => {
  12006. const entity = ne.all.lementities.find(e => e.id === entityId);
  12007. return {
  12008. id: entityId,
  12009. entity,
  12010. get label() {
  12011. return (entity ? entity.label : entityId);
  12012. },
  12013. };
  12014. })), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(neslem => neslem.filter(e => !!e)));
  12015. }
  12016. };
  12017. LemmatizedEntityRelationComponent.ɵfac = function LemmatizedEntityRelationComponent_Factory(t) { return new (t || LemmatizedEntityRelationComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_services_evt_model_service__WEBPACK_IMPORTED_MODULE_5__["EVTModelService"])); };
  12018. LemmatizedEntityRelationComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({ type: LemmatizedEntityRelationComponent, selectors: [["evt-lemmatized-entity-relation"]], inputs: { data: "data", inEntity: "inEntity" }, decls: 17, vars: 24, consts: [[1, "relation", "pb-2", 3, "ngClass", "evtHtmlAttributes"], ["class", "relation-type", 4, "ngIf"], [3, "iconInfo"], ["ngFor", "", 3, "ngForOf"], [3, "data", "inList", 4, "ngIf"], ["class", "relation-description text-secondary", 4, "ngIf"], ["relationParticipant", ""], [1, "relation-type"], [3, "ngTemplateOutlet", "ngTemplateOutletContext"], [3, "data", "inList"], [1, "relation-description", "text-secondary"], [3, "content", 4, "ngFor", "ngForOf"], [3, "content"], [3, "click"]], template: function LemmatizedEntityRelationComponent_Template(rf, ctx) { if (rf & 1) {
  12019. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 0);
  12020. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, LemmatizedEntityRelationComponent_small_1_Template, 3, 3, "small", 1);
  12021. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](2, "div");
  12022. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](3, "evt-icon", 2);
  12023. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, LemmatizedEntityRelationComponent_ng_template_4_Template, 1, 5, "ng-template", 3);
  12024. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](5, "async");
  12025. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](6, LemmatizedEntityRelationComponent_ng_template_6_Template, 1, 5, "ng-template", 3);
  12026. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](7, "async");
  12027. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](8);
  12028. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](9, "lowercase");
  12029. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](10, "humanize");
  12030. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](11, LemmatizedEntityRelationComponent_ng_template_11_Template, 1, 5, "ng-template", 3);
  12031. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](12, "async");
  12032. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](13, LemmatizedEntityRelationComponent_evt_lemmatized_entity_13_Template, 1, 2, "evt-lemmatized-entity", 4);
  12033. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  12034. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](14, LemmatizedEntityRelationComponent_div_14_Template, 2, 1, "div", 5);
  12035. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  12036. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](15, LemmatizedEntityRelationComponent_ng_template_15_Template, 2, 6, "ng-template", null, 6, _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplateRefExtractor"]);
  12037. } if (rf & 2) {
  12038. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction2"](20, _c1, !ctx.inEntity, !ctx.inEntity))("evtHtmlAttributes", ctx.data == null ? null : ctx.data.attributes);
  12039. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  12040. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data.relationType);
  12041. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  12042. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("iconInfo", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction0"](23, _c2));
  12043. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  12044. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](5, 10, ctx.activeParts$));
  12045. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  12046. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](7, 12, ctx.mutualParts$));
  12047. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  12048. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](9, 14, _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](10, 16, ctx.data.name)), " ");
  12049. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](3);
  12050. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](12, 18, ctx.passiveParts$));
  12051. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  12052. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.selectedEntity);
  12053. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  12054. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data.description.length > 0);
  12055. } }, directives: [_angular_common__WEBPACK_IMPORTED_MODULE_6__["NgClass"], _directives_html_attributes_directive__WEBPACK_IMPORTED_MODULE_7__["HtmlAttributesDirective"], _angular_common__WEBPACK_IMPORTED_MODULE_6__["NgIf"], _ui_components_icon_icon_component__WEBPACK_IMPORTED_MODULE_8__["IconComponent"], _angular_common__WEBPACK_IMPORTED_MODULE_6__["NgForOf"], _angular_common__WEBPACK_IMPORTED_MODULE_6__["NgTemplateOutlet"], _lemmatized_entity_lemmatized_entity_component__WEBPACK_IMPORTED_MODULE_9__["LemmatizedEntityComponent"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_10__["ContentViewerComponent"]], pipes: [_angular_common__WEBPACK_IMPORTED_MODULE_6__["AsyncPipe"], _angular_common__WEBPACK_IMPORTED_MODULE_6__["LowerCasePipe"], _pipes_humanize_pipe__WEBPACK_IMPORTED_MODULE_11__["HumanizePipe"]], styles: [".relation-entity[_ngcontent-%COMP%] {\n cursor: pointer;\n}\n.relation-entity.disabled[_ngcontent-%COMP%] {\n cursor: default;\n}\n.relation-type[_ngcontent-%COMP%] {\n font-variant: small-caps;\n}\n.relation-description[_ngcontent-%COMP%] {\n font-size: 90%;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2xlbW1hdGl6ZWQtZW50aXR5LXJlbGF0aW9uLmNvbXBvbmVudC5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUlBO0VBQ0ksZUFBQTtBQUhKO0FBS0k7RUFDSSxlQUFBO0FBSFI7QUFXQTtFQUNJLHdCQUFBO0FBVEo7QUFZQTtFQUNJLGNBQUE7QUFUSiIsImZpbGUiOiJsZW1tYXRpemVkLWVudGl0eS1yZWxhdGlvbi5jb21wb25lbnQuc2NzcyIsInNvdXJjZXNDb250ZW50IjpbIkBpbXBvcnQgJy4uLy4uLy4uL2Fzc2V0cy9zY3NzL2NvbG9ycyc7XG5AaW1wb3J0ICcuLi8uLi8uLi9hc3NldHMvc2Nzcy90aGVtZXMnO1xuQGltcG9ydCAnLi4vLi4vLi4vYXNzZXRzL3Njc3MvbWl4aW5zJztcblxuLnJlbGF0aW9uLWVudGl0eSB7XG4gICAgY3Vyc29yOiBwb2ludGVyO1xuXG4gICAgJi5kaXNhYmxlZCB7XG4gICAgICAgIGN1cnNvcjogZGVmYXVsdDtcbiAgICB9XG4gICAgJi5sZW0ge1xuICAgICAgICBAaW5jbHVkZSBsZW1tYXRpemVkRW50aXR5UmVmQ29sb3JzKGdldC1uZS1jb2xvcihsZW1CYXNlKSwgZ2V0LW5lLWNvbG9yKGxlbU1pZGRsZSksIGdldC1uZS1jb2xvcihsZW1EYXJrZXIpKTtcbiAgICAgICAgQGluY2x1ZGUgaXBlcmxlbW1hdGl6ZWRFbnRpdHlSZWZDb2xvcnMoZ2V0LW5lLWNvbG9yKGxlbUJhc2UpLCBnZXQtbmUtY29sb3IobGVtTWlkZGxlKSwgZ2V0LW5lLWNvbG9yKGxlbURhcmtlcikpO1xuICAgIH1cbn1cblxuLnJlbGF0aW9uLXR5cGUge1xuICAgIGZvbnQtdmFyaWFudDogc21hbGwtY2Fwcztcbn1cblxuLnJlbGF0aW9uLWRlc2NyaXB0aW9uIHtcbiAgICBmb250LXNpemU6IDkwJTtcbn0iXX0= */"] });
  12056. LemmatizedEntityRelationComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  12057. Object(_services_component_register_service__WEBPACK_IMPORTED_MODULE_4__["register"])(_models_evt_models__WEBPACK_IMPORTED_MODULE_3__["Relation"])
  12058. ], LemmatizedEntityRelationComponent);
  12059. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](LemmatizedEntityRelationComponent, [{
  12060. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
  12061. args: [{
  12062. selector: 'evt-lemmatized-entity-relation',
  12063. templateUrl: './lemmatized-entity-relation.component.html',
  12064. styleUrls: ['./lemmatized-entity-relation.component.scss'],
  12065. }]
  12066. }], function () { return [{ type: _services_evt_model_service__WEBPACK_IMPORTED_MODULE_5__["EVTModelService"] }]; }, { data: [{
  12067. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
  12068. }], inEntity: [{
  12069. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
  12070. }] }); })();
  12071. /***/ }),
  12072. /***/ "YwZW":
  12073. /*!*******************************************************!*\
  12074. !*** ./src/app/services/xml-parsers/parser-models.ts ***!
  12075. \*******************************************************/
  12076. /*! exports provided: createParser, getID, getClass, parseChildren, getDefaultN, getDefaultAttr, unhandledElement, complexElements */
  12077. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  12078. "use strict";
  12079. __webpack_require__.r(__webpack_exports__);
  12080. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "createParser", function() { return createParser; });
  12081. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getID", function() { return getID; });
  12082. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getClass", function() { return getClass; });
  12083. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "parseChildren", function() { return parseChildren; });
  12084. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getDefaultN", function() { return getDefaultN; });
  12085. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getDefaultAttr", function() { return getDefaultAttr; });
  12086. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "unhandledElement", function() { return unhandledElement; });
  12087. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "complexElements", function() { return complexElements; });
  12088. /* harmony import */ var _utils_dom_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/dom-utils */ "G9+u");
  12089. function createParser(c, data) { return new c(data); }
  12090. function getID(xml, prefix = '') { return xml.getAttribute('xml:id') || prefix + Object(_utils_dom_utils__WEBPACK_IMPORTED_MODULE_0__["xpath"])(xml); }
  12091. function getClass(xml) { return xml.tagName ? xml.tagName.toLowerCase() : ''; }
  12092. function parseChildren(xml, parseFn, excludeEmptyText) {
  12093. return complexElements(xml.childNodes, excludeEmptyText).map(child => parseFn(child));
  12094. }
  12095. function getDefaultN(n) { return n || ''; }
  12096. function getDefaultAttr(attr) { return attr || ''; }
  12097. function unhandledElement(xml, name, parseFn) {
  12098. return Array.from(xml.querySelectorAll(`:scope > ${name}`)).map(e => parseChildren(e, parseFn));
  12099. }
  12100. function complexElements(nodes, excludeEmptyText) {
  12101. const interestingNodes = Array.from(nodes).filter((n) => n.nodeType !== 8);
  12102. return excludeEmptyText ? interestingNodes.filter((n) => n.nodeType !== 3 || n.textContent.trim()) : interestingNodes;
  12103. }
  12104. /***/ }),
  12105. /***/ "Z5dB":
  12106. /*!*************************************************!*\
  12107. !*** ./src/app/services/lems-select.service.ts ***!
  12108. \*************************************************/
  12109. /*! exports provided: LemsSelectService */
  12110. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  12111. "use strict";
  12112. __webpack_require__.r(__webpack_exports__);
  12113. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "LemsSelectService", function() { return LemsSelectService; });
  12114. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "fXoL");
  12115. /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rxjs */ "qCKp");
  12116. /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs/operators */ "kU1M");
  12117. /* harmony import */ var _app_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../app.config */ "aR35");
  12118. class LemsSelectService {
  12119. constructor() {
  12120. this.updateLemsSelection$ = new rxjs__WEBPACK_IMPORTED_MODULE_1__["Subject"]();
  12121. this.selectedLemsItems$ = this.updateLemsSelection$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["shareReplay"])(1));
  12122. }
  12123. getClassNameFromValue(value) {
  12124. return value.toLowerCase().replace(/\s/g, '').replace(/(\[.*?\])/g, '');
  12125. }
  12126. getAttributesFromValue(value) {
  12127. return (value.toLowerCase().replace(/\s/g, '').match(/(\[.*?\])/g) || [])
  12128. .map(i => i.replace(/(\[|\]|\')/g, '').split('=')).map(i => ({ key: i[0], value: i[1] }));
  12129. }
  12130. matchClassAndAttributes(valueForCheck, attributesToCheck, classToCheck) {
  12131. return valueForCheck.split(',')
  12132. .some(v => this.matchClass(v, classToCheck) && this.matchAttributes(v, attributesToCheck));
  12133. }
  12134. matchClass(classForCheck, classToCheck) {
  12135. return classToCheck === this.getClassNameFromValue(classForCheck);
  12136. }
  12137. matchAttributes(attributesForCheck, attributesToCheck) {
  12138. return this.getAttributesFromValue(attributesForCheck).every(a => attributesToCheck[a.key] === a.value);
  12139. }
  12140. getHighlightColor(attributesToCheck, classNameToCheck, selectedLemsItems) {
  12141. const lemsSelectItems = _app_config__WEBPACK_IMPORTED_MODULE_3__["AppConfig"].evtSettings.edition.lemsSelectItems
  12142. .reduce((i, g) => i.concat(g.items), [])
  12143. .reduce((x, y) => {
  12144. const multiValues = [];
  12145. y.value.split(',').forEach(t => {
  12146. multiValues.push(Object.assign(Object.assign({}, y), { value: t }));
  12147. });
  12148. return x.concat(multiValues);
  12149. }, []);
  12150. let bestMatch;
  12151. lemsSelectItems.forEach(item => {
  12152. let score = 0;
  12153. score += this.matchClass(item.value, classNameToCheck) ? 1 : 0;
  12154. const attributes = this.getAttributesFromValue(item.value);
  12155. score += attributes.length && this.matchAttributes(item.value, attributesToCheck) ? 1 : 0;
  12156. if (score > 0 && selectedLemsItems) {
  12157. score += selectedLemsItems.find(i => i.value === item.value) ? 1 : 0;
  12158. }
  12159. if (score > 0 && (!bestMatch || bestMatch.score < score)) {
  12160. bestMatch = Object.assign(Object.assign({}, item), { score });
  12161. }
  12162. });
  12163. return bestMatch ? bestMatch.color : '';
  12164. }
  12165. }
  12166. LemsSelectService.ɵfac = function LemsSelectService_Factory(t) { return new (t || LemsSelectService)(); };
  12167. LemsSelectService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ token: LemsSelectService, factory: LemsSelectService.ɵfac, providedIn: 'root' });
  12168. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](LemsSelectService, [{
  12169. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"],
  12170. args: [{
  12171. providedIn: 'root',
  12172. }]
  12173. }], null, null); })();
  12174. /***/ }),
  12175. /***/ "ZAI4":
  12176. /*!*******************************!*\
  12177. !*** ./src/app/app.module.ts ***!
  12178. \*******************************/
  12179. /*! exports provided: initializeApp, AppModule */
  12180. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  12181. "use strict";
  12182. __webpack_require__.r(__webpack_exports__);
  12183. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "initializeApp", function() { return initializeApp; });
  12184. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AppModule", function() { return AppModule; });
  12185. /* harmony import */ var _angular_slider_ngx_slider__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular-slider/ngx-slider */ "mgaL");
  12186. /* harmony import */ var _angular_cdk_experimental_scrolling__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/cdk-experimental/scrolling */ "cfqv");
  12187. /* harmony import */ var _angular_cdk_scrolling__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/cdk/scrolling */ "vxfF");
  12188. /* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/common/http */ "tk/3");
  12189. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/core */ "fXoL");
  12190. /* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/forms */ "3Pt+");
  12191. /* harmony import */ var _angular_platform_browser__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/platform-browser */ "jhN1");
  12192. /* harmony import */ var _angular_platform_browser_animations__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @angular/platform-browser/animations */ "R1ws");
  12193. /* harmony import */ var _fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @fortawesome/free-solid-svg-icons */ "wHSu");
  12194. /* harmony import */ var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @ng-bootstrap/ng-bootstrap */ "1kSV");
  12195. /* harmony import */ var angular_gridster2__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! angular-gridster2 */ "Ljk9");
  12196. /* harmony import */ var ng_dynamic_component__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ng-dynamic-component */ "CS/5");
  12197. /* harmony import */ var ngx_spinner__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ngx-spinner */ "JqCM");
  12198. /* harmony import */ var _ui_components_ui_components_module__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./ui-components/ui-components.module */ "sMX/");
  12199. /* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @angular/router */ "tyNb");
  12200. /* harmony import */ var _app_routing_module__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./app-routing.module */ "vY5A");
  12201. /* harmony import */ var _app_translation_module__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./app-translation.module */ "XOBg");
  12202. /* harmony import */ var _app_component__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./app.component */ "Sy1n");
  12203. /* harmony import */ var ng2_handy_syntax_highlighter__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ng2-handy-syntax-highlighter */ "KXWd");
  12204. /* harmony import */ var _app_config__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./app.config */ "aR35");
  12205. /* harmony import */ var _components_addition_addition_component__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./components/addition/addition.component */ "9L9p");
  12206. /* harmony import */ var _components_additional_additional_component__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./components/additional/additional.component */ "uIHG");
  12207. /* harmony import */ var _components_apparatus_entry_apparatus_entry_detail_apparatus_entry_detail_component__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./components/apparatus-entry/apparatus-entry-detail/apparatus-entry-detail.component */ "xZzZ");
  12208. /* harmony import */ var _components_apparatus_entry_apparatus_entry_readings_apparatus_entry_readings_component__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./components/apparatus-entry/apparatus-entry-readings/apparatus-entry-readings.component */ "etwH");
  12209. /* harmony import */ var _components_apparatus_entry_apparatus_entry_component__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./components/apparatus-entry/apparatus-entry.component */ "du+M");
  12210. /* harmony import */ var _components_char_char_component__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./components/char/char.component */ "vpHg");
  12211. /* harmony import */ var _components_choice_choice_component__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./components/choice/choice.component */ "FmO3");
  12212. /* harmony import */ var _components_content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ./components/content-viewer/content-viewer.component */ "t6RO");
  12213. /* harmony import */ var _components_damage_damage_component__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ./components/damage/damage.component */ "mQVh");
  12214. /* harmony import */ var _components_deletion_deletion_component__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ./components/deletion/deletion.component */ "lmze");
  12215. /* harmony import */ var _components_edition_level_selector_edition_level_selector_component__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ./components/edition-level-selector/edition-level-selector.component */ "Ow/E");
  12216. /* harmony import */ var _components_edition_stmt_edition_stmt_component__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ./components/edition-stmt/edition-stmt.component */ "Zey5");
  12217. /* harmony import */ var _components_editorial_decl_editorial_decl_component__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ./components/editorial-decl/editorial-decl.component */ "1zBk");
  12218. /* harmony import */ var _components_encoding_desc_encoding_desc_component__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ./components/encoding-desc/encoding-desc.component */ "Mq1B");
  12219. /* harmony import */ var _components_entities_select_entities_select_component__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! ./components/entities-select/entities-select.component */ "g5nV");
  12220. /* harmony import */ var _components_lems_select_lems_select_component__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! ./components/lems-select/lems-select.component */ "Ox1W");
  12221. /* harmony import */ var _components_iperlems_select_iperlems_select_component__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! ./components/iperlems-select/iperlems-select.component */ "Y4jJ");
  12222. /* harmony import */ var _components_extent_extent_component__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! ./components/extent/extent.component */ "Ilzk");
  12223. /* harmony import */ var _components_file_desc_file_desc_component__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! ./components/file-desc/file-desc.component */ "fvJq");
  12224. /* harmony import */ var _components_g_g_component__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(/*! ./components/g/g.component */ "Eeve");
  12225. /* harmony import */ var _components_gap_gap_component__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(/*! ./components/gap/gap.component */ "HPGp");
  12226. /* harmony import */ var _components_generic_element_generic_element_component__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(/*! ./components/generic-element/generic-element.component */ "SG9k");
  12227. /* harmony import */ var _components_global_lists_global_lists_component__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(/*! ./components/global-lists/global-lists.component */ "rRcO");
  12228. /* harmony import */ var _components_specific_lists_specific_lists_component__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(/*! ./components/specific-lists/specific-lists.component */ "9viu");
  12229. /* harmony import */ var _components_history_history_component__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(/*! ./components/history/history.component */ "6qKx");
  12230. /* harmony import */ var _components_identifier_identifier_component__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(/*! ./components/identifier/identifier.component */ "FSWR");
  12231. /* harmony import */ var _components_lb_lb_component__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(/*! ./components/lb/lb.component */ "7Y2x");
  12232. /* harmony import */ var _components_manuscript_thumbnails_viewer_manuscript_thumbnails_viewer_component__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(/*! ./components/manuscript-thumbnails-viewer/manuscript-thumbnails-viewer.component */ "xUb2");
  12233. /* harmony import */ var _components_ms_contents_ms_contents_component__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(/*! ./components/ms-contents/ms-contents.component */ "xQyG");
  12234. /* harmony import */ var _components_ms_desc_selector_ms_desc_selector_component__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(/*! ./components/ms-desc-selector/ms-desc-selector.component */ "qKvR");
  12235. /* harmony import */ var _components_ms_desc_ms_desc_component__WEBPACK_IMPORTED_MODULE_50__ = __webpack_require__(/*! ./components/ms-desc/ms-desc.component */ "ZiLK");
  12236. /* harmony import */ var _components_ms_frag_ms_frag_component__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__(/*! ./components/ms-frag/ms-frag.component */ "6n9f");
  12237. /* harmony import */ var _components_ms_identifier_ms_identifier_component__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__(/*! ./components/ms-identifier/ms-identifier.component */ "Ie87");
  12238. /* harmony import */ var _components_ms_item_ms_item_component__WEBPACK_IMPORTED_MODULE_53__ = __webpack_require__(/*! ./components/ms-item/ms-item.component */ "pZd9");
  12239. /* harmony import */ var _components_ms_part_ms_part_component__WEBPACK_IMPORTED_MODULE_54__ = __webpack_require__(/*! ./components/ms-part/ms-part.component */ "HFpj");
  12240. /* harmony import */ var _components_named_entities_list_named_entities_list_component__WEBPACK_IMPORTED_MODULE_55__ = __webpack_require__(/*! ./components/named-entities-list/named-entities-list.component */ "w3ho");
  12241. /* harmony import */ var _components_named_entity_ref_named_entity_ref_component__WEBPACK_IMPORTED_MODULE_56__ = __webpack_require__(/*! ./components/named-entity-ref/named-entity-ref.component */ "0lvV");
  12242. /* harmony import */ var _components_named_entity_relation_named_entity_relation_component__WEBPACK_IMPORTED_MODULE_57__ = __webpack_require__(/*! ./components/named-entity-relation/named-entity-relation.component */ "v4aR");
  12243. /* harmony import */ var _components_named_entity_named_entity_detail_named_entity_detail_component__WEBPACK_IMPORTED_MODULE_58__ = __webpack_require__(/*! ./components/named-entity/named-entity-detail/named-entity-detail.component */ "JIL6");
  12244. /* harmony import */ var _components_named_entity_named_entity_occurrence_named_entity_occurrence_component__WEBPACK_IMPORTED_MODULE_59__ = __webpack_require__(/*! ./components/named-entity/named-entity-occurrence/named-entity-occurrence.component */ "wM2G");
  12245. /* harmony import */ var _components_named_entity_named_entity_component__WEBPACK_IMPORTED_MODULE_60__ = __webpack_require__(/*! ./components/named-entity/named-entity.component */ "k8Vd");
  12246. /* harmony import */ var _components_namespace_namespace_component__WEBPACK_IMPORTED_MODULE_61__ = __webpack_require__(/*! ./components/namespace/namespace.component */ "BlhN");
  12247. /* harmony import */ var _components_note_note_component__WEBPACK_IMPORTED_MODULE_62__ = __webpack_require__(/*! ./components/note/note.component */ "EpuN");
  12248. /* harmony import */ var _components_notes_stmt_notes_stmt_component__WEBPACK_IMPORTED_MODULE_63__ = __webpack_require__(/*! ./components/notes-stmt/notes-stmt.component */ "y8/R");
  12249. /* harmony import */ var _components_original_encoding_viewer_original_encoding_viewer_component__WEBPACK_IMPORTED_MODULE_64__ = __webpack_require__(/*! ./components/original-encoding-viewer/original-encoding-viewer.component */ "7Sdm");
  12250. /* harmony import */ var _components_osd_osd_component__WEBPACK_IMPORTED_MODULE_65__ = __webpack_require__(/*! ./components/osd/osd.component */ "ry9e");
  12251. /* harmony import */ var _components_page_selector_page_selector_component__WEBPACK_IMPORTED_MODULE_66__ = __webpack_require__(/*! ./components/page-selector/page-selector.component */ "GZCN");
  12252. /* harmony import */ var _components_page_page_component__WEBPACK_IMPORTED_MODULE_67__ = __webpack_require__(/*! ./components/page/page.component */ "ycSy");
  12253. /* harmony import */ var _components_paragraph_paragraph_component__WEBPACK_IMPORTED_MODULE_68__ = __webpack_require__(/*! ./components/paragraph/paragraph.component */ "HJJq");
  12254. /* harmony import */ var _components_phys_desc_phys_desc_component__WEBPACK_IMPORTED_MODULE_69__ = __webpack_require__(/*! ./components/phys-desc/phys-desc.component */ "xZwa");
  12255. /* harmony import */ var _components_project_desc_project_desc_component__WEBPACK_IMPORTED_MODULE_70__ = __webpack_require__(/*! ./components/project-desc/project-desc.component */ "/zYb");
  12256. /* harmony import */ var _components_project_info_project_info_component__WEBPACK_IMPORTED_MODULE_71__ = __webpack_require__(/*! ./components/project-info/project-info.component */ "s1S/");
  12257. /* harmony import */ var _components_publication_stmt_publication_stmt_component__WEBPACK_IMPORTED_MODULE_72__ = __webpack_require__(/*! ./components/publication-stmt/publication-stmt.component */ "wfdk");
  12258. /* harmony import */ var _components_reading_reading_component__WEBPACK_IMPORTED_MODULE_73__ = __webpack_require__(/*! ./components/reading/reading.component */ "QgGR");
  12259. /* harmony import */ var _components_rendition_rendition_component__WEBPACK_IMPORTED_MODULE_74__ = __webpack_require__(/*! ./components/rendition/rendition.component */ "ka2K");
  12260. /* harmony import */ var _components_resp_stmt_resp_stmt_component__WEBPACK_IMPORTED_MODULE_75__ = __webpack_require__(/*! ./components/resp-stmt/resp-stmt.component */ "uazz");
  12261. /* harmony import */ var _components_sampling_decl_sampling_decl_component__WEBPACK_IMPORTED_MODULE_76__ = __webpack_require__(/*! ./components/sampling-decl/sampling-decl.component */ "+54W");
  12262. /* harmony import */ var _components_series_stmt_series_stmt_component__WEBPACK_IMPORTED_MODULE_77__ = __webpack_require__(/*! ./components/series-stmt/series-stmt.component */ "AKfy");
  12263. /* harmony import */ var _components_sic_sic_component__WEBPACK_IMPORTED_MODULE_78__ = __webpack_require__(/*! ./components/sic/sic.component */ "fBrD");
  12264. /* harmony import */ var _components_supplied_supplied_component__WEBPACK_IMPORTED_MODULE_79__ = __webpack_require__(/*! ./components/supplied/supplied.component */ "fBFu");
  12265. /* harmony import */ var _components_surplus_surplus_component__WEBPACK_IMPORTED_MODULE_80__ = __webpack_require__(/*! ./components/surplus/surplus.component */ "EXMU");
  12266. /* harmony import */ var _components_tags_decl_tags_decl_component__WEBPACK_IMPORTED_MODULE_81__ = __webpack_require__(/*! ./components/tags-decl/tags-decl.component */ "rbaJ");
  12267. /* harmony import */ var _components_text_text_component__WEBPACK_IMPORTED_MODULE_82__ = __webpack_require__(/*! ./components/text/text.component */ "0uBV");
  12268. /* harmony import */ var _components_title_stmt_title_stmt_component__WEBPACK_IMPORTED_MODULE_83__ = __webpack_require__(/*! ./components/title-stmt/title-stmt.component */ "GTTo");
  12269. /* harmony import */ var _components_verse_verse_component__WEBPACK_IMPORTED_MODULE_84__ = __webpack_require__(/*! ./components/verse/verse.component */ "ndd2");
  12270. /* harmony import */ var _components_verses_group_verses_group_component__WEBPACK_IMPORTED_MODULE_85__ = __webpack_require__(/*! ./components/verses-group/verses-group.component */ "y5KG");
  12271. /* harmony import */ var _components_word_word_component__WEBPACK_IMPORTED_MODULE_86__ = __webpack_require__(/*! ./components/word/word.component */ "7igE");
  12272. /* harmony import */ var _directives_annotator_directive__WEBPACK_IMPORTED_MODULE_87__ = __webpack_require__(/*! ./directives/annotator.directive */ "STiE");
  12273. /* harmony import */ var _directives_editorial_convention_layout_directive__WEBPACK_IMPORTED_MODULE_88__ = __webpack_require__(/*! ./directives/editorial-convention-layout.directive */ "FJNG");
  12274. /* harmony import */ var _directives_highlight_directive__WEBPACK_IMPORTED_MODULE_89__ = __webpack_require__(/*! ./directives/highlight.directive */ "CmGG");
  12275. /* harmony import */ var _directives_html_attributes_directive__WEBPACK_IMPORTED_MODULE_90__ = __webpack_require__(/*! ./directives/html-attributes.directive */ "0Bbq");
  12276. /* harmony import */ var _evt_info_evt_info_component__WEBPACK_IMPORTED_MODULE_91__ = __webpack_require__(/*! ./evt-info/evt-info.component */ "5b7e");
  12277. /* harmony import */ var _main_header_main_header_component__WEBPACK_IMPORTED_MODULE_92__ = __webpack_require__(/*! ./main-header/main-header.component */ "6rJU");
  12278. /* harmony import */ var _main_menu_main_menu_component__WEBPACK_IMPORTED_MODULE_93__ = __webpack_require__(/*! ./main-menu/main-menu.component */ "9jgp");
  12279. /* harmony import */ var _nav_bar_nav_bar_component__WEBPACK_IMPORTED_MODULE_94__ = __webpack_require__(/*! ./nav-bar/nav-bar.component */ "5hVl");
  12280. /* harmony import */ var _panels_image_panel_image_panel_component__WEBPACK_IMPORTED_MODULE_95__ = __webpack_require__(/*! ./panels/image-panel/image-panel.component */ "UksB");
  12281. /* harmony import */ var _panels_pinboard_panel_pinboard_panel_component__WEBPACK_IMPORTED_MODULE_96__ = __webpack_require__(/*! ./panels/pinboard-panel/pinboard-panel.component */ "VyoE");
  12282. /* harmony import */ var _panels_sources_panel_sources_panel_component__WEBPACK_IMPORTED_MODULE_97__ = __webpack_require__(/*! ./panels/sources-panel/sources-panel.component */ "ZIVV");
  12283. /* harmony import */ var _panels_text_panel_text_panel_component__WEBPACK_IMPORTED_MODULE_98__ = __webpack_require__(/*! ./panels/text-panel/text-panel.component */ "CHR5");
  12284. /* harmony import */ var _panels_version_panel_version_panel_component__WEBPACK_IMPORTED_MODULE_99__ = __webpack_require__(/*! ./panels/version-panel/version-panel.component */ "DBF2");
  12285. /* harmony import */ var _panels_witness_panel_witness_panel_component__WEBPACK_IMPORTED_MODULE_100__ = __webpack_require__(/*! ./panels/witness-panel/witness-panel.component */ "9MqL");
  12286. /* harmony import */ var _pinboard_pinboard_component__WEBPACK_IMPORTED_MODULE_101__ = __webpack_require__(/*! ./pinboard/pinboard.component */ "W4vA");
  12287. /* harmony import */ var _pinboard_pinner_pinner_component__WEBPACK_IMPORTED_MODULE_102__ = __webpack_require__(/*! ./pinboard/pinner/pinner.component */ "j7gH");
  12288. /* harmony import */ var _pipes_filter_pipe__WEBPACK_IMPORTED_MODULE_103__ = __webpack_require__(/*! ./pipes/filter.pipe */ "BhhM");
  12289. /* harmony import */ var _pipes_humanize_pipe__WEBPACK_IMPORTED_MODULE_104__ = __webpack_require__(/*! ./pipes/humanize.pipe */ "Wu1i");
  12290. /* harmony import */ var _pipes_starts_with_pipe__WEBPACK_IMPORTED_MODULE_105__ = __webpack_require__(/*! ./pipes/starts-with.pipe */ "6uNG");
  12291. /* harmony import */ var _pipes_xml_beautify_pipe__WEBPACK_IMPORTED_MODULE_106__ = __webpack_require__(/*! ./pipes/xml-beautify.pipe */ "UhR9");
  12292. /* harmony import */ var _services_annotator_annotator_service__WEBPACK_IMPORTED_MODULE_107__ = __webpack_require__(/*! ./services/annotator/annotator.service */ "I7fL");
  12293. /* harmony import */ var _services_idb_service__WEBPACK_IMPORTED_MODULE_108__ = __webpack_require__(/*! ./services/idb.service */ "y42B");
  12294. /* harmony import */ var _services_themes_service__WEBPACK_IMPORTED_MODULE_109__ = __webpack_require__(/*! ./services/themes.service */ "onZX");
  12295. /* harmony import */ var _services_xml_parsers_generic_parser_service__WEBPACK_IMPORTED_MODULE_110__ = __webpack_require__(/*! ./services/xml-parsers/generic-parser.service */ "xdSp");
  12296. /* harmony import */ var _services_xml_parsers_xml_parsers__WEBPACK_IMPORTED_MODULE_111__ = __webpack_require__(/*! ./services/xml-parsers/xml-parsers */ "7plQ");
  12297. /* harmony import */ var _shortcuts_shortcuts_component__WEBPACK_IMPORTED_MODULE_112__ = __webpack_require__(/*! ./shortcuts/shortcuts.component */ "lP9l");
  12298. /* harmony import */ var _ui_components_ms_desc_section_ms_desc_section_component__WEBPACK_IMPORTED_MODULE_113__ = __webpack_require__(/*! ./ui-components/ms-desc-section/ms-desc-section.component */ "WyXU");
  12299. /* harmony import */ var _view_modes_collation_collation_component__WEBPACK_IMPORTED_MODULE_114__ = __webpack_require__(/*! ./view-modes/collation/collation.component */ "tOBz");
  12300. /* harmony import */ var _view_modes_image_text_image_text_component__WEBPACK_IMPORTED_MODULE_115__ = __webpack_require__(/*! ./view-modes/image-text/image-text.component */ "OEwW");
  12301. /* harmony import */ var _view_modes_reading_text_reading_text_component__WEBPACK_IMPORTED_MODULE_116__ = __webpack_require__(/*! ./view-modes/reading-text/reading-text.component */ "BnO0");
  12302. /* harmony import */ var _view_modes_text_sources_text_sources_component__WEBPACK_IMPORTED_MODULE_117__ = __webpack_require__(/*! ./view-modes/text-sources/text-sources.component */ "6tsE");
  12303. /* harmony import */ var _view_modes_text_text_text_text_component__WEBPACK_IMPORTED_MODULE_118__ = __webpack_require__(/*! ./view-modes/text-text/text-text.component */ "DJp8");
  12304. /* harmony import */ var _view_modes_text_versions_text_versions_component__WEBPACK_IMPORTED_MODULE_119__ = __webpack_require__(/*! ./view-modes/text-versions/text-versions.component */ "Izqa");
  12305. /* harmony import */ var _components_lem_entry_lem_entry_component__WEBPACK_IMPORTED_MODULE_120__ = __webpack_require__(/*! ./components/lem-entry/lem-entry.component */ "hV/S");
  12306. /* harmony import */ var _components_lem_entry_lem_entry_detail_lem_entry_detail_component__WEBPACK_IMPORTED_MODULE_121__ = __webpack_require__(/*! ./components/lem-entry/lem-entry-detail/lem-entry-detail.component */ "EOxZ");
  12307. /* harmony import */ var _components_lem_entry_lem_entry_readings_lem_entry_readings_component__WEBPACK_IMPORTED_MODULE_122__ = __webpack_require__(/*! ./components/lem-entry/lem-entry-readings/lem-entry-readings.component */ "XvlD");
  12308. /* harmony import */ var _components_lemmatized_entities_list_lemmatized_entities_list_component__WEBPACK_IMPORTED_MODULE_123__ = __webpack_require__(/*! ./components/lemmatized-entities-list/lemmatized-entities-list.component */ "awNf");
  12309. /* harmony import */ var _components_lemmatized_entity_ref_lemmatized_entity_ref_component__WEBPACK_IMPORTED_MODULE_124__ = __webpack_require__(/*! ./components/lemmatized-entity-ref/lemmatized-entity-ref.component */ "aK5T");
  12310. /* harmony import */ var _components_lemmatized_entity_relation_lemmatized_entity_relation_component__WEBPACK_IMPORTED_MODULE_125__ = __webpack_require__(/*! ./components/lemmatized-entity-relation/lemmatized-entity-relation.component */ "YSoE");
  12311. /* harmony import */ var _components_lemmatized_entity_lemmatized_entity_detail_lemmatized_entity_detail_component__WEBPACK_IMPORTED_MODULE_126__ = __webpack_require__(/*! ./components/lemmatized-entity/lemmatized-entity-detail/lemmatized-entity-detail.component */ "M+Vw");
  12312. /* harmony import */ var _components_lemmatized_entity_lemmatized_entity_occurrence_lemmatized_entity_occurrence_component__WEBPACK_IMPORTED_MODULE_127__ = __webpack_require__(/*! ./components/lemmatized-entity/lemmatized-entity-occurrence/lemmatized-entity-occurrence.component */ "/gd2");
  12313. /* harmony import */ var _components_lemmatized_entity_lemmatized_entity_component__WEBPACK_IMPORTED_MODULE_128__ = __webpack_require__(/*! ./components/lemmatized-entity/lemmatized-entity.component */ "n4Hk");
  12314. /* harmony import */ var _fortawesome_angular_fontawesome__WEBPACK_IMPORTED_MODULE_129__ = __webpack_require__(/*! @fortawesome/angular-fontawesome */ "6NWb");
  12315. // import { MainFooterComponent } from './main-footer/main-footer.component';
  12316. // add by FS
  12317. const routes = [];
  12318. function initializeApp(appConfig) {
  12319. return () => appConfig.load();
  12320. }
  12321. class AppModule {
  12322. constructor(library) {
  12323. library.addIconPacks(_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_8__["fas"]);
  12324. }
  12325. }
  12326. AppModule.ɵmod = _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineNgModule"]({ type: AppModule, bootstrap: [_app_component__WEBPACK_IMPORTED_MODULE_17__["AppComponent"]] });
  12327. AppModule.ɵinj = _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineInjector"]({ factory: function AppModule_Factory(t) { return new (t || AppModule)(_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵinject"](_fortawesome_angular_fontawesome__WEBPACK_IMPORTED_MODULE_129__["FaIconLibrary"])); }, providers: [
  12328. _services_annotator_annotator_service__WEBPACK_IMPORTED_MODULE_107__["AnnotatorService"],
  12329. _app_config__WEBPACK_IMPORTED_MODULE_19__["AppConfig"],
  12330. {
  12331. provide: _angular_core__WEBPACK_IMPORTED_MODULE_4__["APP_INITIALIZER"],
  12332. useFactory: initializeApp,
  12333. deps: [_app_config__WEBPACK_IMPORTED_MODULE_19__["AppConfig"]], multi: true,
  12334. },
  12335. _app_config__WEBPACK_IMPORTED_MODULE_19__["AppConfig"],
  12336. _services_xml_parsers_generic_parser_service__WEBPACK_IMPORTED_MODULE_110__["GenericParserService"],
  12337. _services_idb_service__WEBPACK_IMPORTED_MODULE_108__["IdbService"],
  12338. _services_themes_service__WEBPACK_IMPORTED_MODULE_109__["ThemesService"],
  12339. _services_xml_parsers_xml_parsers__WEBPACK_IMPORTED_MODULE_111__["XMLParsers"],
  12340. ], imports: [[
  12341. _app_routing_module__WEBPACK_IMPORTED_MODULE_15__["AppRoutingModule"],
  12342. _app_translation_module__WEBPACK_IMPORTED_MODULE_16__["AppTranslationModule"],
  12343. _angular_platform_browser__WEBPACK_IMPORTED_MODULE_6__["BrowserModule"],
  12344. _angular_platform_browser_animations__WEBPACK_IMPORTED_MODULE_7__["BrowserAnimationsModule"],
  12345. ng_dynamic_component__WEBPACK_IMPORTED_MODULE_11__["DynamicAttributesModule"],
  12346. ng_dynamic_component__WEBPACK_IMPORTED_MODULE_11__["DynamicModule"],
  12347. _angular_cdk_experimental_scrolling__WEBPACK_IMPORTED_MODULE_1__["ScrollingModule"],
  12348. _angular_forms__WEBPACK_IMPORTED_MODULE_5__["FormsModule"],
  12349. angular_gridster2__WEBPACK_IMPORTED_MODULE_10__["GridsterModule"],
  12350. _angular_common_http__WEBPACK_IMPORTED_MODULE_3__["HttpClientModule"],
  12351. ng2_handy_syntax_highlighter__WEBPACK_IMPORTED_MODULE_18__["Ng2HandySyntaxHighlighterModule"],
  12352. _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_9__["NgbModule"],
  12353. _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_9__["NgbPopoverModule"],
  12354. _angular_slider_ngx_slider__WEBPACK_IMPORTED_MODULE_0__["NgxSliderModule"],
  12355. ngx_spinner__WEBPACK_IMPORTED_MODULE_12__["NgxSpinnerModule"],
  12356. _angular_router__WEBPACK_IMPORTED_MODULE_14__["RouterModule"].forRoot(routes, { useHash: true, relativeLinkResolution: 'legacy' }),
  12357. _angular_cdk_scrolling__WEBPACK_IMPORTED_MODULE_2__["ScrollingModule"],
  12358. _ui_components_ui_components_module__WEBPACK_IMPORTED_MODULE_13__["UiComponentsModule"],
  12359. ]] });
  12360. (function () { (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵsetNgModuleScope"](AppModule, { declarations: [_components_addition_addition_component__WEBPACK_IMPORTED_MODULE_20__["AdditionComponent"],
  12361. _components_additional_additional_component__WEBPACK_IMPORTED_MODULE_21__["AdditionalComponent"],
  12362. _directives_annotator_directive__WEBPACK_IMPORTED_MODULE_87__["AnnotatorDirective"],
  12363. _components_apparatus_entry_apparatus_entry_component__WEBPACK_IMPORTED_MODULE_24__["ApparatusEntryComponent"],
  12364. _components_apparatus_entry_apparatus_entry_detail_apparatus_entry_detail_component__WEBPACK_IMPORTED_MODULE_22__["ApparatusEntryDetailComponent"],
  12365. _components_apparatus_entry_apparatus_entry_readings_apparatus_entry_readings_component__WEBPACK_IMPORTED_MODULE_23__["ApparatusEntryReadingsComponent"],
  12366. _app_component__WEBPACK_IMPORTED_MODULE_17__["AppComponent"],
  12367. _components_char_char_component__WEBPACK_IMPORTED_MODULE_25__["CharComponent"],
  12368. _components_choice_choice_component__WEBPACK_IMPORTED_MODULE_26__["ChoiceComponent"],
  12369. _view_modes_collation_collation_component__WEBPACK_IMPORTED_MODULE_114__["CollationComponent"],
  12370. _components_content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_27__["ContentViewerComponent"],
  12371. _components_damage_damage_component__WEBPACK_IMPORTED_MODULE_28__["DamageComponent"],
  12372. _components_deletion_deletion_component__WEBPACK_IMPORTED_MODULE_29__["DeletionComponent"],
  12373. _components_edition_level_selector_edition_level_selector_component__WEBPACK_IMPORTED_MODULE_30__["EditionLevelSelectorComponent"],
  12374. _components_edition_stmt_edition_stmt_component__WEBPACK_IMPORTED_MODULE_31__["EditionStmtComponent"],
  12375. _directives_editorial_convention_layout_directive__WEBPACK_IMPORTED_MODULE_88__["EditorialConventionLayoutDirective"],
  12376. _components_editorial_decl_editorial_decl_component__WEBPACK_IMPORTED_MODULE_32__["EditorialDeclComponent"],
  12377. _components_encoding_desc_encoding_desc_component__WEBPACK_IMPORTED_MODULE_33__["EncodingDescComponent"],
  12378. _components_entities_select_entities_select_component__WEBPACK_IMPORTED_MODULE_34__["EntitiesSelectComponent"],
  12379. _components_lems_select_lems_select_component__WEBPACK_IMPORTED_MODULE_35__["LemsSelectComponent"],
  12380. _components_iperlems_select_iperlems_select_component__WEBPACK_IMPORTED_MODULE_36__["IperlemsSelectComponent"],
  12381. _evt_info_evt_info_component__WEBPACK_IMPORTED_MODULE_91__["EvtInfoComponent"],
  12382. _components_extent_extent_component__WEBPACK_IMPORTED_MODULE_37__["ExtentComponent"],
  12383. _components_file_desc_file_desc_component__WEBPACK_IMPORTED_MODULE_38__["FileDescComponent"],
  12384. _pipes_filter_pipe__WEBPACK_IMPORTED_MODULE_103__["FilterPipe"],
  12385. _components_gap_gap_component__WEBPACK_IMPORTED_MODULE_40__["GapComponent"],
  12386. _components_g_g_component__WEBPACK_IMPORTED_MODULE_39__["GComponent"],
  12387. _components_generic_element_generic_element_component__WEBPACK_IMPORTED_MODULE_41__["GenericElementComponent"],
  12388. _components_global_lists_global_lists_component__WEBPACK_IMPORTED_MODULE_42__["GlobalListsComponent"],
  12389. _components_specific_lists_specific_lists_component__WEBPACK_IMPORTED_MODULE_43__["SpecificListsComponent"],
  12390. _directives_highlight_directive__WEBPACK_IMPORTED_MODULE_89__["HighlightDirective"],
  12391. _components_history_history_component__WEBPACK_IMPORTED_MODULE_44__["HistoryComponent"],
  12392. _directives_html_attributes_directive__WEBPACK_IMPORTED_MODULE_90__["HtmlAttributesDirective"],
  12393. _pipes_humanize_pipe__WEBPACK_IMPORTED_MODULE_104__["HumanizePipe"],
  12394. _components_identifier_identifier_component__WEBPACK_IMPORTED_MODULE_45__["IdentifierComponent"],
  12395. _panels_image_panel_image_panel_component__WEBPACK_IMPORTED_MODULE_95__["ImagePanelComponent"],
  12396. _view_modes_image_text_image_text_component__WEBPACK_IMPORTED_MODULE_115__["ImageTextComponent"],
  12397. _components_lb_lb_component__WEBPACK_IMPORTED_MODULE_46__["LbComponent"],
  12398. _main_header_main_header_component__WEBPACK_IMPORTED_MODULE_92__["MainHeaderComponent"],
  12399. // MainFooterComponent,
  12400. _main_menu_main_menu_component__WEBPACK_IMPORTED_MODULE_93__["MainMenuComponent"],
  12401. _components_manuscript_thumbnails_viewer_manuscript_thumbnails_viewer_component__WEBPACK_IMPORTED_MODULE_47__["ManuscriptThumbnailsViewerComponent"],
  12402. _components_ms_contents_ms_contents_component__WEBPACK_IMPORTED_MODULE_48__["MsContentsComponent"],
  12403. _components_ms_desc_ms_desc_component__WEBPACK_IMPORTED_MODULE_50__["MsDescComponent"],
  12404. _ui_components_ms_desc_section_ms_desc_section_component__WEBPACK_IMPORTED_MODULE_113__["MsDescSectionComponent"],
  12405. _components_ms_desc_selector_ms_desc_selector_component__WEBPACK_IMPORTED_MODULE_49__["MsDescSelectorComponent"],
  12406. _components_ms_frag_ms_frag_component__WEBPACK_IMPORTED_MODULE_51__["MsFragComponent"],
  12407. _components_ms_frag_ms_frag_component__WEBPACK_IMPORTED_MODULE_51__["MsFragComponent"],
  12408. _components_ms_identifier_ms_identifier_component__WEBPACK_IMPORTED_MODULE_52__["MsIdentifierComponent"],
  12409. _components_ms_item_ms_item_component__WEBPACK_IMPORTED_MODULE_53__["MsItemComponent"],
  12410. _components_ms_part_ms_part_component__WEBPACK_IMPORTED_MODULE_54__["MsPartComponent"],
  12411. _components_named_entities_list_named_entities_list_component__WEBPACK_IMPORTED_MODULE_55__["NamedEntitiesListComponent"],
  12412. _components_named_entity_named_entity_component__WEBPACK_IMPORTED_MODULE_60__["NamedEntityComponent"],
  12413. _components_named_entity_named_entity_detail_named_entity_detail_component__WEBPACK_IMPORTED_MODULE_58__["NamedEntityDetailComponent"],
  12414. _components_named_entity_named_entity_occurrence_named_entity_occurrence_component__WEBPACK_IMPORTED_MODULE_59__["NamedEntityOccurrenceComponent"],
  12415. _components_named_entity_ref_named_entity_ref_component__WEBPACK_IMPORTED_MODULE_56__["NamedEntityRefComponent"],
  12416. _components_named_entity_relation_named_entity_relation_component__WEBPACK_IMPORTED_MODULE_57__["NamedEntityRelationComponent"],
  12417. _components_namespace_namespace_component__WEBPACK_IMPORTED_MODULE_61__["NamespaceComponent"],
  12418. _nav_bar_nav_bar_component__WEBPACK_IMPORTED_MODULE_94__["NavBarComponent"],
  12419. _components_note_note_component__WEBPACK_IMPORTED_MODULE_62__["NoteComponent"],
  12420. _components_notes_stmt_notes_stmt_component__WEBPACK_IMPORTED_MODULE_63__["NotesStmtComponent"],
  12421. _components_original_encoding_viewer_original_encoding_viewer_component__WEBPACK_IMPORTED_MODULE_64__["OriginalEncodingViewerComponent"],
  12422. _components_osd_osd_component__WEBPACK_IMPORTED_MODULE_65__["OsdComponent"],
  12423. _components_page_page_component__WEBPACK_IMPORTED_MODULE_67__["PageComponent"],
  12424. _components_page_selector_page_selector_component__WEBPACK_IMPORTED_MODULE_66__["PageSelectorComponent"],
  12425. _components_paragraph_paragraph_component__WEBPACK_IMPORTED_MODULE_68__["ParagraphComponent"],
  12426. _components_phys_desc_phys_desc_component__WEBPACK_IMPORTED_MODULE_69__["PhysDescComponent"],
  12427. _pinboard_pinboard_component__WEBPACK_IMPORTED_MODULE_101__["PinboardComponent"],
  12428. _panels_pinboard_panel_pinboard_panel_component__WEBPACK_IMPORTED_MODULE_96__["PinboardPanelComponent"],
  12429. _pinboard_pinner_pinner_component__WEBPACK_IMPORTED_MODULE_102__["PinnerComponent"],
  12430. _components_project_desc_project_desc_component__WEBPACK_IMPORTED_MODULE_70__["ProjectDescComponent"],
  12431. _components_project_info_project_info_component__WEBPACK_IMPORTED_MODULE_71__["ProjectInfoComponent"],
  12432. _components_publication_stmt_publication_stmt_component__WEBPACK_IMPORTED_MODULE_72__["PublicationStmtComponent"],
  12433. _components_reading_reading_component__WEBPACK_IMPORTED_MODULE_73__["ReadingComponent"],
  12434. _view_modes_reading_text_reading_text_component__WEBPACK_IMPORTED_MODULE_116__["ReadingTextComponent"],
  12435. _components_rendition_rendition_component__WEBPACK_IMPORTED_MODULE_74__["RenditionComponent"],
  12436. _components_resp_stmt_resp_stmt_component__WEBPACK_IMPORTED_MODULE_75__["RespStmtComponent"],
  12437. _components_sampling_decl_sampling_decl_component__WEBPACK_IMPORTED_MODULE_76__["SamplingDeclComponent"],
  12438. _components_series_stmt_series_stmt_component__WEBPACK_IMPORTED_MODULE_77__["SeriesStmtComponent"],
  12439. _shortcuts_shortcuts_component__WEBPACK_IMPORTED_MODULE_112__["ShortcutsComponent"],
  12440. _components_sic_sic_component__WEBPACK_IMPORTED_MODULE_78__["SicComponent"],
  12441. _panels_sources_panel_sources_panel_component__WEBPACK_IMPORTED_MODULE_97__["SourcesPanelComponent"],
  12442. _pipes_starts_with_pipe__WEBPACK_IMPORTED_MODULE_105__["StartsWithPipe"],
  12443. _components_supplied_supplied_component__WEBPACK_IMPORTED_MODULE_79__["SuppliedComponent"],
  12444. _components_surplus_surplus_component__WEBPACK_IMPORTED_MODULE_80__["SurplusComponent"],
  12445. _components_tags_decl_tags_decl_component__WEBPACK_IMPORTED_MODULE_81__["TagsDeclComponent"],
  12446. _components_text_text_component__WEBPACK_IMPORTED_MODULE_82__["TextComponent"],
  12447. _panels_text_panel_text_panel_component__WEBPACK_IMPORTED_MODULE_98__["TextPanelComponent"],
  12448. _view_modes_text_sources_text_sources_component__WEBPACK_IMPORTED_MODULE_117__["TextSourcesComponent"],
  12449. _view_modes_text_text_text_text_component__WEBPACK_IMPORTED_MODULE_118__["TextTextComponent"],
  12450. _view_modes_text_versions_text_versions_component__WEBPACK_IMPORTED_MODULE_119__["TextVersionsComponent"],
  12451. _components_title_stmt_title_stmt_component__WEBPACK_IMPORTED_MODULE_83__["TitleStmtComponent"],
  12452. _components_verse_verse_component__WEBPACK_IMPORTED_MODULE_84__["VerseComponent"],
  12453. _components_verses_group_verses_group_component__WEBPACK_IMPORTED_MODULE_85__["VersesGroupComponent"],
  12454. _panels_version_panel_version_panel_component__WEBPACK_IMPORTED_MODULE_99__["VersionPanelComponent"],
  12455. _panels_witness_panel_witness_panel_component__WEBPACK_IMPORTED_MODULE_100__["WitnessPanelComponent"],
  12456. _components_word_word_component__WEBPACK_IMPORTED_MODULE_86__["WordComponent"],
  12457. _pipes_xml_beautify_pipe__WEBPACK_IMPORTED_MODULE_106__["XmlBeautifyPipe"],
  12458. _components_lem_entry_lem_entry_component__WEBPACK_IMPORTED_MODULE_120__["LemEntryComponent"],
  12459. _components_lem_entry_lem_entry_detail_lem_entry_detail_component__WEBPACK_IMPORTED_MODULE_121__["LemEntryDetailComponent"],
  12460. _components_lem_entry_lem_entry_readings_lem_entry_readings_component__WEBPACK_IMPORTED_MODULE_122__["LemEntryReadingsComponent"],
  12461. // add by FS
  12462. _components_lemmatized_entities_list_lemmatized_entities_list_component__WEBPACK_IMPORTED_MODULE_123__["LemmatizedEntitiesListComponent"],
  12463. _components_lemmatized_entity_lemmatized_entity_component__WEBPACK_IMPORTED_MODULE_128__["LemmatizedEntityComponent"],
  12464. _components_lemmatized_entity_lemmatized_entity_detail_lemmatized_entity_detail_component__WEBPACK_IMPORTED_MODULE_126__["LemmatizedEntityDetailComponent"],
  12465. _components_lemmatized_entity_lemmatized_entity_occurrence_lemmatized_entity_occurrence_component__WEBPACK_IMPORTED_MODULE_127__["LemmatizedEntityOccurrenceComponent"],
  12466. _components_lemmatized_entity_ref_lemmatized_entity_ref_component__WEBPACK_IMPORTED_MODULE_124__["LemmatizedEntityRefComponent"],
  12467. _components_lemmatized_entity_relation_lemmatized_entity_relation_component__WEBPACK_IMPORTED_MODULE_125__["LemmatizedEntityRelationComponent"]], imports: [_app_routing_module__WEBPACK_IMPORTED_MODULE_15__["AppRoutingModule"],
  12468. _app_translation_module__WEBPACK_IMPORTED_MODULE_16__["AppTranslationModule"],
  12469. _angular_platform_browser__WEBPACK_IMPORTED_MODULE_6__["BrowserModule"],
  12470. _angular_platform_browser_animations__WEBPACK_IMPORTED_MODULE_7__["BrowserAnimationsModule"],
  12471. ng_dynamic_component__WEBPACK_IMPORTED_MODULE_11__["DynamicAttributesModule"],
  12472. ng_dynamic_component__WEBPACK_IMPORTED_MODULE_11__["DynamicModule"],
  12473. _angular_cdk_experimental_scrolling__WEBPACK_IMPORTED_MODULE_1__["ScrollingModule"],
  12474. _angular_forms__WEBPACK_IMPORTED_MODULE_5__["FormsModule"],
  12475. angular_gridster2__WEBPACK_IMPORTED_MODULE_10__["GridsterModule"],
  12476. _angular_common_http__WEBPACK_IMPORTED_MODULE_3__["HttpClientModule"],
  12477. ng2_handy_syntax_highlighter__WEBPACK_IMPORTED_MODULE_18__["Ng2HandySyntaxHighlighterModule"],
  12478. _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_9__["NgbModule"],
  12479. _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_9__["NgbPopoverModule"],
  12480. _angular_slider_ngx_slider__WEBPACK_IMPORTED_MODULE_0__["NgxSliderModule"],
  12481. ngx_spinner__WEBPACK_IMPORTED_MODULE_12__["NgxSpinnerModule"], _angular_router__WEBPACK_IMPORTED_MODULE_14__["RouterModule"], _angular_cdk_scrolling__WEBPACK_IMPORTED_MODULE_2__["ScrollingModule"],
  12482. _ui_components_ui_components_module__WEBPACK_IMPORTED_MODULE_13__["UiComponentsModule"]] }); })();
  12483. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵsetClassMetadata"](AppModule, [{
  12484. type: _angular_core__WEBPACK_IMPORTED_MODULE_4__["NgModule"],
  12485. args: [{
  12486. declarations: [
  12487. _components_addition_addition_component__WEBPACK_IMPORTED_MODULE_20__["AdditionComponent"],
  12488. _components_additional_additional_component__WEBPACK_IMPORTED_MODULE_21__["AdditionalComponent"],
  12489. _directives_annotator_directive__WEBPACK_IMPORTED_MODULE_87__["AnnotatorDirective"],
  12490. _components_apparatus_entry_apparatus_entry_component__WEBPACK_IMPORTED_MODULE_24__["ApparatusEntryComponent"],
  12491. _components_apparatus_entry_apparatus_entry_detail_apparatus_entry_detail_component__WEBPACK_IMPORTED_MODULE_22__["ApparatusEntryDetailComponent"],
  12492. _components_apparatus_entry_apparatus_entry_readings_apparatus_entry_readings_component__WEBPACK_IMPORTED_MODULE_23__["ApparatusEntryReadingsComponent"],
  12493. _app_component__WEBPACK_IMPORTED_MODULE_17__["AppComponent"],
  12494. _components_char_char_component__WEBPACK_IMPORTED_MODULE_25__["CharComponent"],
  12495. _components_choice_choice_component__WEBPACK_IMPORTED_MODULE_26__["ChoiceComponent"],
  12496. _view_modes_collation_collation_component__WEBPACK_IMPORTED_MODULE_114__["CollationComponent"],
  12497. _components_content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_27__["ContentViewerComponent"],
  12498. _components_damage_damage_component__WEBPACK_IMPORTED_MODULE_28__["DamageComponent"],
  12499. _components_deletion_deletion_component__WEBPACK_IMPORTED_MODULE_29__["DeletionComponent"],
  12500. _components_edition_level_selector_edition_level_selector_component__WEBPACK_IMPORTED_MODULE_30__["EditionLevelSelectorComponent"],
  12501. _components_edition_stmt_edition_stmt_component__WEBPACK_IMPORTED_MODULE_31__["EditionStmtComponent"],
  12502. _directives_editorial_convention_layout_directive__WEBPACK_IMPORTED_MODULE_88__["EditorialConventionLayoutDirective"],
  12503. _components_editorial_decl_editorial_decl_component__WEBPACK_IMPORTED_MODULE_32__["EditorialDeclComponent"],
  12504. _components_encoding_desc_encoding_desc_component__WEBPACK_IMPORTED_MODULE_33__["EncodingDescComponent"],
  12505. _components_entities_select_entities_select_component__WEBPACK_IMPORTED_MODULE_34__["EntitiesSelectComponent"],
  12506. _components_lems_select_lems_select_component__WEBPACK_IMPORTED_MODULE_35__["LemsSelectComponent"],
  12507. _components_iperlems_select_iperlems_select_component__WEBPACK_IMPORTED_MODULE_36__["IperlemsSelectComponent"],
  12508. _evt_info_evt_info_component__WEBPACK_IMPORTED_MODULE_91__["EvtInfoComponent"],
  12509. _components_extent_extent_component__WEBPACK_IMPORTED_MODULE_37__["ExtentComponent"],
  12510. _components_file_desc_file_desc_component__WEBPACK_IMPORTED_MODULE_38__["FileDescComponent"],
  12511. _pipes_filter_pipe__WEBPACK_IMPORTED_MODULE_103__["FilterPipe"],
  12512. _components_gap_gap_component__WEBPACK_IMPORTED_MODULE_40__["GapComponent"],
  12513. _components_g_g_component__WEBPACK_IMPORTED_MODULE_39__["GComponent"],
  12514. _components_generic_element_generic_element_component__WEBPACK_IMPORTED_MODULE_41__["GenericElementComponent"],
  12515. _components_global_lists_global_lists_component__WEBPACK_IMPORTED_MODULE_42__["GlobalListsComponent"],
  12516. _components_specific_lists_specific_lists_component__WEBPACK_IMPORTED_MODULE_43__["SpecificListsComponent"],
  12517. _directives_highlight_directive__WEBPACK_IMPORTED_MODULE_89__["HighlightDirective"],
  12518. _components_history_history_component__WEBPACK_IMPORTED_MODULE_44__["HistoryComponent"],
  12519. _directives_html_attributes_directive__WEBPACK_IMPORTED_MODULE_90__["HtmlAttributesDirective"],
  12520. _pipes_humanize_pipe__WEBPACK_IMPORTED_MODULE_104__["HumanizePipe"],
  12521. _components_identifier_identifier_component__WEBPACK_IMPORTED_MODULE_45__["IdentifierComponent"],
  12522. _panels_image_panel_image_panel_component__WEBPACK_IMPORTED_MODULE_95__["ImagePanelComponent"],
  12523. _view_modes_image_text_image_text_component__WEBPACK_IMPORTED_MODULE_115__["ImageTextComponent"],
  12524. _components_lb_lb_component__WEBPACK_IMPORTED_MODULE_46__["LbComponent"],
  12525. _main_header_main_header_component__WEBPACK_IMPORTED_MODULE_92__["MainHeaderComponent"],
  12526. // MainFooterComponent,
  12527. _main_menu_main_menu_component__WEBPACK_IMPORTED_MODULE_93__["MainMenuComponent"],
  12528. _components_manuscript_thumbnails_viewer_manuscript_thumbnails_viewer_component__WEBPACK_IMPORTED_MODULE_47__["ManuscriptThumbnailsViewerComponent"],
  12529. _components_ms_contents_ms_contents_component__WEBPACK_IMPORTED_MODULE_48__["MsContentsComponent"],
  12530. _components_ms_desc_ms_desc_component__WEBPACK_IMPORTED_MODULE_50__["MsDescComponent"],
  12531. _ui_components_ms_desc_section_ms_desc_section_component__WEBPACK_IMPORTED_MODULE_113__["MsDescSectionComponent"],
  12532. _components_ms_desc_selector_ms_desc_selector_component__WEBPACK_IMPORTED_MODULE_49__["MsDescSelectorComponent"],
  12533. _components_ms_frag_ms_frag_component__WEBPACK_IMPORTED_MODULE_51__["MsFragComponent"],
  12534. _components_ms_frag_ms_frag_component__WEBPACK_IMPORTED_MODULE_51__["MsFragComponent"],
  12535. _components_ms_identifier_ms_identifier_component__WEBPACK_IMPORTED_MODULE_52__["MsIdentifierComponent"],
  12536. _components_ms_item_ms_item_component__WEBPACK_IMPORTED_MODULE_53__["MsItemComponent"],
  12537. _components_ms_part_ms_part_component__WEBPACK_IMPORTED_MODULE_54__["MsPartComponent"],
  12538. _components_named_entities_list_named_entities_list_component__WEBPACK_IMPORTED_MODULE_55__["NamedEntitiesListComponent"],
  12539. _components_named_entity_named_entity_component__WEBPACK_IMPORTED_MODULE_60__["NamedEntityComponent"],
  12540. _components_named_entity_named_entity_detail_named_entity_detail_component__WEBPACK_IMPORTED_MODULE_58__["NamedEntityDetailComponent"],
  12541. _components_named_entity_named_entity_occurrence_named_entity_occurrence_component__WEBPACK_IMPORTED_MODULE_59__["NamedEntityOccurrenceComponent"],
  12542. _components_named_entity_ref_named_entity_ref_component__WEBPACK_IMPORTED_MODULE_56__["NamedEntityRefComponent"],
  12543. _components_named_entity_relation_named_entity_relation_component__WEBPACK_IMPORTED_MODULE_57__["NamedEntityRelationComponent"],
  12544. _components_namespace_namespace_component__WEBPACK_IMPORTED_MODULE_61__["NamespaceComponent"],
  12545. _nav_bar_nav_bar_component__WEBPACK_IMPORTED_MODULE_94__["NavBarComponent"],
  12546. _components_note_note_component__WEBPACK_IMPORTED_MODULE_62__["NoteComponent"],
  12547. _components_notes_stmt_notes_stmt_component__WEBPACK_IMPORTED_MODULE_63__["NotesStmtComponent"],
  12548. _components_original_encoding_viewer_original_encoding_viewer_component__WEBPACK_IMPORTED_MODULE_64__["OriginalEncodingViewerComponent"],
  12549. _components_osd_osd_component__WEBPACK_IMPORTED_MODULE_65__["OsdComponent"],
  12550. _components_page_page_component__WEBPACK_IMPORTED_MODULE_67__["PageComponent"],
  12551. _components_page_selector_page_selector_component__WEBPACK_IMPORTED_MODULE_66__["PageSelectorComponent"],
  12552. _components_paragraph_paragraph_component__WEBPACK_IMPORTED_MODULE_68__["ParagraphComponent"],
  12553. _components_phys_desc_phys_desc_component__WEBPACK_IMPORTED_MODULE_69__["PhysDescComponent"],
  12554. _pinboard_pinboard_component__WEBPACK_IMPORTED_MODULE_101__["PinboardComponent"],
  12555. _panels_pinboard_panel_pinboard_panel_component__WEBPACK_IMPORTED_MODULE_96__["PinboardPanelComponent"],
  12556. _pinboard_pinner_pinner_component__WEBPACK_IMPORTED_MODULE_102__["PinnerComponent"],
  12557. _components_project_desc_project_desc_component__WEBPACK_IMPORTED_MODULE_70__["ProjectDescComponent"],
  12558. _components_project_info_project_info_component__WEBPACK_IMPORTED_MODULE_71__["ProjectInfoComponent"],
  12559. _components_publication_stmt_publication_stmt_component__WEBPACK_IMPORTED_MODULE_72__["PublicationStmtComponent"],
  12560. _components_reading_reading_component__WEBPACK_IMPORTED_MODULE_73__["ReadingComponent"],
  12561. _view_modes_reading_text_reading_text_component__WEBPACK_IMPORTED_MODULE_116__["ReadingTextComponent"],
  12562. _components_rendition_rendition_component__WEBPACK_IMPORTED_MODULE_74__["RenditionComponent"],
  12563. _components_resp_stmt_resp_stmt_component__WEBPACK_IMPORTED_MODULE_75__["RespStmtComponent"],
  12564. _components_sampling_decl_sampling_decl_component__WEBPACK_IMPORTED_MODULE_76__["SamplingDeclComponent"],
  12565. _components_series_stmt_series_stmt_component__WEBPACK_IMPORTED_MODULE_77__["SeriesStmtComponent"],
  12566. _shortcuts_shortcuts_component__WEBPACK_IMPORTED_MODULE_112__["ShortcutsComponent"],
  12567. _components_sic_sic_component__WEBPACK_IMPORTED_MODULE_78__["SicComponent"],
  12568. _panels_sources_panel_sources_panel_component__WEBPACK_IMPORTED_MODULE_97__["SourcesPanelComponent"],
  12569. _pipes_starts_with_pipe__WEBPACK_IMPORTED_MODULE_105__["StartsWithPipe"],
  12570. _components_supplied_supplied_component__WEBPACK_IMPORTED_MODULE_79__["SuppliedComponent"],
  12571. _components_surplus_surplus_component__WEBPACK_IMPORTED_MODULE_80__["SurplusComponent"],
  12572. _components_tags_decl_tags_decl_component__WEBPACK_IMPORTED_MODULE_81__["TagsDeclComponent"],
  12573. _components_text_text_component__WEBPACK_IMPORTED_MODULE_82__["TextComponent"],
  12574. _panels_text_panel_text_panel_component__WEBPACK_IMPORTED_MODULE_98__["TextPanelComponent"],
  12575. _view_modes_text_sources_text_sources_component__WEBPACK_IMPORTED_MODULE_117__["TextSourcesComponent"],
  12576. _view_modes_text_text_text_text_component__WEBPACK_IMPORTED_MODULE_118__["TextTextComponent"],
  12577. _view_modes_text_versions_text_versions_component__WEBPACK_IMPORTED_MODULE_119__["TextVersionsComponent"],
  12578. _components_title_stmt_title_stmt_component__WEBPACK_IMPORTED_MODULE_83__["TitleStmtComponent"],
  12579. _components_verse_verse_component__WEBPACK_IMPORTED_MODULE_84__["VerseComponent"],
  12580. _components_verses_group_verses_group_component__WEBPACK_IMPORTED_MODULE_85__["VersesGroupComponent"],
  12581. _panels_version_panel_version_panel_component__WEBPACK_IMPORTED_MODULE_99__["VersionPanelComponent"],
  12582. _panels_witness_panel_witness_panel_component__WEBPACK_IMPORTED_MODULE_100__["WitnessPanelComponent"],
  12583. _components_word_word_component__WEBPACK_IMPORTED_MODULE_86__["WordComponent"],
  12584. _pipes_xml_beautify_pipe__WEBPACK_IMPORTED_MODULE_106__["XmlBeautifyPipe"],
  12585. _components_lem_entry_lem_entry_component__WEBPACK_IMPORTED_MODULE_120__["LemEntryComponent"],
  12586. _components_lem_entry_lem_entry_detail_lem_entry_detail_component__WEBPACK_IMPORTED_MODULE_121__["LemEntryDetailComponent"],
  12587. _components_lem_entry_lem_entry_readings_lem_entry_readings_component__WEBPACK_IMPORTED_MODULE_122__["LemEntryReadingsComponent"],
  12588. // add by FS
  12589. _components_lemmatized_entities_list_lemmatized_entities_list_component__WEBPACK_IMPORTED_MODULE_123__["LemmatizedEntitiesListComponent"],
  12590. _components_lemmatized_entity_lemmatized_entity_component__WEBPACK_IMPORTED_MODULE_128__["LemmatizedEntityComponent"],
  12591. _components_lemmatized_entity_lemmatized_entity_detail_lemmatized_entity_detail_component__WEBPACK_IMPORTED_MODULE_126__["LemmatizedEntityDetailComponent"],
  12592. _components_lemmatized_entity_lemmatized_entity_occurrence_lemmatized_entity_occurrence_component__WEBPACK_IMPORTED_MODULE_127__["LemmatizedEntityOccurrenceComponent"],
  12593. _components_lemmatized_entity_ref_lemmatized_entity_ref_component__WEBPACK_IMPORTED_MODULE_124__["LemmatizedEntityRefComponent"],
  12594. _components_lemmatized_entity_relation_lemmatized_entity_relation_component__WEBPACK_IMPORTED_MODULE_125__["LemmatizedEntityRelationComponent"],
  12595. ],
  12596. imports: [
  12597. _app_routing_module__WEBPACK_IMPORTED_MODULE_15__["AppRoutingModule"],
  12598. _app_translation_module__WEBPACK_IMPORTED_MODULE_16__["AppTranslationModule"],
  12599. _angular_platform_browser__WEBPACK_IMPORTED_MODULE_6__["BrowserModule"],
  12600. _angular_platform_browser_animations__WEBPACK_IMPORTED_MODULE_7__["BrowserAnimationsModule"],
  12601. ng_dynamic_component__WEBPACK_IMPORTED_MODULE_11__["DynamicAttributesModule"],
  12602. ng_dynamic_component__WEBPACK_IMPORTED_MODULE_11__["DynamicModule"],
  12603. _angular_cdk_experimental_scrolling__WEBPACK_IMPORTED_MODULE_1__["ScrollingModule"],
  12604. _angular_forms__WEBPACK_IMPORTED_MODULE_5__["FormsModule"],
  12605. angular_gridster2__WEBPACK_IMPORTED_MODULE_10__["GridsterModule"],
  12606. _angular_common_http__WEBPACK_IMPORTED_MODULE_3__["HttpClientModule"],
  12607. ng2_handy_syntax_highlighter__WEBPACK_IMPORTED_MODULE_18__["Ng2HandySyntaxHighlighterModule"],
  12608. _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_9__["NgbModule"],
  12609. _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_9__["NgbPopoverModule"],
  12610. _angular_slider_ngx_slider__WEBPACK_IMPORTED_MODULE_0__["NgxSliderModule"],
  12611. ngx_spinner__WEBPACK_IMPORTED_MODULE_12__["NgxSpinnerModule"],
  12612. _angular_router__WEBPACK_IMPORTED_MODULE_14__["RouterModule"].forRoot(routes, { useHash: true, relativeLinkResolution: 'legacy' }),
  12613. _angular_cdk_scrolling__WEBPACK_IMPORTED_MODULE_2__["ScrollingModule"],
  12614. _ui_components_ui_components_module__WEBPACK_IMPORTED_MODULE_13__["UiComponentsModule"],
  12615. ],
  12616. providers: [
  12617. _services_annotator_annotator_service__WEBPACK_IMPORTED_MODULE_107__["AnnotatorService"],
  12618. _app_config__WEBPACK_IMPORTED_MODULE_19__["AppConfig"],
  12619. {
  12620. provide: _angular_core__WEBPACK_IMPORTED_MODULE_4__["APP_INITIALIZER"],
  12621. useFactory: initializeApp,
  12622. deps: [_app_config__WEBPACK_IMPORTED_MODULE_19__["AppConfig"]], multi: true,
  12623. },
  12624. _app_config__WEBPACK_IMPORTED_MODULE_19__["AppConfig"],
  12625. _services_xml_parsers_generic_parser_service__WEBPACK_IMPORTED_MODULE_110__["GenericParserService"],
  12626. _services_idb_service__WEBPACK_IMPORTED_MODULE_108__["IdbService"],
  12627. _services_themes_service__WEBPACK_IMPORTED_MODULE_109__["ThemesService"],
  12628. _services_xml_parsers_xml_parsers__WEBPACK_IMPORTED_MODULE_111__["XMLParsers"],
  12629. ],
  12630. bootstrap: [
  12631. _app_component__WEBPACK_IMPORTED_MODULE_17__["AppComponent"],
  12632. ],
  12633. entryComponents: [
  12634. _components_addition_addition_component__WEBPACK_IMPORTED_MODULE_20__["AdditionComponent"],
  12635. _evt_info_evt_info_component__WEBPACK_IMPORTED_MODULE_91__["EvtInfoComponent"],
  12636. _components_global_lists_global_lists_component__WEBPACK_IMPORTED_MODULE_42__["GlobalListsComponent"],
  12637. _components_specific_lists_specific_lists_component__WEBPACK_IMPORTED_MODULE_43__["SpecificListsComponent"],
  12638. _components_named_entities_list_named_entities_list_component__WEBPACK_IMPORTED_MODULE_55__["NamedEntitiesListComponent"],
  12639. _components_named_entity_named_entity_component__WEBPACK_IMPORTED_MODULE_60__["NamedEntityComponent"],
  12640. _components_named_entity_named_entity_detail_named_entity_detail_component__WEBPACK_IMPORTED_MODULE_58__["NamedEntityDetailComponent"],
  12641. _components_named_entity_ref_named_entity_ref_component__WEBPACK_IMPORTED_MODULE_56__["NamedEntityRefComponent"],
  12642. _components_named_entity_relation_named_entity_relation_component__WEBPACK_IMPORTED_MODULE_57__["NamedEntityRelationComponent"],
  12643. _components_project_info_project_info_component__WEBPACK_IMPORTED_MODULE_71__["ProjectInfoComponent"],
  12644. _shortcuts_shortcuts_component__WEBPACK_IMPORTED_MODULE_112__["ShortcutsComponent"],
  12645. // add by FS
  12646. _components_lemmatized_entities_list_lemmatized_entities_list_component__WEBPACK_IMPORTED_MODULE_123__["LemmatizedEntitiesListComponent"],
  12647. _components_lemmatized_entity_lemmatized_entity_component__WEBPACK_IMPORTED_MODULE_128__["LemmatizedEntityComponent"],
  12648. _components_lemmatized_entity_lemmatized_entity_detail_lemmatized_entity_detail_component__WEBPACK_IMPORTED_MODULE_126__["LemmatizedEntityDetailComponent"],
  12649. _components_lemmatized_entity_ref_lemmatized_entity_ref_component__WEBPACK_IMPORTED_MODULE_124__["LemmatizedEntityRefComponent"],
  12650. _components_lemmatized_entity_relation_lemmatized_entity_relation_component__WEBPACK_IMPORTED_MODULE_125__["LemmatizedEntityRelationComponent"],
  12651. ],
  12652. }]
  12653. }], function () { return [{ type: _fortawesome_angular_fontawesome__WEBPACK_IMPORTED_MODULE_129__["FaIconLibrary"] }]; }, null); })();
  12654. /***/ }),
  12655. /***/ "ZIVV":
  12656. /*!*****************************************************************!*\
  12657. !*** ./src/app/panels/sources-panel/sources-panel.component.ts ***!
  12658. \*****************************************************************/
  12659. /*! exports provided: SourcesPanelComponent */
  12660. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  12661. "use strict";
  12662. __webpack_require__.r(__webpack_exports__);
  12663. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SourcesPanelComponent", function() { return SourcesPanelComponent; });
  12664. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "fXoL");
  12665. /* harmony import */ var _ui_components_panel_panel_component__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../ui-components/panel/panel.component */ "HiHV");
  12666. /* harmony import */ var _directives_annotator_directive__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../directives/annotator.directive */ "STiE");
  12667. class SourcesPanelComponent {
  12668. }
  12669. SourcesPanelComponent.ɵfac = function SourcesPanelComponent_Factory(t) { return new (t || SourcesPanelComponent)(); };
  12670. SourcesPanelComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: SourcesPanelComponent, selectors: [["evt-sources-panel"]], decls: 6, vars: 1, consts: [[3, "secondary"], ["header-left", ""], ["content", "", "evtAnnotator", ""]], template: function SourcesPanelComponent_Template(rf, ctx) { if (rf & 1) {
  12671. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "evt-panel", 0);
  12672. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](1, "div", 1);
  12673. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "div", 2);
  12674. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](3, " Source Text: ");
  12675. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "blockquote");
  12676. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](5, " Lorem ipsum dolor sit amet, consectetur adipisici elit, sed eiusmod tempor incidunt ut labore et dolore magna aliqua. Etiam habebis sem dicantur magna mollis euismod. Plura mihi bona sunt, inclinet, amari petere vellent. ");
  12677. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  12678. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  12679. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  12680. } if (rf & 2) {
  12681. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("secondary", true);
  12682. } }, directives: [_ui_components_panel_panel_component__WEBPACK_IMPORTED_MODULE_1__["PanelComponent"], _directives_annotator_directive__WEBPACK_IMPORTED_MODULE_2__["AnnotatorDirective"]], styles: ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzb3VyY2VzLXBhbmVsLmNvbXBvbmVudC5zY3NzIn0= */"] });
  12683. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](SourcesPanelComponent, [{
  12684. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
  12685. args: [{
  12686. selector: 'evt-sources-panel',
  12687. templateUrl: './sources-panel.component.html',
  12688. styleUrls: ['./sources-panel.component.scss'],
  12689. }]
  12690. }], null, null); })();
  12691. /***/ }),
  12692. /***/ "ZSfi":
  12693. /*!*******************************************************************!*\
  12694. !*** ./src/app/services/xml-parsers/lemmatized-entity-parsers.ts ***!
  12695. \*******************************************************************/
  12696. /*! exports provided: lemmatizedEntitiesListsTagNamesMap, getLemListType, getLemListsToParseTagNames, LemmatizedEntitiesListParser, LemmatizedEntityRefParser, EntityParser, ItemParser, EventParser, EntityInfoParser, RelationParser */
  12697. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  12698. "use strict";
  12699. __webpack_require__.r(__webpack_exports__);
  12700. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "lemmatizedEntitiesListsTagNamesMap", function() { return lemmatizedEntitiesListsTagNamesMap; });
  12701. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getLemListType", function() { return getLemListType; });
  12702. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getLemListsToParseTagNames", function() { return getLemListsToParseTagNames; });
  12703. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "LemmatizedEntitiesListParser", function() { return LemmatizedEntitiesListParser; });
  12704. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "LemmatizedEntityRefParser", function() { return LemmatizedEntityRefParser; });
  12705. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "EntityParser", function() { return EntityParser; });
  12706. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ItemParser", function() { return ItemParser; });
  12707. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "EventParser", function() { return EventParser; });
  12708. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "EntityInfoParser", function() { return EntityInfoParser; });
  12709. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "RelationParser", function() { return RelationParser; });
  12710. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "mrSG");
  12711. /* harmony import */ var src_app_app_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! src/app/app.config */ "aR35");
  12712. /* harmony import */ var ___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! . */ "UAXx");
  12713. /* harmony import */ var _models_evt_models__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../models/evt-models */ "5c0l");
  12714. /* harmony import */ var _utils_dom_utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../utils/dom-utils */ "G9+u");
  12715. /* harmony import */ var _utils_xml_utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../utils/xml-utils */ "JQLQ");
  12716. /* harmony import */ var _basic_parsers__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./basic-parsers */ "bNiN");
  12717. /* harmony import */ var _parser_models__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./parser-models */ "YwZW");
  12718. var LemmatizedEntitiesListParser_1, LemmatizedEntityRefParser_1, ItemParser_1;
  12719. const lemmatizedEntitiesListsTagNamesMap = {
  12720. lemmas: 'list',
  12721. occurrences: 'w[ref], lem[ref]',
  12722. };
  12723. function getLemListType(tagName) {
  12724. console.log(tagName);
  12725. return tagName.toLowerCase();
  12726. }
  12727. function getLemListsToParseTagNames() {
  12728. const neLemListsConfig = src_app_app_config__WEBPACK_IMPORTED_MODULE_1__["AppConfig"].evtSettings.edition.lemmatizedEntitiesLists || {};
  12729. return Object.keys(neLemListsConfig)
  12730. .map((i) => neLemListsConfig[i].enabled ? lemmatizedEntitiesListsTagNamesMap[i] : undefined)
  12731. .filter(ne => !!ne);
  12732. }
  12733. let LemmatizedEntitiesListParser = LemmatizedEntitiesListParser_1 = class LemmatizedEntitiesListParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_6__["EmptyParser"] {
  12734. constructor() {
  12735. super(...arguments);
  12736. this.neLemListsConfig = src_app_app_config__WEBPACK_IMPORTED_MODULE_1__["AppConfig"].evtSettings.edition.lemmatizedEntitiesLists || {};
  12737. this.attributeParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_7__["createParser"])(_basic_parsers__WEBPACK_IMPORTED_MODULE_6__["AttributeParser"], this.genericParse);
  12738. }
  12739. parse(xml) {
  12740. const parsedLemList = {
  12741. type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["LemmatizedEntitiesList"],
  12742. id: xml.getAttribute('xml:id') || Object(_utils_dom_utils__WEBPACK_IMPORTED_MODULE_4__["xpath"])(xml),
  12743. label: '',
  12744. lemmatizedEntityType: getLemListType(xml.tagName),
  12745. content: [],
  12746. sublists: [],
  12747. originalEncoding: xml,
  12748. relations: [],
  12749. description: [],
  12750. attributes: this.attributeParser.parse(xml),
  12751. };
  12752. const relationParse = Object(_parser_models__WEBPACK_IMPORTED_MODULE_7__["createParser"])(RelationParser, this.genericParse);
  12753. xml.childNodes.forEach((child) => {
  12754. if (child.nodeType === 1) {
  12755. switch (child.tagName.toLowerCase()) {
  12756. case 'head':
  12757. parsedLemList.label = Object(_utils_xml_utils__WEBPACK_IMPORTED_MODULE_5__["replaceNewLines"])(child.textContent);
  12758. break;
  12759. case 'desc':
  12760. parsedLemList.description.push(this.genericParse(child));
  12761. break;
  12762. case 'relation':
  12763. if (this.neLemListsConfig.relations.enabled) {
  12764. parsedLemList.relations.push(relationParse.parse(child));
  12765. }
  12766. break;
  12767. case 'listrelation':
  12768. if (this.neLemListsConfig.relations.enabled) {
  12769. child.querySelectorAll('relation').forEach(r => parsedLemList.relations.push(relationParse.parse(r)));
  12770. }
  12771. break;
  12772. default:
  12773. if (getLemListsToParseTagNames().indexOf(child.tagName) >= 0) {
  12774. const subListParser = ___WEBPACK_IMPORTED_MODULE_2__["ParserRegister"].get('evt-lemmatized-entities-list-parser');
  12775. const parsedSubList = subListParser.parse(child);
  12776. parsedLemList.sublists.push(parsedSubList);
  12777. parsedLemList.content = parsedLemList.content.concat(parsedSubList.content);
  12778. parsedLemList.relations = parsedLemList.relations.concat(parsedSubList.relations);
  12779. }
  12780. else {
  12781. parsedLemList.content.push(this.genericParse(child));
  12782. }
  12783. }
  12784. }
  12785. });
  12786. parsedLemList.label = parsedLemList.label || xml.getAttribute('type') || `List of ${parsedLemList.lemmatizedEntityType}`;
  12787. return parsedLemList;
  12788. }
  12789. };
  12790. LemmatizedEntitiesListParser = LemmatizedEntitiesListParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  12791. Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('evt-lemmatized-entities-list-parser', LemmatizedEntitiesListParser_1)
  12792. ], LemmatizedEntitiesListParser);
  12793. let LemmatizedEntityRefParser = LemmatizedEntityRefParser_1 = class LemmatizedEntityRefParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_6__["EmptyParser"] {
  12794. constructor() {
  12795. super(...arguments);
  12796. this.elementParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_7__["createParser"])(_basic_parsers__WEBPACK_IMPORTED_MODULE_6__["GenericElemParser"], this.genericParse);
  12797. this.attributeParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_7__["createParser"])(_basic_parsers__WEBPACK_IMPORTED_MODULE_6__["AttributeParser"], this.genericParse);
  12798. }
  12799. parse(xml) {
  12800. const ref = xml.getAttribute('ref');
  12801. if (!ref) {
  12802. return this.elementParser.parse(xml);
  12803. }
  12804. const neLemTypeMap = {
  12805. w: 'w',
  12806. lemmas: 'w',
  12807. lem: 'lem',
  12808. item: 'item'
  12809. };
  12810. return {
  12811. type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["LemmatizedEntityRef"],
  12812. entityLemId: getLemEntityID(ref),
  12813. entityLemType: neLemTypeMap[xml.tagName],
  12814. path: Object(_utils_dom_utils__WEBPACK_IMPORTED_MODULE_4__["xpath"])(xml),
  12815. content: Object(_parser_models__WEBPACK_IMPORTED_MODULE_7__["parseChildren"])(xml, this.genericParse),
  12816. attributes: this.attributeParser.parse(xml),
  12817. class: xml.tagName.toLowerCase(),
  12818. };
  12819. }
  12820. };
  12821. LemmatizedEntityRefParser = LemmatizedEntityRefParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  12822. Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('evt-lemmatized-entity-parser', LemmatizedEntityRefParser_1)
  12823. ], LemmatizedEntityRefParser);
  12824. // Generic entity parser
  12825. class EntityParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_6__["EmptyParser"] {
  12826. constructor() {
  12827. super(...arguments);
  12828. // TODO: try to refactor subclasses to use a function parameter to get labels
  12829. this.attributeParsers = Object(_parser_models__WEBPACK_IMPORTED_MODULE_7__["createParser"])(_basic_parsers__WEBPACK_IMPORTED_MODULE_6__["AttributeMapParser"], this.genericParse);
  12830. }
  12831. parse(xml) {
  12832. const elId = xml.getAttribute('xml:id') || Object(_utils_dom_utils__WEBPACK_IMPORTED_MODULE_4__["xpath"])(xml);
  12833. const label = Object(_utils_xml_utils__WEBPACK_IMPORTED_MODULE_5__["replaceNewLines"])(xml.textContent) || 'No info';
  12834. const entity = {
  12835. type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["LemmatizedEntity"],
  12836. id: elId,
  12837. sortKey: xml.getAttribute('sortKey') || (label ? label[0] : '') || xml.getAttribute('xml:id') || Object(_utils_dom_utils__WEBPACK_IMPORTED_MODULE_4__["xpath"])(xml),
  12838. originalEncoding: xml,
  12839. label,
  12840. lemmatizedEntityType: this.getEntityType(xml.tagName),
  12841. content: Array.from(xml.children).map((subchild) => this.parseEntityInfo(subchild)),
  12842. attributes: this.attributeParsers.parse(xml),
  12843. };
  12844. return entity;
  12845. }
  12846. parseEntityInfo(xml) {
  12847. return {
  12848. type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["LemmatizedEntityInfo"],
  12849. label: xml.nodeType === 1 ? xml.tagName.toLowerCase() : 'info',
  12850. content: [this.genericParse(xml)],
  12851. attributes: xml.nodeType === 1 ? this.attributeParsers.parse(xml) : {},
  12852. };
  12853. }
  12854. getEntityType(tagName) { return tagName.toLowerCase(); }
  12855. }
  12856. let ItemParser = ItemParser_1 = class ItemParser extends EntityParser {
  12857. parse(xml) {
  12858. return Object.assign(Object.assign({}, super.parse(xml)), { label: this.getLabel(xml) });
  12859. }
  12860. getLabel(xml) {
  12861. const itemElement = xml.querySelector('item');
  12862. const wElement = xml.querySelector('w');
  12863. const lemElement = xml.querySelector('lem');
  12864. let label;
  12865. if (itemElement) {
  12866. label = Object(_utils_xml_utils__WEBPACK_IMPORTED_MODULE_5__["replaceNewLines"])(itemElement.textContent);
  12867. }
  12868. else if (wElement) {
  12869. label = wElement ? `${Object(_utils_xml_utils__WEBPACK_IMPORTED_MODULE_5__["replaceNewLines"])(wElement.textContent)} ` : '';
  12870. }
  12871. else if (lemElement) {
  12872. label = lemElement ? `${Object(_utils_xml_utils__WEBPACK_IMPORTED_MODULE_5__["replaceNewLines"])(lemElement.textContent)} ` : '';
  12873. }
  12874. return label;
  12875. }
  12876. };
  12877. ItemParser = ItemParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  12878. Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('item', ItemParser_1)
  12879. ], ItemParser);
  12880. class EventParser extends EntityParser {
  12881. parse(xml) {
  12882. return Object.assign(Object.assign({}, super.parse(xml)), { label: textLabel('label', xml) });
  12883. }
  12884. getLabel(xml) {
  12885. const eventLabelElement = xml.querySelector('label');
  12886. return (eventLabelElement ? Object(_utils_xml_utils__WEBPACK_IMPORTED_MODULE_5__["replaceNewLines"])(eventLabelElement.textContent) : '') || 'No info';
  12887. }
  12888. }
  12889. class EntityInfoParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_6__["EmptyParser"] {
  12890. constructor() {
  12891. super(...arguments);
  12892. this.attributeParsers = Object(_parser_models__WEBPACK_IMPORTED_MODULE_7__["createParser"])(_basic_parsers__WEBPACK_IMPORTED_MODULE_6__["AttributeParser"], this.genericParse);
  12893. }
  12894. parse(xml) {
  12895. return {
  12896. type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["LemmatizedEntityInfo"],
  12897. label: xml.nodeType === 1 ? xml.tagName.toLowerCase() : 'info',
  12898. content: [this.genericParse(xml)],
  12899. attributes: xml.nodeType === 1 ? this.attributeParsers.parse(xml) : {},
  12900. };
  12901. }
  12902. }
  12903. class RelationParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_6__["EmptyParser"] {
  12904. constructor() {
  12905. super(...arguments);
  12906. this.attributeParsers = Object(_parser_models__WEBPACK_IMPORTED_MODULE_7__["createParser"])(_basic_parsers__WEBPACK_IMPORTED_MODULE_6__["AttributeParser"], this.genericParse);
  12907. this.entityInfoParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_7__["createParser"])(EntityInfoParser, this.genericParse);
  12908. this.textParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_7__["createParser"])(_basic_parsers__WEBPACK_IMPORTED_MODULE_6__["TextParser"], this.genericParse);
  12909. }
  12910. parse(xml) {
  12911. const descriptionEls = xml.querySelectorAll('desc');
  12912. const attributes = this.attributeParsers.parse(xml);
  12913. const { name, type } = attributes;
  12914. const active = xml.getAttribute('active') || ''; // TODO: make get attributes return '' as default?
  12915. const mutual = xml.getAttribute('mutual') || '';
  12916. const passive = xml.getAttribute('passive') || '';
  12917. const relation = {
  12918. type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["Relation"],
  12919. name,
  12920. activeParts: active.replace(/#/g, '').split(' '),
  12921. mutualParts: mutual.replace(/#/g, '').split(' '),
  12922. passiveParts: passive.replace(/#/g, '').split(' '),
  12923. relationType: type,
  12924. attributes,
  12925. content: Array.from(xml.children).map((subchild) => this.entityInfoParser.parse(subchild)),
  12926. description: [],
  12927. };
  12928. if (descriptionEls && descriptionEls.length > 0) {
  12929. descriptionEls.forEach((el) => relation.description.push(this.genericParse(el)));
  12930. }
  12931. else {
  12932. relation.description = [this.textParser.parse(xml)];
  12933. }
  12934. const parentListEl = xml.parentElement.tagName === 'listRelation' ? xml.parentElement : undefined;
  12935. if (parentListEl) {
  12936. relation.relationType = `${(parentListEl.getAttribute('type') || '')} ${(relation.relationType || '')}`.trim();
  12937. }
  12938. return relation;
  12939. }
  12940. }
  12941. function getLemEntityID(ref) { return ref ? ref.replace(/#/g, '') : ''; }
  12942. function textLabel(elemName, xml) {
  12943. const el = xml.querySelector(elemName);
  12944. return (el ? Object(_utils_xml_utils__WEBPACK_IMPORTED_MODULE_5__["replaceNewLines"])(el.textContent) : '') || 'No info';
  12945. }
  12946. /***/ }),
  12947. /***/ "Zey5":
  12948. /*!*******************************************************************!*\
  12949. !*** ./src/app/components/edition-stmt/edition-stmt.component.ts ***!
  12950. \*******************************************************************/
  12951. /*! exports provided: EditionStmtComponent */
  12952. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  12953. "use strict";
  12954. __webpack_require__.r(__webpack_exports__);
  12955. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "EditionStmtComponent", function() { return EditionStmtComponent; });
  12956. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "mrSG");
  12957. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "fXoL");
  12958. /* harmony import */ var _models_evt_models__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../models/evt-models */ "5c0l");
  12959. /* harmony import */ var _services_component_register_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../services/component-register.service */ "d25s");
  12960. /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/common */ "ofXK");
  12961. /* harmony import */ var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../content-viewer/content-viewer.component */ "t6RO");
  12962. /* harmony import */ var _ui_components_header_section_header_section_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../ui-components/header-section/header-section.component */ "iRdJ");
  12963. function EditionStmtComponent_ng_container_1_ng_container_1_Template(rf, ctx) { if (rf & 1) {
  12964. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0);
  12965. } }
  12966. function EditionStmtComponent_ng_container_1_ng_container_2_Template(rf, ctx) { if (rf & 1) {
  12967. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0);
  12968. } }
  12969. const _c0 = function (a1) { return { label: "edition", items: a1, class: "edition" }; };
  12970. const _c1 = function (a1) { return { label: "responsibles", items: a1, class: "principal" }; };
  12971. function EditionStmtComponent_ng_container_1_Template(rf, ctx) { if (rf & 1) {
  12972. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
  12973. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, EditionStmtComponent_ng_container_1_ng_container_1_Template, 1, 0, "ng-container", 4);
  12974. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, EditionStmtComponent_ng_container_1_ng_container_2_Template, 1, 0, "ng-container", 4);
  12975. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
  12976. } if (rf & 2) {
  12977. const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  12978. const _r2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵreference"](4);
  12979. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  12980. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r2)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](4, _c0, ctx_r0.data == null ? null : ctx_r0.data.edition));
  12981. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  12982. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r2)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](6, _c1, ctx_r0.data == null ? null : ctx_r0.data.respStmt));
  12983. } }
  12984. function EditionStmtComponent_ng_container_2_evt_content_viewer_1_Template(rf, ctx) { if (rf & 1) {
  12985. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 6);
  12986. } if (rf & 2) {
  12987. const element_r7 = ctx.$implicit;
  12988. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", element_r7);
  12989. } }
  12990. function EditionStmtComponent_ng_container_2_Template(rf, ctx) { if (rf & 1) {
  12991. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
  12992. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, EditionStmtComponent_ng_container_2_evt_content_viewer_1_Template, 1, 1, "evt-content-viewer", 5);
  12993. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
  12994. } if (rf & 2) {
  12995. const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  12996. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  12997. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r1.data == null ? null : ctx_r1.data.content);
  12998. } }
  12999. function EditionStmtComponent_ng_template_3_evt_header_section_0_evt_content_viewer_2_Template(rf, ctx) { if (rf & 1) {
  13000. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 6);
  13001. } if (rf & 2) {
  13002. const item_r13 = ctx.$implicit;
  13003. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", item_r13);
  13004. } }
  13005. function EditionStmtComponent_ng_template_3_evt_header_section_0_Template(rf, ctx) { if (rf & 1) {
  13006. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "evt-header-section", 8);
  13007. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "div", 9);
  13008. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, EditionStmtComponent_ng_template_3_evt_header_section_0_evt_content_viewer_2_Template, 1, 1, "evt-content-viewer", 5);
  13009. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  13010. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  13011. } if (rf & 2) {
  13012. const ctx_r14 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  13013. const label_r8 = ctx_r14.label;
  13014. const class_r10 = ctx_r14.class;
  13015. const items_r9 = ctx_r14.items;
  13016. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", label_r8)("inlineLabel", true)("additionalClass", class_r10);
  13017. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  13018. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", items_r9);
  13019. } }
  13020. function EditionStmtComponent_ng_template_3_Template(rf, ctx) { if (rf & 1) {
  13021. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](0, EditionStmtComponent_ng_template_3_evt_header_section_0_Template, 3, 4, "evt-header-section", 7);
  13022. } if (rf & 2) {
  13023. const items_r9 = ctx.items;
  13024. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", (items_r9 == null ? null : items_r9.length) > 0);
  13025. } }
  13026. let EditionStmtComponent = class EditionStmtComponent {
  13027. };
  13028. EditionStmtComponent.ɵfac = function EditionStmtComponent_Factory(t) { return new (t || EditionStmtComponent)(); };
  13029. EditionStmtComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({ type: EditionStmtComponent, selectors: [["evt-edition-stmt"]], inputs: { data: "data" }, decls: 5, vars: 2, consts: [[3, "ngSwitch"], [4, "ngSwitchCase"], [4, "ngSwitchDefault"], ["section", ""], [4, "ngTemplateOutlet", "ngTemplateOutletContext"], [3, "content", 4, "ngFor", "ngForOf"], [3, "content"], [3, "label", "inlineLabel", "additionalClass", 4, "ngIf"], [3, "label", "inlineLabel", "additionalClass"], ["content", ""]], template: function EditionStmtComponent_Template(rf, ctx) { if (rf & 1) {
  13030. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0, 0);
  13031. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, EditionStmtComponent_ng_container_1_Template, 3, 8, "ng-container", 1);
  13032. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, EditionStmtComponent_ng_container_2_Template, 2, 1, "ng-container", 2);
  13033. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
  13034. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, EditionStmtComponent_ng_template_3_Template, 1, 1, "ng-template", null, 3, _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplateRefExtractor"]);
  13035. } if (rf & 2) {
  13036. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngSwitch", ctx.data == null ? null : ctx.data.structuredData);
  13037. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  13038. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngSwitchCase", true);
  13039. } }, directives: [_angular_common__WEBPACK_IMPORTED_MODULE_4__["NgSwitch"], _angular_common__WEBPACK_IMPORTED_MODULE_4__["NgSwitchCase"], _angular_common__WEBPACK_IMPORTED_MODULE_4__["NgSwitchDefault"], _angular_common__WEBPACK_IMPORTED_MODULE_4__["NgTemplateOutlet"], _angular_common__WEBPACK_IMPORTED_MODULE_4__["NgForOf"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_5__["ContentViewerComponent"], _angular_common__WEBPACK_IMPORTED_MODULE_4__["NgIf"], _ui_components_header_section_header_section_component__WEBPACK_IMPORTED_MODULE_6__["HeaderSectionComponent"]], styles: [".main-section-title[_ngcontent-%COMP%] {\n border-bottom: 1px dotted #666;\n margin-bottom: 5px;\n font-variant: small-caps;\n color: #000;\n font-size: 1.2rem;\n display: block;\n margin-top: 14px;\n text-align: left;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2VkaXRpb24tc3RtdC5jb21wb25lbnQuc2NzcyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2Fzc2V0cy9zY3NzL19taXhpbnMuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFQTtFQzJGRSw4QkFBQTtFQUNBLGtCQUFBO0VBQ0Esd0JBQUE7RUFDQSxXQUFBO0VBQ0EsaUJBQUE7RUFDQSxjQUFBO0VBQ0EsZ0JBQUE7RUFDQSxnQkFBQTtBRDNGRiIsImZpbGUiOiJlZGl0aW9uLXN0bXQuY29tcG9uZW50LnNjc3MiLCJzb3VyY2VzQ29udGVudCI6WyJAaW1wb3J0ICcuLi8uLi8uLi9hc3NldHMvc2Nzcy9taXhpbnMnO1xuXG4ubWFpbi1zZWN0aW9uLXRpdGxlIHtcbiAgICBAaW5jbHVkZSBoZWFkZXJTZWN0aW9uVGl0bGUoKVxufSIsIi8vIC8vLy8vLy8vLy8vLy8vLy8vLyAvL1xuLy8gR0xPQkFMIFNDU1MgTUlYSU5TIC8vXG4vLyAvLy8vLy8vLy8vLy8vLy8vLy8gLy9cblxuLy8gU2V0IGNhbGN1bGF0ZWQgcHJvcGVydHlcbkBtaXhpbiBjYWxjKCRwcm9wZXJ0eSwgJGV4cHJlc3Npb24sICRpbXBvcnRhbnQ6XCJcIikge1xuICAjeyR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JsZW1tYXRpemVkRW50aXR5UmVmQ29sb3JzKCRjb2xvci1iYXNlLCAkY29sb3ItbWlkZGxlLCAkY29sb3ItZGFya2VyKSB7XG4gIGJhY2tncm91bmQ6ICRjb2xvci1iYXNlO1xuICBib3JkZXItYm90dG9tLWNvbG9yOiAkY29sb3ItbWlkZGxlO1xuXG4gICYuYWN0aXZlIHtcbiAgICBiYWNrZ3JvdW5kLWNvbG9yOiAkY29sb3ItbWlkZGxlO1xuICAgIGJvcmRlci1yaWdodC1jb2xvcjogJGNvbG9yLW1pZGRsZTtcblxuICAgICY6bm90KDpmaXJzdC1jaGlsZCkge1xuICAgICAgYm9yZGVyLWxlZnQtY29sb3I6ICRjb2xvci1taWRkbGU7XG4gICAgfVxuICB9XG5cbiAgJjpob3ZlciB7XG4gICAgYmFja2dyb3VuZC1jb2xvcjogJGNvbG9yLW1pZGRsZTtcbiAgfVxufVxuXG5cbkBtaXhpbiBoZWFkZXJTZWN0aW9uVGl0bGUoKSB7XG4gIGJvcmRlci1ib3R0b206IDFweCBkb3R0ZWQgIzY2NjtcbiAgbWFyZ2luLWJvdHRvbTogNXB4O1xuICBmb250LXZhcmlhbnQ6IHNtYWxsLWNhcHM7XG4gIGNvbG9yOiAjMDAwO1xuICBmb250LXNpemU6IDEuMnJlbTtcbiAgZGlzcGxheTogYmxvY2s7XG4gIG1hcmdpbi10b3A6IDE0cHg7XG4gIHRleHQtYWxpZ246IGxlZnQ7XG59Il19 */"] });
  13040. EditionStmtComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  13041. Object(_services_component_register_service__WEBPACK_IMPORTED_MODULE_3__["register"])(_models_evt_models__WEBPACK_IMPORTED_MODULE_2__["EditionStmt"])
  13042. ], EditionStmtComponent);
  13043. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](EditionStmtComponent, [{
  13044. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
  13045. args: [{
  13046. selector: 'evt-edition-stmt',
  13047. templateUrl: './edition-stmt.component.html',
  13048. styleUrls: ['./edition-stmt.component.scss'],
  13049. }]
  13050. }], null, { data: [{
  13051. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
  13052. }] }); })();
  13053. /***/ }),
  13054. /***/ "ZiLK":
  13055. /*!*********************************************************!*\
  13056. !*** ./src/app/components/ms-desc/ms-desc.component.ts ***!
  13057. \*********************************************************/
  13058. /*! exports provided: MsDescComponent */
  13059. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  13060. "use strict";
  13061. __webpack_require__.r(__webpack_exports__);
  13062. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MsDescComponent", function() { return MsDescComponent; });
  13063. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "mrSG");
  13064. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "fXoL");
  13065. /* harmony import */ var _models_evt_models__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../models/evt-models */ "5c0l");
  13066. /* harmony import */ var _services_component_register_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../services/component-register.service */ "d25s");
  13067. /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/common */ "ofXK");
  13068. /* harmony import */ var _ui_components_ms_desc_section_ms_desc_section_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../ui-components/ms-desc-section/ms-desc-section.component */ "WyXU");
  13069. /* harmony import */ var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../content-viewer/content-viewer.component */ "t6RO");
  13070. /* harmony import */ var _ms_identifier_ms_identifier_component__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../ms-identifier/ms-identifier.component */ "Ie87");
  13071. /* harmony import */ var _ms_contents_ms_contents_component__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../ms-contents/ms-contents.component */ "xQyG");
  13072. /* harmony import */ var _phys_desc_phys_desc_component__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../phys-desc/phys-desc.component */ "xZwa");
  13073. /* harmony import */ var _history_history_component__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../history/history.component */ "6qKx");
  13074. /* harmony import */ var _additional_additional_component__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../additional/additional.component */ "uIHG");
  13075. /* harmony import */ var _ms_frag_ms_frag_component__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../ms-frag/ms-frag.component */ "6n9f");
  13076. /* harmony import */ var _ms_part_ms_part_component__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../ms-part/ms-part.component */ "HFpj");
  13077. function MsDescComponent_div_0_evt_content_viewer_4_Template(rf, ctx) { if (rf & 1) {
  13078. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 9);
  13079. } if (rf & 2) {
  13080. const par_r10 = ctx.$implicit;
  13081. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", par_r10);
  13082. } }
  13083. function MsDescComponent_div_0_Template(rf, ctx) { if (rf & 1) {
  13084. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 4);
  13085. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "div", 5);
  13086. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](2, "evt-ms-desc-section", 6);
  13087. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  13088. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](3, "div", 7);
  13089. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, MsDescComponent_div_0_evt_content_viewer_4_Template, 1, 1, "evt-content-viewer", 8);
  13090. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  13091. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  13092. } if (rf & 2) {
  13093. const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  13094. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  13095. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "summary")("inlineLabel", true);
  13096. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  13097. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r0.data.pEl);
  13098. } }
  13099. function MsDescComponent_ng_container_1_div_1_ng_container_4_evt_content_viewer_1_Template(rf, ctx) { if (rf & 1) {
  13100. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 9);
  13101. } if (rf & 2) {
  13102. const title_r20 = ctx.$implicit;
  13103. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", title_r20);
  13104. } }
  13105. function MsDescComponent_ng_container_1_div_1_ng_container_4_span_2_Template(rf, ctx) { if (rf & 1) {
  13106. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span");
  13107. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1, ", ");
  13108. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  13109. } }
  13110. const _c0 = function (a0) { return [a0]; };
  13111. function MsDescComponent_ng_container_1_div_1_ng_container_4_Template(rf, ctx) { if (rf & 1) {
  13112. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
  13113. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, MsDescComponent_ng_container_1_div_1_ng_container_4_evt_content_viewer_1_Template, 1, 1, "evt-content-viewer", 8);
  13114. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, MsDescComponent_ng_container_1_div_1_ng_container_4_span_2_Template, 2, 0, "span", 1);
  13115. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
  13116. } if (rf & 2) {
  13117. const titles_r16 = ctx.$implicit;
  13118. const i_r17 = ctx.index;
  13119. const head_r11 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2).ngIf;
  13120. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  13121. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", titles_r16);
  13122. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  13123. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", i_r17 < _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](2, _c0, head_r11.title.length - 1));
  13124. } }
  13125. function MsDescComponent_ng_container_1_div_1_Template(rf, ctx) { if (rf & 1) {
  13126. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 4);
  13127. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "div", 5);
  13128. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](2, "evt-ms-desc-section", 6);
  13129. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  13130. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](3, "div", 7);
  13131. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, MsDescComponent_ng_container_1_div_1_ng_container_4_Template, 3, 4, "ng-container", 3);
  13132. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  13133. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  13134. } if (rf & 2) {
  13135. const head_r11 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]().ngIf;
  13136. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  13137. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "title")("inlineLabel", true);
  13138. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  13139. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", head_r11.title);
  13140. } }
  13141. function MsDescComponent_ng_container_1_div_2_Template(rf, ctx) { if (rf & 1) {
  13142. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 4);
  13143. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "div", 5);
  13144. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](2, "evt-ms-desc-section", 6);
  13145. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  13146. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](3, "div", 7);
  13147. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](4, "evt-content-viewer", 9);
  13148. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  13149. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  13150. } if (rf & 2) {
  13151. const head_r11 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]().ngIf;
  13152. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  13153. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "origPlace")("inlineLabel", true);
  13154. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  13155. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", head_r11.origPlace);
  13156. } }
  13157. function MsDescComponent_ng_container_1_div_3_Template(rf, ctx) { if (rf & 1) {
  13158. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 4);
  13159. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "div", 5);
  13160. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](2, "evt-ms-desc-section", 6);
  13161. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  13162. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](3, "div", 7);
  13163. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](4, "evt-content-viewer", 9);
  13164. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  13165. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  13166. } if (rf & 2) {
  13167. const head_r11 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]().ngIf;
  13168. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  13169. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "origDate")("inlineLabel", true);
  13170. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  13171. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", head_r11.origDate);
  13172. } }
  13173. function MsDescComponent_ng_container_1_Template(rf, ctx) { if (rf & 1) {
  13174. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
  13175. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, MsDescComponent_ng_container_1_div_1_Template, 5, 3, "div", 0);
  13176. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, MsDescComponent_ng_container_1_div_2_Template, 5, 3, "div", 0);
  13177. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, MsDescComponent_ng_container_1_div_3_Template, 5, 3, "div", 0);
  13178. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
  13179. } if (rf & 2) {
  13180. const head_r11 = ctx.ngIf;
  13181. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  13182. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", (head_r11.title == null ? null : head_r11.title.length) > 0);
  13183. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  13184. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", head_r11.origPlace);
  13185. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  13186. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", head_r11.origDate);
  13187. } }
  13188. function MsDescComponent_evt_ms_identifier_2_Template(rf, ctx) { if (rf & 1) {
  13189. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-ms-identifier", 10);
  13190. } if (rf & 2) {
  13191. const ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  13192. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("data", ctx_r2.data.msIdentifier);
  13193. } }
  13194. function MsDescComponent_evt_ms_contents_3_Template(rf, ctx) { if (rf & 1) {
  13195. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-ms-contents", 10);
  13196. } if (rf & 2) {
  13197. const ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  13198. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("data", ctx_r3.data.msContents);
  13199. } }
  13200. function MsDescComponent_evt_phys_desc_4_Template(rf, ctx) { if (rf & 1) {
  13201. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-phys-desc", 10);
  13202. } if (rf & 2) {
  13203. const ctx_r4 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  13204. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("data", ctx_r4.data.physDesc);
  13205. } }
  13206. function MsDescComponent_evt_history_5_Template(rf, ctx) { if (rf & 1) {
  13207. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-history", 10);
  13208. } if (rf & 2) {
  13209. const ctx_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  13210. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("data", ctx_r5.data.history);
  13211. } }
  13212. function MsDescComponent_evt_additional_6_Template(rf, ctx) { if (rf & 1) {
  13213. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-additional", 10);
  13214. } if (rf & 2) {
  13215. const ctx_r6 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  13216. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("data", ctx_r6.data.additional);
  13217. } }
  13218. function MsDescComponent_ng_container_7_Template(rf, ctx) { if (rf & 1) {
  13219. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
  13220. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](1, "evt-ms-frag", 10);
  13221. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
  13222. } if (rf & 2) {
  13223. const frag_r25 = ctx.$implicit;
  13224. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  13225. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("data", frag_r25);
  13226. } }
  13227. function MsDescComponent_ng_container_8_Template(rf, ctx) { if (rf & 1) {
  13228. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
  13229. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](1, "evt-ms-part", 10);
  13230. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
  13231. } if (rf & 2) {
  13232. const part_r26 = ctx.$implicit;
  13233. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  13234. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("data", part_r26);
  13235. } }
  13236. let MsDescComponent = class MsDescComponent {
  13237. };
  13238. MsDescComponent.ɵfac = function MsDescComponent_Factory(t) { return new (t || MsDescComponent)(); };
  13239. MsDescComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({ type: MsDescComponent, selectors: [["evt-ms-desc"]], inputs: { data: "data" }, decls: 9, vars: 9, consts: [["class", "flex-container", 4, "ngIf"], [4, "ngIf"], [3, "data", 4, "ngIf"], [4, "ngFor", "ngForOf"], [1, "flex-container"], [1, "flex-item-label"], [3, "label", "inlineLabel"], [1, "flex-item-information"], [3, "content", 4, "ngFor", "ngForOf"], [3, "content"], [3, "data"]], template: function MsDescComponent_Template(rf, ctx) { if (rf & 1) {
  13240. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](0, MsDescComponent_div_0_Template, 5, 3, "div", 0);
  13241. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, MsDescComponent_ng_container_1_Template, 4, 3, "ng-container", 1);
  13242. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, MsDescComponent_evt_ms_identifier_2_Template, 1, 1, "evt-ms-identifier", 2);
  13243. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, MsDescComponent_evt_ms_contents_3_Template, 1, 1, "evt-ms-contents", 2);
  13244. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, MsDescComponent_evt_phys_desc_4_Template, 1, 1, "evt-phys-desc", 2);
  13245. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](5, MsDescComponent_evt_history_5_Template, 1, 1, "evt-history", 2);
  13246. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](6, MsDescComponent_evt_additional_6_Template, 1, 1, "evt-additional", 2);
  13247. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](7, MsDescComponent_ng_container_7_Template, 2, 1, "ng-container", 3);
  13248. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](8, MsDescComponent_ng_container_8_Template, 2, 1, "ng-container", 3);
  13249. } if (rf & 2) {
  13250. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", (ctx.data == null ? null : ctx.data.pEl.length) > 0);
  13251. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  13252. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data == null ? null : ctx.data.head);
  13253. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  13254. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data == null ? null : ctx.data.msIdentifier);
  13255. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  13256. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data == null ? null : ctx.data.msContents);
  13257. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  13258. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data == null ? null : ctx.data.physDesc);
  13259. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  13260. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data == null ? null : ctx.data.history);
  13261. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  13262. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data == null ? null : ctx.data.additional);
  13263. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  13264. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx.data == null ? null : ctx.data.msFrags);
  13265. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  13266. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx.data == null ? null : ctx.data.msParts);
  13267. } }, directives: [_angular_common__WEBPACK_IMPORTED_MODULE_4__["NgIf"], _angular_common__WEBPACK_IMPORTED_MODULE_4__["NgForOf"], _ui_components_ms_desc_section_ms_desc_section_component__WEBPACK_IMPORTED_MODULE_5__["MsDescSectionComponent"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_6__["ContentViewerComponent"], _ms_identifier_ms_identifier_component__WEBPACK_IMPORTED_MODULE_7__["MsIdentifierComponent"], _ms_contents_ms_contents_component__WEBPACK_IMPORTED_MODULE_8__["MsContentsComponent"], _phys_desc_phys_desc_component__WEBPACK_IMPORTED_MODULE_9__["PhysDescComponent"], _history_history_component__WEBPACK_IMPORTED_MODULE_10__["HistoryComponent"], _additional_additional_component__WEBPACK_IMPORTED_MODULE_11__["AdditionalComponent"], _ms_frag_ms_frag_component__WEBPACK_IMPORTED_MODULE_12__["MsFragComponent"], _ms_part_ms_part_component__WEBPACK_IMPORTED_MODULE_13__["MsPartComponent"]], styles: [".flex-container[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n}\n\n.flex-item-label[_ngcontent-%COMP%] {\n flex-basis: 100%;\n}\n\n.flex-item-information[_ngcontent-%COMP%] {\n flex-basis: 100%;\n margin-bottom: 0.7rem;\n}\n\n@media (min-width: 500px) {\n .flex-item-label[_ngcontent-%COMP%] {\n flex-basis: 20%;\n }\n\n .flex-item-information[_ngcontent-%COMP%] {\n flex-basis: 80%;\n }\n}\n\n@media (min-width: 640px) {\n .flex-item-label[_ngcontent-%COMP%] {\n flex-basis: 100%;\n }\n\n .flex-item-information[_ngcontent-%COMP%] {\n flex-basis: 100%;\n }\n}\n\n@media (min-width: 1000px) {\n .flex-item-label[_ngcontent-%COMP%] {\n flex-basis: 20%;\n }\n\n .flex-item-information[_ngcontent-%COMP%] {\n flex-basis: 80%;\n }\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL21zLWRlc2MuY29tcG9uZW50LnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7RUFDSSxhQUFBO0VBQ0EsbUJBQUE7RUFDQSxlQUFBO0FBQ0o7O0FBRUE7RUFDSSxnQkFBQTtBQUNKOztBQUVBO0VBQ0ksZ0JBQUE7RUFDQSxxQkFBQTtBQUNKOztBQUVBO0VBQ0k7SUFDSSxlQUFBO0VBQ047O0VBRUU7SUFDSSxlQUFBO0VBQ047QUFDRjs7QUFFQTtFQUNJO0lBQ0ksZ0JBQUE7RUFBTjs7RUFHRTtJQUNJLGdCQUFBO0VBQU47QUFDRjs7QUFHQTtFQUNJO0lBQ0ksZUFBQTtFQUROOztFQUlFO0lBQ0ksZUFBQTtFQUROO0FBQ0YiLCJmaWxlIjoibXMtZGVzYy5jb21wb25lbnQuc2NzcyIsInNvdXJjZXNDb250ZW50IjpbIi5mbGV4LWNvbnRhaW5lciB7XG4gICAgZGlzcGxheTogZmxleDtcbiAgICBmbGV4LWRpcmVjdGlvbjogcm93O1xuICAgIGZsZXgtd3JhcDogd3JhcDtcbn1cblxuLmZsZXgtaXRlbS1sYWJlbCB7XG4gICAgZmxleC1iYXNpczogMTAwJTtcbn1cblxuLmZsZXgtaXRlbS1pbmZvcm1hdGlvbiB7XG4gICAgZmxleC1iYXNpczogMTAwJTtcbiAgICBtYXJnaW4tYm90dG9tOiAwLjdyZW07XG59XG5cbkBtZWRpYSAobWluLXdpZHRoOiA1MDBweCkgeyBcbiAgICAuZmxleC1pdGVtLWxhYmVsIHtcbiAgICAgICAgZmxleC1iYXNpczogMjAlO1xuICAgICAgfVxuICAgICAgXG4gICAgLmZsZXgtaXRlbS1pbmZvcm1hdGlvbiB7XG4gICAgICAgIGZsZXgtYmFzaXM6IDgwJTtcbiAgICB9XG59XG5cbkBtZWRpYSAobWluLXdpZHRoOiA2NDBweCkgeyBcbiAgICAuZmxleC1pdGVtLWxhYmVsIHtcbiAgICAgICAgZmxleC1iYXNpczogMTAwJTtcbiAgICB9XG5cbiAgICAuZmxleC1pdGVtLWluZm9ybWF0aW9uIHtcbiAgICAgICAgZmxleC1iYXNpczoxMDAlXG4gICAgfVxuIH1cblxuQG1lZGlhIChtaW4td2lkdGg6IDEwMDBweCkgeyBcbiAgICAuZmxleC1pdGVtLWxhYmVsIHtcbiAgICAgICAgZmxleC1iYXNpczogMjAlO1xuICAgIH1cbiAgICAgIFxuICAgIC5mbGV4LWl0ZW0taW5mb3JtYXRpb24ge1xuICAgICAgICBmbGV4LWJhc2lzOiA4MCU7XG4gICAgfVxufVxuXG5cblxuIl19 */"] });
  13268. MsDescComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  13269. Object(_services_component_register_service__WEBPACK_IMPORTED_MODULE_3__["register"])(_models_evt_models__WEBPACK_IMPORTED_MODULE_2__["MsDesc"])
  13270. ], MsDescComponent);
  13271. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](MsDescComponent, [{
  13272. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
  13273. args: [{
  13274. selector: 'evt-ms-desc',
  13275. templateUrl: './ms-desc.component.html',
  13276. styleUrls: ['./ms-desc.component.scss'],
  13277. }]
  13278. }], null, { data: [{
  13279. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
  13280. }] }); })();
  13281. /***/ }),
  13282. /***/ "aK5T":
  13283. /*!*************************************************************************************!*\
  13284. !*** ./src/app/components/lemmatized-entity-ref/lemmatized-entity-ref.component.ts ***!
  13285. \*************************************************************************************/
  13286. /*! exports provided: LemmatizedEntityRefComponent */
  13287. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  13288. "use strict";
  13289. __webpack_require__.r(__webpack_exports__);
  13290. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "LemmatizedEntityRefComponent", function() { return LemmatizedEntityRefComponent; });
  13291. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "mrSG");
  13292. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "fXoL");
  13293. /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs/operators */ "kU1M");
  13294. /* harmony import */ var _models_evt_models__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../models/evt-models */ "5c0l");
  13295. /* harmony import */ var _services_component_register_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../services/component-register.service */ "d25s");
  13296. /* harmony import */ var _services_evt_status_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../services/evt-status.service */ "7Ht4");
  13297. /* harmony import */ var _services_evt_model_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../services/evt-model.service */ "hI0h");
  13298. /* harmony import */ var _services_lems_select_service__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../services/lems-select.service */ "Z5dB");
  13299. /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @angular/common */ "ofXK");
  13300. /* harmony import */ var _directives_highlight_directive__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../directives/highlight.directive */ "CmGG");
  13301. /* harmony import */ var _directives_html_attributes_directive__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../directives/html-attributes.directive */ "0Bbq");
  13302. /* harmony import */ var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../content-viewer/content-viewer.component */ "t6RO");
  13303. /* harmony import */ var _lemmatized_entity_lemmatized_entity_component__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../lemmatized-entity/lemmatized-entity.component */ "n4Hk");
  13304. /* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @ngx-translate/core */ "sYmb");
  13305. function LemmatizedEntityRefComponent_evt_content_viewer_6_Template(rf, ctx) { if (rf & 1) {
  13306. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 3);
  13307. } if (rf & 2) {
  13308. const element_r2 = ctx.$implicit;
  13309. const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  13310. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", element_r2)("editionLevel", ctx_r0.editionLevel)("itemsLemsToHighlight", ctx_r0.itemsLemsToHighlight)("itemsIperlemsToHighlight", ctx_r0.itemsIperlemsToHighlight)("textFlow", ctx_r0.textFlow);
  13311. } }
  13312. function LemmatizedEntityRefComponent_ng_container_7_div_1_ng_container_1_span_1_Template(rf, ctx) { if (rf & 1) {
  13313. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 9);
  13314. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1);
  13315. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](2, "translate");
  13316. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  13317. } if (rf & 2) {
  13318. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  13319. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](2, 1, "entityNotFound"));
  13320. } }
  13321. function LemmatizedEntityRefComponent_ng_container_7_div_1_ng_container_1_evt_lemmatized_entity_2_Template(rf, ctx) { if (rf & 1) {
  13322. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-lemmatized-entity", 10);
  13323. } if (rf & 2) {
  13324. const entity_r7 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]().ngIf;
  13325. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("inList", true)("data", entity_r7);
  13326. } }
  13327. function LemmatizedEntityRefComponent_ng_container_7_div_1_ng_container_1_Template(rf, ctx) { if (rf & 1) {
  13328. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
  13329. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, LemmatizedEntityRefComponent_ng_container_7_div_1_ng_container_1_span_1_Template, 3, 3, "span", 7);
  13330. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, LemmatizedEntityRefComponent_ng_container_7_div_1_ng_container_1_evt_lemmatized_entity_2_Template, 1, 2, "evt-lemmatized-entity", 8);
  13331. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
  13332. } if (rf & 2) {
  13333. const entity_r7 = ctx.ngIf;
  13334. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  13335. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", entity_r7 === "notFound");
  13336. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  13337. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", entity_r7 !== "notFound");
  13338. } }
  13339. function LemmatizedEntityRefComponent_ng_container_7_div_1_ng_template_3_Template(rf, ctx) { if (rf & 1) {
  13340. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](0, "Loading...");
  13341. } }
  13342. function LemmatizedEntityRefComponent_ng_container_7_div_1_Template(rf, ctx) { if (rf & 1) {
  13343. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div");
  13344. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, LemmatizedEntityRefComponent_ng_container_7_div_1_ng_container_1_Template, 3, 2, "ng-container", 5);
  13345. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](2, "async");
  13346. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, LemmatizedEntityRefComponent_ng_container_7_div_1_ng_template_3_Template, 1, 0, "ng-template", null, 6, _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplateRefExtractor"]);
  13347. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  13348. } if (rf & 2) {
  13349. const _r5 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵreference"](4);
  13350. const ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
  13351. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵclassMapInterpolate1"]("lemmatizedEntityRefDetail ", ctx_r3.data.entityLemType, "");
  13352. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  13353. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](2, 5, ctx_r3.entity$))("ngIfElse", _r5);
  13354. } }
  13355. function LemmatizedEntityRefComponent_ng_container_7_Template(rf, ctx) { if (rf & 1) {
  13356. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
  13357. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, LemmatizedEntityRefComponent_ng_container_7_div_1_Template, 5, 7, "div", 4);
  13358. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
  13359. } if (rf & 2) {
  13360. const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  13361. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  13362. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx_r1.opened);
  13363. } }
  13364. const _c0 = function (a0, a1, a2) { return { opened: a0, lemmaHighlight: a1, noDetails: a2 }; };
  13365. const _c1 = function (a0, a1, a2) { return { opened: a0, iperlemmaHighlight: a1, noDetails: a2 }; };
  13366. let LemmatizedEntityRefComponent = class LemmatizedEntityRefComponent {
  13367. constructor(evtStatusService, evtModelService, lemsSelectService) {
  13368. this.evtStatusService = evtStatusService;
  13369. this.evtModelService = evtModelService;
  13370. this.lemsSelectService = lemsSelectService;
  13371. this.availableLemEntities$ = this.evtModelService.lemmatizedEntities$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(ne => ne.all.lementities.length > 0));
  13372. // entity$ = this.evtModelService.lemmatizedEntities$.pipe(
  13373. // map(ne => ne.all.lementities.find(e => e.id === this.data.entityLemId) || 'notFound'),
  13374. // );
  13375. this.entity$ = this.evtModelService.lemmatizedEntities$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(ne => ne.all.lementities.find(e => e.id === this.data.entityLemId) || 'notFound'));
  13376. this.highlighted$ = this.lemsSelectService.selectedLemsItems$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["tap"])(items => {
  13377. if (this.data) {
  13378. this.data.class = this.data.class || '';
  13379. this.data.attributes = this.data.attributes || {};
  13380. }
  13381. return items;
  13382. }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(items => items.some(i => i && this.data &&
  13383. this.lemsSelectService.matchClassAndAttributes(i.value, this.data.attributes, this.data.class))));
  13384. this.opened = false;
  13385. }
  13386. toggleLemEntityData(event) {
  13387. event.stopPropagation();
  13388. this.opened = !this.opened;
  13389. }
  13390. };
  13391. LemmatizedEntityRefComponent.ɵfac = function LemmatizedEntityRefComponent_Factory(t) { return new (t || LemmatizedEntityRefComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_services_evt_status_service__WEBPACK_IMPORTED_MODULE_5__["EVTStatusService"]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_services_evt_model_service__WEBPACK_IMPORTED_MODULE_6__["EVTModelService"]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_services_lems_select_service__WEBPACK_IMPORTED_MODULE_7__["LemsSelectService"])); };
  13392. LemmatizedEntityRefComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({ type: LemmatizedEntityRefComponent, selectors: [["evt-lemmatized-entity-ref"]], inputs: { data: "data" }, decls: 9, vars: 32, consts: [[3, "ngClass", "evtHighlight", "evtHtmlAttributes", "click"], [3, "content", "editionLevel", "itemsLemsToHighlight", "itemsIperlemsToHighlight", "textFlow", 4, "ngFor", "ngForOf"], [4, "ngIf"], [3, "content", "editionLevel", "itemsLemsToHighlight", "itemsIperlemsToHighlight", "textFlow"], [3, "class", 4, "ngIf"], [4, "ngIf", "ngIfElse"], ["loading", ""], ["class", "d-block p-2 pl-3 font-italic font-weight-light not-found-msg", 4, "ngIf"], [3, "inList", "data", 4, "ngIf"], [1, "d-block", "p-2", "pl-3", "font-italic", "font-weight-light", "not-found-msg"], [3, "inList", "data"]], template: function LemmatizedEntityRefComponent_Template(rf, ctx) { if (rf & 1) {
  13393. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 0);
  13394. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("click", function LemmatizedEntityRefComponent_Template_span_click_0_listener($event) { return ctx.toggleLemEntityData($event); });
  13395. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](1, "async");
  13396. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](2, "async");
  13397. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](3, "span", 0);
  13398. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("click", function LemmatizedEntityRefComponent_Template_span_click_3_listener($event) { return ctx.toggleLemEntityData($event); });
  13399. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](4, "async");
  13400. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](5, "async");
  13401. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](6, LemmatizedEntityRefComponent_evt_content_viewer_6_Template, 1, 5, "evt-content-viewer", 1);
  13402. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  13403. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  13404. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](7, LemmatizedEntityRefComponent_ng_container_7_Template, 2, 1, "ng-container", 2);
  13405. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](8, "async");
  13406. } if (rf & 2) {
  13407. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵclassMapInterpolate1"]("lemmatizedEntityRef ", ctx.data.entityLemType, " ");
  13408. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction3"](24, _c0, ctx.opened, _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](1, 14, ctx.evtStatusService.currentLemmatizedEntityId$) === ctx.data.entityLemId && !ctx.opened, _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](2, 16, ctx.availableLemEntities$) === false))("evtHighlight", ctx.highlightDataLem)("evtHtmlAttributes", ctx.data == null ? null : ctx.data.attributes);
  13409. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](3);
  13410. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵclassMapInterpolate1"]("iperlemmatizedEntityRef ", ctx.data.entityLemType, " ");
  13411. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction3"](28, _c1, ctx.opened, _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](4, 18, ctx.evtStatusService.currentLemmatizedEntityId$) === ctx.data.entityLemId && !ctx.opened, _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](5, 20, ctx.availableLemEntities$) === false))("evtHighlight", ctx.highlightDataIperlem)("evtHtmlAttributes", ctx.data == null ? null : ctx.data.attributes);
  13412. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](3);
  13413. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx.data.content);
  13414. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  13415. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](8, 22, ctx.availableLemEntities$));
  13416. } }, directives: [_angular_common__WEBPACK_IMPORTED_MODULE_8__["NgClass"], _directives_highlight_directive__WEBPACK_IMPORTED_MODULE_9__["HighlightDirective"], _directives_html_attributes_directive__WEBPACK_IMPORTED_MODULE_10__["HtmlAttributesDirective"], _angular_common__WEBPACK_IMPORTED_MODULE_8__["NgForOf"], _angular_common__WEBPACK_IMPORTED_MODULE_8__["NgIf"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_11__["ContentViewerComponent"], _lemmatized_entity_lemmatized_entity_component__WEBPACK_IMPORTED_MODULE_12__["LemmatizedEntityComponent"]], pipes: [_angular_common__WEBPACK_IMPORTED_MODULE_8__["AsyncPipe"], _ngx_translate_core__WEBPACK_IMPORTED_MODULE_13__["TranslatePipe"]], styles: [".lemmatizedEntityRef[_ngcontent-%COMP%]:not(.noDetails) {\n cursor: pointer;\n}\n.lemmatizedEntityRef[_ngcontent-%COMP%]:not(.noDetails).opened {\n border-bottom: 3px solid #d0d0d0;\n font-weight: 600;\n font-style: italic;\n background-color: rgba(208, 208, 208, 0.5);\n}\n.lemmatizedEntityRef[_ngcontent-%COMP%]:not(.opened):not(:hover) {\n background-color: transparent;\n}\n.lemmatizedEntityRef[_ngcontent-%COMP%]:hover {\n background-color: #d0d0d0;\n}\n.not-found-msg[_ngcontent-%COMP%] {\n font-size: 0.9rem;\n}\n.lemmaHighlight[_ngcontent-%COMP%] {\n background: #d0d0d0 !important;\n}\n.iperlemmaHighlight[_ngcontent-%COMP%] {\n background: #d0d0d0 !important;\n}\n.ne-container.lem[_ngcontent-%COMP%] .ne-occurrence[_ngcontent-%COMP%] {\n border-radius: 4px;\n padding: 4px 6px;\n background: #d0d0d0;\n margin-right: 3px;\n font-size: 10rem;\n margin-bottom: 3px;\n display: inline-block !important;\n cursor: pointer;\n line-height: 10rem;\n}\n.lemmatizedEntityRef.highlighted[_ngcontent-%COMP%] {\n background-color: #d0d0d0;\n}\n.iperlemmatizedEntityRef.highlighted[_ngcontent-%COMP%] {\n text-decoration: underline;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2xlbW1hdGl6ZWQtZW50aXR5LXJlZi5jb21wb25lbnQuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFLRTtFQUNFLG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sIDIwOCwgMTApO1xufVxuXG4uaXBlcmxlbW1hdGl6ZWRFbnRpdHlSZWYuaGlnaGxpZ2h0ZWQge1xuICB0ZXh0LWRlY29yYXRpb246IHVuZGVybGluZTtcbn0iXX0= */"] });
  13417. LemmatizedEntityRefComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  13418. Object(_services_component_register_service__WEBPACK_IMPORTED_MODULE_4__["register"])(_models_evt_models__WEBPACK_IMPORTED_MODULE_3__["LemmatizedEntityRef"])
  13419. ], LemmatizedEntityRefComponent);
  13420. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](LemmatizedEntityRefComponent, [{
  13421. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
  13422. args: [{
  13423. selector: 'evt-lemmatized-entity-ref',
  13424. templateUrl: './lemmatized-entity-ref.component.html',
  13425. styleUrls: ['./lemmatized-entity-ref.component.scss'],
  13426. }]
  13427. }], function () { return [{ type: _services_evt_status_service__WEBPACK_IMPORTED_MODULE_5__["EVTStatusService"] }, { type: _services_evt_model_service__WEBPACK_IMPORTED_MODULE_6__["EVTModelService"] }, { type: _services_lems_select_service__WEBPACK_IMPORTED_MODULE_7__["LemsSelectService"] }]; }, { data: [{
  13428. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
  13429. }] }); })();
  13430. /***/ }),
  13431. /***/ "aR35":
  13432. /*!*******************************!*\
  13433. !*** ./src/app/app.config.ts ***!
  13434. \*******************************/
  13435. /*! exports provided: AppConfig */
  13436. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  13437. "use strict";
  13438. __webpack_require__.r(__webpack_exports__);
  13439. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AppConfig", function() { return AppConfig; });
  13440. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "fXoL");
  13441. /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rxjs */ "qCKp");
  13442. /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs/operators */ "kU1M");
  13443. /* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @ngx-translate/core */ "sYmb");
  13444. /* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/common/http */ "tk/3");
  13445. class AppConfig {
  13446. constructor(translate, http) {
  13447. this.translate = translate;
  13448. this.http = http;
  13449. this.uiConfigUrl = 'assets/config/ui_config.json';
  13450. this.fileConfigUrl = 'assets/config/file_config.json';
  13451. this.editionConfigUrl = 'assets/config/edition_config.json';
  13452. this.editorialConventionsConfigUrl = 'assets/config/editorial_conventions_config.json';
  13453. }
  13454. load() {
  13455. return new Promise((resolve) => {
  13456. Object(rxjs__WEBPACK_IMPORTED_MODULE_1__["forkJoin"])([
  13457. this.http.get(this.uiConfigUrl),
  13458. this.http.get(this.editionConfigUrl),
  13459. this.http.get(this.fileConfigUrl),
  13460. this.http.get(this.editorialConventionsConfigUrl),
  13461. ]).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(([ui, edition, files, editorialConventions]) => {
  13462. console.log(ui, edition, files);
  13463. // Handle default values => TODO: Decide how to handle defaults!!
  13464. if (ui.defaultLocalization) {
  13465. if (ui.availableLanguages.find((l) => l.code === ui.defaultLocalization && l.enabled)) {
  13466. this.translate.use(ui.defaultLocalization);
  13467. }
  13468. else {
  13469. const firstAvailableLang = ui.availableLanguages.find((l) => l.enabled);
  13470. if (firstAvailableLang) {
  13471. this.translate.use(firstAvailableLang.code);
  13472. }
  13473. }
  13474. }
  13475. return { ui, edition, files, editorialConventions };
  13476. })).subscribe(evtConfig => {
  13477. AppConfig.evtSettings = evtConfig;
  13478. console.log('evtConfig', evtConfig);
  13479. resolve();
  13480. });
  13481. });
  13482. }
  13483. }
  13484. AppConfig.ɵfac = function AppConfig_Factory(t) { return new (t || AppConfig)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_ngx_translate_core__WEBPACK_IMPORTED_MODULE_3__["TranslateService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_common_http__WEBPACK_IMPORTED_MODULE_4__["HttpClient"])); };
  13485. AppConfig.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ token: AppConfig, factory: AppConfig.ɵfac });
  13486. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](AppConfig, [{
  13487. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"]
  13488. }], function () { return [{ type: _ngx_translate_core__WEBPACK_IMPORTED_MODULE_3__["TranslateService"] }, { type: _angular_common_http__WEBPACK_IMPORTED_MODULE_4__["HttpClient"] }]; }, null); })();
  13489. /***/ }),
  13490. /***/ "awNf":
  13491. /*!*******************************************************************************************!*\
  13492. !*** ./src/app/components/lemmatized-entities-list/lemmatized-entities-list.component.ts ***!
  13493. \*******************************************************************************************/
  13494. /*! exports provided: LemmatizedEntitiesListComponent */
  13495. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  13496. "use strict";
  13497. __webpack_require__.r(__webpack_exports__);
  13498. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "LemmatizedEntitiesListComponent", function() { return LemmatizedEntitiesListComponent; });
  13499. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "mrSG");
  13500. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "fXoL");
  13501. /* harmony import */ var _models_evt_models__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../models/evt-models */ "5c0l");
  13502. /* harmony import */ var _services_component_register_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../services/component-register.service */ "d25s");
  13503. /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/common */ "ofXK");
  13504. /* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/forms */ "3Pt+");
  13505. /* harmony import */ var _ui_components_button_button_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../ui-components/button/button.component */ "UjKN");
  13506. /* harmony import */ var _angular_cdk_scrolling__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @angular/cdk/scrolling */ "vxfF");
  13507. /* harmony import */ var _angular_cdk_experimental_scrolling__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @angular/cdk-experimental/scrolling */ "cfqv");
  13508. /* harmony import */ var _lemmatized_entity_lemmatized_entity_component__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../lemmatized-entity/lemmatized-entity.component */ "n4Hk");
  13509. /* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @ngx-translate/core */ "sYmb");
  13510. /* harmony import */ var _pipes_filter_pipe__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../pipes/filter.pipe */ "BhhM");
  13511. /* harmony import */ var _pipes_starts_with_pipe__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../../pipes/starts-with.pipe */ "6uNG");
  13512. const _c0 = function () { return { icon: "search" }; };
  13513. const _c1 = function () { return { icon: "times" }; };
  13514. function LemmatizedEntitiesListComponent_div_1_form_1_Template(rf, ctx) { if (rf & 1) {
  13515. const _r6 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵgetCurrentView"]();
  13516. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "form", 8);
  13517. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "input", 9);
  13518. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("ngModelChange", function LemmatizedEntitiesListComponent_div_1_form_1_Template_input_ngModelChange_1_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵrestoreView"](_r6); const ctx_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2); return ctx_r5.querySearch = $event; });
  13519. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](2, "translate");
  13520. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  13521. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](3, "div", 10);
  13522. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](4, "evt-button", 11);
  13523. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("btnClick", function LemmatizedEntitiesListComponent_div_1_form_1_Template_evt_button_btnClick_4_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵrestoreView"](_r6); const ctx_r7 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2); return ctx_r7.toggleCaseSensitiveSearch($event); });
  13524. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  13525. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](5, "evt-button", 12);
  13526. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](6, "evt-button", 13);
  13527. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("btnClick", function LemmatizedEntitiesListComponent_div_1_form_1_Template_evt_button_btnClick_6_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵrestoreView"](_r6); const ctx_r8 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2); return ctx_r8.toggleSearch(); });
  13528. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  13529. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  13530. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  13531. } if (rf & 2) {
  13532. const ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
  13533. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  13534. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("placeholder", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](2, 10, "search"))("ngModel", ctx_r3.querySearch);
  13535. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](3);
  13536. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("type", "submit")("toggler", true)("active", ctx_r3.caseSensitiveSearch)("label", "aA");
  13537. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  13538. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("iconLeft", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction0"](12, _c0))("type", "submit")("disabled", !ctx_r3.querySearch);
  13539. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  13540. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("iconLeft", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction0"](13, _c1));
  13541. } }
  13542. function LemmatizedEntitiesListComponent_div_1_nav_2_li_3_Template(rf, ctx) { if (rf & 1) {
  13543. const _r12 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵgetCurrentView"]();
  13544. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "li", 17);
  13545. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "span", 18);
  13546. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("click", function LemmatizedEntitiesListComponent_div_1_nav_2_li_3_Template_span_click_1_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵrestoreView"](_r12); const key_r10 = ctx.$implicit; const ctx_r11 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](3); return ctx_r11.selectedKey = key_r10; });
  13547. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](2);
  13548. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  13549. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  13550. } if (rf & 2) {
  13551. const key_r10 = ctx.$implicit;
  13552. const ctx_r9 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](3);
  13553. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵclassProp"]("active", ctx_r9.selectedKey === key_r10);
  13554. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  13555. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](key_r10);
  13556. } }
  13557. function LemmatizedEntitiesListComponent_div_1_nav_2_Template(rf, ctx) { if (rf & 1) {
  13558. const _r14 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵgetCurrentView"]();
  13559. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "nav");
  13560. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "ul", 14);
  13561. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](2, "evt-button", 15);
  13562. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("btnClick", function LemmatizedEntitiesListComponent_div_1_nav_2_Template_evt_button_btnClick_2_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵrestoreView"](_r14); const ctx_r13 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2); return ctx_r13.toggleSearch(); });
  13563. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  13564. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, LemmatizedEntitiesListComponent_div_1_nav_2_li_3_Template, 3, 3, "li", 16);
  13565. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  13566. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  13567. } if (rf & 2) {
  13568. const ctx_r4 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
  13569. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  13570. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("iconLeft", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction0"](2, _c0));
  13571. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  13572. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r4.navigationKeys);
  13573. } }
  13574. function LemmatizedEntitiesListComponent_div_1_Template(rf, ctx) { if (rf & 1) {
  13575. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 5);
  13576. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, LemmatizedEntitiesListComponent_div_1_form_1_Template, 7, 14, "form", 6);
  13577. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, LemmatizedEntitiesListComponent_div_1_nav_2_Template, 4, 3, "nav", 7);
  13578. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  13579. } if (rf & 2) {
  13580. const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  13581. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  13582. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx_r0.searchOpened);
  13583. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  13584. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", !ctx_r0.searchOpened);
  13585. } }
  13586. function LemmatizedEntitiesListComponent_cdk_virtual_scroll_viewport_3_ng_container_1_evt_lemmatized_entity_1_Template(rf, ctx) { if (rf & 1) {
  13587. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-lemmatized-entity", 23);
  13588. } if (rf & 2) {
  13589. const entity_r16 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]().$implicit;
  13590. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("inList", true)("data", entity_r16);
  13591. } }
  13592. function LemmatizedEntitiesListComponent_cdk_virtual_scroll_viewport_3_ng_container_1_div_2_Template(rf, ctx) { if (rf & 1) {
  13593. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 24);
  13594. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1);
  13595. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](2, "translate");
  13596. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  13597. } if (rf & 2) {
  13598. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  13599. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](2, 1, "noMatches"), " ");
  13600. } }
  13601. function LemmatizedEntitiesListComponent_cdk_virtual_scroll_viewport_3_ng_container_1_Template(rf, ctx) { if (rf & 1) {
  13602. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
  13603. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, LemmatizedEntitiesListComponent_cdk_virtual_scroll_viewport_3_ng_container_1_evt_lemmatized_entity_1_Template, 1, 2, "evt-lemmatized-entity", 21);
  13604. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, LemmatizedEntitiesListComponent_cdk_virtual_scroll_viewport_3_ng_container_1_div_2_Template, 3, 3, "div", 22);
  13605. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
  13606. } if (rf & 2) {
  13607. const entity_r16 = ctx.$implicit;
  13608. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  13609. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", entity_r16);
  13610. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  13611. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", !entity_r16);
  13612. } }
  13613. function LemmatizedEntitiesListComponent_cdk_virtual_scroll_viewport_3_Template(rf, ctx) { if (rf & 1) {
  13614. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "cdk-virtual-scroll-viewport", 19);
  13615. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, LemmatizedEntitiesListComponent_cdk_virtual_scroll_viewport_3_ng_container_1_Template, 3, 2, "ng-container", 20);
  13616. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](2, "filter");
  13617. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](3, "startsWith");
  13618. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  13619. } if (rf & 2) {
  13620. const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  13621. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  13622. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("cdkVirtualForOf", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind4"](2, 2, _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind3"](3, 7, ctx_r1.data == null ? null : ctx_r1.data.content, "sortKey", ctx_r1.querySearch ? "" : ctx_r1.selectedKey), "label", ctx_r1.querySearch, ctx_r1.caseSensitiveSearch))("cdkVirtualForTemplateCacheSize", 0);
  13623. } }
  13624. function LemmatizedEntitiesListComponent_div_4_Template(rf, ctx) { if (rf & 1) {
  13625. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 25);
  13626. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1);
  13627. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](2, "translate");
  13628. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  13629. } if (rf & 2) {
  13630. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  13631. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](2, 1, "noEntities"), " ");
  13632. } }
  13633. let LemmatizedEntitiesListComponent = class LemmatizedEntitiesListComponent {
  13634. constructor() {
  13635. this.searchedEntities = new _angular_core__WEBPACK_IMPORTED_MODULE_1__["EventEmitter"]();
  13636. this.navigationKeys = [];
  13637. this.searchOpened = false;
  13638. this.querySearch = '';
  13639. this.querySearchSubmitted = '';
  13640. this.caseSensitiveSearch = false;
  13641. }
  13642. set selectedKey(k) {
  13643. this._selectedKey = k;
  13644. }
  13645. get selectedKey() { return this._selectedKey; }
  13646. ngOnInit() {
  13647. this.initKeys();
  13648. }
  13649. ngOnChanges() {
  13650. this.initKeys();
  13651. }
  13652. toggleSearch() {
  13653. this.searchOpened = !this.searchOpened;
  13654. this.querySearch = '';
  13655. this.querySearchSubmitted = '';
  13656. this.searchedEntities.emit(this.querySearch);
  13657. }
  13658. toggleCaseSensitiveSearch(event) {
  13659. this.caseSensitiveSearch = event.active;
  13660. }
  13661. initKeys() {
  13662. if (!!this.data && !!this.data.content && this.data.content.length > 0) {
  13663. this.navigationKeys = this.data.content
  13664. .filter(el => el.lemmatizedEntityType === this.data.lemmatizedEntityType)
  13665. .map(el => { var _a; return (_a = el.sortKey) === null || _a === void 0 ? void 0 : _a.substr(0, 1).toLowerCase(); })
  13666. .filter((item, i, ar) => item && ar.indexOf(item) === i)
  13667. .sort();
  13668. this.selectedKey = this.navigationKeys[0] || '';
  13669. }
  13670. }
  13671. };
  13672. LemmatizedEntitiesListComponent.ɵfac = function LemmatizedEntitiesListComponent_Factory(t) { return new (t || LemmatizedEntitiesListComponent)(); };
  13673. LemmatizedEntitiesListComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({ type: LemmatizedEntitiesListComponent, selectors: [["evt-lemmatized-entities-list"]], inputs: { data: "data" }, outputs: { searchedEntities: "searchedEntities" }, features: [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵNgOnChangesFeature"]], decls: 5, vars: 3, consts: [[1, "card", "border-0", "ne-list"], ["class", "card-header p-0 m-0", 4, "ngIf"], [1, "card-body", "ne-list-body", "p-0", "m-0"], ["autosize", "", 4, "ngIf"], ["class", "p-3 ne-list-msg", 4, "ngIf"], [1, "card-header", "p-0", "m-0"], ["class", "input-group p-1", 4, "ngIf"], [4, "ngIf"], [1, "input-group", "p-1"], ["type", "input", "name", "search", 1, "form-control", "form-control-sm", "ne-list-search", 3, "placeholder", "ngModel", "ngModelChange"], [1, "input-group-append"], ["additionalClasses", "border", 3, "type", "toggler", "active", "label", "btnClick"], ["additionalClasses", "border", 3, "iconLeft", "type", "disabled"], ["additionalClasses", "border", 3, "iconLeft", "btnClick"], [1, "pagination", "pagination-sm", "justify-content-center", "m-0", "p-1"], ["additionalClasses", "mr-2", 3, "iconLeft", "btnClick"], ["class", "page-item", 3, "active", 4, "ngFor", "ngForOf"], [1, "page-item"], [1, "page-link", 3, "click"], ["autosize", ""], [4, "cdkVirtualFor", "cdkVirtualForOf", "cdkVirtualForTemplateCacheSize"], [3, "inList", "data", 4, "ngIf"], ["class", "p-3", 4, "ngIf"], [3, "inList", "data"], [1, "p-3"], [1, "p-3", "ne-list-msg"]], template: function LemmatizedEntitiesListComponent_Template(rf, ctx) { if (rf & 1) {
  13674. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 0);
  13675. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, LemmatizedEntitiesListComponent_div_1_Template, 3, 2, "div", 1);
  13676. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](2, "div", 2);
  13677. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, LemmatizedEntitiesListComponent_cdk_virtual_scroll_viewport_3_Template, 4, 11, "cdk-virtual-scroll-viewport", 3);
  13678. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, LemmatizedEntitiesListComponent_div_4_Template, 3, 3, "div", 4);
  13679. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  13680. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  13681. } if (rf & 2) {
  13682. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  13683. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", (ctx.data == null ? null : ctx.data.content == null ? null : ctx.data.content.length) > 0);
  13684. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  13685. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", (ctx.data == null ? null : ctx.data.content == null ? null : ctx.data.content.length) > 0);
  13686. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  13687. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", (ctx.data == null ? null : ctx.data.content == null ? null : ctx.data.content.length) === 0);
  13688. } }, directives: [_angular_common__WEBPACK_IMPORTED_MODULE_4__["NgIf"], _angular_forms__WEBPACK_IMPORTED_MODULE_5__["ɵangular_packages_forms_forms_y"], _angular_forms__WEBPACK_IMPORTED_MODULE_5__["NgControlStatusGroup"], _angular_forms__WEBPACK_IMPORTED_MODULE_5__["NgForm"], _angular_forms__WEBPACK_IMPORTED_MODULE_5__["DefaultValueAccessor"], _angular_forms__WEBPACK_IMPORTED_MODULE_5__["NgControlStatus"], _angular_forms__WEBPACK_IMPORTED_MODULE_5__["NgModel"], _ui_components_button_button_component__WEBPACK_IMPORTED_MODULE_6__["ButtonComponent"], _angular_common__WEBPACK_IMPORTED_MODULE_4__["NgForOf"], _angular_cdk_scrolling__WEBPACK_IMPORTED_MODULE_7__["CdkVirtualScrollViewport"], _angular_cdk_experimental_scrolling__WEBPACK_IMPORTED_MODULE_8__["CdkAutoSizeVirtualScroll"], _angular_cdk_scrolling__WEBPACK_IMPORTED_MODULE_7__["CdkVirtualForOf"], _lemmatized_entity_lemmatized_entity_component__WEBPACK_IMPORTED_MODULE_9__["LemmatizedEntityComponent"]], pipes: [_ngx_translate_core__WEBPACK_IMPORTED_MODULE_10__["TranslatePipe"], _pipes_filter_pipe__WEBPACK_IMPORTED_MODULE_11__["FilterPipe"], _pipes_starts_with_pipe__WEBPACK_IMPORTED_MODULE_12__["StartsWithPipe"]], styles: [".card[_ngcontent-%COMP%] {\n height: 100%;\n}\n\ncdk-virtual-scroll-viewport[_ngcontent-%COMP%] {\n height: -o-calc(100%);\n height: calc(100%);\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2xlbW1hdGl6ZWQtZW50aXRpZXMtbGlzdC5jb21wb25lbnQuc2NzcyIsIi4uLy4uLy4uLy4uLy4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B9XG4gIH1cblxuICAmOmhvdmVyIHtcbiAgICBiYWNrZ3JvdW5kLWNvbG9yOiAkY29sb3ItbWlkZGxlO1xuICB9XG59XG5cblxuQG1peGluIGhlYWRlclNlY3Rpb25UaXRsZSgpIHtcbiAgYm9yZGVyLWJvdHRvbTogMXB4IGRvdHRlZCAjNjY2O1xuICBtYXJnaW4tYm90dG9tOiA1cHg7XG4gIGZvbnQtdmFyaWFudDogc21hbGwtY2FwcztcbiAgY29sb3I6ICMwMDA7XG4gIGZvbnQtc2l6ZTogMS4ycmVtO1xuICBkaXNwbGF5OiBibG9jaztcbiAgbWFyZ2luLXRvcDogMTRweDtcbiAgdGV4dC1hbGlnbjogbGVmdDtcbn0iXX0= */"] });
  13689. LemmatizedEntitiesListComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  13690. Object(_services_component_register_service__WEBPACK_IMPORTED_MODULE_3__["register"])(_models_evt_models__WEBPACK_IMPORTED_MODULE_2__["LemmatizedEntitiesList"])
  13691. ], LemmatizedEntitiesListComponent);
  13692. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](LemmatizedEntitiesListComponent, [{
  13693. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
  13694. args: [{
  13695. selector: 'evt-lemmatized-entities-list',
  13696. templateUrl: './lemmatized-entities-list.component.html',
  13697. styleUrls: ['./lemmatized-entities-list.component.scss'],
  13698. }]
  13699. }], null, { data: [{
  13700. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
  13701. }], searchedEntities: [{
  13702. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Output"]
  13703. }] }); })();
  13704. /***/ }),
  13705. /***/ "bDt3":
  13706. /*!****************************************************************************!*\
  13707. !*** ./src/app/services/xml-parsers/lemmatized-entities-parser.service.ts ***!
  13708. \****************************************************************************/
  13709. /*! exports provided: LemmatizedEntitiesParserService */
  13710. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  13711. "use strict";
  13712. __webpack_require__.r(__webpack_exports__);
  13713. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "LemmatizedEntitiesParserService", function() { return LemmatizedEntitiesParserService; });
  13714. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "fXoL");
  13715. /* harmony import */ var ___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! . */ "UAXx");
  13716. /* harmony import */ var _utils_dom_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils/dom-utils */ "G9+u");
  13717. /* harmony import */ var _basic_parsers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./basic-parsers */ "bNiN");
  13718. /* harmony import */ var _lemmatized_entity_parsers__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./lemmatized-entity-parsers */ "ZSfi");
  13719. /* harmony import */ var _parser_models__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./parser-models */ "YwZW");
  13720. class LemmatizedEntitiesParserService {
  13721. constructor() {
  13722. this.tagLemNamesMap = _lemmatized_entity_parsers__WEBPACK_IMPORTED_MODULE_4__["lemmatizedEntitiesListsTagNamesMap"];
  13723. }
  13724. parseLemLists(document) {
  13725. const lemListsToParse = Object(_lemmatized_entity_parsers__WEBPACK_IMPORTED_MODULE_4__["getLemListsToParseTagNames"])();
  13726. const lemListParser = ___WEBPACK_IMPORTED_MODULE_1__["ParserRegister"].get('evt-lemmatized-lementities-list-parser');
  13727. // We consider only first level lists; inset lists will be considered
  13728. const lemlists = Array.from(document.querySelectorAll(lemListsToParse.toString()))
  13729. .filter((lemlist) => !Object(_utils_dom_utils__WEBPACK_IMPORTED_MODULE_2__["isNestedInElem"])(lemlist, lemlist.tagName))
  13730. .map((l) => lemListParser.parse(l));
  13731. return {
  13732. lemlists,
  13733. lementities: lemlists.map(({ content }) => content).reduce((a, b) => a.concat(b), []),
  13734. relations: lemlists.map(({ relations }) => relations).reduce((a, b) => a.concat(b), []),
  13735. };
  13736. }
  13737. getResultsByType(lemlists, lementities, type) {
  13738. return {
  13739. lemlists: lemlists.filter(list => type.indexOf(list.lemmatizedEntityType) >= 0),
  13740. lementities: lementities.filter(entity => type.indexOf(entity.lemmatizedEntityType) >= 0),
  13741. };
  13742. }
  13743. parseLemmatizedEntitiesOccurrences(pages) {
  13744. return pages.map(p => this.getLemmatizedEntitiesOccurrencesInPage(p))
  13745. .reduce((x, y) => {
  13746. Object.keys(y).forEach(k => {
  13747. if (x[k]) {
  13748. x[k] = x[k].concat([y[k]]);
  13749. }
  13750. else {
  13751. x[k] = [y[k]];
  13752. }
  13753. });
  13754. return x;
  13755. }, {});
  13756. }
  13757. getLemmatizedEntitiesOccurrencesInPage(p) {
  13758. return p.originalContent
  13759. .filter(e => e.nodeType === 1)
  13760. .map(e => {
  13761. const occurrences = [];
  13762. if (this.tagLemNamesMap.occurrences.indexOf(e.tagName) >= 0 && e.getAttribute('ref')) { // Handle first level page contents
  13763. occurrences.push(this.parseLemmatizedEntityOccurrence(e));
  13764. }
  13765. return occurrences.concat(Array.from(e.querySelectorAll(this.tagLemNamesMap.occurrences))
  13766. .map(el => this.parseLemmatizedEntityOccurrence(el)));
  13767. })
  13768. .filter(e => e.length > 0)
  13769. .reduce((x, y) => x.concat(y), [])
  13770. .reduce((x, y) => {
  13771. const refsByDoc = x[y.ref] ? x[y.ref].refsByDoc || [] : [];
  13772. const docRefs = refsByDoc.find(r => r.docId === y.docId);
  13773. if (docRefs) {
  13774. docRefs.refs.push(y.el);
  13775. }
  13776. else {
  13777. refsByDoc.push({
  13778. docId: y.docId,
  13779. refs: [y.el],
  13780. docLabel: y.docLabel,
  13781. });
  13782. }
  13783. return Object.assign(Object.assign({}, x), { [y.ref]: {
  13784. pageId: p.id,
  13785. pageLabel: p.label,
  13786. refsByDoc,
  13787. } });
  13788. }, {});
  13789. }
  13790. parseLemmatizedEntityOccurrence(xml) {
  13791. const doc = xml.closest('text');
  13792. const elementParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["createParser"])(_basic_parsers__WEBPACK_IMPORTED_MODULE_3__["GenericElemParser"], ___WEBPACK_IMPORTED_MODULE_1__["parse"]);
  13793. return {
  13794. ref: xml.getAttribute('ref').replace('#', ''),
  13795. el: elementParser.parse(xml),
  13796. docId: doc ? doc.getAttribute('xml:id') : '',
  13797. docLabel: doc ? doc.getAttribute('n') || doc.getAttribute('xml:id') : '',
  13798. };
  13799. }
  13800. }
  13801. LemmatizedEntitiesParserService.ɵfac = function LemmatizedEntitiesParserService_Factory(t) { return new (t || LemmatizedEntitiesParserService)(); };
  13802. LemmatizedEntitiesParserService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ token: LemmatizedEntitiesParserService, factory: LemmatizedEntitiesParserService.ɵfac, providedIn: 'root' });
  13803. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](LemmatizedEntitiesParserService, [{
  13804. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"],
  13805. args: [{
  13806. providedIn: 'root',
  13807. }]
  13808. }], null, null); })();
  13809. /***/ }),
  13810. /***/ "bNiN":
  13811. /*!*******************************************************!*\
  13812. !*** ./src/app/services/xml-parsers/basic-parsers.ts ***!
  13813. \*******************************************************/
  13814. /*! exports provided: EmptyParser, AttrParser, queryAndParseElements, queryAndParseElement, parseElement, GenericElemParser, GenericParser, AttributeParser, AttributeMapParser, TextParser, ParagraphParser, LBParser, NoteParser, PtrParser, VerseParser, VersesGroupParser, SuppliedParser, DamageParser, GapParser, AdditionParser, WordParser, DeletionParser, TermParser */
  13815. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  13816. "use strict";
  13817. __webpack_require__.r(__webpack_exports__);
  13818. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "EmptyParser", function() { return EmptyParser; });
  13819. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AttrParser", function() { return AttrParser; });
  13820. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "queryAndParseElements", function() { return queryAndParseElements; });
  13821. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "queryAndParseElement", function() { return queryAndParseElement; });
  13822. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "parseElement", function() { return parseElement; });
  13823. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "GenericElemParser", function() { return GenericElemParser; });
  13824. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "GenericParser", function() { return GenericParser; });
  13825. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AttributeParser", function() { return AttributeParser; });
  13826. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AttributeMapParser", function() { return AttributeMapParser; });
  13827. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TextParser", function() { return TextParser; });
  13828. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ParagraphParser", function() { return ParagraphParser; });
  13829. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "LBParser", function() { return LBParser; });
  13830. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NoteParser", function() { return NoteParser; });
  13831. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PtrParser", function() { return PtrParser; });
  13832. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "VerseParser", function() { return VerseParser; });
  13833. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "VersesGroupParser", function() { return VersesGroupParser; });
  13834. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SuppliedParser", function() { return SuppliedParser; });
  13835. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DamageParser", function() { return DamageParser; });
  13836. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "GapParser", function() { return GapParser; });
  13837. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AdditionParser", function() { return AdditionParser; });
  13838. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "WordParser", function() { return WordParser; });
  13839. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DeletionParser", function() { return DeletionParser; });
  13840. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TermParser", function() { return TermParser; });
  13841. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "mrSG");
  13842. /* harmony import */ var ___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! . */ "UAXx");
  13843. /* harmony import */ var _models_evt_models__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../models/evt-models */ "5c0l");
  13844. /* harmony import */ var _utils_dom_utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../utils/dom-utils */ "G9+u");
  13845. /* harmony import */ var _utils_xml_utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../utils/xml-utils */ "JQLQ");
  13846. /* harmony import */ var _parser_models__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./parser-models */ "YwZW");
  13847. var GenericElemParser_1, AttributeParser_1, AttributeMapParser_1, TextParser_1, ParagraphParser_1, LBParser_1, NoteParser_1, PtrParser_1, VerseParser_1, VersesGroupParser_1, SuppliedParser_1, DamageParser_1, GapParser_1, AdditionParser_1, WordParser_1, DeletionParser_1, TermParser_1;
  13848. class EmptyParser {
  13849. constructor(parseFn) { this.genericParse = parseFn; }
  13850. }
  13851. class AttrParser extends EmptyParser {
  13852. constructor() {
  13853. super(...arguments);
  13854. this.attributeParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["createParser"])(AttributeParser, this.genericParse);
  13855. }
  13856. }
  13857. function queryAndParseElements(xml, name) {
  13858. const p = ___WEBPACK_IMPORTED_MODULE_1__["ParserRegister"].get(name);
  13859. return Array.from(xml.querySelectorAll(`:scope > ${name}`)).map(g => p.parse(g));
  13860. }
  13861. function queryAndParseElement(xml, name, allAnnidationLevels) {
  13862. const el = xml.querySelector(`${allAnnidationLevels ? '' : ':scope > '}${name}`);
  13863. const p = ___WEBPACK_IMPORTED_MODULE_1__["ParserRegister"].get(name);
  13864. return el && p.parse(el);
  13865. }
  13866. function parseElement(xml) {
  13867. const p = ___WEBPACK_IMPORTED_MODULE_1__["ParserRegister"].get(xml.tagName);
  13868. return xml && p.parse(xml);
  13869. }
  13870. let GenericElemParser = GenericElemParser_1 = class GenericElemParser extends AttrParser {
  13871. parse(xml) {
  13872. return {
  13873. type: Object,
  13874. class: Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["getClass"])(xml),
  13875. content: Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["parseChildren"])(xml, this.genericParse),
  13876. attributes: this.attributeParser.parse(xml),
  13877. };
  13878. }
  13879. };
  13880. GenericElemParser = GenericElemParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  13881. Object(___WEBPACK_IMPORTED_MODULE_1__["xmlParser"])('evt-generic-elem-parser', GenericElemParser_1)
  13882. ], GenericElemParser);
  13883. class GenericParser extends GenericElemParser {
  13884. constructor() {
  13885. super(...arguments);
  13886. this.genericElemParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["createParser"])(GenericElemParser, this.genericParse);
  13887. }
  13888. }
  13889. let AttributeParser = AttributeParser_1 = class AttributeParser extends EmptyParser {
  13890. parse(data) {
  13891. return Array.from(data.attributes)
  13892. .map(({ name, value }) => ({ [name === 'xml:id' ? 'id' : name.replace(':', '-')]: value }))
  13893. .reduce((x, y) => (Object.assign(Object.assign({}, x), y)), {});
  13894. }
  13895. };
  13896. AttributeParser = AttributeParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  13897. Object(___WEBPACK_IMPORTED_MODULE_1__["xmlParser"])('evt-attribute-parser', AttributeParser_1)
  13898. ], AttributeParser);
  13899. let AttributeMapParser = AttributeMapParser_1 = class AttributeMapParser extends EmptyParser {
  13900. parse(xml) {
  13901. const attributes = {};
  13902. Array.from(xml.attributes).forEach((attr) => {
  13903. attributes[attr.name] = attr.value;
  13904. });
  13905. return attributes;
  13906. }
  13907. };
  13908. AttributeMapParser = AttributeMapParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  13909. Object(___WEBPACK_IMPORTED_MODULE_1__["xmlParser"])('attribute-map-parser', AttributeMapParser_1)
  13910. ], AttributeMapParser);
  13911. let TextParser = TextParser_1 = class TextParser {
  13912. parse(xml) {
  13913. return {
  13914. type: _models_evt_models__WEBPACK_IMPORTED_MODULE_2__["Text"],
  13915. text: Object(_utils_xml_utils__WEBPACK_IMPORTED_MODULE_4__["replaceMultispaces"])(xml.textContent),
  13916. attributes: {},
  13917. };
  13918. }
  13919. };
  13920. TextParser = TextParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  13921. Object(___WEBPACK_IMPORTED_MODULE_1__["xmlParser"])('evt-text-parser', TextParser_1)
  13922. ], TextParser);
  13923. let ParagraphParser = ParagraphParser_1 = class ParagraphParser extends EmptyParser {
  13924. parse(xml) {
  13925. const attributes = ___WEBPACK_IMPORTED_MODULE_1__["ParserRegister"].get('evt-attribute-parser').parse(xml);
  13926. const paragraphComponent = {
  13927. type: _models_evt_models__WEBPACK_IMPORTED_MODULE_2__["Paragraph"],
  13928. content: Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["parseChildren"])(xml, this.genericParse),
  13929. attributes,
  13930. n: Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["getDefaultN"])(attributes.n),
  13931. };
  13932. return paragraphComponent;
  13933. }
  13934. };
  13935. ParagraphParser = ParagraphParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  13936. Object(___WEBPACK_IMPORTED_MODULE_1__["xmlParser"])('p', ParagraphParser_1)
  13937. ], ParagraphParser);
  13938. let LBParser = LBParser_1 = class LBParser extends EmptyParser {
  13939. constructor() {
  13940. super(...arguments);
  13941. this.attributeParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["createParser"])(AttributeParser, this.genericParse);
  13942. }
  13943. parse(xml) {
  13944. const attributes = this.attributeParser.parse(xml);
  13945. const { n, rend, facs } = attributes;
  13946. return {
  13947. id: Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["getID"])(xml),
  13948. n: Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["getDefaultN"])(n),
  13949. rend,
  13950. facs,
  13951. type: _models_evt_models__WEBPACK_IMPORTED_MODULE_2__["Lb"],
  13952. content: [],
  13953. attributes,
  13954. };
  13955. }
  13956. };
  13957. LBParser = LBParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  13958. Object(___WEBPACK_IMPORTED_MODULE_1__["xmlParser"])('lb', LBParser_1)
  13959. ], LBParser);
  13960. let NoteParser = NoteParser_1 = class NoteParser extends EmptyParser {
  13961. constructor() {
  13962. super(...arguments);
  13963. this.attributeParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["createParser"])(AttributeParser, this.genericParse);
  13964. }
  13965. parse(xml) {
  13966. const noteLayout = this.isFooterNote(xml) || this.isNamedEntityNote(xml)
  13967. || ['person', 'place', 'app', 'msDesc', 'item'].some((v) => Object(_utils_dom_utils__WEBPACK_IMPORTED_MODULE_3__["isNestedInElem"])(xml, v))
  13968. ? 'plain-text'
  13969. : 'popover';
  13970. const noteType = !xml.getAttribute('type') && Object(_utils_dom_utils__WEBPACK_IMPORTED_MODULE_3__["isNestedInElem"])(xml, 'app')
  13971. ? 'critical'
  13972. : 'comment';
  13973. const attributes = this.attributeParser.parse(xml);
  13974. const noteElement = {
  13975. type: _models_evt_models__WEBPACK_IMPORTED_MODULE_2__["Note"],
  13976. noteType,
  13977. noteLayout,
  13978. exponent: attributes.n,
  13979. path: Object(_utils_dom_utils__WEBPACK_IMPORTED_MODULE_3__["xpath"])(xml),
  13980. content: Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["parseChildren"])(xml, this.genericParse),
  13981. attributes,
  13982. };
  13983. return noteElement;
  13984. }
  13985. isFooterNote(xml) { return Object(_utils_dom_utils__WEBPACK_IMPORTED_MODULE_3__["isNestedInElem"])(xml, 'div', [{ key: 'type', value: 'footer' }]); }
  13986. isNamedEntityNote(xml) { return Object(_utils_dom_utils__WEBPACK_IMPORTED_MODULE_3__["isNestedInElem"])(xml, 'relation') || Object(_utils_dom_utils__WEBPACK_IMPORTED_MODULE_3__["isNestedInElem"])(xml, 'event'); }
  13987. };
  13988. NoteParser = NoteParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  13989. Object(___WEBPACK_IMPORTED_MODULE_1__["xmlParser"])('note', NoteParser_1)
  13990. ], NoteParser);
  13991. let PtrParser = PtrParser_1 = class PtrParser extends GenericElemParser {
  13992. constructor() {
  13993. super(...arguments);
  13994. this.noteParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["createParser"])(NoteParser, this.genericParse);
  13995. this.elementParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["createParser"])(GenericElemParser, this.genericParse);
  13996. }
  13997. parse(xml) {
  13998. if (xml.getAttribute('type') === 'noteAnchor' && xml.getAttribute('target')) {
  13999. const noteId = xml.getAttribute('target').replace('#', '');
  14000. const rootNode = xml.closest('TEI');
  14001. const noteEl = rootNode.querySelector(`note[*|id="${noteId}"]`);
  14002. return noteEl ? this.noteParser.parse(noteEl) : this.elementParser.parse(xml);
  14003. }
  14004. return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_2__["Ptr"], id: Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["getID"])(xml), target: xml.getAttribute('target'), cRef: xml.getAttribute('cRef'), ptrType: xml.getAttribute('ptrType'), rend: xml.getAttribute('rend') });
  14005. }
  14006. };
  14007. PtrParser = PtrParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  14008. Object(___WEBPACK_IMPORTED_MODULE_1__["xmlParser"])('ptr', PtrParser_1)
  14009. ], PtrParser);
  14010. let VerseParser = VerseParser_1 = class VerseParser extends EmptyParser {
  14011. constructor() {
  14012. super(...arguments);
  14013. this.attributeParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["createParser"])(AttributeParser, this.genericParse);
  14014. }
  14015. parse(xml) {
  14016. const attributes = this.attributeParser.parse(xml);
  14017. const lineComponent = {
  14018. type: _models_evt_models__WEBPACK_IMPORTED_MODULE_2__["Verse"],
  14019. content: Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["parseChildren"])(xml, this.genericParse),
  14020. attributes,
  14021. n: Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["getDefaultN"])(attributes.n),
  14022. };
  14023. return lineComponent;
  14024. }
  14025. };
  14026. VerseParser = VerseParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  14027. Object(___WEBPACK_IMPORTED_MODULE_1__["xmlParser"])('l', VerseParser_1)
  14028. ], VerseParser);
  14029. let VersesGroupParser = VersesGroupParser_1 = class VersesGroupParser extends EmptyParser {
  14030. constructor() {
  14031. super(...arguments);
  14032. this.attributeParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["createParser"])(AttributeParser, this.genericParse);
  14033. }
  14034. parse(xml) {
  14035. const attributes = this.attributeParser.parse(xml);
  14036. const lgComponent = {
  14037. type: _models_evt_models__WEBPACK_IMPORTED_MODULE_2__["VersesGroup"],
  14038. class: Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["getClass"])(xml),
  14039. content: Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["parseChildren"])(xml, this.genericParse),
  14040. attributes,
  14041. n: Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["getDefaultN"])(attributes.n),
  14042. groupType: Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["getDefaultN"])(attributes.type),
  14043. };
  14044. return lgComponent;
  14045. }
  14046. };
  14047. VersesGroupParser = VersesGroupParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  14048. Object(___WEBPACK_IMPORTED_MODULE_1__["xmlParser"])('lg', VersesGroupParser_1)
  14049. ], VersesGroupParser);
  14050. let SuppliedParser = SuppliedParser_1 = class SuppliedParser extends EmptyParser {
  14051. constructor() {
  14052. super(...arguments);
  14053. this.attributeParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["createParser"])(AttributeParser, this.genericParse);
  14054. }
  14055. parse(xml) {
  14056. const attributes = this.attributeParser.parse(xml);
  14057. const { reason, source, resp } = attributes;
  14058. return {
  14059. type: _models_evt_models__WEBPACK_IMPORTED_MODULE_2__["Supplied"],
  14060. reason,
  14061. source,
  14062. resp,
  14063. class: Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["getClass"])(xml),
  14064. content: Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["parseChildren"])(xml, this.genericParse),
  14065. attributes,
  14066. };
  14067. }
  14068. };
  14069. SuppliedParser = SuppliedParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  14070. Object(___WEBPACK_IMPORTED_MODULE_1__["xmlParser"])('supplied', SuppliedParser_1)
  14071. ], SuppliedParser);
  14072. let DamageParser = DamageParser_1 = class DamageParser extends EmptyParser {
  14073. constructor() {
  14074. super(...arguments);
  14075. this.attributeParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["createParser"])(AttributeParser, this.genericParse);
  14076. }
  14077. parse(xml) {
  14078. var _a;
  14079. const attributes = this.attributeParser.parse(xml);
  14080. const { agent, group, degree } = attributes;
  14081. return {
  14082. agent,
  14083. group: (_a = parseInt(group, 10)) !== null && _a !== void 0 ? _a : undefined,
  14084. degree,
  14085. type: _models_evt_models__WEBPACK_IMPORTED_MODULE_2__["Damage"],
  14086. class: Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["getClass"])(xml),
  14087. content: Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["parseChildren"])(xml, this.genericParse),
  14088. attributes: this.attributeParser.parse(xml),
  14089. };
  14090. }
  14091. };
  14092. DamageParser = DamageParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  14093. Object(___WEBPACK_IMPORTED_MODULE_1__["xmlParser"])('damage', DamageParser_1)
  14094. ], DamageParser);
  14095. let GapParser = GapParser_1 = class GapParser extends EmptyParser {
  14096. constructor() {
  14097. super(...arguments);
  14098. this.attributeParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["createParser"])(AttributeParser, this.genericParse);
  14099. }
  14100. parse(xml) {
  14101. const attributes = this.attributeParser.parse(xml);
  14102. const { reason, agent, quantity, unit, extent } = attributes;
  14103. return {
  14104. type: _models_evt_models__WEBPACK_IMPORTED_MODULE_2__["Gap"],
  14105. reason,
  14106. agent,
  14107. quantity: quantity ? parseInt(quantity, 10) : undefined,
  14108. unit,
  14109. extent,
  14110. class: Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["getClass"])(xml),
  14111. content: Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["parseChildren"])(xml, this.genericParse),
  14112. attributes,
  14113. };
  14114. }
  14115. };
  14116. GapParser = GapParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  14117. Object(___WEBPACK_IMPORTED_MODULE_1__["xmlParser"])('gap', GapParser_1)
  14118. ], GapParser);
  14119. let AdditionParser = AdditionParser_1 = class AdditionParser extends EmptyParser {
  14120. constructor() {
  14121. super(...arguments);
  14122. this.elementParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["createParser"])(GenericElemParser, this.genericParse);
  14123. this.attributeParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["createParser"])(AttributeParser, this.genericParse);
  14124. }
  14125. parse(xml) {
  14126. return {
  14127. type: _models_evt_models__WEBPACK_IMPORTED_MODULE_2__["Addition"],
  14128. place: xml.getAttribute('place'),
  14129. path: Object(_utils_dom_utils__WEBPACK_IMPORTED_MODULE_3__["xpath"])(xml),
  14130. content: Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["parseChildren"])(xml, this.genericParse),
  14131. attributes: this.attributeParser.parse(xml),
  14132. class: xml.tagName.toLowerCase(),
  14133. };
  14134. }
  14135. };
  14136. AdditionParser = AdditionParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  14137. Object(___WEBPACK_IMPORTED_MODULE_1__["xmlParser"])('add', AdditionParser_1)
  14138. ], AdditionParser);
  14139. let WordParser = WordParser_1 = class WordParser extends EmptyParser {
  14140. constructor() {
  14141. super(...arguments);
  14142. this.attributeParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["createParser"])(AttributeParser, this.genericParse);
  14143. }
  14144. parse(xml) {
  14145. const attributes = this.attributeParser.parse(xml);
  14146. const { lemma } = attributes;
  14147. return {
  14148. type: _models_evt_models__WEBPACK_IMPORTED_MODULE_2__["Word"],
  14149. lemma,
  14150. class: Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["getClass"])(xml),
  14151. content: Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["parseChildren"])(xml, this.genericParse),
  14152. attributes: this.attributeParser.parse(xml),
  14153. };
  14154. }
  14155. };
  14156. WordParser = WordParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  14157. Object(___WEBPACK_IMPORTED_MODULE_1__["xmlParser"])('w', WordParser_1)
  14158. ], WordParser);
  14159. let DeletionParser = DeletionParser_1 = class DeletionParser extends EmptyParser {
  14160. constructor() {
  14161. super(...arguments);
  14162. this.elementParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["createParser"])(GenericElemParser, this.genericParse);
  14163. this.attributeParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["createParser"])(AttributeParser, this.genericParse);
  14164. }
  14165. parse(xml) {
  14166. return {
  14167. type: _models_evt_models__WEBPACK_IMPORTED_MODULE_2__["Deletion"],
  14168. rend: xml.getAttribute('rend'),
  14169. path: Object(_utils_dom_utils__WEBPACK_IMPORTED_MODULE_3__["xpath"])(xml),
  14170. content: Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["parseChildren"])(xml, this.genericParse),
  14171. attributes: this.attributeParser.parse(xml),
  14172. class: xml.tagName.toLowerCase(),
  14173. };
  14174. }
  14175. };
  14176. DeletionParser = DeletionParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  14177. Object(___WEBPACK_IMPORTED_MODULE_1__["xmlParser"])('del', DeletionParser_1)
  14178. ], DeletionParser);
  14179. let TermParser = TermParser_1 = class TermParser extends GenericElemParser {
  14180. parse(xml) {
  14181. return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_2__["Term"], id: xml.getAttribute('xml:id'), ref: xml.getAttribute('ref'), rend: xml.getAttribute('rend') });
  14182. }
  14183. };
  14184. TermParser = TermParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  14185. Object(___WEBPACK_IMPORTED_MODULE_1__["xmlParser"])('term', TermParser_1)
  14186. ], TermParser);
  14187. /***/ }),
  14188. /***/ "d25s":
  14189. /*!********************************************************!*\
  14190. !*** ./src/app/services/component-register.service.ts ***!
  14191. \********************************************************/
  14192. /*! exports provided: register, ComponentRegisterService */
  14193. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  14194. "use strict";
  14195. __webpack_require__.r(__webpack_exports__);
  14196. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "register", function() { return register; });
  14197. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ComponentRegisterService", function() { return ComponentRegisterService; });
  14198. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "fXoL");
  14199. // tslint:disable-next-line: no-any
  14200. const COMPONENT_MAP = {};
  14201. // tslint:disable-next-line: no-any
  14202. function register(dataType) {
  14203. // tslint:disable-next-line: no-any
  14204. return (cls) => {
  14205. COMPONENT_MAP[dataType.name] = cls;
  14206. };
  14207. }
  14208. class ComponentRegisterService {
  14209. // tslint:disable-next-line: no-any
  14210. getComponent(dataType) {
  14211. return COMPONENT_MAP[dataType.name];
  14212. }
  14213. }
  14214. ComponentRegisterService.ɵfac = function ComponentRegisterService_Factory(t) { return new (t || ComponentRegisterService)(); };
  14215. ComponentRegisterService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ token: ComponentRegisterService, factory: ComponentRegisterService.ɵfac, providedIn: 'root' });
  14216. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](ComponentRegisterService, [{
  14217. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"],
  14218. args: [{
  14219. providedIn: 'root',
  14220. }]
  14221. }], null, null); })();
  14222. /***/ }),
  14223. /***/ "du+M":
  14224. /*!*************************************************************************!*\
  14225. !*** ./src/app/components/apparatus-entry/apparatus-entry.component.ts ***!
  14226. \*************************************************************************/
  14227. /*! exports provided: ApparatusEntryComponent */
  14228. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  14229. "use strict";
  14230. __webpack_require__.r(__webpack_exports__);
  14231. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ApparatusEntryComponent", function() { return ApparatusEntryComponent; });
  14232. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "mrSG");
  14233. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "fXoL");
  14234. /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs/operators */ "kU1M");
  14235. /* harmony import */ var _models_evt_models__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../models/evt-models */ "5c0l");
  14236. /* harmony import */ var _services_component_register_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../services/component-register.service */ "d25s");
  14237. /* harmony import */ var _services_evt_model_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../services/evt-model.service */ "hI0h");
  14238. /* harmony import */ var _apparatus_entry_detail_apparatus_entry_detail_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./apparatus-entry-detail/apparatus-entry-detail.component */ "xZzZ");
  14239. /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @angular/common */ "ofXK");
  14240. /* harmony import */ var _reading_reading_component__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../reading/reading.component */ "QgGR");
  14241. function ApparatusEntryComponent_span_0_evt_reading_2_Template(rf, ctx) { if (rf & 1) {
  14242. const _r4 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵgetCurrentView"]();
  14243. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "evt-reading", 4);
  14244. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("click", function ApparatusEntryComponent_span_0_evt_reading_2_Template_evt_reading_click_0_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵrestoreView"](_r4); const ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2); return ctx_r3.toggleAppEntryBox($event); });
  14245. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  14246. } if (rf & 2) {
  14247. const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
  14248. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("data", ctx_r1.data.lemma);
  14249. } }
  14250. function ApparatusEntryComponent_span_0_evt_apparatus_entry_detail_3_Template(rf, ctx) { if (rf & 1) {
  14251. const _r6 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵgetCurrentView"]();
  14252. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "evt-apparatus-entry-detail", 5);
  14253. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("click", function ApparatusEntryComponent_span_0_evt_apparatus_entry_detail_3_Template_evt_apparatus_entry_detail_click_0_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵrestoreView"](_r6); const ctx_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2); return ctx_r5.stopPropagation($event); });
  14254. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  14255. } if (rf & 2) {
  14256. const ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
  14257. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("data", ctx_r2.data);
  14258. } }
  14259. const _c0 = function (a0) { return { "app-detail-opened": a0 }; };
  14260. function ApparatusEntryComponent_span_0_Template(rf, ctx) { if (rf & 1) {
  14261. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 1);
  14262. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](1, "async");
  14263. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, ApparatusEntryComponent_span_0_evt_reading_2_Template, 1, 1, "evt-reading", 2);
  14264. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, ApparatusEntryComponent_span_0_evt_apparatus_entry_detail_3_Template, 1, 1, "evt-apparatus-entry-detail", 3);
  14265. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  14266. } if (rf & 2) {
  14267. const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  14268. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](6, _c0, ctx_r0.opened));
  14269. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵattribute"]("data-variance", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](1, 4, ctx_r0.variance$));
  14270. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  14271. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx_r0.data == null ? null : ctx_r0.data.lemma);
  14272. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  14273. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", (ctx_r0.data == null ? null : ctx_r0.data.lemma) && ctx_r0.opened);
  14274. } }
  14275. let ApparatusEntryComponent = class ApparatusEntryComponent {
  14276. constructor(evtModelService, parentDetailComponent) {
  14277. this.evtModelService = evtModelService;
  14278. this.parentDetailComponent = parentDetailComponent;
  14279. this.opened = false;
  14280. this.nestedApps = [];
  14281. this.variance$ = this.evtModelService.appVariance$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])((variances) => variances[this.data.id]), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["shareReplay"])(1));
  14282. this.isInsideAppDetail = this.parentDetailComponent ? true : false;
  14283. }
  14284. toggleAppEntryBox(e) {
  14285. e.stopPropagation();
  14286. this.opened = !this.opened;
  14287. }
  14288. closeAppEntryBox() {
  14289. this.opened = false;
  14290. }
  14291. stopPropagation(e) {
  14292. e.stopPropagation();
  14293. }
  14294. };
  14295. ApparatusEntryComponent.ɵfac = function ApparatusEntryComponent_Factory(t) { return new (t || ApparatusEntryComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_services_evt_model_service__WEBPACK_IMPORTED_MODULE_5__["EVTModelService"]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_apparatus_entry_detail_apparatus_entry_detail_component__WEBPACK_IMPORTED_MODULE_6__["ApparatusEntryDetailComponent"], 8)); };
  14296. ApparatusEntryComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({ type: ApparatusEntryComponent, selectors: [["evt-apparatus-entry"]], inputs: { data: "data" }, decls: 1, vars: 1, consts: [["class", "app-entry", 3, "ngClass", 4, "ngIf"], [1, "app-entry", 3, "ngClass"], ["class", "app-entry-lem", 3, "data", "click", 4, "ngIf"], [3, "data", "click", 4, "ngIf"], [1, "app-entry-lem", 3, "data", "click"], [3, "data", "click"]], template: function ApparatusEntryComponent_Template(rf, ctx) { if (rf & 1) {
  14297. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](0, ApparatusEntryComponent_span_0_Template, 4, 8, "span", 0);
  14298. } if (rf & 2) {
  14299. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", !ctx.isInsideAppDetail);
  14300. } }, directives: [_angular_common__WEBPACK_IMPORTED_MODULE_7__["NgIf"], _angular_common__WEBPACK_IMPORTED_MODULE_7__["NgClass"], _reading_reading_component__WEBPACK_IMPORTED_MODULE_8__["ReadingComponent"], _apparatus_entry_detail_apparatus_entry_detail_component__WEBPACK_IMPORTED_MODULE_6__["ApparatusEntryDetailComponent"]], pipes: [_angular_common__WEBPACK_IMPORTED_MODULE_7__["AsyncPipe"]], styles: [".app-entry.app-detail-opened[_ngcontent-%COMP%] > .app-entry-lem[_ngcontent-%COMP%] {\n position: relative;\n z-index: 1;\n padding-bottom: 0.313rem;\n}\n[data-theme=restore][_nghost-%COMP%] .app-entry.app-detail-opened[_ngcontent-%COMP%] > .app-entry-lem[_ngcontent-%COMP%], [data-theme=restore] [_nghost-%COMP%] .app-entry.app-detail-opened[_ngcontent-%COMP%] > .app-entry-lem[_ngcontent-%COMP%], [data-theme=restore][_ngcontent-%COMP%] .app-entry.app-detail-opened[_ngcontent-%COMP%] > .app-entry-lem[_ngcontent-%COMP%] {\n border: 1px solid rgba(0, 0, 0, 0.125);\n border-bottom: 0;\n}\n[data-theme=neutral][_nghost-%COMP%] .app-entry.app-detail-opened[_ngcontent-%COMP%] > .app-entry-lem[_ngcontent-%COMP%], [data-theme=neutral] [_nghost-%COMP%] .app-entry.app-detail-opened[_ngcontent-%COMP%] > .app-entry-lem[_ngcontent-%COMP%], [data-theme=neutral][_ngcontent-%COMP%] .app-entry.app-detail-opened[_ngcontent-%COMP%] > .app-entry-lem[_ngcontent-%COMP%] {\n border: 1px solid rgba(0, 0, 0, 0.125);\n border-bottom: 0;\n}\n[data-theme=modern][_nghost-%COMP%] .app-entry.app-detail-opened[_ngcontent-%COMP%] > .app-entry-lem[_ngcontent-%COMP%], [data-theme=modern] [_nghost-%COMP%] .app-entry.app-detail-opened[_ngcontent-%COMP%] > .app-entry-lem[_ngcontent-%COMP%], [data-theme=modern][_ngcontent-%COMP%] .app-entry.app-detail-opened[_ngcontent-%COMP%] > .app-entry-lem[_ngcontent-%COMP%] {\n border: 1px solid rgba(0, 0, 0, 0.125);\n border-bottom: 0;\n}\n[data-theme=classic][_nghost-%COMP%] .app-entry.app-detail-opened[_ngcontent-%COMP%] > .app-entry-lem[_ngcontent-%COMP%], [data-theme=classic] [_nghost-%COMP%] .app-entry.app-detail-opened[_ngcontent-%COMP%] > .app-entry-lem[_ngcontent-%COMP%], [data-theme=classic][_ngcontent-%COMP%] .app-entry.app-detail-opened[_ngcontent-%COMP%] > .app-entry-lem[_ngcontent-%COMP%] {\n border: 1px solid rgba(0, 0, 0, 0.125);\n border-bottom: 0;\n}\n.app-entry-lem[_ngcontent-%COMP%] {\n cursor: pointer;\n}\n[data-theme=restore][_nghost-%COMP%] .app-entry-lem[_ngcontent-%COMP%], [data-theme=restore] [_nghost-%COMP%] .app-entry-lem[_ngcontent-%COMP%], [data-theme=restore][_ngcontent-%COMP%] .app-entry-lem[_ngcontent-%COMP%] {\n background-color: #ccc;\n}\n[data-theme=neutral][_nghost-%COMP%] .app-entry-lem[_ngcontent-%COMP%], [data-theme=neutral] [_nghost-%COMP%] .app-entry-lem[_ngcontent-%COMP%], [data-theme=neutral][_ngcontent-%COMP%] .app-entry-lem[_ngcontent-%COMP%] {\n background-color: #ccc;\n}\n[data-theme=modern][_nghost-%COMP%] .app-entry-lem[_ngcontent-%COMP%], [data-theme=modern] [_nghost-%COMP%] .app-entry-lem[_ngcontent-%COMP%], [data-theme=modern][_ngcontent-%COMP%] .app-entry-lem[_ngcontent-%COMP%] {\n background-color: #ccc;\n}\n[data-theme=classic][_nghost-%COMP%] .app-entry-lem[_ngcontent-%COMP%], [data-theme=classic] [_nghost-%COMP%] .app-entry-lem[_ngcontent-%COMP%], [data-theme=classic][_ngcontent-%COMP%] .app-entry-lem[_ngcontent-%COMP%] {\n background-color: #ccc;\n}\n.app-entry-lem[_ngcontent-%COMP%] .app-entry-lem[_ngcontent-%COMP%] {\n background-color: gray;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2FwcGFyYXR1cy1lbnRyeS5jb21wb25lbnQuc2NzcyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2Fzc2V0cy9zY3NzL190aGVtZXMuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFJUTtFQUNJLGtCQUFBO0VBQ0EsVUFBQTtFQUNBLHdCQUFBO0FBSFo7QUNxRlE7RURoRlEsc0NBQUE7RUFDQSxnQkFBQTtBQUZoQjtBQ2lGUTtFRGhGUSxzQ0FBQTtFQUNBLGdCQUFBO0FBRWhCO0FDNkVRO0VEaEZRLHNDQUFBO0VBQ0EsZ0JBQUE7QUFNaEI7QUN5RVE7RURoRlEsc0NBQUE7RUFDQSxnQkFBQTtBQVVoQjtBQUpBO0VBTUksZUFBQTtBQUVKO0FDaUVRO0VEdEVBLHNCQUFB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XRhLXRoZW1lPVwiI3skdGhlbWV9XCJdIHtcbiAgICAgICAgICAgICR0aGVtZS1tYXA6ICgpICFnbG9iYWw7XG4gICAgICAgICAgICBAZWFjaCAka2V5LCAkc3VibWFwIGluICRtYXAge1xuICAgICAgICAgICAgICAgICR2YWx1ZTogbWFwLWdldChtYXAtZ2V0KCR0aGVtZXMsICR0aGVtZSksICcjeyRrZXl9Jyk7XG4gICAgICAgICAgICAgICAgJHRoZW1lLW1hcDogbWFwLW1lcmdlKCR0aGVtZS1tYXAsICgka2V5OiAkdmFsdWUpKSAhZ2xvYmFsO1xuICAgICAgICAgICAgfVxuICAgICAgICAgICAgQGNvbnRlbnQ7XG4gICAgICAgICAgICAkdGhlbWUtbWFwOiBudWxsICFnbG9iYWw7XG4gICAgICAgIH1cbiAgICB9XG59XG5cbkBmdW5jdGlvbiB0aGVtZWQoJGtleSkge1xuICAgIEByZXR1cm4gbWFwLWdldCgkdGhlbWUtbWFwLCAka2V5KTtcbn1cblxuIl19 */"], changeDetection: 0 });
  14301. ApparatusEntryComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  14302. Object(_services_component_register_service__WEBPACK_IMPORTED_MODULE_4__["register"])(_models_evt_models__WEBPACK_IMPORTED_MODULE_3__["ApparatusEntry"])
  14303. ], ApparatusEntryComponent);
  14304. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](ApparatusEntryComponent, [{
  14305. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
  14306. args: [{
  14307. selector: 'evt-apparatus-entry',
  14308. templateUrl: './apparatus-entry.component.html',
  14309. styleUrls: ['./apparatus-entry.component.scss'],
  14310. changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_1__["ChangeDetectionStrategy"].OnPush,
  14311. }]
  14312. }], function () { return [{ type: _services_evt_model_service__WEBPACK_IMPORTED_MODULE_5__["EVTModelService"] }, { type: _apparatus_entry_detail_apparatus_entry_detail_component__WEBPACK_IMPORTED_MODULE_6__["ApparatusEntryDetailComponent"], decorators: [{
  14313. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Optional"]
  14314. }] }]; }, { data: [{
  14315. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
  14316. }] }); })();
  14317. /***/ }),
  14318. /***/ "etwH":
  14319. /*!***********************************************************************************************************!*\
  14320. !*** ./src/app/components/apparatus-entry/apparatus-entry-readings/apparatus-entry-readings.component.ts ***!
  14321. \***********************************************************************************************************/
  14322. /*! exports provided: ApparatusEntryReadingsComponent */
  14323. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  14324. "use strict";
  14325. __webpack_require__.r(__webpack_exports__);
  14326. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ApparatusEntryReadingsComponent", function() { return ApparatusEntryReadingsComponent; });
  14327. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "mrSG");
  14328. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "fXoL");
  14329. /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs/operators */ "kU1M");
  14330. /* harmony import */ var src_app_services_component_register_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! src/app/services/component-register.service */ "d25s");
  14331. /* harmony import */ var src_app_services_evt_model_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! src/app/services/evt-model.service */ "hI0h");
  14332. /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/common */ "ofXK");
  14333. /* harmony import */ var _reading_reading_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../reading/reading.component */ "QgGR");
  14334. var ApparatusEntryReadingsComponent_1;
  14335. function ApparatusEntryReadingsComponent_evt_reading_1_Template(rf, ctx) { if (rf & 1) {
  14336. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-reading", 4);
  14337. } if (rf & 2) {
  14338. const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  14339. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("data", ctx_r0.data.lemma);
  14340. } }
  14341. function ApparatusEntryReadingsComponent_ng_container_2_ng_container_1_Template(rf, ctx) { if (rf & 1) {
  14342. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0);
  14343. } }
  14344. const _c0 = function (a0) { return { rdgHasCounter: a0 }; };
  14345. function ApparatusEntryReadingsComponent_ng_container_2_Template(rf, ctx) { if (rf & 1) {
  14346. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
  14347. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, ApparatusEntryReadingsComponent_ng_container_2_ng_container_1_Template, 1, 0, "ng-container", 5);
  14348. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
  14349. } if (rf & 2) {
  14350. const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  14351. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  14352. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", ctx_r1.template)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](2, _c0, ctx_r1.rdgHasCounter));
  14353. } }
  14354. function ApparatusEntryReadingsComponent_ng_container_3_span_1_Template(rf, ctx) { if (rf & 1) {
  14355. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span");
  14356. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1);
  14357. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  14358. } if (rf & 2) {
  14359. const witID_r6 = ctx.$implicit;
  14360. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  14361. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"](" ", witID_r6, "");
  14362. } }
  14363. function ApparatusEntryReadingsComponent_ng_container_3_Template(rf, ctx) { if (rf & 1) {
  14364. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
  14365. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, ApparatusEntryReadingsComponent_ng_container_3_span_1_Template, 2, 1, "span", 6);
  14366. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
  14367. } if (rf & 2) {
  14368. const ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  14369. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  14370. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r2.data.lemma.witIDs);
  14371. } }
  14372. function ApparatusEntryReadingsComponent_span_6_evt_reading_1_Template(rf, ctx) { if (rf & 1) {
  14373. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-reading", 4);
  14374. } if (rf & 2) {
  14375. const el_r7 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]().$implicit;
  14376. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("data", el_r7);
  14377. } }
  14378. function ApparatusEntryReadingsComponent_span_6_span_2_Template(rf, ctx) { if (rf & 1) {
  14379. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 8);
  14380. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1, "omit.");
  14381. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  14382. } }
  14383. function ApparatusEntryReadingsComponent_span_6_ng_container_3_span_1_Template(rf, ctx) { if (rf & 1) {
  14384. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 8);
  14385. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1);
  14386. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  14387. } if (rf & 2) {
  14388. const wit_r14 = ctx.$implicit;
  14389. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  14390. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"](" ", wit_r14, " ");
  14391. } }
  14392. function ApparatusEntryReadingsComponent_span_6_ng_container_3_Template(rf, ctx) { if (rf & 1) {
  14393. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
  14394. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, ApparatusEntryReadingsComponent_span_6_ng_container_3_span_1_Template, 2, 1, "span", 9);
  14395. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](2, "async");
  14396. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
  14397. } if (rf & 2) {
  14398. const witID_r12 = ctx.$implicit;
  14399. const ctx_r10 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
  14400. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  14401. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](2, 1, ctx_r10.getWits$(witID_r12)));
  14402. } }
  14403. function ApparatusEntryReadingsComponent_span_6_Template(rf, ctx) { if (rf & 1) {
  14404. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 0);
  14405. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, ApparatusEntryReadingsComponent_span_6_evt_reading_1_Template, 1, 1, "evt-reading", 1);
  14406. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, ApparatusEntryReadingsComponent_span_6_span_2_Template, 2, 0, "span", 7);
  14407. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, ApparatusEntryReadingsComponent_span_6_ng_container_3_Template, 3, 3, "ng-container", 6);
  14408. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  14409. } if (rf & 2) {
  14410. const el_r7 = ctx.$implicit;
  14411. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  14412. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", el_r7.content.length !== 0);
  14413. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  14414. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", el_r7.content.length === 0);
  14415. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  14416. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", el_r7.witIDs);
  14417. } }
  14418. let ApparatusEntryReadingsComponent = ApparatusEntryReadingsComponent_1 = class ApparatusEntryReadingsComponent {
  14419. constructor(evtModelService) {
  14420. this.evtModelService = evtModelService;
  14421. this.groups$ = this.evtModelService.groups$;
  14422. }
  14423. get significantRdg() {
  14424. return this.data.readings.filter((rdg) => rdg.significant);
  14425. }
  14426. getWits$(witID) {
  14427. return this.groups$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])((groups) => {
  14428. return groups.filter((g) => g.id === witID).map((g) => g.witnesses).reduce((x, y) => ([...x, ...y]), []);
  14429. }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])((groupWits) => groupWits.length > 0 ? groupWits : [witID]));
  14430. }
  14431. };
  14432. ApparatusEntryReadingsComponent.ɵfac = function ApparatusEntryReadingsComponent_Factory(t) { return new (t || ApparatusEntryReadingsComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](src_app_services_evt_model_service__WEBPACK_IMPORTED_MODULE_4__["EVTModelService"])); };
  14433. ApparatusEntryReadingsComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({ type: ApparatusEntryReadingsComponent, selectors: [["evt-apparatus-entry-readings"]], inputs: { data: "data", rdgHasCounter: "rdgHasCounter", template: "template" }, decls: 7, vars: 4, consts: [[1, "app-entry-reading"], [3, "data", 4, "ngIf"], [4, "ngIf"], ["class", "app-entry-reading", 4, "ngFor", "ngForOf"], [3, "data"], [4, "ngTemplateOutlet", "ngTemplateOutletContext"], [4, "ngFor", "ngForOf"], ["class", "font-italic", 4, "ngIf"], [1, "font-italic"], ["class", "font-italic", 4, "ngFor", "ngForOf"]], template: function ApparatusEntryReadingsComponent_Template(rf, ctx) { if (rf & 1) {
  14434. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 0);
  14435. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, ApparatusEntryReadingsComponent_evt_reading_1_Template, 1, 1, "evt-reading", 1);
  14436. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, ApparatusEntryReadingsComponent_ng_container_2_Template, 2, 4, "ng-container", 2);
  14437. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, ApparatusEntryReadingsComponent_ng_container_3_Template, 2, 1, "ng-container", 2);
  14438. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](4, "span");
  14439. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](5, "] ");
  14440. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  14441. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  14442. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](6, ApparatusEntryReadingsComponent_span_6_Template, 4, 3, "span", 3);
  14443. } if (rf & 2) {
  14444. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  14445. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data.nestedAppsIDs.length === 0);
  14446. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  14447. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data.nestedAppsIDs.length > 0);
  14448. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  14449. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data.lemma.content.length > 0);
  14450. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](3);
  14451. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx.significantRdg);
  14452. } }, directives: [_angular_common__WEBPACK_IMPORTED_MODULE_5__["NgIf"], _angular_common__WEBPACK_IMPORTED_MODULE_5__["NgForOf"], _reading_reading_component__WEBPACK_IMPORTED_MODULE_6__["ReadingComponent"], _angular_common__WEBPACK_IMPORTED_MODULE_5__["NgTemplateOutlet"]], pipes: [_angular_common__WEBPACK_IMPORTED_MODULE_5__["AsyncPipe"]], styles: [".app-entry-reading[_ngcontent-%COMP%] {\n display: inline-block;\n padding-right: 0.5rem;\n line-height: 1;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL2FwcGFyYXR1cy1lbnRyeS1yZWFkaW5ncy5jb21wb25lbnQuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNJLHFCQUFBO0VBQ0EscUJBQUE7RUFDQSxjQUFBO0FBQ0oiLCJmaWxlIjoiYXBwYXJhdHVzLWVudHJ5LXJlYWRpbmdzLmNvbXBvbmVudC5zY3NzIiwic291cmNlc0NvbnRlbnQiOlsiLmFwcC1lbnRyeS1yZWFkaW5nIHtcbiAgICBkaXNwbGF5OiBpbmxpbmUtYmxvY2s7XG4gICAgcGFkZGluZy1yaWdodDogMC41cmVtO1xuICAgIGxpbmUtaGVpZ2h0OiAxO1xufSJdfQ== */"], changeDetection: 0 });
  14453. ApparatusEntryReadingsComponent = ApparatusEntryReadingsComponent_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  14454. Object(src_app_services_component_register_service__WEBPACK_IMPORTED_MODULE_3__["register"])(ApparatusEntryReadingsComponent_1)
  14455. ], ApparatusEntryReadingsComponent);
  14456. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](ApparatusEntryReadingsComponent, [{
  14457. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
  14458. args: [{
  14459. selector: 'evt-apparatus-entry-readings',
  14460. templateUrl: './apparatus-entry-readings.component.html',
  14461. styleUrls: ['./apparatus-entry-readings.component.scss'],
  14462. changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_1__["ChangeDetectionStrategy"].OnPush,
  14463. }]
  14464. }], function () { return [{ type: src_app_services_evt_model_service__WEBPACK_IMPORTED_MODULE_4__["EVTModelService"] }]; }, { data: [{
  14465. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
  14466. }], rdgHasCounter: [{
  14467. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
  14468. }], template: [{
  14469. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
  14470. }] }); })();
  14471. /***/ }),
  14472. /***/ "fBFu":
  14473. /*!***********************************************************!*\
  14474. !*** ./src/app/components/supplied/supplied.component.ts ***!
  14475. \***********************************************************/
  14476. /*! exports provided: SuppliedComponent */
  14477. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  14478. "use strict";
  14479. __webpack_require__.r(__webpack_exports__);
  14480. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SuppliedComponent", function() { return SuppliedComponent; });
  14481. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "mrSG");
  14482. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "fXoL");
  14483. /* harmony import */ var src_app_models_evt_models__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! src/app/models/evt-models */ "5c0l");
  14484. /* harmony import */ var src_app_services_component_register_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! src/app/services/component-register.service */ "d25s");
  14485. /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/common */ "ofXK");
  14486. /* harmony import */ var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @ng-bootstrap/ng-bootstrap */ "1kSV");
  14487. /* harmony import */ var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../content-viewer/content-viewer.component */ "t6RO");
  14488. function SuppliedComponent_span_0_evt_content_viewer_2_Template(rf, ctx) { if (rf & 1) {
  14489. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 3);
  14490. } if (rf & 2) {
  14491. const element_r2 = ctx.$implicit;
  14492. const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
  14493. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", element_r2)("editionLevel", ctx_r1.editionLevel)("itemsToHighlight", ctx_r1.itemsToHighlight);
  14494. } }
  14495. function SuppliedComponent_span_0_Template(rf, ctx) { if (rf & 1) {
  14496. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 1);
  14497. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1, "[");
  14498. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, SuppliedComponent_span_0_evt_content_viewer_2_Template, 1, 3, "evt-content-viewer", 2);
  14499. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](3, "]");
  14500. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  14501. } if (rf & 2) {
  14502. const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  14503. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵclassMap"](ctx_r0.data.class);
  14504. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngbPopover", ctx_r0.data == null ? null : ctx_r0.data.reason)("openDelay", 500);
  14505. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵattribute"]("data-reason", (ctx_r0.data == null ? null : ctx_r0.data.reason) || "");
  14506. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  14507. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r0.data.content);
  14508. } }
  14509. let SuppliedComponent = class SuppliedComponent {
  14510. };
  14511. SuppliedComponent.ɵfac = function SuppliedComponent_Factory(t) { return new (t || SuppliedComponent)(); };
  14512. SuppliedComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({ type: SuppliedComponent, selectors: [["evt-supplied"]], inputs: { data: "data" }, decls: 1, vars: 1, consts: [["triggers", "mouseenter:mouseleave", 3, "class", "ngbPopover", "openDelay", 4, "ngIf"], ["triggers", "mouseenter:mouseleave", 3, "ngbPopover", "openDelay"], [3, "content", "editionLevel", "itemsToHighlight", 4, "ngFor", "ngForOf"], [3, "content", "editionLevel", "itemsToHighlight"]], template: function SuppliedComponent_Template(rf, ctx) { if (rf & 1) {
  14513. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](0, SuppliedComponent_span_0_Template, 4, 7, "span", 0);
  14514. } if (rf & 2) {
  14515. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.editionLevel !== "diplomatic");
  14516. } }, directives: [_angular_common__WEBPACK_IMPORTED_MODULE_4__["NgIf"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_5__["NgbPopover"], _angular_common__WEBPACK_IMPORTED_MODULE_4__["NgForOf"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_6__["ContentViewerComponent"]], styles: ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzdXBwbGllZC5jb21wb25lbnQuc2NzcyJ9 */"] });
  14517. SuppliedComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  14518. Object(src_app_services_component_register_service__WEBPACK_IMPORTED_MODULE_3__["register"])(src_app_models_evt_models__WEBPACK_IMPORTED_MODULE_2__["Supplied"])
  14519. ], SuppliedComponent);
  14520. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](SuppliedComponent, [{
  14521. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
  14522. args: [{
  14523. selector: 'evt-supplied',
  14524. templateUrl: './supplied.component.html',
  14525. styleUrls: ['./supplied.component.scss'],
  14526. }]
  14527. }], null, { data: [{
  14528. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
  14529. }] }); })();
  14530. /***/ }),
  14531. /***/ "fBrD":
  14532. /*!*************************************************!*\
  14533. !*** ./src/app/components/sic/sic.component.ts ***!
  14534. \*************************************************/
  14535. /*! exports provided: SicComponent */
  14536. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  14537. "use strict";
  14538. __webpack_require__.r(__webpack_exports__);
  14539. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SicComponent", function() { return SicComponent; });
  14540. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "mrSG");
  14541. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "fXoL");
  14542. /* harmony import */ var _models_evt_models__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../models/evt-models */ "5c0l");
  14543. /* harmony import */ var _services_component_register_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../services/component-register.service */ "d25s");
  14544. /* harmony import */ var _directives_highlight_directive__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../directives/highlight.directive */ "CmGG");
  14545. /* harmony import */ var _directives_editorial_convention_layout_directive__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../directives/editorial-convention-layout.directive */ "FJNG");
  14546. /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/common */ "ofXK");
  14547. /* harmony import */ var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../content-viewer/content-viewer.component */ "t6RO");
  14548. function SicComponent_evt_content_viewer_1_Template(rf, ctx) { if (rf & 1) {
  14549. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 2);
  14550. } if (rf & 2) {
  14551. const element_r1 = ctx.$implicit;
  14552. const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  14553. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", element_r1)("editionLevel", ctx_r0.editionLevel)("itemsToHighlight", ctx_r0.itemsToHighlight);
  14554. } }
  14555. let SicComponent = class SicComponent {
  14556. get editorialConventionData() {
  14557. var _a;
  14558. return {
  14559. name: 'sic',
  14560. attributes: ((_a = this.data) === null || _a === void 0 ? void 0 : _a.attributes) || {},
  14561. editionLevel: this.editionLevel,
  14562. defaultsKey: this.defaultsKey,
  14563. };
  14564. }
  14565. get defaultsKey() {
  14566. switch (this.data.sicType) {
  14567. case 'crux':
  14568. return 'sicCrux';
  14569. }
  14570. }
  14571. };
  14572. SicComponent.ɵfac = function SicComponent_Factory(t) { return new (t || SicComponent)(); };
  14573. SicComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({ type: SicComponent, selectors: [["evt-sic"]], inputs: { data: "data" }, decls: 2, vars: 6, consts: [[3, "evtHighlight", "evtEditorialConventionLayout"], [3, "content", "editionLevel", "itemsToHighlight", 4, "ngFor", "ngForOf"], [3, "content", "editionLevel", "itemsToHighlight"]], template: function SicComponent_Template(rf, ctx) { if (rf & 1) {
  14574. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 0);
  14575. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, SicComponent_evt_content_viewer_1_Template, 1, 3, "evt-content-viewer", 1);
  14576. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  14577. } if (rf & 2) {
  14578. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵclassMap"](ctx.data.class);
  14579. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("evtHighlight", ctx.highlightData)("evtEditorialConventionLayout", ctx.editorialConventionData);
  14580. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  14581. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx.data.content);
  14582. } }, directives: [_directives_highlight_directive__WEBPACK_IMPORTED_MODULE_4__["HighlightDirective"], _directives_editorial_convention_layout_directive__WEBPACK_IMPORTED_MODULE_5__["EditorialConventionLayoutDirective"], _angular_common__WEBPACK_IMPORTED_MODULE_6__["NgForOf"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_7__["ContentViewerComponent"]], styles: ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzaWMuY29tcG9uZW50LnNjc3MifQ== */"] });
  14583. SicComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  14584. Object(_services_component_register_service__WEBPACK_IMPORTED_MODULE_3__["register"])(_models_evt_models__WEBPACK_IMPORTED_MODULE_2__["Sic"])
  14585. ], SicComponent);
  14586. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](SicComponent, [{
  14587. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
  14588. args: [{
  14589. selector: 'evt-sic',
  14590. templateUrl: './sic.component.html',
  14591. styleUrls: ['./sic.component.scss'],
  14592. }]
  14593. }], null, { data: [{
  14594. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
  14595. }] }); })();
  14596. /***/ }),
  14597. /***/ "fqbd":
  14598. /*!**********************************************!*\
  14599. !*** ./src/app/pinboard/pinboard.service.ts ***!
  14600. \**********************************************/
  14601. /*! exports provided: PinboardService */
  14602. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  14603. "use strict";
  14604. __webpack_require__.r(__webpack_exports__);
  14605. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PinboardService", function() { return PinboardService; });
  14606. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "fXoL");
  14607. /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rxjs */ "qCKp");
  14608. /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs/operators */ "kU1M");
  14609. class PinboardService {
  14610. constructor() {
  14611. this.items$ = new rxjs__WEBPACK_IMPORTED_MODULE_1__["BehaviorSubject"]({});
  14612. }
  14613. /**
  14614. * @todo Handle Groups of similar elements
  14615. * @todo Handle page/document/edition reference
  14616. * @todo Handle saving in local storage and retrieving from it on loading
  14617. */
  14618. toggleItem(item, additionalData) {
  14619. const itemId = item.id || item.path;
  14620. const items = this.items$.getValue();
  14621. if (items[itemId]) {
  14622. delete items[itemId];
  14623. }
  14624. else {
  14625. items[itemId] = Object.assign(Object.assign({}, item), { renderer: additionalData.renderer, pinType: additionalData.pinType || 'GenericPin', pinDate: item.pinDate ? item.pinDate : new Date() });
  14626. }
  14627. this.items$.next(items);
  14628. }
  14629. isItemPinned(item) {
  14630. const itemId = item.id || item.path;
  14631. const items = this.items$.getValue();
  14632. return items[itemId];
  14633. }
  14634. // tslint:disable-next-line: no-any
  14635. getItems(types) {
  14636. return this.items$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(items => {
  14637. let itemsArray = Array.from(Object.keys(items), (key) => items[key]);
  14638. if (types && types.length > 0) {
  14639. itemsArray = itemsArray.filter(item => item.pinType && types.indexOf(item.pinType) >= 0);
  14640. }
  14641. return itemsArray;
  14642. }));
  14643. }
  14644. }
  14645. PinboardService.ɵfac = function PinboardService_Factory(t) { return new (t || PinboardService)(); };
  14646. PinboardService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ token: PinboardService, factory: PinboardService.ɵfac, providedIn: 'root' });
  14647. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](PinboardService, [{
  14648. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"],
  14649. args: [{
  14650. providedIn: 'root',
  14651. }]
  14652. }], null, null); })();
  14653. /***/ }),
  14654. /***/ "ft15":
  14655. /*!**************************************************!*\
  14656. !*** ./src/app/services/edition-data.service.ts ***!
  14657. \**************************************************/
  14658. /*! exports provided: EditionDataService */
  14659. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  14660. "use strict";
  14661. __webpack_require__.r(__webpack_exports__);
  14662. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "EditionDataService", function() { return EditionDataService; });
  14663. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "fXoL");
  14664. /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rxjs */ "qCKp");
  14665. /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs/operators */ "kU1M");
  14666. /* harmony import */ var _app_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../app.config */ "aR35");
  14667. /* harmony import */ var _utils_xml_utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../utils/xml-utils */ "JQLQ");
  14668. /* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/common/http */ "tk/3");
  14669. class EditionDataService {
  14670. constructor(http) {
  14671. this.http = http;
  14672. this.editionUrls = _app_config__WEBPACK_IMPORTED_MODULE_3__["AppConfig"].evtSettings.files.editionUrls || [];
  14673. this.parsedEditionSource$ = this.loadAndParseEditionData();
  14674. }
  14675. loadAndParseEditionData() {
  14676. const editionUrl = this.editionUrls[0];
  14677. return this.http.get(editionUrl, { responseType: 'text' }).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(source => Object(_utils_xml_utils__WEBPACK_IMPORTED_MODULE_4__["parseXml"])(source)), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["mergeMap"])((editionData) => this.loadXIinclude(editionData, editionUrl.substring(0, editionUrl.lastIndexOf('/') + 1))), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["publishReplay"])(1), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["refCount"])(), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["catchError"])(() => this.handleLoadingError()));
  14678. }
  14679. loadXIinclude(doc, baseUrlPath) {
  14680. const parametro2 = document.location.href;
  14681. const parametro3 = parametro2.split("p=")[1].split("_")[0];
  14682. const parametro = '[href="lettere/' + parametro3 + '.xml"]';
  14683. //const filesToInclude = Array.from(doc.getElementsByTagName('xi:include'));
  14684. const filesToInclude = Array.from(doc.querySelectorAll(parametro));
  14685. const xiIncludeLoadsSubs = filesToInclude.map(element => this.http.get(baseUrlPath + element.getAttribute('href'), { responseType: 'text' })
  14686. .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["tap"])((fileData) => {
  14687. const includedDoc = Object(_utils_xml_utils__WEBPACK_IMPORTED_MODULE_4__["parseXml"])(fileData);
  14688. const fileXpointer = element.getAttribute('xpointer');
  14689. let includedTextElem;
  14690. if (fileXpointer) {
  14691. includedTextElem = doc.querySelector(`[*|id="${fileXpointer}"]`) || includedDoc.querySelector('text');
  14692. }
  14693. else {
  14694. includedTextElem = includedDoc.querySelector('text');
  14695. }
  14696. // element.parentNode.replaceChild(includedTextElem, element);
  14697. element.parentNode.appendChild(includedTextElem);
  14698. }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["catchError"])(_ => {
  14699. Array.from(element.getElementsByTagName('xi:fallback')).map((el) => {
  14700. const divEl = document.createElement('div');
  14701. divEl.classList.add('xiinclude-fallback');
  14702. divEl.setAttribute('xml:id', element.getAttribute('xpointer'));
  14703. divEl.innerHTML = `<p>${el.innerHTML}</p>`;
  14704. return divEl;
  14705. }).forEach((el) => element.parentNode.replaceChild(el, element));
  14706. return Object(rxjs__WEBPACK_IMPORTED_MODULE_1__["of"])(doc);
  14707. })));
  14708. if (xiIncludeLoadsSubs.length > 0) {
  14709. return Object(rxjs__WEBPACK_IMPORTED_MODULE_1__["forkJoin"])(xiIncludeLoadsSubs).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(() => doc));
  14710. }
  14711. return Object(rxjs__WEBPACK_IMPORTED_MODULE_1__["of"])(doc);
  14712. }
  14713. handleLoadingError() {
  14714. // TODO: TEMP
  14715. const errorEl = document.createElement('div');
  14716. if (!this.editionUrls || this.editionUrls.length === 0) {
  14717. errorEl.textContent = 'Missing configuration for edition files. Data cannot be loaded.';
  14718. }
  14719. else {
  14720. errorEl.textContent = 'There was an error in loading edition files.';
  14721. }
  14722. return Object(rxjs__WEBPACK_IMPORTED_MODULE_1__["of"])(errorEl);
  14723. }
  14724. }
  14725. EditionDataService.ɵfac = function EditionDataService_Factory(t) { return new (t || EditionDataService)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_common_http__WEBPACK_IMPORTED_MODULE_5__["HttpClient"])); };
  14726. EditionDataService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ token: EditionDataService, factory: EditionDataService.ɵfac, providedIn: 'root' });
  14727. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](EditionDataService, [{
  14728. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"],
  14729. args: [{
  14730. providedIn: 'root',
  14731. }]
  14732. }], function () { return [{ type: _angular_common_http__WEBPACK_IMPORTED_MODULE_5__["HttpClient"] }]; }, null); })();
  14733. /***/ }),
  14734. /***/ "fvJq":
  14735. /*!*************************************************************!*\
  14736. !*** ./src/app/components/file-desc/file-desc.component.ts ***!
  14737. \*************************************************************/
  14738. /*! exports provided: FileDescComponent */
  14739. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  14740. "use strict";
  14741. __webpack_require__.r(__webpack_exports__);
  14742. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "FileDescComponent", function() { return FileDescComponent; });
  14743. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "mrSG");
  14744. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "fXoL");
  14745. /* harmony import */ var src_app_models_evt_models__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! src/app/models/evt-models */ "5c0l");
  14746. /* harmony import */ var src_app_services_component_register_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! src/app/services/component-register.service */ "d25s");
  14747. /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/common */ "ofXK");
  14748. /* harmony import */ var _ui_components_header_section_header_section_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../ui-components/header-section/header-section.component */ "iRdJ");
  14749. /* harmony import */ var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../content-viewer/content-viewer.component */ "t6RO");
  14750. /* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @ngx-translate/core */ "sYmb");
  14751. function FileDescComponent_ng_container_1_Template(rf, ctx) { if (rf & 1) {
  14752. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0);
  14753. } }
  14754. function FileDescComponent_ng_container_2_Template(rf, ctx) { if (rf & 1) {
  14755. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0);
  14756. } }
  14757. function FileDescComponent_ng_container_3_Template(rf, ctx) { if (rf & 1) {
  14758. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0);
  14759. } }
  14760. function FileDescComponent_ng_container_4_Template(rf, ctx) { if (rf & 1) {
  14761. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0);
  14762. } }
  14763. function FileDescComponent_ng_container_5_Template(rf, ctx) { if (rf & 1) {
  14764. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0);
  14765. } }
  14766. function FileDescComponent_ng_container_6_Template(rf, ctx) { if (rf & 1) {
  14767. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0);
  14768. } }
  14769. function FileDescComponent_ng_container_7_Template(rf, ctx) { if (rf & 1) {
  14770. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0);
  14771. } }
  14772. function FileDescComponent_ng_template_8_ng_container_0_h4_1_Template(rf, ctx) { if (rf & 1) {
  14773. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "h4");
  14774. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1);
  14775. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](2, "translate");
  14776. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  14777. } if (rf & 2) {
  14778. const ctx_r14 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
  14779. const class_r11 = ctx_r14.class;
  14780. const label_r9 = ctx_r14.label;
  14781. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵclassMapInterpolate1"]("main-section-title ", class_r11, "-title");
  14782. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  14783. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](2, 4, label_r9));
  14784. } }
  14785. function FileDescComponent_ng_template_8_ng_container_0_Template(rf, ctx) { if (rf & 1) {
  14786. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
  14787. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, FileDescComponent_ng_template_8_ng_container_0_h4_1_Template, 3, 6, "h4", 4);
  14788. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](2, "evt-header-section", 5);
  14789. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](3, "div", 6);
  14790. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](4, "evt-content-viewer", 7);
  14791. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  14792. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  14793. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
  14794. } if (rf & 2) {
  14795. const ctx_r15 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  14796. const label_r9 = ctx_r15.label;
  14797. const class_r11 = ctx_r15.class;
  14798. const content_r10 = ctx_r15.content;
  14799. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  14800. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", label_r9);
  14801. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  14802. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("additionalClass", class_r11);
  14803. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  14804. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", content_r10);
  14805. } }
  14806. function FileDescComponent_ng_template_8_Template(rf, ctx) { if (rf & 1) {
  14807. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](0, FileDescComponent_ng_template_8_ng_container_0_Template, 5, 3, "ng-container", 3);
  14808. } if (rf & 2) {
  14809. const content_r10 = ctx.content;
  14810. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", content_r10);
  14811. } }
  14812. const _c0 = function (a1) { return { label: "", content: a1, class: "titleStmt" }; };
  14813. const _c1 = function (a1) { return { label: "editionStatement", content: a1, class: "editionStmt" }; };
  14814. const _c2 = function (a1) { return { label: "extent", content: a1, class: "extent" }; };
  14815. const _c3 = function (a1) { return { label: "publicationStatement", content: a1, class: "publicationStmt" }; };
  14816. const _c4 = function (a1) { return { label: "seriesStatement", content: a1, class: "seriesStmt" }; };
  14817. const _c5 = function (a1) { return { label: "notesStatement", content: a1, class: "notesStmt" }; };
  14818. const _c6 = function (a1) { return { label: "sourceDesc", content: a1, class: "sourceDesc" }; };
  14819. let FileDescComponent = class FileDescComponent {
  14820. };
  14821. FileDescComponent.ɵfac = function FileDescComponent_Factory(t) { return new (t || FileDescComponent)(); };
  14822. FileDescComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({ type: FileDescComponent, selectors: [["evt-file-desc"]], inputs: { data: "data" }, decls: 10, vars: 28, consts: [[1, "fileDesc"], [4, "ngTemplateOutlet", "ngTemplateOutletContext"], ["section", ""], [4, "ngIf"], [3, "class", 4, "ngIf"], [3, "additionalClass"], ["content", ""], [3, "content"]], template: function FileDescComponent_Template(rf, ctx) { if (rf & 1) {
  14823. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 0);
  14824. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, FileDescComponent_ng_container_1_Template, 1, 0, "ng-container", 1);
  14825. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, FileDescComponent_ng_container_2_Template, 1, 0, "ng-container", 1);
  14826. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, FileDescComponent_ng_container_3_Template, 1, 0, "ng-container", 1);
  14827. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, FileDescComponent_ng_container_4_Template, 1, 0, "ng-container", 1);
  14828. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](5, FileDescComponent_ng_container_5_Template, 1, 0, "ng-container", 1);
  14829. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](6, FileDescComponent_ng_container_6_Template, 1, 0, "ng-container", 1);
  14830. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](7, FileDescComponent_ng_container_7_Template, 1, 0, "ng-container", 1);
  14831. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  14832. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](8, FileDescComponent_ng_template_8_Template, 1, 1, "ng-template", null, 2, _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplateRefExtractor"]);
  14833. } if (rf & 2) {
  14834. const _r7 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵreference"](9);
  14835. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  14836. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r7)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](14, _c0, ctx.data == null ? null : ctx.data.titleStmt));
  14837. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  14838. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r7)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](16, _c1, ctx.data == null ? null : ctx.data.editionStmt));
  14839. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  14840. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r7)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](18, _c2, ctx.data == null ? null : ctx.data.extent));
  14841. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  14842. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r7)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](20, _c3, ctx.data == null ? null : ctx.data.publicationStmt));
  14843. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  14844. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r7)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](22, _c4, ctx.data == null ? null : ctx.data.seriesStmt));
  14845. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  14846. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r7)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](24, _c5, ctx.data == null ? null : ctx.data.notesStmt));
  14847. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  14848. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r7)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](26, _c6, ctx.data == null ? null : ctx.data.sourceDesc));
  14849. } }, directives: [_angular_common__WEBPACK_IMPORTED_MODULE_4__["NgTemplateOutlet"], _angular_common__WEBPACK_IMPORTED_MODULE_4__["NgIf"], _ui_components_header_section_header_section_component__WEBPACK_IMPORTED_MODULE_5__["HeaderSectionComponent"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_6__["ContentViewerComponent"]], pipes: [_ngx_translate_core__WEBPACK_IMPORTED_MODULE_7__["TranslatePipe"]], styles: [".main-section-title[_ngcontent-%COMP%] {\n border-bottom: 1px dotted #666;\n margin-bottom: 5px;\n font-variant: small-caps;\n color: #000;\n font-size: 1.2rem;\n display: block;\n margin-top: 14px;\n text-align: left;\n}\n\n .fileDesc .sourceDesc-title {\n border-bottom: 1px dotted #666;\n margin-bottom: 5px;\n font-variant: small-caps;\n color: #000;\n font-size: 1.2rem;\n display: block;\n margin-top: 14px;\n text-align: left;\n}\n\n .fileDesc .sourceDesc .section.underline-dotted {\n border-bottom: none !important;\n}\n\n .fileDesc .extent .section-label {\n display: none !important;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2ZpbGUtZGVzYy5jb21wb25lbnQuc2NzcyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2Fzc2V0cy9zY3NzL19taXhpbnMuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFQTtFQzJGRSw4QkFBQTtFQUNBLGtCQUFBO0VBQ0Esd0JBQUE7RUFDQSxXQUFBO0VBQ0EsaUJBQUE7RUFDQSxjQUFBO0VBQ0EsZ0JBQUE7RUFDQSxnQkFBQTtBRDNGRjs7QUFGSTtFQ3NGRiw4QkFBQTtFQUNBLGtCQUFBO0VBQ0Esd0JBQUE7RUFDQSxXQUFBO0VBQ0EsaUJBQUE7RUFDQSxjQUFBO0VBQ0EsZ0JBQUE7RUFDQSxnQkFBQTtBRGhGRjs7QUFUSTtFQUNJLDhCQUFBO0FBV1I7O0FBUkk7RUFDSSx3QkFBQTtBQVVSIiwiZmlsZSI6ImZpbGUtZGVzYy5jb21wb25lbnQuc2NzcyIsInNvdXJjZXNDb250ZW50IjpbIkBpbXBvcnQgXCIuLi8uLi8uLi9hc3NldHMvc2Nzcy9taXhpbnNcIjtcblxuLm1haW4tc2VjdGlvbi10aXRsZSB7XG4gICAgQGluY2x1ZGUgaGVhZGVyU2VjdGlvblRpdGxlKCk7XG59XG5cbjo6bmctZGVlcCAuZmlsZURlc2Mge1xuICAgIC5zb3VyY2VEZXNjLXRpdGxlIHtcbiAgICAgICAgQGluY2x1ZGUgaGVhZGVyU2VjdGlvblRpdGxlKCk7XG4gICAgfVxuICAgIFxuICAgIC5zb3VyY2VEZXNjIC5zZWN0aW9uLnVuZGVybGluZS1kb3R0ZWQge1xuICAgICAgICBib3JkZXItY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S4ycmVtO1xuICBkaXNwbGF5OiBibG9jaztcbiAgbWFyZ2luLXRvcDogMTRweDtcbiAgdGV4dC1hbGlnbjogbGVmdDtcbn0iXX0= */"] });
  14850. FileDescComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  14851. Object(src_app_services_component_register_service__WEBPACK_IMPORTED_MODULE_3__["register"])(src_app_models_evt_models__WEBPACK_IMPORTED_MODULE_2__["FileDesc"])
  14852. ], FileDescComponent);
  14853. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](FileDescComponent, [{
  14854. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
  14855. args: [{
  14856. selector: 'evt-file-desc',
  14857. templateUrl: './file-desc.component.html',
  14858. styleUrls: ['./file-desc.component.scss'],
  14859. }]
  14860. }], null, { data: [{
  14861. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
  14862. }] }); })();
  14863. /***/ }),
  14864. /***/ "g5nV":
  14865. /*!*************************************************************************!*\
  14866. !*** ./src/app/components/entities-select/entities-select.component.ts ***!
  14867. \*************************************************************************/
  14868. /*! exports provided: EntitiesSelectComponent */
  14869. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  14870. "use strict";
  14871. __webpack_require__.r(__webpack_exports__);
  14872. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "EntitiesSelectComponent", function() { return EntitiesSelectComponent; });
  14873. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "fXoL");
  14874. /* harmony import */ var _app_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../app.config */ "aR35");
  14875. /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/common */ "ofXK");
  14876. /* harmony import */ var _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @ng-select/ng-select */ "ZOsW");
  14877. /* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/forms */ "3Pt+");
  14878. /* harmony import */ var _ui_components_icon_icon_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../ui-components/icon/icon.component */ "Mijh");
  14879. /* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @ngx-translate/core */ "sYmb");
  14880. function EntitiesSelectComponent_ng_container_0_ng_template_3_Template(rf, ctx) { if (rf & 1) {
  14881. const _r5 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
  14882. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 5);
  14883. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "div", 6);
  14884. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "input", 7);
  14885. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function EntitiesSelectComponent_ng_container_0_ng_template_3_Template_input_click_2_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r5); const ctx_r4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2); return ctx_r4.toggleSelection(); });
  14886. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  14887. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "label", 8);
  14888. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](4);
  14889. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](5, "translate");
  14890. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  14891. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  14892. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  14893. } if (rf & 2) {
  14894. const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
  14895. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
  14896. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("checked", (ctx_r1.selectedTypes == null ? null : ctx_r1.selectedTypes.length) === ctx_r1.entitiesTypes.length);
  14897. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
  14898. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](5, 2, "selectAll"));
  14899. } }
  14900. function EntitiesSelectComponent_ng_container_0_ng_template_4_Template(rf, ctx) { if (rf & 1) {
  14901. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "input", 9);
  14902. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](1, "evt-icon", 10);
  14903. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "span", 11);
  14904. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](3);
  14905. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](4, "translate");
  14906. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  14907. } if (rf & 2) {
  14908. const item_r6 = ctx.item;
  14909. const item$_r7 = ctx.item$;
  14910. const index_r8 = ctx.index;
  14911. const ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
  14912. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpropertyInterpolate1"]("id", "item-", index_r8, "");
  14913. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngModel", item$_r7.selected);
  14914. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  14915. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵstyleProp"]("color", item_r6.color);
  14916. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("iconInfo", ctx_r2.iconColor);
  14917. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
  14918. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](4, 6, item_r6.label));
  14919. } }
  14920. function EntitiesSelectComponent_ng_container_0_ng_template_5_ng_container_0_div_1_Template(rf, ctx) { if (rf & 1) {
  14921. const _r18 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
  14922. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 14);
  14923. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](1, "evt-icon", 10);
  14924. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "span", 11);
  14925. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](3);
  14926. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  14927. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "span", 15);
  14928. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function EntitiesSelectComponent_ng_container_0_ng_template_5_ng_container_0_div_1_Template_span_click_4_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r18); const item_r15 = ctx.$implicit; const clear_r11 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2).clear; return clear_r11(item_r15); });
  14929. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](5, "\u00D7");
  14930. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  14931. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  14932. } if (rf & 2) {
  14933. const item_r15 = ctx.$implicit;
  14934. const ctx_r14 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](4);
  14935. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  14936. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵstyleProp"]("color", item_r15.color);
  14937. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("iconInfo", ctx_r14.iconColor);
  14938. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
  14939. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](item_r15.label);
  14940. } }
  14941. function EntitiesSelectComponent_ng_container_0_ng_template_5_ng_container_0_Template(rf, ctx) { if (rf & 1) {
  14942. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
  14943. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, EntitiesSelectComponent_ng_container_0_ng_template_5_ng_container_0_div_1_Template, 6, 4, "div", 13);
  14944. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "slice");
  14945. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
  14946. } if (rf & 2) {
  14947. const items_r10 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().items;
  14948. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  14949. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind3"](2, 1, items_r10, 0, 1));
  14950. } }
  14951. function EntitiesSelectComponent_ng_container_0_ng_template_5_div_1_Template(rf, ctx) { if (rf & 1) {
  14952. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 14);
  14953. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "span", 11);
  14954. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2);
  14955. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](3, "translate");
  14956. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  14957. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  14958. } if (rf & 2) {
  14959. const items_r10 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().items;
  14960. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
  14961. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate2"]("", items_r10.length, " ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](3, 2, "selected"), "");
  14962. } }
  14963. function EntitiesSelectComponent_ng_container_0_ng_template_5_Template(rf, ctx) { if (rf & 1) {
  14964. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](0, EntitiesSelectComponent_ng_container_0_ng_template_5_ng_container_0_Template, 3, 5, "ng-container", 0);
  14965. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, EntitiesSelectComponent_ng_container_0_ng_template_5_div_1_Template, 4, 4, "div", 12);
  14966. } if (rf & 2) {
  14967. const items_r10 = ctx.items;
  14968. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", items_r10.length === 1);
  14969. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  14970. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", items_r10.length > 1);
  14971. } }
  14972. function EntitiesSelectComponent_ng_container_0_Template(rf, ctx) { if (rf & 1) {
  14973. const _r22 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
  14974. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
  14975. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "ng-select", 1);
  14976. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("ngModelChange", function EntitiesSelectComponent_ng_container_0_Template_ng_select_ngModelChange_1_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r22); const ctx_r21 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](); return ctx_r21.selectedTypes = $event; })("change", function EntitiesSelectComponent_ng_container_0_Template_ng_select_change_1_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r22); const ctx_r23 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](); return ctx_r23.updateSelectedTypes($event); });
  14977. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "translate");
  14978. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](3, EntitiesSelectComponent_ng_container_0_ng_template_3_Template, 6, 4, "ng-template", 2);
  14979. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](4, EntitiesSelectComponent_ng_container_0_ng_template_4_Template, 5, 8, "ng-template", 3);
  14980. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](5, EntitiesSelectComponent_ng_container_0_ng_template_5_Template, 2, 2, "ng-template", 4);
  14981. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  14982. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
  14983. } if (rf & 2) {
  14984. const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
  14985. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  14986. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("items", ctx_r0.entitiesTypes)("multiple", true)("closeOnSelect", false)("searchable", false)("placeholder", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](2, 7, "selectItems"))("ngModel", ctx_r0.selectedTypes)("disabled", ctx_r0.entitiesTypes.length === 0);
  14987. } }
  14988. class EntitiesSelectComponent {
  14989. constructor() {
  14990. this.selectionChange = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
  14991. this.entitiesTypes = (_app_config__WEBPACK_IMPORTED_MODULE_1__["AppConfig"].evtSettings.edition.entitiesSelectItems || [])
  14992. .filter(g => !g.disabled)
  14993. .reduce((x, y) => [...x, ...y.items.filter(i => !i.disabled).map(i => (Object.assign(Object.assign({}, i), { group: y.label })))], []);
  14994. this.iconColor = {
  14995. icon: 'circle',
  14996. iconSet: 'fas',
  14997. additionalClasses: 'ml-2 mr-1',
  14998. };
  14999. this.selectedTypes = [];
  15000. }
  15001. updateSelectedTypes(entitiesTypes) {
  15002. if (Array.isArray(entitiesTypes)) { // BUGFIX: There is a bug in ng-select change event and second time the parameter is an event
  15003. this.selectionChange.emit(entitiesTypes);
  15004. }
  15005. }
  15006. toggleSelection() {
  15007. if (this.selectedTypes.length < this.entitiesTypes.length) {
  15008. this.selectedTypes = this.entitiesTypes;
  15009. }
  15010. else {
  15011. this.selectedTypes = [];
  15012. }
  15013. this.selectionChange.emit(this.selectedTypes);
  15014. }
  15015. }
  15016. EntitiesSelectComponent.ɵfac = function EntitiesSelectComponent_Factory(t) { return new (t || EntitiesSelectComponent)(); };
  15017. EntitiesSelectComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: EntitiesSelectComponent, selectors: [["evt-entities-select"]], outputs: { selectionChange: "selectionChange" }, decls: 1, vars: 1, consts: [[4, "ngIf"], ["groupBy", "group", 3, "items", "multiple", "closeOnSelect", "searchable", "placeholder", "ngModel", "disabled", "ngModelChange", "change"], ["ng-header-tmp", ""], ["ng-option-tmp", ""], ["ng-multi-label-tmp", ""], [1, "entities-select-toolbar"], [1, "w-100", "text-dark", "select-all-btn"], ["id", "select-all", "type", "checkbox", 1, "mr-2", 3, "checked", "click"], ["for", "select-all", 1, "m-0"], ["type", "checkbox", 3, "id", "ngModel"], [3, "iconInfo"], [1, "ng-value-label"], ["class", "ng-value", 4, "ngIf"], ["class", "ng-value", 4, "ngFor", "ngForOf"], [1, "ng-value"], ["aria-hidden", "true", 1, "ng-value-icon", "right", 3, "click"]], template: function EntitiesSelectComponent_Template(rf, ctx) { if (rf & 1) {
  15018. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](0, EntitiesSelectComponent_ng_container_0_Template, 6, 9, "ng-container", 0);
  15019. } if (rf & 2) {
  15020. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.entitiesTypes.length > 0);
  15021. } }, directives: [_angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_3__["NgSelectComponent"], _angular_forms__WEBPACK_IMPORTED_MODULE_4__["NgControlStatus"], _angular_forms__WEBPACK_IMPORTED_MODULE_4__["NgModel"], _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_3__["ɵj"], _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_3__["ɵf"], _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_3__["ɵi"], _angular_forms__WEBPACK_IMPORTED_MODULE_4__["CheckboxControlValueAccessor"], _ui_components_icon_icon_component__WEBPACK_IMPORTED_MODULE_5__["IconComponent"], _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"]], pipes: [_ngx_translate_core__WEBPACK_IMPORTED_MODULE_6__["TranslatePipe"], _angular_common__WEBPACK_IMPORTED_MODULE_2__["SlicePipe"]], styles: [".ng-select {\n min-width: 150px;\n}\n\n .ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup {\n font-size: 90%;\n font-variant: small-caps;\n}\n\n .ng-dropdown-panel .ng-dropdown-panel-items .ng-option {\n padding-left: 10px !important;\n}\n\n.entities-select-toolbar[_ngcontent-%COMP%] {\n display: flex;\n}\n\n.entities-select-toolbar[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%] {\n flex-grow: 1;\n}\n\n.select-all-btn[_ngcontent-%COMP%] {\n cursor: pointer;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2VudGl0aWVzLXNlbGVjdC5jb21wb25lbnQuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFDQTtFQUNJLGdCQUFBO0FBQUo7O0FBS1E7RUFDSSxjQUFBO0VBQ0Esd0JBQUE7QUFGWjs7QUFLUTtFQUNJLDZCQUFBO0FBSFo7O0FBUUE7RUFDSSxhQUFBO0FBTEo7O0FBT0k7RUFDSSxZQUFBO0FBTFI7O0FBU0E7RUFDSSxlQUFBO0FBTkoiLCJmaWxlIjoiZW50aXRpZXMtc2VsZWN0LmNvbXBvbmVudC5zY3NzIiwic291cmNlc0NvbnRlbnQiOlsiLy8gbmctc2VsZWN0IG92ZXJyaWRlc1xuOjpuZy1kZWVwIC5uZy1zZWxlY3Qge1xuICAgIG1pbi13aWR0aDogMTUwcHg7XG59XG5cbjo6bmctZGVlcCAubmctZHJvcGRvd24tcGFuZWwge1xuICAgIC5uZy1kcm9wZG93bi1wYW5lbC1pdGVtcyB7XG4gICAgICAgIC5uZy1vcHRncm91cCB7XG4gICAgICAgICAgICBmb250LXNpemU6IDkwJTtcbiAgICAgICAgICAgIGZvbnQtdmFyaWFudDogc21hbGwtY2FwcztcbiAgICAgICAgfVxuXG4gICAgICAgIC5uZy1vcHRpb24ge1xuICAgICAgICAgICAgcGFkZGluZy1sZWZ0OiAxMHB4ICFpbXBvcnRhbnQ7XG4gICAgICAgIH1cbiAgICB9XG59XG5cbi5lbnRpdGllcy1zZWxlY3QtdG9vbGJhciB7XG4gICAgZGlzcGxheTogZmxleDtcblxuICAgIC5idG4ge1xuICAgICAgICBmbGV4LWdyb3c6IDE7XG4gICAgfVxufVxuXG4uc2VsZWN0LWFsbC1idG4ge1xuICAgIGN1cnNvcjogcG9pbnRlcjtcbn0iXX0= */"] });
  15022. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](EntitiesSelectComponent, [{
  15023. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
  15024. args: [{
  15025. selector: 'evt-entities-select',
  15026. templateUrl: './entities-select.component.html',
  15027. styleUrls: ['./entities-select.component.scss'],
  15028. }]
  15029. }], null, { selectionChange: [{
  15030. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
  15031. }] }); })();
  15032. /***/ }),
  15033. /***/ "gCbp":
  15034. /*!*********************************************************************!*\
  15035. !*** ./src/app/ui-components/directives/click-outside.directive.ts ***!
  15036. \*********************************************************************/
  15037. /*! exports provided: ClickOutsideDirective */
  15038. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  15039. "use strict";
  15040. __webpack_require__.r(__webpack_exports__);
  15041. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ClickOutsideDirective", function() { return ClickOutsideDirective; });
  15042. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "fXoL");
  15043. class ClickOutsideDirective {
  15044. constructor(elementRef) {
  15045. this.elementRef = elementRef;
  15046. this.clickOutside = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
  15047. }
  15048. onClick(target) {
  15049. const clickedInside = this.elementRef.nativeElement.contains(target);
  15050. if (!clickedInside) {
  15051. this.clickOutside.emit();
  15052. }
  15053. }
  15054. }
  15055. ClickOutsideDirective.ɵfac = function ClickOutsideDirective_Factory(t) { return new (t || ClickOutsideDirective)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"])); };
  15056. ClickOutsideDirective.ɵdir = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({ type: ClickOutsideDirective, selectors: [["", "clickOutside", ""]], hostBindings: function ClickOutsideDirective_HostBindings(rf, ctx) { if (rf & 1) {
  15057. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function ClickOutsideDirective_click_HostBindingHandler($event) { return ctx.onClick($event.target); }, false, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵresolveDocument"]);
  15058. } }, outputs: { clickOutside: "clickOutside" } });
  15059. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](ClickOutsideDirective, [{
  15060. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Directive"],
  15061. args: [{
  15062. // tslint:disable-next-line: directive-selector
  15063. selector: '[clickOutside]',
  15064. }]
  15065. }], function () { return [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"] }]; }, { clickOutside: [{
  15066. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
  15067. }], onClick: [{
  15068. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostListener"],
  15069. args: ['document:click', ['$event.target']]
  15070. }] }); })();
  15071. /***/ }),
  15072. /***/ "hI0h":
  15073. /*!***********************************************!*\
  15074. !*** ./src/app/services/evt-model.service.ts ***!
  15075. \***********************************************/
  15076. /*! exports provided: EVTModelService */
  15077. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  15078. "use strict";
  15079. __webpack_require__.r(__webpack_exports__);
  15080. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "EVTModelService", function() { return EVTModelService; });
  15081. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "fXoL");
  15082. /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rxjs */ "qCKp");
  15083. /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs/operators */ "kU1M");
  15084. /* harmony import */ var _edition_data_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./edition-data.service */ "ft15");
  15085. /* harmony import */ var _xml_parsers_structure_xml_parser_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./xml-parsers/structure-xml-parser.service */ "9L/w");
  15086. /* harmony import */ var _xml_parsers_named_entities_parser_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./xml-parsers/named-entities-parser.service */ "MpUx");
  15087. /* harmony import */ var _xml_parsers_prefatory_matter_parser_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./xml-parsers/prefatory-matter-parser.service */ "EY52");
  15088. /* harmony import */ var _xml_parsers_witnesses_parser_service__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./xml-parsers/witnesses-parser.service */ "5DHf");
  15089. /* harmony import */ var _xml_parsers_apparatus_entries_parser_service__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./xml-parsers/apparatus-entries-parser.service */ "ytha");
  15090. /* harmony import */ var _xml_parsers_facsimile_parser_service__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./xml-parsers/facsimile-parser.service */ "XMdj");
  15091. /* harmony import */ var _xml_parsers_character_declarations_parser_service__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./xml-parsers/character-declarations-parser.service */ "t1xl");
  15092. /* harmony import */ var _xml_parsers_lines_verses_parser_service__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./xml-parsers/lines-verses-parser.service */ "O0Pb");
  15093. /* harmony import */ var _xml_parsers_ms_desc_parser_service__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./xml-parsers/ms-desc-parser.service */ "9+YD");
  15094. /* harmony import */ var _xml_parsers_lemmatized_entities_parser_service__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./xml-parsers/lemmatized-entities-parser.service */ "bDt3");
  15095. class EVTModelService {
  15096. constructor(editionDataService, editionStructureParser, namedEntitiesParser, prefatoryMatterParser, witnessesParser, apparatusParser, facsimileParser, characterDeclarationsParser, linesVersesParser, msDescParser,
  15097. // add by FS
  15098. lemmatizedEntitiesParser) {
  15099. this.editionDataService = editionDataService;
  15100. this.editionStructureParser = editionStructureParser;
  15101. this.namedEntitiesParser = namedEntitiesParser;
  15102. this.prefatoryMatterParser = prefatoryMatterParser;
  15103. this.witnessesParser = witnessesParser;
  15104. this.apparatusParser = apparatusParser;
  15105. this.facsimileParser = facsimileParser;
  15106. this.characterDeclarationsParser = characterDeclarationsParser;
  15107. this.linesVersesParser = linesVersesParser;
  15108. this.msDescParser = msDescParser;
  15109. this.lemmatizedEntitiesParser = lemmatizedEntitiesParser;
  15110. this.editionSource$ = this.editionDataService.parsedEditionSource$
  15111. .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["shareReplay"])(1));
  15112. this.title$ = this.editionSource$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])((source) => this.prefatoryMatterParser.parseEditionTitle(source)), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["shareReplay"])(1));
  15113. this.projectInfo$ = this.prefatoryMatterParser.projectInfo$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["shareReplay"])(1));
  15114. this.pages$ = this.editionSource$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])((source) => this.editionStructureParser.parsePages(source).pages), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["shareReplay"])(1));
  15115. // NAMED ENTITIES
  15116. this.parsedLists$ = this.editionSource$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])((source) => this.namedEntitiesParser.parseLists(source)), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["shareReplay"])(1));
  15117. this.persons$ = this.parsedLists$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(({ lists, entities }) => (this.namedEntitiesParser.getResultsByType(lists, entities, ['person', 'personGrp']))));
  15118. this.places$ = this.parsedLists$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(({ lists, entities }) => this.namedEntitiesParser.getResultsByType(lists, entities, ['place'])));
  15119. this.organizations$ = this.parsedLists$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(({ lists, entities }) => this.namedEntitiesParser.getResultsByType(lists, entities, ['org'])));
  15120. this.relations$ = this.parsedLists$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(({ relations }) => relations));
  15121. this.events$ = this.parsedLists$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(({ lists, entities }) => this.namedEntitiesParser.getResultsByType(lists, entities, ['event'])));
  15122. this.verses$ = this.editionSource$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])((source) => this.linesVersesParser.parseVerses(source)), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["shareReplay"])(1));
  15123. this.lines$ = this.editionSource$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])((source) => this.linesVersesParser.parseLines(source)), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["shareReplay"])(1));
  15124. this.namedEntities$ = Object(rxjs__WEBPACK_IMPORTED_MODULE_1__["combineLatest"])([
  15125. this.persons$,
  15126. this.places$,
  15127. this.organizations$,
  15128. this.relations$,
  15129. this.events$,
  15130. ]).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(([persons, places, organizations, relations, events]) => ({
  15131. all: {
  15132. lists: [...persons.lists, ...places.lists, ...organizations.lists, ...events.lists],
  15133. entities: [...persons.entities, ...places.entities, ...organizations.entities, ...events.entities],
  15134. },
  15135. persons,
  15136. places,
  15137. organizations,
  15138. relations,
  15139. events,
  15140. })), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["shareReplay"])(1));
  15141. this.entitiesOccurrences$ = this.pages$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])((pages) => this.namedEntitiesParser.parseNamedEntitiesOccurrences(pages)), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["shareReplay"])(1));
  15142. this.lemsOccurrences$ = this.pages$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])((pages) => this.lemmatizedEntitiesParser.parseLemmatizedEntitiesOccurrences(pages)), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["shareReplay"])(1));
  15143. // WITNESSES
  15144. this.witnessesData$ = this.editionSource$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])((source) => this.witnessesParser.parseWitnessesData(source)), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["shareReplay"])(1));
  15145. this.witnesses$ = this.witnessesData$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(({ witnesses }) => witnesses), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["shareReplay"])(1));
  15146. this.groups$ = this.witnessesData$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(({ groups }) => groups), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["shareReplay"])(1));
  15147. // APPARATUS ENTRIES
  15148. this.appEntries$ = this.editionSource$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])((source) => this.apparatusParser.parseAppEntries(source)), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["shareReplay"])(1));
  15149. this.significantReadings$ = this.appEntries$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])((appEntries) => this.apparatusParser.getSignificantReadings(appEntries)), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["shareReplay"])(1));
  15150. this.significantReadingsNumber$ = this.significantReadings$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])((signRdgs) => this.apparatusParser.getSignificantReadingsNumber(signRdgs)), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["shareReplay"])(1));
  15151. this.appVariance$ = this.witnesses$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["switchMap"])((witList) => {
  15152. return this.significantReadingsNumber$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])((signRdgsNum) => this.apparatusParser.getAppVariance(signRdgsNum, witList)));
  15153. }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["shareReplay"])(1));
  15154. // FACSIMILE
  15155. this.surfaces$ = this.editionSource$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])((source) => this.facsimileParser.parseSurfaces(source)), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["shareReplay"])(1));
  15156. this.hsLines$ = this.surfaces$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])((surfaces) => surfaces.reduce((x, y) => x.concat(y.zones.lines), [])), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["shareReplay"])(1));
  15157. this.hotspots$ = this.surfaces$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])((surfaces) => surfaces.reduce((x, y) => x.concat(y.zones.hotspots), [])), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["shareReplay"])(1));
  15158. // CHAR DECL
  15159. this.characters$ = this.editionSource$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])((source) => this.characterDeclarationsParser.parseChars(source)), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["shareReplay"])(1));
  15160. this.glyphs$ = this.editionSource$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])((source) => this.characterDeclarationsParser.parseGlyphs(source)), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["shareReplay"])(1));
  15161. this.specialChars$ = Object(rxjs__WEBPACK_IMPORTED_MODULE_1__["combineLatest"])([
  15162. this.characters$,
  15163. this.glyphs$,
  15164. ]).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(([chars, glyphs]) => chars.concat(glyphs)));
  15165. this.msDesc$ = this.editionSource$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])((source) => this.msDescParser.parseMsDesc(source)), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["shareReplay"])(1));
  15166. // add by FS
  15167. // LEMMA ENTITIES
  15168. this.parsedLemLists$ = this.editionSource$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])((source) => this.lemmatizedEntitiesParser.parseLemLists(source)), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["shareReplay"])(1));
  15169. this.item$ = this.parsedLemLists$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(({ lemlists, lementities }) => (this.lemmatizedEntitiesParser.getResultsByType(lemlists, lementities, ['item', 'lem', 'w']))));
  15170. this.lemmas$ = this.parsedLemLists$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(({ lemlists, lementities }) => (this.lemmatizedEntitiesParser.getResultsByType(lemlists, lementities, ['item', 'lem', 'w']))));
  15171. this.lemmatizedEntities$ = Object(rxjs__WEBPACK_IMPORTED_MODULE_1__["combineLatest"])([
  15172. this.item$,
  15173. this.lemmas$,
  15174. this.relations$,
  15175. ]).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(([item, lemmas, relations]) => ({
  15176. all: {
  15177. lemlists: [...item.lemlists, ...lemmas.lemlists],
  15178. lementities: [...item.lementities],
  15179. },
  15180. item,
  15181. lemmas,
  15182. relations,
  15183. })), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["shareReplay"])(1));
  15184. this.entitiesLemOccurrences$ = this.pages$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])((pages) => this.lemmatizedEntitiesParser.parseLemmatizedEntitiesOccurrences(pages)), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["shareReplay"])(1));
  15185. }
  15186. getPage(pageId) {
  15187. return this.pages$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])((pages) => pages.find((page) => page.id === pageId)));
  15188. }
  15189. }
  15190. EVTModelService.ɵfac = function EVTModelService_Factory(t) { return new (t || EVTModelService)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_edition_data_service__WEBPACK_IMPORTED_MODULE_3__["EditionDataService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_xml_parsers_structure_xml_parser_service__WEBPACK_IMPORTED_MODULE_4__["StructureXmlParserService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_xml_parsers_named_entities_parser_service__WEBPACK_IMPORTED_MODULE_5__["NamedEntitiesParserService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_xml_parsers_prefatory_matter_parser_service__WEBPACK_IMPORTED_MODULE_6__["PrefatoryMatterParserService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_xml_parsers_witnesses_parser_service__WEBPACK_IMPORTED_MODULE_7__["WitnessesParserService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_xml_parsers_apparatus_entries_parser_service__WEBPACK_IMPORTED_MODULE_8__["ApparatusEntriesParserService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_xml_parsers_facsimile_parser_service__WEBPACK_IMPORTED_MODULE_9__["FacsimileParserService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_xml_parsers_character_declarations_parser_service__WEBPACK_IMPORTED_MODULE_10__["CharacterDeclarationsParserService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_xml_parsers_lines_verses_parser_service__WEBPACK_IMPORTED_MODULE_11__["LinesVersesParserService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_xml_parsers_ms_desc_parser_service__WEBPACK_IMPORTED_MODULE_12__["MsDescParserService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_xml_parsers_lemmatized_entities_parser_service__WEBPACK_IMPORTED_MODULE_13__["LemmatizedEntitiesParserService"])); };
  15191. EVTModelService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ token: EVTModelService, factory: EVTModelService.ɵfac, providedIn: 'root' });
  15192. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](EVTModelService, [{
  15193. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"],
  15194. args: [{
  15195. providedIn: 'root',
  15196. }]
  15197. }], function () { return [{ type: _edition_data_service__WEBPACK_IMPORTED_MODULE_3__["EditionDataService"] }, { type: _xml_parsers_structure_xml_parser_service__WEBPACK_IMPORTED_MODULE_4__["StructureXmlParserService"] }, { type: _xml_parsers_named_entities_parser_service__WEBPACK_IMPORTED_MODULE_5__["NamedEntitiesParserService"] }, { type: _xml_parsers_prefatory_matter_parser_service__WEBPACK_IMPORTED_MODULE_6__["PrefatoryMatterParserService"] }, { type: _xml_parsers_witnesses_parser_service__WEBPACK_IMPORTED_MODULE_7__["WitnessesParserService"] }, { type: _xml_parsers_apparatus_entries_parser_service__WEBPACK_IMPORTED_MODULE_8__["ApparatusEntriesParserService"] }, { type: _xml_parsers_facsimile_parser_service__WEBPACK_IMPORTED_MODULE_9__["FacsimileParserService"] }, { type: _xml_parsers_character_declarations_parser_service__WEBPACK_IMPORTED_MODULE_10__["CharacterDeclarationsParserService"] }, { type: _xml_parsers_lines_verses_parser_service__WEBPACK_IMPORTED_MODULE_11__["LinesVersesParserService"] }, { type: _xml_parsers_ms_desc_parser_service__WEBPACK_IMPORTED_MODULE_12__["MsDescParserService"] }, { type: _xml_parsers_lemmatized_entities_parser_service__WEBPACK_IMPORTED_MODULE_13__["LemmatizedEntitiesParserService"] }]; }, null); })();
  15198. /***/ }),
  15199. /***/ "hV/S":
  15200. /*!*************************************************************!*\
  15201. !*** ./src/app/components/lem-entry/lem-entry.component.ts ***!
  15202. \*************************************************************/
  15203. /*! exports provided: LemEntryComponent */
  15204. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  15205. "use strict";
  15206. __webpack_require__.r(__webpack_exports__);
  15207. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "LemEntryComponent", function() { return LemEntryComponent; });
  15208. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "mrSG");
  15209. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "fXoL");
  15210. /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs/operators */ "kU1M");
  15211. /* harmony import */ var src_app_models_evt_models__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! src/app/models/evt-models */ "5c0l");
  15212. /* harmony import */ var src_app_services_component_register_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! src/app/services/component-register.service */ "d25s");
  15213. /* harmony import */ var src_app_services_evt_model_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! src/app/services/evt-model.service */ "hI0h");
  15214. /* harmony import */ var _lem_entry_detail_lem_entry_detail_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./lem-entry-detail/lem-entry-detail.component */ "EOxZ");
  15215. /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @angular/common */ "ofXK");
  15216. /* harmony import */ var _reading_reading_component__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../reading/reading.component */ "QgGR");
  15217. function LemEntryComponent_span_0_evt_reading_2_Template(rf, ctx) { if (rf & 1) {
  15218. const _r4 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵgetCurrentView"]();
  15219. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "evt-reading", 4);
  15220. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("click", function LemEntryComponent_span_0_evt_reading_2_Template_evt_reading_click_0_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵrestoreView"](_r4); const ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2); return ctx_r3.toggleLemEntryBox($event); });
  15221. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  15222. } if (rf & 2) {
  15223. const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
  15224. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("data", ctx_r1.data.lemma);
  15225. } }
  15226. function LemEntryComponent_span_0_evt_lem_entry_detail_3_Template(rf, ctx) { if (rf & 1) {
  15227. const _r6 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵgetCurrentView"]();
  15228. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "evt-lem-entry-detail", 5);
  15229. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("click", function LemEntryComponent_span_0_evt_lem_entry_detail_3_Template_evt_lem_entry_detail_click_0_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵrestoreView"](_r6); const ctx_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2); return ctx_r5.stopPropagation($event); });
  15230. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  15231. } if (rf & 2) {
  15232. const ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
  15233. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("data", ctx_r2.data);
  15234. } }
  15235. const _c0 = function (a0) { return { "lem-detail-opened": a0 }; };
  15236. function LemEntryComponent_span_0_Template(rf, ctx) { if (rf & 1) {
  15237. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 1);
  15238. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](1, "async");
  15239. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, LemEntryComponent_span_0_evt_reading_2_Template, 1, 1, "evt-reading", 2);
  15240. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, LemEntryComponent_span_0_evt_lem_entry_detail_3_Template, 1, 1, "evt-lem-entry-detail", 3);
  15241. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  15242. } if (rf & 2) {
  15243. const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  15244. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](6, _c0, ctx_r0.opened));
  15245. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵattribute"]("data-variance", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](1, 4, ctx_r0.variance$));
  15246. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  15247. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx_r0.data == null ? null : ctx_r0.data.lemma);
  15248. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  15249. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", (ctx_r0.data == null ? null : ctx_r0.data.lemma) && ctx_r0.opened);
  15250. } }
  15251. let LemEntryComponent = class LemEntryComponent {
  15252. constructor(evtModelService, parentDetailComponent) {
  15253. this.evtModelService = evtModelService;
  15254. this.parentDetailComponent = parentDetailComponent;
  15255. this.opened = false;
  15256. this.nestedLems = [];
  15257. this.variance$ = this.evtModelService.appVariance$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])((variances) => variances[this.data.id]), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["shareReplay"])(1));
  15258. this.isInsideLemDetail = this.parentDetailComponent ? true : false;
  15259. }
  15260. toggleLemEntryBox(e) {
  15261. e.stopPropagation();
  15262. this.opened = !this.opened;
  15263. }
  15264. closeLemEntryBox() {
  15265. this.opened = false;
  15266. }
  15267. stopPropagation(e) {
  15268. e.stopPropagation();
  15269. }
  15270. };
  15271. LemEntryComponent.ɵfac = function LemEntryComponent_Factory(t) { return new (t || LemEntryComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](src_app_services_evt_model_service__WEBPACK_IMPORTED_MODULE_5__["EVTModelService"]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_lem_entry_detail_lem_entry_detail_component__WEBPACK_IMPORTED_MODULE_6__["LemEntryDetailComponent"], 8)); };
  15272. LemEntryComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({ type: LemEntryComponent, selectors: [["evt-lem-entry"]], inputs: { data: "data" }, decls: 1, vars: 1, consts: [["class", "lem-entry", 3, "ngClass", 4, "ngIf"], [1, "lem-entry", 3, "ngClass"], ["class", "lem-entry-lem", 3, "data", "click", 4, "ngIf"], [3, "data", "click", 4, "ngIf"], [1, "lem-entry-lem", 3, "data", "click"], [3, "data", "click"]], template: function LemEntryComponent_Template(rf, ctx) { if (rf & 1) {
  15273. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](0, LemEntryComponent_span_0_Template, 4, 8, "span", 0);
  15274. } if (rf & 2) {
  15275. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", !ctx.isInsideLemDetail);
  15276. } }, directives: [_angular_common__WEBPACK_IMPORTED_MODULE_7__["NgIf"], _angular_common__WEBPACK_IMPORTED_MODULE_7__["NgClass"], _reading_reading_component__WEBPACK_IMPORTED_MODULE_8__["ReadingComponent"], _lem_entry_detail_lem_entry_detail_component__WEBPACK_IMPORTED_MODULE_6__["LemEntryDetailComponent"]], pipes: [_angular_common__WEBPACK_IMPORTED_MODULE_7__["AsyncPipe"]], styles: ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJsZW0tZW50cnkuY29tcG9uZW50LnNjc3MifQ== */"], changeDetection: 0 });
  15277. LemEntryComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  15278. Object(src_app_services_component_register_service__WEBPACK_IMPORTED_MODULE_4__["register"])(src_app_models_evt_models__WEBPACK_IMPORTED_MODULE_3__["LemEntry"])
  15279. ], LemEntryComponent);
  15280. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](LemEntryComponent, [{
  15281. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
  15282. args: [{
  15283. selector: 'evt-lem-entry',
  15284. templateUrl: './lem-entry.component.html',
  15285. styleUrls: ['./lem-entry.component.scss'],
  15286. changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_1__["ChangeDetectionStrategy"].OnPush,
  15287. }]
  15288. }], function () { return [{ type: src_app_services_evt_model_service__WEBPACK_IMPORTED_MODULE_5__["EVTModelService"] }, { type: _lem_entry_detail_lem_entry_detail_component__WEBPACK_IMPORTED_MODULE_6__["LemEntryDetailComponent"], decorators: [{
  15289. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Optional"]
  15290. }] }]; }, { data: [{
  15291. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
  15292. }] }); })();
  15293. /***/ }),
  15294. /***/ "iRdJ":
  15295. /*!**************************************************************************!*\
  15296. !*** ./src/app/ui-components/header-section/header-section.component.ts ***!
  15297. \**************************************************************************/
  15298. /*! exports provided: HeaderSectionComponent */
  15299. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  15300. "use strict";
  15301. __webpack_require__.r(__webpack_exports__);
  15302. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "HeaderSectionComponent", function() { return HeaderSectionComponent; });
  15303. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "fXoL");
  15304. /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/common */ "ofXK");
  15305. /* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @ngx-translate/core */ "sYmb");
  15306. function HeaderSectionComponent_div_1_Template(rf, ctx) { if (rf & 1) {
  15307. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 2);
  15308. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
  15309. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "translate");
  15310. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  15311. } if (rf & 2) {
  15312. const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
  15313. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  15314. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate2"]("", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](2, 2, ctx_r0.label), "", ctx_r0.inlineLabel ? ": " : "", "");
  15315. } }
  15316. const _c0 = [[["", "content", ""]]];
  15317. const _c1 = ["[content]"];
  15318. class HeaderSectionComponent {
  15319. }
  15320. HeaderSectionComponent.ɵfac = function HeaderSectionComponent_Factory(t) { return new (t || HeaderSectionComponent)(); };
  15321. HeaderSectionComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: HeaderSectionComponent, selectors: [["evt-header-section"]], inputs: { label: "label", additionalClass: "additionalClass", inlineLabel: "inlineLabel" }, ngContentSelectors: _c1, decls: 4, vars: 6, consts: [["class", "section-label", 4, "ngIf"], [1, "section-content"], [1, "section-label"]], template: function HeaderSectionComponent_Template(rf, ctx) { if (rf & 1) {
  15322. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵprojectionDef"](_c0);
  15323. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div");
  15324. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, HeaderSectionComponent_div_1_Template, 3, 4, "div", 0);
  15325. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "div", 1);
  15326. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵprojection"](3);
  15327. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  15328. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  15329. } if (rf & 2) {
  15330. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵclassMapInterpolate1"]("section ", ctx.additionalClass, "");
  15331. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵclassProp"]("has-inline-label", ctx.inlineLabel);
  15332. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  15333. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.label);
  15334. } }, directives: [_angular_common__WEBPACK_IMPORTED_MODULE_1__["NgIf"]], pipes: [_ngx_translate_core__WEBPACK_IMPORTED_MODULE_2__["TranslatePipe"]], styles: [".section[_ngcontent-%COMP%] {\n display: block;\n}\n.section[_ngcontent-%COMP%] > .section-label[_ngcontent-%COMP%] {\n display: inline;\n font-variant: small-caps;\n color: #666;\n}\n.section.has-inline-label[_ngcontent-%COMP%] {\n display: flex;\n}\n.section.has-inline-label[_ngcontent-%COMP%] > .section-label[_ngcontent-%COMP%] {\n margin-right: 5px;\n}\n.section.has-inline-label[_ngcontent-%COMP%] > .section-content[_ngcontent-%COMP%] {\n display: inline;\n}\n.section[_ngcontent-%COMP%]:not(.has-inline-label) > .section-label[_ngcontent-%COMP%] {\n font-size: 0.9rem;\n border-bottom: 1px dotted #666;\n margin-bottom: 5px;\n display: block;\n margin-top: 14px;\n}\n.section[_ngcontent-%COMP%] p {\n margin-bottom: 0;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2hlYWRlci1zZWN0aW9uLmNvbXBvbmVudC5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0VBQ0ksY0FBQTtBQUNKO0FBQUk7RUFDSSxlQUFBO0VBQ0Esd0JBQUE7RUFDQSxXQUFBO0FBRVI7QUFBSTtFQUNJLGFBQUE7QUFFUjtBQURRO0VBQ0ksaUJBQUE7QUFHWjtBQURRO0VBQ0ksZUFBQTtBQUdaO0FBQ1E7RUFDSSxpQkFBQTtFQUNBLDhCQUFBO0VBQ0Esa0JBQUE7RUFDQSxjQUFBO0VBQ0EsZ0JBQUE7QUFDWjtBQUVJO0VBQ0ksZ0JBQUE7QUFBUiIsImZpbGUiOiJoZWFkZXItc2VjdGlvbi5jb21wb25lbnQuc2NzcyIsInNvdXJjZXNDb250ZW50IjpbIi5zZWN0aW9uIHtcbiAgICBkaXNwbGF5OiBibG9jaztcbiAgICA+IC5zZWN0aW9uLWxhYmVsIHtcbiAgICAgICAgZGlzcGxheTogaW5saW5lO1xuICAgICAgICBmb250LXZhcmlhbnQ6IHNtYWxsLWNhcHM7XG4gICAgICAgIGNvbG9yOiAjNjY2O1xuICAgIH1cbiAgICAmLmhhcy1pbmxpbmUtbGFiZWwge1xuICAgICAgICBkaXNwbGF5OiBmbGV4O1xuICAgICAgICA+IC5zZWN0aW9uLWxhYmVsIHtcbiAgICAgICAgICAgIG1hcmdpbi1yaWdodDogNXB4O1xuICAgICAgICB9XG4gICAgICAgID4gLnNlY3Rpb24tY29udGVudCB7XG4gICAgICAgICAgICBkaXNwbGF5OiBpbmxpbmU7XG4gICAgICAgIH1cbiAgICB9XG4gICAgJjpub3QoLmhhcy1pbmxpbmUtbGFiZWwpIHtcbiAgICAgICAgPiAuc2VjdGlvbi1sYWJlbCB7XG4gICAgICAgICAgICBmb250LXNpemU6IDAuOXJlbTtcbiAgICAgICAgICAgIGJvcmRlci1ib3R0b206IDFweCBkb3R0ZWQgIzY2NjtcbiAgICAgICAgICAgIG1hcmdpbi1ib3R0b206IDVweDtcbiAgICAgICAgICAgIGRpc3BsYXk6IGJsb2NrO1xuICAgICAgICAgICAgbWFyZ2luLXRvcDogMTRweDtcbiAgICAgICAgfVxuICAgIH1cbiAgICA6Om5nLWRlZXAgcCB7XG4gICAgICAgIG1hcmdpbi1ib3R0b206IDA7XG4gICAgfVxufVxuIl19 */"] });
  15335. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](HeaderSectionComponent, [{
  15336. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
  15337. args: [{
  15338. selector: 'evt-header-section',
  15339. templateUrl: './header-section.component.html',
  15340. styleUrls: ['./header-section.component.scss'],
  15341. }]
  15342. }], null, { label: [{
  15343. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
  15344. }], additionalClass: [{
  15345. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
  15346. }], inlineLabel: [{
  15347. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
  15348. }] }); })();
  15349. /***/ }),
  15350. /***/ "j7gH":
  15351. /*!*****************************************************!*\
  15352. !*** ./src/app/pinboard/pinner/pinner.component.ts ***!
  15353. \*****************************************************/
  15354. /*! exports provided: PinnerComponent */
  15355. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  15356. "use strict";
  15357. __webpack_require__.r(__webpack_exports__);
  15358. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PinnerComponent", function() { return PinnerComponent; });
  15359. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "fXoL");
  15360. /* harmony import */ var _pinboard_service__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../pinboard.service */ "fqbd");
  15361. /* harmony import */ var _ui_components_button_button_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../ui-components/button/button.component */ "UjKN");
  15362. /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/common */ "ofXK");
  15363. /* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @ngx-translate/core */ "sYmb");
  15364. const _c0 = function () { return { icon: "thumbtack" }; };
  15365. class PinnerComponent {
  15366. constructor(pinType, renderer, pinboard) {
  15367. this.pinType = pinType;
  15368. this.renderer = renderer;
  15369. this.pinboard = pinboard;
  15370. }
  15371. isItemPinned() {
  15372. return this.pinboard.isItemPinned(this.item);
  15373. }
  15374. togglePin(btnEvent) {
  15375. btnEvent.event.stopPropagation();
  15376. this.pinboard.toggleItem(this.item, { pinType: this.pinType, renderer: this.renderer });
  15377. }
  15378. }
  15379. PinnerComponent.ɵfac = function PinnerComponent_Factory(t) { return new (t || PinnerComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinjectAttribute"]('pinType'), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinjectAttribute"]('renderer'), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_pinboard_service__WEBPACK_IMPORTED_MODULE_1__["PinboardService"])); };
  15380. PinnerComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: PinnerComponent, selectors: [["evt-pinner"]], inputs: { item: "item", additionalStyle: "additionalStyle" }, decls: 2, vars: 9, consts: [[1, "evt-pinner", 3, "iconLeft", "title", "ngStyle", "toggler", "transparent", "active", "btnClick"]], template: function PinnerComponent_Template(rf, ctx) { if (rf & 1) {
  15381. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "evt-button", 0);
  15382. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("btnClick", function PinnerComponent_Template_evt_button_btnClick_0_listener($event) { return ctx.togglePin($event); });
  15383. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](1, "translate");
  15384. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  15385. } if (rf & 2) {
  15386. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("iconLeft", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction0"](8, _c0))("title", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](1, 6, "PinItem"))("ngStyle", ctx.additionalStyle)("toggler", true)("transparent", true)("active", ctx.isItemPinned());
  15387. } }, directives: [_ui_components_button_button_component__WEBPACK_IMPORTED_MODULE_2__["ButtonComponent"], _angular_common__WEBPACK_IMPORTED_MODULE_3__["NgStyle"]], pipes: [_ngx_translate_core__WEBPACK_IMPORTED_MODULE_4__["TranslatePipe"]], styles: [".evt-pinner[_ngcontent-%COMP%] {\n float: right;\n}\n\n .evt-pinner .btn {\n opacity: 0.4;\n}\n\n .evt-pinner .btn:hover {\n -o-box-shadow: none !important;\n -ms-box-shadow: none !important;\n box-shadow: none !important;\n opacity: 0.9 !important;\n}\n\n .evt-pinner .btn.active {\n opacity: 1;\n}\n\n[data-theme=restore][_nghost-%COMP%] .evt-pinner .btn.active, [data-theme=restore] [_nghost-%COMP%] .evt-pinner .btn.active, [data-theme=restore][_ngcontent-%COMP%] .evt-pinner .btn.active {\n color: #0a4553 !important;\n}\n\n[data-theme=neutral][_nghost-%COMP%] .evt-pinner .btn.active, [data-theme=neutral] [_nghost-%COMP%] .evt-pinner .btn.active, [data-theme=neutral][_ngcontent-%COMP%] .evt-pinner .btn.active {\n color: #000 !important;\n}\n\n[data-theme=modern][_nghost-%COMP%] .evt-pinner .btn.active, [data-theme=modern] [_nghost-%COMP%] .evt-pinner .btn.active, [data-theme=modern][_ngcontent-%COMP%] .evt-pinner .btn.active {\n color: #263238 !important;\n}\n\n[data-theme=classic][_nghost-%COMP%] .evt-pinner .btn.active, [data-theme=classic] [_nghost-%COMP%] .evt-pinner .btn.active, [data-theme=classic][_ngcontent-%COMP%] .evt-pinner .btn.active {\n color: #362d28 !important;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Bpbm5lci5jb21wb25lbnQuc2NzcyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2Fzc2V0cy9zY3NzL19taXhpbnMuc2NzcyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2Fzc2V0cy9zY3NzL190aGVtZXMuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFHQTtFQUNJLFlBQUE7QUFGSjs7QUFLSTtFQUNJLFlBQUE7QUFGUjs7QUFHUTtFQ01OLDhCQUFBO0VBR0EsK0JBQUE7RUFDQSwyQkFBQTtFRFJVLHVCQUFBO0FBSVo7O0FBRlE7RUFDSSxVQUFBO0FBSVo7O0FFdUVRO0VGekVRLHlCQUFBO0FBS2hCOztBRW9FUTtFRnpFUS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ICAgICAgICAgIEBjb250ZW50O1xuICAgICAgICAgICAgJHRoZW1lLW1hcDogbnVsbCAhZ2xvYmFsO1xuICAgICAgICB9XG4gICAgfVxufVxuXG5AZnVuY3Rpb24gdGhlbWVkKCRrZXkpIHtcbiAgICBAcmV0dXJuIG1hcC1nZXQoJHRoZW1lLW1hcCwgJGtleSk7XG59XG5cbiJdfQ== */"] });
  15388. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](PinnerComponent, [{
  15389. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
  15390. args: [{
  15391. selector: 'evt-pinner',
  15392. templateUrl: './pinner.component.html',
  15393. styleUrls: ['./pinner.component.scss'],
  15394. }]
  15395. }], function () { return [{ type: undefined, decorators: [{
  15396. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Attribute"],
  15397. args: ['pinType']
  15398. }] }, { type: undefined, decorators: [{
  15399. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Attribute"],
  15400. args: ['renderer']
  15401. }] }, { type: _pinboard_service__WEBPACK_IMPORTED_MODULE_1__["PinboardService"] }]; }, { item: [{
  15402. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
  15403. }], additionalStyle: [{
  15404. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
  15405. }] }); })();
  15406. /***/ }),
  15407. /***/ "jPca":
  15408. /*!************************************************!*\
  15409. !*** ./src/app/shortcuts/shortcuts.service.ts ***!
  15410. \************************************************/
  15411. /*! exports provided: ShortcutsService */
  15412. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  15413. "use strict";
  15414. __webpack_require__.r(__webpack_exports__);
  15415. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ShortcutsService", function() { return ShortcutsService; });
  15416. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "fXoL");
  15417. /* harmony import */ var _utils_js_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils/js-utils */ "zSMA");
  15418. class ShortcutsService {
  15419. handleKeyboardEvent(e) {
  15420. const eKeyCode = Object(_utils_js_utils__WEBPACK_IMPORTED_MODULE_1__["getEventKeyCode"])(e);
  15421. if (e.altKey) { // ALT pressed
  15422. switch (eKeyCode) {
  15423. // TODO: MODE VIEW
  15424. case 49: // alt+1
  15425. // First view mode
  15426. break;
  15427. case 50: // alt+2
  15428. // Second view mode
  15429. break;
  15430. case 51: // alt+3
  15431. // Third view mode
  15432. break;
  15433. case 52: // alt+1
  15434. // Fourth view mode
  15435. break;
  15436. // other useful
  15437. case 73: // alt+i
  15438. // Open PROJECT INFO
  15439. break;
  15440. case 76: // alt+l
  15441. // Open Lists
  15442. break;
  15443. case 69: // alt + e
  15444. if (e.shiftKey) { // alt + shift + e
  15445. // Open EVT Info
  15446. }
  15447. break;
  15448. case 66:
  15449. // Open bookmark
  15450. break;
  15451. case 83: { // alt + s
  15452. if (e.shiftKey) { // alt + shift + s
  15453. // Open shortcuts
  15454. }
  15455. break;
  15456. }
  15457. }
  15458. }
  15459. else {
  15460. if ((e.ctrlKey) && (eKeyCode === 32)) { // GM: CTRL+space
  15461. // TODO: toggle bottom navbar
  15462. }
  15463. else if ((eKeyCode === 102 || eKeyCode === 70) &&
  15464. (e.ctrlKey || e.metaKey) && e.altKey && e.shiftKey) { // CTRL+ALT+SHIF+f - CMD+ALT+SHIF+f
  15465. // TODO: go fullscreen
  15466. }
  15467. else if ((eKeyCode === 102 || eKeyCode === 70) &&
  15468. (e.ctrlKey || e.metaKey) && e.altKey) { // CTRL+f - CMD+f
  15469. // TODO: Toggle search
  15470. }
  15471. else {
  15472. switch (eKeyCode) {
  15473. case 37: // left arrow
  15474. // TODO: Nav left
  15475. break;
  15476. case 39: // right arrow
  15477. // TODO: Nav right
  15478. break;
  15479. case 38: // up
  15480. // TODO: Nav to previous document
  15481. break;
  15482. case 40: // down
  15483. // TODO: Nav to following document
  15484. break;
  15485. case 27: // escape
  15486. break;
  15487. case 13: // input
  15488. break;
  15489. }
  15490. }
  15491. }
  15492. }
  15493. }
  15494. ShortcutsService.ɵfac = function ShortcutsService_Factory(t) { return new (t || ShortcutsService)(); };
  15495. ShortcutsService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ token: ShortcutsService, factory: ShortcutsService.ɵfac, providedIn: 'root' });
  15496. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](ShortcutsService, [{
  15497. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"],
  15498. args: [{
  15499. providedIn: 'root',
  15500. }]
  15501. }], null, null); })();
  15502. /***/ }),
  15503. /***/ "jz3b":
  15504. /*!****************************************************!*\
  15505. !*** ./src/app/services/xml-parsers/app-parser.ts ***!
  15506. \****************************************************/
  15507. /*! exports provided: RdgParser, AppParser */
  15508. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  15509. "use strict";
  15510. __webpack_require__.r(__webpack_exports__);
  15511. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "RdgParser", function() { return RdgParser; });
  15512. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AppParser", function() { return AppParser; });
  15513. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "mrSG");
  15514. /* harmony import */ var src_app_app_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! src/app/app.config */ "aR35");
  15515. /* harmony import */ var ___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! . */ "UAXx");
  15516. /* harmony import */ var _models_evt_models__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../models/evt-models */ "5c0l");
  15517. /* harmony import */ var _utils_dom_utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../utils/dom-utils */ "G9+u");
  15518. /* harmony import */ var _utils_xml_utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../utils/xml-utils */ "JQLQ");
  15519. /* harmony import */ var _basic_parsers__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./basic-parsers */ "bNiN");
  15520. /* harmony import */ var _parser_models__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./parser-models */ "YwZW");
  15521. var RdgParser_1, AppParser_1;
  15522. let RdgParser = RdgParser_1 = class RdgParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_6__["EmptyParser"] {
  15523. constructor() {
  15524. super(...arguments);
  15525. this.readingGroupTagName = 'rdgGrp';
  15526. this.attributeParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_7__["createParser"])(_basic_parsers__WEBPACK_IMPORTED_MODULE_6__["AttributeParser"], this.genericParse);
  15527. }
  15528. parse(rdg) {
  15529. return {
  15530. type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["Reading"],
  15531. id: Object(_parser_models__WEBPACK_IMPORTED_MODULE_7__["getID"])(rdg),
  15532. attributes: this.attributeParser.parse(rdg),
  15533. witIDs: this.parseReadingWitnesses(rdg) || [],
  15534. content: this.parseAppReadingContent(rdg),
  15535. significant: this.isReadingSignificant(rdg),
  15536. class: rdg.tagName.toLowerCase(),
  15537. };
  15538. }
  15539. parseReadingWitnesses(rdg) {
  15540. var _a;
  15541. return (_a = rdg.getAttribute('wit')) === null || _a === void 0 ? void 0 : _a.split('#').map((el) => Object(_utils_xml_utils__WEBPACK_IMPORTED_MODULE_5__["removeSpaces"])(el)).filter((el) => el.length !== 0);
  15542. }
  15543. parseAppReadingContent(rdg) {
  15544. return Array.from(rdg.childNodes)
  15545. .map((child) => this.genericParse(child));
  15546. }
  15547. isReadingSignificant(rdg) {
  15548. const notSignificantReadings = src_app_app_config__WEBPACK_IMPORTED_MODULE_1__["AppConfig"].evtSettings.edition.notSignificantVariants;
  15549. let isSignificant = true;
  15550. if (notSignificantReadings.length > 0) {
  15551. isSignificant = this.isSignificant(notSignificantReadings, rdg.attributes);
  15552. if (isSignificant && rdg.parentElement.tagName === this.readingGroupTagName) {
  15553. isSignificant = this.isSignificant(notSignificantReadings, rdg.parentElement.attributes);
  15554. }
  15555. }
  15556. return isSignificant;
  15557. }
  15558. isSignificant(notSignificantReading, attributes) {
  15559. return !Array.from(attributes).some(({ name, value }) => notSignificantReading.includes(`${name}=${value}`));
  15560. }
  15561. };
  15562. RdgParser = RdgParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  15563. Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('rdg', RdgParser_1)
  15564. ], RdgParser);
  15565. let AppParser = AppParser_1 = class AppParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_6__["EmptyParser"] {
  15566. constructor() {
  15567. super(...arguments);
  15568. this.noteTagName = 'note';
  15569. this.appEntryTagName = 'app';
  15570. this.readingTagName = 'rdg';
  15571. this.lemmaTagName = 'lem';
  15572. this.attributeParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_7__["createParser"])(_basic_parsers__WEBPACK_IMPORTED_MODULE_6__["AttributeParser"], this.genericParse);
  15573. this.noteParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_7__["createParser"])(_basic_parsers__WEBPACK_IMPORTED_MODULE_6__["NoteParser"], this.genericParse);
  15574. this.rdgParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_7__["createParser"])(RdgParser, this.genericParse);
  15575. }
  15576. parse(appEntry) {
  15577. return {
  15578. type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["ApparatusEntry"],
  15579. id: Object(_parser_models__WEBPACK_IMPORTED_MODULE_7__["getID"])(appEntry),
  15580. attributes: this.attributeParser.parse(appEntry),
  15581. content: [],
  15582. lemma: this.parseLemma(appEntry),
  15583. readings: this.parseReadings(appEntry),
  15584. notes: this.parseAppNotes(appEntry),
  15585. originalEncoding: Object(_utils_dom_utils__WEBPACK_IMPORTED_MODULE_4__["getOuterHTML"])(appEntry),
  15586. class: appEntry.tagName.toLowerCase(),
  15587. nestedAppsIDs: this.getNestedAppsIDs(appEntry),
  15588. };
  15589. }
  15590. getNestedAppsIDs(app) {
  15591. const nesApps = app.querySelectorAll('app');
  15592. return Array.from(nesApps).map((a) => Object(_parser_models__WEBPACK_IMPORTED_MODULE_7__["getID"])(a));
  15593. }
  15594. parseAppNotes(appEntry) {
  15595. const notes = Array.from(appEntry.children)
  15596. .filter(({ tagName }) => tagName === this.noteTagName)
  15597. .map((note) => this.noteParser.parse(note));
  15598. return notes;
  15599. }
  15600. parseLemma(appEntry) {
  15601. return appEntry.querySelector(`${this.lemmaTagName}`) ?
  15602. this.rdgParser.parse(appEntry.querySelector(`${this.lemmaTagName}`)) : undefined;
  15603. }
  15604. parseReadings(appEntry) {
  15605. return Array.from(appEntry.querySelectorAll(`${this.readingTagName}`))
  15606. .filter((el) => el.closest(this.appEntryTagName) === appEntry)
  15607. .map((rdg) => this.rdgParser.parse(rdg));
  15608. }
  15609. };
  15610. AppParser = AppParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  15611. Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('evt-apparatus-entry-parser', AppParser_1)
  15612. ], AppParser);
  15613. /***/ }),
  15614. /***/ "k8Vd":
  15615. /*!*******************************************************************!*\
  15616. !*** ./src/app/components/named-entity/named-entity.component.ts ***!
  15617. \*******************************************************************/
  15618. /*! exports provided: NamedEntityComponent */
  15619. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  15620. "use strict";
  15621. __webpack_require__.r(__webpack_exports__);
  15622. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NamedEntityComponent", function() { return NamedEntityComponent; });
  15623. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "mrSG");
  15624. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "fXoL");
  15625. /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs/operators */ "kU1M");
  15626. /* harmony import */ var _models_evt_models__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../models/evt-models */ "5c0l");
  15627. /* harmony import */ var _services_component_register_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../services/component-register.service */ "d25s");
  15628. /* harmony import */ var _services_evt_model_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../services/evt-model.service */ "hI0h");
  15629. /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/common */ "ofXK");
  15630. /* harmony import */ var _directives_html_attributes_directive__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../directives/html-attributes.directive */ "0Bbq");
  15631. /* harmony import */ var _pinboard_pinner_pinner_component__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../pinboard/pinner/pinner.component */ "j7gH");
  15632. /* harmony import */ var _ui_components_icon_icon_component__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../ui-components/icon/icon.component */ "Mijh");
  15633. /* harmony import */ var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @ng-bootstrap/ng-bootstrap */ "1kSV");
  15634. /* harmony import */ var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../content-viewer/content-viewer.component */ "t6RO");
  15635. /* harmony import */ var _named_entity_occurrence_named_entity_occurrence_component__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./named-entity-occurrence/named-entity-occurrence.component */ "wM2G");
  15636. /* harmony import */ var _original_encoding_viewer_original_encoding_viewer_component__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../original-encoding-viewer/original-encoding-viewer.component */ "7Sdm");
  15637. /* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @ngx-translate/core */ "sYmb");
  15638. const _c0 = ["entityDetails"];
  15639. const _c1 = function () { return { icon: "caret-down", additionalClasses: "icon toggler mr-2" }; };
  15640. function NamedEntityComponent_div_0_evt_icon_2_Template(rf, ctx) { if (rf & 1) {
  15641. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-icon", 6);
  15642. } if (rf & 2) {
  15643. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("iconInfo", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction0"](1, _c1));
  15644. } }
  15645. const _c2 = function () { return { icon: "caret-right", additionalClasses: "icon toggler mr-2" }; };
  15646. function NamedEntityComponent_div_0_evt_icon_3_Template(rf, ctx) { if (rf & 1) {
  15647. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-icon", 6);
  15648. } if (rf & 2) {
  15649. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("iconInfo", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction0"](1, _c2));
  15650. } }
  15651. const _c3 = function () { return { icon: "user", additionalClasses: "icon mr-1" }; };
  15652. function NamedEntityComponent_div_0_evt_icon_4_Template(rf, ctx) { if (rf & 1) {
  15653. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-icon", 6);
  15654. } if (rf & 2) {
  15655. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("iconInfo", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction0"](1, _c3));
  15656. } }
  15657. const _c4 = function () { return { icon: "map-marker", additionalClasses: "icon mr-1" }; };
  15658. function NamedEntityComponent_div_0_evt_icon_5_Template(rf, ctx) { if (rf & 1) {
  15659. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-icon", 6);
  15660. } if (rf & 2) {
  15661. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("iconInfo", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction0"](1, _c4));
  15662. } }
  15663. function NamedEntityComponent_div_0_div_8_ng_template_7_evt_content_viewer_1_Template(rf, ctx) { if (rf & 1) {
  15664. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 17);
  15665. } if (rf & 2) {
  15666. const detail_r11 = ctx.$implicit;
  15667. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", detail_r11);
  15668. } }
  15669. function NamedEntityComponent_div_0_div_8_ng_template_7_Template(rf, ctx) { if (rf & 1) {
  15670. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 15);
  15671. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, NamedEntityComponent_div_0_div_8_ng_template_7_evt_content_viewer_1_Template, 1, 1, "evt-content-viewer", 16);
  15672. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  15673. } if (rf & 2) {
  15674. const ctx_r7 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](3);
  15675. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  15676. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r7.data.content);
  15677. } }
  15678. function NamedEntityComponent_div_0_div_8_ng_template_12_div_0_span_1_Template(rf, ctx) { if (rf & 1) {
  15679. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span");
  15680. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1);
  15681. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](2, "translate");
  15682. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  15683. } if (rf & 2) {
  15684. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  15685. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](2, 1, "noOccurrences"));
  15686. } }
  15687. function NamedEntityComponent_div_0_div_8_ng_template_12_div_0_evt_named_entity_occurrence_2_Template(rf, ctx) { if (rf & 1) {
  15688. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-named-entity-occurrence", 22);
  15689. } if (rf & 2) {
  15690. const occurrence_r16 = ctx.$implicit;
  15691. const ctx_r15 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](5);
  15692. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("occurrence", occurrence_r16)("entityId", ctx_r15.data.id);
  15693. } }
  15694. function NamedEntityComponent_div_0_div_8_ng_template_12_div_0_Template(rf, ctx) { if (rf & 1) {
  15695. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 19);
  15696. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, NamedEntityComponent_div_0_div_8_ng_template_12_div_0_span_1_Template, 3, 3, "span", 20);
  15697. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, NamedEntityComponent_div_0_div_8_ng_template_12_div_0_evt_named_entity_occurrence_2_Template, 1, 2, "evt-named-entity-occurrence", 21);
  15698. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  15699. } if (rf & 2) {
  15700. const occurrences_r13 = ctx.ngIf;
  15701. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  15702. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", occurrences_r13.length === 0);
  15703. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  15704. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", occurrences_r13);
  15705. } }
  15706. function NamedEntityComponent_div_0_div_8_ng_template_12_Template(rf, ctx) { if (rf & 1) {
  15707. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](0, NamedEntityComponent_div_0_div_8_ng_template_12_div_0_Template, 3, 2, "div", 18);
  15708. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](1, "async");
  15709. } if (rf & 2) {
  15710. const ctx_r8 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](3);
  15711. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](1, 1, ctx_r8.occurrences$));
  15712. } }
  15713. function NamedEntityComponent_div_0_div_8_ng_template_17_Template(rf, ctx) { if (rf & 1) {
  15714. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 23);
  15715. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](1, "evt-original-encoding-viewer", 24);
  15716. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  15717. } if (rf & 2) {
  15718. const ctx_r9 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](3);
  15719. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  15720. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("originalEncoding", ctx_r9.data.originalEncoding);
  15721. } }
  15722. function NamedEntityComponent_div_0_div_8_Template(rf, ctx) { if (rf & 1) {
  15723. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 7);
  15724. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "ul", 8, 9);
  15725. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](3, "li", 10);
  15726. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](4, "a", 11);
  15727. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](5);
  15728. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](6, "translate");
  15729. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  15730. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](7, NamedEntityComponent_div_0_div_8_ng_template_7_Template, 2, 1, "ng-template", 12);
  15731. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  15732. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](8, "li", 13);
  15733. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](9, "a", 11);
  15734. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](10);
  15735. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](11, "translate");
  15736. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  15737. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](12, NamedEntityComponent_div_0_div_8_ng_template_12_Template, 2, 3, "ng-template", 12);
  15738. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  15739. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](13, "li", 13);
  15740. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](14, "a", 11);
  15741. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](15);
  15742. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](16, "translate");
  15743. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  15744. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](17, NamedEntityComponent_div_0_div_8_ng_template_17_Template, 2, 1, "ng-template", 12);
  15745. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  15746. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  15747. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](18, "div", 14);
  15748. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  15749. } if (rf & 2) {
  15750. const _r6 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵreference"](2);
  15751. const ctx_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
  15752. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  15753. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("activeId", ctx_r5.selectedSection);
  15754. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  15755. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngbNavItem", "info_" + ctx_r5.data.id)("disabled", ctx_r5.data.content.length === 0);
  15756. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  15757. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](6, 9, "Info"));
  15758. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](3);
  15759. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngbNavItem", "occurrences_" + ctx_r5.data.id);
  15760. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  15761. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](11, 11, "Occorrenze"));
  15762. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](3);
  15763. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngbNavItem", "xml_" + ctx_r5.data.id);
  15764. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  15765. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](16, 13, "XMLSource"));
  15766. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](3);
  15767. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngbNavOutlet", _r6);
  15768. } }
  15769. const _c5 = function (a0, a1) { return { inList: a0, contentOpened: a1 }; };
  15770. function NamedEntityComponent_div_0_Template(rf, ctx) { if (rf & 1) {
  15771. const _r18 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵgetCurrentView"]();
  15772. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 1);
  15773. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("click", function NamedEntityComponent_div_0_Template_div_click_0_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵrestoreView"](_r18); const ctx_r17 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](); return ctx_r17.tabSelected($event); });
  15774. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "div", 2);
  15775. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("click", function NamedEntityComponent_div_0_Template_div_click_1_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵrestoreView"](_r18); const ctx_r19 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](); return ctx_r19.toggleContent(); });
  15776. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, NamedEntityComponent_div_0_evt_icon_2_Template, 1, 2, "evt-icon", 3);
  15777. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, NamedEntityComponent_div_0_evt_icon_3_Template, 1, 2, "evt-icon", 3);
  15778. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, NamedEntityComponent_div_0_evt_icon_4_Template, 1, 2, "evt-icon", 3);
  15779. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](5, NamedEntityComponent_div_0_evt_icon_5_Template, 1, 2, "evt-icon", 3);
  15780. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](6);
  15781. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](7, "evt-pinner", 4);
  15782. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  15783. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](8, NamedEntityComponent_div_0_div_8_Template, 19, 15, "div", 5);
  15784. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  15785. } if (rf & 2) {
  15786. const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  15787. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵclassMapInterpolate1"]("card ne-container ", ctx_r0.data.namedEntityType, "");
  15788. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction2"](12, _c5, ctx_r0.inList, ctx_r0.contentOpened))("evtHtmlAttributes", ctx_r0.data == null ? null : ctx_r0.data.attributes);
  15789. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  15790. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx_r0.inList && ctx_r0.contentOpened);
  15791. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  15792. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx_r0.inList && !ctx_r0.contentOpened);
  15793. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  15794. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx_r0.data.namedEntityType === "person");
  15795. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  15796. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx_r0.data.namedEntityType === "place");
  15797. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  15798. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"](" ", ctx_r0.data.label, " ");
  15799. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  15800. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("item", ctx_r0.data);
  15801. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  15802. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx_r0.contentOpened);
  15803. } }
  15804. let NamedEntityComponent = class NamedEntityComponent {
  15805. constructor(evtModelService) {
  15806. this.evtModelService = evtModelService;
  15807. this.occurrences$ = this.evtModelService.entitiesOccurrences$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(occ => occ[this.data.id] || []), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["shareReplay"])(1));
  15808. this.relations$ = this.evtModelService.relations$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(el => el.filter(rel => rel.activeParts.indexOf(this.data.id) >= 0 ||
  15809. rel.passiveParts.indexOf(this.data.id) >= 0 || rel.mutualParts.indexOf(this.data.id) >= 0)));
  15810. this.contentOpened = true;
  15811. }
  15812. get selectedSection() {
  15813. if (this.contentOpened) {
  15814. return `${this.data && this.data.content.length === 0 ? 'occurrences' : 'info'}_${this.data.id}`;
  15815. }
  15816. return '';
  15817. }
  15818. ngOnInit() {
  15819. if (this.inList) {
  15820. this.contentOpened = false;
  15821. }
  15822. }
  15823. toggleContent() {
  15824. if (this.inList) {
  15825. this.contentOpened = !this.contentOpened;
  15826. }
  15827. }
  15828. tabSelected(event) {
  15829. event.stopPropagation();
  15830. }
  15831. };
  15832. NamedEntityComponent.ɵfac = function NamedEntityComponent_Factory(t) { return new (t || NamedEntityComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_services_evt_model_service__WEBPACK_IMPORTED_MODULE_5__["EVTModelService"])); };
  15833. NamedEntityComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({ type: NamedEntityComponent, selectors: [["evt-named-entity"]], viewQuery: function NamedEntityComponent_Query(rf, ctx) { if (rf & 1) {
  15834. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵviewQuery"](_c0, true);
  15835. } if (rf & 2) {
  15836. let _t;
  15837. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵloadQuery"]()) && (ctx.entityDetails = _t.first);
  15838. } }, inputs: { data: "data", inList: "inList" }, decls: 1, vars: 1, consts: [[3, "class", "ngClass", "evtHtmlAttributes", "click", 4, "ngIf"], [3, "ngClass", "evtHtmlAttributes", "click"], [1, "card-header", "ne-header", 3, "click"], [3, "iconInfo", 4, "ngIf"], ["renderer", "NamedEntity", "pinType", "NamedEntities", 3, "item"], ["class", "card-body ne-content", 4, "ngIf"], [3, "iconInfo"], [1, "card-body", "ne-content"], ["ngbNav", "", 1, "entity-details", 3, "activeId"], ["entityDetails", "ngbNav"], [3, "ngbNavItem", "disabled"], ["ngbNavLink", "", 1, "ui-font"], ["ngbNavContent", ""], [3, "ngbNavItem"], [3, "ngbNavOutlet"], [1, "ne-detail-content"], [3, "content", 4, "ngFor", "ngForOf"], [3, "content"], ["class", "ne-detail-content ui-font", 4, "ngIf"], [1, "ne-detail-content", "ui-font"], [4, "ngIf"], [3, "occurrence", "entityId", 4, "ngFor", "ngForOf"], [3, "occurrence", "entityId"], [1, "ne-detail-content", "no-padding"], [3, "originalEncoding"]], template: function NamedEntityComponent_Template(rf, ctx) { if (rf & 1) {
  15839. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](0, NamedEntityComponent_div_0_Template, 9, 15, "div", 0);
  15840. } if (rf & 2) {
  15841. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data);
  15842. } }, directives: [_angular_common__WEBPACK_IMPORTED_MODULE_6__["NgIf"], _angular_common__WEBPACK_IMPORTED_MODULE_6__["NgClass"], _directives_html_attributes_directive__WEBPACK_IMPORTED_MODULE_7__["HtmlAttributesDirective"], _pinboard_pinner_pinner_component__WEBPACK_IMPORTED_MODULE_8__["PinnerComponent"], _ui_components_icon_icon_component__WEBPACK_IMPORTED_MODULE_9__["IconComponent"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_10__["NgbNav"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_10__["NgbNavItem"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_10__["NgbNavLink"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_10__["NgbNavContent"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_10__["NgbNavOutlet"], _angular_common__WEBPACK_IMPORTED_MODULE_6__["NgForOf"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_11__["ContentViewerComponent"], _named_entity_occurrence_named_entity_occurrence_component__WEBPACK_IMPORTED_MODULE_12__["NamedEntityOccurrenceComponent"], _original_encoding_viewer_original_encoding_viewer_component__WEBPACK_IMPORTED_MODULE_13__["OriginalEncodingViewerComponent"]], pipes: [_ngx_translate_core__WEBPACK_IMPORTED_MODULE_14__["TranslatePipe"], _angular_common__WEBPACK_IMPORTED_MODULE_6__["AsyncPipe"]], styles: ["[_nghost-%COMP%] .ne-container {\n font-size: 90%;\n border-top-left-radius: 0;\n}\n[_nghost-%COMP%] .ne-container.inList {\n border-radius: 0;\n margin-bottom: 1px;\n}\n[_nghost-%COMP%] .ne-container.inList .ne-header {\n padding: 5px 7px;\n border-top-right-radius: 0;\n cursor: pointer;\n}\n[_nghost-%COMP%] .ne-container.contentOpened .ne-header {\n border-bottom: 3px double #000 !important;\n}\n[_nghost-%COMP%] .ne-container.person {\n border-color: #FFF0F2;\n}\n[_nghost-%COMP%] .ne-container.person * {\n border-color: #FFF0F2;\n}\n[_nghost-%COMP%] .ne-container.person .ne-header, [_nghost-%COMP%] .ne-container.person .ne-content {\n background: #FFF0F2;\n}\n[_nghost-%COMP%] .ne-container.person .ne-header {\n position: relative;\n}\n[_nghost-%COMP%] .ne-container.person .ne-header evt-pinner {\n position: absolute;\n top: 0;\n right: 0;\n}\n[_nghost-%COMP%] .ne-container.person .nav-item:focus, [_nghost-%COMP%] .ne-container.person .nav-item a:focus {\n outline: none !important;\n}\n[_nghost-%COMP%] .ne-container.person .entity-details .nav-link {\n color: #000;\n background-color: #FFF0F2;\n border-color: #ffcdd2;\n}\n[_nghost-%COMP%] .ne-container.person .entity-details .nav-link.active {\n background-color: #ffcdd2;\n}\n[_nghost-%COMP%] .ne-container.person .entity-details .nav-link:hover:not(.active):not(.disabled) {\n background: rgba(255, 205, 210, 0.5);\n}\n[_nghost-%COMP%] .ne-container.person .entity-details .nav-link.disabled {\n pointer-events: auto;\n cursor: not-allowed;\n}\n[_nghost-%COMP%] .ne-container.person .ne-detail-content {\n background-color: #ffcdd2;\n}\n[_nghost-%COMP%] .ne-container.person .ne-occurrence {\n border-radius: 4px;\n padding: 4px 6px;\n background: rgba(255, 255, 255, 0.5);\n margin-right: 3px;\n font-size: 0.7rem;\n margin-bottom: 3px;\n display: inline-block !important;\n cursor: pointer;\n line-height: 0.9rem;\n}\n[_nghost-%COMP%] .ne-container.person .ne-occurrence .ne-occurrence-count {\n top: -1px;\n position: relative;\n margin-left: 5px;\n border: 1px solid transparent;\n}\n[_nghost-%COMP%] .ne-container.person .ne-occurrence:hover {\n background: rgba(255, 255, 255, 0.8) !important;\n}\n[_nghost-%COMP%] .ne-container.person .ne-occurrence:hover .ne-occurrence-count {\n border: 1px solid #ccc;\n}\n[_nghost-%COMP%] .ne-container.place {\n border-color: #c8e6c9;\n}\n[_nghost-%COMP%] .ne-container.place * {\n border-color: #c8e6c9;\n}\n[_nghost-%COMP%] .ne-container.place .ne-header, [_nghost-%COMP%] .ne-container.place .ne-content {\n background: #c8e6c9;\n}\n[_nghost-%COMP%] .ne-container.place .ne-header {\n position: relative;\n}\n[_nghost-%COMP%] .ne-container.place .ne-header evt-pinner {\n position: absolute;\n top: 0;\n right: 0;\n}\n[_nghost-%COMP%] .ne-container.place .nav-item:focus, [_nghost-%COMP%] .ne-container.place .nav-item a:focus {\n outline: none !important;\n}\n[_nghost-%COMP%] .ne-container.place .entity-details .nav-link {\n color: #000;\n background-color: #c8e6c9;\n border-color: #A5D6A7;\n}\n[_nghost-%COMP%] .ne-container.place .entity-details .nav-link.active {\n background-color: #A5D6A7;\n}\n[_nghost-%COMP%] .ne-container.place .entity-details .nav-link:hover:not(.active):not(.disabled) {\n background: rgba(165, 214, 167, 0.5);\n}\n[_nghost-%COMP%] .ne-container.place .entity-details .nav-link.disabled {\n pointer-events: auto;\n cursor: not-allowed;\n}\n[_nghost-%COMP%] .ne-container.place .ne-detail-content {\n background-color: #A5D6A7;\n}\n[_nghost-%COMP%] .ne-container.place .ne-occurrence {\n border-radius: 4px;\n padding: 4px 6px;\n background: rgba(255, 255, 255, 0.5);\n margin-right: 3px;\n font-size: 0.7rem;\n margin-bottom: 3px;\n display: inline-block !important;\n cursor: pointer;\n line-height: 0.9rem;\n}\n[_nghost-%COMP%] .ne-container.place .ne-occurrence .ne-occurrence-count {\n top: -1px;\n position: relative;\n margin-left: 5px;\n border: 1px solid transparent;\n}\n[_nghost-%COMP%] .ne-container.place .ne-occurrence:hover {\n background: rgba(255, 255, 255, 0.8) !important;\n}\n[_nghost-%COMP%] .ne-container.place .ne-occurrence:hover .ne-occurrence-count {\n border: 1px solid #ccc;\n}\n[_nghost-%COMP%] .ne-container.org {\n border-color: #FFCC80;\n}\n[_nghost-%COMP%] .ne-container.org * {\n border-color: #FFCC80;\n}\n[_nghost-%COMP%] .ne-container.org .ne-header, [_nghost-%COMP%] .ne-container.org .ne-content {\n background: #FFCC80;\n}\n[_nghost-%COMP%] .ne-container.org .ne-header {\n position: relative;\n}\n[_nghost-%COMP%] .ne-container.org .ne-header evt-pinner {\n position: absolute;\n top: 0;\n right: 0;\n}\n[_nghost-%COMP%] .ne-container.org .nav-item:focus, [_nghost-%COMP%] .ne-container.org .nav-item a:focus {\n outline: none !important;\n}\n[_nghost-%COMP%] .ne-container.org .entity-details .nav-link {\n color: #000;\n background-color: #FFCC80;\n border-color: #FFB74D;\n}\n[_nghost-%COMP%] .ne-container.org .entity-details .nav-link.active {\n background-color: #FFB74D;\n}\n[_nghost-%COMP%] .ne-container.org .entity-details .nav-link:hover:not(.active):not(.disabled) {\n background: rgba(255, 183, 77, 0.5);\n}\n[_nghost-%COMP%] .ne-container.org .entity-details .nav-link.disabled {\n pointer-events: auto;\n cursor: not-allowed;\n}\n[_nghost-%COMP%] .ne-container.org .ne-detail-content {\n background-color: #FFB74D;\n}\n[_nghost-%COMP%] .ne-container.org .ne-occurrence {\n border-radius: 4px;\n padding: 4px 6px;\n background: rgba(255, 255, 255, 0.5);\n margin-right: 3px;\n font-size: 0.7rem;\n margin-bottom: 3px;\n display: inline-block !important;\n cursor: pointer;\n line-height: 0.9rem;\n}\n[_nghost-%COMP%] .ne-container.org .ne-occurrence .ne-occurrence-count {\n top: -1px;\n position: relative;\n margin-left: 5px;\n border: 1px solid transparent;\n}\n[_nghost-%COMP%] .ne-container.org .ne-occurrence:hover {\n background: rgba(255, 255, 255, 0.8) !important;\n}\n[_nghost-%COMP%] .ne-container.org .ne-occurrence:hover .ne-occurrence-count {\n border: 1px solid #ccc;\n}\n[_nghost-%COMP%] .ne-container.event {\n border-color: #ffffb0;\n}\n[_nghost-%COMP%] .ne-container.event * {\n border-color: #ffffb0;\n}\n[_nghost-%COMP%] .ne-container.event .ne-header, [_nghost-%COMP%] .ne-container.event .ne-content {\n background: #ffffb0;\n}\n[_nghost-%COMP%] .ne-container.event .ne-header {\n position: relative;\n}\n[_nghost-%COMP%] .ne-container.event .ne-header evt-pinner {\n position: absolute;\n top: 0;\n right: 0;\n}\n[_nghost-%COMP%] .ne-container.event .nav-item:focus, [_nghost-%COMP%] .ne-container.event .nav-item a:focus {\n outline: none !important;\n}\n[_nghost-%COMP%] .ne-container.event .entity-details .nav-link {\n color: #000;\n background-color: #ffffb0;\n border-color: #fcfc60;\n}\n[_nghost-%COMP%] .ne-container.event .entity-details .nav-link.active {\n background-color: #fcfc60;\n}\n[_nghost-%COMP%] .ne-container.event .entity-details .nav-link:hover:not(.active):not(.disabled) {\n background: rgba(252, 252, 96, 0.5);\n}\n[_nghost-%COMP%] .ne-container.event .entity-details .nav-link.disabled {\n pointer-events: auto;\n cursor: not-allowed;\n}\n[_nghost-%COMP%] .ne-container.event .ne-detail-content {\n background-color: #fcfc60;\n}\n[_nghost-%COMP%] .ne-container.event .ne-occurrence {\n border-radius: 4px;\n padding: 4px 6px;\n background: rgba(255, 255, 255, 0.5);\n margin-right: 3px;\n font-size: 0.7rem;\n margin-bottom: 3px;\n display: inline-block !important;\n cursor: pointer;\n line-height: 0.9rem;\n}\n[_nghost-%COMP%] .ne-container.event .ne-occurrence .ne-occurrence-count {\n top: -1px;\n position: relative;\n margin-left: 5px;\n border: 1px solid transparent;\n}\n[_nghost-%COMP%] .ne-container.event .ne-occurrence:hover {\n background: rgba(255, 255, 255, 0.8) !important;\n}\n[_nghost-%COMP%] .ne-container.event .ne-occurrence:hover .ne-occurrence-count {\n border: 1px solid #ccc;\n}\n[_nghost-%COMP%] .ne-header {\n padding: 3.5px 7px;\n border-top-left-radius: 0;\n}\n[_nghost-%COMP%] .ne-content {\n padding: 0;\n font-size: 80%;\n}\n[_nghost-%COMP%] .ne-detail-content {\n padding: 1rem;\n}\n[_nghost-%COMP%] .ne-detail-content.no-padding {\n padding: 0;\n}\n[_nghost-%COMP%] .ne-content .entity-details .nav-link {\n padding: 5px;\n border: none;\n}\n[_nghost-%COMP%] pre {\n padding-top: 0;\n margin: 0;\n \n}\n[_nghost-%COMP%] pre code {\n font-size: 85% !important;\n}\npre[_ngcontent-%COMP%] {\n white-space: pre-wrap;\n white-space: -moz-pre-wrap;\n white-space: -pre-wrap;\n white-space: -o-pre-wrap;\n word-wrap: break-word;\n width: 100%;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL25hbWVkLWVudGl0eS5jb21wb25lbnQuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFzRkU7RUFDRSxjQUFBO0VBQ0EseUJBQUE7QUFyRko7QUF1Rkk7RUFDRSxnQkFBQTtFQUNBLGtCQUFBO0FBckZOO0FBdUZNO0VBQ0UsZ0JBQUE7RUFDQSwwQkFBQTtFQUNBLGVBQUE7QUFyRlI7QUEwRk07RUFDRSx5Q0FBQTtBQXhGUjtBQTRGSTtFQXRHRixxQkF1R3lEO0FBMUYzRDtBQVhFO0VBQ0UscUJBb0d1RDtBQXZGM0Q7QUFWRTs7RUFFRSxtQkFBQTtBQVlKO0FBVEU7RUFDRSxrQkFBQTtBQVdKO0FBVEk7RUFDRSxrQkFBQTtFQUNBLE1BQUE7RUFDQSxRQUFBO0FBV047QUFMSTs7RUFDRSx3QkFBQTtBQVFOO0FBSkU7RUFDRSxXQUFBO0VBQ0EseUJBeUV1RDtFQXhFdkQscUJBd0VtRjtBQWxFdkY7QUFKSTtFQUNFLHlCQ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ikpO1xuICAgIH1cbiAgfVxuXG4gICYtaGVhZGVyIHtcbiAgICBwYWRkaW5nOiAzLjVweCA3cHg7XG4gICAgYm9yZGVyLXRvcC1sZWZ0LXJhZGl1czogMDtcbiAgfVxuXG4gICYtY29udGVudCB7XG4gICAgcGFkZGluZzogMDtcbiAgICBmb250LXNpemU6IDgwJTtcbiAgfVxuXG4gICYtZGV0YWlsLWNvbnRlbnQge1xuICAgIHBhZGRpbmc6IDFyZW07XG5cbiAgICAmLm5vLXBhZGRpbmcge1xuICAgICAgcGFkZGluZzogMDtcbiAgICB9XG4gIH1cbn1cblxuOmhvc3QgOjpuZy1kZWVwIC5uZS1jb250ZW50IHtcblxuICAvLyBPdmVycmlkZSBkZWZhdWx0IHN0eWxlc1xuICAuZW50aXR5LWRldGFpbHMgLm5hdi1saW5rIHtcbiAgICBwYWRkaW5nOiA1cHg7XG4gICAgYm9yZGVyOiBub25lO1xuICB9XG59XG5cbjpob3N0IDo6bmctZGVlcCBwcmUge1xuICBwYWRkaW5nLXRvcDogMDtcbiAgbWFyZ2luOiAwO1xuXG4gIC8qIGJhY2tncm91bmQ6ICNmZmY7Ki9cbiAgY29kZSB7XG4gICAgZm9udC1zaXplOiA4NSUgIWltcG9ydGFudDtcbiAgfVxufVxuXG5wcmUge1xuICB3aGl0ZS1zcGFjZTogcHJlLXdyYXA7XG4gIHdoaXRlLXNwYWNlOiAtbW96LXByZS13cmFwO1xuICB3aGl0ZS1zcGFjZTogLXByZS13cmFwO1xuICB3aGl0ZS1zcGFjZTogLW8tcHJlLXdyYXA7XG4gIHdvcmQtd3JhcDogYnJlYWstd29yZDtcbiAgd2lkdGg6IDEwMCU7XG59Il19 */"] });
  15843. NamedEntityComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  15844. Object(_services_component_register_service__WEBPACK_IMPORTED_MODULE_4__["register"])(_models_evt_models__WEBPACK_IMPORTED_MODULE_3__["NamedEntity"])
  15845. ], NamedEntityComponent);
  15846. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](NamedEntityComponent, [{
  15847. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
  15848. args: [{
  15849. selector: 'evt-named-entity',
  15850. templateUrl: './named-entity.component.html',
  15851. styleUrls: ['./named-entity.component.scss'],
  15852. }]
  15853. }], function () { return [{ type: _services_evt_model_service__WEBPACK_IMPORTED_MODULE_5__["EVTModelService"] }]; }, { data: [{
  15854. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
  15855. }], inList: [{
  15856. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
  15857. }], entityDetails: [{
  15858. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewChild"],
  15859. args: ['entityDetails']
  15860. }] }); })();
  15861. /***/ }),
  15862. /***/ "ka2K":
  15863. /*!*************************************************************!*\
  15864. !*** ./src/app/components/rendition/rendition.component.ts ***!
  15865. \*************************************************************/
  15866. /*! exports provided: RenditionComponent */
  15867. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  15868. "use strict";
  15869. __webpack_require__.r(__webpack_exports__);
  15870. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "RenditionComponent", function() { return RenditionComponent; });
  15871. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "mrSG");
  15872. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "fXoL");
  15873. /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs */ "qCKp");
  15874. /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! rxjs/operators */ "kU1M");
  15875. /* harmony import */ var _models_evt_models__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../models/evt-models */ "5c0l");
  15876. /* harmony import */ var _services_component_register_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../services/component-register.service */ "d25s");
  15877. /* harmony import */ var _utils_js_utils__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../utils/js-utils */ "zSMA");
  15878. /* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @ngx-translate/core */ "sYmb");
  15879. /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @angular/common */ "ofXK");
  15880. /* harmony import */ var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../content-viewer/content-viewer.component */ "t6RO");
  15881. function RenditionComponent_ng_container_1_div_1_Template(rf, ctx) { if (rf & 1) {
  15882. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 7);
  15883. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "label");
  15884. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](2);
  15885. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](3, "translate");
  15886. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  15887. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](4, "span");
  15888. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](5);
  15889. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](6, "async");
  15890. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  15891. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  15892. } if (rf & 2) {
  15893. const ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
  15894. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  15895. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"]("", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](3, 3, "scope"), ": ");
  15896. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](3);
  15897. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate2"]("", ctx_r2.data.scope, " ", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](6, 5, ctx_r2.scopeDescription$), "");
  15898. } }
  15899. function RenditionComponent_ng_container_1_div_2_Template(rf, ctx) { if (rf & 1) {
  15900. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 8);
  15901. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "label");
  15902. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](2);
  15903. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](3, "translate");
  15904. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  15905. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](4, "span");
  15906. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](5);
  15907. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  15908. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  15909. } if (rf & 2) {
  15910. const ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
  15911. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  15912. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"]("", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](3, 2, "selector"), ": ");
  15913. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](3);
  15914. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](ctx_r3.data.selector);
  15915. } }
  15916. function RenditionComponent_ng_container_1_div_3_Template(rf, ctx) { if (rf & 1) {
  15917. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 9);
  15918. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "label");
  15919. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](2);
  15920. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](3, "translate");
  15921. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  15922. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](4, "span");
  15923. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](5);
  15924. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  15925. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  15926. } if (rf & 2) {
  15927. const ctx_r4 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
  15928. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  15929. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"]("", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](3, 3, "scheme"), ": ");
  15930. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](3);
  15931. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate2"]("", ctx_r4.data.scheme, " ", ctx_r4.data.schemeVersion, "");
  15932. } }
  15933. function RenditionComponent_ng_container_1_evt_content_viewer_9_Template(rf, ctx) { if (rf & 1) {
  15934. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 10);
  15935. } if (rf & 2) {
  15936. const element_r6 = ctx.$implicit;
  15937. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", element_r6);
  15938. } }
  15939. function RenditionComponent_ng_container_1_Template(rf, ctx) { if (rf & 1) {
  15940. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
  15941. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, RenditionComponent_ng_container_1_div_1_Template, 7, 7, "div", 2);
  15942. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, RenditionComponent_ng_container_1_div_2_Template, 6, 4, "div", 3);
  15943. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, RenditionComponent_ng_container_1_div_3_Template, 6, 5, "div", 4);
  15944. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](4, "div", 5);
  15945. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](5, "label");
  15946. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](6);
  15947. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](7, "translate");
  15948. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  15949. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](8, "span");
  15950. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](9, RenditionComponent_ng_container_1_evt_content_viewer_9_Template, 1, 1, "evt-content-viewer", 6);
  15951. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  15952. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  15953. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
  15954. } if (rf & 2) {
  15955. const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  15956. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  15957. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx_r0.data.scope);
  15958. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  15959. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx_r0.data.selector);
  15960. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  15961. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx_r0.data.scheme);
  15962. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](3);
  15963. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"]("", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](7, 5, "rules"), ": ");
  15964. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](3);
  15965. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r0.data.content);
  15966. } }
  15967. function RenditionComponent_ng_container_2_evt_content_viewer_5_Template(rf, ctx) { if (rf & 1) {
  15968. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 10);
  15969. } if (rf & 2) {
  15970. const element_r8 = ctx.$implicit;
  15971. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", element_r8);
  15972. } }
  15973. function RenditionComponent_ng_container_2_Template(rf, ctx) { if (rf & 1) {
  15974. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
  15975. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "div", 5);
  15976. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](2, "label");
  15977. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](3);
  15978. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  15979. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](4, "span");
  15980. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](5, RenditionComponent_ng_container_2_evt_content_viewer_5_Template, 1, 1, "evt-content-viewer", 6);
  15981. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  15982. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  15983. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
  15984. } if (rf & 2) {
  15985. const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  15986. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](3);
  15987. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"]("", ctx_r1.data.id, ":");
  15988. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  15989. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r1.data.content);
  15990. } }
  15991. let RenditionComponent = class RenditionComponent {
  15992. constructor(translateService) {
  15993. this.translateService = translateService;
  15994. }
  15995. get scopeDescription$() {
  15996. if (this.data.scope) {
  15997. const descKey = Object(_utils_js_utils__WEBPACK_IMPORTED_MODULE_6__["snakeToCamelCased"])(`rendition-${this.data.scope}-desc`);
  15998. return this.translateService.get(descKey).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["map"])(translation => translation === descKey ? '' : `(${translation})`));
  15999. }
  16000. return Object(rxjs__WEBPACK_IMPORTED_MODULE_2__["of"])('');
  16001. }
  16002. };
  16003. RenditionComponent.ɵfac = function RenditionComponent_Factory(t) { return new (t || RenditionComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_ngx_translate_core__WEBPACK_IMPORTED_MODULE_7__["TranslateService"])); };
  16004. RenditionComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({ type: RenditionComponent, selectors: [["evt-rendition"]], inputs: { data: "data" }, decls: 3, vars: 2, consts: [[1, "rendition"], [4, "ngIf"], ["class", "rendition-section rendition-scope", 4, "ngIf"], ["class", "rendition-section rendition-selector", 4, "ngIf"], ["class", "rendition-section rendition-scheme", 4, "ngIf"], [1, "rendition-section", "rendition-content"], [3, "content", 4, "ngFor", "ngForOf"], [1, "rendition-section", "rendition-scope"], [1, "rendition-section", "rendition-selector"], [1, "rendition-section", "rendition-scheme"], [3, "content"]], template: function RenditionComponent_Template(rf, ctx) { if (rf & 1) {
  16005. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 0);
  16006. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, RenditionComponent_ng_container_1_Template, 10, 7, "ng-container", 1);
  16007. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, RenditionComponent_ng_container_2_Template, 6, 2, "ng-container", 1);
  16008. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  16009. } if (rf & 2) {
  16010. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  16011. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data.scope || ctx.data.selector || ctx.data.scheme);
  16012. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  16013. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", !ctx.data.scope && !ctx.data.selector && !ctx.data.scheme && ctx.data.id);
  16014. } }, directives: [_angular_common__WEBPACK_IMPORTED_MODULE_8__["NgIf"], _angular_common__WEBPACK_IMPORTED_MODULE_8__["NgForOf"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_9__["ContentViewerComponent"]], pipes: [_ngx_translate_core__WEBPACK_IMPORTED_MODULE_7__["TranslatePipe"], _angular_common__WEBPACK_IMPORTED_MODULE_8__["AsyncPipe"]], styles: [".rendition[_ngcontent-%COMP%] {\n margin-bottom: 10px;\n}\n.rendition-section[_ngcontent-%COMP%] {\n display: flex;\n align-items: flex-start;\n justify-content: flex-start;\n}\n.rendition[_ngcontent-%COMP%] label[_ngcontent-%COMP%] {\n margin-bottom: 0;\n margin-right: 5px;\n font-weight: bolder;\n font-variant: all-small-caps;\n}\n .rendition-content span * {\n font-family: monospace;\n font-size: 0.9em;\n font-weight: lighter;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3JlbmRpdGlvbi5jb21wb25lbnQuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNJLG1CQUFBO0FBQ0o7QUFDSTtFQUNJLGFBQUE7RUFDQSx1QkFBQTtFQUNBLDJCQUFBO0FBQ1I7QUFFSTtFQUNJLGdCQUFBO0VBQ0EsaUJBQUE7RUFDQSxtQkFBQTtFQUNBLDRCQUFBO0FBQVI7QUFJQTtFQUNJLHNCQUFBO0VBQ0EsZ0JBQUE7RUFDQSxvQkFBQTtBQURKIiwiZmlsZSI6InJlbmRpdGlvbi5jb21wb25lbnQuc2NzcyIsInNvdXJjZXNDb250ZW50IjpbIi5yZW5kaXRpb24ge1xuICAgIG1hcmdpbi1ib3R0b206IDEwcHg7XG5cbiAgICAmLXNlY3Rpb24ge1xuICAgICAgICBkaXNwbGF5OiBmbGV4O1xuICAgICAgICBhbGlnbi1pdGVtczogZmxleC1zdGFydDtcbiAgICAgICAganVzdGlmeS1jb250ZW50OiBmbGV4LXN0YXJ0O1xuICAgIH1cblxuICAgIGxhYmVsIHtcbiAgICAgICAgbWFyZ2luLWJvdHRvbTogMDtcbiAgICAgICAgbWFyZ2luLXJpZ2h0OiA1cHg7XG4gICAgICAgIGZvbnQtd2VpZ2h0OiBib2xkZXI7XG4gICAgICAgIGZvbnQtdmFyaWFudDogYWxsLXNtYWxsLWNhcHM7XG4gICAgfVxufVxuXG46Om5nLWRlZXAgLnJlbmRpdGlvbi1jb250ZW50IHNwYW4gKiB7XG4gICAgZm9udC1mYW1pbHk6IG1vbm9zcGFjZTtcbiAgICBmb250LXNpemU6IDAuOWVtO1xuICAgIGZvbnQtd2VpZ2h0OiBsaWdodGVyO1xufVxuIl19 */"] });
  16015. RenditionComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  16016. Object(_services_component_register_service__WEBPACK_IMPORTED_MODULE_5__["register"])(_models_evt_models__WEBPACK_IMPORTED_MODULE_4__["Rendition"])
  16017. ], RenditionComponent);
  16018. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](RenditionComponent, [{
  16019. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
  16020. args: [{
  16021. selector: 'evt-rendition',
  16022. templateUrl: './rendition.component.html',
  16023. styleUrls: ['./rendition.component.scss'],
  16024. }]
  16025. }], function () { return [{ type: _ngx_translate_core__WEBPACK_IMPORTED_MODULE_7__["TranslateService"] }]; }, { data: [{
  16026. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
  16027. }] }); })();
  16028. /***/ }),
  16029. /***/ "lP9l":
  16030. /*!**************************************************!*\
  16031. !*** ./src/app/shortcuts/shortcuts.component.ts ***!
  16032. \**************************************************/
  16033. /*! exports provided: ShortcutsComponent */
  16034. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  16035. "use strict";
  16036. __webpack_require__.r(__webpack_exports__);
  16037. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ShortcutsComponent", function() { return ShortcutsComponent; });
  16038. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "fXoL");
  16039. /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/common */ "ofXK");
  16040. /* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @ngx-translate/core */ "sYmb");
  16041. function ShortcutsComponent_div_1_span_5_Template(rf, ctx) { if (rf & 1) {
  16042. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "span", 5);
  16043. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
  16044. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  16045. } if (rf & 2) {
  16046. const item_r3 = ctx.$implicit;
  16047. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("type", item_r3.type);
  16048. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  16049. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", item_r3.text, " ");
  16050. } }
  16051. function ShortcutsComponent_div_1_Template(rf, ctx) { if (rf & 1) {
  16052. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 2);
  16053. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "div", 3);
  16054. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2);
  16055. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](3, "translate");
  16056. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  16057. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "div", 3);
  16058. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](5, ShortcutsComponent_div_1_span_5_Template, 2, 2, "span", 4);
  16059. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  16060. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  16061. } if (rf & 2) {
  16062. const shortcut_r1 = ctx.$implicit;
  16063. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
  16064. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](3, 2, shortcut_r1.label), " ");
  16065. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
  16066. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", shortcut_r1.instructions);
  16067. } }
  16068. class ShortcutsComponent {
  16069. constructor() {
  16070. // tslint:disable-next-line: no-any
  16071. this.shortcuts = []; // TODO: get rid of instructions
  16072. this.initShortcuts();
  16073. }
  16074. initShortcuts() {
  16075. this.shortcuts.push({
  16076. label: 'OpenProjectInfo',
  16077. instructions: [
  16078. { type: 'key', text: 'ALT' },
  16079. { text: '+' },
  16080. { type: 'key', text: 'I' }
  16081. ],
  16082. });
  16083. this.shortcuts.push({
  16084. label: 'OpenLists',
  16085. instructions: [
  16086. { type: 'key', text: 'ALT' },
  16087. { text: '+' },
  16088. { type: 'key', text: 'L' }
  16089. ],
  16090. });
  16091. this.shortcuts.push({
  16092. label: 'OpenCurrentBookmark',
  16093. instructions: [
  16094. { type: 'key', text: 'ALT' },
  16095. { text: '+' },
  16096. { type: 'key', text: 'B' }
  16097. ],
  16098. });
  16099. this.shortcuts.push({
  16100. label: 'OpenEVTInfo',
  16101. instructions: [
  16102. { type: 'key', text: 'ALT' },
  16103. { text: '+' },
  16104. { type: 'key', text: 'SHIFT' },
  16105. { text: '+' },
  16106. { type: 'key', text: 'E' }
  16107. ],
  16108. });
  16109. this.shortcuts.push({
  16110. label: 'OpenShortcuts',
  16111. instructions: [
  16112. { type: 'key', text: 'ALT' },
  16113. { text: '+' },
  16114. { type: 'key', text: 'SHIFT' },
  16115. { text: '+' },
  16116. { type: 'key', text: 'S' }
  16117. ],
  16118. });
  16119. // this.shortcuts.push({
  16120. // label: 'ChangeView',
  16121. // instructions: [
  16122. // { type: 'key', text: 'ALT' },
  16123. // { text: '+' },
  16124. // { type: 'key', text: '1' },
  16125. // { text: '/' },
  16126. // { type: 'key', text: 'ALT' },
  16127. // { text: '+' },
  16128. // { type: 'key', text: '2' },
  16129. // { text: '/' },
  16130. // { type: 'key', text: 'ALT' },
  16131. // { text: '+' },
  16132. // { type: 'key', text: '3' },
  16133. // { text: '...' }]
  16134. // });
  16135. // this.shortcuts.push({
  16136. // label: 'ChangePage',
  16137. // instructions: [
  16138. // { type: 'key', text: '&larr;' },
  16139. // { text: 'and' },
  16140. // { type: 'key', text: '&rarr;' }]
  16141. // });
  16142. // this.shortcuts.push({
  16143. // label: 'ChangeDocument',
  16144. // instructions: [
  16145. // { type: 'key', text: '&uarr;' },
  16146. // { text: 'and' },
  16147. // { type: 'key', text: '&darr;' }]
  16148. // });
  16149. // this.shortcuts.push({
  16150. // label: 'FullScreen',
  16151. // instructions: [
  16152. // { type: 'key', text: 'ctrl' },
  16153. // { text: '/' },
  16154. // { type: 'key', text: 'cmd' },
  16155. // { text: '+' },
  16156. // { type: 'key', text: 'alt' },
  16157. // { text: '+' },
  16158. // { type: 'key', text: 'shift' },
  16159. // { text: '+' },
  16160. // { type: 'key', text: 'f' }]
  16161. // });
  16162. // this.shortcuts.push({
  16163. // label: 'FullScreen',
  16164. // instructions: [
  16165. // { type: 'key', text: 'ctrl' },
  16166. // { text: '/' },
  16167. // { type: 'key', text: 'cmd' },
  16168. // { text: '+' },
  16169. // { type: 'key', text: 'alt' },
  16170. // { text: '+' },
  16171. // { type: 'key', text: 'f' }]
  16172. // });
  16173. this.shortcuts.push({
  16174. label: 'CloseModalIfOpened',
  16175. instructions: [
  16176. { type: 'key', text: 'ESC' }
  16177. ],
  16178. });
  16179. }
  16180. }
  16181. ShortcutsComponent.ɵfac = function ShortcutsComponent_Factory(t) { return new (t || ShortcutsComponent)(); };
  16182. ShortcutsComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: ShortcutsComponent, selectors: [["evt-shortcuts"]], decls: 2, vars: 1, consts: [[1, "container"], ["class", "row mb-2 border-bottom pb-2 pt-2", 4, "ngFor", "ngForOf"], [1, "row", "mb-2", "border-bottom", "pb-2", "pt-2"], [1, "col"], ["class", "shortcuts-instruction-item", 4, "ngFor", "ngForOf"], [1, "shortcuts-instruction-item"]], template: function ShortcutsComponent_Template(rf, ctx) { if (rf & 1) {
  16183. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 0);
  16184. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, ShortcutsComponent_div_1_Template, 6, 4, "div", 1);
  16185. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  16186. } if (rf & 2) {
  16187. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  16188. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx.shortcuts);
  16189. } }, directives: [_angular_common__WEBPACK_IMPORTED_MODULE_1__["NgForOf"]], pipes: [_ngx_translate_core__WEBPACK_IMPORTED_MODULE_2__["TranslatePipe"]], styles: [".shortcuts-instruction-item[type=key][_ngcontent-%COMP%] {\n background: transparent linear-gradient(to bottom, #f0f0f0, #fcfcfc) repeat scroll 0% 0%;\n border-radius: 3px;\n color: #303030;\n border-width: 1px 1px 2px;\n border-style: solid;\n border-color: #e0e0e0;\n -o-border-image: none;\n border-image: none;\n white-space: nowrap;\n font-variant: small-caps;\n font-family: monospace;\n padding: 0px 3px;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3Nob3J0Y3V0cy5jb21wb25lbnQuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFQTtFQUNJLHdGQUFBO0VBQ0Esa0JBQUE7RUFDQSxjQUFBO0VBQ0EseUJBQUE7RUFDQSxtQkFBQTtFQUNBLHFCQUFBO0VBQ0EscUJBQUE7S0FBQSxrQkFBQTtFQUNBLG1CQUFBO0VBQ0Esd0JBQUE7RUFDQSxzQkFBQTtFQUNBLGdCQUFBO0FBREoiLCJmaWxlIjoic2hvcnRjdXRzLmNvbXBvbmVudC5zY3NzIiwic291cmNlc0NvbnRlbnQiOlsiQGltcG9ydCAnLi4vLi4vYXNzZXRzL3Njc3MvbWl4aW5zJztcblxuLnNob3J0Y3V0cy1pbnN0cnVjdGlvbi1pdGVtW3R5cGU9XCJrZXlcIl0ge1xuICAgIGJhY2tncm91bmQ6IHRyYW5zcGFyZW50IGxpbmVhci1ncmFkaWVudCh0byBib3R0b20sIHJnYigyNDAsIDI0MCwgMjQwKSwgcmdiKDI1MiwgMjUyLCAyNTIpKSByZXBlYXQgc2Nyb2xsIDAlIDAlO1xuICAgIGJvcmRlci1yYWRpdXM6IDNweDtcbiAgICBjb2xvcjogcmdiKDQ4LCA0OCwgNDgpO1xuICAgIGJvcmRlci13aWR0aDogMXB4IDFweCAycHg7XG4gICAgYm9yZGVyLXN0eWxlOiBzb2xpZDtcbiAgICBib3JkZXItY29sb3I6IHJnYigyMjQsIDIyNCwgMjI0KTtcbiAgICBib3JkZXItaW1hZ2U6IG5vbmU7XG4gICAgd2hpdGUtc3BhY2U6IG5vd3JhcDtcbiAgICBmb250LXZhcmlhbnQ6IHNtYWxsLWNhcHM7XG4gICAgZm9udC1mYW1pbHk6IG1vbm9zcGFjZTtcbiAgICBwYWRkaW5nOiAwcHggM3B4O1xufSJdfQ== */"] });
  16190. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](ShortcutsComponent, [{
  16191. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
  16192. args: [{
  16193. selector: 'evt-shortcuts',
  16194. templateUrl: './shortcuts.component.html',
  16195. styleUrls: ['./shortcuts.component.scss'],
  16196. }]
  16197. }], function () { return []; }, null); })();
  16198. /***/ }),
  16199. /***/ "lmze":
  16200. /*!***********************************************************!*\
  16201. !*** ./src/app/components/deletion/deletion.component.ts ***!
  16202. \***********************************************************/
  16203. /*! exports provided: DeletionComponent */
  16204. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  16205. "use strict";
  16206. __webpack_require__.r(__webpack_exports__);
  16207. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DeletionComponent", function() { return DeletionComponent; });
  16208. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "mrSG");
  16209. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "fXoL");
  16210. /* harmony import */ var _models_evt_models__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../models/evt-models */ "5c0l");
  16211. /* harmony import */ var _services_component_register_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../services/component-register.service */ "d25s");
  16212. /* harmony import */ var _directives_html_attributes_directive__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../directives/html-attributes.directive */ "0Bbq");
  16213. /* harmony import */ var _directives_highlight_directive__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../directives/highlight.directive */ "CmGG");
  16214. /* harmony import */ var _directives_editorial_convention_layout_directive__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../directives/editorial-convention-layout.directive */ "FJNG");
  16215. /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @angular/common */ "ofXK");
  16216. /* harmony import */ var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../content-viewer/content-viewer.component */ "t6RO");
  16217. function DeletionComponent_evt_content_viewer_1_Template(rf, ctx) { if (rf & 1) {
  16218. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 2);
  16219. } if (rf & 2) {
  16220. const element_r1 = ctx.$implicit;
  16221. const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  16222. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", element_r1)("editionLevel", ctx_r0.editionLevel)("itemsToHighlight", ctx_r0.itemsToHighlight)("itemsLemsToHighlight", ctx_r0.itemsLemsToHighlight)("itemsIperlemsToHighlight", ctx_r0.itemsIperlemsToHighlight);
  16223. } }
  16224. let DeletionComponent = class DeletionComponent {
  16225. get editorialConventionData() {
  16226. return {
  16227. name: 'del',
  16228. attributes: this.data.attributes,
  16229. editionLevel: this.editionLevel,
  16230. defaultsKey: 'deletion',
  16231. };
  16232. }
  16233. };
  16234. DeletionComponent.ɵfac = function DeletionComponent_Factory(t) { return new (t || DeletionComponent)(); };
  16235. DeletionComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({ type: DeletionComponent, selectors: [["evt-deletion"]], inputs: { data: "data" }, decls: 2, vars: 6, consts: [[1, "del", 3, "evtHtmlAttributes", "evtHighlight", "evtEditorialConventionLayout"], [3, "content", "editionLevel", "itemsToHighlight", "itemsLemsToHighlight", "itemsIperlemsToHighlight", 4, "ngFor", "ngForOf"], [3, "content", "editionLevel", "itemsToHighlight", "itemsLemsToHighlight", "itemsIperlemsToHighlight"]], template: function DeletionComponent_Template(rf, ctx) { if (rf & 1) {
  16236. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 0);
  16237. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, DeletionComponent_evt_content_viewer_1_Template, 1, 5, "evt-content-viewer", 1);
  16238. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  16239. } if (rf & 2) {
  16240. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("evtHtmlAttributes", ctx.data == null ? null : ctx.data.attributes)("evtHighlight", ctx.highlightData)("evtEditorialConventionLayout", ctx.editorialConventionData);
  16241. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵattribute"]("data-edition", ctx.editionLevel)("data-rend", ctx.data.rend);
  16242. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  16243. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx.data.content);
  16244. } }, directives: [_directives_html_attributes_directive__WEBPACK_IMPORTED_MODULE_4__["HtmlAttributesDirective"], _directives_highlight_directive__WEBPACK_IMPORTED_MODULE_5__["HighlightDirective"], _directives_editorial_convention_layout_directive__WEBPACK_IMPORTED_MODULE_6__["EditorialConventionLayoutDirective"], _angular_common__WEBPACK_IMPORTED_MODULE_7__["NgForOf"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_8__["ContentViewerComponent"]], styles: ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJkZWxldGlvbi5jb21wb25lbnQuc2NzcyJ9 */"] });
  16245. DeletionComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  16246. Object(_services_component_register_service__WEBPACK_IMPORTED_MODULE_3__["register"])(_models_evt_models__WEBPACK_IMPORTED_MODULE_2__["Deletion"])
  16247. ], DeletionComponent);
  16248. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](DeletionComponent, [{
  16249. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
  16250. args: [{
  16251. selector: 'evt-deletion',
  16252. templateUrl: './deletion.component.html',
  16253. styleUrls: ['./deletion.component.scss'],
  16254. }]
  16255. }], null, { data: [{
  16256. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
  16257. }] }); })();
  16258. /***/ }),
  16259. /***/ "mQVh":
  16260. /*!*******************************************************!*\
  16261. !*** ./src/app/components/damage/damage.component.ts ***!
  16262. \*******************************************************/
  16263. /*! exports provided: DamageComponent */
  16264. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  16265. "use strict";
  16266. __webpack_require__.r(__webpack_exports__);
  16267. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DamageComponent", function() { return DamageComponent; });
  16268. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "mrSG");
  16269. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "fXoL");
  16270. /* harmony import */ var _models_evt_models__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../models/evt-models */ "5c0l");
  16271. /* harmony import */ var _services_component_register_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../services/component-register.service */ "d25s");
  16272. /* harmony import */ var _directives_editorial_convention_layout_directive__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../directives/editorial-convention-layout.directive */ "FJNG");
  16273. /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/common */ "ofXK");
  16274. /* harmony import */ var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../content-viewer/content-viewer.component */ "t6RO");
  16275. function DamageComponent_evt_content_viewer_1_Template(rf, ctx) { if (rf & 1) {
  16276. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 2);
  16277. } if (rf & 2) {
  16278. const element_r1 = ctx.$implicit;
  16279. const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  16280. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", element_r1)("editionLevel", ctx_r0.editionLevel)("itemsToHighlight", ctx_r0.itemsToHighlight);
  16281. } }
  16282. let DamageComponent = class DamageComponent {
  16283. get editorialConventionData() {
  16284. var _a;
  16285. return {
  16286. name: 'damage',
  16287. attributes: ((_a = this.data) === null || _a === void 0 ? void 0 : _a.attributes) || {},
  16288. editionLevel: this.editionLevel,
  16289. defaultsKey: 'damage',
  16290. };
  16291. }
  16292. };
  16293. DamageComponent.ɵfac = function DamageComponent_Factory(t) { return new (t || DamageComponent)(); };
  16294. DamageComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({ type: DamageComponent, selectors: [["evt-damage"]], inputs: { data: "data" }, decls: 2, vars: 5, consts: [[3, "evtEditorialConventionLayout"], [3, "content", "editionLevel", "itemsToHighlight", 4, "ngFor", "ngForOf"], [3, "content", "editionLevel", "itemsToHighlight"]], template: function DamageComponent_Template(rf, ctx) { if (rf & 1) {
  16295. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 0);
  16296. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, DamageComponent_evt_content_viewer_1_Template, 1, 3, "evt-content-viewer", 1);
  16297. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  16298. } if (rf & 2) {
  16299. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵclassMap"](ctx.data.class);
  16300. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("evtEditorialConventionLayout", ctx.editorialConventionData);
  16301. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  16302. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx.data.content);
  16303. } }, directives: [_directives_editorial_convention_layout_directive__WEBPACK_IMPORTED_MODULE_4__["EditorialConventionLayoutDirective"], _angular_common__WEBPACK_IMPORTED_MODULE_5__["NgForOf"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_6__["ContentViewerComponent"]], styles: ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJkYW1hZ2UuY29tcG9uZW50LnNjc3MifQ== */"] });
  16304. DamageComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  16305. Object(_services_component_register_service__WEBPACK_IMPORTED_MODULE_3__["register"])(_models_evt_models__WEBPACK_IMPORTED_MODULE_2__["Damage"])
  16306. ], DamageComponent);
  16307. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](DamageComponent, [{
  16308. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
  16309. args: [{
  16310. selector: 'evt-damage',
  16311. templateUrl: './damage.component.html',
  16312. styleUrls: ['./damage.component.scss'],
  16313. }]
  16314. }], null, { data: [{
  16315. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
  16316. }] }); })();
  16317. /***/ }),
  16318. /***/ "n4Hk":
  16319. /*!*****************************************************************************!*\
  16320. !*** ./src/app/components/lemmatized-entity/lemmatized-entity.component.ts ***!
  16321. \*****************************************************************************/
  16322. /*! exports provided: LemmatizedEntityComponent */
  16323. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  16324. "use strict";
  16325. __webpack_require__.r(__webpack_exports__);
  16326. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "LemmatizedEntityComponent", function() { return LemmatizedEntityComponent; });
  16327. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "mrSG");
  16328. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "fXoL");
  16329. /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs/operators */ "kU1M");
  16330. /* harmony import */ var _models_evt_models__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../models/evt-models */ "5c0l");
  16331. /* harmony import */ var _services_component_register_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../services/component-register.service */ "d25s");
  16332. /* harmony import */ var _utils_js_utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../utils/js-utils */ "zSMA");
  16333. /* harmony import */ var _services_evt_model_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../services/evt-model.service */ "hI0h");
  16334. /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @angular/common */ "ofXK");
  16335. /* harmony import */ var _directives_html_attributes_directive__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../directives/html-attributes.directive */ "0Bbq");
  16336. /* harmony import */ var _pinboard_pinner_pinner_component__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../pinboard/pinner/pinner.component */ "j7gH");
  16337. /* harmony import */ var _ui_components_icon_icon_component__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../ui-components/icon/icon.component */ "Mijh");
  16338. /* harmony import */ var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @ng-bootstrap/ng-bootstrap */ "1kSV");
  16339. /* harmony import */ var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../content-viewer/content-viewer.component */ "t6RO");
  16340. /* harmony import */ var _lemmatized_entity_occurrence_lemmatized_entity_occurrence_component__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./lemmatized-entity-occurrence/lemmatized-entity-occurrence.component */ "/gd2");
  16341. /* harmony import */ var _original_encoding_viewer_original_encoding_viewer_component__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../original-encoding-viewer/original-encoding-viewer.component */ "7Sdm");
  16342. /* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @ngx-translate/core */ "sYmb");
  16343. // import { Attribute } from '@angular/core';
  16344. // import { LemmatizedEntityLabel } from './../../models/evt-models';
  16345. const _c0 = ["lemDetails"];
  16346. const _c1 = function () { return { icon: "caret-down", additionalClasses: "icon toggler mr-2" }; };
  16347. function LemmatizedEntityComponent_div_0_evt_icon_2_Template(rf, ctx) { if (rf & 1) {
  16348. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-icon", 6);
  16349. } if (rf & 2) {
  16350. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("iconInfo", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction0"](1, _c1));
  16351. } }
  16352. const _c2 = function () { return { icon: "caret-right", additionalClasses: "icon toggler mr-2" }; };
  16353. function LemmatizedEntityComponent_div_0_evt_icon_3_Template(rf, ctx) { if (rf & 1) {
  16354. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-icon", 6);
  16355. } if (rf & 2) {
  16356. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("iconInfo", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction0"](1, _c2));
  16357. } }
  16358. const _c3 = function () { return { icon: "map-marker", additionalClasses: "icon mr-1" }; };
  16359. function LemmatizedEntityComponent_div_0_evt_icon_4_Template(rf, ctx) { if (rf & 1) {
  16360. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-icon", 6);
  16361. } if (rf & 2) {
  16362. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("iconInfo", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction0"](1, _c3));
  16363. } }
  16364. function LemmatizedEntityComponent_div_0_evt_icon_5_Template(rf, ctx) { if (rf & 1) {
  16365. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-icon", 6);
  16366. } if (rf & 2) {
  16367. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("iconInfo", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction0"](1, _c3));
  16368. } }
  16369. function LemmatizedEntityComponent_div_0_div_8_ng_template_7_evt_content_viewer_1_Template(rf, ctx) { if (rf & 1) {
  16370. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 17);
  16371. } if (rf & 2) {
  16372. const detail_r11 = ctx.$implicit;
  16373. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", detail_r11);
  16374. } }
  16375. function LemmatizedEntityComponent_div_0_div_8_ng_template_7_Template(rf, ctx) { if (rf & 1) {
  16376. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 15);
  16377. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, LemmatizedEntityComponent_div_0_div_8_ng_template_7_evt_content_viewer_1_Template, 1, 1, "evt-content-viewer", 16);
  16378. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  16379. } if (rf & 2) {
  16380. const ctx_r7 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](3);
  16381. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  16382. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r7.data.content);
  16383. } }
  16384. function LemmatizedEntityComponent_div_0_div_8_ng_template_12_div_0_span_1_Template(rf, ctx) { if (rf & 1) {
  16385. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span");
  16386. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1);
  16387. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](2, "translate");
  16388. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  16389. } if (rf & 2) {
  16390. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  16391. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](2, 1, "noLemOccurrences"));
  16392. } }
  16393. function LemmatizedEntityComponent_div_0_div_8_ng_template_12_div_0_evt_lemmatized_entity_occurrence_2_Template(rf, ctx) { if (rf & 1) {
  16394. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-lemmatized-entity-occurrence", 22);
  16395. } if (rf & 2) {
  16396. const occurrence_r16 = ctx.$implicit;
  16397. const ctx_r15 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](5);
  16398. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("occurrence", occurrence_r16)("entityLemId", ctx_r15.data.id);
  16399. } }
  16400. function LemmatizedEntityComponent_div_0_div_8_ng_template_12_div_0_Template(rf, ctx) { if (rf & 1) {
  16401. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 19);
  16402. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, LemmatizedEntityComponent_div_0_div_8_ng_template_12_div_0_span_1_Template, 3, 3, "span", 20);
  16403. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, LemmatizedEntityComponent_div_0_div_8_ng_template_12_div_0_evt_lemmatized_entity_occurrence_2_Template, 1, 2, "evt-lemmatized-entity-occurrence", 21);
  16404. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  16405. } if (rf & 2) {
  16406. const occurrences_r13 = ctx.ngIf;
  16407. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  16408. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", occurrences_r13.length === 0);
  16409. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  16410. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", occurrences_r13);
  16411. } }
  16412. function LemmatizedEntityComponent_div_0_div_8_ng_template_12_Template(rf, ctx) { if (rf & 1) {
  16413. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](0, LemmatizedEntityComponent_div_0_div_8_ng_template_12_div_0_Template, 3, 2, "div", 18);
  16414. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](1, "async");
  16415. } if (rf & 2) {
  16416. const ctx_r8 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](3);
  16417. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](1, 1, ctx_r8.occurrences$));
  16418. } }
  16419. function LemmatizedEntityComponent_div_0_div_8_ng_template_17_Template(rf, ctx) { if (rf & 1) {
  16420. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 23);
  16421. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](1, "evt-original-encoding-viewer", 24);
  16422. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  16423. } if (rf & 2) {
  16424. const ctx_r9 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](3);
  16425. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  16426. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("originalEncoding", ctx_r9.data.originalEncoding);
  16427. } }
  16428. function LemmatizedEntityComponent_div_0_div_8_Template(rf, ctx) { if (rf & 1) {
  16429. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 7);
  16430. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "ul", 8, 9);
  16431. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](3, "li", 10);
  16432. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](4, "a", 11);
  16433. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](5);
  16434. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](6, "translate");
  16435. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  16436. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](7, LemmatizedEntityComponent_div_0_div_8_ng_template_7_Template, 2, 1, "ng-template", 12);
  16437. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  16438. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](8, "li", 13);
  16439. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](9, "a", 11);
  16440. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](10);
  16441. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](11, "translate");
  16442. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  16443. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](12, LemmatizedEntityComponent_div_0_div_8_ng_template_12_Template, 2, 3, "ng-template", 12);
  16444. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  16445. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](13, "li", 13);
  16446. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](14, "a", 11);
  16447. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](15);
  16448. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](16, "translate");
  16449. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  16450. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](17, LemmatizedEntityComponent_div_0_div_8_ng_template_17_Template, 2, 1, "ng-template", 12);
  16451. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  16452. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  16453. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](18, "div", 14);
  16454. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  16455. } if (rf & 2) {
  16456. const _r6 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵreference"](2);
  16457. const ctx_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
  16458. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  16459. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("activeId", ctx_r5.selectedSection);
  16460. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  16461. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngbNavItem", "info_" + ctx_r5.data.id)("disabled", ctx_r5.data.content.length === 0);
  16462. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  16463. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](6, 9, "Info"));
  16464. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](3);
  16465. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngbNavItem", "occurrences_" + ctx_r5.data.id);
  16466. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  16467. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](11, 11, "Occorrenze"));
  16468. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](3);
  16469. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngbNavItem", "xml_" + ctx_r5.data.id);
  16470. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  16471. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](16, 13, "XMLSource"));
  16472. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](3);
  16473. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngbNavOutlet", _r6);
  16474. } }
  16475. const _c4 = function (a0, a1) { return { inList: a0, contentOpened: a1 }; };
  16476. function LemmatizedEntityComponent_div_0_Template(rf, ctx) { if (rf & 1) {
  16477. const _r18 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵgetCurrentView"]();
  16478. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 1);
  16479. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("click", function LemmatizedEntityComponent_div_0_Template_div_click_0_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵrestoreView"](_r18); const ctx_r17 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](); return ctx_r17.tabSelected($event); });
  16480. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "div", 2);
  16481. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("click", function LemmatizedEntityComponent_div_0_Template_div_click_1_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵrestoreView"](_r18); const ctx_r19 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](); return ctx_r19.toggleContent(); });
  16482. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, LemmatizedEntityComponent_div_0_evt_icon_2_Template, 1, 2, "evt-icon", 3);
  16483. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, LemmatizedEntityComponent_div_0_evt_icon_3_Template, 1, 2, "evt-icon", 3);
  16484. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, LemmatizedEntityComponent_div_0_evt_icon_4_Template, 1, 2, "evt-icon", 3);
  16485. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](5, LemmatizedEntityComponent_div_0_evt_icon_5_Template, 1, 2, "evt-icon", 3);
  16486. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](6);
  16487. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](7, "evt-pinner", 4);
  16488. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  16489. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](8, LemmatizedEntityComponent_div_0_div_8_Template, 19, 15, "div", 5);
  16490. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  16491. } if (rf & 2) {
  16492. const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  16493. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵclassMapInterpolate1"]("card ne-container ", ctx_r0.data.lemmatizedEntityType, "");
  16494. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction2"](12, _c4, ctx_r0.inList, ctx_r0.contentOpened))("evtHtmlAttributes", ctx_r0.data == null ? null : ctx_r0.data.attributes);
  16495. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  16496. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx_r0.inList && ctx_r0.contentOpened);
  16497. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  16498. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx_r0.inList && !ctx_r0.contentOpened);
  16499. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  16500. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx_r0.data.lemmatizedEntityType === "lem");
  16501. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  16502. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx_r0.data.lemmatizedEntityType === "w");
  16503. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  16504. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"](" ", ctx_r0.data.label, " ");
  16505. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  16506. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("item", ctx_r0.data);
  16507. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  16508. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx_r0.contentOpened);
  16509. } }
  16510. let LemmatizedEntityComponent = class LemmatizedEntityComponent {
  16511. constructor(evtModelService) {
  16512. this.evtModelService = evtModelService;
  16513. this.occurrences$ = this.evtModelService.lemsOccurrences$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(occ => occ[this.data.id] || []), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["shareReplay"])(1));
  16514. this.relations$ = this.evtModelService.relations$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(el => el.filter(rel => rel.activeParts.indexOf(this.data.id) >= 0 ||
  16515. rel.passiveParts.indexOf(this.data.id) >= 0 || rel.mutualParts.indexOf(this.data.id) >= 0)));
  16516. this.contentOpened = true;
  16517. }
  16518. get selectedSection() {
  16519. if (this.contentOpened) {
  16520. return `${this.data && this.data.content.length === 0 ? 'occurrences' : 'info'}_${this.data.id}`;
  16521. }
  16522. return '';
  16523. }
  16524. get linkLem() {
  16525. return Object(_utils_js_utils__WEBPACK_IMPORTED_MODULE_5__["normalizeUrl"])('http://tlio.ovi.cnr.it/TLIO/');
  16526. }
  16527. ngOnInit() {
  16528. if (this.inList) {
  16529. this.contentOpened = false;
  16530. }
  16531. }
  16532. toggleContent() {
  16533. if (this.inList) {
  16534. this.contentOpened = !this.contentOpened;
  16535. }
  16536. }
  16537. tabSelected(event) {
  16538. event.stopPropagation();
  16539. }
  16540. openlinkLem() {
  16541. if (this.linkLem) {
  16542. window.open(this.linkLem, '_blank');
  16543. }
  16544. }
  16545. };
  16546. LemmatizedEntityComponent.ɵfac = function LemmatizedEntityComponent_Factory(t) { return new (t || LemmatizedEntityComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_services_evt_model_service__WEBPACK_IMPORTED_MODULE_6__["EVTModelService"])); };
  16547. LemmatizedEntityComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({ type: LemmatizedEntityComponent, selectors: [["evt-lemmatized-entity"]], viewQuery: function LemmatizedEntityComponent_Query(rf, ctx) { if (rf & 1) {
  16548. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵviewQuery"](_c0, true);
  16549. } if (rf & 2) {
  16550. let _t;
  16551. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵloadQuery"]()) && (ctx.lemDetails = _t.first);
  16552. } }, inputs: { data: "data", inList: "inList" }, decls: 1, vars: 1, consts: [[3, "class", "ngClass", "evtHtmlAttributes", "click", 4, "ngIf"], [3, "ngClass", "evtHtmlAttributes", "click"], [1, "card-header", "ne-header", 3, "click"], [3, "iconInfo", 4, "ngIf"], ["renderer", "LemmatizedEntity", "pinType", "LemmatizedEntities", 3, "item"], ["class", "card-body ne-content", 4, "ngIf"], [3, "iconInfo"], [1, "card-body", "ne-content"], ["ngbNav", "", 1, "lem-details", 3, "activeId"], ["lemDetails", "ngbNav"], [3, "ngbNavItem", "disabled"], ["ngbNavLink", "", 1, "ui-font"], ["ngbNavContent", ""], [3, "ngbNavItem"], [3, "ngbNavOutlet"], [1, "ne-detail-content"], [3, "content", 4, "ngFor", "ngForOf"], [3, "content"], ["class", "ne-detail-content ui-font", 4, "ngIf"], [1, "ne-detail-content", "ui-font"], [4, "ngIf"], [3, "occurrence", "entityLemId", 4, "ngFor", "ngForOf"], [3, "occurrence", "entityLemId"], [1, "ne-detail-content", "no-padding"], [3, "originalEncoding"]], template: function LemmatizedEntityComponent_Template(rf, ctx) { if (rf & 1) {
  16553. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](0, LemmatizedEntityComponent_div_0_Template, 9, 15, "div", 0);
  16554. } if (rf & 2) {
  16555. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data);
  16556. } }, directives: [_angular_common__WEBPACK_IMPORTED_MODULE_7__["NgIf"], _angular_common__WEBPACK_IMPORTED_MODULE_7__["NgClass"], _directives_html_attributes_directive__WEBPACK_IMPORTED_MODULE_8__["HtmlAttributesDirective"], _pinboard_pinner_pinner_component__WEBPACK_IMPORTED_MODULE_9__["PinnerComponent"], _ui_components_icon_icon_component__WEBPACK_IMPORTED_MODULE_10__["IconComponent"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_11__["NgbNav"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_11__["NgbNavItem"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_11__["NgbNavLink"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_11__["NgbNavContent"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_11__["NgbNavOutlet"], _angular_common__WEBPACK_IMPORTED_MODULE_7__["NgForOf"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_12__["ContentViewerComponent"], _lemmatized_entity_occurrence_lemmatized_entity_occurrence_component__WEBPACK_IMPORTED_MODULE_13__["LemmatizedEntityOccurrenceComponent"], _original_encoding_viewer_original_encoding_viewer_component__WEBPACK_IMPORTED_MODULE_14__["OriginalEncodingViewerComponent"]], pipes: [_ngx_translate_core__WEBPACK_IMPORTED_MODULE_15__["TranslatePipe"], _angular_common__WEBPACK_IMPORTED_MODULE_7__["AsyncPipe"]], styles: ["[_nghost-%COMP%] .ne-container {\n font-size: 90%;\n border-top-left-radius: 0;\n}\n[_nghost-%COMP%] .ne-container.inList {\n border-radius: 0;\n margin-bottom: 1px;\n}\n[_nghost-%COMP%] .ne-container.inList .ne-header {\n padding: 5px 7px;\n border-top-right-radius: 0;\n cursor: pointer;\n}\n[_nghost-%COMP%] .ne-container.contentOpened .ne-header {\n border-bottom: 3px double #000 !important;\n}\n[_nghost-%COMP%] .ne-container.lem .ne-header {\n position: relative;\n}\n[_nghost-%COMP%] .ne-container.lem .ne-header evt-pinner {\n position: absolute;\n top: 0;\n right: 0;\n}\n[_nghost-%COMP%] .ne-container.lem .nav-item:focus, [_nghost-%COMP%] .ne-container.lem .nav-item a:focus {\n outline: none !important;\n}\n[_nghost-%COMP%] .ne-container.lem ul.lem-details.nav li.nav-item a.ui-font.nav-link.active {\n color: #000 !important;\n}\n[_nghost-%COMP%] .ne-container.lem .lem-details .nav-link {\n color: #000 !important;\n}\n[_nghost-%COMP%] .ne-container.lem .lem-details .nav-link.disabled {\n pointer-events: auto;\n cursor: not-allowed;\n}\n[_nghost-%COMP%] .ne-container.lem .ne-occurrence {\n border-radius: 4px;\n padding: 4px 6px;\n background: rgba(255, 255, 255, 0.5);\n margin-right: 3px;\n font-size: 0.7rem;\n margin-bottom: 3px;\n display: inline-block !important;\n cursor: pointer;\n line-height: 0.9rem;\n}\n[_nghost-%COMP%] .ne-container.lem .ne-occurrence .ne-occurrence-count {\n top: -1px;\n position: relative;\n margin-left: 5px;\n border: 1px solid transparent;\n}\n[_nghost-%COMP%] .ne-container.lem .ne-occurrence:hover {\n background: rgba(167, 108, 108, 0.8) !important;\n}\n[_nghost-%COMP%] .ne-container.lem .ne-occurrence:hover .ne-occurrence-count {\n border: 1px solid #ccc;\n}\n[_nghost-%COMP%] .ne-container.w .ne-header {\n position: relative;\n}\n[_nghost-%COMP%] .ne-container.w .ne-header evt-pinner {\n position: absolute;\n top: 0;\n right: 0;\n}\n[_nghost-%COMP%] .ne-container.w .nav-item:focus, [_nghost-%COMP%] .ne-container.w .nav-item a:focus {\n outline: none !important;\n}\n[_nghost-%COMP%] .ne-container.w ul.lem-details.nav li.nav-item a.ui-font.nav-link.active {\n color: #000 !important;\n}\n[_nghost-%COMP%] .ne-container.w .lem-details .nav-link {\n color: #000 !important;\n}\n[_nghost-%COMP%] .ne-container.w .lem-details .nav-link.disabled {\n pointer-events: auto;\n cursor: not-allowed;\n}\n[_nghost-%COMP%] .ne-container.w .ne-occurrence {\n border-radius: 4px;\n padding: 4px 6px;\n background: rgba(255, 255, 255, 0.5);\n margin-right: 3px;\n font-size: 0.7rem;\n margin-bottom: 3px;\n display: inline-block !important;\n cursor: pointer;\n line-height: 0.9rem;\n}\n[_nghost-%COMP%] .ne-container.w .ne-occurrence .ne-occurrence-count {\n top: -1px;\n position: relative;\n margin-left: 5px;\n border: 1px solid transparent;\n}\n[_nghost-%COMP%] .ne-container.w .ne-occurrence:hover {\n background: rgba(167, 108, 108, 0.8) !important;\n}\n[_nghost-%COMP%] .ne-container.w .ne-occurrence:hover .ne-occurrence-count {\n border: 1px solid #ccc;\n}\n[_nghost-%COMP%] .ne-header {\n padding: 3.5px 7px;\n border-top-left-radius: 0;\n}\n[_nghost-%COMP%] .ne-content {\n padding: 0;\n font-size: 80%;\n}\n[_nghost-%COMP%] .ne-detail-content {\n padding: 1rem;\n}\n[_nghost-%COMP%] .ne-detail-content.no-padding {\n padding: 0;\n}\n[_nghost-%COMP%] .ne-content .lem-details .nav-link {\n padding: 5px;\n border: none;\n}\n[_nghost-%COMP%] pre {\n padding-top: 0;\n margin: 0;\n background: #fff;\n}\n[_nghost-%COMP%] pre code {\n font-size: 85% !important;\n}\npre[_ngcontent-%COMP%] {\n white-space: pre-wrap;\n white-space: -moz-pre-wrap;\n white-space: -pre-wrap;\n white-space: -o-pre-wrap;\n word-wrap: break-word;\n width: 100%;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2xlbW1hdGl6ZWQtZW50aXR5LmNvbXBvbmVudC5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWtGRTtFQUNFLGNBQUE7RUFDQSx5QkFBQTtBQWpGSjtBQW1GSTtFQUNFLGdCQUFBO0VBQ0Esa0JBQUE7QUFqRk47QUFtRk07RUFDRSxnQkFBQTtFQUNBLDBCQUFBO0VBQ0EsZUFBQTtBQWpGUjtBQXNGTTtFQUNFLHlDQUFBO0FBcEZSO0FBQ0U7RUFDRSxrQkFBQTtBQUNKO0FBQ0k7RUFDRSxrQkFBQTtFQUNBLE1BQUE7RUFDQSxRQUFBO0FBQ047QUFLSTs7RUFDRSx3QkFBQTtBQUZOO0FBTUU7RUFDRSxzQkFBQTtBQUpKO0FBT0U7RUFDRSxzQkFBQTtBQUxKO0FBU0k7RUFDRSxvQkFBQTtFQUNBLG1CQUFBO0FBUE47QUFlRTtFQUNFLGtCQUFBO0VBQ0EsZ0JBQUE7RUFDQSxvQ0FBQTtFQUNBLGlCQUFBO0VBQ0EsaUJBQUE7RUFDQSxrQkFBQTtFQUNBLGdDQUFBO0VBQ0EsZUFBQTtFQUNBLG1CQUFBO0FBYko7QUFlSTtFQUNFLFNBQUE7RUFDQSxrQkFBQTtFQUNBLGdCQUFBO0VBQ0EsNkJBQUE7QUFi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RlbnQge1xuXG4gIC8vIE92ZXJyaWRlIGRlZmF1bHQgc3R5bGVzXG4gIC5sZW0tZGV0YWlscyAubmF2LWxpbmsge1xuICAgIHBhZGRpbmc6IDVweDtcbiAgICBib3JkZXI6IG5vbmU7XG4gIH1cbn1cblxuOmhvc3QgOjpuZy1kZWVwIHByZSB7XG4gIHBhZGRpbmctdG9wOiAwO1xuICBtYXJnaW46IDA7XG5cbiAgYmFja2dyb3VuZDogI2ZmZjtcbiAgY29kZSB7XG4gICAgZm9udC1zaXplOiA4NSUgIWltcG9ydGFudDtcbiAgfVxufVxuXG5wcmUge1xuICB3aGl0ZS1zcGFjZTogcHJlLXdyYXA7XG4gIHdoaXRlLXNwYWNlOiAtbW96LXByZS13cmFwO1xuICB3aGl0ZS1zcGFjZTogLXByZS13cmFwO1xuICB3aGl0ZS1zcGFjZTogLW8tcHJlLXdyYXA7XG4gIHdvcmQtd3JhcDogYnJlYWstd29yZDtcbiAgd2lkdGg6IDEwMCU7XG59Il19 */"] });
  16557. LemmatizedEntityComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  16558. Object(_services_component_register_service__WEBPACK_IMPORTED_MODULE_4__["register"])(_models_evt_models__WEBPACK_IMPORTED_MODULE_3__["LemmatizedEntity"])
  16559. ], LemmatizedEntityComponent);
  16560. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](LemmatizedEntityComponent, [{
  16561. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
  16562. args: [{
  16563. selector: 'evt-lemmatized-entity',
  16564. templateUrl: './lemmatized-entity.component.html',
  16565. styleUrls: ['./lemmatized-entity.component.scss'],
  16566. }]
  16567. }], function () { return [{ type: _services_evt_model_service__WEBPACK_IMPORTED_MODULE_6__["EVTModelService"] }]; }, { data: [{
  16568. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
  16569. }], inList: [{
  16570. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
  16571. }], lemDetails: [{
  16572. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewChild"],
  16573. args: ['lemDetails']
  16574. }] }); })();
  16575. /***/ }),
  16576. /***/ "nUY+":
  16577. /*!***********************************************************!*\
  16578. !*** ./src/app/services/xml-parsers/editorial-parsers.ts ***!
  16579. \***********************************************************/
  16580. /*! exports provided: SurplusParser, SicParser */
  16581. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  16582. "use strict";
  16583. __webpack_require__.r(__webpack_exports__);
  16584. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SurplusParser", function() { return SurplusParser; });
  16585. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SicParser", function() { return SicParser; });
  16586. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "mrSG");
  16587. /* harmony import */ var ___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! . */ "UAXx");
  16588. /* harmony import */ var _models_evt_models__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../models/evt-models */ "5c0l");
  16589. /* harmony import */ var _basic_parsers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./basic-parsers */ "bNiN");
  16590. /* harmony import */ var _parser_models__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./parser-models */ "YwZW");
  16591. var SurplusParser_1, SicParser_1;
  16592. let SurplusParser = SurplusParser_1 = class SurplusParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_3__["EmptyParser"] {
  16593. constructor() {
  16594. super(...arguments);
  16595. this.attributeParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_4__["createParser"])(_basic_parsers__WEBPACK_IMPORTED_MODULE_3__["AttributeParser"], this.genericParse);
  16596. }
  16597. parse(xml) {
  16598. const attributes = this.attributeParser.parse(xml);
  16599. const { reason } = attributes;
  16600. return {
  16601. type: _models_evt_models__WEBPACK_IMPORTED_MODULE_2__["Surplus"],
  16602. reason,
  16603. class: Object(_parser_models__WEBPACK_IMPORTED_MODULE_4__["getClass"])(xml),
  16604. content: Object(_parser_models__WEBPACK_IMPORTED_MODULE_4__["parseChildren"])(xml, this.genericParse),
  16605. attributes,
  16606. };
  16607. }
  16608. };
  16609. SurplusParser = SurplusParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  16610. Object(___WEBPACK_IMPORTED_MODULE_1__["xmlParser"])('surplus', SurplusParser_1)
  16611. ], SurplusParser);
  16612. let SicParser = SicParser_1 = class SicParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_3__["EmptyParser"] {
  16613. constructor() {
  16614. super(...arguments);
  16615. this.attributeParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_4__["createParser"])(_basic_parsers__WEBPACK_IMPORTED_MODULE_3__["AttributeParser"], this.genericParse);
  16616. }
  16617. parse(xml) {
  16618. const attributes = this.attributeParser.parse(xml);
  16619. const { type } = attributes;
  16620. return {
  16621. type: _models_evt_models__WEBPACK_IMPORTED_MODULE_2__["Sic"],
  16622. sicType: type || '',
  16623. class: Object(_parser_models__WEBPACK_IMPORTED_MODULE_4__["getClass"])(xml),
  16624. content: Object(_parser_models__WEBPACK_IMPORTED_MODULE_4__["parseChildren"])(xml, this.genericParse),
  16625. attributes,
  16626. };
  16627. }
  16628. };
  16629. SicParser = SicParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  16630. Object(___WEBPACK_IMPORTED_MODULE_1__["xmlParser"])('sic', SicParser_1)
  16631. ], SicParser);
  16632. /***/ }),
  16633. /***/ "ndd2":
  16634. /*!*****************************************************!*\
  16635. !*** ./src/app/components/verse/verse.component.ts ***!
  16636. \*****************************************************/
  16637. /*! exports provided: VerseComponent */
  16638. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  16639. "use strict";
  16640. __webpack_require__.r(__webpack_exports__);
  16641. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "VerseComponent", function() { return VerseComponent; });
  16642. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "mrSG");
  16643. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "fXoL");
  16644. /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs/operators */ "kU1M");
  16645. /* harmony import */ var _app_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../app.config */ "aR35");
  16646. /* harmony import */ var _models_evt_models__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../models/evt-models */ "5c0l");
  16647. /* harmony import */ var _services_component_register_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../services/component-register.service */ "d25s");
  16648. /* harmony import */ var _services_evt_model_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../services/evt-model.service */ "hI0h");
  16649. /* harmony import */ var _directives_html_attributes_directive__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../directives/html-attributes.directive */ "0Bbq");
  16650. /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @angular/common */ "ofXK");
  16651. /* harmony import */ var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../content-viewer/content-viewer.component */ "t6RO");
  16652. /* harmony import */ var _directives_highlight_directive__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../directives/highlight.directive */ "CmGG");
  16653. function VerseComponent_evt_content_viewer_5_Template(rf, ctx) { if (rf & 1) {
  16654. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 3);
  16655. } if (rf & 2) {
  16656. const el_r1 = ctx.$implicit;
  16657. const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  16658. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", el_r1)("editionLevel", ctx_r0.editionLevel)("itemsToHighlight", ctx_r0.itemsToHighlight)("evtHighlight", ctx_r0.highlightData)("textFlow", ctx_r0.textFlow);
  16659. } }
  16660. let VerseComponent = class VerseComponent {
  16661. constructor(evtModelService) {
  16662. this.evtModelService = evtModelService;
  16663. this.verseNumberPrinter = _app_config__WEBPACK_IMPORTED_MODULE_3__["AppConfig"].evtSettings.edition.verseNumberPrinter || 5;
  16664. }
  16665. get displayBlock$() {
  16666. return this.evtModelService.lines$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(lines => lines.length > 0), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(hasLines => {
  16667. // In diplomatic and interpretative edition, if the text doesn't have any line, verses are shown as block items,
  16668. // unless current text flow is prose
  16669. // In critical edition verses are always shown as block items, unless current text flow is prose
  16670. switch (this.editionLevel) {
  16671. case 'diplomatic':
  16672. case 'interpretative':
  16673. return this.textFlow === 'verses' || !hasLines;
  16674. case 'critical':
  16675. return this.textFlow !== 'prose';
  16676. }
  16677. }));
  16678. }
  16679. get showNumber() {
  16680. const num = parseInt(this.data.n, 10);
  16681. return !isNaN(num) && num % this.verseNumberPrinter !== 0;
  16682. }
  16683. };
  16684. VerseComponent.ɵfac = function VerseComponent_Factory(t) { return new (t || VerseComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_services_evt_model_service__WEBPACK_IMPORTED_MODULE_6__["EVTModelService"])); };
  16685. VerseComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({ type: VerseComponent, selectors: [["evt-verse"]], inputs: { data: "data" }, decls: 6, vars: 11, consts: [[1, "verse", "l", 3, "evtHtmlAttributes"], [1, "verse-num"], [3, "content", "editionLevel", "itemsToHighlight", "evtHighlight", "textFlow", 4, "ngFor", "ngForOf"], [3, "content", "editionLevel", "itemsToHighlight", "evtHighlight", "textFlow"]], template: function VerseComponent_Template(rf, ctx) { if (rf & 1) {
  16686. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 0);
  16687. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](1, "async");
  16688. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](2, "span", 1);
  16689. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](3, "async");
  16690. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](4);
  16691. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  16692. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](5, VerseComponent_evt_content_viewer_5_Template, 1, 5, "evt-content-viewer", 2);
  16693. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  16694. } if (rf & 2) {
  16695. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵclassProp"]("display-block", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](1, 7, ctx.displayBlock$));
  16696. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("evtHtmlAttributes", ctx.data.attributes);
  16697. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  16698. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵclassProp"]("hidden", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](3, 9, ctx.displayBlock$) && ctx.showNumber);
  16699. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  16700. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](ctx.data.n);
  16701. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  16702. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx.data.content);
  16703. } }, directives: [_directives_html_attributes_directive__WEBPACK_IMPORTED_MODULE_7__["HtmlAttributesDirective"], _angular_common__WEBPACK_IMPORTED_MODULE_8__["NgForOf"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_9__["ContentViewerComponent"], _directives_highlight_directive__WEBPACK_IMPORTED_MODULE_10__["HighlightDirective"]], pipes: [_angular_common__WEBPACK_IMPORTED_MODULE_8__["AsyncPipe"]], styles: [".verse[_ngcontent-%COMP%] .verse-num[_ngcontent-%COMP%] {\n position: relative;\n z-index: 1;\n margin-right: 5px;\n display: inline-flex;\n justify-content: center;\n min-width: 16px;\n height: 16px;\n color: #ffffff;\n font-size: 0.7em;\n}\n.verse[_ngcontent-%COMP%] .verse-num[_ngcontent-%COMP%]:before {\n content: \"\";\n width: 100%;\n height: 100%;\n background: #800000;\n border-radius: 100%;\n border: 1px solid #000000;\n position: absolute;\n z-index: -1;\n}\n.verse.display-block[_ngcontent-%COMP%] {\n display: block;\n}\n[data-theme=restore][_nghost-%COMP%] .verse.display-block[_ngcontent-%COMP%] .verse-num[_ngcontent-%COMP%], [data-theme=restore] [_nghost-%COMP%] .verse.display-block[_ngcontent-%COMP%] .verse-num[_ngcontent-%COMP%], [data-theme=restore][_ngcontent-%COMP%] .verse.display-block[_ngcontent-%COMP%] .verse-num[_ngcontent-%COMP%] {\n color: #783a3a;\n}\n[data-theme=neutral][_nghost-%COMP%] .verse.display-block[_ngcontent-%COMP%] .verse-num[_ngcontent-%COMP%], [data-theme=neutral] [_nghost-%COMP%] .verse.display-block[_ngcontent-%COMP%] .verse-num[_ngcontent-%COMP%], [data-theme=neutral][_ngcontent-%COMP%] .verse.display-block[_ngcontent-%COMP%] .verse-num[_ngcontent-%COMP%] {\n color: #555;\n}\n[data-theme=modern][_nghost-%COMP%] .verse.display-block[_ngcontent-%COMP%] .verse-num[_ngcontent-%COMP%], [data-theme=modern] [_nghost-%COMP%] .verse.display-block[_ngcontent-%COMP%] .verse-num[_ngcontent-%COMP%], [data-theme=modern][_ngcontent-%COMP%] .verse.display-block[_ngcontent-%COMP%] .verse-num[_ngcontent-%COMP%] {\n color: #607d8b;\n}\n[data-theme=classic][_nghost-%COMP%] .verse.display-block[_ngcontent-%COMP%] .verse-num[_ngcontent-%COMP%], [data-theme=classic] [_nghost-%COMP%] .verse.display-block[_ngcontent-%COMP%] .verse-num[_ngcontent-%COMP%], [data-theme=classic][_ngcontent-%COMP%] .verse.display-block[_ngcontent-%COMP%] .verse-num[_ngcontent-%COMP%] {\n color: #8f776a;\n}\n.verse.display-block[_ngcontent-%COMP%] .verse-num[_ngcontent-%COMP%]:before {\n background: none;\n border: none;\n}\n.verse.display-block[_ngcontent-%COMP%] .verse-num.hidden[_ngcontent-%COMP%] {\n visibility: hidden;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3ZlcnNlLmNvbXBvbmVudC5zY3NzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vYXNzZXRzL3Njc3MvX3RoZW1lcy5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUlJO0VBQ0ksa0JBQUE7RUFDQSxVQUFBO0VBQ0EsaUJBQUE7RUFDQSxvQkFBQTtFQUNBLHVCQUFBO0VBQ0EsZUFBQTtFQUNBLFlBQUE7RUFDQSxjQUFBO0VBQ0EsZ0JBQUE7QUFIUjtBQUlRO0VBQ0ksV0FBQTtFQUNBLFdBQUE7RUFDQSxZQUFBO0VBQ0EsbUJBQUE7RUFDQSxtQkFBQTtFQUNBLHlCQUFBO0VBQ0Esa0JBQUE7RUFDQSxXQUFBO0FBRlo7QUFLSTtFQUNJLGNBQUE7QUFIUjtBQ2tFUTtFRDVEUSxjQUFBO0FBSGhCO0FDK0RRO0VENURRLFdBQUE7QUFBaEI7QUM0RFE7RUQ1RFEsY0FBQTtBQUdoQjtBQ3lEUTtFRDVEUSxj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pc3BsYXk6IGJsb2NrO1xuICAgICAgICAudmVyc2UtbnVtIHtcbiAgICAgICAgICAgIEBpbmNsdWRlIHRoZW1pZnkoJHRoZW1lcykgeyAgICAgICAgICAgIFxuICAgICAgICAgICAgICAgIGNvbG9yOiB0aGVtZWQoJ3NlY29uZGFyeUNvbG9yRGFyaycpXG4gICAgICAgICAgICB9XG4gICAgICAgICAgICAmOmJlZm9yZSB7XG4gICAgICAgICAgICAgICAgYmFja2dyb3VuZDogbm9uZTtcbiAgICAgICAgICAgICAgICBib3JkZXI6IG5vbmU7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICAmLmhpZGRlbiB7XG4gICAgICAgICAgICAgICAgdmlzaWJpbGl0eTogaGlkZGVuO1xuICAgICAgICAgICAgfVxuICAgICAgICB9XG4gICAgfVxufVxuIiwiJHRoZW1lczogKFxuICAgIHJlc3RvcmU6IChcbiAgICAgICAgYmFzZUNvbG9yRGFyazogIzBhNDU1MyxcbiAgICAgICAgYmFzZUNvbG9yTGlnaHQ6ICNlOWU5ZTksXG4gICAgICAgIGJhc2VCb3JkZXI6IHJnYmEoMCwgMCwgMCwgMC4xMjUpLFxuICAgICAgICBzZWNvbmRhcnlDb2xvckRhcms6IHJnYigxMjAsIDU4LCA1OCksXG4gICAgICAgIHNlY29uZGFyeUNvbG9yTGlnaHQ6ICNlOWU5ZTksXG4gICAgICAgIHBhbmVsQmFja2dyb3VuZENvbG9yOiAjZmZmLFxuICAgICAgICBwYW5lbFRleHRDb2xvcjogcmdiKDcwLCA0NiwgNDYpLFxuICAgICAgICBwYW5lbFNlY29uZGFyeUJhY2tncm91bmRDb2xvcjogcmdiYSgyMzYsIDIzOSwgMjQxLCAwLjk1KSxcbiAgICAgICAgdG9vbHNCYWNrZ3JvdW5kOiAjZTllOWU5LFxuICAgICAgICB0b29sc0NvbG9yOiAjMGE0NTUzLFxuICAgICAgICB0b29sc0JhY2tncm91bmREYXJrZXI6ICNjY2M0YmEsXG4gICAgICAgIHRvb2x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lbWUtbmFtZVwiYCBhdHRyaWJ1dGVcbi8vIGFuZCBlbWJvZHkgZXZlcnkgQ1NTIHJ1bGUgdGhhdCBuZWVkcyB0byBiZSB0aGVtaWZpZWQgd2l0aGluIHRoZSBtaXhpbjpcbi8vIGBgYFxuLy8gIGJ0bi1wcmltYXJ5IHtcbiAgICAvLyAgQGluY2x1ZGUgdGhlbWlmeVNlbGYoJHRoZW1lcykge1xuICAgICAgICAvLyAgY29sb3I6IHRoZW1lZCgnYmFzZUNvbG9yRGFyaycpO1xuICAgIC8vICB9XG4vLyAgfVxuLy8gYGBgXG5AbWl4aW4gdGhlbWlmeVNlbGYoJHRoZW1lczogJHRoZW1lcykge1xuICAgIEBlYWNoICR0aGVtZSwgJG1hcCBpbiAkdGhlbWVzIHtcbiAgICAgICAgICZbZGF0YS10aGVtZT1cIiN7JHRoZW1lfVwiXSB7XG4gICAgICAgICAgICAkdGhlbWUtbWFwOiAoKSAhZ2xvYmFsO1xuICAgICAgICAgICAgQGVhY2ggJGtleSwgJHN1Ym1hcCBpbiAkbWFwIHtcbiAgICAgICAgICAgICAgICAkdmFsdWU6IG1hcC1nZXQobWFwLWdldCgkdGhlbWVzLCAkdGhlbWUpLCAnI3ska2V5fScpO1xuICAgICAgICAgICAgICAgICR0aGVtZS1tYXA6IG1hcC1tZXJnZSgkdGhlbWUtbWFwLCAoJGtleTogJHZhbHVlKSkgIWdsb2JhbDtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIEBjb250ZW50O1xuICAgICAgICAgICAgJHRoZW1lLW1hcDogbnVsbCAhZ2xvYmFsO1xuICAgICAgICB9XG4gICAgfVxufVxuXG5AZnVuY3Rpb24gdGhlbWVkKCRrZXkpIHtcbiAgICBAcmV0dXJuIG1hcC1nZXQoJHRoZW1lLW1hcCwgJGtleSk7XG59XG5cbiJdfQ== */"] });
  16704. VerseComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  16705. Object(_services_component_register_service__WEBPACK_IMPORTED_MODULE_5__["register"])(_models_evt_models__WEBPACK_IMPORTED_MODULE_4__["Verse"])
  16706. ], VerseComponent);
  16707. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](VerseComponent, [{
  16708. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
  16709. args: [{
  16710. selector: 'evt-verse',
  16711. templateUrl: './verse.component.html',
  16712. styleUrls: ['./verse.component.scss'],
  16713. }]
  16714. }], function () { return [{ type: _services_evt_model_service__WEBPACK_IMPORTED_MODULE_6__["EVTModelService"] }]; }, { data: [{
  16715. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
  16716. }] }); })();
  16717. /***/ }),
  16718. /***/ "onZX":
  16719. /*!********************************************!*\
  16720. !*** ./src/app/services/themes.service.ts ***!
  16721. \********************************************/
  16722. /*! exports provided: ThemesService */
  16723. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  16724. "use strict";
  16725. __webpack_require__.r(__webpack_exports__);
  16726. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ThemesService", function() { return ThemesService; });
  16727. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "fXoL");
  16728. class ThemesService {
  16729. constructor() {
  16730. this.themes = [
  16731. {
  16732. value: 'restore',
  16733. label: 'themeRestore',
  16734. },
  16735. {
  16736. value: 'classic',
  16737. label: 'themeClassic',
  16738. },
  16739. {
  16740. value: 'neutral',
  16741. label: 'themeNeutral',
  16742. },
  16743. {
  16744. value: 'modern',
  16745. label: 'themeModern',
  16746. },
  16747. ];
  16748. this.selectTheme(this.themes[0]);
  16749. }
  16750. selectTheme(theme) {
  16751. this.currentTheme = theme;
  16752. document.body.setAttribute('data-theme', theme.value); // Needed to let ngb-popover and ngb-modals work properly with themes
  16753. }
  16754. getAvailableThemes() {
  16755. return this.themes;
  16756. }
  16757. getCurrentTheme() {
  16758. return this.currentTheme;
  16759. }
  16760. }
  16761. ThemesService.ɵfac = function ThemesService_Factory(t) { return new (t || ThemesService)(); };
  16762. ThemesService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ token: ThemesService, factory: ThemesService.ɵfac, providedIn: 'root' });
  16763. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](ThemesService, [{
  16764. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"],
  16765. args: [{
  16766. providedIn: 'root',
  16767. }]
  16768. }], function () { return []; }, null); })();
  16769. /***/ }),
  16770. /***/ "pZd9":
  16771. /*!*********************************************************!*\
  16772. !*** ./src/app/components/ms-item/ms-item.component.ts ***!
  16773. \*********************************************************/
  16774. /*! exports provided: MsItemComponent */
  16775. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  16776. "use strict";
  16777. __webpack_require__.r(__webpack_exports__);
  16778. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MsItemComponent", function() { return MsItemComponent; });
  16779. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "mrSG");
  16780. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "fXoL");
  16781. /* harmony import */ var _models_evt_models__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../models/evt-models */ "5c0l");
  16782. /* harmony import */ var _services_component_register_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../services/component-register.service */ "d25s");
  16783. /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/common */ "ofXK");
  16784. /* harmony import */ var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../content-viewer/content-viewer.component */ "t6RO");
  16785. /* harmony import */ var _ui_components_ms_desc_section_ms_desc_section_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../ui-components/ms-desc-section/ms-desc-section.component */ "WyXU");
  16786. function MsItemComponent_div_1_Template(rf, ctx) { if (rf & 1) {
  16787. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 6);
  16788. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "span", 7);
  16789. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](2, "evt-content-viewer", 8);
  16790. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](3, "span");
  16791. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](4, ":");
  16792. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  16793. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  16794. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  16795. } if (rf & 2) {
  16796. const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  16797. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  16798. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", ctx_r0.data.locus);
  16799. } }
  16800. function MsItemComponent_evt_ms_desc_section_3_ng_container_2_evt_content_viewer_1_Template(rf, ctx) { if (rf & 1) {
  16801. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 8);
  16802. } if (rf & 2) {
  16803. const title_r16 = ctx.$implicit;
  16804. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", title_r16);
  16805. } }
  16806. function MsItemComponent_evt_ms_desc_section_3_ng_container_2_span_2_Template(rf, ctx) { if (rf & 1) {
  16807. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span");
  16808. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1, ", ");
  16809. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  16810. } }
  16811. const _c0 = function (a0) { return [a0]; };
  16812. function MsItemComponent_evt_ms_desc_section_3_ng_container_2_Template(rf, ctx) { if (rf & 1) {
  16813. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
  16814. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, MsItemComponent_evt_ms_desc_section_3_ng_container_2_evt_content_viewer_1_Template, 1, 1, "evt-content-viewer", 12);
  16815. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, MsItemComponent_evt_ms_desc_section_3_ng_container_2_span_2_Template, 2, 0, "span", 13);
  16816. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
  16817. } if (rf & 2) {
  16818. const titles_r12 = ctx.$implicit;
  16819. const i_r13 = ctx.index;
  16820. const ctx_r10 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
  16821. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  16822. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", titles_r12);
  16823. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  16824. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", i_r13 < _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](2, _c0, ctx_r10.data.titles.length - 1));
  16825. } }
  16826. function MsItemComponent_evt_ms_desc_section_3_ng_container_3_evt_content_viewer_1_Template(rf, ctx) { if (rf & 1) {
  16827. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 8);
  16828. } if (rf & 2) {
  16829. const docTitle_r21 = ctx.$implicit;
  16830. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", docTitle_r21);
  16831. } }
  16832. function MsItemComponent_evt_ms_desc_section_3_ng_container_3_span_2_Template(rf, ctx) { if (rf & 1) {
  16833. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span");
  16834. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1, ", ");
  16835. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  16836. } }
  16837. function MsItemComponent_evt_ms_desc_section_3_ng_container_3_Template(rf, ctx) { if (rf & 1) {
  16838. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
  16839. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, MsItemComponent_evt_ms_desc_section_3_ng_container_3_evt_content_viewer_1_Template, 1, 1, "evt-content-viewer", 12);
  16840. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, MsItemComponent_evt_ms_desc_section_3_ng_container_3_span_2_Template, 2, 0, "span", 13);
  16841. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
  16842. } if (rf & 2) {
  16843. const docTitles_r17 = ctx.$implicit;
  16844. const i_r18 = ctx.index;
  16845. const ctx_r11 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
  16846. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  16847. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", docTitles_r17);
  16848. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  16849. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", i_r18 < _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](2, _c0, ctx_r11.data.docTitles.length - 1));
  16850. } }
  16851. function MsItemComponent_evt_ms_desc_section_3_Template(rf, ctx) { if (rf & 1) {
  16852. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "evt-ms-desc-section", 9);
  16853. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](1, 10);
  16854. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, MsItemComponent_evt_ms_desc_section_3_ng_container_2_Template, 3, 4, "ng-container", 11);
  16855. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, MsItemComponent_evt_ms_desc_section_3_ng_container_3_Template, 3, 4, "ng-container", 11);
  16856. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
  16857. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  16858. } if (rf & 2) {
  16859. const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  16860. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("inlineLabel", true)("nestedElement", true);
  16861. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  16862. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r1.data.titles);
  16863. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  16864. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r1.data.docTitles);
  16865. } }
  16866. function MsItemComponent_evt_ms_desc_section_5_ng_container_2_evt_content_viewer_1_Template(rf, ctx) { if (rf & 1) {
  16867. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 8);
  16868. } if (rf & 2) {
  16869. const textLang_r27 = ctx.$implicit;
  16870. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", textLang_r27);
  16871. } }
  16872. function MsItemComponent_evt_ms_desc_section_5_ng_container_2_span_2_Template(rf, ctx) { if (rf & 1) {
  16873. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span");
  16874. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1, ", ");
  16875. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  16876. } }
  16877. function MsItemComponent_evt_ms_desc_section_5_ng_container_2_Template(rf, ctx) { if (rf & 1) {
  16878. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
  16879. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, MsItemComponent_evt_ms_desc_section_5_ng_container_2_evt_content_viewer_1_Template, 1, 1, "evt-content-viewer", 12);
  16880. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, MsItemComponent_evt_ms_desc_section_5_ng_container_2_span_2_Template, 2, 0, "span", 13);
  16881. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
  16882. } if (rf & 2) {
  16883. const textLangs_r23 = ctx.$implicit;
  16884. const i_r24 = ctx.index;
  16885. const ctx_r22 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
  16886. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  16887. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", textLangs_r23);
  16888. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  16889. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", i_r24 < _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](2, _c0, ctx_r22.data.textLangs.length - 1));
  16890. } }
  16891. function MsItemComponent_evt_ms_desc_section_5_Template(rf, ctx) { if (rf & 1) {
  16892. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "evt-ms-desc-section", 14);
  16893. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](1, 10);
  16894. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, MsItemComponent_evt_ms_desc_section_5_ng_container_2_Template, 3, 4, "ng-container", 11);
  16895. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
  16896. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  16897. } if (rf & 2) {
  16898. const ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  16899. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "textLang")("inlineLabel", true)("nestedElement", true);
  16900. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  16901. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r2.data.textLangs);
  16902. } }
  16903. function MsItemComponent_evt_ms_desc_section_6_span_2_evt_content_viewer_1_Template(rf, ctx) { if (rf & 1) {
  16904. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 8);
  16905. } if (rf & 2) {
  16906. const author_r35 = ctx.$implicit;
  16907. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", author_r35);
  16908. } }
  16909. function MsItemComponent_evt_ms_desc_section_6_span_2_span_2_Template(rf, ctx) { if (rf & 1) {
  16910. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span");
  16911. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1, ", ");
  16912. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  16913. } }
  16914. function MsItemComponent_evt_ms_desc_section_6_span_2_Template(rf, ctx) { if (rf & 1) {
  16915. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span");
  16916. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, MsItemComponent_evt_ms_desc_section_6_span_2_evt_content_viewer_1_Template, 1, 1, "evt-content-viewer", 12);
  16917. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, MsItemComponent_evt_ms_desc_section_6_span_2_span_2_Template, 2, 0, "span", 13);
  16918. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  16919. } if (rf & 2) {
  16920. const authors_r31 = ctx.$implicit;
  16921. const i_r32 = ctx.index;
  16922. const ctx_r28 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
  16923. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  16924. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", authors_r31);
  16925. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  16926. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", i_r32 < _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](2, _c0, ctx_r28.data.authors.length - 1));
  16927. } }
  16928. function MsItemComponent_evt_ms_desc_section_6_span_3_Template(rf, ctx) { if (rf & 1) {
  16929. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span");
  16930. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1, ", ");
  16931. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  16932. } }
  16933. function MsItemComponent_evt_ms_desc_section_6_span_4_evt_content_viewer_1_Template(rf, ctx) { if (rf & 1) {
  16934. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 8);
  16935. } if (rf & 2) {
  16936. const docAuthor_r40 = ctx.$implicit;
  16937. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", docAuthor_r40);
  16938. } }
  16939. function MsItemComponent_evt_ms_desc_section_6_span_4_span_2_Template(rf, ctx) { if (rf & 1) {
  16940. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span");
  16941. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1, ", ");
  16942. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  16943. } }
  16944. function MsItemComponent_evt_ms_desc_section_6_span_4_Template(rf, ctx) { if (rf & 1) {
  16945. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span");
  16946. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, MsItemComponent_evt_ms_desc_section_6_span_4_evt_content_viewer_1_Template, 1, 1, "evt-content-viewer", 12);
  16947. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, MsItemComponent_evt_ms_desc_section_6_span_4_span_2_Template, 2, 0, "span", 13);
  16948. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  16949. } if (rf & 2) {
  16950. const docAuthors_r36 = ctx.$implicit;
  16951. const i_r37 = ctx.index;
  16952. const ctx_r30 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
  16953. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  16954. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", docAuthors_r36);
  16955. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  16956. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", i_r37 < _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](2, _c0, ctx_r30.data.docAuthors.length - 1));
  16957. } }
  16958. function MsItemComponent_evt_ms_desc_section_6_Template(rf, ctx) { if (rf & 1) {
  16959. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "evt-ms-desc-section", 14);
  16960. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](1, 10);
  16961. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, MsItemComponent_evt_ms_desc_section_6_span_2_Template, 3, 4, "span", 11);
  16962. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, MsItemComponent_evt_ms_desc_section_6_span_3_Template, 2, 0, "span", 13);
  16963. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, MsItemComponent_evt_ms_desc_section_6_span_4_Template, 3, 4, "span", 11);
  16964. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
  16965. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  16966. } if (rf & 2) {
  16967. const ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  16968. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "author")("inlineLabel", true)("nestedElement", true);
  16969. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  16970. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r3.data.authors);
  16971. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  16972. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx_r3.data.authors.length > 0 && ctx_r3.data.docAuthors.length > 0);
  16973. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  16974. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r3.data.docAuthors);
  16975. } }
  16976. function MsItemComponent_evt_ms_desc_section_7_span_2_evt_content_viewer_1_Template(rf, ctx) { if (rf & 1) {
  16977. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 8);
  16978. } if (rf & 2) {
  16979. const date_r44 = ctx.$implicit;
  16980. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", date_r44);
  16981. } }
  16982. function MsItemComponent_evt_ms_desc_section_7_span_2_Template(rf, ctx) { if (rf & 1) {
  16983. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 10);
  16984. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, MsItemComponent_evt_ms_desc_section_7_span_2_evt_content_viewer_1_Template, 1, 1, "evt-content-viewer", 12);
  16985. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  16986. } if (rf & 2) {
  16987. const dates_r42 = ctx.$implicit;
  16988. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  16989. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", dates_r42);
  16990. } }
  16991. function MsItemComponent_evt_ms_desc_section_7_Template(rf, ctx) { if (rf & 1) {
  16992. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "evt-ms-desc-section", 14);
  16993. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](1, 10);
  16994. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, MsItemComponent_evt_ms_desc_section_7_span_2_Template, 2, 1, "span", 15);
  16995. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
  16996. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  16997. } if (rf & 2) {
  16998. const ctx_r4 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  16999. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "docDate")("inlineLabel", true)("nestedElement", true);
  17000. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  17001. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r4.data.docDate);
  17002. } }
  17003. function MsItemComponent_evt_ms_desc_section_8_span_2_evt_content_viewer_1_Template(rf, ctx) { if (rf & 1) {
  17004. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 8);
  17005. } if (rf & 2) {
  17006. const colophon_r48 = ctx.$implicit;
  17007. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", colophon_r48);
  17008. } }
  17009. function MsItemComponent_evt_ms_desc_section_8_span_2_Template(rf, ctx) { if (rf & 1) {
  17010. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span");
  17011. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, MsItemComponent_evt_ms_desc_section_8_span_2_evt_content_viewer_1_Template, 1, 1, "evt-content-viewer", 12);
  17012. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  17013. } if (rf & 2) {
  17014. const colophons_r46 = ctx.$implicit;
  17015. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  17016. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", colophons_r46);
  17017. } }
  17018. function MsItemComponent_evt_ms_desc_section_8_Template(rf, ctx) { if (rf & 1) {
  17019. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "evt-ms-desc-section", 14);
  17020. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](1, 10);
  17021. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, MsItemComponent_evt_ms_desc_section_8_span_2_Template, 2, 1, "span", 11);
  17022. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
  17023. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  17024. } if (rf & 2) {
  17025. const ctx_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  17026. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "colophon")("inlineLabel", true)("nestedElement", true);
  17027. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  17028. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r5.data.colophons);
  17029. } }
  17030. function MsItemComponent_evt_ms_desc_section_9_Template(rf, ctx) { if (rf & 1) {
  17031. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "evt-ms-desc-section", 14);
  17032. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](1, "evt-content-viewer", 16);
  17033. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  17034. } if (rf & 2) {
  17035. const ctx_r6 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  17036. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "incipit")("inlineLabel", true)("nestedElement", true);
  17037. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  17038. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", ctx_r6.data.incipit);
  17039. } }
  17040. function MsItemComponent_evt_ms_desc_section_10_Template(rf, ctx) { if (rf & 1) {
  17041. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "evt-ms-desc-section", 14);
  17042. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](1, "evt-content-viewer", 17);
  17043. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  17044. } if (rf & 2) {
  17045. const ctx_r7 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  17046. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "explicit")("inlineLabel", true)("nestedElement", true);
  17047. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  17048. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", ctx_r7.data.explicit);
  17049. } }
  17050. function MsItemComponent_evt_ms_desc_section_11_span_2_evt_content_viewer_1_Template(rf, ctx) { if (rf & 1) {
  17051. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 8);
  17052. } if (rf & 2) {
  17053. const docImprint_r52 = ctx.$implicit;
  17054. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", docImprint_r52);
  17055. } }
  17056. function MsItemComponent_evt_ms_desc_section_11_span_2_Template(rf, ctx) { if (rf & 1) {
  17057. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span");
  17058. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, MsItemComponent_evt_ms_desc_section_11_span_2_evt_content_viewer_1_Template, 1, 1, "evt-content-viewer", 12);
  17059. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  17060. } if (rf & 2) {
  17061. const docImprints_r50 = ctx.$implicit;
  17062. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  17063. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", docImprints_r50);
  17064. } }
  17065. function MsItemComponent_evt_ms_desc_section_11_Template(rf, ctx) { if (rf & 1) {
  17066. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "evt-ms-desc-section", 14);
  17067. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](1, 10);
  17068. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, MsItemComponent_evt_ms_desc_section_11_span_2_Template, 2, 1, "span", 11);
  17069. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
  17070. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  17071. } if (rf & 2) {
  17072. const ctx_r8 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  17073. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "docImprint")("inlineLabel", true)("nestedElement", true);
  17074. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  17075. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r8.data.docImprints);
  17076. } }
  17077. function MsItemComponent_evt_ms_desc_section_12_evt_content_viewer_1_Template(rf, ctx) { if (rf & 1) {
  17078. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 8);
  17079. } if (rf & 2) {
  17080. const n_r54 = ctx.$implicit;
  17081. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", n_r54);
  17082. } }
  17083. function MsItemComponent_evt_ms_desc_section_12_Template(rf, ctx) { if (rf & 1) {
  17084. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "evt-ms-desc-section", 14);
  17085. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, MsItemComponent_evt_ms_desc_section_12_evt_content_viewer_1_Template, 1, 1, "evt-content-viewer", 12);
  17086. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  17087. } if (rf & 2) {
  17088. const ctx_r9 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  17089. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "note")("inlineLabel", true)("nestedElement", true);
  17090. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  17091. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r9.data.noteEl);
  17092. } }
  17093. let MsItemComponent = class MsItemComponent {
  17094. };
  17095. MsItemComponent.ɵfac = function MsItemComponent_Factory(t) { return new (t || MsItemComponent)(); };
  17096. MsItemComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({ type: MsItemComponent, selectors: [["evt-ms-item"]], inputs: { data: "data", nested1: "nested1", nested2: "nested2" }, decls: 13, vars: 14, consts: [[1, "flex-container", "section-msItem"], ["class", "flex-item-locus", 4, "ngIf"], [1, "flex-item-information"], [3, "inlineLabel", "nestedElement", 4, "ngIf"], [1, "msItem-information"], [3, "label", "inlineLabel", "nestedElement", 4, "ngIf"], [1, "flex-item-locus"], [1, "locus"], [3, "content"], [3, "inlineLabel", "nestedElement"], ["content", ""], [4, "ngFor", "ngForOf"], [3, "content", 4, "ngFor", "ngForOf"], [4, "ngIf"], [3, "label", "inlineLabel", "nestedElement"], ["content", "", 4, "ngFor", "ngForOf"], [1, "incipit", 3, "content"], [1, "explicit", 3, "content"]], template: function MsItemComponent_Template(rf, ctx) { if (rf & 1) {
  17097. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 0);
  17098. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, MsItemComponent_div_1_Template, 5, 1, "div", 1);
  17099. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](2, "div", 2);
  17100. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, MsItemComponent_evt_ms_desc_section_3_Template, 4, 4, "evt-ms-desc-section", 3);
  17101. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](4, 4);
  17102. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](5, MsItemComponent_evt_ms_desc_section_5_Template, 3, 4, "evt-ms-desc-section", 5);
  17103. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](6, MsItemComponent_evt_ms_desc_section_6_Template, 5, 6, "evt-ms-desc-section", 5);
  17104. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](7, MsItemComponent_evt_ms_desc_section_7_Template, 3, 4, "evt-ms-desc-section", 5);
  17105. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](8, MsItemComponent_evt_ms_desc_section_8_Template, 3, 4, "evt-ms-desc-section", 5);
  17106. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](9, MsItemComponent_evt_ms_desc_section_9_Template, 2, 4, "evt-ms-desc-section", 5);
  17107. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](10, MsItemComponent_evt_ms_desc_section_10_Template, 2, 4, "evt-ms-desc-section", 5);
  17108. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](11, MsItemComponent_evt_ms_desc_section_11_Template, 3, 4, "evt-ms-desc-section", 5);
  17109. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](12, MsItemComponent_evt_ms_desc_section_12_Template, 2, 4, "evt-ms-desc-section", 5);
  17110. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
  17111. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  17112. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  17113. } if (rf & 2) {
  17114. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵclassProp"]("has-nested1", ctx.nested1)("has-nested2", ctx.nested2);
  17115. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  17116. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data == null ? null : ctx.data.locus);
  17117. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  17118. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", (ctx.data == null ? null : ctx.data.titles == null ? null : ctx.data.titles.length) > 0 || (ctx.data == null ? null : ctx.data.docTitles == null ? null : ctx.data.docTitles.length) > 0);
  17119. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  17120. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", (ctx.data == null ? null : ctx.data.textLangs == null ? null : ctx.data.textLangs.length) > 0);
  17121. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  17122. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", (ctx.data == null ? null : ctx.data.authors == null ? null : ctx.data.authors.length) > 0 || (ctx.data == null ? null : ctx.data.docAuthors == null ? null : ctx.data.docAuthors.length) > 0);
  17123. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  17124. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", (ctx.data == null ? null : ctx.data.docDate == null ? null : ctx.data.docDate.length) > 0);
  17125. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  17126. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", (ctx.data == null ? null : ctx.data.colophons == null ? null : ctx.data.colophons.length) > 0);
  17127. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  17128. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data == null ? null : ctx.data.incipit);
  17129. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  17130. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data == null ? null : ctx.data.explicit);
  17131. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  17132. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", (ctx.data == null ? null : ctx.data.docImprints == null ? null : ctx.data.docImprints.length) > 0);
  17133. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  17134. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", (ctx.data == null ? null : ctx.data.noteEl == null ? null : ctx.data.noteEl.length) > 0);
  17135. } }, directives: [_angular_common__WEBPACK_IMPORTED_MODULE_4__["NgIf"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_5__["ContentViewerComponent"], _ui_components_ms_desc_section_ms_desc_section_component__WEBPACK_IMPORTED_MODULE_6__["MsDescSectionComponent"], _angular_common__WEBPACK_IMPORTED_MODULE_4__["NgForOf"]], styles: [".flex-container[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n}\n\n.flex-item-locus[_ngcontent-%COMP%] {\n flex-basis: 20%;\n}\n\n.flex-item-information[_ngcontent-%COMP%] {\n flex-basis: 80%;\n padding-right: 1rem;\n}\n\n.has-nested1[_ngcontent-%COMP%] .flex-item-locus[_ngcontent-%COMP%], .has-nested2[_ngcontent-%COMP%] .flex-item-locus[_ngcontent-%COMP%] {\n flex-basis: 100%;\n}\n\n.has-nested1[_ngcontent-%COMP%] .flex-item-information[_ngcontent-%COMP%], .has-nested2[_ngcontent-%COMP%] .flex-item-information[_ngcontent-%COMP%] {\n flex-basis: 100%;\n}\n\n.section-msItem[_ngcontent-%COMP%] {\n margin-bottom: 1rem;\n}\n\n.has-nested1[_ngcontent-%COMP%] {\n margin-left: 20%;\n}\n\n.has-nested2[_ngcontent-%COMP%] {\n margin-left: 36%;\n}\n\n.title[_ngcontent-%COMP%] {\n font-style: italic;\n}\n\n.locus[_ngcontent-%COMP%] {\n font-weight: bold;\n}\n\n.msItem-information[_ngcontent-%COMP%] {\n font-size: 0.95rem;\n}\n\n@media (min-width: 450px) {\n .has-nested1[_ngcontent-%COMP%] .flex-item-locus[_ngcontent-%COMP%], .has-nested2[_ngcontent-%COMP%] .flex-item-locus[_ngcontent-%COMP%] {\n flex-basis: 20%;\n }\n .has-nested1[_ngcontent-%COMP%] .flex-item-information[_ngcontent-%COMP%], .has-nested2[_ngcontent-%COMP%] .flex-item-information[_ngcontent-%COMP%] {\n flex-basis: 80%;\n }\n}\n\n@media (min-width: 639px) {\n .has-nested1[_ngcontent-%COMP%] .flex-item-locus[_ngcontent-%COMP%], .has-nested2[_ngcontent-%COMP%] .flex-item-locus[_ngcontent-%COMP%] {\n flex-basis: 100%;\n }\n .has-nested1[_ngcontent-%COMP%] .flex-item-information[_ngcontent-%COMP%], .has-nested2[_ngcontent-%COMP%] .flex-item-information[_ngcontent-%COMP%] {\n flex-basis: 100%;\n }\n}\n\n@media (min-width: 800px) {\n .has-nested1[_ngcontent-%COMP%] .flex-item-locus[_ngcontent-%COMP%], .has-nested2[_ngcontent-%COMP%] .flex-item-locus[_ngcontent-%COMP%] {\n flex-basis: 20%;\n }\n .has-nested1[_ngcontent-%COMP%] .flex-item-information[_ngcontent-%COMP%], .has-nested2[_ngcontent-%COMP%] .flex-item-information[_ngcontent-%COMP%] {\n flex-basis: 80%;\n }\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL21zLWl0ZW0uY29tcG9uZW50LnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7RUFDSSxhQUFBO0VBQ0EsbUJBQUE7RUFDQSxlQUFBO0FBQ0o7O0FBRUE7RUFDSSxlQUFBO0FBQ0o7O0FBRUE7RUFDSSxlQUFBO0VBQ0EsbUJBQUE7QUFDSjs7QUFHSTtFQUNJLGdCQUFBO0FBQVI7O0FBR0k7RUFDSSxnQkFBQTtBQURSOztBQUtBO0VBQ0ksbUJBQUE7QUFGSjs7QUFLQTtFQUNJLGdCQUFBO0FBRko7O0FBS0E7RUFDSSxnQkFBQTtBQUZKOztBQUtBO0VBQ0ksa0JBQUE7QUFGSjs7QUFL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jdXMge1xuICAgIGZvbnQtd2VpZ2h0OiBib2xkO1xufVxuXG4ubXNJdGVtLWluZm9ybWF0aW9uIHtcbiAgICBmb250LXNpemU6IDAuOTVyZW07XG59XG5cbkBtZWRpYSAobWluLXdpZHRoOiA0NTBweCkge1xuICAgIC5oYXMtbmVzdGVkMSwgLmhhcy1uZXN0ZWQye1xuICAgICAgICAuZmxleC1pdGVtLWxvY3VzIHtcbiAgICAgICAgICAgIGZsZXgtYmFzaXM6IDIwJTtcbiAgICAgICAgfVxuICAgICAgICBcbiAgICAgICAgLmZsZXgtaXRlbS1pbmZvcm1hdGlvbiB7XG4gICAgICAgICAgICBmbGV4LWJhc2lzOiA4MCU7XG4gICAgICAgIH1cbiAgICB9XG59XG5cbkBtZWRpYSAobWluLXdpZHRoOiA2MzlweCkge1xuICAgIC5oYXMtbmVzdGVkMSwgLmhhcy1uZXN0ZWQye1xuICAgICAgICAuZmxleC1pdGVtLWxvY3VzIHtcbiAgICAgICAgICAgIGZsZXgtYmFzaXM6IDEwMCU7XG4gICAgICAgIH1cbiAgICAgICAgXG4gICAgICAgIC5mbGV4LWl0ZW0taW5mb3JtYXRpb24ge1xuICAgICAgICAgICAgZmxleC1iYXNpczogMTAwJTtcbiAgICAgICAgfVxuICAgIH1cbn1cblxuQG1lZGlhIChtaW4td2lkdGg6IDgwMHB4KSB7XG4gICAgLmhhcy1uZXN0ZWQxLCAuaGFzLW5lc3RlZDJ7XG4gICAgICAgIC5mbGV4LWl0ZW0tbG9jdXMge1xuICAgICAgICAgICAgZmxleC1iYXNpczogMjAlO1xuICAgICAgICB9XG4gICAgICAgIFxuICAgICAgICAuZmxleC1pdGVtLWluZm9ybWF0aW9uIHtcbiAgICAgICAgICAgIGZsZXgtYmFzaXM6IDgwJTtcbiAgICAgICAgfVxuICAgIH1cbn0iXX0= */"] });
  17136. MsItemComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  17137. Object(_services_component_register_service__WEBPACK_IMPORTED_MODULE_3__["register"])(_models_evt_models__WEBPACK_IMPORTED_MODULE_2__["MsItem"])
  17138. ], MsItemComponent);
  17139. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](MsItemComponent, [{
  17140. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
  17141. args: [{
  17142. selector: 'evt-ms-item',
  17143. templateUrl: './ms-item.component.html',
  17144. styleUrls: ['./ms-item.component.scss'],
  17145. }]
  17146. }], null, { data: [{
  17147. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
  17148. }], nested1: [{
  17149. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
  17150. }], nested2: [{
  17151. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
  17152. }] }); })();
  17153. /***/ }),
  17154. /***/ "qKvR":
  17155. /*!***************************************************************************!*\
  17156. !*** ./src/app/components/ms-desc-selector/ms-desc-selector.component.ts ***!
  17157. \***************************************************************************/
  17158. /*! exports provided: MsDescSelectorComponent */
  17159. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  17160. "use strict";
  17161. __webpack_require__.r(__webpack_exports__);
  17162. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MsDescSelectorComponent", function() { return MsDescSelectorComponent; });
  17163. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "fXoL");
  17164. /* harmony import */ var src_app_services_evt_model_service__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! src/app/services/evt-model.service */ "hI0h");
  17165. const _c0 = ["ngSelectComponent"];
  17166. class MsDescSelectorComponent {
  17167. constructor(evtModelService) {
  17168. this.evtModelService = evtModelService;
  17169. this.msDesc$ = this.evtModelService.msDesc$;
  17170. this.selectionChange = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
  17171. this.msDescOpen = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
  17172. }
  17173. set msDescID(p) {
  17174. this._msDescID = p;
  17175. }
  17176. get msDescID() { return this._msDescID; }
  17177. openMsDescContent() {
  17178. this.selectionChange.emit(this.msDescID);
  17179. this.msDescOpen.emit(true);
  17180. }
  17181. resetMsDesc() {
  17182. this.msDescOpen.emit(false);
  17183. }
  17184. }
  17185. MsDescSelectorComponent.ɵfac = function MsDescSelectorComponent_Factory(t) { return new (t || MsDescSelectorComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](src_app_services_evt_model_service__WEBPACK_IMPORTED_MODULE_1__["EVTModelService"])); };
  17186. MsDescSelectorComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: MsDescSelectorComponent, selectors: [["evt-ms-desc-selector"]], viewQuery: function MsDescSelectorComponent_Query(rf, ctx) { if (rf & 1) {
  17187. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵviewQuery"](_c0, true);
  17188. } if (rf & 2) {
  17189. let _t;
  17190. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵloadQuery"]()) && (ctx.ngSelectComponent = _t.first);
  17191. } }, inputs: { msDescID: "msDescID" }, outputs: { selectionChange: "selectionChange", msDescOpen: "msDescOpen" }, decls: 0, vars: 0, template: function MsDescSelectorComponent_Template(rf, ctx) { }, styles: ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJtcy1kZXNjLXNlbGVjdG9yLmNvbXBvbmVudC5zY3NzIn0= */"] });
  17192. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](MsDescSelectorComponent, [{
  17193. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
  17194. args: [{
  17195. selector: 'evt-ms-desc-selector',
  17196. templateUrl: './ms-desc-selector.component.html',
  17197. styleUrls: ['./ms-desc-selector.component.scss'],
  17198. }]
  17199. }], function () { return [{ type: src_app_services_evt_model_service__WEBPACK_IMPORTED_MODULE_1__["EVTModelService"] }]; }, { selectionChange: [{
  17200. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
  17201. }], msDescOpen: [{
  17202. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
  17203. }], ngSelectComponent: [{
  17204. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewChild"],
  17205. args: ['ngSelectComponent']
  17206. }], msDescID: [{
  17207. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
  17208. }] }); })();
  17209. /***/ }),
  17210. /***/ "qoJN":
  17211. /*!*************************************************!*\
  17212. !*** ./src/app/components/components-mixins.ts ***!
  17213. \*************************************************/
  17214. /*! exports provided: Highlightable, EditionlevelSusceptible, TextFlowSusceptible */
  17215. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  17216. "use strict";
  17217. __webpack_require__.r(__webpack_exports__);
  17218. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Highlightable", function() { return Highlightable; });
  17219. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "EditionlevelSusceptible", function() { return EditionlevelSusceptible; });
  17220. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TextFlowSusceptible", function() { return TextFlowSusceptible; });
  17221. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "fXoL");
  17222. // tslint:disable-next-line: directive-class-suffix
  17223. class Highlightable {
  17224. }
  17225. Highlightable.ɵfac = function Highlightable_Factory(t) { return new (t || Highlightable)(); };
  17226. Highlightable.ɵdir = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({ type: Highlightable, inputs: { highlightData: "highlightData", highlightDataLem: "highlightDataLem", highlightDataIperlem: "highlightDataIperlem", itemsToHighlight: "itemsToHighlight", itemsLemsToHighlight: "itemsLemsToHighlight", itemsIperlemsToHighlight: "itemsIperlemsToHighlight" } });
  17227. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](Highlightable, [{
  17228. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Directive"]
  17229. }], null, { highlightData: [{
  17230. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
  17231. }], highlightDataLem: [{
  17232. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
  17233. }], highlightDataIperlem: [{
  17234. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
  17235. }], itemsToHighlight: [{
  17236. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
  17237. }], itemsLemsToHighlight: [{
  17238. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
  17239. }], itemsIperlemsToHighlight: [{
  17240. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
  17241. }] }); })();
  17242. // tslint:disable-next-line: directive-class-suffix
  17243. class EditionlevelSusceptible {
  17244. }
  17245. EditionlevelSusceptible.ɵfac = function EditionlevelSusceptible_Factory(t) { return new (t || EditionlevelSusceptible)(); };
  17246. EditionlevelSusceptible.ɵdir = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({ type: EditionlevelSusceptible, inputs: { editionLevel: "editionLevel" } });
  17247. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](EditionlevelSusceptible, [{
  17248. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Directive"]
  17249. }], null, { editionLevel: [{
  17250. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
  17251. }] }); })();
  17252. // tslint:disable-next-line: directive-class-suffix
  17253. class TextFlowSusceptible {
  17254. }
  17255. TextFlowSusceptible.ɵfac = function TextFlowSusceptible_Factory(t) { return new (t || TextFlowSusceptible)(); };
  17256. TextFlowSusceptible.ɵdir = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({ type: TextFlowSusceptible, inputs: { textFlow: "textFlow" } });
  17257. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](TextFlowSusceptible, [{
  17258. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Directive"]
  17259. }], null, { textFlow: [{
  17260. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
  17261. }] }); })();
  17262. /***/ }),
  17263. /***/ "quyl":
  17264. /*!**********************************************************!*\
  17265. !*** ./src/app/services/xml-parsers/facsimile-parser.ts ***!
  17266. \**********************************************************/
  17267. /*! exports provided: ZoneParser, GraphicParser, SurfaceParser */
  17268. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  17269. "use strict";
  17270. __webpack_require__.r(__webpack_exports__);
  17271. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ZoneParser", function() { return ZoneParser; });
  17272. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "GraphicParser", function() { return GraphicParser; });
  17273. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SurfaceParser", function() { return SurfaceParser; });
  17274. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "mrSG");
  17275. /* harmony import */ var ___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! . */ "UAXx");
  17276. /* harmony import */ var _models_evt_models__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../models/evt-models */ "5c0l");
  17277. /* harmony import */ var _basic_parsers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./basic-parsers */ "bNiN");
  17278. /* harmony import */ var _parser_models__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./parser-models */ "YwZW");
  17279. var ZoneParser_1, GraphicParser_1, SurfaceParser_1;
  17280. let ZoneParser = ZoneParser_1 = class ZoneParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_3__["EmptyParser"] {
  17281. constructor() {
  17282. super(...arguments);
  17283. this.attributeParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_4__["createParser"])(_basic_parsers__WEBPACK_IMPORTED_MODULE_3__["AttributeParser"], this.genericParse);
  17284. }
  17285. parse(xml) {
  17286. var _a, _b;
  17287. let coords;
  17288. const attributes = this.attributeParser.parse(xml);
  17289. if (xml.getAttribute('points')) {
  17290. coords = attributes.points.split(' ')
  17291. .map(stringPoint => {
  17292. const points = stringPoint.split(',');
  17293. return {
  17294. x: parseInt(points[0], 10),
  17295. y: parseInt(points[1], 10),
  17296. };
  17297. });
  17298. }
  17299. else {
  17300. const ul = {
  17301. x: parseFloat(attributes.ulx) || undefined,
  17302. y: parseFloat(attributes.uly) || undefined,
  17303. };
  17304. const lr = {
  17305. x: parseFloat(attributes.lrx) || undefined,
  17306. y: parseFloat(attributes.lry) || undefined,
  17307. };
  17308. const ur = {
  17309. x: lr.x,
  17310. y: ul.y,
  17311. };
  17312. const ll = {
  17313. x: ul.x,
  17314. y: lr.y,
  17315. };
  17316. coords = [ul, ur, lr, ll];
  17317. }
  17318. const id = Object(_parser_models__WEBPACK_IMPORTED_MODULE_4__["getID"])(xml);
  17319. const surface = xml.closest('surface');
  17320. return {
  17321. type: _models_evt_models__WEBPACK_IMPORTED_MODULE_2__["Zone"],
  17322. attributes,
  17323. id,
  17324. coords,
  17325. corresp: (_b = (_a = attributes.corresp) === null || _a === void 0 ? void 0 : _a.replace('#', '')) !== null && _b !== void 0 ? _b : id,
  17326. rend: attributes.rend,
  17327. rendition: attributes.rendition,
  17328. rotate: attributes.rotate ? parseInt(attributes.rotate, 10) || 0 : 0,
  17329. content: Object(_parser_models__WEBPACK_IMPORTED_MODULE_4__["parseChildren"])(xml, this.genericParse),
  17330. surface: surface ? Object(_parser_models__WEBPACK_IMPORTED_MODULE_4__["getID"])(surface) : '',
  17331. };
  17332. }
  17333. };
  17334. ZoneParser = ZoneParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  17335. Object(___WEBPACK_IMPORTED_MODULE_1__["xmlParser"])('zone', ZoneParser_1)
  17336. ], ZoneParser);
  17337. let GraphicParser = GraphicParser_1 = class GraphicParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_3__["EmptyParser"] {
  17338. constructor() {
  17339. super(...arguments);
  17340. this.attributeParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_4__["createParser"])(_basic_parsers__WEBPACK_IMPORTED_MODULE_3__["AttributeParser"], this.genericParse);
  17341. }
  17342. parse(xml) {
  17343. return {
  17344. type: _models_evt_models__WEBPACK_IMPORTED_MODULE_2__["Graphic"],
  17345. url: xml.getAttribute('url') || '',
  17346. height: xml.getAttribute('height') || '',
  17347. width: xml.getAttribute('width') || '',
  17348. attributes: this.attributeParser.parse(xml),
  17349. content: Object(_parser_models__WEBPACK_IMPORTED_MODULE_4__["parseChildren"])(xml, this.genericParse),
  17350. };
  17351. }
  17352. };
  17353. GraphicParser = GraphicParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  17354. Object(___WEBPACK_IMPORTED_MODULE_1__["xmlParser"])('graphic', GraphicParser_1)
  17355. ], GraphicParser);
  17356. let SurfaceParser = SurfaceParser_1 = class SurfaceParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_3__["EmptyParser"] {
  17357. constructor() {
  17358. super(...arguments);
  17359. this.attributeParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_4__["createParser"])(_basic_parsers__WEBPACK_IMPORTED_MODULE_3__["AttributeParser"], this.genericParse);
  17360. this.graphicParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_4__["createParser"])(GraphicParser, this.genericParse);
  17361. this.zoneParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_4__["createParser"])(ZoneParser, this.genericParse);
  17362. }
  17363. parse(xml) {
  17364. var _a;
  17365. const zones = Array.from(xml.querySelectorAll('zone')).map(z => this.zoneParser.parse(z));
  17366. return {
  17367. type: _models_evt_models__WEBPACK_IMPORTED_MODULE_2__["Surface"],
  17368. id: Object(_parser_models__WEBPACK_IMPORTED_MODULE_4__["getID"])(xml),
  17369. corresp: (_a = xml.getAttribute('corresp')) === null || _a === void 0 ? void 0 : _a.replace('#', ''),
  17370. graphics: Array.from(xml.querySelectorAll('graphic')).map(g => this.graphicParser.parse(g)),
  17371. zones: {
  17372. lines: zones.filter(z => z.rendition === 'Line'),
  17373. hotspots: zones.filter(z => z.rendition === 'HotSpot'),
  17374. },
  17375. attributes: this.attributeParser.parse(xml),
  17376. content: Object(_parser_models__WEBPACK_IMPORTED_MODULE_4__["parseChildren"])(xml, this.genericParse),
  17377. };
  17378. }
  17379. };
  17380. SurfaceParser = SurfaceParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  17381. Object(___WEBPACK_IMPORTED_MODULE_1__["xmlParser"])('surface', SurfaceParser_1)
  17382. ], SurfaceParser);
  17383. /***/ }),
  17384. /***/ "rRcO":
  17385. /*!*******************************************************************!*\
  17386. !*** ./src/app/components/global-lists/global-lists.component.ts ***!
  17387. \*******************************************************************/
  17388. /*! exports provided: GlobalListsComponent */
  17389. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  17390. "use strict";
  17391. __webpack_require__.r(__webpack_exports__);
  17392. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "GlobalListsComponent", function() { return GlobalListsComponent; });
  17393. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "fXoL");
  17394. /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rxjs/operators */ "kU1M");
  17395. /* harmony import */ var _services_evt_model_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../services/evt-model.service */ "hI0h");
  17396. /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/common */ "ofXK");
  17397. /* harmony import */ var _ui_components_icon_icon_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../ui-components/icon/icon.component */ "Mijh");
  17398. /* harmony import */ var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../content-viewer/content-viewer.component */ "t6RO");
  17399. /* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @ngx-translate/core */ "sYmb");
  17400. function GlobalListsComponent_ng_template_2_ng_template_0_Template(rf, ctx) { }
  17401. const _c0 = function (a0) { return { list: a0, last: false }; };
  17402. function GlobalListsComponent_ng_template_2_Template(rf, ctx) { if (rf & 1) {
  17403. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](0, GlobalListsComponent_ng_template_2_ng_template_0_Template, 0, 0, "ng-template", 9);
  17404. } if (rf & 2) {
  17405. const list_r6 = ctx.$implicit;
  17406. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
  17407. const _r4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵreference"](11);
  17408. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngTemplateOutlet", _r4)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction1"](2, _c0, list_r6));
  17409. } }
  17410. const _c1 = function () { return { icon: "network-wired", additionalClasses: "mr-1" }; };
  17411. function GlobalListsComponent_div_4_Template(rf, ctx) { if (rf & 1) {
  17412. const _r9 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
  17413. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 10);
  17414. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function GlobalListsComponent_div_4_Template_div_click_0_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r9); const ctx_r8 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](); return ctx_r8.openRelations(); });
  17415. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "span", 11);
  17416. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](2, "evt-icon", 12);
  17417. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](3);
  17418. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](4, "translate");
  17419. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](5, "span", 13);
  17420. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](6);
  17421. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](7, "async");
  17422. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  17423. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  17424. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  17425. } if (rf & 2) {
  17426. const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
  17427. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
  17428. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("iconInfo", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction0"](7, _c1));
  17429. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  17430. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](4, 3, "relations"), " ");
  17431. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
  17432. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](7, 5, ctx_r1.relations$).length);
  17433. } }
  17434. function GlobalListsComponent_ng_container_8_evt_content_viewer_1_Template(rf, ctx) { if (rf & 1) {
  17435. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "evt-content-viewer", 15);
  17436. } if (rf & 2) {
  17437. const relation_r11 = ctx.$implicit;
  17438. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("content", relation_r11);
  17439. } }
  17440. function GlobalListsComponent_ng_container_8_Template(rf, ctx) { if (rf & 1) {
  17441. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
  17442. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, GlobalListsComponent_ng_container_8_evt_content_viewer_1_Template, 1, 1, "evt-content-viewer", 14);
  17443. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "async");
  17444. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
  17445. } if (rf & 2) {
  17446. const ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
  17447. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  17448. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](2, 1, ctx_r2.relations$));
  17449. } }
  17450. function GlobalListsComponent_ng_container_9_evt_content_viewer_1_Template(rf, ctx) { if (rf & 1) {
  17451. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "evt-content-viewer", 15);
  17452. } if (rf & 2) {
  17453. const ctx_r12 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
  17454. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("content", ctx_r12.selectedList);
  17455. } }
  17456. function GlobalListsComponent_ng_container_9_Template(rf, ctx) { if (rf & 1) {
  17457. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
  17458. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, GlobalListsComponent_ng_container_9_evt_content_viewer_1_Template, 1, 1, "evt-content-viewer", 16);
  17459. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
  17460. } if (rf & 2) {
  17461. const ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
  17462. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  17463. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r3.selectedList);
  17464. } }
  17465. const _c2 = function (a0) { return { icon: a0, additionalClasses: "mr-1" }; };
  17466. function GlobalListsComponent_ng_template_10_evt_icon_2_Template(rf, ctx) { if (rf & 1) {
  17467. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "evt-icon", 12);
  17468. } if (rf & 2) {
  17469. const list_r13 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().list;
  17470. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("iconInfo", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction1"](1, _c2, list_r13.icon));
  17471. } }
  17472. function GlobalListsComponent_ng_template_10_span_5_Template(rf, ctx) { if (rf & 1) {
  17473. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "span", 13);
  17474. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
  17475. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  17476. } if (rf & 2) {
  17477. const list_r13 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().list;
  17478. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  17479. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](list_r13.content == null ? null : list_r13.content.length);
  17480. } }
  17481. function GlobalListsComponent_ng_template_10_div_6_ng_template_1_ng_template_0_Template(rf, ctx) { }
  17482. const _c3 = function (a0, a1) { return { list: a0, last: a1 }; };
  17483. function GlobalListsComponent_ng_template_10_div_6_ng_template_1_Template(rf, ctx) { if (rf & 1) {
  17484. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](0, GlobalListsComponent_ng_template_10_div_6_ng_template_1_ng_template_0_Template, 0, 0, "ng-template", 9);
  17485. } if (rf & 2) {
  17486. const sublist_r21 = ctx.$implicit;
  17487. const last_r22 = ctx.$implicit;
  17488. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](3);
  17489. const _r4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵreference"](11);
  17490. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngTemplateOutlet", _r4)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction2"](2, _c3, sublist_r21, last_r22));
  17491. } }
  17492. function GlobalListsComponent_ng_template_10_div_6_Template(rf, ctx) { if (rf & 1) {
  17493. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 21);
  17494. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, GlobalListsComponent_ng_template_10_div_6_ng_template_1_Template, 1, 5, "ng-template", 2);
  17495. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  17496. } if (rf & 2) {
  17497. const list_r13 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().list;
  17498. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  17499. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", list_r13.sublists);
  17500. } }
  17501. const _c4 = function (a0, a1, a2, a3) { return { hidden: a0, "bg-dark": a1, "text-light": a2, "border-bottom": a3 }; };
  17502. function GlobalListsComponent_ng_template_10_Template(rf, ctx) { if (rf & 1) {
  17503. const _r26 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
  17504. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 17);
  17505. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function GlobalListsComponent_ng_template_10_Template_div_click_0_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r26); const list_r13 = ctx.list; const ctx_r25 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](); return ctx_r25.openList($event, list_r13); });
  17506. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "span", 11);
  17507. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, GlobalListsComponent_ng_template_10_evt_icon_2_Template, 1, 3, "evt-icon", 18);
  17508. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](3);
  17509. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](4, "translate");
  17510. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](5, GlobalListsComponent_ng_template_10_span_5_Template, 2, 1, "span", 19);
  17511. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  17512. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](6, GlobalListsComponent_ng_template_10_div_6_Template, 2, 1, "div", 20);
  17513. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  17514. } if (rf & 2) {
  17515. const list_r13 = ctx.list;
  17516. const last_r14 = ctx.last;
  17517. const ctx_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
  17518. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction4"](7, _c4, (list_r13.content == null ? null : list_r13.content.length) === 0, ctx_r5.selectedList === list_r13, ctx_r5.selectedList === list_r13, !last_r14));
  17519. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
  17520. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", list_r13.icon);
  17521. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  17522. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](4, 5, list_r13.label), " ");
  17523. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
  17524. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", (list_r13.content == null ? null : list_r13.content.length) > 0);
  17525. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  17526. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", list_r13.sublists.length > 0);
  17527. } }
  17528. class GlobalListsComponent {
  17529. constructor(evtModelService) {
  17530. this.evtModelService = evtModelService;
  17531. this.lists$ = this.evtModelService.namedEntities$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__["map"])(ne => (ne.persons.lists.concat(ne.places.lists, ne.organizations.lists, ne.events.lists))), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__["map"])(lists => (lists.map(list => (Object.assign(Object.assign({}, list), { icon: this.listsIcons[list.namedEntityType] || 'list' }))))), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__["tap"])(lists => {
  17532. if (!this.selectedList && lists[0]) {
  17533. this.openList(undefined, lists[0]);
  17534. }
  17535. }));
  17536. this.relations$ = this.evtModelService.namedEntities$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__["map"])(ne => ne.relations));
  17537. this.showRelations = false;
  17538. this.listsIcons = {
  17539. person: 'user',
  17540. place: 'map-marker',
  17541. org: 'users',
  17542. event: 'calendar',
  17543. };
  17544. }
  17545. openList(event, list) {
  17546. if (event) {
  17547. event.stopPropagation();
  17548. }
  17549. if (this.selectedList !== list) {
  17550. this.selectedList = list;
  17551. }
  17552. this.showRelations = false;
  17553. }
  17554. openRelations() {
  17555. this.showRelations = true;
  17556. this.selectedList = undefined;
  17557. }
  17558. }
  17559. GlobalListsComponent.ɵfac = function GlobalListsComponent_Factory(t) { return new (t || GlobalListsComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_services_evt_model_service__WEBPACK_IMPORTED_MODULE_2__["EVTModelService"])); };
  17560. GlobalListsComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: GlobalListsComponent, selectors: [["evt-global-lists"]], decls: 12, vars: 8, consts: [[1, "row", "h-100", "m-0"], [1, "bg-light", "col-3", "p-0", "border-right"], ["ngFor", "", 3, "ngForOf"], ["class", "list-item border-bottom border-top", 3, "click", 4, "ngIf"], [1, "col-9", "p-0"], [3, "ngSwitch"], [4, "ngSwitchCase"], [4, "ngSwitchDefault"], ["listTemplate", ""], [3, "ngTemplateOutlet", "ngTemplateOutletContext"], [1, "list-item", "border-bottom", "border-top", 3, "click"], [1, "list-item-main", "p-2", "w-100", "d-block", "edition-font"], [3, "iconInfo"], [1, "badge", "badge-pill", "badge-info", "ui-font"], [3, "content", 4, "ngFor", "ngForOf"], [3, "content"], [3, "content", 4, "ngIf"], [1, "list-item", "border-bottom", 3, "ngClass", "click"], [3, "iconInfo", 4, "ngIf"], ["class", "badge badge-pill badge-info ui-font", 4, "ngIf"], ["class", "sub-list ml-3 border-left", 4, "ngIf"], [1, "sub-list", "ml-3", "border-left"]], template: function GlobalListsComponent_Template(rf, ctx) { if (rf & 1) {
  17561. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 0);
  17562. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "div", 1);
  17563. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, GlobalListsComponent_ng_template_2_Template, 1, 4, "ng-template", 2);
  17564. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](3, "async");
  17565. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](4, GlobalListsComponent_div_4_Template, 8, 8, "div", 3);
  17566. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](5, "async");
  17567. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  17568. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](6, "div", 4);
  17569. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](7, 5);
  17570. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](8, GlobalListsComponent_ng_container_8_Template, 3, 3, "ng-container", 6);
  17571. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](9, GlobalListsComponent_ng_container_9_Template, 2, 1, "ng-container", 7);
  17572. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
  17573. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  17574. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  17575. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](10, GlobalListsComponent_ng_template_10_Template, 7, 12, "ng-template", null, 8, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplateRefExtractor"]);
  17576. } if (rf & 2) {
  17577. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
  17578. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](3, 4, ctx.lists$));
  17579. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
  17580. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](5, 6, ctx.relations$).length > 0);
  17581. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
  17582. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngSwitch", ctx.showRelations);
  17583. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  17584. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngSwitchCase", true);
  17585. } }, directives: [_angular_common__WEBPACK_IMPORTED_MODULE_3__["NgForOf"], _angular_common__WEBPACK_IMPORTED_MODULE_3__["NgIf"], _angular_common__WEBPACK_IMPORTED_MODULE_3__["NgSwitch"], _angular_common__WEBPACK_IMPORTED_MODULE_3__["NgSwitchCase"], _angular_common__WEBPACK_IMPORTED_MODULE_3__["NgSwitchDefault"], _angular_common__WEBPACK_IMPORTED_MODULE_3__["NgTemplateOutlet"], _ui_components_icon_icon_component__WEBPACK_IMPORTED_MODULE_4__["IconComponent"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_5__["ContentViewerComponent"], _angular_common__WEBPACK_IMPORTED_MODULE_3__["NgClass"]], pipes: [_angular_common__WEBPACK_IMPORTED_MODULE_3__["AsyncPipe"], _ngx_translate_core__WEBPACK_IMPORTED_MODULE_6__["TranslatePipe"]], styles: [".list-item[_ngcontent-%COMP%]:not(.active):hover, .sub-list-item[_ngcontent-%COMP%]:not(.active):hover {\n cursor: pointer;\n background: rgba(0, 0, 0, 0.1);\n}\n.list-item[_ngcontent-%COMP%] .badge[_ngcontent-%COMP%], .sub-list-item[_ngcontent-%COMP%] .badge[_ngcontent-%COMP%] {\n position: absolute;\n right: 0.5rem;\n margin-top: 0.3rem;\n}\n.toggler[_ngcontent-%COMP%] {\n cursor: pointer;\n}\n.toggler[_ngcontent-%COMP%]:hover {\n opacity: 0.8;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2dsb2JhbC1saXN0cy5jb21wb25lbnQuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFSTs7RUFDSSxlQUFBO0VBQ0EsOEJBQUE7QUFBUjtBQUdJOztFQUNJLGtCQUFBO0VBQ0EsYUFBQTtFQUNBLGtCQUFBO0FBQVI7QUFJQTtFQUNJLGVBQUE7QUFESjtBQUdJO0VBQ0ksWUFBQTtBQURSIiwiZmlsZSI6Imdsb2JhbC1saXN0cy5jb21wb25lbnQuc2NzcyIsInNvdXJjZXNDb250ZW50IjpbIi5saXN0LWl0ZW0sXG4uc3ViLWxpc3QtaXRlbSB7XG4gICAgJjpub3QoLmFjdGl2ZSk6aG92ZXIge1xuICAgICAgICBjdXJzb3I6IHBvaW50ZXI7XG4gICAgICAgIGJhY2tncm91bmQ6IHJnYmEoMCwgMCwgMCwgLjEpO1xuICAgIH1cblxuICAgIC5iYWRnZSB7XG4gICAgICAgIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgICAgICAgcmlnaHQ6IDAuNXJlbTtcbiAgICAgICAgbWFyZ2luLXRvcDogMC4zcmVtO1xuICAgIH1cbn1cblxuLnRvZ2dsZXIge1xuICAgIGN1cnNvcjogcG9pbnRlcjtcblxuICAgICY6aG92ZXIge1xuICAgICAgICBvcGFjaXR5OiAuODtcbiAgICB9XG59Il19 */"] });
  17586. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](GlobalListsComponent, [{
  17587. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
  17588. args: [{
  17589. selector: 'evt-global-lists',
  17590. templateUrl: './global-lists.component.html',
  17591. styleUrls: ['./global-lists.component.scss'],
  17592. }]
  17593. }], function () { return [{ type: _services_evt_model_service__WEBPACK_IMPORTED_MODULE_2__["EVTModelService"] }]; }, null); })();
  17594. /***/ }),
  17595. /***/ "rbaJ":
  17596. /*!*************************************************************!*\
  17597. !*** ./src/app/components/tags-decl/tags-decl.component.ts ***!
  17598. \*************************************************************/
  17599. /*! exports provided: TagsDeclComponent */
  17600. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  17601. "use strict";
  17602. __webpack_require__.r(__webpack_exports__);
  17603. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TagsDeclComponent", function() { return TagsDeclComponent; });
  17604. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "mrSG");
  17605. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "fXoL");
  17606. /* harmony import */ var _models_evt_models__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../models/evt-models */ "5c0l");
  17607. /* harmony import */ var _services_component_register_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../services/component-register.service */ "d25s");
  17608. /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/common */ "ofXK");
  17609. /* harmony import */ var _ui_components_header_section_header_section_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../ui-components/header-section/header-section.component */ "iRdJ");
  17610. /* harmony import */ var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../content-viewer/content-viewer.component */ "t6RO");
  17611. function TagsDeclComponent_ng_container_1_Template(rf, ctx) { if (rf & 1) {
  17612. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0);
  17613. } }
  17614. function TagsDeclComponent_ng_container_2_Template(rf, ctx) { if (rf & 1) {
  17615. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0);
  17616. } }
  17617. function TagsDeclComponent_ng_template_3_evt_header_section_0_evt_content_viewer_2_Template(rf, ctx) { if (rf & 1) {
  17618. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 7);
  17619. } if (rf & 2) {
  17620. const item_r9 = ctx.$implicit;
  17621. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", item_r9);
  17622. } }
  17623. function TagsDeclComponent_ng_template_3_evt_header_section_0_Template(rf, ctx) { if (rf & 1) {
  17624. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "evt-header-section", 4);
  17625. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "div", 5);
  17626. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, TagsDeclComponent_ng_template_3_evt_header_section_0_evt_content_viewer_2_Template, 1, 1, "evt-content-viewer", 6);
  17627. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  17628. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  17629. } if (rf & 2) {
  17630. const ctx_r10 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  17631. const label_r4 = ctx_r10.label;
  17632. const class_r6 = ctx_r10.class;
  17633. const items_r5 = ctx_r10.items;
  17634. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", label_r4)("additionalClass", class_r6)("inlineLabel", true);
  17635. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  17636. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", items_r5);
  17637. } }
  17638. function TagsDeclComponent_ng_template_3_Template(rf, ctx) { if (rf & 1) {
  17639. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](0, TagsDeclComponent_ng_template_3_evt_header_section_0_Template, 3, 4, "evt-header-section", 3);
  17640. } if (rf & 2) {
  17641. const items_r5 = ctx.items;
  17642. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", (items_r5 == null ? null : items_r5.length) > 0);
  17643. } }
  17644. const _c0 = function (a1) { return { label: "rendition", items: a1, class: "rendition" }; };
  17645. const _c1 = function (a1) { return { label: "namespace", items: a1, class: "namespace" }; };
  17646. let TagsDeclComponent = class TagsDeclComponent {
  17647. };
  17648. TagsDeclComponent.ɵfac = function TagsDeclComponent_Factory(t) { return new (t || TagsDeclComponent)(); };
  17649. TagsDeclComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({ type: TagsDeclComponent, selectors: [["evt-tags-decl"]], inputs: { data: "data" }, decls: 5, vars: 8, consts: [[1, "tagsDecl"], [4, "ngTemplateOutlet", "ngTemplateOutletContext"], ["section", ""], [3, "label", "additionalClass", "inlineLabel", 4, "ngIf"], [3, "label", "additionalClass", "inlineLabel"], ["content", ""], [3, "content", 4, "ngFor", "ngForOf"], [3, "content"]], template: function TagsDeclComponent_Template(rf, ctx) { if (rf & 1) {
  17650. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 0);
  17651. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, TagsDeclComponent_ng_container_1_Template, 1, 0, "ng-container", 1);
  17652. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, TagsDeclComponent_ng_container_2_Template, 1, 0, "ng-container", 1);
  17653. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  17654. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, TagsDeclComponent_ng_template_3_Template, 1, 1, "ng-template", null, 2, _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplateRefExtractor"]);
  17655. } if (rf & 2) {
  17656. const _r2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵreference"](4);
  17657. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  17658. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r2)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](4, _c0, ctx.data == null ? null : ctx.data.rendition));
  17659. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  17660. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r2)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](6, _c1, ctx.data == null ? null : ctx.data.namespace));
  17661. } }, directives: [_angular_common__WEBPACK_IMPORTED_MODULE_4__["NgTemplateOutlet"], _angular_common__WEBPACK_IMPORTED_MODULE_4__["NgIf"], _ui_components_header_section_header_section_component__WEBPACK_IMPORTED_MODULE_5__["HeaderSectionComponent"], _angular_common__WEBPACK_IMPORTED_MODULE_4__["NgForOf"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_6__["ContentViewerComponent"]], styles: ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJ0YWdzLWRlY2wuY29tcG9uZW50LnNjc3MifQ== */"] });
  17662. TagsDeclComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  17663. Object(_services_component_register_service__WEBPACK_IMPORTED_MODULE_3__["register"])(_models_evt_models__WEBPACK_IMPORTED_MODULE_2__["TagsDecl"])
  17664. ], TagsDeclComponent);
  17665. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](TagsDeclComponent, [{
  17666. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
  17667. args: [{
  17668. selector: 'evt-tags-decl',
  17669. templateUrl: './tags-decl.component.html',
  17670. styleUrls: ['./tags-decl.component.scss'],
  17671. }]
  17672. }], null, { data: [{
  17673. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
  17674. }] }); })();
  17675. /***/ }),
  17676. /***/ "ry9e":
  17677. /*!*************************************************!*\
  17678. !*** ./src/app/components/osd/osd.component.ts ***!
  17679. \*************************************************/
  17680. /*! exports provided: OsdComponent */
  17681. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  17682. "use strict";
  17683. __webpack_require__.r(__webpack_exports__);
  17684. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "OsdComponent", function() { return OsdComponent; });
  17685. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "fXoL");
  17686. /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rxjs */ "qCKp");
  17687. /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs/operators */ "kU1M");
  17688. /* harmony import */ var _models_evt_polymorphic_models__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../models/evt-polymorphic-models */ "tv3h");
  17689. /* harmony import */ var _utils_js_utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../utils/js-utils */ "zSMA");
  17690. /* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/common/http */ "tk/3");
  17691. const _c0 = ["osd"];
  17692. /*
  17693. Observable<OsdTileSource[]>
  17694. "@id": "https://www.e-codices.unifr.ch:443/loris/bge/bge-gr0044/bge-gr0044_e001.jp2/full/full/0/default.jpg",
  17695. "@type": "dctypes:Image",
  17696. "format": "image/jpeg",
  17697. "height": 7304,
  17698. "width": 5472,
  17699. "service": {
  17700. "@context": "http://iiif.io/api/image/2/context.json",
  17701. "@id": "https://www.e-codices.unifr.ch/loris/bge/bge-gr0044/bge-gr0044_e001.jp2",
  17702. "profile": "http://iiif.io/api/image/2/level2.json"
  17703. }
  17704. }
  17705. To:
  17706. {
  17707. '@context': 'http://iiif.io/api/image/2/context.json',
  17708. '@id': 'https://www.e-codices.unifr.ch/loris/bge/bge-gr0044/bge-gr0044_e001.jp2',
  17709. 'profile': ['http://iiif.io/api/image/2/level2.json'],
  17710. 'protocol': 'http://iiif.io/api/image',
  17711. 'height': 7304,
  17712. 'width': 5472,
  17713. }
  17714. */
  17715. class OsdComponent {
  17716. constructor(http) {
  17717. this.http = http;
  17718. this.optionsChange = new rxjs__WEBPACK_IMPORTED_MODULE_1__["BehaviorSubject"]({});
  17719. this.sourceChange = new rxjs__WEBPACK_IMPORTED_MODULE_1__["BehaviorSubject"]([]);
  17720. this.pageChange = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
  17721. this.subscriptions = [];
  17722. this.subscriptions.push(this.pageChange.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["distinctUntilChanged"])()).subscribe((x) => {
  17723. if (!!this.viewer) {
  17724. this.viewer.goToPage(x - 1);
  17725. }
  17726. }));
  17727. }
  17728. set options(v) {
  17729. if (v !== this._options) {
  17730. this._options = v;
  17731. this.optionsChange.next(this._options);
  17732. }
  17733. }
  17734. get options() { return this._options; }
  17735. set viewerData(v) {
  17736. this._viewerDataType = v.type;
  17737. this._viewerSource = _models_evt_polymorphic_models__WEBPACK_IMPORTED_MODULE_3__["ViewerSource"].getSource(v, v.type);
  17738. this.sourceChange.next(this._viewerSource);
  17739. }
  17740. set page(v) {
  17741. if (v !== this._page) {
  17742. this._page = v;
  17743. this.pageChange.next(this._page);
  17744. }
  17745. }
  17746. get page() { return this._page; }
  17747. ngAfterViewInit() {
  17748. this.viewerId = Object(_utils_js_utils__WEBPACK_IMPORTED_MODULE_4__["uuid"])('openseadragon');
  17749. this.div.nativeElement.id = this.viewerId;
  17750. this.tileSources = _models_evt_polymorphic_models__WEBPACK_IMPORTED_MODULE_3__["ViewerSource"].getTileSource(this.sourceChange, this._viewerDataType, this.http);
  17751. const commonOptions = {
  17752. visibilityRatio: 0.1,
  17753. minZoomLevel: 0.5,
  17754. defaultZoomLevel: 1,
  17755. sequenceMode: true,
  17756. prefixUrl: 'assets/osd/images/',
  17757. id: this.div.nativeElement.id,
  17758. navigatorBackground: '#606060',
  17759. showNavigator: false,
  17760. gestureSettingsMouse: {
  17761. clickToZoom: false,
  17762. dblClickToZoom: true,
  17763. },
  17764. };
  17765. this.subscriptions.push(Object(rxjs__WEBPACK_IMPORTED_MODULE_1__["combineLatest"])([this.optionsChange, this.tileSources])
  17766. .subscribe(([_, tileSources]) => {
  17767. if (!!tileSources) {
  17768. this.viewer = OpenSeadragon(Object.assign(Object.assign({}, commonOptions), { tileSources }));
  17769. }
  17770. else {
  17771. this.viewer = OpenSeadragon(Object.assign(Object.assign({}, commonOptions), this.options));
  17772. }
  17773. this.viewer.addHandler('page', ({ page }) => {
  17774. this.pageChange.next(page + 1);
  17775. });
  17776. }));
  17777. }
  17778. ngOnDestroy() {
  17779. this.subscriptions.forEach((s) => s.unsubscribe());
  17780. }
  17781. }
  17782. OsdComponent.ɵfac = function OsdComponent_Factory(t) { return new (t || OsdComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_common_http__WEBPACK_IMPORTED_MODULE_5__["HttpClient"])); };
  17783. OsdComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: OsdComponent, selectors: [["evt-osd"]], viewQuery: function OsdComponent_Query(rf, ctx) { if (rf & 1) {
  17784. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵstaticViewQuery"](_c0, true, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]);
  17785. } if (rf & 2) {
  17786. let _t;
  17787. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵloadQuery"]()) && (ctx.div = _t.first);
  17788. } }, inputs: { options: "options", viewerData: "viewerData", page: "page", text: "text" }, outputs: { pageChange: "pageChange" }, decls: 2, vars: 0, consts: [[1, "full-height"], ["osd", ""]], template: function OsdComponent_Template(rf, ctx) { if (rf & 1) {
  17789. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "div", 0, 1);
  17790. } }, styles: [".full-height[_ngcontent-%COMP%] {\n height: 100vh;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL29zZC5jb21wb25lbnQuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNJLGFBQUE7QUFDSiIsImZpbGUiOiJvc2QuY29tcG9uZW50LnNjc3MiLCJzb3VyY2VzQ29udGVudCI6WyIuZnVsbC1oZWlnaHQge1xuICAgIGhlaWdodDogMTAwdmg7XG59Il19 */"] });
  17791. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](OsdComponent, [{
  17792. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
  17793. args: [{
  17794. selector: 'evt-osd',
  17795. templateUrl: './osd.component.html',
  17796. styleUrls: ['./osd.component.scss'],
  17797. }]
  17798. }], function () { return [{ type: _angular_common_http__WEBPACK_IMPORTED_MODULE_5__["HttpClient"] }]; }, { div: [{
  17799. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewChild"],
  17800. args: ['osd', { read: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"], static: true }]
  17801. }], options: [{
  17802. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
  17803. }], viewerData: [{
  17804. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
  17805. }], page: [{
  17806. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
  17807. }], pageChange: [{
  17808. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
  17809. }], text: [{
  17810. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
  17811. }] }); })();
  17812. /***/ }),
  17813. /***/ "s1S/":
  17814. /*!*******************************************************************!*\
  17815. !*** ./src/app/components/project-info/project-info.component.ts ***!
  17816. \*******************************************************************/
  17817. /*! exports provided: ProjectInfoComponent */
  17818. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  17819. "use strict";
  17820. __webpack_require__.r(__webpack_exports__);
  17821. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ProjectInfoComponent", function() { return ProjectInfoComponent; });
  17822. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "fXoL");
  17823. /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rxjs/operators */ "kU1M");
  17824. /* harmony import */ var _services_evt_model_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../services/evt-model.service */ "hI0h");
  17825. /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/common */ "ofXK");
  17826. /* harmony import */ var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../content-viewer/content-viewer.component */ "t6RO");
  17827. /* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @ngx-translate/core */ "sYmb");
  17828. function ProjectInfoComponent_ng_container_2_ng_template_1_Template(rf, ctx) { }
  17829. function ProjectInfoComponent_ng_container_2_ng_template_2_Template(rf, ctx) { }
  17830. function ProjectInfoComponent_ng_container_2_ng_template_3_Template(rf, ctx) { }
  17831. function ProjectInfoComponent_ng_container_2_ng_template_4_Template(rf, ctx) { }
  17832. const _c0 = function (a1) { return { key: "fileDesc", data: a1 }; };
  17833. const _c1 = function (a1) { return { key: "encodingDesc", data: a1 }; };
  17834. const _c2 = function (a1) { return { key: "profileDesc", data: a1 }; };
  17835. const _c3 = function (a1) { return { key: "revisionDesc", data: a1 }; };
  17836. function ProjectInfoComponent_ng_container_2_Template(rf, ctx) { if (rf & 1) {
  17837. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
  17838. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, ProjectInfoComponent_ng_container_2_ng_template_1_Template, 0, 0, "ng-template", 6);
  17839. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, ProjectInfoComponent_ng_container_2_ng_template_2_Template, 0, 0, "ng-template", 6);
  17840. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](3, ProjectInfoComponent_ng_container_2_ng_template_3_Template, 0, 0, "ng-template", 6);
  17841. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](4, ProjectInfoComponent_ng_container_2_ng_template_4_Template, 0, 0, "ng-template", 6);
  17842. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
  17843. } if (rf & 2) {
  17844. const projectInfo_r3 = ctx.ngIf;
  17845. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
  17846. const _r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵreference"](7);
  17847. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  17848. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngTemplateOutlet", _r1)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction1"](8, _c0, projectInfo_r3.fileDesc));
  17849. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  17850. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngTemplateOutlet", _r1)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction1"](10, _c1, projectInfo_r3.encodingDesc));
  17851. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  17852. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngTemplateOutlet", _r1)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction1"](12, _c2, projectInfo_r3.profileDesc));
  17853. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  17854. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngTemplateOutlet", _r1)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction1"](14, _c3, projectInfo_r3.revisionDesc));
  17855. } }
  17856. const _c4 = function (a0, a1, a2) { return { hidden: a0, "bg-dark": a1, "text-light": a2 }; };
  17857. function ProjectInfoComponent_ng_template_6_Template(rf, ctx) { if (rf & 1) {
  17858. const _r11 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
  17859. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 7);
  17860. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function ProjectInfoComponent_ng_template_6_Template_div_click_0_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r11); const key_r8 = ctx.key; const data_r9 = ctx.data; const ctx_r10 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](); return ctx_r10.openSection(key_r8, data_r9); });
  17861. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "span", 8);
  17862. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2);
  17863. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](3, "translate");
  17864. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  17865. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  17866. } if (rf & 2) {
  17867. const key_r8 = ctx.key;
  17868. const data_r9 = ctx.data;
  17869. const ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
  17870. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction3"](4, _c4, !data_r9 || (data_r9.content == null ? null : data_r9.content.length) === 0, (ctx_r2.selectedSection == null ? null : ctx_r2.selectedSection.key) === key_r8, (ctx_r2.selectedSection == null ? null : ctx_r2.selectedSection.key) === key_r8));
  17871. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
  17872. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](3, 2, key_r8), " ");
  17873. } }
  17874. class ProjectInfoComponent {
  17875. constructor(evtModelService) {
  17876. this.evtModelService = evtModelService;
  17877. this.projectInfo$ = this.evtModelService.projectInfo$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__["first"])(), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__["tap"])((info) => this.openSection('fileDesc', info.fileDesc)));
  17878. }
  17879. openSection(key, content) {
  17880. this.selectedSection = { key, content };
  17881. }
  17882. }
  17883. ProjectInfoComponent.ɵfac = function ProjectInfoComponent_Factory(t) { return new (t || ProjectInfoComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_services_evt_model_service__WEBPACK_IMPORTED_MODULE_2__["EVTModelService"])); };
  17884. ProjectInfoComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: ProjectInfoComponent, selectors: [["evt-project-info"]], decls: 8, vars: 4, consts: [[1, "project-info-container", "row", "h-100", "m-0"], [1, "project-info-tabs", "bg-light", "col-3", "p-0", "h-100", "border-right"], [4, "ngIf"], [1, "project-info-content", "col-9", "p-3", "h-100"], [3, "content"], ["sectionTemplate", ""], [3, "ngTemplateOutlet", "ngTemplateOutletContext"], [1, "section-item", "border-bottom", 3, "ngClass", "click"], [1, "p-2", "w-100", "d-block", "edition-font"]], template: function ProjectInfoComponent_Template(rf, ctx) { if (rf & 1) {
  17885. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 0);
  17886. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "div", 1);
  17887. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, ProjectInfoComponent_ng_container_2_Template, 5, 16, "ng-container", 2);
  17888. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](3, "async");
  17889. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  17890. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "div", 3);
  17891. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](5, "evt-content-viewer", 4);
  17892. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  17893. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  17894. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](6, ProjectInfoComponent_ng_template_6_Template, 4, 8, "ng-template", null, 5, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplateRefExtractor"]);
  17895. } if (rf & 2) {
  17896. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
  17897. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](3, 2, ctx.projectInfo$));
  17898. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
  17899. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("content", ctx.selectedSection == null ? null : ctx.selectedSection.content);
  17900. } }, directives: [_angular_common__WEBPACK_IMPORTED_MODULE_3__["NgIf"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_4__["ContentViewerComponent"], _angular_common__WEBPACK_IMPORTED_MODULE_3__["NgTemplateOutlet"], _angular_common__WEBPACK_IMPORTED_MODULE_3__["NgClass"]], pipes: [_angular_common__WEBPACK_IMPORTED_MODULE_3__["AsyncPipe"], _ngx_translate_core__WEBPACK_IMPORTED_MODULE_5__["TranslatePipe"]], styles: [".project-info-container[_ngcontent-%COMP%] {\n overflow: hidden;\n}\n\n.project-info-tabs[_ngcontent-%COMP%], .project-info-content[_ngcontent-%COMP%] {\n overflow: auto;\n}\n\n.section-item[_ngcontent-%COMP%] {\n cursor: pointer;\n}\n\n.section-item[_ngcontent-%COMP%]:not(.active):hover {\n cursor: pointer;\n background: rgba(0, 0, 0, 0.1);\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3QtaW5mby5jb21wb25lbnQuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNJLGdCQUFBO0FBQ0o7O0FBRUE7O0VBRUksY0FBQTtBQUNKOztBQUVBO0VBQ0ksZUFBQTtBQUNKOztBQUNJO0VBQ0ksZUFBQTtFQUNBLDhCQUFBO0FBQ1IiLCJmaWxlIjoicHJvamVjdC1pbmZvLmNvbXBvbmVudC5zY3NzIiwic291cmNlc0NvbnRlbnQiOlsiLnByb2plY3QtaW5mby1jb250YWluZXIge1xuICAgIG92ZXJmbG93OiBoaWRkZW47XG59XG5cbi5wcm9qZWN0LWluZm8tdGFicyxcbi5wcm9qZWN0LWluZm8tY29udGVudCB7XG4gICAgb3ZlcmZsb3c6IGF1dG87XG59XG5cbi5zZWN0aW9uLWl0ZW0ge1xuICAgIGN1cnNvcjogcG9pbnRlcjtcblxuICAgICY6bm90KC5hY3RpdmUpOmhvdmVyIHtcbiAgICAgICAgY3Vyc29yOiBwb2ludGVyO1xuICAgICAgICBiYWNrZ3JvdW5kOiByZ2JhKDAsIDAsIDAsIDAuMSk7XG4gICAgfVxufVxuIl19 */"] });
  17901. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](ProjectInfoComponent, [{
  17902. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
  17903. args: [{
  17904. selector: 'evt-project-info',
  17905. templateUrl: './project-info.component.html',
  17906. styleUrls: ['./project-info.component.scss'],
  17907. }]
  17908. }], function () { return [{ type: _services_evt_model_service__WEBPACK_IMPORTED_MODULE_2__["EVTModelService"] }]; }, null); })();
  17909. /***/ }),
  17910. /***/ "sMX/":
  17911. /*!*******************************************************!*\
  17912. !*** ./src/app/ui-components/ui-components.module.ts ***!
  17913. \*******************************************************/
  17914. /*! exports provided: UiComponentsModule */
  17915. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  17916. "use strict";
  17917. __webpack_require__.r(__webpack_exports__);
  17918. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "UiComponentsModule", function() { return UiComponentsModule; });
  17919. /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/common */ "ofXK");
  17920. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "fXoL");
  17921. /* harmony import */ var _fortawesome_angular_fontawesome__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @fortawesome/angular-fontawesome */ "6NWb");
  17922. /* harmony import */ var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @ng-bootstrap/ng-bootstrap */ "1kSV");
  17923. /* harmony import */ var _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @ng-select/ng-select */ "ZOsW");
  17924. /* harmony import */ var ng_dynamic_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ng-dynamic-component */ "CS/5");
  17925. /* harmony import */ var _app_translation_module__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../app-translation.module */ "XOBg");
  17926. /* harmony import */ var _button_button_component__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./button/button.component */ "UjKN");
  17927. /* harmony import */ var _directives_click_outside_directive__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./directives/click-outside.directive */ "gCbp");
  17928. /* harmony import */ var _directives_escape_directive__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./directives/escape.directive */ "CimZ");
  17929. /* harmony import */ var _header_section_header_section_component__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./header-section/header-section.component */ "iRdJ");
  17930. /* harmony import */ var _icon_icon_component__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./icon/icon.component */ "Mijh");
  17931. /* harmony import */ var _modal_modal_component__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./modal/modal.component */ "P7wN");
  17932. /* harmony import */ var _panel_panel_component__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./panel/panel.component */ "HiHV");
  17933. class UiComponentsModule {
  17934. }
  17935. UiComponentsModule.ɵmod = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineNgModule"]({ type: UiComponentsModule });
  17936. UiComponentsModule.ɵinj = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjector"]({ factory: function UiComponentsModule_Factory(t) { return new (t || UiComponentsModule)(); }, imports: [[
  17937. _angular_common__WEBPACK_IMPORTED_MODULE_0__["CommonModule"],
  17938. _fortawesome_angular_fontawesome__WEBPACK_IMPORTED_MODULE_2__["FontAwesomeModule"],
  17939. _app_translation_module__WEBPACK_IMPORTED_MODULE_6__["AppTranslationModule"],
  17940. ng_dynamic_component__WEBPACK_IMPORTED_MODULE_5__["DynamicAttributesModule"],
  17941. ng_dynamic_component__WEBPACK_IMPORTED_MODULE_5__["DynamicModule"],
  17942. _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_3__["NgbModule"],
  17943. _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_4__["NgSelectModule"],
  17944. ], _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_4__["NgSelectModule"]] });
  17945. (function () { (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵsetNgModuleScope"](UiComponentsModule, { declarations: [_button_button_component__WEBPACK_IMPORTED_MODULE_7__["ButtonComponent"],
  17946. _directives_click_outside_directive__WEBPACK_IMPORTED_MODULE_8__["ClickOutsideDirective"],
  17947. _directives_escape_directive__WEBPACK_IMPORTED_MODULE_9__["EscapeDirective"],
  17948. _header_section_header_section_component__WEBPACK_IMPORTED_MODULE_10__["HeaderSectionComponent"],
  17949. _icon_icon_component__WEBPACK_IMPORTED_MODULE_11__["IconComponent"],
  17950. _modal_modal_component__WEBPACK_IMPORTED_MODULE_12__["ModalComponent"],
  17951. _panel_panel_component__WEBPACK_IMPORTED_MODULE_13__["PanelComponent"]], imports: [_angular_common__WEBPACK_IMPORTED_MODULE_0__["CommonModule"],
  17952. _fortawesome_angular_fontawesome__WEBPACK_IMPORTED_MODULE_2__["FontAwesomeModule"],
  17953. _app_translation_module__WEBPACK_IMPORTED_MODULE_6__["AppTranslationModule"],
  17954. ng_dynamic_component__WEBPACK_IMPORTED_MODULE_5__["DynamicAttributesModule"],
  17955. ng_dynamic_component__WEBPACK_IMPORTED_MODULE_5__["DynamicModule"],
  17956. _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_3__["NgbModule"],
  17957. _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_4__["NgSelectModule"]], exports: [_button_button_component__WEBPACK_IMPORTED_MODULE_7__["ButtonComponent"],
  17958. _directives_click_outside_directive__WEBPACK_IMPORTED_MODULE_8__["ClickOutsideDirective"],
  17959. _directives_escape_directive__WEBPACK_IMPORTED_MODULE_9__["EscapeDirective"],
  17960. _header_section_header_section_component__WEBPACK_IMPORTED_MODULE_10__["HeaderSectionComponent"],
  17961. _icon_icon_component__WEBPACK_IMPORTED_MODULE_11__["IconComponent"],
  17962. _modal_modal_component__WEBPACK_IMPORTED_MODULE_12__["ModalComponent"],
  17963. _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_4__["NgSelectModule"],
  17964. _panel_panel_component__WEBPACK_IMPORTED_MODULE_13__["PanelComponent"]] }); })();
  17965. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](UiComponentsModule, [{
  17966. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["NgModule"],
  17967. args: [{
  17968. declarations: [
  17969. _button_button_component__WEBPACK_IMPORTED_MODULE_7__["ButtonComponent"],
  17970. _directives_click_outside_directive__WEBPACK_IMPORTED_MODULE_8__["ClickOutsideDirective"],
  17971. _directives_escape_directive__WEBPACK_IMPORTED_MODULE_9__["EscapeDirective"],
  17972. _header_section_header_section_component__WEBPACK_IMPORTED_MODULE_10__["HeaderSectionComponent"],
  17973. _icon_icon_component__WEBPACK_IMPORTED_MODULE_11__["IconComponent"],
  17974. _modal_modal_component__WEBPACK_IMPORTED_MODULE_12__["ModalComponent"],
  17975. _panel_panel_component__WEBPACK_IMPORTED_MODULE_13__["PanelComponent"],
  17976. ],
  17977. imports: [
  17978. _angular_common__WEBPACK_IMPORTED_MODULE_0__["CommonModule"],
  17979. _fortawesome_angular_fontawesome__WEBPACK_IMPORTED_MODULE_2__["FontAwesomeModule"],
  17980. _app_translation_module__WEBPACK_IMPORTED_MODULE_6__["AppTranslationModule"],
  17981. ng_dynamic_component__WEBPACK_IMPORTED_MODULE_5__["DynamicAttributesModule"],
  17982. ng_dynamic_component__WEBPACK_IMPORTED_MODULE_5__["DynamicModule"],
  17983. _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_3__["NgbModule"],
  17984. _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_4__["NgSelectModule"],
  17985. ],
  17986. exports: [
  17987. _button_button_component__WEBPACK_IMPORTED_MODULE_7__["ButtonComponent"],
  17988. _directives_click_outside_directive__WEBPACK_IMPORTED_MODULE_8__["ClickOutsideDirective"],
  17989. _directives_escape_directive__WEBPACK_IMPORTED_MODULE_9__["EscapeDirective"],
  17990. _header_section_header_section_component__WEBPACK_IMPORTED_MODULE_10__["HeaderSectionComponent"],
  17991. _icon_icon_component__WEBPACK_IMPORTED_MODULE_11__["IconComponent"],
  17992. _modal_modal_component__WEBPACK_IMPORTED_MODULE_12__["ModalComponent"],
  17993. _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_4__["NgSelectModule"],
  17994. _panel_panel_component__WEBPACK_IMPORTED_MODULE_13__["PanelComponent"],
  17995. ],
  17996. entryComponents: [
  17997. _modal_modal_component__WEBPACK_IMPORTED_MODULE_12__["ModalComponent"],
  17998. ],
  17999. }]
  18000. }], null, null); })();
  18001. /***/ }),
  18002. /***/ "t1xl":
  18003. /*!*******************************************************************************!*\
  18004. !*** ./src/app/services/xml-parsers/character-declarations-parser.service.ts ***!
  18005. \*******************************************************************************/
  18006. /*! exports provided: CharacterDeclarationsParserService */
  18007. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  18008. "use strict";
  18009. __webpack_require__.r(__webpack_exports__);
  18010. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CharacterDeclarationsParserService", function() { return CharacterDeclarationsParserService; });
  18011. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "fXoL");
  18012. /* harmony import */ var ___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! . */ "UAXx");
  18013. /* harmony import */ var _character_declarations_parser__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./character-declarations-parser */ "70Sg");
  18014. /* harmony import */ var _parser_models__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./parser-models */ "YwZW");
  18015. class CharacterDeclarationsParserService {
  18016. constructor() {
  18017. this.charParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_3__["createParser"])(_character_declarations_parser__WEBPACK_IMPORTED_MODULE_2__["CharParser"], ___WEBPACK_IMPORTED_MODULE_1__["parse"]);
  18018. this.glyphParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_3__["createParser"])(_character_declarations_parser__WEBPACK_IMPORTED_MODULE_2__["GlyphParser"], ___WEBPACK_IMPORTED_MODULE_1__["parse"]);
  18019. }
  18020. parseChars(xml) {
  18021. if (!xml) {
  18022. return [];
  18023. }
  18024. return Array.from(xml.querySelectorAll('char')).map(c => this.charParser.parse(c));
  18025. }
  18026. parseGlyphs(xml) {
  18027. if (!xml) {
  18028. return [];
  18029. }
  18030. return Array.from(xml.querySelectorAll('glyph')).map(g => this.glyphParser.parse(g));
  18031. }
  18032. }
  18033. CharacterDeclarationsParserService.ɵfac = function CharacterDeclarationsParserService_Factory(t) { return new (t || CharacterDeclarationsParserService)(); };
  18034. CharacterDeclarationsParserService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ token: CharacterDeclarationsParserService, factory: CharacterDeclarationsParserService.ɵfac, providedIn: 'root' });
  18035. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](CharacterDeclarationsParserService, [{
  18036. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"],
  18037. args: [{
  18038. providedIn: 'root',
  18039. }]
  18040. }], null, null); })();
  18041. /***/ }),
  18042. /***/ "t6RO":
  18043. /*!***********************************************************************!*\
  18044. !*** ./src/app/components/content-viewer/content-viewer.component.ts ***!
  18045. \***********************************************************************/
  18046. /*! exports provided: ContentViewerComponent */
  18047. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  18048. "use strict";
  18049. __webpack_require__.r(__webpack_exports__);
  18050. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ContentViewerComponent", function() { return ContentViewerComponent; });
  18051. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "fXoL");
  18052. /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rxjs */ "qCKp");
  18053. /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs/operators */ "kU1M");
  18054. /* harmony import */ var _models_evt_models__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../models/evt-models */ "5c0l");
  18055. /* harmony import */ var _services_component_register_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../services/component-register.service */ "d25s");
  18056. /* harmony import */ var _services_entities_select_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../services/entities-select.service */ "KA5I");
  18057. /* harmony import */ var _services_lems_select_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../services/lems-select.service */ "Z5dB");
  18058. /* harmony import */ var _services_iperlems_select_service__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../services/iperlems-select.service */ "LjVO");
  18059. /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @angular/common */ "ofXK");
  18060. /* harmony import */ var ng_dynamic_component__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ng-dynamic-component */ "CS/5");
  18061. const _c0 = ["container"];
  18062. function ContentViewerComponent_ng_container_0_ng_container_1_Template(rf, ctx) { if (rf & 1) {
  18063. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainer"](0);
  18064. } }
  18065. function ContentViewerComponent_ng_container_0_Template(rf, ctx) { if (rf & 1) {
  18066. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
  18067. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, ContentViewerComponent_ng_container_0_ng_container_1_Template, 1, 0, "ng-container", 2);
  18068. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
  18069. } if (rf & 2) {
  18070. const context_r3 = ctx.ngIf;
  18071. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
  18072. const _r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵreference"](3);
  18073. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  18074. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngTemplateOutlet", _r1)("ngTemplateOutletContext", context_r3);
  18075. } }
  18076. function ContentViewerComponent_ng_template_2_Template(rf, ctx) { if (rf & 1) {
  18077. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "ndc-dynamic", 3);
  18078. } if (rf & 2) {
  18079. const parsedContent_r5 = ctx.parsedContent;
  18080. const inputs_r6 = ctx.inputs;
  18081. const outputs_r7 = ctx.outputs;
  18082. const attributes_r8 = ctx.attributes;
  18083. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ndcDynamicComponent", parsedContent_r5.type)("ndcDynamicInputs", inputs_r6)("ndcDynamicOutputs", outputs_r7)("ndcDynamicAttributes", attributes_r8);
  18084. } }
  18085. class ContentViewerComponent {
  18086. constructor(componentRegister, entitiesSelectService, lemsSelectService, iperlemsSelectService) {
  18087. this.componentRegister = componentRegister;
  18088. this.entitiesSelectService = entitiesSelectService;
  18089. this.lemsSelectService = lemsSelectService;
  18090. this.iperlemsSelectService = iperlemsSelectService;
  18091. this.contentChange = new rxjs__WEBPACK_IMPORTED_MODULE_1__["BehaviorSubject"](undefined);
  18092. this.itemsToHighlightChange = new rxjs__WEBPACK_IMPORTED_MODULE_1__["BehaviorSubject"]([]);
  18093. this.itemsLemsToHighlightChange = new rxjs__WEBPACK_IMPORTED_MODULE_1__["BehaviorSubject"]([]);
  18094. this.itemsIperlemsToHighlightChange = new rxjs__WEBPACK_IMPORTED_MODULE_1__["BehaviorSubject"]([]);
  18095. this.editionLevelChange = new rxjs__WEBPACK_IMPORTED_MODULE_1__["BehaviorSubject"]('');
  18096. this.textFlowChange = new rxjs__WEBPACK_IMPORTED_MODULE_1__["BehaviorSubject"](undefined);
  18097. // tslint:disable-next-line: no-any
  18098. this.parsedContent = this.contentChange.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])((data) => {
  18099. var _a;
  18100. return (Object.assign(Object.assign({}, data), { type: this.componentRegister.getComponent((_a = data === null || data === void 0 ? void 0 : data.type) !== null && _a !== void 0 ? _a : _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["GenericElement"]) || this.componentRegister.getComponent(_models_evt_models__WEBPACK_IMPORTED_MODULE_3__["GenericElement"]) }));
  18101. }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["shareReplay"])(1));
  18102. // tslint:disable-next-line: no-any
  18103. this.inputs = Object(rxjs__WEBPACK_IMPORTED_MODULE_1__["combineLatest"])([
  18104. this.contentChange,
  18105. this.itemsToHighlightChange,
  18106. this.itemsLemsToHighlightChange,
  18107. this.itemsIperlemsToHighlightChange,
  18108. this.editionLevelChange,
  18109. this.textFlowChange,
  18110. ]).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(([data, itemsToHighlight, itemsLemsToHighlight, itemsIperlemsToHighlight, editionLevel, textFlow]) => {
  18111. if (this.toBeHighlighted()) {
  18112. return {
  18113. data,
  18114. highlightData: this.getHighlightData(data, itemsToHighlight),
  18115. highlightDataLem: this.getHighlightDataLem(data, itemsLemsToHighlight),
  18116. highlightDataIperlem: this.getHighlightDataIperlem(data, itemsIperlemsToHighlight),
  18117. itemsToHighlight,
  18118. itemsLemsToHighlight,
  18119. itemsIperlemsToHighlight,
  18120. editionLevel,
  18121. textFlow,
  18122. };
  18123. }
  18124. return {
  18125. data,
  18126. editionLevel,
  18127. textFlow,
  18128. };
  18129. }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["shareReplay"])(1));
  18130. // tslint:disable-next-line: ban-types
  18131. this.outputs = this.contentChange.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(() => ({})), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["shareReplay"])(1));
  18132. this.attributes = this.contentChange.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["filter"])(parsedContent => !!parsedContent), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])((parsedContent) => (Object.assign(Object.assign({}, parsedContent.attributes || {}), { class: `edition-font ${parsedContent.class || ''}` }))), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["shareReplay"])(1));
  18133. this.context$ = Object(rxjs__WEBPACK_IMPORTED_MODULE_1__["combineLatest"])([
  18134. this.parsedContent,
  18135. this.inputs,
  18136. this.outputs,
  18137. this.attributes,
  18138. ]).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(([parsedContent, inputs, outputs, attributes]) => ({ parsedContent, inputs, outputs, attributes })));
  18139. }
  18140. set content(v) {
  18141. this.v = v;
  18142. this.contentChange.next(v);
  18143. }
  18144. get content() { return this.v; }
  18145. set itemsToHighlight(i) {
  18146. this.ith = i;
  18147. this.itemsToHighlightChange.next(i);
  18148. }
  18149. get itemsToHighlight() { return this.ith; }
  18150. set itemsLemsToHighlight(i) {
  18151. this.ithlems = i;
  18152. this.itemsLemsToHighlightChange.next(i);
  18153. }
  18154. get itemsLemsToHighlight() { return this.ithlems; }
  18155. set itemsIperlemsToHighlight(i) {
  18156. this.ithiperlems = i;
  18157. this.itemsIperlemsToHighlightChange.next(i);
  18158. }
  18159. get itemsIperlemsToHighlight() { return this.ithiperlems; }
  18160. set editionLevel(el) {
  18161. this.edLevel = el;
  18162. this.editionLevelChange.next(el);
  18163. }
  18164. get editionLevel() { return this.edLevel; }
  18165. set textFlow(t) {
  18166. this.txtFlow = t;
  18167. this.textFlowChange.next(t);
  18168. }
  18169. get textFlow() { return this.txtFlow; }
  18170. toBeHighlighted() {
  18171. return true; // TODO: Decide when an item should be highlighted
  18172. }
  18173. getHighlightData(data, ith) {
  18174. var _a, _b;
  18175. return {
  18176. highlight: (_a = ith === null || ith === void 0 ? void 0 : ith.some(i => { var _a; return this.entitiesSelectService.matchClassAndAttributes(i.value, (_a = data === null || data === void 0 ? void 0 : data.attributes) !== null && _a !== void 0 ? _a : {}, data === null || data === void 0 ? void 0 : data.class); })) !== null && _a !== void 0 ? _a : false,
  18177. highlightColor: this.entitiesSelectService.getHighlightColor((_b = data === null || data === void 0 ? void 0 : data.attributes) !== null && _b !== void 0 ? _b : {}, data === null || data === void 0 ? void 0 : data.class, ith),
  18178. };
  18179. }
  18180. getHighlightDataLem(data, ithlems) {
  18181. var _a, _b;
  18182. return {
  18183. highlight: (_a = ithlems === null || ithlems === void 0 ? void 0 : ithlems.some(i => { var _a; return this.lemsSelectService.matchClassAndAttributes(i.value, (_a = data === null || data === void 0 ? void 0 : data.attributes) !== null && _a !== void 0 ? _a : {}, data === null || data === void 0 ? void 0 : data.class); })) !== null && _a !== void 0 ? _a : false,
  18184. highlightColor: this.lemsSelectService.getHighlightColor((_b = data === null || data === void 0 ? void 0 : data.attributes) !== null && _b !== void 0 ? _b : {}, data === null || data === void 0 ? void 0 : data.class, ithlems),
  18185. };
  18186. }
  18187. getHighlightDataIperlem(data, ithiperlems) {
  18188. var _a, _b;
  18189. return {
  18190. highlight: (_a = ithiperlems === null || ithiperlems === void 0 ? void 0 : ithiperlems.some(i => { var _a; return this.iperlemsSelectService.matchClassAndAttributes(i.value, (_a = data === null || data === void 0 ? void 0 : data.attributes) !== null && _a !== void 0 ? _a : {}, data === null || data === void 0 ? void 0 : data.class); })) !== null && _a !== void 0 ? _a : false,
  18191. highlightColor: this.iperlemsSelectService.getHighlightColor((_b = data === null || data === void 0 ? void 0 : data.attributes) !== null && _b !== void 0 ? _b : {}, data === null || data === void 0 ? void 0 : data.class, ithiperlems),
  18192. };
  18193. }
  18194. ngOnDestroy() {
  18195. if (this.componentRef) {
  18196. this.componentRef.destroy();
  18197. this.componentRef = undefined;
  18198. }
  18199. }
  18200. }
  18201. ContentViewerComponent.ɵfac = function ContentViewerComponent_Factory(t) { return new (t || ContentViewerComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_services_component_register_service__WEBPACK_IMPORTED_MODULE_4__["ComponentRegisterService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_services_entities_select_service__WEBPACK_IMPORTED_MODULE_5__["EntitiesSelectService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_services_lems_select_service__WEBPACK_IMPORTED_MODULE_6__["LemsSelectService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_services_iperlems_select_service__WEBPACK_IMPORTED_MODULE_7__["IperlemsSelectService"])); };
  18202. ContentViewerComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: ContentViewerComponent, selectors: [["evt-content-viewer"]], viewQuery: function ContentViewerComponent_Query(rf, ctx) { if (rf & 1) {
  18203. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵviewQuery"](_c0, true, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"]);
  18204. } if (rf & 2) {
  18205. let _t;
  18206. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵloadQuery"]()) && (ctx.container = _t.first);
  18207. } }, inputs: { content: "content", itemsToHighlight: "itemsToHighlight", itemsLemsToHighlight: "itemsLemsToHighlight", itemsIperlemsToHighlight: "itemsIperlemsToHighlight", editionLevel: "editionLevel", textFlow: "textFlow" }, decls: 4, vars: 3, consts: [[4, "ngIf"], ["dynamicTemplate", ""], [4, "ngTemplateOutlet", "ngTemplateOutletContext"], [3, "ndcDynamicComponent", "ndcDynamicInputs", "ndcDynamicOutputs", "ndcDynamicAttributes"]], template: function ContentViewerComponent_Template(rf, ctx) { if (rf & 1) {
  18208. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](0, ContentViewerComponent_ng_container_0_Template, 2, 2, "ng-container", 0);
  18209. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](1, "async");
  18210. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, ContentViewerComponent_ng_template_2_Template, 1, 4, "ng-template", null, 1, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplateRefExtractor"]);
  18211. } if (rf & 2) {
  18212. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](1, 1, ctx.context$));
  18213. } }, directives: [_angular_common__WEBPACK_IMPORTED_MODULE_8__["NgIf"], _angular_common__WEBPACK_IMPORTED_MODULE_8__["NgTemplateOutlet"], ng_dynamic_component__WEBPACK_IMPORTED_MODULE_9__["DynamicComponent"], ng_dynamic_component__WEBPACK_IMPORTED_MODULE_9__["DynamicIoDirective"], ng_dynamic_component__WEBPACK_IMPORTED_MODULE_9__["DynamicAttributesDirective"]], pipes: [_angular_common__WEBPACK_IMPORTED_MODULE_8__["AsyncPipe"]], encapsulation: 2 });
  18214. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](ContentViewerComponent, [{
  18215. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
  18216. args: [{
  18217. selector: 'evt-content-viewer',
  18218. templateUrl: './content-viewer.component.html',
  18219. }]
  18220. }], function () { return [{ type: _services_component_register_service__WEBPACK_IMPORTED_MODULE_4__["ComponentRegisterService"] }, { type: _services_entities_select_service__WEBPACK_IMPORTED_MODULE_5__["EntitiesSelectService"] }, { type: _services_lems_select_service__WEBPACK_IMPORTED_MODULE_6__["LemsSelectService"] }, { type: _services_iperlems_select_service__WEBPACK_IMPORTED_MODULE_7__["IperlemsSelectService"] }]; }, { content: [{
  18221. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
  18222. }], itemsToHighlight: [{
  18223. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
  18224. }], itemsLemsToHighlight: [{
  18225. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
  18226. }], itemsIperlemsToHighlight: [{
  18227. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
  18228. }], container: [{
  18229. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewChild"],
  18230. args: ['container', { read: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"] }]
  18231. }], editionLevel: [{
  18232. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
  18233. }], textFlow: [{
  18234. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
  18235. }] }); })();
  18236. /***/ }),
  18237. /***/ "tOBz":
  18238. /*!*************************************************************!*\
  18239. !*** ./src/app/view-modes/collation/collation.component.ts ***!
  18240. \*************************************************************/
  18241. /*! exports provided: CollationComponent */
  18242. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  18243. "use strict";
  18244. __webpack_require__.r(__webpack_exports__);
  18245. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CollationComponent", function() { return CollationComponent; });
  18246. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "fXoL");
  18247. /* harmony import */ var angular_gridster2__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! angular-gridster2 */ "Ljk9");
  18248. /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs/operators */ "kU1M");
  18249. /* harmony import */ var src_app_services_evt_status_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! src/app/services/evt-status.service */ "7Ht4");
  18250. /* harmony import */ var _panels_text_panel_text_panel_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../panels/text-panel/text-panel.component */ "CHR5");
  18251. /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/common */ "ofXK");
  18252. /* harmony import */ var _ui_components_button_button_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../ui-components/button/button.component */ "UjKN");
  18253. /* harmony import */ var _panels_witness_panel_witness_panel_component__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../panels/witness-panel/witness-panel.component */ "9MqL");
  18254. /* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @ngx-translate/core */ "sYmb");
  18255. const _c0 = ["collationPanel"];
  18256. function CollationComponent_gridster_7_gridster_item_1_Template(rf, ctx) { if (rf & 1) {
  18257. const _r6 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
  18258. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "gridster-item", 1);
  18259. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "evt-witness-panel", 8);
  18260. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("hide", function CollationComponent_gridster_7_gridster_item_1_Template_evt_witness_panel_hide_1_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r6); const i_r4 = ctx.index; const ctx_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2); return ctx_r5.removeWitness(i_r4); });
  18261. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  18262. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  18263. } if (rf & 2) {
  18264. const witness_r3 = ctx.$implicit;
  18265. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("item", witness_r3.itemConfig);
  18266. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  18267. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("witness", witness_r3.label);
  18268. } }
  18269. function CollationComponent_gridster_7_Template(rf, ctx) { if (rf & 1) {
  18270. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "gridster", 0);
  18271. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, CollationComponent_gridster_7_gridster_item_1_Template, 2, 2, "gridster-item", 7);
  18272. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  18273. } if (rf & 2) {
  18274. const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
  18275. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("options", ctx_r1.collationOptions);
  18276. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  18277. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx_r1.getWitnesses());
  18278. } }
  18279. class CollationComponent {
  18280. constructor(evtStatusService) {
  18281. this.evtStatusService = evtStatusService;
  18282. this.witnesses = [];
  18283. this.options = {};
  18284. this.textPanelItem = { cols: 1, rows: 1, y: 0, x: 0 };
  18285. this.collationPanelItem = { cols: 1, rows: 1, y: 0, x: 1 };
  18286. this.collationOptions = {};
  18287. this.subscriptions = [];
  18288. this.currentPageID$ = this.evtStatusService.currentStatus$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(({ page }) => page.id));
  18289. }
  18290. get witnessBtn() {
  18291. return {
  18292. label: this.witnesses.length > 0 ? '' : 'addWitness',
  18293. title: this.witnesses.length > 0 ? 'addWitness' : '',
  18294. additionalClasses: `btn-floating ${this.witnesses.length > 0 ? 'rounded-circle' : ''}`,
  18295. icon: { iconSet: 'fas', icon: 'plus' },
  18296. };
  18297. }
  18298. ngOnInit() {
  18299. this.initGridster();
  18300. }
  18301. changePage(selectedPage) {
  18302. this.evtStatusService.updatePage$.next(selectedPage);
  18303. }
  18304. getWitnesses() {
  18305. return this.witnesses;
  18306. }
  18307. addWitness() {
  18308. const id = (this.witnesses.length + 1).toString(); // TODO: TEMP
  18309. const newWit = {
  18310. label: id,
  18311. itemConfig: { cols: 1, rows: 1, y: 0, x: this.witnesses.length + 1, id },
  18312. };
  18313. this.witnesses.push(newWit); // TODO: TEMP
  18314. this.updateGridsterOptions();
  18315. // TODO: Come gestiamo la rotta nel caso di testimoni collazionati?
  18316. }
  18317. removeWitness(index) {
  18318. this.witnesses.splice(index, 1);
  18319. this.updateGridsterOptions();
  18320. }
  18321. initGridster() {
  18322. this.options = {
  18323. gridType: angular_gridster2__WEBPACK_IMPORTED_MODULE_1__["GridType"].Fit,
  18324. displayGrid: angular_gridster2__WEBPACK_IMPORTED_MODULE_1__["DisplayGrid"].None,
  18325. margin: 0,
  18326. maxCols: 2,
  18327. maxRows: 1,
  18328. draggable: {
  18329. enabled: false,
  18330. },
  18331. resizable: {
  18332. enabled: false,
  18333. },
  18334. };
  18335. this.collationOptions = {
  18336. gridType: angular_gridster2__WEBPACK_IMPORTED_MODULE_1__["GridType"].Fit,
  18337. displayGrid: angular_gridster2__WEBPACK_IMPORTED_MODULE_1__["DisplayGrid"].None,
  18338. compactType: angular_gridster2__WEBPACK_IMPORTED_MODULE_1__["CompactType"].CompactLeft,
  18339. scrollToNewItems: true,
  18340. margin: 0,
  18341. maxRows: 1,
  18342. draggable: {
  18343. enabled: true,
  18344. ignoreContent: true,
  18345. dragHandleClass: 'panel-header',
  18346. },
  18347. resizable: {
  18348. enabled: false,
  18349. },
  18350. mobileBreakpoint: 0,
  18351. itemResizeCallback: this.updateFixedColWidth.bind(this),
  18352. itemChangeCallback: this.itemChange.bind(this),
  18353. };
  18354. }
  18355. itemChange() {
  18356. const updatedWitList = [];
  18357. for (const witItem of this.witnesses) {
  18358. const witIndex = witItem.itemConfig.x;
  18359. updatedWitList[witIndex] = witItem.label;
  18360. }
  18361. // TODO: Use this list to update URL params
  18362. console.log('TODO! Use this list to update URL params', updatedWitList);
  18363. }
  18364. updateGridsterOptions() {
  18365. this.options.maxCols = this.witnesses.length <= 1 ? 2 : 3;
  18366. this.collationPanelItem.cols = this.witnesses.length <= 1 ? 1 : 2;
  18367. this.collationOptions.maxCols = this.witnesses.length;
  18368. this.collationOptions.gridType = this.witnesses.length <= 2 ? angular_gridster2__WEBPACK_IMPORTED_MODULE_1__["GridType"].Fit : angular_gridster2__WEBPACK_IMPORTED_MODULE_1__["GridType"].HorizontalFixed;
  18369. this.changedOptions();
  18370. this.updateFixedColWidth();
  18371. }
  18372. changedOptions() {
  18373. if (this.options.api && this.options.api.optionsChanged) {
  18374. this.options.api.optionsChanged();
  18375. }
  18376. if (this.collationOptions.api && this.collationOptions.api.optionsChanged) {
  18377. this.collationOptions.api.optionsChanged();
  18378. }
  18379. }
  18380. updateFixedColWidth() {
  18381. const collationPanelEl = this.collationPanel.nativeElement;
  18382. const fixedColWidth = collationPanelEl.clientWidth * 0.416666666667;
  18383. this.collationOptions.fixedColWidth = this.witnesses.length > 2 ? fixedColWidth : undefined;
  18384. this.changedOptions();
  18385. }
  18386. ngOnDestroy() {
  18387. this.subscriptions.forEach(subscription => subscription.unsubscribe());
  18388. }
  18389. }
  18390. CollationComponent.ɵfac = function CollationComponent_Factory(t) { return new (t || CollationComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](src_app_services_evt_status_service__WEBPACK_IMPORTED_MODULE_3__["EVTStatusService"])); };
  18391. CollationComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: CollationComponent, selectors: [["evt-collation"]], viewQuery: function CollationComponent_Query(rf, ctx) { if (rf & 1) {
  18392. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵstaticViewQuery"](_c0, true);
  18393. } if (rf & 2) {
  18394. let _t;
  18395. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵloadQuery"]()) && (ctx.collationPanel = _t.first);
  18396. } }, decls: 11, vars: 23, consts: [[3, "options"], [3, "item"], [3, "pageID", "hideEditionLevelSelector", "editionLevelID", "pageChange"], [1, "collationPanel"], ["collationPanel", ""], [3, "options", 4, "ngIf"], [1, "btn", 3, "additionalClasses", "label", "iconLeft", "title", "btnClick"], [3, "item", 4, "ngFor", "ngForOf"], [3, "witness", "hide"]], template: function CollationComponent_Template(rf, ctx) { if (rf & 1) {
  18397. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "gridster", 0);
  18398. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "gridster-item", 1);
  18399. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "evt-text-panel", 2);
  18400. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("pageChange", function CollationComponent_Template_evt_text_panel_pageChange_2_listener($event) { return ctx.changePage($event); });
  18401. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](3, "async");
  18402. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  18403. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  18404. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "gridster-item", 1);
  18405. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](5, "div", 3, 4);
  18406. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](7, CollationComponent_gridster_7_Template, 2, 2, "gridster", 5);
  18407. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](8, "evt-button", 6);
  18408. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("btnClick", function CollationComponent_Template_evt_button_btnClick_8_listener() { return ctx.addWitness(); });
  18409. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](9, "translate");
  18410. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](10, "translate");
  18411. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  18412. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  18413. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  18414. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  18415. } if (rf & 2) {
  18416. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("options", ctx.options);
  18417. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  18418. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("item", ctx.textPanelItem);
  18419. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  18420. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("pageID", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](3, 17, ctx.currentPageID$))("hideEditionLevelSelector", true)("editionLevelID", "critical");
  18421. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
  18422. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("item", ctx.collationPanelItem);
  18423. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  18424. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵclassProp"]("align-self-center", ctx.getWitnesses().length === 0)("empty", ctx.getWitnesses().length === 0);
  18425. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
  18426. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.getWitnesses().length > 0);
  18427. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  18428. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵclassProp"]("btn-float-right", ctx.getWitnesses().length > 0);
  18429. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("additionalClasses", ctx.witnessBtn == null ? null : ctx.witnessBtn.additionalClasses)("label", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](9, 19, ctx.witnessBtn == null ? null : ctx.witnessBtn.label))("iconLeft", ctx.witnessBtn == null ? null : ctx.witnessBtn.icon)("title", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](10, 21, ctx.witnessBtn == null ? null : ctx.witnessBtn.title));
  18430. } }, directives: [angular_gridster2__WEBPACK_IMPORTED_MODULE_1__["GridsterComponent"], angular_gridster2__WEBPACK_IMPORTED_MODULE_1__["GridsterItemComponent"], _panels_text_panel_text_panel_component__WEBPACK_IMPORTED_MODULE_4__["TextPanelComponent"], _angular_common__WEBPACK_IMPORTED_MODULE_5__["NgIf"], _ui_components_button_button_component__WEBPACK_IMPORTED_MODULE_6__["ButtonComponent"], _angular_common__WEBPACK_IMPORTED_MODULE_5__["NgForOf"], _panels_witness_panel_witness_panel_component__WEBPACK_IMPORTED_MODULE_7__["WitnessPanelComponent"]], pipes: [_angular_common__WEBPACK_IMPORTED_MODULE_5__["AsyncPipe"], _ngx_translate_core__WEBPACK_IMPORTED_MODULE_8__["TranslatePipe"]], styles: ["[_ngcontent-%COMP%]:root {\n --thumbnail-height: 150px;\n --thumbnail-width: 100px;\n}\n\n.row[_ngcontent-%COMP%] {\n height: 100%;\n}\n\n.collationPanel[_ngcontent-%COMP%] {\n height: 100%;\n}\n\n.collationPanel.empty[_ngcontent-%COMP%] {\n display: flex;\n}\n\n.collationPanel.empty[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%] {\n margin: auto;\n}\n\n.btn-float-right[_ngcontent-%COMP%] {\n position: absolute;\n right: -0.3rem;\n transform: translate(0, -50%);\n top: 50%;\n z-index: 99999;\n opacity: 0.5;\n}\n\n.btn-float-right[_ngcontent-%COMP%]:hover {\n opacity: 1;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2Fzc2V0cy9zY3NzL192YXJpYWJsZXMuc2NzcyIsIi4uLy4uLy4uLy4uL2NvbGxhdGlvbi5jb21wb25lbnQuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUEyQkE7RUFDSSx5QkFBQTtFQUNBLHdCQUFBO0FDMUJKOztBQUFBO0VBQ0ksWUFBQTtBQUdKOztBQUFBO0VBQ0ksWUFBQTtBQUdKOztBQUZJO0VBQ0ksYUFBQTtBQUlSOztBQUZRO0VBQ0ksWUFBQTtBQUlaOztBQUNBO0VBQ0ksa0JBQUE7RUFDQSxjQUFBO0VBQ0EsNkJBQUE7RUFDQSxRQUFBO0VBQ0EsY0FBQTtFQUNBLFlBQUE7QUFFSjs7QUFESTtFQUNJLFVBQUE7QUFHUiIsImZpbGUiOiJjb2xsYXRpb24uY29tcG9uZW50LnNjc3MiLCJzb3VyY2VzQ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cIjtcbkBpbXBvcnQgXCIuLi8uLi8uLi9hc3NldHMvc2Nzcy9taXhpbnNcIjtcblxuLnJvdyB7XG4gICAgaGVpZ2h0OiAxMDAlO1xufVxuXG4uY29sbGF0aW9uUGFuZWwge1xuICAgIGhlaWdodDogMTAwJTtcbiAgICAmLmVtcHR5IHtcbiAgICAgICAgZGlzcGxheTogZmxleDtcblxuICAgICAgICAuYnRuIHtcbiAgICAgICAgICAgIG1hcmdpbjogYXV0bztcbiAgICAgICAgfVxuICAgIH1cbn1cblxuLmJ0bi1mbG9hdC1yaWdodCB7XG4gICAgcG9zaXRpb246IGFic29sdXRlO1xuICAgIHJpZ2h0OiAtLjNyZW07XG4gICAgdHJhbnNmb3JtOiB0cmFuc2xhdGUoMCwtNTAlKTtcbiAgICB0b3A6IDUwJTtcbiAgICB6LWluZGV4OiA5OTk5OTtcbiAgICBvcGFjaXR5OiAuNTtcbiAgICAmOmhvdmVyIHtcbiAgICAgICAgb3BhY2l0eTogMTtcbiAgICB9XG59Il19 */"] });
  18431. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](CollationComponent, [{
  18432. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
  18433. args: [{
  18434. selector: 'evt-collation',
  18435. templateUrl: './collation.component.html',
  18436. styleUrls: ['./collation.component.scss'],
  18437. }]
  18438. }], function () { return [{ type: src_app_services_evt_status_service__WEBPACK_IMPORTED_MODULE_3__["EVTStatusService"] }]; }, { collationPanel: [{
  18439. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewChild"],
  18440. args: ['collationPanel', { static: true }]
  18441. }] }); })();
  18442. /***/ }),
  18443. /***/ "tv3h":
  18444. /*!**************************************************!*\
  18445. !*** ./src/app/models/evt-polymorphic-models.ts ***!
  18446. \**************************************************/
  18447. /*! exports provided: ViewerSource */
  18448. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  18449. "use strict";
  18450. __webpack_require__.r(__webpack_exports__);
  18451. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ViewerSource", function() { return ViewerSource; });
  18452. /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! rxjs/operators */ "kU1M");
  18453. /* harmony import */ var _app_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../app.config */ "aR35");
  18454. /* harmony import */ var _utils_js_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils/js-utils */ "zSMA");
  18455. class ViewerController {
  18456. constructor(classes) {
  18457. this.factories = Object.fromEntries(Object.entries(classes).map(([key, value]) => ([key, new value()])));
  18458. }
  18459. getSource(source, type) {
  18460. return this.factories[type].getSource(source);
  18461. }
  18462. getTileSource(change, type, http) {
  18463. return this.factories[type].getTileSource(change, http);
  18464. }
  18465. getDataType(type, data) {
  18466. return this.factories[type].getDataType(type, data);
  18467. }
  18468. }
  18469. class ManifestSource {
  18470. getDataType(key) {
  18471. return {
  18472. type: key,
  18473. value: {
  18474. manifestURL: _app_config__WEBPACK_IMPORTED_MODULE_1__["AppConfig"].evtSettings.files.editionImagesSource[key].value,
  18475. },
  18476. };
  18477. }
  18478. getSource(source) {
  18479. return source.value.manifestURL;
  18480. }
  18481. getTileSource(change, http) {
  18482. return (change
  18483. .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_0__["filter"])((url) => !!url), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_0__["distinctUntilChanged"])(), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_0__["switchMap"])((url) => http.get(url)), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_0__["map"])((manifest) => manifest // get the resource fields in the manifest json structure
  18484. .sequences.map((seq) => seq.canvases.map((canv) => canv.images).reduce((x, y) => x.concat(y), []))
  18485. .reduce((x, y) => x.concat(y), []).map((res) => res.resource)
  18486. .map(this.buildTileSource))));
  18487. }
  18488. buildTileSource(manifestResource) {
  18489. return {
  18490. '@context': manifestResource.service['@context'],
  18491. '@id': manifestResource.service['@id'],
  18492. profile: [manifestResource.service['@profile']],
  18493. protocol: 'http://iiif.io/api/image',
  18494. height: manifestResource.height,
  18495. width: manifestResource.width,
  18496. };
  18497. }
  18498. }
  18499. class XMLSource {
  18500. getDataType(key, data) {
  18501. const localImagesFolder = _app_config__WEBPACK_IMPORTED_MODULE_1__["AppConfig"].evtSettings.files.imagesFolderUrl;
  18502. const xmlImages = data.map(s => s[_app_config__WEBPACK_IMPORTED_MODULE_1__["AppConfig"].evtSettings.files.editionImagesSource[key].value]
  18503. ? {
  18504. url: Object(_utils_js_utils__WEBPACK_IMPORTED_MODULE_2__["isUrl"])(s.corresp) ? s.corresp : localImagesFolder + s.corresp,
  18505. } : {
  18506. width: s[key][0].width,
  18507. height: s[key][0].height,
  18508. url: Object(_utils_js_utils__WEBPACK_IMPORTED_MODULE_2__["isUrl"])(s[key][0].url) ? s[key][0].url : localImagesFolder + s[key][0].url,
  18509. });
  18510. return { type: key, value: { xmlImages } };
  18511. }
  18512. getSource(source) {
  18513. return source.value.xmlImages;
  18514. }
  18515. getTileSource(change) {
  18516. return (change
  18517. .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_0__["map"])((value) => value.map(this.buildTileSource))));
  18518. }
  18519. buildTileSource(resource) {
  18520. return {
  18521. type: 'image',
  18522. url: resource.url,
  18523. width: resource.width,
  18524. height: resource.height,
  18525. };
  18526. }
  18527. }
  18528. const ViewerModels = Object.freeze({
  18529. manifest: ManifestSource,
  18530. graphics: XMLSource,
  18531. default: XMLSource,
  18532. });
  18533. const ViewerSource = new ViewerController(ViewerModels);
  18534. /***/ }),
  18535. /***/ "uIHG":
  18536. /*!***************************************************************!*\
  18537. !*** ./src/app/components/additional/additional.component.ts ***!
  18538. \***************************************************************/
  18539. /*! exports provided: AdditionalComponent */
  18540. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  18541. "use strict";
  18542. __webpack_require__.r(__webpack_exports__);
  18543. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AdditionalComponent", function() { return AdditionalComponent; });
  18544. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "mrSG");
  18545. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "fXoL");
  18546. /* harmony import */ var _models_evt_models__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../models/evt-models */ "5c0l");
  18547. /* harmony import */ var _services_component_register_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../services/component-register.service */ "d25s");
  18548. /* harmony import */ var _ui_components_ms_desc_section_ms_desc_section_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../ui-components/ms-desc-section/ms-desc-section.component */ "WyXU");
  18549. /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/common */ "ofXK");
  18550. /* harmony import */ var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../content-viewer/content-viewer.component */ "t6RO");
  18551. function AdditionalComponent_div_2_evt_content_viewer_3_Template(rf, ctx) { if (rf & 1) {
  18552. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 9);
  18553. } if (rf & 2) {
  18554. const s_r9 = ctx.$implicit;
  18555. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", s_r9);
  18556. } }
  18557. function AdditionalComponent_div_2_div_4_evt_content_viewer_1_Template(rf, ctx) { if (rf & 1) {
  18558. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 10);
  18559. } if (rf & 2) {
  18560. const change_r12 = ctx.$implicit;
  18561. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", change_r12);
  18562. } }
  18563. function AdditionalComponent_div_2_div_4_Template(rf, ctx) { if (rf & 1) {
  18564. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div");
  18565. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, AdditionalComponent_div_2_div_4_evt_content_viewer_1_Template, 1, 1, "evt-content-viewer", 8);
  18566. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  18567. } if (rf & 2) {
  18568. const changes_r10 = ctx.$implicit;
  18569. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  18570. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", changes_r10);
  18571. } }
  18572. function AdditionalComponent_div_2_evt_content_viewer_5_Template(rf, ctx) { if (rf & 1) {
  18573. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 10);
  18574. } if (rf & 2) {
  18575. const par_r13 = ctx.$implicit;
  18576. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", par_r13);
  18577. } }
  18578. function AdditionalComponent_div_2_Template(rf, ctx) { if (rf & 1) {
  18579. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 3);
  18580. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](1, "evt-ms-desc-section", 4);
  18581. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](2, "div", 5);
  18582. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, AdditionalComponent_div_2_evt_content_viewer_3_Template, 1, 1, "evt-content-viewer", 6);
  18583. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, AdditionalComponent_div_2_div_4_Template, 2, 1, "div", 7);
  18584. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](5, AdditionalComponent_div_2_evt_content_viewer_5_Template, 1, 1, "evt-content-viewer", 8);
  18585. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  18586. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  18587. } if (rf & 2) {
  18588. const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  18589. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  18590. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "recordHist")("inlineLabel", true);
  18591. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  18592. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r0.data.adminInfo.recordHist == null ? null : ctx_r0.data.adminInfo.recordHist.source);
  18593. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  18594. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r0.data.adminInfo.recordHist == null ? null : ctx_r0.data.adminInfo.recordHist.changes);
  18595. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  18596. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r0.data.adminInfo.recordHist == null ? null : ctx_r0.data.adminInfo.recordHist.pEl);
  18597. } }
  18598. function AdditionalComponent_div_3_evt_content_viewer_3_Template(rf, ctx) { if (rf & 1) {
  18599. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 9);
  18600. } if (rf & 2) {
  18601. const ce_r16 = ctx.$implicit;
  18602. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", ce_r16);
  18603. } }
  18604. function AdditionalComponent_div_3_evt_content_viewer_4_Template(rf, ctx) { if (rf & 1) {
  18605. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 10);
  18606. } if (rf & 2) {
  18607. const par_r17 = ctx.$implicit;
  18608. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", par_r17);
  18609. } }
  18610. function AdditionalComponent_div_3_Template(rf, ctx) { if (rf & 1) {
  18611. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 3);
  18612. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](1, "evt-ms-desc-section", 4);
  18613. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](2, "div", 5);
  18614. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, AdditionalComponent_div_3_evt_content_viewer_3_Template, 1, 1, "evt-content-viewer", 6);
  18615. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, AdditionalComponent_div_3_evt_content_viewer_4_Template, 1, 1, "evt-content-viewer", 8);
  18616. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  18617. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  18618. } if (rf & 2) {
  18619. const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  18620. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  18621. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "custodialHist")("inlineLabel", true);
  18622. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  18623. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r1.data.adminInfo.custodialHist == null ? null : ctx_r1.data.adminInfo.custodialHist.custEvent);
  18624. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  18625. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r1.data.adminInfo.custodialHist == null ? null : ctx_r1.data.adminInfo.custodialHist.pEl);
  18626. } }
  18627. function AdditionalComponent_div_4_div_3_evt_content_viewer_1_Template(rf, ctx) { if (rf & 1) {
  18628. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 10);
  18629. } if (rf & 2) {
  18630. const availability_r21 = ctx.$implicit;
  18631. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", availability_r21);
  18632. } }
  18633. function AdditionalComponent_div_4_div_3_Template(rf, ctx) { if (rf & 1) {
  18634. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div");
  18635. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, AdditionalComponent_div_4_div_3_evt_content_viewer_1_Template, 1, 1, "evt-content-viewer", 8);
  18636. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  18637. } if (rf & 2) {
  18638. const availabilities_r19 = ctx.$implicit;
  18639. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  18640. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", availabilities_r19);
  18641. } }
  18642. function AdditionalComponent_div_4_Template(rf, ctx) { if (rf & 1) {
  18643. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 3);
  18644. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](1, "evt-ms-desc-section", 4);
  18645. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](2, "div", 5);
  18646. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, AdditionalComponent_div_4_div_3_Template, 2, 1, "div", 7);
  18647. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  18648. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  18649. } if (rf & 2) {
  18650. const ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  18651. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  18652. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "availability")("inlineLabel", true);
  18653. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  18654. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r2.data.adminInfo.availabilities);
  18655. } }
  18656. function AdditionalComponent_div_5_evt_content_viewer_3_Template(rf, ctx) { if (rf & 1) {
  18657. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 10);
  18658. } if (rf & 2) {
  18659. const n_r23 = ctx.$implicit;
  18660. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", n_r23);
  18661. } }
  18662. function AdditionalComponent_div_5_Template(rf, ctx) { if (rf & 1) {
  18663. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 3);
  18664. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](1, "evt-ms-desc-section", 4);
  18665. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](2, "div", 5);
  18666. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, AdditionalComponent_div_5_evt_content_viewer_3_Template, 1, 1, "evt-content-viewer", 8);
  18667. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  18668. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  18669. } if (rf & 2) {
  18670. const ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  18671. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  18672. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "adminInfo")("inlineLabel", true);
  18673. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  18674. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r3.data.adminInfo.noteEl);
  18675. } }
  18676. function AdditionalComponent_div_6_div_3_evt_content_viewer_1_Template(rf, ctx) { if (rf & 1) {
  18677. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 10);
  18678. } if (rf & 2) {
  18679. const listBibl_r27 = ctx.$implicit;
  18680. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", listBibl_r27);
  18681. } }
  18682. function AdditionalComponent_div_6_div_3_Template(rf, ctx) { if (rf & 1) {
  18683. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div");
  18684. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, AdditionalComponent_div_6_div_3_evt_content_viewer_1_Template, 1, 1, "evt-content-viewer", 8);
  18685. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  18686. } if (rf & 2) {
  18687. const listBibls_r25 = ctx.$implicit;
  18688. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  18689. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", listBibls_r25);
  18690. } }
  18691. function AdditionalComponent_div_6_Template(rf, ctx) { if (rf & 1) {
  18692. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 3);
  18693. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](1, "evt-ms-desc-section", 4);
  18694. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](2, "div", 5);
  18695. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, AdditionalComponent_div_6_div_3_Template, 2, 1, "div", 7);
  18696. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  18697. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  18698. } if (rf & 2) {
  18699. const ctx_r4 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  18700. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  18701. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "listBibl")("inlineLabel", true);
  18702. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  18703. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r4.data.listBibls);
  18704. } }
  18705. function AdditionalComponent_div_7_evt_content_viewer_3_Template(rf, ctx) { if (rf & 1) {
  18706. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 10);
  18707. } if (rf & 2) {
  18708. const par_r30 = ctx.$implicit;
  18709. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", par_r30);
  18710. } }
  18711. function AdditionalComponent_div_7_div_4_evt_content_viewer_1_Template(rf, ctx) { if (rf & 1) {
  18712. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 10);
  18713. } if (rf & 2) {
  18714. const bibl_r33 = ctx.$implicit;
  18715. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", bibl_r33);
  18716. } }
  18717. function AdditionalComponent_div_7_div_4_Template(rf, ctx) { if (rf & 1) {
  18718. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div");
  18719. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, AdditionalComponent_div_7_div_4_evt_content_viewer_1_Template, 1, 1, "evt-content-viewer", 8);
  18720. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  18721. } if (rf & 2) {
  18722. const bibls_r31 = ctx.$implicit;
  18723. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  18724. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", bibls_r31);
  18725. } }
  18726. function AdditionalComponent_div_7_Template(rf, ctx) { if (rf & 1) {
  18727. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 3);
  18728. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](1, "evt-ms-desc-section", 4);
  18729. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](2, "div", 5);
  18730. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, AdditionalComponent_div_7_evt_content_viewer_3_Template, 1, 1, "evt-content-viewer", 8);
  18731. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, AdditionalComponent_div_7_div_4_Template, 2, 1, "div", 7);
  18732. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  18733. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  18734. } if (rf & 2) {
  18735. const ctx_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  18736. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  18737. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "surrogates")("inlineLabel", true);
  18738. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  18739. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r5.data.surrogates == null ? null : ctx_r5.data.surrogates.pEl);
  18740. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  18741. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r5.data.surrogates == null ? null : ctx_r5.data.surrogates.bibls);
  18742. } }
  18743. let AdditionalComponent = class AdditionalComponent {
  18744. };
  18745. AdditionalComponent.ɵfac = function AdditionalComponent_Factory(t) { return new (t || AdditionalComponent)(); };
  18746. AdditionalComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({ type: AdditionalComponent, selectors: [["evt-additional"]], inputs: { data: "data" }, decls: 8, vars: 8, consts: [[1, "additional"], [3, "label", "underline"], ["class", "flex-container", 4, "ngIf"], [1, "flex-container"], [1, "flex-item-label", 3, "label", "inlineLabel"], [1, "flex-item-information"], ["class", "projectInfo-block", 3, "content", 4, "ngFor", "ngForOf"], [4, "ngFor", "ngForOf"], [3, "content", 4, "ngFor", "ngForOf"], [1, "projectInfo-block", 3, "content"], [3, "content"]], template: function AdditionalComponent_Template(rf, ctx) { if (rf & 1) {
  18747. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 0);
  18748. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](1, "evt-ms-desc-section", 1);
  18749. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, AdditionalComponent_div_2_Template, 6, 5, "div", 2);
  18750. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, AdditionalComponent_div_3_Template, 5, 4, "div", 2);
  18751. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, AdditionalComponent_div_4_Template, 4, 3, "div", 2);
  18752. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](5, AdditionalComponent_div_5_Template, 4, 3, "div", 2);
  18753. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](6, AdditionalComponent_div_6_Template, 4, 3, "div", 2);
  18754. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](7, AdditionalComponent_div_7_Template, 5, 4, "div", 2);
  18755. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  18756. } if (rf & 2) {
  18757. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  18758. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "additional")("underline", true);
  18759. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  18760. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data == null ? null : ctx.data.adminInfo == null ? null : ctx.data.adminInfo.recordHist);
  18761. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  18762. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data == null ? null : ctx.data.adminInfo == null ? null : ctx.data.adminInfo.custodialHist);
  18763. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  18764. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", (ctx.data == null ? null : ctx.data.adminInfo == null ? null : ctx.data.adminInfo.availabilities == null ? null : ctx.data.adminInfo.availabilities.length) > 0);
  18765. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  18766. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", (ctx.data == null ? null : ctx.data.adminInfo == null ? null : ctx.data.adminInfo.noteEl == null ? null : ctx.data.adminInfo.noteEl.length) > 0);
  18767. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  18768. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", (ctx.data == null ? null : ctx.data.listBibls.length) > 0);
  18769. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  18770. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data == null ? null : ctx.data.surrogates);
  18771. } }, directives: [_ui_components_ms_desc_section_ms_desc_section_component__WEBPACK_IMPORTED_MODULE_4__["MsDescSectionComponent"], _angular_common__WEBPACK_IMPORTED_MODULE_5__["NgIf"], _angular_common__WEBPACK_IMPORTED_MODULE_5__["NgForOf"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_6__["ContentViewerComponent"]], styles: [".additional[_ngcontent-%COMP%] {\n margin-bottom: 2rem;\n}\n\n.projectInfo-block[_ngcontent-%COMP%] {\n display: block;\n}\n\n.flex-container[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n}\n\n.flex-item-label[_ngcontent-%COMP%] {\n flex-basis: 100%;\n}\n\n.flex-item-information[_ngcontent-%COMP%] {\n flex-basis: 100%;\n margin-bottom: 0.7rem;\n}\n\n@media (min-width: 1400px) {\n .flex-item-label[_ngcontent-%COMP%] {\n flex-basis: 20%;\n }\n\n .flex-item-information[_ngcontent-%COMP%] {\n flex-basis: 80%;\n }\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2FkZGl0aW9uYWwuY29tcG9uZW50LnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7RUFDSSxtQkFBQTtBQUNKOztBQUVBO0VBQ0ksY0FBQTtBQUNKOztBQUVBO0VBQ0ksYUFBQTtFQUNBLG1CQUFBO0VBQ0EsZUFBQTtBQUNKOztBQUVBO0VBQ0ksZ0JBQUE7QUFDSjs7QUFFQTtFQUNJLGdCQUFBO0VBQ0EscUJBQUE7QUFDSjs7QUFFQTtFQUNJO0lBQ0ksZUFBQTtFQUNOOztFQUVFO0lBQ0ksZUFBQTtFQUNOO0FBQ0YiLCJmaWxlIjoiYWRkaXRpb25hbC5jb21wb25lbnQuc2NzcyIsInNvdXJjZXNDb250ZW50IjpbIi5hZGRpdGlvbmFsIHtcbiAgICBtYXJnaW4tYm90dG9tOiAycmVtO1xufVxuXG4ucHJvamVjdEluZm8tYmxvY2sge1xuICAgIGRpc3BsYXk6IGJsb2NrO1xufVxuXG4uZmxleC1jb250YWluZXIge1xuICAgIGRpc3BsYXk6IGZsZXg7XG4gICAgZmxleC1kaXJlY3Rpb246IHJvdztcbiAgICBmbGV4LXdyYXA6IHdyYXA7XG59XG5cbi5mbGV4LWl0ZW0tbGFiZWwge1xuICAgIGZsZXgtYmFzaXM6IDEwMCU7XG59XG5cbi5mbGV4LWl0ZW0taW5mb3JtYXRpb24ge1xuICAgIGZsZXgtYmFzaXM6IDEwMCU7XG4gICAgbWFyZ2luLWJvdHRvbTogMC43cmVtO1xufVxuXG5AbWVkaWEgKG1pbi13aWR0aDogMTQwMHB4KSB7IFxuICAgIC5mbGV4LWl0ZW0tbGFiZWwge1xuICAgICAgICBmbGV4LWJhc2lzOiAyMCU7XG4gICAgICB9XG4gICAgICBcbiAgICAuZmxleC1pdGVtLWluZm9ybWF0aW9uIHtcbiAgICAgICAgZmxleC1iYXNpczogODAlO1xuICAgIH1cbiB9XG4iXX0= */"] });
  18772. AdditionalComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  18773. Object(_services_component_register_service__WEBPACK_IMPORTED_MODULE_3__["register"])(_models_evt_models__WEBPACK_IMPORTED_MODULE_2__["Additional"])
  18774. ], AdditionalComponent);
  18775. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](AdditionalComponent, [{
  18776. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
  18777. args: [{
  18778. selector: 'evt-additional',
  18779. templateUrl: './additional.component.html',
  18780. styleUrls: ['./additional.component.scss'],
  18781. }]
  18782. }], null, { data: [{
  18783. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
  18784. }] }); })();
  18785. /***/ }),
  18786. /***/ "uazz":
  18787. /*!*************************************************************!*\
  18788. !*** ./src/app/components/resp-stmt/resp-stmt.component.ts ***!
  18789. \*************************************************************/
  18790. /*! exports provided: RespStmtComponent */
  18791. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  18792. "use strict";
  18793. __webpack_require__.r(__webpack_exports__);
  18794. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "RespStmtComponent", function() { return RespStmtComponent; });
  18795. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "mrSG");
  18796. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "fXoL");
  18797. /* harmony import */ var _models_evt_models__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../models/evt-models */ "5c0l");
  18798. /* harmony import */ var _services_component_register_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../services/component-register.service */ "d25s");
  18799. /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/common */ "ofXK");
  18800. /* harmony import */ var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../content-viewer/content-viewer.component */ "t6RO");
  18801. function RespStmtComponent_ng_container_1_ng_container_2_Template(rf, ctx) { if (rf & 1) {
  18802. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
  18803. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1);
  18804. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
  18805. } if (rf & 2) {
  18806. const ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
  18807. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  18808. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"]("(", ctx_r3.data.responsibility.date, ") ");
  18809. } }
  18810. function RespStmtComponent_ng_container_1_evt_content_viewer_3_Template(rf, ctx) { if (rf & 1) {
  18811. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 5);
  18812. } if (rf & 2) {
  18813. const el_r5 = ctx.$implicit;
  18814. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", el_r5);
  18815. } }
  18816. function RespStmtComponent_ng_container_1_Template(rf, ctx) { if (rf & 1) {
  18817. const _r7 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵgetCurrentView"]();
  18818. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
  18819. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "span", 4);
  18820. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("click", function RespStmtComponent_ng_container_1_Template_span_click_1_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵrestoreView"](_r7); const ctx_r6 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](); return ctx_r6.openNormalizedResp(ctx_r6.data.responsibility); });
  18821. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, RespStmtComponent_ng_container_1_ng_container_2_Template, 2, 1, "ng-container", 1);
  18822. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, RespStmtComponent_ng_container_1_evt_content_viewer_3_Template, 1, 1, "evt-content-viewer", 3);
  18823. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](4);
  18824. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  18825. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
  18826. } if (rf & 2) {
  18827. const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  18828. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  18829. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵclassProp"]("has-link", ctx_r0.data.responsibility.normalizedResp);
  18830. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  18831. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx_r0.data.responsibility.date);
  18832. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  18833. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r0.data.responsibility.content);
  18834. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  18835. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"](" ", " ", " ");
  18836. } }
  18837. function RespStmtComponent_span_2_Template(rf, ctx) { if (rf & 1) {
  18838. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span");
  18839. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](1, "evt-content-viewer", 5);
  18840. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](2);
  18841. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](3);
  18842. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
  18843. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  18844. } if (rf & 2) {
  18845. const subj_r8 = ctx.$implicit;
  18846. const i_r9 = ctx.index;
  18847. const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  18848. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  18849. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", subj_r8);
  18850. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  18851. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](i_r9 < (ctx_r1.data == null ? null : ctx_r1.data.people.length) - 1 ? ", " : "");
  18852. } }
  18853. function RespStmtComponent_evt_content_viewer_3_Template(rf, ctx) { if (rf & 1) {
  18854. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 5);
  18855. } if (rf & 2) {
  18856. const note_r10 = ctx.$implicit;
  18857. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", note_r10);
  18858. } }
  18859. let RespStmtComponent = class RespStmtComponent {
  18860. openNormalizedResp(resp) {
  18861. if (resp.normalizedResp) {
  18862. window.open(resp.normalizedResp, '_blank');
  18863. }
  18864. }
  18865. };
  18866. RespStmtComponent.ɵfac = function RespStmtComponent_Factory(t) { return new (t || RespStmtComponent)(); };
  18867. RespStmtComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({ type: RespStmtComponent, selectors: [["evt-resp-stmt"]], inputs: { data: "data" }, decls: 4, vars: 3, consts: [[1, "resp-stmt"], [4, "ngIf"], [4, "ngFor", "ngForOf"], [3, "content", 4, "ngFor", "ngForOf"], [1, "responsibility", 3, "click"], [3, "content"]], template: function RespStmtComponent_Template(rf, ctx) { if (rf & 1) {
  18868. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 0);
  18869. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, RespStmtComponent_ng_container_1_Template, 5, 5, "ng-container", 1);
  18870. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, RespStmtComponent_span_2_Template, 4, 2, "span", 2);
  18871. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, RespStmtComponent_evt_content_viewer_3_Template, 1, 1, "evt-content-viewer", 3);
  18872. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  18873. } if (rf & 2) {
  18874. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  18875. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data.responsibility);
  18876. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  18877. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx.data == null ? null : ctx.data.people);
  18878. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  18879. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx.data == null ? null : ctx.data.notes);
  18880. } }, directives: [_angular_common__WEBPACK_IMPORTED_MODULE_4__["NgIf"], _angular_common__WEBPACK_IMPORTED_MODULE_4__["NgForOf"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_5__["ContentViewerComponent"]], styles: [".responsibility[_ngcontent-%COMP%] {\n font-weight: bold;\n}\n.responsibility.has-link[_ngcontent-%COMP%] {\n cursor: pointer;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Jlc3Atc3RtdC5jb21wb25lbnQuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNJLGlCQUFBO0FBQ0o7QUFBSTtFQUNJLGVBQUE7QUFFUiIsImZpbGUiOiJyZXNwLXN0bXQuY29tcG9uZW50LnNjc3MiLCJzb3VyY2VzQ29udGVudCI6WyIucmVzcG9uc2liaWxpdHkge1xuICAgIGZvbnQtd2VpZ2h0OiBib2xkO1xuICAgICYuaGFzLWxpbmsge1xuICAgICAgICBjdXJzb3I6IHBvaW50ZXI7XG4gICAgfVxufVxuIl19 */"] });
  18881. RespStmtComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  18882. Object(_services_component_register_service__WEBPACK_IMPORTED_MODULE_3__["register"])(_models_evt_models__WEBPACK_IMPORTED_MODULE_2__["RespStmt"])
  18883. ], RespStmtComponent);
  18884. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](RespStmtComponent, [{
  18885. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
  18886. args: [{
  18887. selector: 'evt-resp-stmt',
  18888. templateUrl: './resp-stmt.component.html',
  18889. styleUrls: ['./resp-stmt.component.scss'],
  18890. }]
  18891. }], null, { data: [{
  18892. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
  18893. }] }); })();
  18894. /***/ }),
  18895. /***/ "v4aR":
  18896. /*!*************************************************************************************!*\
  18897. !*** ./src/app/components/named-entity-relation/named-entity-relation.component.ts ***!
  18898. \*************************************************************************************/
  18899. /*! exports provided: NamedEntityRelationComponent */
  18900. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  18901. "use strict";
  18902. __webpack_require__.r(__webpack_exports__);
  18903. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NamedEntityRelationComponent", function() { return NamedEntityRelationComponent; });
  18904. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "mrSG");
  18905. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "fXoL");
  18906. /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs/operators */ "kU1M");
  18907. /* harmony import */ var _models_evt_models__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../models/evt-models */ "5c0l");
  18908. /* harmony import */ var _services_component_register_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../services/component-register.service */ "d25s");
  18909. /* harmony import */ var _services_evt_model_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../services/evt-model.service */ "hI0h");
  18910. /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/common */ "ofXK");
  18911. /* harmony import */ var _directives_html_attributes_directive__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../directives/html-attributes.directive */ "0Bbq");
  18912. /* harmony import */ var _ui_components_icon_icon_component__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../ui-components/icon/icon.component */ "Mijh");
  18913. /* harmony import */ var _named_entity_named_entity_component__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../named-entity/named-entity.component */ "k8Vd");
  18914. /* harmony import */ var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../content-viewer/content-viewer.component */ "t6RO");
  18915. /* harmony import */ var _pipes_humanize_pipe__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../pipes/humanize.pipe */ "Wu1i");
  18916. function NamedEntityRelationComponent_small_1_Template(rf, ctx) { if (rf & 1) {
  18917. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "small", 7);
  18918. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1);
  18919. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](2, "lowercase");
  18920. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  18921. } if (rf & 2) {
  18922. const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  18923. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  18924. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](2, 1, ctx_r0.data.relationType));
  18925. } }
  18926. function NamedEntityRelationComponent_ng_template_4_ng_template_0_Template(rf, ctx) { }
  18927. const _c0 = function (a0, a1) { return { part: a0, last: a1 }; };
  18928. function NamedEntityRelationComponent_ng_template_4_Template(rf, ctx) { if (rf & 1) {
  18929. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](0, NamedEntityRelationComponent_ng_template_4_ng_template_0_Template, 0, 0, "ng-template", 8);
  18930. } if (rf & 2) {
  18931. const part_r8 = ctx.$implicit;
  18932. const last_r9 = ctx.last;
  18933. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  18934. const _r6 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵreference"](16);
  18935. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r6)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction2"](2, _c0, part_r8, last_r9));
  18936. } }
  18937. function NamedEntityRelationComponent_ng_template_6_ng_template_0_Template(rf, ctx) { }
  18938. function NamedEntityRelationComponent_ng_template_6_Template(rf, ctx) { if (rf & 1) {
  18939. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](0, NamedEntityRelationComponent_ng_template_6_ng_template_0_Template, 0, 0, "ng-template", 8);
  18940. } if (rf & 2) {
  18941. const part_r11 = ctx.$implicit;
  18942. const last_r12 = ctx.last;
  18943. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  18944. const _r6 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵreference"](16);
  18945. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r6)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction2"](2, _c0, part_r11, last_r12));
  18946. } }
  18947. function NamedEntityRelationComponent_ng_template_11_ng_template_0_Template(rf, ctx) { }
  18948. function NamedEntityRelationComponent_ng_template_11_Template(rf, ctx) { if (rf & 1) {
  18949. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](0, NamedEntityRelationComponent_ng_template_11_ng_template_0_Template, 0, 0, "ng-template", 8);
  18950. } if (rf & 2) {
  18951. const part_r14 = ctx.$implicit;
  18952. const last_r15 = ctx.last;
  18953. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  18954. const _r6 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵreference"](16);
  18955. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r6)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction2"](2, _c0, part_r14, last_r15));
  18956. } }
  18957. function NamedEntityRelationComponent_evt_named_entity_13_Template(rf, ctx) { if (rf & 1) {
  18958. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-named-entity", 9);
  18959. } if (rf & 2) {
  18960. const ctx_r4 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  18961. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("data", ctx_r4.selectedEntity)("inList", false);
  18962. } }
  18963. function NamedEntityRelationComponent_div_14_evt_content_viewer_1_Template(rf, ctx) { if (rf & 1) {
  18964. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 12);
  18965. } if (rf & 2) {
  18966. const el_r18 = ctx.$implicit;
  18967. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", el_r18);
  18968. } }
  18969. function NamedEntityRelationComponent_div_14_Template(rf, ctx) { if (rf & 1) {
  18970. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 10);
  18971. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, NamedEntityRelationComponent_div_14_evt_content_viewer_1_Template, 1, 1, "evt-content-viewer", 11);
  18972. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  18973. } if (rf & 2) {
  18974. const ctx_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  18975. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  18976. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r5.data.description);
  18977. } }
  18978. function NamedEntityRelationComponent_ng_template_15_Template(rf, ctx) { if (rf & 1) {
  18979. const _r22 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵgetCurrentView"]();
  18980. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 13);
  18981. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("click", function NamedEntityRelationComponent_ng_template_15_Template_span_click_0_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵrestoreView"](_r22); const part_r19 = ctx.part; const ctx_r21 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](); return ctx_r21.toggleEntity(part_r19.entity); });
  18982. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1);
  18983. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  18984. } if (rf & 2) {
  18985. const part_r19 = ctx.part;
  18986. const last_r20 = ctx.last;
  18987. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵclassMapInterpolate1"]("relation-entity ", part_r19.entity == null ? null : part_r19.entity.namedEntityType, "");
  18988. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵclassProp"]("disabled", !part_r19.entity);
  18989. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  18990. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](part_r19.label + (!last_r20 ? ", " : ""));
  18991. } }
  18992. const _c1 = function (a0, a1) { return { "p-3": a0, "border-bottom": a1 }; };
  18993. const _c2 = function () { return { icon: "network-wired", additionalClasses: "mr-2" }; };
  18994. let NamedEntityRelationComponent = class NamedEntityRelationComponent {
  18995. constructor(evtModelService) {
  18996. this.evtModelService = evtModelService;
  18997. this.activeParts$ = this.getEntities('activeParts');
  18998. this.mutualParts$ = this.getEntities('mutualParts');
  18999. this.passiveParts$ = this.getEntities('passiveParts');
  19000. }
  19001. toggleEntity(entity) {
  19002. // TODO: if inEntity, then open entity in list
  19003. if (!this.inEntity) {
  19004. if (this.selectedEntity === entity) {
  19005. this.selectedEntity = undefined;
  19006. }
  19007. else {
  19008. this.selectedEntity = entity;
  19009. }
  19010. }
  19011. }
  19012. getEntities(partIdsGroup) {
  19013. return this.evtModelService.namedEntities$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(ne => this.data[partIdsGroup].map(entityId => {
  19014. const entity = ne.all.entities.find(e => e.id === entityId);
  19015. return {
  19016. id: entityId,
  19017. entity,
  19018. get label() {
  19019. return (entity ? entity.label : entityId);
  19020. },
  19021. };
  19022. })), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(nes => nes.filter(e => !!e)));
  19023. }
  19024. };
  19025. NamedEntityRelationComponent.ɵfac = function NamedEntityRelationComponent_Factory(t) { return new (t || NamedEntityRelationComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_services_evt_model_service__WEBPACK_IMPORTED_MODULE_5__["EVTModelService"])); };
  19026. NamedEntityRelationComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({ type: NamedEntityRelationComponent, selectors: [["evt-named-entity-relation"]], inputs: { data: "data", inEntity: "inEntity" }, decls: 17, vars: 24, consts: [[1, "relation", "pb-2", 3, "ngClass", "evtHtmlAttributes"], ["class", "relation-type", 4, "ngIf"], [3, "iconInfo"], ["ngFor", "", 3, "ngForOf"], [3, "data", "inList", 4, "ngIf"], ["class", "relation-description text-secondary", 4, "ngIf"], ["relationParticipant", ""], [1, "relation-type"], [3, "ngTemplateOutlet", "ngTemplateOutletContext"], [3, "data", "inList"], [1, "relation-description", "text-secondary"], [3, "content", 4, "ngFor", "ngForOf"], [3, "content"], [3, "click"]], template: function NamedEntityRelationComponent_Template(rf, ctx) { if (rf & 1) {
  19027. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 0);
  19028. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, NamedEntityRelationComponent_small_1_Template, 3, 3, "small", 1);
  19029. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](2, "div");
  19030. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](3, "evt-icon", 2);
  19031. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, NamedEntityRelationComponent_ng_template_4_Template, 1, 5, "ng-template", 3);
  19032. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](5, "async");
  19033. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](6, NamedEntityRelationComponent_ng_template_6_Template, 1, 5, "ng-template", 3);
  19034. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](7, "async");
  19035. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](8);
  19036. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](9, "lowercase");
  19037. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](10, "humanize");
  19038. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](11, NamedEntityRelationComponent_ng_template_11_Template, 1, 5, "ng-template", 3);
  19039. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](12, "async");
  19040. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](13, NamedEntityRelationComponent_evt_named_entity_13_Template, 1, 2, "evt-named-entity", 4);
  19041. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  19042. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](14, NamedEntityRelationComponent_div_14_Template, 2, 1, "div", 5);
  19043. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  19044. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](15, NamedEntityRelationComponent_ng_template_15_Template, 2, 6, "ng-template", null, 6, _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplateRefExtractor"]);
  19045. } if (rf & 2) {
  19046. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction2"](20, _c1, !ctx.inEntity, !ctx.inEntity))("evtHtmlAttributes", ctx.data == null ? null : ctx.data.attributes);
  19047. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  19048. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data.relationType);
  19049. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  19050. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("iconInfo", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction0"](23, _c2));
  19051. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  19052. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](5, 10, ctx.activeParts$));
  19053. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  19054. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](7, 12, ctx.mutualParts$));
  19055. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  19056. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](9, 14, _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](10, 16, ctx.data.name)), " ");
  19057. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](3);
  19058. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](12, 18, ctx.passiveParts$));
  19059. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  19060. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.selectedEntity);
  19061. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  19062. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data.description.length > 0);
  19063. } }, directives: [_angular_common__WEBPACK_IMPORTED_MODULE_6__["NgClass"], _directives_html_attributes_directive__WEBPACK_IMPORTED_MODULE_7__["HtmlAttributesDirective"], _angular_common__WEBPACK_IMPORTED_MODULE_6__["NgIf"], _ui_components_icon_icon_component__WEBPACK_IMPORTED_MODULE_8__["IconComponent"], _angular_common__WEBPACK_IMPORTED_MODULE_6__["NgForOf"], _angular_common__WEBPACK_IMPORTED_MODULE_6__["NgTemplateOutlet"], _named_entity_named_entity_component__WEBPACK_IMPORTED_MODULE_9__["NamedEntityComponent"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_10__["ContentViewerComponent"]], pipes: [_angular_common__WEBPACK_IMPORTED_MODULE_6__["AsyncPipe"], _angular_common__WEBPACK_IMPORTED_MODULE_6__["LowerCasePipe"], _pipes_humanize_pipe__WEBPACK_IMPORTED_MODULE_11__["HumanizePipe"]], styles: [".relation-entity[_ngcontent-%COMP%] {\n cursor: pointer;\n}\n.relation-entity.disabled[_ngcontent-%COMP%] {\n cursor: default;\n}\n.relation-entity.person[_ngcontent-%COMP%] {\n background: #FFF0F1;\n border-bottom-color: #FFF0F2;\n}\n.relation-entity.person.active[_ngcontent-%COMP%] {\n background-color: #FFF0F2;\n border-right-color: #FFF0F2;\n}\n.relation-entity.person.active[_ngcontent-%COMP%]:not(:first-child) {\n border-left-color: #FFF0F2;\n}\n.relation-entity.person[_ngcontent-%COMP%]:hover {\n background-color: #FFF0F2;\n}\n.relation-entity.place[_ngcontent-%COMP%] {\n background: #EEF7EF;\n border-bottom-color: #c8e6c9;\n}\n.relation-entity.place.active[_ngcontent-%COMP%] {\n background-color: #c8e6c9;\n border-right-color: #c8e6c9;\n}\n.relation-entity.place.active[_ngcontent-%COMP%]:not(:first-child) {\n border-left-color: #c8e6c9;\n}\n.relation-entity.place[_ngcontent-%COMP%]:hover {\n background-color: #c8e6c9;\n}\n.relation-entity.org[_ngcontent-%COMP%] {\n background: #FFE9C9;\n border-bottom-color: #FFCC80;\n}\n.relation-entity.org.active[_ngcontent-%COMP%] {\n background-color: #FFCC80;\n border-right-color: #FFCC80;\n}\n.relation-entity.org.active[_ngcontent-%COMP%]:not(:first-child) {\n border-left-color: #FFCC80;\n}\n.relation-entity.org[_ngcontent-%COMP%]:hover {\n background-color: #FFCC80;\n}\n.relation-entity.event[_ngcontent-%COMP%] {\n background: #fffdc9;\n border-bottom-color: #ffffb0;\n}\n.relation-entity.event.active[_ngcontent-%COMP%] {\n background-color: #ffffb0;\n border-right-color: #ffffb0;\n}\n.relation-entity.event.active[_ngcontent-%COMP%]:not(:first-child) {\n border-left-color: #ffffb0;\n}\n.relation-entity.event[_ngcontent-%COMP%]:hover {\n background-color: #ffffb0;\n}\n.relation-type[_ngcontent-%COMP%] {\n font-variant: small-caps;\n}\n.relation-description[_ngcontent-%COMP%] {\n font-size: 90%;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL25hbWVkLWVudGl0eS1yZWxhdGlvbi5jb21wb25lbnQuc2NzcyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2Fzc2V0cy9zY3NzL19taXhpbnMuc2NzcyJ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29sb3ItbWlkZGxlO1xuXG4gICAgJjpub3QoOmZpcnN0LWNoaWxkKSB7XG4gICAgICBib3JkZXItbGVmdC1jb2xvcjogJGNvbG9yLW1pZGRsZTtcbiAgICB9XG4gIH1cblxuICAmOmhvdmVyIHtcbiAgICBiYWNrZ3JvdW5kLWNvbG9yOiAkY29sb3ItbWlkZGxlO1xuICB9XG59XG5cbkBtaXhpbiBpcGVybGVtbWF0aXplZEVudGl0eVJlZkNvbG9ycygkY29sb3ItYmFzZSwgJGNvbG9yLW1pZGRsZSwgJGNvbG9yLWRhcmtlcikge1xuICBiYWNrZ3JvdW5kOiAkY29sb3ItYmFzZTtcbiAgYm9yZGVyLWJvdHRvbS1jb2xvcjogJGNvbG9yLW1pZGRsZTtcblxuICAmLmFjdGl2ZSB7XG4gICAgYmFja2dyb3VuZC1jb2xvcjogJGNvbG9yLW1pZGRsZTtcbiAgICBib3JkZXItcmlnaHQtY29sb3I6ICRjb2xvci1taWRkbGU7XG5cbiAgICAmOm5vdCg6Zmlyc3QtY2hpbGQpIHtcbiAgICAgIGJvcmRlci1sZWZ0LWNvbG9yOiAkY29sb3ItbWlkZGxlO1xuICAgIH1cbiAgfVxuXG4gICY6aG92ZXIge1xuICAgIGJhY2tncm91bmQtY29sb3I6ICRjb2xvci1taWRkbGU7XG4gIH1cbn1cblxuXG5AbWl4aW4gaGVhZGVyU2VjdGlvblRpdGxlKCkge1xuICBib3JkZXItYm90dG9tOiAxcHggZG90dGVkICM2NjY7XG4gIG1hcmdpbi1ib3R0b206IDVweDtcbiAgZm9udC12YXJpYW50OiBzbWFsbC1jYXBzO1xuICBjb2xvcjogIzAwMDtcbiAgZm9udC1zaXplOiAxLjJyZW07XG4gIGRpc3BsYXk6IGJsb2NrO1xuICBtYXJnaW4tdG9wOiAxNHB4O1xuICB0ZXh0LWFsaWduOiBsZWZ0O1xufSJdfQ== */"] });
  19064. NamedEntityRelationComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  19065. Object(_services_component_register_service__WEBPACK_IMPORTED_MODULE_4__["register"])(_models_evt_models__WEBPACK_IMPORTED_MODULE_3__["Relation"])
  19066. ], NamedEntityRelationComponent);
  19067. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](NamedEntityRelationComponent, [{
  19068. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
  19069. args: [{
  19070. selector: 'evt-named-entity-relation',
  19071. templateUrl: './named-entity-relation.component.html',
  19072. styleUrls: ['./named-entity-relation.component.scss'],
  19073. }]
  19074. }], function () { return [{ type: _services_evt_model_service__WEBPACK_IMPORTED_MODULE_5__["EVTModelService"] }]; }, { data: [{
  19075. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
  19076. }], inEntity: [{
  19077. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
  19078. }] }); })();
  19079. /***/ }),
  19080. /***/ "vY5A":
  19081. /*!***************************************!*\
  19082. !*** ./src/app/app-routing.module.ts ***!
  19083. \***************************************/
  19084. /*! exports provided: AppRoutingModule */
  19085. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  19086. "use strict";
  19087. __webpack_require__.r(__webpack_exports__);
  19088. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AppRoutingModule", function() { return AppRoutingModule; });
  19089. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "fXoL");
  19090. /* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/router */ "tyNb");
  19091. /* harmony import */ var _view_modes_collation_collation_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./view-modes/collation/collation.component */ "tOBz");
  19092. /* harmony import */ var _view_modes_image_text_image_text_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./view-modes/image-text/image-text.component */ "OEwW");
  19093. /* harmony import */ var _view_modes_reading_text_reading_text_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./view-modes/reading-text/reading-text.component */ "BnO0");
  19094. /* harmony import */ var _view_modes_text_sources_text_sources_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./view-modes/text-sources/text-sources.component */ "6tsE");
  19095. /* harmony import */ var _view_modes_text_text_text_text_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./view-modes/text-text/text-text.component */ "DJp8");
  19096. /* harmony import */ var _view_modes_text_versions_text_versions_component__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./view-modes/text-versions/text-versions.component */ "Izqa");
  19097. const appRoutes = [
  19098. { path: 'imageText', component: _view_modes_image_text_image_text_component__WEBPACK_IMPORTED_MODULE_3__["ImageTextComponent"] },
  19099. { path: 'readingText', component: _view_modes_reading_text_reading_text_component__WEBPACK_IMPORTED_MODULE_4__["ReadingTextComponent"] },
  19100. { path: 'textText', component: _view_modes_text_text_text_text_component__WEBPACK_IMPORTED_MODULE_6__["TextTextComponent"] },
  19101. { path: 'collation', component: _view_modes_collation_collation_component__WEBPACK_IMPORTED_MODULE_2__["CollationComponent"] },
  19102. { path: 'textSources', component: _view_modes_text_sources_text_sources_component__WEBPACK_IMPORTED_MODULE_5__["TextSourcesComponent"] },
  19103. { path: 'textVersions', component: _view_modes_text_versions_text_versions_component__WEBPACK_IMPORTED_MODULE_7__["TextVersionsComponent"] },
  19104. ];
  19105. class AppRoutingModule {
  19106. }
  19107. AppRoutingModule.ɵmod = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineNgModule"]({ type: AppRoutingModule });
  19108. AppRoutingModule.ɵinj = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjector"]({ factory: function AppRoutingModule_Factory(t) { return new (t || AppRoutingModule)(); }, imports: [[_angular_router__WEBPACK_IMPORTED_MODULE_1__["RouterModule"].forRoot(appRoutes, { relativeLinkResolution: 'legacy' })], _angular_router__WEBPACK_IMPORTED_MODULE_1__["RouterModule"]] });
  19109. (function () { (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵsetNgModuleScope"](AppRoutingModule, { imports: [_angular_router__WEBPACK_IMPORTED_MODULE_1__["RouterModule"]], exports: [_angular_router__WEBPACK_IMPORTED_MODULE_1__["RouterModule"]] }); })();
  19110. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](AppRoutingModule, [{
  19111. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"],
  19112. args: [{
  19113. imports: [_angular_router__WEBPACK_IMPORTED_MODULE_1__["RouterModule"].forRoot(appRoutes, { relativeLinkResolution: 'legacy' })],
  19114. exports: [_angular_router__WEBPACK_IMPORTED_MODULE_1__["RouterModule"]],
  19115. }]
  19116. }], null, null); })();
  19117. /***/ }),
  19118. /***/ "vpHg":
  19119. /*!***************************************************!*\
  19120. !*** ./src/app/components/char/char.component.ts ***!
  19121. \***************************************************/
  19122. /*! exports provided: CharComponent */
  19123. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  19124. "use strict";
  19125. __webpack_require__.r(__webpack_exports__);
  19126. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CharComponent", function() { return CharComponent; });
  19127. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "mrSG");
  19128. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "fXoL");
  19129. /* harmony import */ var _models_evt_models__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../models/evt-models */ "5c0l");
  19130. /* harmony import */ var _services_component_register_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../services/component-register.service */ "d25s");
  19131. /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/common */ "ofXK");
  19132. /* harmony import */ var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../content-viewer/content-viewer.component */ "t6RO");
  19133. function CharComponent_div_3_evt_content_viewer_4_Template(rf, ctx) { if (rf & 1) {
  19134. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 7);
  19135. } if (rf & 2) {
  19136. const element_r3 = ctx.$implicit;
  19137. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", element_r3);
  19138. } }
  19139. function CharComponent_div_3_Template(rf, ctx) { if (rf & 1) {
  19140. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 3);
  19141. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "span", 4);
  19142. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](2);
  19143. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  19144. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](3, "span", 5);
  19145. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, CharComponent_div_3_evt_content_viewer_4_Template, 1, 1, "evt-content-viewer", 6);
  19146. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  19147. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  19148. } if (rf & 2) {
  19149. const mapping_r1 = ctx.$implicit;
  19150. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  19151. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate2"]("", mapping_r1.type, " ", mapping_r1.subtype, "");
  19152. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  19153. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵattribute"]("data-type", mapping_r1.type)("data-subtype", mapping_r1.subtype);
  19154. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  19155. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", mapping_r1.content);
  19156. } }
  19157. let CharComponent = class CharComponent {
  19158. };
  19159. CharComponent.ɵfac = function CharComponent_Factory(t) { return new (t || CharComponent)(); };
  19160. CharComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({ type: CharComponent, selectors: [["evt-char"]], inputs: { data: "data" }, decls: 4, vars: 2, consts: [[1, "char"], [1, "char-name"], ["class", "char-mapping", 4, "ngFor", "ngForOf"], [1, "char-mapping"], [1, "char-mapping-label"], [1, "char-mapping-value"], [3, "content", 4, "ngFor", "ngForOf"], [3, "content"]], template: function CharComponent_Template(rf, ctx) { if (rf & 1) {
  19161. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 0);
  19162. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "div", 1);
  19163. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](2);
  19164. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  19165. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, CharComponent_div_3_Template, 5, 5, "div", 2);
  19166. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  19167. } if (rf & 2) {
  19168. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  19169. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](ctx.data.name);
  19170. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  19171. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx.data.mappings);
  19172. } }, directives: [_angular_common__WEBPACK_IMPORTED_MODULE_4__["NgForOf"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_5__["ContentViewerComponent"]], styles: [".char[_ngcontent-%COMP%] {\n padding: 10px;\n border: 1px solid #efefef;\n margin: 2px;\n}\n\n.char-name[_ngcontent-%COMP%] {\n font-weight: bolder;\n}\n\n.char-mapping[_ngcontent-%COMP%] {\n display: flex;\n flex-wrap: wrap;\n margin: 0;\n padding: 0;\n}\n\n.char-mapping-label[_ngcontent-%COMP%], .char-mapping-value[_ngcontent-%COMP%] {\n box-sizing: border-box;\n flex-grow: 1;\n width: 100%;\n overflow: hidden;\n}\n\n.char-mapping-label[_ngcontent-%COMP%] {\n width: 20%;\n font-variant: small-caps;\n}\n\n.char-mapping-value[_ngcontent-%COMP%] {\n width: 80%;\n}\n\n.char-mapping-value[data-type=codepoint][_ngcontent-%COMP%] {\n font-family: monospace;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2NoYXIuY29tcG9uZW50LnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7RUFDSSxhQUFBO0VBQ0EseUJBQUE7RUFDQSxXQUFBO0FBQ0o7O0FBRUE7RUFDSSxtQkFBQTtBQUNKOztBQUVBO0VBQ0ksYUFBQTtFQUNBLGVBQUE7RUFDQSxTQUFBO0VBQ0EsVUFBQTtBQUNKOztBQUVBOztFQUVJLHNCQUFBO0VBRUEsWUFBQTtFQUNBLFdBQUE7RUFDQSxnQkFBQTtBQUNKOztBQUdBO0VBQ0ksVUFBQTtFQUNBLHdCQUFBO0FBQUo7O0FBR0E7RUFDSSxVQUFBO0FBQUo7O0FBRUk7RUFDSSxzQkFBQTtBQUFSIiwiZmlsZSI6ImNoYXIuY29tcG9uZW50LnNjc3MiLCJzb3VyY2VzQ29udGVudCI6WyIuY2hhciB7XG4gICAgcGFkZGluZzogMTBweDtcbiAgICBib3JkZXI6IDFweCBzb2xpZCAjZWZlZmVmO1xuICAgIG1hcmdpbjogMnB4O1xufVxuXG4uY2hhci1uYW1lIHtcbiAgICBmb250LXdlaWdodDogYm9sZGVyO1xufVxuXG4uY2hhci1tYXBwaW5nIHtcbiAgICBkaXNwbGF5OiBmbGV4O1xuICAgIGZsZXgtd3JhcDogd3JhcDtcbiAgICBtYXJnaW46IDA7XG4gICAgcGFkZGluZzogMDtcbn1cblxuLmNoYXItbWFwcGluZy1sYWJlbCxcbi5jaGFyLW1hcHBpbmctdmFsdWUge1xuICAgIGJveC1zaXppbmc6IGJvcmRlci1ib3g7XG4gICAgLXdlYmtpdC1ib3gtZmxleDogMTtcbiAgICBmbGV4LWdyb3c6IDE7XG4gICAgd2lkdGg6IDEwMCU7XG4gICAgb3ZlcmZsb3c6IGhpZGRlbjtcblxufVxuXG4uY2hhci1tYXBwaW5nLWxhYmVsIHtcbiAgICB3aWR0aDogMjAlO1xuICAgIGZvbnQtdmFyaWFudDogc21hbGwtY2Fwcztcbn1cblxuLmNoYXItbWFwcGluZy12YWx1ZSB7XG4gICAgd2lkdGg6IDgwJTtcblxuICAgICZbZGF0YS10eXBlPVwiY29kZXBvaW50XCJdIHtcbiAgICAgICAgZm9udC1mYW1pbHk6IG1vbm9zcGFjZTtcbiAgICB9XG59Il19 */"] });
  19173. CharComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  19174. Object(_services_component_register_service__WEBPACK_IMPORTED_MODULE_3__["register"])(_models_evt_models__WEBPACK_IMPORTED_MODULE_2__["Char"])
  19175. ], CharComponent);
  19176. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](CharComponent, [{
  19177. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
  19178. args: [{
  19179. selector: 'evt-char',
  19180. templateUrl: './char.component.html',
  19181. styleUrls: ['./char.component.scss'],
  19182. }]
  19183. }], null, { data: [{
  19184. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
  19185. }] }); })();
  19186. /***/ }),
  19187. /***/ "w3ho":
  19188. /*!*********************************************************************************!*\
  19189. !*** ./src/app/components/named-entities-list/named-entities-list.component.ts ***!
  19190. \*********************************************************************************/
  19191. /*! exports provided: NamedEntitiesListComponent */
  19192. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  19193. "use strict";
  19194. __webpack_require__.r(__webpack_exports__);
  19195. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NamedEntitiesListComponent", function() { return NamedEntitiesListComponent; });
  19196. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "mrSG");
  19197. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "fXoL");
  19198. /* harmony import */ var _models_evt_models__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../models/evt-models */ "5c0l");
  19199. /* harmony import */ var _services_component_register_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../services/component-register.service */ "d25s");
  19200. /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/common */ "ofXK");
  19201. /* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/forms */ "3Pt+");
  19202. /* harmony import */ var _ui_components_button_button_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../ui-components/button/button.component */ "UjKN");
  19203. /* harmony import */ var _angular_cdk_scrolling__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @angular/cdk/scrolling */ "vxfF");
  19204. /* harmony import */ var _angular_cdk_experimental_scrolling__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @angular/cdk-experimental/scrolling */ "cfqv");
  19205. /* harmony import */ var _named_entity_named_entity_component__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../named-entity/named-entity.component */ "k8Vd");
  19206. /* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @ngx-translate/core */ "sYmb");
  19207. /* harmony import */ var _pipes_filter_pipe__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../pipes/filter.pipe */ "BhhM");
  19208. /* harmony import */ var _pipes_starts_with_pipe__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../../pipes/starts-with.pipe */ "6uNG");
  19209. const _c0 = function () { return { icon: "search" }; };
  19210. const _c1 = function () { return { icon: "times" }; };
  19211. function NamedEntitiesListComponent_div_1_form_1_Template(rf, ctx) { if (rf & 1) {
  19212. const _r6 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵgetCurrentView"]();
  19213. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "form", 8);
  19214. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "input", 9);
  19215. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("ngModelChange", function NamedEntitiesListComponent_div_1_form_1_Template_input_ngModelChange_1_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵrestoreView"](_r6); const ctx_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2); return ctx_r5.querySearch = $event; });
  19216. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](2, "translate");
  19217. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  19218. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](3, "div", 10);
  19219. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](4, "evt-button", 11);
  19220. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("btnClick", function NamedEntitiesListComponent_div_1_form_1_Template_evt_button_btnClick_4_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵrestoreView"](_r6); const ctx_r7 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2); return ctx_r7.toggleCaseSensitiveSearch($event); });
  19221. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  19222. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](5, "evt-button", 12);
  19223. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](6, "evt-button", 13);
  19224. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("btnClick", function NamedEntitiesListComponent_div_1_form_1_Template_evt_button_btnClick_6_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵrestoreView"](_r6); const ctx_r8 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2); return ctx_r8.toggleSearch(); });
  19225. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  19226. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  19227. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  19228. } if (rf & 2) {
  19229. const ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
  19230. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  19231. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("placeholder", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](2, 10, "search"))("ngModel", ctx_r3.querySearch);
  19232. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](3);
  19233. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("type", "submit")("toggler", true)("active", ctx_r3.caseSensitiveSearch)("label", "aA");
  19234. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  19235. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("iconLeft", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction0"](12, _c0))("type", "submit")("disabled", !ctx_r3.querySearch);
  19236. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  19237. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("iconLeft", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction0"](13, _c1));
  19238. } }
  19239. function NamedEntitiesListComponent_div_1_nav_2_li_3_Template(rf, ctx) { if (rf & 1) {
  19240. const _r12 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵgetCurrentView"]();
  19241. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "li", 17);
  19242. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "span", 18);
  19243. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("click", function NamedEntitiesListComponent_div_1_nav_2_li_3_Template_span_click_1_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵrestoreView"](_r12); const key_r10 = ctx.$implicit; const ctx_r11 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](3); return ctx_r11.selectedKey = key_r10; });
  19244. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](2);
  19245. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  19246. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  19247. } if (rf & 2) {
  19248. const key_r10 = ctx.$implicit;
  19249. const ctx_r9 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](3);
  19250. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵclassProp"]("active", ctx_r9.selectedKey === key_r10);
  19251. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  19252. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](key_r10);
  19253. } }
  19254. function NamedEntitiesListComponent_div_1_nav_2_Template(rf, ctx) { if (rf & 1) {
  19255. const _r14 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵgetCurrentView"]();
  19256. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "nav");
  19257. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "ul", 14);
  19258. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](2, "evt-button", 15);
  19259. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("btnClick", function NamedEntitiesListComponent_div_1_nav_2_Template_evt_button_btnClick_2_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵrestoreView"](_r14); const ctx_r13 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2); return ctx_r13.toggleSearch(); });
  19260. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  19261. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, NamedEntitiesListComponent_div_1_nav_2_li_3_Template, 3, 3, "li", 16);
  19262. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  19263. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  19264. } if (rf & 2) {
  19265. const ctx_r4 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
  19266. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  19267. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("iconLeft", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction0"](2, _c0));
  19268. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  19269. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r4.navigationKeys);
  19270. } }
  19271. function NamedEntitiesListComponent_div_1_Template(rf, ctx) { if (rf & 1) {
  19272. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 5);
  19273. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, NamedEntitiesListComponent_div_1_form_1_Template, 7, 14, "form", 6);
  19274. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, NamedEntitiesListComponent_div_1_nav_2_Template, 4, 3, "nav", 7);
  19275. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  19276. } if (rf & 2) {
  19277. const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  19278. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  19279. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx_r0.searchOpened);
  19280. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  19281. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", !ctx_r0.searchOpened);
  19282. } }
  19283. function NamedEntitiesListComponent_cdk_virtual_scroll_viewport_3_ng_container_1_evt_named_entity_1_Template(rf, ctx) { if (rf & 1) {
  19284. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-named-entity", 23);
  19285. } if (rf & 2) {
  19286. const entity_r16 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]().$implicit;
  19287. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("inList", true)("data", entity_r16);
  19288. } }
  19289. function NamedEntitiesListComponent_cdk_virtual_scroll_viewport_3_ng_container_1_div_2_Template(rf, ctx) { if (rf & 1) {
  19290. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 24);
  19291. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1);
  19292. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](2, "translate");
  19293. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  19294. } if (rf & 2) {
  19295. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  19296. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](2, 1, "noMatches"), " ");
  19297. } }
  19298. function NamedEntitiesListComponent_cdk_virtual_scroll_viewport_3_ng_container_1_Template(rf, ctx) { if (rf & 1) {
  19299. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
  19300. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, NamedEntitiesListComponent_cdk_virtual_scroll_viewport_3_ng_container_1_evt_named_entity_1_Template, 1, 2, "evt-named-entity", 21);
  19301. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, NamedEntitiesListComponent_cdk_virtual_scroll_viewport_3_ng_container_1_div_2_Template, 3, 3, "div", 22);
  19302. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
  19303. } if (rf & 2) {
  19304. const entity_r16 = ctx.$implicit;
  19305. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  19306. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", entity_r16);
  19307. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  19308. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", !entity_r16);
  19309. } }
  19310. function NamedEntitiesListComponent_cdk_virtual_scroll_viewport_3_Template(rf, ctx) { if (rf & 1) {
  19311. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "cdk-virtual-scroll-viewport", 19);
  19312. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, NamedEntitiesListComponent_cdk_virtual_scroll_viewport_3_ng_container_1_Template, 3, 2, "ng-container", 20);
  19313. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](2, "filter");
  19314. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](3, "startsWith");
  19315. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  19316. } if (rf & 2) {
  19317. const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  19318. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  19319. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("cdkVirtualForOf", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind4"](2, 2, _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind3"](3, 7, ctx_r1.data == null ? null : ctx_r1.data.content, "sortKey", ctx_r1.querySearch ? "" : ctx_r1.selectedKey), "label", ctx_r1.querySearch, ctx_r1.caseSensitiveSearch))("cdkVirtualForTemplateCacheSize", 0);
  19320. } }
  19321. function NamedEntitiesListComponent_div_4_Template(rf, ctx) { if (rf & 1) {
  19322. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 25);
  19323. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1);
  19324. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](2, "translate");
  19325. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  19326. } if (rf & 2) {
  19327. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  19328. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](2, 1, "noEntities"), " ");
  19329. } }
  19330. let NamedEntitiesListComponent = class NamedEntitiesListComponent {
  19331. constructor() {
  19332. this.searchedEntities = new _angular_core__WEBPACK_IMPORTED_MODULE_1__["EventEmitter"]();
  19333. this.navigationKeys = [];
  19334. this.searchOpened = false;
  19335. this.querySearch = '';
  19336. this.querySearchSubmitted = '';
  19337. this.caseSensitiveSearch = false;
  19338. }
  19339. set selectedKey(k) {
  19340. this._selectedKey = k;
  19341. }
  19342. get selectedKey() { return this._selectedKey; }
  19343. ngOnInit() {
  19344. this.initKeys();
  19345. }
  19346. ngOnChanges() {
  19347. this.initKeys();
  19348. }
  19349. toggleSearch() {
  19350. this.searchOpened = !this.searchOpened;
  19351. this.querySearch = '';
  19352. this.querySearchSubmitted = '';
  19353. this.searchedEntities.emit(this.querySearch);
  19354. }
  19355. toggleCaseSensitiveSearch(event) {
  19356. this.caseSensitiveSearch = event.active;
  19357. }
  19358. initKeys() {
  19359. if (!!this.data && !!this.data.content && this.data.content.length > 0) {
  19360. this.navigationKeys = this.data.content
  19361. .filter(el => el.namedEntityType === this.data.namedEntityType)
  19362. .map(el => { var _a; return (_a = el.sortKey) === null || _a === void 0 ? void 0 : _a.substr(0, 1).toLowerCase(); })
  19363. .filter((item, i, ar) => item && ar.indexOf(item) === i)
  19364. .sort();
  19365. this.selectedKey = this.navigationKeys[0] || '';
  19366. }
  19367. }
  19368. };
  19369. NamedEntitiesListComponent.ɵfac = function NamedEntitiesListComponent_Factory(t) { return new (t || NamedEntitiesListComponent)(); };
  19370. NamedEntitiesListComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({ type: NamedEntitiesListComponent, selectors: [["evt-named-entities-list"]], inputs: { data: "data" }, outputs: { searchedEntities: "searchedEntities" }, features: [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵNgOnChangesFeature"]], decls: 5, vars: 3, consts: [[1, "card", "border-0", "ne-list"], ["class", "card-header p-0 m-0", 4, "ngIf"], [1, "card-body", "ne-list-body", "p-0", "m-0"], ["autosize", "", 4, "ngIf"], ["class", "p-3 ne-list-msg", 4, "ngIf"], [1, "card-header", "p-0", "m-0"], ["class", "input-group p-1", 4, "ngIf"], [4, "ngIf"], [1, "input-group", "p-1"], ["type", "input", "name", "search", 1, "form-control", "form-control-sm", "ne-list-search", 3, "placeholder", "ngModel", "ngModelChange"], [1, "input-group-append"], ["additionalClasses", "border", 3, "type", "toggler", "active", "label", "btnClick"], ["additionalClasses", "border", 3, "iconLeft", "type", "disabled"], ["additionalClasses", "border", 3, "iconLeft", "btnClick"], [1, "pagination", "pagination-sm", "justify-content-center", "m-0", "p-1"], ["additionalClasses", "mr-2", 3, "iconLeft", "btnClick"], ["class", "page-item", 3, "active", 4, "ngFor", "ngForOf"], [1, "page-item"], [1, "page-link", 3, "click"], ["autosize", ""], [4, "cdkVirtualFor", "cdkVirtualForOf", "cdkVirtualForTemplateCacheSize"], [3, "inList", "data", 4, "ngIf"], ["class", "p-3", 4, "ngIf"], [3, "inList", "data"], [1, "p-3"], [1, "p-3", "ne-list-msg"]], template: function NamedEntitiesListComponent_Template(rf, ctx) { if (rf & 1) {
  19371. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 0);
  19372. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, NamedEntitiesListComponent_div_1_Template, 3, 2, "div", 1);
  19373. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](2, "div", 2);
  19374. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, NamedEntitiesListComponent_cdk_virtual_scroll_viewport_3_Template, 4, 11, "cdk-virtual-scroll-viewport", 3);
  19375. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, NamedEntitiesListComponent_div_4_Template, 3, 3, "div", 4);
  19376. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  19377. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  19378. } if (rf & 2) {
  19379. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  19380. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", (ctx.data == null ? null : ctx.data.content == null ? null : ctx.data.content.length) > 0);
  19381. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  19382. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", (ctx.data == null ? null : ctx.data.content == null ? null : ctx.data.content.length) > 0);
  19383. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  19384. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", (ctx.data == null ? null : ctx.data.content == null ? null : ctx.data.content.length) === 0);
  19385. } }, directives: [_angular_common__WEBPACK_IMPORTED_MODULE_4__["NgIf"], _angular_forms__WEBPACK_IMPORTED_MODULE_5__["ɵangular_packages_forms_forms_y"], _angular_forms__WEBPACK_IMPORTED_MODULE_5__["NgControlStatusGroup"], _angular_forms__WEBPACK_IMPORTED_MODULE_5__["NgForm"], _angular_forms__WEBPACK_IMPORTED_MODULE_5__["DefaultValueAccessor"], _angular_forms__WEBPACK_IMPORTED_MODULE_5__["NgControlStatus"], _angular_forms__WEBPACK_IMPORTED_MODULE_5__["NgModel"], _ui_components_button_button_component__WEBPACK_IMPORTED_MODULE_6__["ButtonComponent"], _angular_common__WEBPACK_IMPORTED_MODULE_4__["NgForOf"], _angular_cdk_scrolling__WEBPACK_IMPORTED_MODULE_7__["CdkVirtualScrollViewport"], _angular_cdk_experimental_scrolling__WEBPACK_IMPORTED_MODULE_8__["CdkAutoSizeVirtualScroll"], _angular_cdk_scrolling__WEBPACK_IMPORTED_MODULE_7__["CdkVirtualForOf"], _named_entity_named_entity_component__WEBPACK_IMPORTED_MODULE_9__["NamedEntityComponent"]], pipes: [_ngx_translate_core__WEBPACK_IMPORTED_MODULE_10__["TranslatePipe"], _pipes_filter_pipe__WEBPACK_IMPORTED_MODULE_11__["FilterPipe"], _pipes_starts_with_pipe__WEBPACK_IMPORTED_MODULE_12__["StartsWithPipe"]], styles: [".card[_ngcontent-%COMP%] {\n height: 100%;\n}\n\ncdk-virtual-scroll-viewport[_ngcontent-%COMP%] {\n height: -o-calc(100%);\n height: calc(100%);\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL25hbWVkLWVudGl0aWVzLWxpc3QuY29tcG9uZW50LnNjc3MiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9hc3NldHMvc2Nzcy9fbWl4aW5zLnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRUE7RUFDSSxZQUFBO0FBREo7O0FBSUE7RUNDRSxxQkFBQTtFQUVBLGtCQUFBO0FEQUYiLCJmaWxlIjoibmFtZWQtZW50aXRpZXMtbGlzdC5jb21wb25lbnQuc2NzcyIsInNvdXJjZXNDb250ZW50IjpbIkBpbXBvcnQgJy4uLy4uLy4uL2Fzc2V0cy9zY3NzL21peGlucyc7XG5cbi5jYXJkIHtcbiAgICBoZWlnaHQ6IDEwMCU7XG59XG5cbmNkay12aXJ0dWFsLXNjcm9sbC12aWV3cG9ydCB7XG4gICAgQGluY2x1ZGUgY2FsYygnaGVpZ2h0JywgJzEwMCUnKTtcbn0iLCIvLyAvLy8vLy8vLy8vLy8vLy8vLy8gLy9cbi8vIEdMT0JBTCBTQ1NTIE1JWElOUyAvL1xuLy8gLy8vLy8vLy8vLy8vLy8vLy8vIC8vXG5cbi8vIFNldCBjYWxjdWxhdGVkIHByb3BlcnR5XG5AbWl4aW4gY2FsYygkcHJvcGVydHksICRleHByZXNzaW9uLCAkaW1wb3J0YW50OlwiXCIpIHtcbiAgI3skcHJvcGVydHl9OiAtbW96LWNhbGMoI3skZXhwcmVzc2lv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FzZSwgJGNvbG9yLW1pZGRsZSwgJGNvbG9yLWRhcmtlcikge1xuICBiYWNrZ3JvdW5kOiAkY29sb3ItYmFzZTtcbiAgYm9yZGVyLWJvdHRvbS1jb2xvcjogJGNvbG9yLW1pZGRsZTtcblxuICAmLmFjdGl2ZSB7XG4gICAgYmFja2dyb3VuZC1jb2xvcjogJGNvbG9yLW1pZGRsZTtcbiAgICBib3JkZXItcmlnaHQtY29sb3I6ICRjb2xvci1taWRkbGU7XG5cbiAgICAmOm5vdCg6Zmlyc3QtY2hpbGQpIHtcbiAgICAgIGJvcmRlci1sZWZ0LWNvbG9yOiAkY29sb3ItbWlkZGxlO1xuICAgIH1cbiAgfVxuXG4gICY6aG92ZXIge1xuICAgIGJhY2tncm91bmQtY29sb3I6ICRjb2xvci1taWRkbGU7XG4gIH1cbn1cblxuXG5AbWl4aW4gaGVhZGVyU2VjdGlvblRpdGxlKCkge1xuICBib3JkZXItYm90dG9tOiAxcHggZG90dGVkICM2NjY7XG4gIG1hcmdpbi1ib3R0b206IDVweDtcbiAgZm9udC12YXJpYW50OiBzbWFsbC1jYXBzO1xuICBjb2xvcjogIzAwMDtcbiAgZm9udC1zaXplOiAxLjJyZW07XG4gIGRpc3BsYXk6IGJsb2NrO1xuICBtYXJnaW4tdG9wOiAxNHB4O1xuICB0ZXh0LWFsaWduOiBsZWZ0O1xufSJdfQ== */"] });
  19386. NamedEntitiesListComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  19387. Object(_services_component_register_service__WEBPACK_IMPORTED_MODULE_3__["register"])(_models_evt_models__WEBPACK_IMPORTED_MODULE_2__["NamedEntitiesList"])
  19388. ], NamedEntitiesListComponent);
  19389. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](NamedEntitiesListComponent, [{
  19390. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
  19391. args: [{
  19392. selector: 'evt-named-entities-list',
  19393. templateUrl: './named-entities-list.component.html',
  19394. styleUrls: ['./named-entities-list.component.scss'],
  19395. }]
  19396. }], null, { data: [{
  19397. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
  19398. }], searchedEntities: [{
  19399. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Output"]
  19400. }] }); })();
  19401. /***/ }),
  19402. /***/ "wM2G":
  19403. /*!******************************************************************************************************!*\
  19404. !*** ./src/app/components/named-entity/named-entity-occurrence/named-entity-occurrence.component.ts ***!
  19405. \******************************************************************************************************/
  19406. /*! exports provided: NamedEntityOccurrenceComponent */
  19407. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  19408. "use strict";
  19409. __webpack_require__.r(__webpack_exports__);
  19410. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NamedEntityOccurrenceComponent", function() { return NamedEntityOccurrenceComponent; });
  19411. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "fXoL");
  19412. /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rxjs/operators */ "kU1M");
  19413. /* harmony import */ var _services_evt_model_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../services/evt-model.service */ "hI0h");
  19414. /* harmony import */ var _services_evt_status_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../services/evt-status.service */ "7Ht4");
  19415. /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/common */ "ofXK");
  19416. /* harmony import */ var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @ng-bootstrap/ng-bootstrap */ "1kSV");
  19417. /* harmony import */ var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../content-viewer/content-viewer.component */ "t6RO");
  19418. function NamedEntityOccurrenceComponent_span_0_ng_template_5_div_0_Template(rf, ctx) { if (rf & 1) {
  19419. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div");
  19420. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](1, "evt-content-viewer", 6);
  19421. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  19422. } if (rf & 2) {
  19423. const ref_r6 = ctx.$implicit;
  19424. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  19425. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("content", ref_r6);
  19426. } }
  19427. function NamedEntityOccurrenceComponent_span_0_ng_template_5_Template(rf, ctx) { if (rf & 1) {
  19428. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](0, NamedEntityOccurrenceComponent_span_0_ng_template_5_div_0_Template, 2, 1, "div", 5);
  19429. } if (rf & 2) {
  19430. const refByDoc_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().$implicit;
  19431. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", refByDoc_r1.refs);
  19432. } }
  19433. const _c0 = function () { return ["auto"]; };
  19434. function NamedEntityOccurrenceComponent_span_0_Template(rf, ctx) { if (rf & 1) {
  19435. const _r9 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
  19436. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "span", 1);
  19437. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function NamedEntityOccurrenceComponent_span_0_Template_span_click_0_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r9); const refByDoc_r1 = ctx.$implicit; const ctx_r8 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](); return ctx_r8.goToOccurrenceRef(refByDoc_r1); });
  19438. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
  19439. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "span", 2, 3);
  19440. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](4);
  19441. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  19442. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](5, NamedEntityOccurrenceComponent_span_0_ng_template_5_Template, 1, 1, "ng-template", null, 4, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplateRefExtractor"]);
  19443. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  19444. } if (rf & 2) {
  19445. const refByDoc_r1 = ctx.$implicit;
  19446. const _r3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵreference"](6);
  19447. const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
  19448. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  19449. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate2"](" ", ctx_r0.occurrence.pageLabel, " ", refByDoc_r1.docLabel ? "(" + refByDoc_r1.docLabel + ")" : "", " ");
  19450. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  19451. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngbPopover", _r3)("autoClose", "outside")("placement", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction0"](6, _c0));
  19452. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
  19453. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", refByDoc_r1.refs == null ? null : refByDoc_r1.refs.length, " ");
  19454. } }
  19455. class NamedEntityOccurrenceComponent {
  19456. constructor(evtModelService, evtStatusService) {
  19457. this.evtModelService = evtModelService;
  19458. this.evtStatusService = evtStatusService;
  19459. }
  19460. goToOccurrenceRef(ref) {
  19461. this.evtModelService.pages$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__["take"])(1)).subscribe(pages => {
  19462. const page = pages.find(p => p.id === this.occurrence.pageId);
  19463. this.evtStatusService.updateDocument$.next(ref.docId);
  19464. this.evtStatusService.updatePage$.next(page);
  19465. this.evtStatusService.currentNamedEntityId$.next(this.entityId);
  19466. });
  19467. }
  19468. }
  19469. NamedEntityOccurrenceComponent.ɵfac = function NamedEntityOccurrenceComponent_Factory(t) { return new (t || NamedEntityOccurrenceComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_services_evt_model_service__WEBPACK_IMPORTED_MODULE_2__["EVTModelService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_services_evt_status_service__WEBPACK_IMPORTED_MODULE_3__["EVTStatusService"])); };
  19470. NamedEntityOccurrenceComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: NamedEntityOccurrenceComponent, selectors: [["evt-named-entity-occurrence"]], inputs: { occurrence: "occurrence", entityId: "entityId" }, decls: 1, vars: 1, consts: [["class", "ne-occurrence", 3, "click", 4, "ngFor", "ngForOf"], [1, "ne-occurrence", 3, "click"], ["popoverClass", "evt-note", "container", "body", 1, "badge", "badge-info", "badge-light", "ne-occurrence-count", 3, "ngbPopover", "autoClose", "placement"], ["popover", "ngbPopover"], ["popContent", ""], [4, "ngFor", "ngForOf"], [3, "content"]], template: function NamedEntityOccurrenceComponent_Template(rf, ctx) { if (rf & 1) {
  19471. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](0, NamedEntityOccurrenceComponent_span_0_Template, 7, 7, "span", 0);
  19472. } if (rf & 2) {
  19473. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx.occurrence.refsByDoc);
  19474. } }, directives: [_angular_common__WEBPACK_IMPORTED_MODULE_4__["NgForOf"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_5__["NgbPopover"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_6__["ContentViewerComponent"]], styles: ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJuYW1lZC1lbnRpdHktb2NjdXJyZW5jZS5jb21wb25lbnQuc2NzcyJ9 */"] });
  19475. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](NamedEntityOccurrenceComponent, [{
  19476. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
  19477. args: [{
  19478. selector: 'evt-named-entity-occurrence',
  19479. templateUrl: './named-entity-occurrence.component.html',
  19480. styleUrls: ['./named-entity-occurrence.component.scss'],
  19481. }]
  19482. }], function () { return [{ type: _services_evt_model_service__WEBPACK_IMPORTED_MODULE_2__["EVTModelService"] }, { type: _services_evt_status_service__WEBPACK_IMPORTED_MODULE_3__["EVTStatusService"] }]; }, { occurrence: [{
  19483. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
  19484. }], entityId: [{
  19485. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
  19486. }] }); })();
  19487. /***/ }),
  19488. /***/ "wfdk":
  19489. /*!***************************************************************************!*\
  19490. !*** ./src/app/components/publication-stmt/publication-stmt.component.ts ***!
  19491. \***************************************************************************/
  19492. /*! exports provided: PublicationStmtComponent */
  19493. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  19494. "use strict";
  19495. __webpack_require__.r(__webpack_exports__);
  19496. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PublicationStmtComponent", function() { return PublicationStmtComponent; });
  19497. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "mrSG");
  19498. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "fXoL");
  19499. /* harmony import */ var _models_evt_models__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../models/evt-models */ "5c0l");
  19500. /* harmony import */ var _services_component_register_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../services/component-register.service */ "d25s");
  19501. /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/common */ "ofXK");
  19502. /* harmony import */ var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../content-viewer/content-viewer.component */ "t6RO");
  19503. /* harmony import */ var _ui_components_header_section_header_section_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../ui-components/header-section/header-section.component */ "iRdJ");
  19504. function PublicationStmtComponent_ng_container_1_ng_container_1_Template(rf, ctx) { if (rf & 1) {
  19505. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0);
  19506. } }
  19507. function PublicationStmtComponent_ng_container_1_ng_container_2_Template(rf, ctx) { if (rf & 1) {
  19508. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0);
  19509. } }
  19510. function PublicationStmtComponent_ng_container_1_ng_container_3_Template(rf, ctx) { if (rf & 1) {
  19511. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0);
  19512. } }
  19513. function PublicationStmtComponent_ng_container_1_ng_container_4_Template(rf, ctx) { if (rf & 1) {
  19514. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0);
  19515. } }
  19516. function PublicationStmtComponent_ng_container_1_ng_container_5_Template(rf, ctx) { if (rf & 1) {
  19517. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0);
  19518. } }
  19519. function PublicationStmtComponent_ng_container_1_ng_container_6_Template(rf, ctx) { if (rf & 1) {
  19520. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0);
  19521. } }
  19522. function PublicationStmtComponent_ng_container_1_ng_container_7_Template(rf, ctx) { if (rf & 1) {
  19523. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0);
  19524. } }
  19525. function PublicationStmtComponent_ng_container_1_ng_container_8_Template(rf, ctx) { if (rf & 1) {
  19526. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0);
  19527. } }
  19528. function PublicationStmtComponent_ng_container_1_ng_container_9_Template(rf, ctx) { if (rf & 1) {
  19529. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0);
  19530. } }
  19531. const _c0 = function (a1) { return { label: "publisher", items: a1, class: "publisher" }; };
  19532. const _c1 = function (a1) { return { label: "distributor", items: a1, class: "distributor" }; };
  19533. const _c2 = function (a1) { return { label: "authority", items: a1, class: "authority" }; };
  19534. const _c3 = function (a1) { return { label: "publicationPlace", items: a1, class: "pubPlace" }; };
  19535. const _c4 = function (a1) { return { label: "address", items: a1, class: "address" }; };
  19536. const _c5 = function (a1) { return { label: "idno", items: a1, class: "idno" }; };
  19537. const _c6 = function (a1) { return { label: "availability", items: a1, class: "availability" }; };
  19538. const _c7 = function (a1) { return { label: "date", items: a1, class: "date" }; };
  19539. const _c8 = function (a1) { return { label: "licence", items: a1, class: "licence" }; };
  19540. function PublicationStmtComponent_ng_container_1_Template(rf, ctx) { if (rf & 1) {
  19541. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
  19542. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, PublicationStmtComponent_ng_container_1_ng_container_1_Template, 1, 0, "ng-container", 4);
  19543. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, PublicationStmtComponent_ng_container_1_ng_container_2_Template, 1, 0, "ng-container", 4);
  19544. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, PublicationStmtComponent_ng_container_1_ng_container_3_Template, 1, 0, "ng-container", 4);
  19545. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, PublicationStmtComponent_ng_container_1_ng_container_4_Template, 1, 0, "ng-container", 4);
  19546. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](5, PublicationStmtComponent_ng_container_1_ng_container_5_Template, 1, 0, "ng-container", 4);
  19547. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](6, PublicationStmtComponent_ng_container_1_ng_container_6_Template, 1, 0, "ng-container", 4);
  19548. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](7, PublicationStmtComponent_ng_container_1_ng_container_7_Template, 1, 0, "ng-container", 4);
  19549. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](8, PublicationStmtComponent_ng_container_1_ng_container_8_Template, 1, 0, "ng-container", 4);
  19550. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](9, PublicationStmtComponent_ng_container_1_ng_container_9_Template, 1, 0, "ng-container", 4);
  19551. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
  19552. } if (rf & 2) {
  19553. const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  19554. const _r2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵreference"](4);
  19555. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  19556. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r2)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](18, _c0, ctx_r0.data == null ? null : ctx_r0.data.publisher));
  19557. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  19558. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r2)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](20, _c1, ctx_r0.data == null ? null : ctx_r0.data.distributor));
  19559. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  19560. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r2)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](22, _c2, ctx_r0.data == null ? null : ctx_r0.data.authority));
  19561. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  19562. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r2)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](24, _c3, ctx_r0.data == null ? null : ctx_r0.data.pubPlace));
  19563. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  19564. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r2)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](26, _c4, ctx_r0.data == null ? null : ctx_r0.data.address));
  19565. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  19566. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r2)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](28, _c5, ctx_r0.data == null ? null : ctx_r0.data.idno));
  19567. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  19568. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r2)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](30, _c6, ctx_r0.data == null ? null : ctx_r0.data.availability));
  19569. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  19570. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r2)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](32, _c7, ctx_r0.data == null ? null : ctx_r0.data.date));
  19571. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  19572. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r2)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](34, _c8, ctx_r0.data == null ? null : ctx_r0.data.licence));
  19573. } }
  19574. function PublicationStmtComponent_ng_container_2_evt_content_viewer_1_Template(rf, ctx) { if (rf & 1) {
  19575. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 6);
  19576. } if (rf & 2) {
  19577. const element_r14 = ctx.$implicit;
  19578. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", element_r14);
  19579. } }
  19580. function PublicationStmtComponent_ng_container_2_Template(rf, ctx) { if (rf & 1) {
  19581. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
  19582. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, PublicationStmtComponent_ng_container_2_evt_content_viewer_1_Template, 1, 1, "evt-content-viewer", 5);
  19583. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
  19584. } if (rf & 2) {
  19585. const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  19586. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  19587. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r1.data == null ? null : ctx_r1.data.content);
  19588. } }
  19589. function PublicationStmtComponent_ng_template_3_evt_header_section_0_evt_content_viewer_2_Template(rf, ctx) { if (rf & 1) {
  19590. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 6);
  19591. } if (rf & 2) {
  19592. const item_r20 = ctx.$implicit;
  19593. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", item_r20);
  19594. } }
  19595. function PublicationStmtComponent_ng_template_3_evt_header_section_0_Template(rf, ctx) { if (rf & 1) {
  19596. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "evt-header-section", 8);
  19597. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "div", 9);
  19598. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, PublicationStmtComponent_ng_template_3_evt_header_section_0_evt_content_viewer_2_Template, 1, 1, "evt-content-viewer", 5);
  19599. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  19600. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  19601. } if (rf & 2) {
  19602. const ctx_r21 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  19603. const label_r15 = ctx_r21.label;
  19604. const class_r17 = ctx_r21.class;
  19605. const items_r16 = ctx_r21.items;
  19606. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", label_r15)("additionalClass", class_r17)("inlineLabel", true);
  19607. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  19608. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", items_r16);
  19609. } }
  19610. function PublicationStmtComponent_ng_template_3_Template(rf, ctx) { if (rf & 1) {
  19611. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](0, PublicationStmtComponent_ng_template_3_evt_header_section_0_Template, 3, 4, "evt-header-section", 7);
  19612. } if (rf & 2) {
  19613. const items_r16 = ctx.items;
  19614. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", (items_r16 == null ? null : items_r16.length) > 0);
  19615. } }
  19616. let PublicationStmtComponent = class PublicationStmtComponent {
  19617. };
  19618. PublicationStmtComponent.ɵfac = function PublicationStmtComponent_Factory(t) { return new (t || PublicationStmtComponent)(); };
  19619. PublicationStmtComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({ type: PublicationStmtComponent, selectors: [["evt-publication-stmt"]], inputs: { data: "data" }, decls: 5, vars: 2, consts: [[3, "ngSwitch"], [4, "ngSwitchCase"], [4, "ngSwitchDefault"], ["section", ""], [4, "ngTemplateOutlet", "ngTemplateOutletContext"], [3, "content", 4, "ngFor", "ngForOf"], [3, "content"], [3, "label", "additionalClass", "inlineLabel", 4, "ngIf"], [3, "label", "additionalClass", "inlineLabel"], ["content", ""]], template: function PublicationStmtComponent_Template(rf, ctx) { if (rf & 1) {
  19620. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0, 0);
  19621. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, PublicationStmtComponent_ng_container_1_Template, 10, 36, "ng-container", 1);
  19622. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, PublicationStmtComponent_ng_container_2_Template, 2, 1, "ng-container", 2);
  19623. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
  19624. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, PublicationStmtComponent_ng_template_3_Template, 1, 1, "ng-template", null, 3, _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplateRefExtractor"]);
  19625. } if (rf & 2) {
  19626. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngSwitch", ctx.data == null ? null : ctx.data.structuredData);
  19627. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  19628. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngSwitchCase", true);
  19629. } }, directives: [_angular_common__WEBPACK_IMPORTED_MODULE_4__["NgSwitch"], _angular_common__WEBPACK_IMPORTED_MODULE_4__["NgSwitchCase"], _angular_common__WEBPACK_IMPORTED_MODULE_4__["NgSwitchDefault"], _angular_common__WEBPACK_IMPORTED_MODULE_4__["NgTemplateOutlet"], _angular_common__WEBPACK_IMPORTED_MODULE_4__["NgForOf"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_5__["ContentViewerComponent"], _angular_common__WEBPACK_IMPORTED_MODULE_4__["NgIf"], _ui_components_header_section_header_section_component__WEBPACK_IMPORTED_MODULE_6__["HeaderSectionComponent"]], styles: [".main-section-title[_ngcontent-%COMP%] {\n border-bottom: 1px dotted #666;\n margin-bottom: 5px;\n font-variant: small-caps;\n color: #000;\n font-size: 1.2rem;\n display: block;\n margin-top: 14px;\n text-align: left;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3B1YmxpY2F0aW9uLXN0bXQuY29tcG9uZW50LnNjc3MiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9hc3NldHMvc2Nzcy9fbWl4aW5zLnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRUE7RUMyRkUsOEJBQUE7RUFDQSxrQkFBQTtFQUNBLHdCQUFBO0VBQ0EsV0FBQTtFQUNBLGlCQUFBO0VBQ0EsY0FBQTtFQUNBLGdCQUFBO0VBQ0EsZ0JBQUE7QUQzRkYiLCJmaWxlIjoicHVibGljYXRpb24tc3RtdC5jb21wb25lbnQuc2NzcyIsInNvdXJjZXNDb250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MS4ycmVtO1xuICBkaXNwbGF5OiBibG9jaztcbiAgbWFyZ2luLXRvcDogMTRweDtcbiAgdGV4dC1hbGlnbjogbGVmdDtcbn0iXX0= */"] });
  19630. PublicationStmtComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  19631. Object(_services_component_register_service__WEBPACK_IMPORTED_MODULE_3__["register"])(_models_evt_models__WEBPACK_IMPORTED_MODULE_2__["PublicationStmt"])
  19632. ], PublicationStmtComponent);
  19633. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](PublicationStmtComponent, [{
  19634. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
  19635. args: [{
  19636. selector: 'evt-publication-stmt',
  19637. templateUrl: './publication-stmt.component.html',
  19638. styleUrls: ['./publication-stmt.component.scss'],
  19639. }]
  19640. }], null, { data: [{
  19641. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
  19642. }] }); })();
  19643. /***/ }),
  19644. /***/ "xQyG":
  19645. /*!*****************************************************************!*\
  19646. !*** ./src/app/components/ms-contents/ms-contents.component.ts ***!
  19647. \*****************************************************************/
  19648. /*! exports provided: MsContentsComponent */
  19649. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  19650. "use strict";
  19651. __webpack_require__.r(__webpack_exports__);
  19652. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MsContentsComponent", function() { return MsContentsComponent; });
  19653. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "mrSG");
  19654. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "fXoL");
  19655. /* harmony import */ var _models_evt_models__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../models/evt-models */ "5c0l");
  19656. /* harmony import */ var _services_component_register_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../services/component-register.service */ "d25s");
  19657. /* harmony import */ var _ui_components_ms_desc_section_ms_desc_section_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../ui-components/ms-desc-section/ms-desc-section.component */ "WyXU");
  19658. /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/common */ "ofXK");
  19659. /* harmony import */ var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../content-viewer/content-viewer.component */ "t6RO");
  19660. /* harmony import */ var _ms_item_ms_item_component__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../ms-item/ms-item.component */ "pZd9");
  19661. function MsContentsComponent_ng_container_3_Template(rf, ctx) { if (rf & 1) {
  19662. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
  19663. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "div", 6);
  19664. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](2, "evt-ms-desc-section", 7);
  19665. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  19666. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](3, "div", 8);
  19667. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](4, "evt-content-viewer", 9);
  19668. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  19669. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
  19670. } if (rf & 2) {
  19671. const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  19672. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  19673. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "summary")("inlineLabel", true);
  19674. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  19675. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", ctx_r0.data.summary);
  19676. } }
  19677. function MsContentsComponent_ng_container_4_span_5_evt_content_viewer_1_Template(rf, ctx) { if (rf & 1) {
  19678. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 9);
  19679. } if (rf & 2) {
  19680. const textLang_r10 = ctx.$implicit;
  19681. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", textLang_r10);
  19682. } }
  19683. function MsContentsComponent_ng_container_4_span_5_span_2_Template(rf, ctx) { if (rf & 1) {
  19684. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span");
  19685. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1, ", ");
  19686. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  19687. } }
  19688. const _c0 = function (a0) { return [a0]; };
  19689. function MsContentsComponent_ng_container_4_span_5_Template(rf, ctx) { if (rf & 1) {
  19690. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span");
  19691. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, MsContentsComponent_ng_container_4_span_5_evt_content_viewer_1_Template, 1, 1, "evt-content-viewer", 10);
  19692. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, MsContentsComponent_ng_container_4_span_5_span_2_Template, 2, 0, "span", 3);
  19693. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  19694. } if (rf & 2) {
  19695. const textLangs_r6 = ctx.$implicit;
  19696. const i_r7 = ctx.index;
  19697. const ctx_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
  19698. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  19699. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", textLangs_r6);
  19700. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  19701. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", i_r7 < _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](2, _c0, ctx_r5.data.textLangs.length - 1));
  19702. } }
  19703. function MsContentsComponent_ng_container_4_Template(rf, ctx) { if (rf & 1) {
  19704. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
  19705. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "div", 6);
  19706. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](2, "evt-ms-desc-section", 7);
  19707. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  19708. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](3, "div", 8);
  19709. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](4, "div");
  19710. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](5, MsContentsComponent_ng_container_4_span_5_Template, 3, 4, "span", 4);
  19711. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  19712. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  19713. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
  19714. } if (rf & 2) {
  19715. const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  19716. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  19717. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "textLang")("inlineLabel", true);
  19718. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](3);
  19719. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r1.data.textLangs);
  19720. } }
  19721. function MsContentsComponent_ng_container_5_Template(rf, ctx) { if (rf & 1) {
  19722. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
  19723. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "div", 6);
  19724. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](2, "evt-ms-desc-section", 7);
  19725. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  19726. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
  19727. } if (rf & 2) {
  19728. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  19729. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "items")("inlineLabel", true);
  19730. } }
  19731. function MsContentsComponent_ng_container_6_evt_ms_item_2_Template(rf, ctx) { if (rf & 1) {
  19732. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-ms-item", 13);
  19733. } if (rf & 2) {
  19734. const ms_r14 = ctx.$implicit;
  19735. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("data", ms_r14)("nested1", true);
  19736. } }
  19737. function MsContentsComponent_ng_container_6_ng_container_3_evt_ms_item_1_Template(rf, ctx) { if (rf & 1) {
  19738. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-ms-item", 15);
  19739. } if (rf & 2) {
  19740. const item_r17 = ctx.$implicit;
  19741. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("data", item_r17)("nested2", true);
  19742. } }
  19743. function MsContentsComponent_ng_container_6_ng_container_3_Template(rf, ctx) { if (rf & 1) {
  19744. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
  19745. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, MsContentsComponent_ng_container_6_ng_container_3_evt_ms_item_1_Template, 1, 2, "evt-ms-item", 14);
  19746. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
  19747. } if (rf & 2) {
  19748. const ms_r15 = ctx.$implicit;
  19749. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  19750. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ms_r15.msItem);
  19751. } }
  19752. function MsContentsComponent_ng_container_6_Template(rf, ctx) { if (rf & 1) {
  19753. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
  19754. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](1, "evt-ms-item", 11);
  19755. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, MsContentsComponent_ng_container_6_evt_ms_item_2_Template, 1, 2, "evt-ms-item", 12);
  19756. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, MsContentsComponent_ng_container_6_ng_container_3_Template, 2, 1, "ng-container", 4);
  19757. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
  19758. } if (rf & 2) {
  19759. const m_r11 = ctx.$implicit;
  19760. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  19761. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("data", m_r11);
  19762. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  19763. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", m_r11.msItem);
  19764. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  19765. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", m_r11.msItem);
  19766. } }
  19767. function MsContentsComponent_div_7_evt_content_viewer_5_Template(rf, ctx) { if (rf & 1) {
  19768. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 9);
  19769. } if (rf & 2) {
  19770. const par_r19 = ctx.$implicit;
  19771. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", par_r19);
  19772. } }
  19773. function MsContentsComponent_div_7_Template(rf, ctx) { if (rf & 1) {
  19774. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 2);
  19775. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](1);
  19776. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](2, "div", 6);
  19777. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](3, "evt-ms-desc-section", 7);
  19778. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  19779. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](4, "div", 8);
  19780. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](5, MsContentsComponent_div_7_evt_content_viewer_5_Template, 1, 1, "evt-content-viewer", 10);
  19781. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  19782. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
  19783. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  19784. } if (rf & 2) {
  19785. const ctx_r4 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  19786. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](3);
  19787. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "summary")("inlineLabel", true);
  19788. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  19789. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r4.data.pEl);
  19790. } }
  19791. let MsContentsComponent = class MsContentsComponent {
  19792. };
  19793. MsContentsComponent.ɵfac = function MsContentsComponent_Factory(t) { return new (t || MsContentsComponent)(); };
  19794. MsContentsComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({ type: MsContentsComponent, selectors: [["evt-ms-contents"]], inputs: { data: "data" }, decls: 8, vars: 7, consts: [[1, "msContents"], [3, "label", "underline"], [1, "flex-container"], [4, "ngIf"], [4, "ngFor", "ngForOf"], ["class", "flex-container", 4, "ngIf"], [1, "flex-item-label"], [3, "label", "inlineLabel"], [1, "flex-item-information"], [3, "content"], [3, "content", 4, "ngFor", "ngForOf"], [3, "data"], [3, "data", "nested1", 4, "ngFor", "ngForOf"], [3, "data", "nested1"], [3, "data", "nested2", 4, "ngFor", "ngForOf"], [3, "data", "nested2"]], template: function MsContentsComponent_Template(rf, ctx) { if (rf & 1) {
  19795. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 0);
  19796. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](1, "evt-ms-desc-section", 1);
  19797. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](2, "div", 2);
  19798. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, MsContentsComponent_ng_container_3_Template, 5, 3, "ng-container", 3);
  19799. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, MsContentsComponent_ng_container_4_Template, 6, 3, "ng-container", 3);
  19800. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](5, MsContentsComponent_ng_container_5_Template, 3, 2, "ng-container", 3);
  19801. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  19802. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](6, MsContentsComponent_ng_container_6_Template, 4, 3, "ng-container", 4);
  19803. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](7, MsContentsComponent_div_7_Template, 6, 3, "div", 5);
  19804. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  19805. } if (rf & 2) {
  19806. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  19807. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "msContents")("underline", true);
  19808. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  19809. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data == null ? null : ctx.data.summary);
  19810. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  19811. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", (ctx.data == null ? null : ctx.data.textLangs.length) > 0);
  19812. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  19813. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", (ctx.data == null ? null : ctx.data.msItem.length) > 0);
  19814. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  19815. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx.data == null ? null : ctx.data.msItem);
  19816. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  19817. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", (ctx.data == null ? null : ctx.data.pEl.length) > 0);
  19818. } }, directives: [_ui_components_ms_desc_section_ms_desc_section_component__WEBPACK_IMPORTED_MODULE_4__["MsDescSectionComponent"], _angular_common__WEBPACK_IMPORTED_MODULE_5__["NgIf"], _angular_common__WEBPACK_IMPORTED_MODULE_5__["NgForOf"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_6__["ContentViewerComponent"], _ms_item_ms_item_component__WEBPACK_IMPORTED_MODULE_7__["MsItemComponent"]], styles: [".msContents[_ngcontent-%COMP%] {\n margin-bottom: 2rem;\n}\n\n.flex-container[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n}\n\n.flex-item-label[_ngcontent-%COMP%] {\n flex-basis: 100%;\n}\n\n.flex-item-information[_ngcontent-%COMP%] {\n flex-basis: 100%;\n margin-bottom: 0.7rem;\n}\n\n@media (min-width: 505px) {\n .flex-item-label[_ngcontent-%COMP%] {\n flex-basis: 20%;\n }\n\n .flex-item-information[_ngcontent-%COMP%] {\n flex-basis: 80%;\n }\n}\n\n@media (min-width: 639px) {\n .flex-item-label[_ngcontent-%COMP%] {\n flex-basis: 100%;\n }\n\n .flex-item-information[_ngcontent-%COMP%] {\n flex-basis: 100%;\n }\n}\n\n@media (min-width: 1050px) {\n .flex-item-label[_ngcontent-%COMP%] {\n flex-basis: 20%;\n }\n\n .flex-item-information[_ngcontent-%COMP%] {\n flex-basis: 80%;\n }\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL21zLWNvbnRlbnRzLmNvbXBvbmVudC5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0VBQ0UsbUJBQUE7QUFDRjs7QUFFQTtFQUNFLGFBQUE7RUFDQSxtQkFBQTtFQUNBLGVBQUE7QUFDRjs7QUFFQTtFQUNFLGdCQUFBO0FBQ0Y7O0FBRUE7RUFDRSxnQkFBQTtFQUNBLHFCQUFBO0FBQ0Y7O0FBRUE7RUFDRTtJQUNJLGVBQUE7RUFDSjs7RUFFQTtJQUNJLGVBQUE7RUFDSjtBQUNGOztBQUVBO0VBQ0U7SUFDSSxnQkFBQTtFQUFKOztFQUdBO0lBQ0ksZ0JBQUE7RUFBSjtBQUNGOztBQUdBO0VBQ0U7SUFDSSxlQUFBO0VBREo7O0VBSUE7SUFDSSxlQUFBO0VBREo7QUFDRiIsImZpbGUiOiJtcy1jb250ZW50cy5jb21wb25lbnQuc2NzcyIsInNvdXJjZXNDb250ZW50IjpbIi5tc0NvbnRlbnRzIHtcbiAgbWFyZ2luLWJvdHRvbTogMnJlbTtcbn1cblxuLmZsZXgtY29udGFpbmVyIHtcbiAgZGlzcGxheTogZmxleDtcbiAgZmxleC1kaXJlY3Rpb246IHJvdztcbiAgZmxleC13cmFwOiB3cmFwO1xufVxuXG4uZmxleC1pdGVtLWxhYmVsIHtcbiAgZmxleC1iYXNpczogMTAwJTtcbn1cblxuLmZsZXgtaXRlbS1pbmZvcm1hdGlvbiB7XG4gIGZsZXgtYmFzaXM6IDEwMCU7XG4gIG1hcmdpbi1ib3R0b206IDAuN3JlbTtcbn1cblxuQG1lZGlhIChtaW4td2lkdGg6IDUwNXB4KSB7IFxuICAuZmxleC1pdGVtLWxhYmVsIHtcbiAgICAgIGZsZXgtYmFzaXM6IDIwJTtcbiAgICB9XG4gICAgXG4gIC5mbGV4LWl0ZW0taW5mb3JtYXRpb24ge1xuICAgICAgZmxleC1iYXNpczogODAlO1xuICB9XG59XG5cbkBtZWRpYSAobWluLXdpZHRoOiA2MzlweCkge1xuICAuZmxleC1pdGVtLWxhYmVsIHtcbiAgICAgIGZsZXgtYmFzaXM6IDEwMCU7XG4gIH1cblxuICAuZmxleC1pdGVtLWluZm9ybWF0aW9uIHtcbiAgICAgIGZsZXgtYmFzaXM6MTAwJVxuICB9XG59XG5cbkBtZWRpYSAobWluLXdpZHRoOiAxMDUwcHgpIHsgXG4gIC5mbGV4LWl0ZW0tbGFiZWwge1xuICAgICAgZmxleC1iYXNpczogMjAlO1xuICAgIH1cbiAgICBcbiAgLmZsZXgtaXRlbS1pbmZvcm1hdGlvbiB7XG4gICAgICBmbGV4LWJhc2lzOiA4MCU7XG4gIH1cbn1cbiJdfQ== */"] });
  19819. MsContentsComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  19820. Object(_services_component_register_service__WEBPACK_IMPORTED_MODULE_3__["register"])(_models_evt_models__WEBPACK_IMPORTED_MODULE_2__["MsContents"])
  19821. ], MsContentsComponent);
  19822. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](MsContentsComponent, [{
  19823. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
  19824. args: [{
  19825. selector: 'evt-ms-contents',
  19826. templateUrl: './ms-contents.component.html',
  19827. styleUrls: ['./ms-contents.component.scss'],
  19828. }]
  19829. }], null, { data: [{
  19830. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
  19831. }] }); })();
  19832. /***/ }),
  19833. /***/ "xUb2":
  19834. /*!***************************************************************************************************!*\
  19835. !*** ./src/app/components/manuscript-thumbnails-viewer/manuscript-thumbnails-viewer.component.ts ***!
  19836. \***************************************************************************************************/
  19837. /*! exports provided: ManuscriptThumbnailsViewerComponent */
  19838. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  19839. "use strict";
  19840. __webpack_require__.r(__webpack_exports__);
  19841. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ManuscriptThumbnailsViewerComponent", function() { return ManuscriptThumbnailsViewerComponent; });
  19842. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "fXoL");
  19843. /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rxjs/operators */ "kU1M");
  19844. /* harmony import */ var _services_evt_status_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../services/evt-status.service */ "7Ht4");
  19845. /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/common */ "ofXK");
  19846. /* harmony import */ var _ui_components_button_button_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../ui-components/button/button.component */ "UjKN");
  19847. function ManuscriptThumbnailsViewerComponent_ng_container_1_Template(rf, ctx) { if (rf & 1) {
  19848. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainer"](0);
  19849. } }
  19850. const _c0 = function (a0) { return { "clicked-item": a0 }; };
  19851. const _c1 = function (a0) { return { "clicked-item-par": a0 }; };
  19852. function ManuscriptThumbnailsViewerComponent_ng_template_2_ng_container_0_div_2_div_1_Template(rf, ctx) { if (rf & 1) {
  19853. const _r11 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
  19854. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 12);
  19855. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function ManuscriptThumbnailsViewerComponent_ng_template_2_ng_container_0_div_2_div_1_Template_div_click_0_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r11); const item_r9 = ctx.$implicit; const ctx_r10 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](4); return ctx_r10.goToThumbPage(item_r9); });
  19856. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](1, "img", 13);
  19857. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "async");
  19858. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "p", 14);
  19859. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](4);
  19860. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  19861. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  19862. } if (rf & 2) {
  19863. const item_r9 = ctx.$implicit;
  19864. const ctx_r8 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](4);
  19865. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  19866. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpropertyInterpolate"]("src", item_r9.url, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵsanitizeUrl"]);
  19867. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction1"](6, _c0, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](2, 4, ctx_r8.currentItem$) === item_r9));
  19868. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
  19869. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction1"](8, _c1, item_r9.active));
  19870. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  19871. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](item_r9.name);
  19872. } }
  19873. function ManuscriptThumbnailsViewerComponent_ng_template_2_ng_container_0_div_2_Template(rf, ctx) { if (rf & 1) {
  19874. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 10);
  19875. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, ManuscriptThumbnailsViewerComponent_ng_template_2_ng_container_0_div_2_div_1_Template, 5, 10, "div", 11);
  19876. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  19877. } if (rf & 2) {
  19878. const row_r7 = ctx.$implicit;
  19879. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  19880. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", row_r7);
  19881. } }
  19882. const _c2 = function (a0) { return { "active": a0 }; };
  19883. function ManuscriptThumbnailsViewerComponent_ng_template_2_ng_container_0_Template(rf, ctx) { if (rf & 1) {
  19884. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
  19885. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "div", 8);
  19886. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, ManuscriptThumbnailsViewerComponent_ng_template_2_ng_container_0_div_2_Template, 2, 1, "div", 9);
  19887. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  19888. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
  19889. } if (rf & 2) {
  19890. const page_r4 = ctx.$implicit;
  19891. const i_r5 = ctx.index;
  19892. const ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
  19893. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  19894. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpropertyInterpolate1"]("id", "page_", i_r5 + 1, "");
  19895. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction1"](3, _c2, ctx_r3.indexPage === i_r5));
  19896. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  19897. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", page_r4);
  19898. } }
  19899. const _c3 = function () { return { icon: "caret-left" }; };
  19900. const _c4 = function () { return { icon: "caret-right" }; };
  19901. function ManuscriptThumbnailsViewerComponent_ng_template_2_Template(rf, ctx) { if (rf & 1) {
  19902. const _r13 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
  19903. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](0, ManuscriptThumbnailsViewerComponent_ng_template_2_ng_container_0_Template, 3, 5, "ng-container", 3);
  19904. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](1);
  19905. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "div", 4);
  19906. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "evt-button", 5);
  19907. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("btnClick", function ManuscriptThumbnailsViewerComponent_ng_template_2_Template_evt_button_btnClick_3_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r13); const ctx_r12 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](); return ctx_r12.goToPrevPage(); });
  19908. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  19909. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "p", 6);
  19910. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](5);
  19911. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  19912. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](6, "evt-button", 7);
  19913. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("btnClick", function ManuscriptThumbnailsViewerComponent_ng_template_2_Template_evt_button_btnClick_6_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r13); const ctx_r14 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](); return ctx_r14.goToNextPage(); });
  19914. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  19915. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  19916. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
  19917. } if (rf & 2) {
  19918. const ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
  19919. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx_r2.grid);
  19920. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
  19921. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("hidden", ctx_r2.grid.length <= 1);
  19922. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  19923. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("iconRight", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction0"](6, _c3));
  19924. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
  19925. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate2"]("", ctx_r2.indexPage + 1, "/", ctx_r2.grid.length, "");
  19926. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  19927. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("iconLeft", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction0"](7, _c4));
  19928. } }
  19929. class ManuscriptThumbnailsViewerComponent {
  19930. constructor(evtStatusService) {
  19931. this.evtStatusService = evtStatusService;
  19932. this.clickedItem = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
  19933. this.pages = [];
  19934. this.col = 1;
  19935. this.row = 1;
  19936. this.indexPage = 0;
  19937. this.grid = [];
  19938. this.currentItem$ = this.evtStatusService.currentPage$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__["map"])(p => this.items.find(i => i.id === p.id)));
  19939. }
  19940. ngOnInit() {
  19941. this._setup();
  19942. }
  19943. ngOnChanges(changes) {
  19944. if (Object.keys(changes).some(k => changes[k].currentValue !== changes[k].previousValue)) {
  19945. this._setup();
  19946. }
  19947. }
  19948. _setup() {
  19949. this.items = this.pages.map((page) => ({ url: page.url, name: page.label, id: page.id }));
  19950. this.col = this.isValid(this.col) ? this.col : 1;
  19951. this.row = this.isValid(this.row) ? this.row : 1;
  19952. const gridSize = this.col * this.row;
  19953. this.grid = Array(Math.ceil(this.items.length / gridSize)).fill(1)
  19954. .map((_, i) => this.items.slice(i * gridSize, i * gridSize + gridSize))
  19955. .map((p) => Array(this.row).fill(1).map((_, i) => p.slice(i * this.col, i * this.col + this.col)));
  19956. }
  19957. isValid(value) {
  19958. return !(isNaN(value) || value <= 0);
  19959. }
  19960. goToPrevPage() {
  19961. this.indexPage = Math.max(0, this.indexPage - 1);
  19962. }
  19963. goToNextPage() {
  19964. this.indexPage = Math.min(this.indexPage + 1, this.grid.length - 1);
  19965. }
  19966. goToThumbPage(item) {
  19967. this.evtStatusService.updatePage$.next(this.pages.find(p => p.id === item.id));
  19968. this.clickedItem.emit(item);
  19969. }
  19970. }
  19971. ManuscriptThumbnailsViewerComponent.ɵfac = function ManuscriptThumbnailsViewerComponent_Factory(t) { return new (t || ManuscriptThumbnailsViewerComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_services_evt_status_service__WEBPACK_IMPORTED_MODULE_2__["EVTStatusService"])); };
  19972. ManuscriptThumbnailsViewerComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: ManuscriptThumbnailsViewerComponent, selectors: [["evt-manuscript-thumbnails"]], inputs: { pages: "pages", col: "col", row: "row" }, outputs: { clickedItem: "clickedItem" }, features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵNgOnChangesFeature"]], decls: 4, vars: 1, consts: [[1, "thumbnails-view"], [4, "ngTemplateOutlet"], ["fullGrid", ""], [4, "ngFor", "ngForOf"], [1, "change-page-container", 3, "hidden"], [3, "iconRight", "btnClick"], [1, "current-page"], [3, "iconLeft", "btnClick"], [1, "page", 3, "id", "ngClass"], ["class", "d-flex row flex-row bd-highlight mb-3", 4, "ngFor", "ngForOf"], [1, "d-flex", "row", "flex-row", "bd-highlight", "mb-3"], ["class", "p-2 bd-highlight item-content ", 3, "click", 4, "ngFor", "ngForOf"], [1, "p-2", "bd-highlight", "item-content", 3, "click"], ["alt", "page", 1, "evt-img-page", 3, "src", "ngClass"], [1, "item-page-index", 3, "ngClass"]], template: function ManuscriptThumbnailsViewerComponent_Template(rf, ctx) { if (rf & 1) {
  19973. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 0);
  19974. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, ManuscriptThumbnailsViewerComponent_ng_container_1_Template, 1, 0, "ng-container", 1);
  19975. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
  19976. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, ManuscriptThumbnailsViewerComponent_ng_template_2_Template, 7, 8, "ng-template", null, 2, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplateRefExtractor"]);
  19977. } if (rf & 2) {
  19978. const _r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵreference"](3);
  19979. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
  19980. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngTemplateOutlet", _r1);
  19981. } }, directives: [_angular_common__WEBPACK_IMPORTED_MODULE_3__["NgTemplateOutlet"], _angular_common__WEBPACK_IMPORTED_MODULE_3__["NgForOf"], _ui_components_button_button_component__WEBPACK_IMPORTED_MODULE_4__["ButtonComponent"], _angular_common__WEBPACK_IMPORTED_MODULE_3__["NgClass"]], pipes: [_angular_common__WEBPACK_IMPORTED_MODULE_3__["AsyncPipe"]], styles: ["[_ngcontent-%COMP%]:root {\n --thumbnail-height: 150px;\n --thumbnail-width: 100px;\n}\n\n.thumbnails-view[_ngcontent-%COMP%] {\n height: 100%;\n overflow: auto;\n position: relative;\n}\n\n[data-theme=restore][_nghost-%COMP%] .thumbnails-view[_ngcontent-%COMP%], [data-theme=restore] [_nghost-%COMP%] .thumbnails-view[_ngcontent-%COMP%], [data-theme=restore][_ngcontent-%COMP%] .thumbnails-view[_ngcontent-%COMP%] {\n background-color: #783a3a;\n}\n\n[data-theme=neutral][_nghost-%COMP%] .thumbnails-view[_ngcontent-%COMP%], [data-theme=neutral] [_nghost-%COMP%] .thumbnails-view[_ngcontent-%COMP%], [data-theme=neutral][_ngcontent-%COMP%] .thumbnails-view[_ngcontent-%COMP%] {\n background-color: #555;\n}\n\n[data-theme=modern][_nghost-%COMP%] .thumbnails-view[_ngcontent-%COMP%], [data-theme=modern] [_nghost-%COMP%] .thumbnails-view[_ngcontent-%COMP%], [data-theme=modern][_ngcontent-%COMP%] .thumbnails-view[_ngcontent-%COMP%] {\n background-color: #607d8b;\n}\n\n[data-theme=classic][_nghost-%COMP%] .thumbnails-view[_ngcontent-%COMP%], [data-theme=classic] [_nghost-%COMP%] .thumbnails-view[_ngcontent-%COMP%], [data-theme=classic][_ngcontent-%COMP%] .thumbnails-view[_ngcontent-%COMP%] {\n background-color: #8f776a;\n}\n\n.change-page-container[_ngcontent-%COMP%] {\n padding: 10px;\n position: absolute;\n bottom: 0;\n width: 100%;\n}\n\n[data-theme=restore][_nghost-%COMP%] .change-page-container[_ngcontent-%COMP%], [data-theme=restore] [_nghost-%COMP%] .change-page-container[_ngcontent-%COMP%], [data-theme=restore][_ngcontent-%COMP%] .change-page-container[_ngcontent-%COMP%] {\n background-color: #0a4553;\n}\n\n[data-theme=neutral][_nghost-%COMP%] .change-page-container[_ngcontent-%COMP%], [data-theme=neutral] [_nghost-%COMP%] .change-page-container[_ngcontent-%COMP%], [data-theme=neutral][_ngcontent-%COMP%] .change-page-container[_ngcontent-%COMP%] {\n background-color: #45535a;\n}\n\n[data-theme=modern][_nghost-%COMP%] .change-page-container[_ngcontent-%COMP%], [data-theme=modern] [_nghost-%COMP%] .change-page-container[_ngcontent-%COMP%], [data-theme=modern][_ngcontent-%COMP%] .change-page-container[_ngcontent-%COMP%] {\n background-color: #263238;\n}\n\n[data-theme=classic][_nghost-%COMP%] .change-page-container[_ngcontent-%COMP%], [data-theme=classic] [_nghost-%COMP%] .change-page-container[_ngcontent-%COMP%], [data-theme=classic][_ngcontent-%COMP%] .change-page-container[_ngcontent-%COMP%] {\n background-color: #362d28;\n}\n\n.page[_ngcontent-%COMP%] {\n display: none;\n padding: 0 20px;\n}\n\n.active[_ngcontent-%COMP%] {\n display: block;\n}\n\n.item-content[_ngcontent-%COMP%] {\n position: relative;\n}\n\np.item-page-index[_ngcontent-%COMP%] {\n position: absolute;\n top: 70%;\n width: -o-calc(100% - 16px);\n width: calc(100% - 16px);\n text-align: center;\n}\n\n[data-theme=restore][_nghost-%COMP%] p.item-page-index[_ngcontent-%COMP%], [data-theme=restore] [_nghost-%COMP%] p.item-page-index[_ngcontent-%COMP%], [data-theme=restore][_ngcontent-%COMP%] p.item-page-index[_ngcontent-%COMP%] {\n background-color: #e9e9e9;\n color: #783a3a;\n}\n\n[data-theme=neutral][_nghost-%COMP%] p.item-page-index[_ngcontent-%COMP%], [data-theme=neutral] [_nghost-%COMP%] p.item-page-index[_ngcontent-%COMP%], [data-theme=neutral][_ngcontent-%COMP%] p.item-page-index[_ngcontent-%COMP%] {\n background-color: #fff;\n color: #555;\n}\n\n[data-theme=modern][_nghost-%COMP%] p.item-page-index[_ngcontent-%COMP%], [data-theme=modern] [_nghost-%COMP%] p.item-page-index[_ngcontent-%COMP%], [data-theme=modern][_ngcontent-%COMP%] p.item-page-index[_ngcontent-%COMP%] {\n background-color: #ECEFF1;\n color: #607d8b;\n}\n\n[data-theme=classic][_nghost-%COMP%] p.item-page-index[_ngcontent-%COMP%], [data-theme=classic] [_nghost-%COMP%] p.item-page-index[_ngcontent-%COMP%], [data-theme=classic][_ngcontent-%COMP%] p.item-page-index[_ngcontent-%COMP%] {\n background-color: #f5ead4;\n color: #8f776a;\n}\n\n[data-theme=restore][_nghost-%COMP%] .item-content[_ngcontent-%COMP%]:hover p.item-page-index[_ngcontent-%COMP%]:not(.clicked-item-par), [data-theme=restore] [_nghost-%COMP%] .item-content[_ngcontent-%COMP%]:hover p.item-page-index[_ngcontent-%COMP%]:not(.clicked-item-par), [data-theme=restore][_ngcontent-%COMP%] .item-content[_ngcontent-%COMP%]:hover p.item-page-index[_ngcontent-%COMP%]:not(.clicked-item-par) {\n background: #783a3a;\n color: #e9e9e9;\n}\n\n[data-theme=neutral][_nghost-%COMP%] .item-content[_ngcontent-%COMP%]:hover p.item-page-index[_ngcontent-%COMP%]:not(.clicked-item-par), [data-theme=neutral] [_nghost-%COMP%] .item-content[_ngcontent-%COMP%]:hover p.item-page-index[_ngcontent-%COMP%]:not(.clicked-item-par), [data-theme=neutral][_ngcontent-%COMP%] .item-content[_ngcontent-%COMP%]:hover p.item-page-index[_ngcontent-%COMP%]:not(.clicked-item-par) {\n background: #555;\n color: #fff;\n}\n\n[data-theme=modern][_nghost-%COMP%] .item-content[_ngcontent-%COMP%]:hover p.item-page-index[_ngcontent-%COMP%]:not(.clicked-item-par), [data-theme=modern] [_nghost-%COMP%] .item-content[_ngcontent-%COMP%]:hover p.item-page-index[_ngcontent-%COMP%]:not(.clicked-item-par), [data-theme=modern][_ngcontent-%COMP%] .item-content[_ngcontent-%COMP%]:hover p.item-page-index[_ngcontent-%COMP%]:not(.clicked-item-par) {\n background: #607d8b;\n color: #ECEFF1;\n}\n\n[data-theme=classic][_nghost-%COMP%] .item-content[_ngcontent-%COMP%]:hover p.item-page-index[_ngcontent-%COMP%]:not(.clicked-item-par), [data-theme=classic] [_nghost-%COMP%] .item-content[_ngcontent-%COMP%]:hover p.item-page-index[_ngcontent-%COMP%]:not(.clicked-item-par), [data-theme=classic][_ngcontent-%COMP%] .item-content[_ngcontent-%COMP%]:hover p.item-page-index[_ngcontent-%COMP%]:not(.clicked-item-par) {\n background: #8f776a;\n color: #f5ead4;\n}\n\n.pages-controller[_ngcontent-%COMP%] {\n width: 20px;\n margin: 5px;\n border-radius: 3px;\n}\n\n[data-theme=restore][_nghost-%COMP%] .pages-controller[_ngcontent-%COMP%], [data-theme=restore] [_nghost-%COMP%] .pages-controller[_ngcontent-%COMP%], [data-theme=restore][_ngcontent-%COMP%] .pages-controller[_ngcontent-%COMP%] {\n color: #e9e9e9;\n}\n\n[data-theme=neutral][_nghost-%COMP%] .pages-controller[_ngcontent-%COMP%], [data-theme=neutral] [_nghost-%COMP%] .pages-controller[_ngcontent-%COMP%], [data-theme=neutral][_ngcontent-%COMP%] .pages-controller[_ngcontent-%COMP%] {\n color: #fff;\n}\n\n[data-theme=modern][_nghost-%COMP%] .pages-controller[_ngcontent-%COMP%], [data-theme=modern] [_nghost-%COMP%] .pages-controller[_ngcontent-%COMP%], [data-theme=modern][_ngcontent-%COMP%] .pages-controller[_ngcontent-%COMP%] {\n color: #ECEFF1;\n}\n\n[data-theme=classic][_nghost-%COMP%] .pages-controller[_ngcontent-%COMP%], [data-theme=classic] [_nghost-%COMP%] .pages-controller[_ngcontent-%COMP%], [data-theme=classic][_ngcontent-%COMP%] .pages-controller[_ngcontent-%COMP%] {\n color: #f5ead4;\n}\n\n[data-theme=restore][_nghost-%COMP%] .pages-controller[_ngcontent-%COMP%], [data-theme=restore] [_nghost-%COMP%] .pages-controller[_ngcontent-%COMP%], [data-theme=restore][_ngcontent-%COMP%] .pages-controller[_ngcontent-%COMP%] {\n border: 3px solid #e9e9e9;\n}\n\n[data-theme=neutral][_nghost-%COMP%] .pages-controller[_ngcontent-%COMP%], [data-theme=neutral] [_nghost-%COMP%] .pages-controller[_ngcontent-%COMP%], [data-theme=neutral][_ngcontent-%COMP%] .pages-controller[_ngcontent-%COMP%] {\n border: 3px solid #fff;\n}\n\n[data-theme=modern][_nghost-%COMP%] .pages-controller[_ngcontent-%COMP%], [data-theme=modern] [_nghost-%COMP%] .pages-controller[_ngcontent-%COMP%], [data-theme=modern][_ngcontent-%COMP%] .pages-controller[_ngcontent-%COMP%] {\n border: 3px solid #ECEFF1;\n}\n\n[data-theme=classic][_nghost-%COMP%] .pages-controller[_ngcontent-%COMP%], [data-theme=classic] [_nghost-%COMP%] .pages-controller[_ngcontent-%COMP%], [data-theme=classic][_ngcontent-%COMP%] .pages-controller[_ngcontent-%COMP%] {\n border: 3px solid #f5ead4;\n}\n\n[data-theme=restore][_nghost-%COMP%] .clicked-item[_ngcontent-%COMP%], [data-theme=restore] [_nghost-%COMP%] .clicked-item[_ngcontent-%COMP%], [data-theme=restore][_ngcontent-%COMP%] .clicked-item[_ngcontent-%COMP%] {\n border: 2px solid #e9e9e9;\n}\n\n[data-theme=neutral][_nghost-%COMP%] .clicked-item[_ngcontent-%COMP%], [data-theme=neutral] [_nghost-%COMP%] .clicked-item[_ngcontent-%COMP%], [data-theme=neutral][_ngcontent-%COMP%] .clicked-item[_ngcontent-%COMP%] {\n border: 2px solid #fff;\n}\n\n[data-theme=modern][_nghost-%COMP%] .clicked-item[_ngcontent-%COMP%], [data-theme=modern] [_nghost-%COMP%] .clicked-item[_ngcontent-%COMP%], [data-theme=modern][_ngcontent-%COMP%] .clicked-item[_ngcontent-%COMP%] {\n border: 2px solid #ECEFF1;\n}\n\n[data-theme=classic][_nghost-%COMP%] .clicked-item[_ngcontent-%COMP%], [data-theme=classic] [_nghost-%COMP%] .clicked-item[_ngcontent-%COMP%], [data-theme=classic][_ngcontent-%COMP%] .clicked-item[_ngcontent-%COMP%] {\n border: 2px solid #f5ead4;\n}\n\n[data-theme=restore][_nghost-%COMP%] .clicked-item-par[_ngcontent-%COMP%], [data-theme=restore] [_nghost-%COMP%] .clicked-item-par[_ngcontent-%COMP%], [data-theme=restore][_ngcontent-%COMP%] .clicked-item-par[_ngcontent-%COMP%] {\n background-color: #e9e9e9;\n color: #783a3a;\n}\n\n[data-theme=neutral][_nghost-%COMP%] .clicked-item-par[_ngcontent-%COMP%], [data-theme=neutral] [_nghost-%COMP%] .clicked-item-par[_ngcontent-%COMP%], [data-theme=neutral][_ngcontent-%COMP%] .clicked-item-par[_ngcontent-%COMP%] {\n background-color: #fff;\n color: #555;\n}\n\n[data-theme=modern][_nghost-%COMP%] .clicked-item-par[_ngcontent-%COMP%], [data-theme=modern] [_nghost-%COMP%] .clicked-item-par[_ngcontent-%COMP%], [data-theme=modern][_ngcontent-%COMP%] .clicked-item-par[_ngcontent-%COMP%] {\n background-color: #ECEFF1;\n color: #607d8b;\n}\n\n[data-theme=classic][_nghost-%COMP%] .clicked-item-par[_ngcontent-%COMP%], [data-theme=classic] [_nghost-%COMP%] .clicked-item-par[_ngcontent-%COMP%], [data-theme=classic][_ngcontent-%COMP%] .clicked-item-par[_ngcontent-%COMP%] {\n background-color: #f5ead4;\n color: #8f776a;\n}\n\n.current-page[_ngcontent-%COMP%] {\n display: inline;\n padding: 0 10px;\n}\n\n[data-theme=restore][_nghost-%COMP%] .current-page[_ngcontent-%COMP%], [data-theme=restore] [_nghost-%COMP%] .current-page[_ngcontent-%COMP%], [data-theme=restore][_ngcontent-%COMP%] .current-page[_ngcontent-%COMP%] {\n color: #e9e9e9;\n}\n\n[data-theme=neutral][_nghost-%COMP%] .current-page[_ngcontent-%COMP%], [data-theme=neutral] [_nghost-%COMP%] .current-page[_ngcontent-%COMP%], [data-theme=neutral][_ngcontent-%COMP%] .current-page[_ngcontent-%COMP%] {\n color: #fff;\n}\n\n[data-theme=modern][_nghost-%COMP%] .current-page[_ngcontent-%COMP%], [data-theme=modern] [_nghost-%COMP%] .current-page[_ngcontent-%COMP%], [data-theme=modern][_ngcontent-%COMP%] .current-page[_ngcontent-%COMP%] {\n color: #ECEFF1;\n}\n\n[data-theme=classic][_nghost-%COMP%] .current-page[_ngcontent-%COMP%], [data-theme=classic] [_nghost-%COMP%] .current-page[_ngcontent-%COMP%], [data-theme=classic][_ngcontent-%COMP%] .current-page[_ngcontent-%COMP%] {\n color: #f5ead4;\n}\n\n.evt-img-page[_ngcontent-%COMP%] {\n min-height: 150px;\n min-width: 100px;\n max-height: 150px;\n max-width: 100px;\n cursor: pointer;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2Fzc2V0cy9zY3NzL192YXJpYWJsZXMuc2NzcyIs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HRleHQtYWxpZ246IGxlZnQ7XG59Il19 */"] });
  19982. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](ManuscriptThumbnailsViewerComponent, [{
  19983. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
  19984. args: [{
  19985. selector: 'evt-manuscript-thumbnails',
  19986. templateUrl: './manuscript-thumbnails-viewer.component.html',
  19987. styleUrls: ['./manuscript-thumbnails-viewer.component.scss'],
  19988. }]
  19989. }], function () { return [{ type: _services_evt_status_service__WEBPACK_IMPORTED_MODULE_2__["EVTStatusService"] }]; }, { clickedItem: [{
  19990. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
  19991. }], pages: [{
  19992. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
  19993. }], col: [{
  19994. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
  19995. }], row: [{
  19996. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
  19997. }] }); })();
  19998. /***/ }),
  19999. /***/ "xZwa":
  20000. /*!*************************************************************!*\
  20001. !*** ./src/app/components/phys-desc/phys-desc.component.ts ***!
  20002. \*************************************************************/
  20003. /*! exports provided: PhysDescComponent */
  20004. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  20005. "use strict";
  20006. __webpack_require__.r(__webpack_exports__);
  20007. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PhysDescComponent", function() { return PhysDescComponent; });
  20008. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "mrSG");
  20009. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "fXoL");
  20010. /* harmony import */ var _models_evt_models__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../models/evt-models */ "5c0l");
  20011. /* harmony import */ var _services_component_register_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../services/component-register.service */ "d25s");
  20012. /* harmony import */ var _ui_components_ms_desc_section_ms_desc_section_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../ui-components/ms-desc-section/ms-desc-section.component */ "WyXU");
  20013. /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/common */ "ofXK");
  20014. /* harmony import */ var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../content-viewer/content-viewer.component */ "t6RO");
  20015. function PhysDescComponent_ng_container_2_div_1_evt_content_viewer_4_Template(rf, ctx) { if (rf & 1) {
  20016. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 9);
  20017. } if (rf & 2) {
  20018. const parag_r14 = ctx.$implicit;
  20019. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", parag_r14);
  20020. } }
  20021. function PhysDescComponent_ng_container_2_div_1_Template(rf, ctx) { if (rf & 1) {
  20022. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 4);
  20023. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "div", 5);
  20024. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](2, "evt-ms-desc-section", 6);
  20025. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  20026. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](3, "div", 7);
  20027. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, PhysDescComponent_ng_container_2_div_1_evt_content_viewer_4_Template, 1, 1, "evt-content-viewer", 8);
  20028. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  20029. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  20030. } if (rf & 2) {
  20031. const objectDesc_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]().ngIf;
  20032. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  20033. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "description")("inlineLabel", true);
  20034. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  20035. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", objectDesc_r5.pEl);
  20036. } }
  20037. function PhysDescComponent_ng_container_2_div_2_Template(rf, ctx) { if (rf & 1) {
  20038. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 4);
  20039. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "div", 5);
  20040. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](2, "evt-ms-desc-section", 6);
  20041. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  20042. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](3, "div", 7);
  20043. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](4, "evt-content-viewer", 9);
  20044. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  20045. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  20046. } if (rf & 2) {
  20047. const objectDesc_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]().ngIf;
  20048. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  20049. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "supportDesc")("inlineLabel", true);
  20050. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  20051. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", objectDesc_r5.supportDesc.support || objectDesc_r5.supportDesc);
  20052. } }
  20053. function PhysDescComponent_ng_container_2_div_3_Template(rf, ctx) { if (rf & 1) {
  20054. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 4);
  20055. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "div", 5);
  20056. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](2, "evt-ms-desc-section", 6);
  20057. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  20058. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](3, "div", 7);
  20059. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](4, "evt-content-viewer", 9);
  20060. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  20061. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  20062. } if (rf & 2) {
  20063. const objectDesc_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]().ngIf;
  20064. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  20065. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "condition")("inlineLabel", true);
  20066. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  20067. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", objectDesc_r5.supportDesc.condition);
  20068. } }
  20069. function PhysDescComponent_ng_container_2_div_4_div_4_evt_content_viewer_1_Template(rf, ctx) { if (rf & 1) {
  20070. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 9);
  20071. } if (rf & 2) {
  20072. const extent_r21 = ctx.$implicit;
  20073. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", extent_r21);
  20074. } }
  20075. function PhysDescComponent_ng_container_2_div_4_div_4_Template(rf, ctx) { if (rf & 1) {
  20076. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div");
  20077. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, PhysDescComponent_ng_container_2_div_4_div_4_evt_content_viewer_1_Template, 1, 1, "evt-content-viewer", 8);
  20078. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  20079. } if (rf & 2) {
  20080. const extents_r19 = ctx.$implicit;
  20081. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  20082. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", extents_r19);
  20083. } }
  20084. function PhysDescComponent_ng_container_2_div_4_Template(rf, ctx) { if (rf & 1) {
  20085. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 4);
  20086. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "div", 5);
  20087. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](2, "evt-ms-desc-section", 6);
  20088. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  20089. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](3, "div", 7);
  20090. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, PhysDescComponent_ng_container_2_div_4_div_4_Template, 2, 1, "div", 10);
  20091. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  20092. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  20093. } if (rf & 2) {
  20094. const objectDesc_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]().ngIf;
  20095. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  20096. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "extent")("inlineLabel", true);
  20097. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  20098. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", objectDesc_r5.supportDesc == null ? null : objectDesc_r5.supportDesc.extents);
  20099. } }
  20100. function PhysDescComponent_ng_container_2_div_5_Template(rf, ctx) { if (rf & 1) {
  20101. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 4);
  20102. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "div", 5);
  20103. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](2, "evt-ms-desc-section", 6);
  20104. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  20105. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](3, "div", 7);
  20106. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](4, "evt-content-viewer", 9);
  20107. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  20108. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  20109. } if (rf & 2) {
  20110. const objectDesc_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]().ngIf;
  20111. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  20112. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "foliation")("inlineLabel", true);
  20113. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  20114. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", objectDesc_r5.supportDesc.foliation);
  20115. } }
  20116. function PhysDescComponent_ng_container_2_div_6_Template(rf, ctx) { if (rf & 1) {
  20117. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 4);
  20118. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "div", 5);
  20119. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](2, "evt-ms-desc-section", 6);
  20120. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  20121. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](3, "div", 7);
  20122. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](4, "evt-content-viewer", 9);
  20123. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  20124. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  20125. } if (rf & 2) {
  20126. const objectDesc_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]().ngIf;
  20127. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  20128. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "collation")("inlineLabel", true);
  20129. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  20130. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", objectDesc_r5.supportDesc.collation);
  20131. } }
  20132. function PhysDescComponent_ng_container_2_div_7_Template(rf, ctx) { if (rf & 1) {
  20133. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 4);
  20134. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "div", 5);
  20135. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](2, "evt-ms-desc-section", 6);
  20136. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  20137. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](3, "div", 7);
  20138. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](4, "evt-content-viewer", 9);
  20139. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  20140. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  20141. } if (rf & 2) {
  20142. const objectDesc_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]().ngIf;
  20143. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  20144. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "layoutDesc")("inlineLabel", true);
  20145. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  20146. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", objectDesc_r5.layoutDesc);
  20147. } }
  20148. function PhysDescComponent_ng_container_2_Template(rf, ctx) { if (rf & 1) {
  20149. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
  20150. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, PhysDescComponent_ng_container_2_div_1_Template, 5, 3, "div", 3);
  20151. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, PhysDescComponent_ng_container_2_div_2_Template, 5, 3, "div", 3);
  20152. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, PhysDescComponent_ng_container_2_div_3_Template, 5, 3, "div", 3);
  20153. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, PhysDescComponent_ng_container_2_div_4_Template, 5, 3, "div", 3);
  20154. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](5, PhysDescComponent_ng_container_2_div_5_Template, 5, 3, "div", 3);
  20155. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](6, PhysDescComponent_ng_container_2_div_6_Template, 5, 3, "div", 3);
  20156. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](7, PhysDescComponent_ng_container_2_div_7_Template, 5, 3, "div", 3);
  20157. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
  20158. } if (rf & 2) {
  20159. const objectDesc_r5 = ctx.ngIf;
  20160. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  20161. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", (objectDesc_r5.pEl == null ? null : objectDesc_r5.pEl.length) > 0);
  20162. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  20163. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", (objectDesc_r5.supportDesc == null ? null : objectDesc_r5.supportDesc.support) || (objectDesc_r5.supportDesc == null ? null : objectDesc_r5.supportDesc.pEl.length) > 0);
  20164. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  20165. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", objectDesc_r5.supportDesc == null ? null : objectDesc_r5.supportDesc.condition);
  20166. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  20167. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", (objectDesc_r5.supportDesc == null ? null : objectDesc_r5.supportDesc.extents.length) > 0);
  20168. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  20169. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", objectDesc_r5.supportDesc == null ? null : objectDesc_r5.supportDesc.foliation);
  20170. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  20171. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", objectDesc_r5.supportDesc == null ? null : objectDesc_r5.supportDesc.collation);
  20172. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  20173. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", objectDesc_r5.layoutDesc);
  20174. } }
  20175. function PhysDescComponent_div_3_Template(rf, ctx) { if (rf & 1) {
  20176. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 4);
  20177. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "div", 5);
  20178. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](2, "evt-ms-desc-section", 6);
  20179. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  20180. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](3, "div", 7);
  20181. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](4, "evt-content-viewer", 9);
  20182. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  20183. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  20184. } if (rf & 2) {
  20185. const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  20186. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  20187. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "handDesc")("inlineLabel", true);
  20188. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  20189. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", ctx_r1.data.handDesc);
  20190. } }
  20191. function PhysDescComponent_div_4_Template(rf, ctx) { if (rf & 1) {
  20192. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 4);
  20193. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "div", 5);
  20194. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](2, "evt-ms-desc-section", 6);
  20195. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  20196. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](3, "div", 7);
  20197. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](4, "evt-content-viewer", 9);
  20198. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  20199. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  20200. } if (rf & 2) {
  20201. const ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  20202. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  20203. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "decoDesc")("inlineLabel", true);
  20204. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  20205. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", ctx_r2.data.decoDesc);
  20206. } }
  20207. function PhysDescComponent_div_5_Template(rf, ctx) { if (rf & 1) {
  20208. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 4);
  20209. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "div", 5);
  20210. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](2, "evt-ms-desc-section", 6);
  20211. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  20212. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](3, "div", 7);
  20213. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](4, "evt-content-viewer", 9);
  20214. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  20215. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  20216. } if (rf & 2) {
  20217. const ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  20218. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  20219. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "bindingDesc")("inlineLabel", true);
  20220. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  20221. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", ctx_r3.data.bindingDesc);
  20222. } }
  20223. function PhysDescComponent_div_6_evt_content_viewer_4_Template(rf, ctx) { if (rf & 1) {
  20224. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 9);
  20225. } if (rf & 2) {
  20226. const par_r27 = ctx.$implicit;
  20227. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", par_r27);
  20228. } }
  20229. function PhysDescComponent_div_6_Template(rf, ctx) { if (rf & 1) {
  20230. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 4);
  20231. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "div", 5);
  20232. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](2, "evt-ms-desc-section", 6);
  20233. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  20234. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](3, "div", 7);
  20235. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, PhysDescComponent_div_6_evt_content_viewer_4_Template, 1, 1, "evt-content-viewer", 8);
  20236. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  20237. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  20238. } if (rf & 2) {
  20239. const ctx_r4 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  20240. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  20241. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "description")("inlineLabel", true);
  20242. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  20243. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r4.data.pEl);
  20244. } }
  20245. let PhysDescComponent = class PhysDescComponent {
  20246. };
  20247. PhysDescComponent.ɵfac = function PhysDescComponent_Factory(t) { return new (t || PhysDescComponent)(); };
  20248. PhysDescComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({ type: PhysDescComponent, selectors: [["evt-phys-desc"]], inputs: { data: "data" }, decls: 7, vars: 7, consts: [[1, "phyDesc"], [3, "label", "underline"], [4, "ngIf"], ["class", "flex-container", 4, "ngIf"], [1, "flex-container"], [1, "flex-item-label"], [3, "label", "inlineLabel"], [1, "flex-item-information"], [3, "content", 4, "ngFor", "ngForOf"], [3, "content"], [4, "ngFor", "ngForOf"]], template: function PhysDescComponent_Template(rf, ctx) { if (rf & 1) {
  20249. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 0);
  20250. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](1, "evt-ms-desc-section", 1);
  20251. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, PhysDescComponent_ng_container_2_Template, 8, 7, "ng-container", 2);
  20252. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, PhysDescComponent_div_3_Template, 5, 3, "div", 3);
  20253. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, PhysDescComponent_div_4_Template, 5, 3, "div", 3);
  20254. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](5, PhysDescComponent_div_5_Template, 5, 3, "div", 3);
  20255. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](6, PhysDescComponent_div_6_Template, 5, 3, "div", 3);
  20256. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  20257. } if (rf & 2) {
  20258. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  20259. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "phyDesc")("underline", true);
  20260. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  20261. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data == null ? null : ctx.data.objectDesc);
  20262. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  20263. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data == null ? null : ctx.data.handDesc);
  20264. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  20265. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data == null ? null : ctx.data.decoDesc);
  20266. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  20267. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data == null ? null : ctx.data.bindingDesc);
  20268. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  20269. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", (ctx.data == null ? null : ctx.data.pEl.length) > 0);
  20270. } }, directives: [_ui_components_ms_desc_section_ms_desc_section_component__WEBPACK_IMPORTED_MODULE_4__["MsDescSectionComponent"], _angular_common__WEBPACK_IMPORTED_MODULE_5__["NgIf"], _angular_common__WEBPACK_IMPORTED_MODULE_5__["NgForOf"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_6__["ContentViewerComponent"]], styles: [".phyDesc[_ngcontent-%COMP%] {\n margin-bottom: 2rem;\n}\n\n.flex-container[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n}\n\n.flex-item-label[_ngcontent-%COMP%] {\n flex-basis: 100%;\n}\n\n.flex-item-information[_ngcontent-%COMP%] {\n flex-basis: 100%;\n margin-bottom: 0.7rem;\n}\n\n@media (min-width: 594px) {\n .flex-item-label[_ngcontent-%COMP%] {\n flex-basis: 20%;\n }\n\n .flex-item-information[_ngcontent-%COMP%] {\n flex-basis: 80%;\n }\n}\n\n@media (min-width: 640px) {\n .flex-item-label[_ngcontent-%COMP%] {\n flex-basis: 100%;\n }\n\n .flex-item-information[_ngcontent-%COMP%] {\n flex-basis: 100%;\n }\n}\n\n@media (min-width: 1190px) {\n .flex-item-label[_ngcontent-%COMP%] {\n flex-basis: 20%;\n }\n\n .flex-item-information[_ngcontent-%COMP%] {\n flex-basis: 80%;\n }\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3BoeXMtZGVzYy5jb21wb25lbnQuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNJLG1CQUFBO0FBQ0o7O0FBRUE7RUFDSSxhQUFBO0VBQ0EsbUJBQUE7RUFDQSxlQUFBO0FBQ0o7O0FBRUE7RUFDSSxnQkFBQTtBQUNKOztBQUVBO0VBQ0ksZ0JBQUE7RUFDQSxxQkFBQTtBQUNKOztBQUVBO0VBQ0k7SUFDSSxlQUFBO0VBQ047O0VBRUU7SUFDSSxlQUFBO0VBQ047QUFDRjs7QUFFQTtFQUNJO0lBQ0ksZ0JBQUE7RUFBTjs7RUFHRTtJQUNJLGdCQUFBO0VBQU47QUFDRjs7QUFHQTtFQUNJO0lBQ0ksZUFBQTtFQUROOztFQUlFO0lBQ0ksZUFBQTtFQUROO0FBQ0YiLCJmaWxlIjoicGh5cy1kZXNjLmNvbXBvbmVudC5zY3NzIiwic291cmNlc0NvbnRlbnQiOlsiLnBoeURlc2Mge1xuICAgIG1hcmdpbi1ib3R0b206IDJyZW07XG59XG5cbi5mbGV4LWNvbnRhaW5lciB7XG4gICAgZGlzcGxheTogZmxleDtcbiAgICBmbGV4LWRpcmVjdGlvbjogcm93O1xuICAgIGZsZXgtd3JhcDogd3JhcDtcbn1cblxuLmZsZXgtaXRlbS1sYWJlbCB7XG4gICAgZmxleC1iYXNpczogMTAwJTtcbn1cblxuLmZsZXgtaXRlbS1pbmZvcm1hdGlvbiB7XG4gICAgZmxleC1iYXNpczogMTAwJTtcbiAgICBtYXJnaW4tYm90dG9tOiAwLjdyZW07XG59XG5cbkBtZWRpYSAobWluLXdpZHRoOiA1OTRweCkgeyBcbiAgICAuZmxleC1pdGVtLWxhYmVsIHtcbiAgICAgICAgZmxleC1iYXNpczogMjAlO1xuICAgICAgfVxuICAgICAgXG4gICAgLmZsZXgtaXRlbS1pbmZvcm1hdGlvbiB7XG4gICAgICAgIGZsZXgtYmFzaXM6IDgwJTtcbiAgICB9XG59XG5cbkBtZWRpYSAobWluLXdpZHRoOiA2NDBweCkgeyBcbiAgICAuZmxleC1pdGVtLWxhYmVsIHtcbiAgICAgICAgZmxleC1iYXNpczogMTAwJTtcbiAgICB9XG5cbiAgICAuZmxleC1pdGVtLWluZm9ybWF0aW9uIHtcbiAgICAgICAgZmxleC1iYXNpczoxMDAlXG4gICAgfVxuIH1cblxuQG1lZGlhIChtaW4td2lkdGg6IDExOTBweCkgeyBcbiAgICAuZmxleC1pdGVtLWxhYmVsIHtcbiAgICAgICAgZmxleC1iYXNpczogMjAlO1xuICAgICAgfVxuICAgICAgXG4gICAgLmZsZXgtaXRlbS1pbmZvcm1hdGlvbiB7XG4gICAgICAgIGZsZXgtYmFzaXM6IDgwJTtcbiAgICB9XG4gfVxuIl19 */"] });
  20271. PhysDescComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  20272. Object(_services_component_register_service__WEBPACK_IMPORTED_MODULE_3__["register"])(_models_evt_models__WEBPACK_IMPORTED_MODULE_2__["PhysDesc"])
  20273. ], PhysDescComponent);
  20274. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](PhysDescComponent, [{
  20275. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
  20276. args: [{
  20277. selector: 'evt-phys-desc',
  20278. templateUrl: './phys-desc.component.html',
  20279. styleUrls: ['./phys-desc.component.scss'],
  20280. }]
  20281. }], null, { data: [{
  20282. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
  20283. }] }); })();
  20284. /***/ }),
  20285. /***/ "xZzZ":
  20286. /*!*******************************************************************************************************!*\
  20287. !*** ./src/app/components/apparatus-entry/apparatus-entry-detail/apparatus-entry-detail.component.ts ***!
  20288. \*******************************************************************************************************/
  20289. /*! exports provided: ApparatusEntryDetailComponent */
  20290. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  20291. "use strict";
  20292. __webpack_require__.r(__webpack_exports__);
  20293. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ApparatusEntryDetailComponent", function() { return ApparatusEntryDetailComponent; });
  20294. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "mrSG");
  20295. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "fXoL");
  20296. /* harmony import */ var _models_evt_models__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../models/evt-models */ "5c0l");
  20297. /* harmony import */ var _services_component_register_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../services/component-register.service */ "d25s");
  20298. /* harmony import */ var _services_evt_model_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../services/evt-model.service */ "hI0h");
  20299. /* harmony import */ var _apparatus_entry_readings_apparatus_entry_readings_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../apparatus-entry-readings/apparatus-entry-readings.component */ "etwH");
  20300. /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/common */ "ofXK");
  20301. /* harmony import */ var _pinboard_pinner_pinner_component__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../pinboard/pinner/pinner.component */ "j7gH");
  20302. /* harmony import */ var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @ng-bootstrap/ng-bootstrap */ "1kSV");
  20303. /* harmony import */ var _note_note_component__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../note/note.component */ "EpuN");
  20304. /* harmony import */ var _reading_reading_component__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../reading/reading.component */ "QgGR");
  20305. /* harmony import */ var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../content-viewer/content-viewer.component */ "t6RO");
  20306. /* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @ngx-translate/core */ "sYmb");
  20307. /* harmony import */ var _pipes_xml_beautify_pipe__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../../../pipes/xml-beautify.pipe */ "UhR9");
  20308. var ApparatusEntryDetailComponent_1;
  20309. function ApparatusEntryDetailComponent_div_4_span_1_Template(rf, ctx) { if (rf & 1) {
  20310. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 18);
  20311. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "sup");
  20312. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](2);
  20313. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  20314. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](3, "evt-apparatus-entry-readings", 19);
  20315. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  20316. } if (rf & 2) {
  20317. const nesApp_r9 = ctx.$implicit;
  20318. const i_r10 = ctx.index;
  20319. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
  20320. const _r6 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵreference"](23);
  20321. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  20322. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"]("", i_r10 + 1, " ");
  20323. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  20324. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("data", nesApp_r9)("template", _r6)("rdgHasCounter", false);
  20325. } }
  20326. function ApparatusEntryDetailComponent_div_4_Template(rf, ctx) { if (rf & 1) {
  20327. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 16);
  20328. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, ApparatusEntryDetailComponent_div_4_span_1_Template, 4, 4, "span", 17);
  20329. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  20330. } if (rf & 2) {
  20331. const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  20332. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  20333. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r0.nestedApps);
  20334. } }
  20335. function ApparatusEntryDetailComponent_li_9_ng_template_4_evt_note_0_Template(rf, ctx) { if (rf & 1) {
  20336. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-note", 22);
  20337. } if (rf & 2) {
  20338. const note_r13 = ctx.$implicit;
  20339. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("data", note_r13);
  20340. } }
  20341. function ApparatusEntryDetailComponent_li_9_ng_template_4_Template(rf, ctx) { if (rf & 1) {
  20342. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](0, ApparatusEntryDetailComponent_li_9_ng_template_4_evt_note_0_Template, 1, 1, "evt-note", 21);
  20343. } if (rf & 2) {
  20344. const ctx_r11 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
  20345. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r11.data.notes);
  20346. } }
  20347. function ApparatusEntryDetailComponent_li_9_Template(rf, ctx) { if (rf & 1) {
  20348. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "li", 20);
  20349. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "a", 11);
  20350. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](2);
  20351. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](3, "translate");
  20352. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  20353. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, ApparatusEntryDetailComponent_li_9_ng_template_4_Template, 1, 1, "ng-template", 12);
  20354. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  20355. } if (rf & 2) {
  20356. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  20357. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](3, 1, "criticalNotes"));
  20358. } }
  20359. function ApparatusEntryDetailComponent_li_10_ng_template_4_span_0_span_2_Template(rf, ctx) { if (rf & 1) {
  20360. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 27);
  20361. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1);
  20362. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  20363. } if (rf & 2) {
  20364. const witID_r18 = ctx.$implicit;
  20365. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  20366. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"](" ", witID_r18, " ");
  20367. } }
  20368. function ApparatusEntryDetailComponent_li_10_ng_template_4_span_0_Template(rf, ctx) { if (rf & 1) {
  20369. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 25);
  20370. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](1, "evt-reading", 22);
  20371. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, ApparatusEntryDetailComponent_li_10_ng_template_4_span_0_span_2_Template, 2, 1, "span", 26);
  20372. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  20373. } if (rf & 2) {
  20374. const el_r16 = ctx.$implicit;
  20375. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  20376. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("data", el_r16);
  20377. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  20378. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", el_r16.witIDs);
  20379. } }
  20380. function ApparatusEntryDetailComponent_li_10_ng_template_4_Template(rf, ctx) { if (rf & 1) {
  20381. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](0, ApparatusEntryDetailComponent_li_10_ng_template_4_span_0_Template, 3, 2, "span", 24);
  20382. } if (rf & 2) {
  20383. const ctx_r14 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
  20384. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r14.notSignificantRdg);
  20385. } }
  20386. function ApparatusEntryDetailComponent_li_10_Template(rf, ctx) { if (rf & 1) {
  20387. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "li", 23);
  20388. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "a", 11);
  20389. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](2);
  20390. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](3, "translate");
  20391. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  20392. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, ApparatusEntryDetailComponent_li_10_ng_template_4_Template, 1, 1, "ng-template", 12);
  20393. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  20394. } if (rf & 2) {
  20395. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  20396. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](3, 1, "ortographicVariants"));
  20397. } }
  20398. function ApparatusEntryDetailComponent_ng_template_15_div_0_evt_reading_4_Template(rf, ctx) { if (rf & 1) {
  20399. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-reading", 36);
  20400. } if (rf & 2) {
  20401. const ctx_r21 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](3);
  20402. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("data", ctx_r21.data.lemma);
  20403. } }
  20404. function ApparatusEntryDetailComponent_ng_template_15_div_0_span_5_ng_container_1_Template(rf, ctx) { if (rf & 1) {
  20405. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0);
  20406. } }
  20407. const _c0 = function (a0) { return { rdgHasCounter: a0 }; };
  20408. function ApparatusEntryDetailComponent_ng_template_15_div_0_span_5_Template(rf, ctx) { if (rf & 1) {
  20409. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 37);
  20410. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, ApparatusEntryDetailComponent_ng_template_15_div_0_span_5_ng_container_1_Template, 1, 0, "ng-container", 38);
  20411. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  20412. } if (rf & 2) {
  20413. const ctx_r22 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](3);
  20414. const _r6 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵreference"](23);
  20415. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  20416. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r6)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](2, _c0, ctx_r22.rdgHasCounter));
  20417. } }
  20418. function ApparatusEntryDetailComponent_ng_template_15_div_0_span_6_span_1_Template(rf, ctx) { if (rf & 1) {
  20419. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 41);
  20420. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1);
  20421. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  20422. } if (rf & 2) {
  20423. const metadata_r26 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]().$implicit;
  20424. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  20425. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"]("", metadata_r26.key, ":");
  20426. } }
  20427. function ApparatusEntryDetailComponent_ng_template_15_div_0_span_6_Template(rf, ctx) { if (rf & 1) {
  20428. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 39);
  20429. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, ApparatusEntryDetailComponent_ng_template_15_div_0_span_6_span_1_Template, 2, 1, "span", 40);
  20430. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](2);
  20431. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  20432. } if (rf & 2) {
  20433. const metadata_r26 = ctx.$implicit;
  20434. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  20435. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", metadata_r26.key !== "id");
  20436. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  20437. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"](" ", metadata_r26.value, " ");
  20438. } }
  20439. function ApparatusEntryDetailComponent_ng_template_15_div_0_span_8_Template(rf, ctx) { if (rf & 1) {
  20440. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 39);
  20441. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "span", 27);
  20442. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](2);
  20443. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](3, "translate");
  20444. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  20445. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  20446. } if (rf & 2) {
  20447. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  20448. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](3, 1, "noDataAvailable"));
  20449. } }
  20450. function ApparatusEntryDetailComponent_ng_template_15_div_0_Template(rf, ctx) { if (rf & 1) {
  20451. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 31);
  20452. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "span");
  20453. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](2);
  20454. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](3, "translate");
  20455. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  20456. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, ApparatusEntryDetailComponent_ng_template_15_div_0_evt_reading_4_Template, 1, 1, "evt-reading", 32);
  20457. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](5, ApparatusEntryDetailComponent_ng_template_15_div_0_span_5_Template, 2, 4, "span", 33);
  20458. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](6, ApparatusEntryDetailComponent_ng_template_15_div_0_span_6_Template, 3, 2, "span", 34);
  20459. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](7, "keyvalue");
  20460. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](8, ApparatusEntryDetailComponent_ng_template_15_div_0_span_8_Template, 4, 3, "span", 35);
  20461. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](9, "keyvalue");
  20462. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  20463. } if (rf & 2) {
  20464. const ctx_r19 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
  20465. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  20466. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"]("", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](3, 5, "metadataForLemma"), " ");
  20467. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  20468. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx_r19.data.nestedAppsIDs.length === 0);
  20469. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  20470. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx_r19.data.nestedAppsIDs.length > 0);
  20471. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  20472. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](7, 7, ctx_r19.rdgMetadata));
  20473. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  20474. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](9, 9, ctx_r19.rdgMetadata).length === 0);
  20475. } }
  20476. function ApparatusEntryDetailComponent_ng_template_15_ng_container_5_div_1_ng_container_4_evt_reading_1_Template(rf, ctx) { if (rf & 1) {
  20477. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-reading", 36);
  20478. } if (rf & 2) {
  20479. const rdg_r29 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](3).$implicit;
  20480. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("data", rdg_r29);
  20481. } }
  20482. function ApparatusEntryDetailComponent_ng_template_15_ng_container_5_div_1_ng_container_4_ng_container_2_ng_container_1_evt_content_viewer_1_Template(rf, ctx) { if (rf & 1) {
  20483. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 47);
  20484. } if (rf & 2) {
  20485. const c_r39 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]().$implicit;
  20486. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", c_r39);
  20487. } }
  20488. function ApparatusEntryDetailComponent_ng_template_15_ng_container_5_div_1_ng_container_4_ng_container_2_ng_container_1_evt_reading_2_Template(rf, ctx) { if (rf & 1) {
  20489. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-reading", 36);
  20490. } if (rf & 2) {
  20491. const c_r39 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]().$implicit;
  20492. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("data", c_r39.lemma);
  20493. } }
  20494. function ApparatusEntryDetailComponent_ng_template_15_ng_container_5_div_1_ng_container_4_ng_container_2_ng_container_1_Template(rf, ctx) { if (rf & 1) {
  20495. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
  20496. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, ApparatusEntryDetailComponent_ng_template_15_ng_container_5_div_1_ng_container_4_ng_container_2_ng_container_1_evt_content_viewer_1_Template, 1, 1, "evt-content-viewer", 46);
  20497. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, ApparatusEntryDetailComponent_ng_template_15_ng_container_5_div_1_ng_container_4_ng_container_2_ng_container_1_evt_reading_2_Template, 1, 1, "evt-reading", 32);
  20498. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
  20499. } if (rf & 2) {
  20500. const c_r39 = ctx.$implicit;
  20501. const ctx_r38 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](6);
  20502. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  20503. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", !ctx_r38.isAppEntry(c_r39));
  20504. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  20505. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx_r38.isAppEntry(c_r39));
  20506. } }
  20507. function ApparatusEntryDetailComponent_ng_template_15_ng_container_5_div_1_ng_container_4_ng_container_2_Template(rf, ctx) { if (rf & 1) {
  20508. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
  20509. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, ApparatusEntryDetailComponent_ng_template_15_ng_container_5_div_1_ng_container_4_ng_container_2_ng_container_1_Template, 3, 2, "ng-container", 30);
  20510. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
  20511. } if (rf & 2) {
  20512. const rdg_r29 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](3).$implicit;
  20513. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  20514. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", rdg_r29.content);
  20515. } }
  20516. function ApparatusEntryDetailComponent_ng_template_15_ng_container_5_div_1_ng_container_4_Template(rf, ctx) { if (rf & 1) {
  20517. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
  20518. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, ApparatusEntryDetailComponent_ng_template_15_ng_container_5_div_1_ng_container_4_evt_reading_1_Template, 1, 1, "evt-reading", 32);
  20519. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, ApparatusEntryDetailComponent_ng_template_15_ng_container_5_div_1_ng_container_4_ng_container_2_Template, 2, 1, "ng-container", 44);
  20520. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
  20521. } if (rf & 2) {
  20522. const ctx_r31 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](4);
  20523. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  20524. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx_r31.data.nestedAppsIDs.length === 0);
  20525. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  20526. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx_r31.data.nestedAppsIDs.length > 0);
  20527. } }
  20528. function ApparatusEntryDetailComponent_ng_template_15_ng_container_5_div_1_span_5_Template(rf, ctx) { if (rf & 1) {
  20529. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 48);
  20530. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1);
  20531. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](2, "translate");
  20532. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  20533. } if (rf & 2) {
  20534. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  20535. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](2, 1, "omit"));
  20536. } }
  20537. function ApparatusEntryDetailComponent_ng_template_15_ng_container_5_div_1_span_6_Template(rf, ctx) { if (rf & 1) {
  20538. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 39);
  20539. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "span", 41);
  20540. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](2);
  20541. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](3, "translate");
  20542. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  20543. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](4);
  20544. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  20545. } if (rf & 2) {
  20546. const rdg_r29 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2).$implicit;
  20547. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  20548. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](3, 2, "wit"));
  20549. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  20550. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"](" ", rdg_r29.attributes.wit, " ");
  20551. } }
  20552. function ApparatusEntryDetailComponent_ng_template_15_ng_container_5_div_1_ng_container_7_span_1_Template(rf, ctx) { if (rf & 1) {
  20553. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 39);
  20554. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "span", 41);
  20555. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](2);
  20556. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  20557. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](3);
  20558. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  20559. } if (rf & 2) {
  20560. const metadata_r46 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]().$implicit;
  20561. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  20562. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"]("", metadata_r46.key, ":");
  20563. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  20564. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"](" ", metadata_r46.value, " ");
  20565. } }
  20566. function ApparatusEntryDetailComponent_ng_template_15_ng_container_5_div_1_ng_container_7_Template(rf, ctx) { if (rf & 1) {
  20567. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
  20568. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, ApparatusEntryDetailComponent_ng_template_15_ng_container_5_div_1_ng_container_7_span_1_Template, 4, 2, "span", 35);
  20569. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
  20570. } if (rf & 2) {
  20571. const metadata_r46 = ctx.$implicit;
  20572. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  20573. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", metadata_r46.key !== "wit");
  20574. } }
  20575. function ApparatusEntryDetailComponent_ng_template_15_ng_container_5_div_1_Template(rf, ctx) { if (rf & 1) {
  20576. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 43);
  20577. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "span");
  20578. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](2);
  20579. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](3, "translate");
  20580. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  20581. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, ApparatusEntryDetailComponent_ng_template_15_ng_container_5_div_1_ng_container_4_Template, 3, 2, "ng-container", 44);
  20582. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](5, ApparatusEntryDetailComponent_ng_template_15_ng_container_5_div_1_span_5_Template, 3, 3, "span", 45);
  20583. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](6, ApparatusEntryDetailComponent_ng_template_15_ng_container_5_div_1_span_6_Template, 5, 4, "span", 35);
  20584. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](7, ApparatusEntryDetailComponent_ng_template_15_ng_container_5_div_1_ng_container_7_Template, 2, 1, "ng-container", 30);
  20585. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](8, "keyvalue");
  20586. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  20587. } if (rf & 2) {
  20588. const rdg_r29 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]().$implicit;
  20589. const ctx_r30 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
  20590. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  20591. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"]("", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](3, 5, "metadataFor"), " ");
  20592. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  20593. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", rdg_r29.content.length !== 0);
  20594. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  20595. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", rdg_r29.content.length === 0);
  20596. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  20597. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", rdg_r29.attributes.wit);
  20598. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  20599. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](8, 7, ctx_r30.rdgMetadata));
  20600. } }
  20601. function ApparatusEntryDetailComponent_ng_template_15_ng_container_5_Template(rf, ctx) { if (rf & 1) {
  20602. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
  20603. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, ApparatusEntryDetailComponent_ng_template_15_ng_container_5_div_1_Template, 9, 9, "div", 42);
  20604. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](2, "keyvalue");
  20605. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
  20606. } if (rf & 2) {
  20607. const rdg_r29 = ctx.$implicit;
  20608. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  20609. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](2, 1, rdg_r29.attributes).length !== 0);
  20610. } }
  20611. function ApparatusEntryDetailComponent_ng_template_15_Template(rf, ctx) { if (rf & 1) {
  20612. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](0, ApparatusEntryDetailComponent_ng_template_15_div_0_Template, 10, 11, "div", 28);
  20613. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "div");
  20614. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](2, "span", 29);
  20615. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](3);
  20616. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](4, "translate");
  20617. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  20618. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](5, ApparatusEntryDetailComponent_ng_template_15_ng_container_5_Template, 3, 3, "ng-container", 30);
  20619. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  20620. } if (rf & 2) {
  20621. const ctx_r4 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  20622. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx_r4.data.lemma);
  20623. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](3);
  20624. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](4, 3, "moreInfoAboutApp"));
  20625. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  20626. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r4.readings);
  20627. } }
  20628. function ApparatusEntryDetailComponent_ng_template_20_Template(rf, ctx) { if (rf & 1) {
  20629. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "pre");
  20630. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1);
  20631. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](2, "xmlBeautify");
  20632. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  20633. } if (rf & 2) {
  20634. const ctx_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  20635. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  20636. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](2, 1, ctx_r5.data.originalEncoding));
  20637. } }
  20638. function ApparatusEntryDetailComponent_ng_template_22_ng_container_0_evt_content_viewer_1_Template(rf, ctx) { if (rf & 1) {
  20639. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 50);
  20640. } if (rf & 2) {
  20641. const c_r52 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]().$implicit;
  20642. const ctx_r53 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
  20643. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵclassMap"](ctx_r53.data.class);
  20644. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", c_r52);
  20645. } }
  20646. function ApparatusEntryDetailComponent_ng_template_22_ng_container_0_ng_container_2_sup_2_Template(rf, ctx) { if (rf & 1) {
  20647. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "sup");
  20648. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1);
  20649. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  20650. } if (rf & 2) {
  20651. const c_r52 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2).$implicit;
  20652. const ctx_r56 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
  20653. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  20654. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"]("", ctx_r56.getNestedAppPos(c_r52.id) + 1, " ");
  20655. } }
  20656. function ApparatusEntryDetailComponent_ng_template_22_ng_container_0_ng_container_2_ng_container_3_ng_container_1_sup_2_Template(rf, ctx) { if (rf & 1) {
  20657. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "sup");
  20658. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1);
  20659. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  20660. } if (rf & 2) {
  20661. const nesID_r60 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]().$implicit;
  20662. const ctx_r62 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](5);
  20663. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  20664. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](ctx_r62.getNestedAppPos(nesID_r60) + 1);
  20665. } }
  20666. function ApparatusEntryDetailComponent_ng_template_22_ng_container_0_ng_container_2_ng_container_3_ng_container_1_Template(rf, ctx) { if (rf & 1) {
  20667. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
  20668. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](1, "evt-reading", 22);
  20669. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, ApparatusEntryDetailComponent_ng_template_22_ng_container_0_ng_container_2_ng_container_3_ng_container_1_sup_2_Template, 2, 1, "sup", 44);
  20670. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
  20671. } if (rf & 2) {
  20672. const nesID_r60 = ctx.$implicit;
  20673. const rdgHasCounter_r50 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](4).rdgHasCounter;
  20674. const ctx_r59 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  20675. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  20676. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("data", ctx_r59.getNestedAppLemma(nesID_r60));
  20677. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  20678. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", rdgHasCounter_r50);
  20679. } }
  20680. function ApparatusEntryDetailComponent_ng_template_22_ng_container_0_ng_container_2_ng_container_3_Template(rf, ctx) { if (rf & 1) {
  20681. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
  20682. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, ApparatusEntryDetailComponent_ng_template_22_ng_container_0_ng_container_2_ng_container_3_ng_container_1_Template, 3, 2, "ng-container", 30);
  20683. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
  20684. } if (rf & 2) {
  20685. const c_r52 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2).$implicit;
  20686. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  20687. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", c_r52.nestedAppsIDs);
  20688. } }
  20689. function ApparatusEntryDetailComponent_ng_template_22_ng_container_0_ng_container_2_Template(rf, ctx) { if (rf & 1) {
  20690. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
  20691. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](1, "evt-reading", 22);
  20692. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, ApparatusEntryDetailComponent_ng_template_22_ng_container_0_ng_container_2_sup_2_Template, 2, 1, "sup", 44);
  20693. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, ApparatusEntryDetailComponent_ng_template_22_ng_container_0_ng_container_2_ng_container_3_Template, 2, 1, "ng-container", 44);
  20694. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
  20695. } if (rf & 2) {
  20696. const c_r52 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]().$implicit;
  20697. const rdgHasCounter_r50 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]().rdgHasCounter;
  20698. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  20699. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("data", c_r52.lemma);
  20700. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  20701. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", rdgHasCounter_r50);
  20702. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  20703. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", c_r52.nestedAppsIDs.length > 0);
  20704. } }
  20705. function ApparatusEntryDetailComponent_ng_template_22_ng_container_0_Template(rf, ctx) { if (rf & 1) {
  20706. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
  20707. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, ApparatusEntryDetailComponent_ng_template_22_ng_container_0_evt_content_viewer_1_Template, 1, 4, "evt-content-viewer", 49);
  20708. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, ApparatusEntryDetailComponent_ng_template_22_ng_container_0_ng_container_2_Template, 4, 3, "ng-container", 44);
  20709. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
  20710. } if (rf & 2) {
  20711. const c_r52 = ctx.$implicit;
  20712. const ctx_r51 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
  20713. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  20714. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", !ctx_r51.isAppEntry(c_r52));
  20715. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  20716. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx_r51.isAppEntry(c_r52));
  20717. } }
  20718. function ApparatusEntryDetailComponent_ng_template_22_Template(rf, ctx) { if (rf & 1) {
  20719. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](0, ApparatusEntryDetailComponent_ng_template_22_ng_container_0_Template, 3, 2, "ng-container", 30);
  20720. } if (rf & 2) {
  20721. const ctx_r7 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  20722. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r7.data.lemma.content);
  20723. } }
  20724. let ApparatusEntryDetailComponent = ApparatusEntryDetailComponent_1 = class ApparatusEntryDetailComponent {
  20725. constructor(evtModelService) {
  20726. this.evtModelService = evtModelService;
  20727. this.nestedApps = [];
  20728. this.rdgHasCounter = false;
  20729. }
  20730. get significantRdg() {
  20731. return this.data.readings.filter((rdg) => rdg.significant);
  20732. }
  20733. get notSignificantRdg() {
  20734. return this.data.readings.filter((rdg) => !rdg.significant);
  20735. }
  20736. get readings() {
  20737. return [this.data.lemma, ...this.significantRdg, ...this.notSignificantRdg];
  20738. }
  20739. get rdgMetadata() {
  20740. return Object.keys(this.data.attributes).filter((key) => key !== 'id')
  20741. .reduce((obj, key) => (Object.assign(Object.assign({}, obj), { [key]: this.data.attributes[key] })), {});
  20742. }
  20743. ngOnInit() {
  20744. if (this.data.nestedAppsIDs.length > 0) {
  20745. this.recoverNestedApps(this.data);
  20746. }
  20747. }
  20748. recoverNestedApps(app) {
  20749. const nesApps = app.lemma.content.filter((c) => c.type === _models_evt_models__WEBPACK_IMPORTED_MODULE_2__["ApparatusEntry"]);
  20750. nesApps.forEach((nesApp) => {
  20751. this.nestedApps = this.nestedApps.concat(nesApp);
  20752. if (nesApp.nestedAppsIDs.length > 0) {
  20753. this.recoverNestedApps(nesApp);
  20754. }
  20755. });
  20756. }
  20757. isAppEntry(item) {
  20758. return item.type === _models_evt_models__WEBPACK_IMPORTED_MODULE_2__["ApparatusEntry"];
  20759. }
  20760. /* gestire questo FS */
  20761. getNestedAppLemma(appId) {
  20762. return this.nestedApps.find((c) => c.id === appId).lemma;
  20763. }
  20764. getNestedAppPos(appId) {
  20765. return this.nestedApps.findIndex((nesApp) => nesApp.id === appId);
  20766. }
  20767. };
  20768. ApparatusEntryDetailComponent.ɵfac = function ApparatusEntryDetailComponent_Factory(t) { return new (t || ApparatusEntryDetailComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_services_evt_model_service__WEBPACK_IMPORTED_MODULE_4__["EVTModelService"])); };
  20769. ApparatusEntryDetailComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({ type: ApparatusEntryDetailComponent, selectors: [["evt-apparatus-entry-detail"]], inputs: { data: "data" }, decls: 24, vars: 14, consts: [[1, "card", "app-detail-container"], [1, "card-body", "app-detail-content"], [1, "app-detail-readings", 3, "data", "template", "rdgHasCounter"], ["class", "app-detail-nested-readings-container", 4, "ngIf"], ["renderer", "ApparatusEntryReadings", "pinType", "ApparatusEntry", 3, "item"], [1, "card-footer", "app-detail-tabs"], ["ngbNav", "", 1, "nav-pills"], ["appEntryTab", "ngbNav"], ["ngbNavItem", "criticalNotes", 4, "ngIf"], ["ngbNavItem", "notSignificantRdg", 4, "ngIf"], ["ngbNavItem", "info"], ["ngbNavLink", "", 1, "app-detail-btn"], ["ngbNavContent", ""], ["ngbNavItem", "xml"], [1, "tab-content", 3, "ngbNavOutlet"], ["nestedAppsReadingsTemplate", ""], [1, "app-detail-nested-readings-container"], ["class", "app-detail-nested-readings", 4, "ngFor", "ngForOf"], [1, "app-detail-nested-readings"], [3, "data", "template", "rdgHasCounter"], ["ngbNavItem", "criticalNotes"], [3, "data", 4, "ngFor", "ngForOf"], [3, "data"], ["ngbNavItem", "notSignificantRdg"], ["class", "d-block", 4, "ngFor", "ngForOf"], [1, "d-block"], ["class", "font-italic", 4, "ngFor", "ngForOf"], [1, "font-italic"], ["class", "info-lemma-wrapper", 4, "ngIf"], [1, "more-info-label"], [4, "ngFor", "ngForOf"], [1, "info-lemma-wrapper"], ["class", "info-rdg", 3, "data", 4, "ngIf"], ["class", "info-rdg", 4, "ngIf"], ["class", "d-block ml-2", 4, "ngFor", "ngForOf"], ["class", "d-block ml-2", 4, "ngIf"], [1, "info-rdg", 3, "data"], [1, "info-rdg"], [4, "ngTemplateOutlet", "ngTemplateOutletContext"], [1, "d-block", "ml-2"], ["class", "info-label", 4, "ngIf"], [1, "info-label"], ["class", "mb-2", 4, "ngIf"], [1, "mb-2"], [4, "ngIf"], ["class", "font-italic info-rdg", 4, "ngIf"], ["class", "info-rdg", 3, "content", 4, "ngIf"], [1, "info-rdg", 3, "content"], [1, "font-italic", "info-rdg"], [3, "class", "content", 4, "ngIf"], [3, "content"]], template: function ApparatusEntryDetailComponent_Template(rf, ctx) { if (rf & 1) {
  20770. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 0);
  20771. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "div", 1);
  20772. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](2, "span");
  20773. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](3, "evt-apparatus-entry-readings", 2);
  20774. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, ApparatusEntryDetailComponent_div_4_Template, 2, 1, "div", 3);
  20775. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  20776. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](5, "evt-pinner", 4);
  20777. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  20778. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](6, "div", 5);
  20779. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](7, "ul", 6, 7);
  20780. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](9, ApparatusEntryDetailComponent_li_9_Template, 5, 3, "li", 8);
  20781. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](10, ApparatusEntryDetailComponent_li_10_Template, 5, 3, "li", 9);
  20782. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](11, "li", 10);
  20783. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](12, "a", 11);
  20784. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](13);
  20785. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](14, "translate");
  20786. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  20787. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](15, ApparatusEntryDetailComponent_ng_template_15_Template, 6, 5, "ng-template", 12);
  20788. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  20789. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](16, "li", 13);
  20790. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](17, "a", 11);
  20791. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](18);
  20792. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](19, "translate");
  20793. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  20794. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](20, ApparatusEntryDetailComponent_ng_template_20_Template, 3, 3, "ng-template", 12);
  20795. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  20796. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  20797. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](21, "div", 14);
  20798. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  20799. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  20800. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](22, ApparatusEntryDetailComponent_ng_template_22_Template, 1, 1, "ng-template", null, 15, _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplateRefExtractor"]);
  20801. } if (rf & 2) {
  20802. const _r1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵreference"](8);
  20803. const _r6 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵreference"](23);
  20804. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](3);
  20805. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("data", ctx.data)("template", _r6)("rdgHasCounter", true);
  20806. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  20807. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data.nestedAppsIDs.length > 0);
  20808. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  20809. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("item", ctx.data);
  20810. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](4);
  20811. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data.notes.length > 0);
  20812. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  20813. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.notSignificantRdg.length > 0);
  20814. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](3);
  20815. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](14, 10, "info"));
  20816. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](5);
  20817. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](19, 12, "xml"));
  20818. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](3);
  20819. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngbNavOutlet", _r1);
  20820. } }, directives: [_apparatus_entry_readings_apparatus_entry_readings_component__WEBPACK_IMPORTED_MODULE_5__["ApparatusEntryReadingsComponent"], _angular_common__WEBPACK_IMPORTED_MODULE_6__["NgIf"], _pinboard_pinner_pinner_component__WEBPACK_IMPORTED_MODULE_7__["PinnerComponent"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_8__["NgbNav"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_8__["NgbNavItem"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_8__["NgbNavLink"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_8__["NgbNavContent"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_8__["NgbNavOutlet"], _angular_common__WEBPACK_IMPORTED_MODULE_6__["NgForOf"], _note_note_component__WEBPACK_IMPORTED_MODULE_9__["NoteComponent"], _reading_reading_component__WEBPACK_IMPORTED_MODULE_10__["ReadingComponent"], _angular_common__WEBPACK_IMPORTED_MODULE_6__["NgTemplateOutlet"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_11__["ContentViewerComponent"]], pipes: [_ngx_translate_core__WEBPACK_IMPORTED_MODULE_12__["TranslatePipe"], _angular_common__WEBPACK_IMPORTED_MODULE_6__["KeyValuePipe"], _pipes_xml_beautify_pipe__WEBPACK_IMPORTED_MODULE_13__["XmlBeautifyPipe"]], styles: [".app-detail-container[_ngcontent-%COMP%] {\n top: -0.063rem;\n z-index: 0;\n border-radius: 0;\n cursor: auto;\n}\n[data-theme=restore][_nghost-%COMP%] .app-detail-container[_ngcontent-%COMP%], [data-theme=restore] [_nghost-%COMP%] .app-detail-container[_ngcontent-%COMP%], [data-theme=restore][_ngcontent-%COMP%] .app-detail-container[_ngcontent-%COMP%] {\n background-color: #f9f7f5;\n}\n[data-theme=neutral][_nghost-%COMP%] .app-detail-container[_ngcontent-%COMP%], [data-theme=neutral] [_nghost-%COMP%] .app-detail-container[_ngcontent-%COMP%], [data-theme=neutral][_ngcontent-%COMP%] .app-detail-container[_ngcontent-%COMP%] {\n background-color: #f5f5f5;\n}\n[data-theme=modern][_nghost-%COMP%] .app-detail-container[_ngcontent-%COMP%], [data-theme=modern] [_nghost-%COMP%] .app-detail-container[_ngcontent-%COMP%], [data-theme=modern][_ngcontent-%COMP%] .app-detail-container[_ngcontent-%COMP%] {\n background-color: #f1f4f5;\n}\n[data-theme=classic][_nghost-%COMP%] .app-detail-container[_ngcontent-%COMP%], [data-theme=classic] [_nghost-%COMP%] .app-detail-container[_ngcontent-%COMP%], [data-theme=classic][_ngcontent-%COMP%] .app-detail-container[_ngcontent-%COMP%] {\n background-color: #f9f7f5;\n}\n.app-detail-content[_ngcontent-%COMP%], .app-detail-tabs[_ngcontent-%COMP%] {\n background-color: transparent;\n font-size: 1.063rem;\n}\n.app-detail-content[_ngcontent-%COMP%] {\n display: flex;\n justify-content: space-between;\n padding: 0.313rem;\n}\n.app-detail-readings[_ngcontent-%COMP%] {\n display: block;\n}\n.app-detail-nested-readings[_ngcontent-%COMP%] {\n display: block;\n margin-left: 0.938rem;\n font-size: 1rem;\n}\n.app-detail-tabs[_ngcontent-%COMP%] {\n font-size: 1rem;\n margin: 0 0.313rem 0 0.313rem;\n padding: 0.313rem 0 0 0;\n}\n.app-detail-tabs[_ngcontent-%COMP%] .nav-link[_ngcontent-%COMP%] {\n background-color: transparent;\n color: #000000;\n line-height: 1;\n padding: 0.25rem 0.375rem;\n cursor: pointer;\n border-radius: 0;\n}\n.app-detail-tabs[_ngcontent-%COMP%] .nav-link.active[_ngcontent-%COMP%] {\n color: #000000;\n}\n.app-detail-tabs[_ngcontent-%COMP%] .nav-pills[_ngcontent-%COMP%], .app-detail-tabs[_ngcontent-%COMP%] .tab-content[_ngcontent-%COMP%] {\n margin-right: -0.313rem;\n margin-left: -0.313rem;\n}\n[data-theme=restore][_nghost-%COMP%] .app-detail-tabs[_ngcontent-%COMP%] .nav-link.active[_ngcontent-%COMP%], [data-theme=restore] [_nghost-%COMP%] .app-detail-tabs[_ngcontent-%COMP%] .nav-link.active[_ngcontent-%COMP%], [data-theme=restore][_ngcontent-%COMP%] .app-detail-tabs[_ngcontent-%COMP%] .nav-link.active[_ngcontent-%COMP%], [data-theme=restore][_nghost-%COMP%] .app-detail-tabs[_ngcontent-%COMP%] .tab-content[_ngcontent-%COMP%], [data-theme=restore] [_nghost-%COMP%] .app-detail-tabs[_ngcontent-%COMP%] .tab-content[_ngcontent-%COMP%], [data-theme=restore][_ngcontent-%COMP%] .app-detail-tabs[_ngcontent-%COMP%] .tab-content[_ngcontent-%COMP%] {\n background-color: #f2ede9;\n}\n[data-theme=neutral][_nghost-%COMP%] .app-detail-tabs[_ngcontent-%COMP%] .nav-link.active[_ngcontent-%COMP%], [data-theme=neutral] [_nghost-%COMP%] .app-detail-tabs[_ngcontent-%COMP%] .nav-link.active[_ngcontent-%COMP%], [data-theme=neutral][_ngcontent-%COMP%] .app-detail-tabs[_ngcontent-%COMP%] .nav-link.active[_ngcontent-%COMP%], [data-theme=neutral][_nghost-%COMP%] .app-detail-tabs[_ngcontent-%COMP%] .tab-content[_ngcontent-%COMP%], [data-theme=neutral] [_nghost-%COMP%] .app-detail-tabs[_ngcontent-%COMP%] .tab-content[_ngcontent-%COMP%], [data-theme=neutral][_ngcontent-%COMP%] .app-detail-tabs[_ngcontent-%COMP%] .tab-content[_ngcontent-%COMP%] {\n background-color: #e7e7e7;\n}\n[data-theme=modern][_nghost-%COMP%] .app-detail-tabs[_ngcontent-%COMP%] .nav-link.active[_ngcontent-%COMP%], [data-theme=modern] [_nghost-%COMP%] .app-detail-tabs[_ngcontent-%COMP%] .nav-link.active[_ngcontent-%COMP%], [data-theme=modern][_ngcontent-%COMP%] .app-detail-tabs[_ngcontent-%COMP%] .nav-link.active[_ngcontent-%COMP%], [data-theme=modern][_nghost-%COMP%] .app-detail-tabs[_ngcontent-%COMP%] .tab-content[_ngcontent-%COMP%], [data-theme=modern] [_nghost-%COMP%] .app-detail-tabs[_ngcontent-%COMP%] .tab-content[_ngcontent-%COMP%], [data-theme=modern][_ngcontent-%COMP%] .app-detail-tabs[_ngcontent-%COMP%] .tab-content[_ngcontent-%COMP%] {\n background-color: #eaecec;\n}\n[data-theme=classic][_nghost-%COMP%] .app-detail-tabs[_ngcontent-%COMP%] .nav-link.active[_ngcontent-%COMP%], [data-theme=classic] [_nghost-%COMP%] .app-detail-tabs[_ngcontent-%COMP%] .nav-link.active[_ngcontent-%COMP%], [data-theme=classic][_ngcontent-%COMP%] .app-detail-tabs[_ngcontent-%COMP%] .nav-link.active[_ngcontent-%COMP%], [data-theme=classic][_nghost-%COMP%] .app-detail-tabs[_ngcontent-%COMP%] .tab-content[_ngcontent-%COMP%], [data-theme=classic] [_nghost-%COMP%] .app-detail-tabs[_ngcontent-%COMP%] .tab-content[_ngcontent-%COMP%], [data-theme=classic][_ngcontent-%COMP%] .app-detail-tabs[_ngcontent-%COMP%] .tab-content[_ngcontent-%COMP%] {\n background-color: #f2ede9;\n}\n.app-detail-tabs[_ngcontent-%COMP%] .tab-content[_ngcontent-%COMP%] {\n padding: 0.625rem 0.813rem;\n max-height: 12.5rem;\n overflow: auto;\n}\n.app-detail-tabs[_ngcontent-%COMP%] .tab-content[_ngcontent-%COMP%] .info-lemma-wrapper[_ngcontent-%COMP%] {\n padding-bottom: 0.438rem;\n margin-bottom: 0.625rem;\n}\n[data-theme=restore][_nghost-%COMP%] .app-detail-tabs[_ngcontent-%COMP%] .tab-content[_ngcontent-%COMP%] .info-lemma-wrapper[_ngcontent-%COMP%], [data-theme=restore] [_nghost-%COMP%] .app-detail-tabs[_ngcontent-%COMP%] .tab-content[_ngcontent-%COMP%] .info-lemma-wrapper[_ngcontent-%COMP%], [data-theme=restore][_ngcontent-%COMP%] .app-detail-tabs[_ngcontent-%COMP%] .tab-content[_ngcontent-%COMP%] .info-lemma-wrapper[_ngcontent-%COMP%] {\n border-bottom: 1px solid rgba(0, 0, 0, 0.125);\n}\n[data-theme=neutral][_nghost-%COMP%] .app-detail-tabs[_ngcontent-%COMP%] .tab-content[_ngcontent-%COMP%] .info-lemma-wrapper[_ngcontent-%COMP%], [data-theme=neutral] [_nghost-%COMP%] .app-detail-tabs[_ngcontent-%COMP%] .tab-content[_ngcontent-%COMP%] .info-lemma-wrapper[_ngcontent-%COMP%], [data-theme=neutral][_ngcontent-%COMP%] .app-detail-tabs[_ngcontent-%COMP%] .tab-content[_ngcontent-%COMP%] .info-lemma-wrapper[_ngcontent-%COMP%] {\n border-bottom: 1px solid rgba(0, 0, 0, 0.125);\n}\n[data-theme=modern][_nghost-%COMP%] .app-detail-tabs[_ngcontent-%COMP%] .tab-content[_ngcontent-%COMP%] .info-lemma-wrapper[_ngcontent-%COMP%], [data-theme=modern] [_nghost-%COMP%] .app-detail-tabs[_ngcontent-%COMP%] .tab-content[_ngcontent-%COMP%] .info-lemma-wrapper[_ngcontent-%COMP%], [data-theme=modern][_ngcontent-%COMP%] .app-detail-tabs[_ngcontent-%COMP%] .tab-content[_ngcontent-%COMP%] .info-lemma-wrapper[_ngcontent-%COMP%] {\n border-bottom: 1px solid rgba(0, 0, 0, 0.125);\n}\n[data-theme=classic][_nghost-%COMP%] .app-detail-tabs[_ngcontent-%COMP%] .tab-content[_ngcontent-%COMP%] .info-lemma-wrapper[_ngcontent-%COMP%], [data-theme=classic] [_nghost-%COMP%] .app-detail-tabs[_ngcontent-%COMP%] .tab-content[_ngcontent-%COMP%] .info-lemma-wrapper[_ngcontent-%COMP%], [data-theme=classic][_ngcontent-%COMP%] .app-detail-tabs[_ngcontent-%COMP%] .tab-content[_ngcontent-%COMP%] .info-lemma-wrapper[_ngcontent-%COMP%] {\n border-bottom: 1px solid rgba(0, 0, 0, 0.125);\n}\n.app-detail-tabs[_ngcontent-%COMP%] .tab-content[_ngcontent-%COMP%] .info-rdg[_ngcontent-%COMP%] {\n font-style: italic;\n font-weight: 600;\n font-size: 1.063rem;\n}\n.app-detail-tabs[_ngcontent-%COMP%] .tab-content[_ngcontent-%COMP%] .info-label[_ngcontent-%COMP%] {\n font-size: 0.813rem;\n text-transform: uppercase;\n font-weight: 600;\n}\n.app-detail-tabs[_ngcontent-%COMP%] .tab-content[_ngcontent-%COMP%] .more-info-label[_ngcontent-%COMP%] {\n display: block;\n font-size: 0.813rem;\n font-weight: 600;\n text-transform: uppercase;\n margin-bottom: 0.25rem;\n}\n.app-detail-tabs[_ngcontent-%COMP%] .tab-content[_ngcontent-%COMP%] pre[_ngcontent-%COMP%] {\n white-space: pre-wrap;\n font-size: 75%;\n margin-bottom: 0;\n margin-top: -1rem;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL2FwcGFyYXR1cy1lbnRyeS1kZXRhaWwuY29tcG9uZW50LnNjc3MiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9hc3NldHMvc2Nzcy9fdGhlbWVzLnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRUE7RUFDSSxjQUFBO0VBQ0EsVUFBQTtFQUNBLGdCQUFBO0VBQ0EsWUFBQTtBQURKO0FDb0ZRO0VEakZBLHlCQUFBO0FBQVI7QUNpRlE7RURqRkEseUJBQUE7QUFHUjtBQzhFUTtFRGpGQSx5QkFBQTtBQU1SO0FDMkVRO0VEakZBLHlCQUFBO0FBU1I7QUFMQTs7RUFFSSw2QkFBQTtFQUNBLG1CQUFBO0FBUUo7QUFMQTtFQUNJLGFBQUE7RUFDQSw4QkFBQTtFQUNBLGlCQUFBO0FBUUo7QUFMQTtFQUNJLGNBQUE7QUFRSjtBQUxBO0VBQ0ksY0FBQTtFQUNBLHFCQUFBO0VBQ0EsZUFBQTtBQVFKO0FBTEE7RUFDSSxlQUFBO0VBQ0EsNkJBQUE7RUFDQSx1QkFBQTtBQVFKO0FBUEk7RUFDSSw2QkFBQTtFQUNBLGNBQUE7RUFDQSxjQUFBO0VBQ0EseUJBQUE7RUFDQSxlQUFBO0VBQ0EsZ0JBQUE7QUFTUjtBQVJRO0VBQ0ksY0FBQTtBQVVaO0FBUEk7O0VBRUksdUJBQUE7RUFDQSxz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ICAgICAgICBtYXJnaW4tcmlnaHQ6IC0wLjMxM3JlbTtcbiAgICAgICAgbWFyZ2luLWxlZnQ6IC0wLjMxM3JlbTtcbiAgICB9XG4gICAgLm5hdi1saW5rLmFjdGl2ZSxcbiAgICAudGFiLWNvbnRlbnQge1xuICAgICAgICBAaW5jbHVkZSB0aGVtaWZ5KCR0aGVtZXMpIHtcbiAgICAgICAgICAgIGJhY2tncm91bmQtY29sb3I6IHRoZW1lZChcImFwcEVudHJ5Qm94QWN0aXZlVGFiQmdcIik7XG4gICAgICAgIH1cbiAgICB9XG4gICAgLnRhYi1jb250ZW50IHtcbiAgICAgICAgcGFkZGluZzogMC42MjVyZW0gMC44MTNyZW07XG4gICAgICAgIG1heC1oZWlnaHQ6IDEyLjVyZW07XG4gICAgICAgIG92ZXJmbG93OiBhdXRvO1xuICAgICAgICAuaW5mby1sZW1tYS13cmFwcGVyIHtcbiAgICAgICAgICAgIEBpbmNsdWRlIHRoZW1pZnkoJHRoZW1lcykge1xuICAgICAgICAgICAgICAgIGJvcmRlci1ib3R0b206IDFweCBzb2xpZCB0aGVtZWQoXCJiYXNlQm9yZGVyXCIpO1xuICAgICAgICAgICAgfVxuICAgICAgICAgICAgcGFkZGluZy1ib3R0b206IDAuNDM4cmVtO1xuICAgICAgICAgICAgbWFyZ2luLWJvdHRvbTogMC42MjVyZW07XG4gICAgICAgIH1cbiAgICAgICAgLmluZm8tcmRnIHtcbiAgICAgICAgICAgIGZvbnQtc3R5bGU6IGl0YWxpYztcbiAgICAgICAgICAgIGZvbnQtd2VpZ2h0OiA2MDA7XG4gICAgICAgICAgICBmb250LXNpemU6IDEuMDYzcmVtO1xuICAgICAgICB9XG4gICAgICAgIC5pbmZvLWxhYmVsIHtcbiAgICAgICAgICAgIGZvbnQtc2l6ZTogMC44MTNyZW07XG4gICAgICAgICAgICB0ZXh0LXRyYW5zZm9ybTogdXBwZXJjYXNlO1xuICAgICAgICAgICAgZm9udC13ZWlnaHQ6IDYwMDtcbiA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GhlIGBbZGF0YS10aGVtZV09XCJ0aGVtZS1uYW1lXCJgIGF0dHJpYnV0ZVxuLy8gYW5kIGVtYm9keSBldmVyeSBDU1MgcnVsZSB0aGF0IG5lZWRzIHRvIGJlIHRoZW1pZmllZCB3aXRoaW4gdGhlIG1peGluOlxuLy8gYGBgXG4vLyAgYnRuLXByaW1hcnkge1xuICAgIC8vICBAaW5jbHVkZSB0aGVtaWZ5U2VsZigkdGhlbWVzKSB7XG4gICAgICAgIC8vICBjb2xvcjogdGhlbWVkKCdiYXNlQ29sb3JEYXJrJyk7XG4gICAgLy8gIH1cbi8vICB9XG4vLyBgYGBcbkBtaXhpbiB0aGVtaWZ5U2VsZigkdGhlbWVzOiAkdGhlbWVzKSB7XG4gICAgQGVhY2ggJHRoZW1lLCAkbWFwIGluICR0aGVtZXMge1xuICAgICAgICAgJltkYXRhLXRoZW1lPVwiI3skdGhlbWV9XCJdIHtcbiAgICAgICAgICAgICR0aGVtZS1tYXA6ICgpICFnbG9iYWw7XG4gICAgICAgICAgICBAZWFjaCAka2V5LCAkc3VibWFwIGluICRtYXAge1xuICAgICAgICAgICAgICAgICR2YWx1ZTogbWFwLWdldChtYXAtZ2V0KCR0aGVtZXMsICR0aGVtZSksICcjeyRrZXl9Jyk7XG4gICAgICAgICAgICAgICAgJHRoZW1lLW1hcDogbWFwLW1lcmdlKCR0aGVtZS1tYXAsICgka2V5OiAkdmFsdWUpKSAhZ2xvYmFsO1xuICAgICAgICAgICAgfVxuICAgICAgICAgICAgQGNvbnRlbnQ7XG4gICAgICAgICAgICAkdGhlbWUtbWFwOiBudWxsICFnbG9iYWw7XG4gICAgICAgIH1cbiAgICB9XG59XG5cbkBmdW5jdGlvbiB0aGVtZWQoJGtleSkge1xuICAgIEByZXR1cm4gbWFwLWdldCgkdGhlbWUtbWFwLCAka2V5KTtcbn1cblxuIl19 */"], changeDetection: 0 });
  20821. ApparatusEntryDetailComponent = ApparatusEntryDetailComponent_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  20822. Object(_services_component_register_service__WEBPACK_IMPORTED_MODULE_3__["register"])(ApparatusEntryDetailComponent_1)
  20823. ], ApparatusEntryDetailComponent);
  20824. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](ApparatusEntryDetailComponent, [{
  20825. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
  20826. args: [{
  20827. selector: 'evt-apparatus-entry-detail',
  20828. templateUrl: './apparatus-entry-detail.component.html',
  20829. styleUrls: ['./apparatus-entry-detail.component.scss'],
  20830. changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_1__["ChangeDetectionStrategy"].OnPush,
  20831. }]
  20832. }], function () { return [{ type: _services_evt_model_service__WEBPACK_IMPORTED_MODULE_4__["EVTModelService"] }]; }, { data: [{
  20833. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
  20834. }] }); })();
  20835. /***/ }),
  20836. /***/ "xdSp":
  20837. /*!****************************************************************!*\
  20838. !*** ./src/app/services/xml-parsers/generic-parser.service.ts ***!
  20839. \****************************************************************/
  20840. /*! exports provided: GenericParserService */
  20841. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  20842. "use strict";
  20843. __webpack_require__.r(__webpack_exports__);
  20844. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "GenericParserService", function() { return GenericParserService; });
  20845. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "fXoL");
  20846. /* harmony import */ var ___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! . */ "UAXx");
  20847. class GenericParserService {
  20848. parse(xml) { return Object(___WEBPACK_IMPORTED_MODULE_1__["parse"])(xml); }
  20849. }
  20850. GenericParserService.ɵfac = function GenericParserService_Factory(t) { return new (t || GenericParserService)(); };
  20851. GenericParserService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ token: GenericParserService, factory: GenericParserService.ɵfac });
  20852. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](GenericParserService, [{
  20853. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"]
  20854. }], null, null); })();
  20855. /***/ }),
  20856. /***/ "y42B":
  20857. /*!*****************************************!*\
  20858. !*** ./src/app/services/idb.service.ts ***!
  20859. \*****************************************/
  20860. /*! exports provided: IdbService */
  20861. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  20862. "use strict";
  20863. __webpack_require__.r(__webpack_exports__);
  20864. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "IdbService", function() { return IdbService; });
  20865. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "fXoL");
  20866. /* harmony import */ var dexie__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! dexie */ "Texg");
  20867. class IdbService extends dexie__WEBPACK_IMPORTED_MODULE_1__["default"] {
  20868. constructor() {
  20869. super('EVT-Annotator');
  20870. this.version(1).stores({
  20871. Annotations: '++id',
  20872. });
  20873. this.db = this.table('Annotations');
  20874. }
  20875. getAll() {
  20876. return this.db.toArray();
  20877. }
  20878. add(data) {
  20879. return this.db.add(data);
  20880. }
  20881. update(id, data) {
  20882. return this.db.update(id, data);
  20883. }
  20884. remove(id) {
  20885. return this.db.delete(id);
  20886. }
  20887. }
  20888. IdbService.ɵfac = function IdbService_Factory(t) { return new (t || IdbService)(); };
  20889. IdbService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ token: IdbService, factory: IdbService.ɵfac, providedIn: 'root' });
  20890. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](IdbService, [{
  20891. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"],
  20892. args: [{
  20893. providedIn: 'root',
  20894. }]
  20895. }], function () { return []; }, null); })();
  20896. /***/ }),
  20897. /***/ "y5KG":
  20898. /*!*******************************************************************!*\
  20899. !*** ./src/app/components/verses-group/verses-group.component.ts ***!
  20900. \*******************************************************************/
  20901. /*! exports provided: VersesGroupComponent */
  20902. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  20903. "use strict";
  20904. __webpack_require__.r(__webpack_exports__);
  20905. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "VersesGroupComponent", function() { return VersesGroupComponent; });
  20906. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "mrSG");
  20907. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "fXoL");
  20908. /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs/operators */ "kU1M");
  20909. /* harmony import */ var _models_evt_models__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../models/evt-models */ "5c0l");
  20910. /* harmony import */ var _services_component_register_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../services/component-register.service */ "d25s");
  20911. /* harmony import */ var _services_evt_model_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../services/evt-model.service */ "hI0h");
  20912. /* harmony import */ var _directives_html_attributes_directive__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../directives/html-attributes.directive */ "0Bbq");
  20913. /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @angular/common */ "ofXK");
  20914. /* harmony import */ var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../content-viewer/content-viewer.component */ "t6RO");
  20915. /* harmony import */ var _directives_highlight_directive__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../directives/highlight.directive */ "CmGG");
  20916. function VersesGroupComponent_evt_content_viewer_4_Template(rf, ctx) { if (rf & 1) {
  20917. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 3);
  20918. } if (rf & 2) {
  20919. const el_r1 = ctx.$implicit;
  20920. const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  20921. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", el_r1)("editionLevel", ctx_r0.editionLevel)("itemsToHighlight", ctx_r0.itemsToHighlight)("evtHighlight", ctx_r0.highlightData);
  20922. } }
  20923. let VersesGroupComponent = class VersesGroupComponent {
  20924. constructor(evtModelService) {
  20925. this.evtModelService = evtModelService;
  20926. }
  20927. get displayBlock$() {
  20928. return this.evtModelService.lines$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(lines => lines.length > 0), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(hasLines => {
  20929. // In diplomatic and interpretative edition, if the text doesn't have any line, verses group are shown as block items
  20930. // In critical edition verses are always shown as block items
  20931. switch (this.editionLevel) {
  20932. case 'diplomatic':
  20933. case 'interpretative':
  20934. return !hasLines;
  20935. case 'critical':
  20936. return true;
  20937. }
  20938. }));
  20939. }
  20940. };
  20941. VersesGroupComponent.ɵfac = function VersesGroupComponent_Factory(t) { return new (t || VersesGroupComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_services_evt_model_service__WEBPACK_IMPORTED_MODULE_5__["EVTModelService"])); };
  20942. VersesGroupComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({ type: VersesGroupComponent, selectors: [["evt-verses-group"]], inputs: { data: "data" }, decls: 5, vars: 11, consts: [[3, "evtHtmlAttributes"], [1, "verses-group-num"], [3, "content", "editionLevel", "itemsToHighlight", "evtHighlight", 4, "ngFor", "ngForOf"], [3, "content", "editionLevel", "itemsToHighlight", "evtHighlight"]], template: function VersesGroupComponent_Template(rf, ctx) { if (rf & 1) {
  20943. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 0);
  20944. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](1, "async");
  20945. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](2, "span", 1);
  20946. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](3);
  20947. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  20948. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, VersesGroupComponent_evt_content_viewer_4_Template, 1, 4, "evt-content-viewer", 2);
  20949. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  20950. } if (rf & 2) {
  20951. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵclassMapInterpolate2"]("verses-group ", ctx.data.class, " ", ctx.data.groupType, "");
  20952. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵclassProp"]("display-block", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](1, 9, ctx.displayBlock$));
  20953. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("evtHtmlAttributes", ctx.data.attributes);
  20954. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](3);
  20955. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](ctx.data.n);
  20956. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  20957. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx.data.content);
  20958. } }, directives: [_directives_html_attributes_directive__WEBPACK_IMPORTED_MODULE_6__["HtmlAttributesDirective"], _angular_common__WEBPACK_IMPORTED_MODULE_7__["NgForOf"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_8__["ContentViewerComponent"], _directives_highlight_directive__WEBPACK_IMPORTED_MODULE_9__["HighlightDirective"]], pipes: [_angular_common__WEBPACK_IMPORTED_MODULE_7__["AsyncPipe"]], styles: [".verses-group[_ngcontent-%COMP%] .verses-group-num[_ngcontent-%COMP%] {\n display: none;\n}\n.verses-group.display-block[_ngcontent-%COMP%] {\n margin-bottom: 1.3rem;\n display: block;\n}\n.verses-group.display-block[_ngcontent-%COMP%] .verses-group-num[_ngcontent-%COMP%] {\n background: none;\n border: none;\n margin-right: 5px;\n display: inline-flex;\n vertical-align: middle;\n justify-content: center;\n align-items: center;\n min-width: 16px;\n height: 16px;\n padding: 1px;\n text-align: center;\n font-size: 0.7em;\n line-height: 1.4em;\n}\n[data-theme=restore][_nghost-%COMP%] .verses-group.display-block[_ngcontent-%COMP%] .verses-group-num[_ngcontent-%COMP%], [data-theme=restore] [_nghost-%COMP%] .verses-group.display-block[_ngcontent-%COMP%] .verses-group-num[_ngcontent-%COMP%], [data-theme=restore][_ngcontent-%COMP%] .verses-group.display-block[_ngcontent-%COMP%] .verses-group-num[_ngcontent-%COMP%] {\n color: #783a3a;\n}\n[data-theme=neutral][_nghost-%COMP%] .verses-group.display-block[_ngcontent-%COMP%] .verses-group-num[_ngcontent-%COMP%], [data-theme=neutral] [_nghost-%COMP%] .verses-group.display-block[_ngcontent-%COMP%] .verses-group-num[_ngcontent-%COMP%], [data-theme=neutral][_ngcontent-%COMP%] .verses-group.display-block[_ngcontent-%COMP%] .verses-group-num[_ngcontent-%COMP%] {\n color: #555;\n}\n[data-theme=modern][_nghost-%COMP%] .verses-group.display-block[_ngcontent-%COMP%] .verses-group-num[_ngcontent-%COMP%], [data-theme=modern] [_nghost-%COMP%] .verses-group.display-block[_ngcontent-%COMP%] .verses-group-num[_ngcontent-%COMP%], [data-theme=modern][_ngcontent-%COMP%] .verses-group.display-block[_ngcontent-%COMP%] .verses-group-num[_ngcontent-%COMP%] {\n color: #607d8b;\n}\n[data-theme=classic][_nghost-%COMP%] .verses-group.display-block[_ngcontent-%COMP%] .verses-group-num[_ngcontent-%COMP%], [data-theme=classic] [_nghost-%COMP%] .verses-group.display-block[_ngcontent-%COMP%] .verses-group-num[_ngcontent-%COMP%], [data-theme=classic][_ngcontent-%COMP%] .verses-group.display-block[_ngcontent-%COMP%] .verses-group-num[_ngcontent-%COMP%] {\n color: #8f776a;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3ZlcnNlcy1ncm91cC5jb21wb25lbnQuc2NzcyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2Fzc2V0cy9zY3NzL190aGVtZXMuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFJSTtFQUNJLGFBQUE7QUFIUjtBQUtJO0VBQ0kscUJBQUE7RUFDQSxjQUFBO0FBSFI7QUFLUTtFQUNJLGdCQUFBO0VBQ0EsWUFBQTtFQUNBLGlCQUFBO0VBQ0Esb0JBQUE7RUFDQSxzQkFBQTtFQUNBLHVCQUFBO0VBQ0EsbUJBQUE7RUFFQSxlQUFBO0VBQ0EsWUFBQTtFQUNBLFlBQUE7RUFDQSxrQkFBQTtFQUVBLGdCQUFBO0VBQ0Esa0JBQUE7QUFMWjtBQ29FUTtFRDdEUSxjQUFBO0FBSmhCO0FDaUVRO0VEN0RRLFdBQUE7QUFEaEI7QUM4RFE7RUQ3RFEsY0FBQTtBQUVoQjtBQzJEUTtFRDdEUSxjQUFBO0FBS2hCIiwiZmlsZSI6InZlcnNlcy1ncm91cC5jb21wb25lbnQuc2NzcyIsInNvdXJjZXNDb250ZW50IjpbIkBpbXBvcnQgXCIuLi8uLi8uLi9hc3NldHMvc2Nzcy9jb2xvcnNcIjtcbkBpbXBvcnQgXCIuLi8uLi8uLi9hc3NldHMvc2Nzcy90aGVtZXNcIjtcblxuLnZlcnNlcy1ncm91cCB7XG4gICAgLnZlcnNlcy1ncm91cC1udW0ge1xuICAgICAgICBkaXNwbGF5OiBub25lO1xuICAgIH1cbiAgICAmLmRpc3BsYXktYmxvY2sge1xuICAgICAgICBtYXJnaW4tYm90dG9tOiAxLjNyZW07XG4gICAgICAgIGRpc3BsYXk6IGJsb2NrO1xuXG4gICAgICAgIC52ZXJzZXMtZ3JvdXAtbnVtIHtcbiAgICAgICAgICAgIGJhY2tncm91bmQ6IG5vbmU7XG4gICAgICAgICAgICBib3JkZXI6IG5vbmU7XG4gICAgICAgICAgICBtYXJnaW4tcmlnaHQ6IDVweDtcbiAgICAgICAgICAgIGRpc3BsYXk6IGlubGluZS1mbGV4O1xuICAgICAgICAgICAgdmVydGljYWwtYWxpZ246IG1pZGRsZTtcbiAgICAgICAgICAgIGp1c3RpZnktY29udGVudDogY2VudGVyO1xuICAgICAgICAgICAgYWxpZ24taXRlbXM6IGNlbnRlcjtcblxuICAgICAgICAgICAgbWluLXdpZHRoOiAxNnB4O1xuICAgICAgICAgICAgaGVpZ2h0OiAxNnB4O1xuICAgICAgICAgICAgcGFkZGluZzogMXB4O1xuICAgICAgICAgICAgdGV4dC1hbGlnbjogY2VudGVyO1xuXG4gICAgICAgICAgICBmb250LXNpemU6IDAuN2VtO1xuICAgICAgICAgICAgbGluZS1oZWlnaHQ6IDEuNGVtO1xuICAgICAgICAgICAgQGluY2x1ZGUgdGhlbWlmeSgkdGhlbWVzKSB7XG4gICAgICAgICAgICAgICAgY29sb3I6IHRoZW1lZChcInNlY29uZGFyeUNvbG9yRGFya1wiKTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgIH1cbn1cbiIsIiR0aGVtZXM6IChcbiAgICByZXN0b3JlOiAoXG4gICAgICAgIGJhc2VDb2xvckRhcms6ICMwYTQ1NTMsXG4gICAgICAgIGJhc2VDb2xvckxpZ2h0OiAjZTllOWU5LFxuICAgICAgICBiYXNlQm9yZGVyOiByZ2JhKDAsIDAsIDAsIDAuMTI1KSxcbiAgICAgICAgc2Vjb25kYXJ5Q29sb3JEYXJrOiByZ2IoMT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OiBtYXAtbWVyZ2UoJHRoZW1lLW1hcCwgKCRrZXk6ICR2YWx1ZSkpICFnbG9iYWw7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICBAY29udGVudDtcbiAgICAgICAgICAgICR0aGVtZS1tYXA6IG51bGwgIWdsb2JhbDtcbiAgICAgICAgfVxuICAgIH1cbn1cblxuQGZ1bmN0aW9uIHRoZW1lZCgka2V5KSB7XG4gICAgQHJldHVybiBtYXAtZ2V0KCR0aGVtZS1tYXAsICRrZXkpO1xufVxuXG4iXX0= */"] });
  20959. VersesGroupComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  20960. Object(_services_component_register_service__WEBPACK_IMPORTED_MODULE_4__["register"])(_models_evt_models__WEBPACK_IMPORTED_MODULE_3__["VersesGroup"])
  20961. ], VersesGroupComponent);
  20962. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](VersesGroupComponent, [{
  20963. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
  20964. args: [{
  20965. selector: 'evt-verses-group',
  20966. templateUrl: './verses-group.component.html',
  20967. styleUrls: ['./verses-group.component.scss'],
  20968. }]
  20969. }], function () { return [{ type: _services_evt_model_service__WEBPACK_IMPORTED_MODULE_5__["EVTModelService"] }]; }, { data: [{
  20970. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
  20971. }] }); })();
  20972. /***/ }),
  20973. /***/ "y8/R":
  20974. /*!***************************************************************!*\
  20975. !*** ./src/app/components/notes-stmt/notes-stmt.component.ts ***!
  20976. \***************************************************************/
  20977. /*! exports provided: NotesStmtComponent */
  20978. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  20979. "use strict";
  20980. __webpack_require__.r(__webpack_exports__);
  20981. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NotesStmtComponent", function() { return NotesStmtComponent; });
  20982. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "mrSG");
  20983. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "fXoL");
  20984. /* harmony import */ var _models_evt_models__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../models/evt-models */ "5c0l");
  20985. /* harmony import */ var _services_component_register_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../services/component-register.service */ "d25s");
  20986. /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/common */ "ofXK");
  20987. /* harmony import */ var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../content-viewer/content-viewer.component */ "t6RO");
  20988. /* harmony import */ var _ui_components_header_section_header_section_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../ui-components/header-section/header-section.component */ "iRdJ");
  20989. function NotesStmtComponent_div_0_Template(rf, ctx) { if (rf & 1) {
  20990. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div");
  20991. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](1, "evt-content-viewer", 2);
  20992. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  20993. } if (rf & 2) {
  20994. const note_r2 = ctx.$implicit;
  20995. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  20996. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", note_r2);
  20997. } }
  20998. function NotesStmtComponent_evt_header_section_1_div_2_Template(rf, ctx) { if (rf & 1) {
  20999. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div");
  21000. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](1, "evt-content-viewer", 2);
  21001. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  21002. } if (rf & 2) {
  21003. const item_r4 = ctx.$implicit;
  21004. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  21005. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", item_r4);
  21006. } }
  21007. function NotesStmtComponent_evt_header_section_1_Template(rf, ctx) { if (rf & 1) {
  21008. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "evt-header-section", 3);
  21009. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "div", 4);
  21010. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, NotesStmtComponent_evt_header_section_1_div_2_Template, 2, 1, "div", 0);
  21011. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  21012. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
  21013. } if (rf & 2) {
  21014. const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
  21015. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "relatedItems")("additionalClass", "relatedItems")("inlineLabel", false);
  21016. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
  21017. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r1.data == null ? null : ctx_r1.data.relatedItems);
  21018. } }
  21019. let NotesStmtComponent = class NotesStmtComponent {
  21020. };
  21021. NotesStmtComponent.ɵfac = function NotesStmtComponent_Factory(t) { return new (t || NotesStmtComponent)(); };
  21022. NotesStmtComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({ type: NotesStmtComponent, selectors: [["evt-notes-stmt"]], inputs: { data: "data" }, decls: 2, vars: 2, consts: [[4, "ngFor", "ngForOf"], [3, "label", "additionalClass", "inlineLabel", 4, "ngIf"], [3, "content"], [3, "label", "additionalClass", "inlineLabel"], ["content", ""]], template: function NotesStmtComponent_Template(rf, ctx) { if (rf & 1) {
  21023. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](0, NotesStmtComponent_div_0_Template, 2, 1, "div", 0);
  21024. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, NotesStmtComponent_evt_header_section_1_Template, 3, 4, "evt-header-section", 1);
  21025. } if (rf & 2) {
  21026. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx.data == null ? null : ctx.data.notes);
  21027. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
  21028. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", (ctx.data == null ? null : ctx.data.relatedItems == null ? null : ctx.data.relatedItems.length) > 0);
  21029. } }, directives: [_angular_common__WEBPACK_IMPORTED_MODULE_4__["NgForOf"], _angular_common__WEBPACK_IMPORTED_MODULE_4__["NgIf"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_5__["ContentViewerComponent"], _ui_components_header_section_header_section_component__WEBPACK_IMPORTED_MODULE_6__["HeaderSectionComponent"]], styles: [".main-section-title[_ngcontent-%COMP%] {\n border-bottom: 1px dotted #666;\n margin-bottom: 5px;\n font-variant: small-caps;\n color: #000;\n font-size: 1.2rem;\n display: block;\n margin-top: 14px;\n text-align: left;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL25vdGVzLXN0bXQuY29tcG9uZW50LnNjc3MiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9hc3NldHMvc2Nzcy9fbWl4aW5zLnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRUE7RUMyRkUsOEJBQUE7RUFDQSxrQkFBQTtFQUNBLHdCQUFBO0VBQ0EsV0FBQTtFQUNBLGlCQUFBO0VBQ0EsY0FBQTtFQUNBLGd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m90dG9tOiA1cHg7XG4gIGZvbnQtdmFyaWFudDogc21hbGwtY2FwcztcbiAgY29sb3I6ICMwMDA7XG4gIGZvbnQtc2l6ZTogMS4ycmVtO1xuICBkaXNwbGF5OiBibG9jaztcbiAgbWFyZ2luLXRvcDogMTRweDtcbiAgdGV4dC1hbGlnbjogbGVmdDtcbn0iXX0= */"] });
  21030. NotesStmtComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
  21031. Object(_services_component_register_service__WEBPACK_IMPORTED_MODULE_3__["register"])(_models_evt_models__WEBPACK_IMPORTED_MODULE_2__["NotesStmt"])
  21032. ], NotesStmtComponent);
  21033. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](NotesStmtComponent, [{
  21034. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
  21035. args: [{
  21036. selector: 'evt-notes-stmt',
  21037. templateUrl: './notes-stmt.component.html',
  21038. styleUrls: ['./notes-stmt.component.scss'],
  21039. }]
  21040. }], null, { data: [{
  21041. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
  21042. }] }); })();
  21043. /***/ }),
  21044. /***/ "ycSy":
  21045. /*!***************************************************!*\
  21046. !*** ./src/app/components/page/page.component.ts ***!
  21047. \***************************************************/
  21048. /*! exports provided: PageComponent */
  21049. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  21050. "use strict";
  21051. __webpack_require__.r(__webpack_exports__);
  21052. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PageComponent", function() { return PageComponent; });
  21053. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "fXoL");
  21054. /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rxjs */ "qCKp");
  21055. /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/common */ "ofXK");
  21056. /* harmony import */ var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../content-viewer/content-viewer.component */ "t6RO");
  21057. /* harmony import */ var ngx_spinner__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ngx-spinner */ "JqCM");
  21058. function PageComponent_evt_content_viewer_0_Template(rf, ctx) { if (rf & 1) {
  21059. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "evt-content-viewer", 2);
  21060. } if (rf & 2) {
  21061. const element_r2 = ctx.$implicit;
  21062. const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
  21063. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("content", element_r2)("editionLevel", ctx_r0.editionLevel == null ? null : ctx_r0.editionLevel.id)("itemsToHighlight", ctx_r0.itemsToHighlight)("itemsLemsToHighlight", ctx_r0.itemsLemsToHighlight)("itemsIperlemsToHighlight", ctx_r0.itemsIperlemsToHighlight)("textFlow", ctx_r0.textFlow);
  21064. } }
  21065. function PageComponent_ngx_spinner_2_Template(rf, ctx) { if (rf & 1) {
  21066. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "ngx-spinner", 3);
  21067. } if (rf & 2) {
  21068. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("fullScreen", false);
  21069. } }
  21070. const _c0 = function () { return []; };
  21071. class PageComponent {
  21072. constructor() {
  21073. this.pageDataChange = new rxjs__WEBPACK_IMPORTED_MODULE_1__["BehaviorSubject"](undefined);
  21074. this.busy = Object(rxjs__WEBPACK_IMPORTED_MODULE_1__["of"])(false); // TODO: manage loading
  21075. }
  21076. set data(v) {
  21077. this.d = v;
  21078. this.pageDataChange.next(this.d);
  21079. }
  21080. get data() { return this.d; }
  21081. }
  21082. PageComponent.ɵfac = function PageComponent_Factory(t) { return new (t || PageComponent)(); };
  21083. PageComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: PageComponent, selectors: [["evt-page"]], inputs: { itemsToHighlight: "itemsToHighlight", itemsLemsToHighlight: "itemsLemsToHighlight", itemsIperlemsToHighlight: "itemsIperlemsToHighlight", editionLevel: "editionLevel", textFlow: "textFlow", data: "data" }, decls: 4, vars: 7, consts: [[3, "content", "editionLevel", "itemsToHighlight", "itemsLemsToHighlight", "itemsIperlemsToHighlight", "textFlow", 4, "ngFor", "ngForOf"], ["name", "pageSpinner", "type", "ball-beat", "bdColor", "rgba(51,51,51,0.3)", "size", "medium", 3, "fullScreen", 4, "ngIf"], [3, "content", "editionLevel", "itemsToHighlight", "itemsLemsToHighlight", "itemsIperlemsToHighlight", "textFlow"], ["name", "pageSpinner", "type", "ball-beat", "bdColor", "rgba(51,51,51,0.3)", "size", "medium", 3, "fullScreen"]], template: function PageComponent_Template(rf, ctx) { if (rf & 1) {
  21084. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](0, PageComponent_evt_content_viewer_0_Template, 1, 6, "evt-content-viewer", 0);
  21085. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](1, "async");
  21086. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, PageComponent_ngx_spinner_2_Template, 1, 1, "ngx-spinner", 1);
  21087. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](3, "async");
  21088. } if (rf & 2) {
  21089. let tmp_0_0 = null;
  21090. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ((tmp_0_0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](1, 2, ctx.pageDataChange)) == null ? null : tmp_0_0.parsedContent) || _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction0"](6, _c0));
  21091. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
  21092. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](3, 4, ctx.busy));
  21093. } }, directives: [_angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_3__["ContentViewerComponent"], ngx_spinner__WEBPACK_IMPORTED_MODULE_4__["NgxSpinnerComponent"]], pipes: [_angular_common__WEBPACK_IMPORTED_MODULE_2__["AsyncPipe"]], styles: ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJwYWdlLmNvbXBvbmVudC5zY3NzIn0= */"] });
  21094. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](PageComponent, [{
  21095. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
  21096. args: [{
  21097. selector: 'evt-page',
  21098. templateUrl: './page.component.html',
  21099. styleUrls: ['./page.component.scss'],
  21100. }]
  21101. }], null, { itemsToHighlight: [{
  21102. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
  21103. }], itemsLemsToHighlight: [{
  21104. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
  21105. }], itemsIperlemsToHighlight: [{
  21106. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
  21107. }], editionLevel: [{
  21108. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
  21109. }], textFlow: [{
  21110. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
  21111. }], data: [{
  21112. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
  21113. }] }); })();
  21114. /***/ }),
  21115. /***/ "ytha":
  21116. /*!**************************************************************************!*\
  21117. !*** ./src/app/services/xml-parsers/apparatus-entries-parser.service.ts ***!
  21118. \**************************************************************************/
  21119. /*! exports provided: ApparatusEntriesParserService */
  21120. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  21121. "use strict";
  21122. __webpack_require__.r(__webpack_exports__);
  21123. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ApparatusEntriesParserService", function() { return ApparatusEntriesParserService; });
  21124. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "fXoL");
  21125. /* harmony import */ var ___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! . */ "UAXx");
  21126. class ApparatusEntriesParserService {
  21127. constructor() {
  21128. this.appEntryTagName = 'app';
  21129. }
  21130. parseAppEntries(document) {
  21131. const appParser = ___WEBPACK_IMPORTED_MODULE_1__["ParserRegister"].get('evt-apparatus-entry-parser');
  21132. return Array.from(document.querySelectorAll(this.appEntryTagName))
  21133. .map((appEntry) => appParser.parse(appEntry));
  21134. }
  21135. getSignificantReadings(apps) {
  21136. const signRdgs = {};
  21137. apps.forEach((app) => {
  21138. signRdgs[app.id] = app.readings.concat(app.lemma).filter((rdg) => rdg.significant);
  21139. });
  21140. return signRdgs;
  21141. }
  21142. getSignificantReadingsNumber(signRdgs) {
  21143. const signRdgsNumber = {};
  21144. Object.keys(signRdgs).forEach((app) => {
  21145. signRdgsNumber[app] = signRdgs[app].length;
  21146. });
  21147. return signRdgsNumber;
  21148. }
  21149. getAppVariance(signRdgsNum, witList) {
  21150. const appsVariance = {};
  21151. if (Object.keys(witList).length > 1) {
  21152. Object.keys(signRdgsNum).forEach((x) => {
  21153. appsVariance[x] = signRdgsNum[x] / Object.keys(witList).length;
  21154. });
  21155. }
  21156. return appsVariance;
  21157. }
  21158. }
  21159. ApparatusEntriesParserService.ɵfac = function ApparatusEntriesParserService_Factory(t) { return new (t || ApparatusEntriesParserService)(); };
  21160. ApparatusEntriesParserService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ token: ApparatusEntriesParserService, factory: ApparatusEntriesParserService.ɵfac, providedIn: 'root' });
  21161. /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](ApparatusEntriesParserService, [{
  21162. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"],
  21163. args: [{
  21164. providedIn: 'root',
  21165. }]
  21166. }], null, null); })();
  21167. /***/ }),
  21168. /***/ "zSMA":
  21169. /*!***********************************!*\
  21170. !*** ./src/app/utils/js-utils.ts ***!
  21171. \***********************************/
  21172. /*! exports provided: flat, uuid, mapToArray, arrayToMap, uniqueObjCharKeys, uniqueArrayCharKeys, mergeDeep, getEventKeyCode, normalizeUrl, isBoolString, snakeToCamelCased, isUrl */
  21173. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  21174. "use strict";
  21175. __webpack_require__.r(__webpack_exports__);
  21176. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "flat", function() { return flat; });
  21177. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "uuid", function() { return uuid; });
  21178. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "mapToArray", function() { return mapToArray; });
  21179. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "arrayToMap", function() { return arrayToMap; });
  21180. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "uniqueObjCharKeys", function() { return uniqueObjCharKeys; });
  21181. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "uniqueArrayCharKeys", function() { return uniqueArrayCharKeys; });
  21182. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "mergeDeep", function() { return mergeDeep; });
  21183. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getEventKeyCode", function() { return getEventKeyCode; });
  21184. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "normalizeUrl", function() { return normalizeUrl; });
  21185. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "isBoolString", function() { return isBoolString; });
  21186. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "snakeToCamelCased", function() { return snakeToCamelCased; });
  21187. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "isUrl", function() { return isUrl; });
  21188. function flat(a) { return a.reduce((x, y) => x.concat(y), []); }
  21189. function uuid(prefix) {
  21190. return !!prefix ? `${prefix}-${Math.random()}` : `${Math.random()}`;
  21191. }
  21192. function mapToArray(m) {
  21193. return Object.keys(m).map((id) => m[id]);
  21194. }
  21195. function arrayToMap(arr, key) {
  21196. const map = {};
  21197. arr.forEach((x) => map[x[`${key}`]] = x);
  21198. return map;
  21199. }
  21200. function uniqueObjCharKeys(m) {
  21201. const keys = [];
  21202. Object.keys(m).forEach(key => {
  21203. if (keys.indexOf(key[0].toLowerCase()) < 0) {
  21204. keys.push(key[0].toLowerCase());
  21205. }
  21206. });
  21207. keys.sort();
  21208. return keys;
  21209. }
  21210. function uniqueArrayCharKeys(a) {
  21211. const keys = [];
  21212. a.forEach(key => {
  21213. if (keys.indexOf(key[0].toLowerCase()) < 0) {
  21214. keys.push(key[0].toLowerCase());
  21215. }
  21216. });
  21217. keys.sort((strA, strB) => strA.toLowerCase().localeCompare(strB.toLowerCase()));
  21218. return keys;
  21219. }
  21220. /**
  21221. * Performs a deep merge of objects and returns new object. Does not modify
  21222. * objects (immutable) and merges arrays via concatenation.
  21223. *
  21224. * @param objects - Objects to merge
  21225. * @returns New object with merged key/values
  21226. */
  21227. function mergeDeep(...objects) {
  21228. const isObject = (obj) => obj && typeof obj === 'object';
  21229. const cb = (prev, obj) => {
  21230. Object.keys(obj).forEach(key => {
  21231. const pVal = prev[key];
  21232. const oVal = obj[key];
  21233. if (Array.isArray(pVal) && Array.isArray(oVal)) {
  21234. prev[key] = [...pVal, ...oVal].filter((element, index, array) => array.indexOf(element) === index);
  21235. }
  21236. else if (isObject(pVal) && isObject(oVal)) {
  21237. prev[key] = mergeDeep(pVal, oVal);
  21238. }
  21239. else {
  21240. prev[key] = oVal;
  21241. }
  21242. });
  21243. return prev;
  21244. };
  21245. return objects.reduce(cb, {});
  21246. }
  21247. function getEventKeyCode(event) {
  21248. let code;
  21249. if (event.key !== undefined) {
  21250. code = event.key;
  21251. }
  21252. else if (event.keyIdentifier !== undefined) {
  21253. code = event.keyIdentifier;
  21254. }
  21255. else if (event.keyCode !== undefined) {
  21256. code = event.keyCode;
  21257. }
  21258. return code;
  21259. }
  21260. function normalizeUrl(url) {
  21261. return url && url.indexOf('http') < 0 ? 'http://' + url : url;
  21262. }
  21263. function isBoolString(s) {
  21264. return s === 'true';
  21265. }
  21266. function snakeToCamelCased(str) {
  21267. return str.replace(/-([a-z])/g, (g) => g[1].toUpperCase());
  21268. }
  21269. function isUrl(path) {
  21270. return /(ftp|http|https):\/\/(\w+:{0,1}\w*@)?(\S+)(:[0-9]+)?(\/|\/([\w#!:.?+=&%@!\-\/]))?/.test(path);
  21271. }
  21272. /***/ }),
  21273. /***/ "zUnb":
  21274. /*!*********************!*\
  21275. !*** ./src/main.ts ***!
  21276. \*********************/
  21277. /*! no exports provided */
  21278. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  21279. "use strict";
  21280. __webpack_require__.r(__webpack_exports__);
  21281. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "fXoL");
  21282. /* harmony import */ var _environments_environment__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./environments/environment */ "AytR");
  21283. /* harmony import */ var _app_app_module__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./app/app.module */ "ZAI4");
  21284. /* harmony import */ var _angular_platform_browser__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/platform-browser */ "jhN1");
  21285. if (_environments_environment__WEBPACK_IMPORTED_MODULE_1__["environment"].production) {
  21286. Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["enableProdMode"])();
  21287. }
  21288. _angular_platform_browser__WEBPACK_IMPORTED_MODULE_3__["platformBrowser"]().bootstrapModule(_app_app_module__WEBPACK_IMPORTED_MODULE_2__["AppModule"])
  21289. .catch(err => console.error(err));
  21290. /***/ }),
  21291. /***/ "zn8P":
  21292. /*!******************************************************!*\
  21293. !*** ./$$_lazy_route_resource lazy namespace object ***!
  21294. \******************************************************/
  21295. /*! no static exports found */
  21296. /***/ (function(module, exports) {
  21297. function webpackEmptyAsyncContext(req) {
  21298. // Here Promise.resolve().then() is used instead of new Promise() to prevent
  21299. // uncaught exception popping up in devtools
  21300. return Promise.resolve().then(function() {
  21301. var e = new Error("Cannot find module '" + req + "'");
  21302. e.code = 'MODULE_NOT_FOUND';
  21303. throw e;
  21304. });
  21305. }
  21306. webpackEmptyAsyncContext.keys = function() { return []; };
  21307. webpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext;
  21308. module.exports = webpackEmptyAsyncContext;
  21309. webpackEmptyAsyncContext.id = "zn8P";
  21310. /***/ })
  21311. },[[0,"runtime","vendor"]]]);
  21312. //# sourceMappingURL=main-es2015.js.map