Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

linkifyjs

Package Overview
Dependencies
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

linkifyjs - npm Package Compare versions

Comparing version 4.1.0 to 4.1.1

2

dist/linkify.cjs.d.ts

@@ -221,3 +221,3 @@ export const __esModule: boolean;

attributes: {
href: string;
href: any;
class: any;

@@ -224,0 +224,0 @@ target: any;

@@ -8,5 +8,5 @@ 'use strict';

// https://data.iana.org/TLD/tlds-alpha-by-domain.txt
const encodedTlds = 'aaa1rp3barth4b_ott3vie4c1le2ogado5udhabi7c_ademy5centure6ountant_s9o1tor4d_s1ult4e_g1ro2tna4f_l1rica5g_akhan5ency5i_g1rbus3force5tel5kdn3l_faromeo7ibaba4pay4lfinanz6state5y2sace3tom5m_azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o_l2partments8p_le4q_uarelle8r_ab1mco4chi3my2pa2t_e3s_da2ia2sociates9t_hleta5torney7u_ction5di_ble3o3spost5thor3o_s4vianca6w_s2x_a2z_ure5ba_by2idu3namex3narepublic11d1k2r_celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b_c1t1va3cg1n2d1e_ats2uty4er2ntley5rlin4st_buy5t2f1g1h_arti5i_ble3d1ke2ng_o3o1z2j1lack_friday9ockbuster8g1omberg7ue3m_s1w2n_pparibas9o_ats3ehringer8fa2m1nd2o_k_ing5sch2tik2on4t1utique6x2r_adesco6idgestone9oadway5ker3ther5ussels7s1t1uild_ers6siness6y1zz3v1w1y1z_h3ca_b1fe2l_l1vinklein9m_era3p2non3petown5ital_one8r_avan4ds2e_er_s4s2sa1e1h1ino4t_ering5holic7ba1n1re2s2c1d1enter4o1rn3f_a1d2g1h_anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i_priani6rcle4sco3tadel4i_c2y_eats7k1l_aims4eaning6ick2nic1que6othing5ud3ub_med6m1n1o_ach3des3ffee4llege4ogne5m_cast4mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking_channel11l1p2rsica5untry4pon_s4rses6pa2r_edit_card4union9icket5own3s1uise_s6u_isinella9v1w1x1y_mru3ou3z2dabur3d1nce3ta1e1ing3sun4y2clk3ds2e_al_er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si_gn4v2hl2iamonds6et2gital5rect_ory7scount3ver5h2y2j1k1m1np2o_cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c_o2deka3u_cation8e1g1mail3erck5nergy4gineer_ing9terprises10pson4quipment8r_icsson6ni3s_q1tate5t_isalat7u_rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n_s2rm_ers5shion4t3edex3edback6rrari3ero6i_at2delity5o2lm2nal1nce1ial7re_stone6mdale6sh_ing5t_ness6j1k1lickr3ghts4r2orist4wers5y2m1o_o_d_network8tball6rd1ex2sale4um3undation8x2r_ee1senius7l1ogans4ntdoor4ier7tr2ujitsu5n_d2rniture7tbol5yi3ga_l_lery3o1up4me_s3p1rden4y2b_iz3d_n2e_a1nt_ing5orge5f1g_ee3h1i_ft_s3ves2ing5l_ass3e1obal2o4m_ail3bh2o1x2n1odaddy5ld_point6f2o_dyear5g_le4p1t1v2p1q1r_ainger5phics5tis4een3ipe3ocery4up4s1t1u_ardian6cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc_bank7ealth_care8lp1sinki6re1mes5gtv3iphop4samitsu7tachi5v2k_t2m1n1ockey4ldings5iday5medepot5goods5s_ense7nda3rse3spital5t_ing5t_eles2s3mail5use3w2r1sbc3t1u_ghes5yatt3undai7ibm2cbc2e1u2d1e_ee3fm2kano4l1m_amat4db2mo_bilien9n_c1dustries8finiti5o2g1k1stitute6urance4e4t_ernational10uit4vestments10o1piranga7q1r_ish4s_maili5t_anbul7t_au2v3jaguar4va3cb2e_ep2tzt3welry6io2ll2m_p2nj2o_bs1urg4t1y2p_morgan6rs3uegos4niper7kaufen5ddi3e_rryhotels6logistics9properties14fh2g1h1i_a1ds2m1nder2le4tchen5wi3m1n1oeln3matsu5sher5p_mg2n2r_d1ed3uokgroup8w1y_oto4z2la_caixa5mborghini8er3ncaster5ia3d_rover6xess5salle5t_ino3robe5w_yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i_dl2fe_insurance9style7ghting6ke2lly3mited4o2ncoln4de2k2psy3ve1ing5k1lc1p2oan_s3cker3us3l1ndon4tte1o3ve3pl_financial11r1s1t_d_a3u_ndbeck6xe1ury5v1y2ma_cys3drid4if1son4keup4n_agement7go3p1rket_ing3s4riott5shalls7serati6ttel5ba2c_kinsey7d1e_d_ia3et2lbourne7me1orial6n_u2rckmsd7g1h1iami3crosoft7l1ni1t2t_subishi9k1l_b1s2m_a2n1o_bi_le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to_rcycles9v_ie4p1q1r1s_d2t_n1r2u_seum3ic3tual5v1w1x1y1z2na_b1goya4me2tura4vy3ba2c1e_c1t_bank4flix4work5ustar5w_s2xt_direct7us4f_l2g_o2hk2i_co2ke1on3nja3ssan1y5l1o_kia3rthwesternmutual14on4w_ruz3tv4p1r_a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan_group9dnavy5lo3m_ega4ne1g1l_ine5oo2pen3racle3nge4g_anic5igins6saka4tsuka4t2vh3pa_ge2nasonic7ris2s1tners4s1y3ssagens7y2ccw3e_t2f_izer5g1h_armacy6d1ilips5one2to_graphy6s4ysio5ics1tet2ures6d1n_g1k2oneer5zza4k1l_ace2y_station9umbing5s3m1n_c2ohl2ker3litie5rn2st3r_america6xi3ess3ime3o_d_uctions8f1gressive8mo2perties3y5tection8u_dential9s1t1ub2w_c2y2qa1pon3uebec3st5racing4dio4e_ad1lestate6tor2y4cipes5d_stone5umbrella9hab3ise_n3t2liance6n_t_als5pair3ort3ublican8st_aurant8view_s5xroth6ich_ardli6oh3l1o1p2o_cher3ks3deo3gers4om3s_vp3u_gby3hr2n2w_e2yukyu6sa_arland6fe_ty4kura4le1on3msclub4ung5ndvik_coromant12ofi4p1rl2s1ve2xo3b_i1s2c_a1b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e_arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x_y3fr2g1h_angrila6rp2w2ell3ia1ksha5oes2p_ping5uji3w_time7i_lk2na1gles5te3j1k_i_n2y_pe4l_ing4m_art3ile4n_cf3o_ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa_ce3ort2t3r_l2s1t_ada2ples4r1tebank4farm7c_group6ockholm6rage3e3ream4udio2y3yle4u_cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y_dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x_i3c_i2d_k2eam2ch_nology8l1masek5nnis4va3f1g1h_d1eater2re6iaa2ckets5enda4ffany5ps2res2ol4j_maxx4x2k_maxx5l1m_all4n1o_day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r_ade1ing4ining5vel_channel7ers_insurance16ust3v2t1ube2i1nes3shu4v_s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va_cations7na1guard7c1e_gas3ntures6risign5mögensberater2ung14sicherung10t2g1i_ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lkswagen7vo3te1ing3o2yage5u_elos6wales2mart4ter4ng_gou5tch_es6eather_channel12bcam3er2site5d_ding5ibo2r3f1hoswho6ien2ki2lliamhill9n_dows4e1ners6me2olterskluwer11odside6rk_s2ld3w2s1tc1f3xbox3erox4finity6ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u_tube6t1un3za_ppos4ra3ero3ip2m1one3uerich6w2';
const encodedTlds = 'aaa1rp3barth4b0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0faromeo7ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4vianca6w0s2x0a2z0ure5ba0by2idu3namex3narepublic11d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2ntley5rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re2s2c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y0eats7k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0cast4mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking0channel11l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dabur3d1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t0isalat7u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0at2delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d0network8tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntdoor4ier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0ardian6cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5gtv3iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0eles2s3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6logistics9properties14fh2g1h1i0a1ds2m1nder2le4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3ncaster5ia3d0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4de2k2psy3ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0cys3drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7serati6ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic3tual5v1w1x1y1z2na0b1goya4me2tura4vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rthwesternmutual14on4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9dnavy5lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3ssagens7y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0america6xi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cher3ks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0a1b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp2w2ell3ia1ksha5oes2p0ping5uji3w0time7i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ffany5ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0channel7ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lkswagen7vo3te1ing3o2yage5u0elos6wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4finity6ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2';
// Internationalized domain names containing non-ASCII
const encodedUtlds = 'ελ1υ2бг1ел3дети4ею2католик6ом3мкд2он1сква6онлайн5рг3рус2ф2сайт3рб3укр3қаз3հայ3ישראל5קום3ابوظبي5تصالات6رامكو5لاردن4بحرين5جزائر5سعودية6عليان5مغرب5مارات5یران5بارت2زار4يتك3ھارت5تونس4سودان3رية5شبكة4عراق2ب2مان4فلسطين6قطر3كاثوليك6وم3مصر2ليسيا5وريتانيا7قع4همراه5پاکستان7ڀارت4कॉम3नेट3भारत_म्3ोत5संगठन5বাংলা5ভারত2ৰত4ਭਾਰਤ4ભારત4ଭାରତ4இந்தியா6லங்கை6சிங்கப்பூர்11భారత్5ಭಾರತ4ഭാരതം5ලංකා4คอม3ไทย3ລາວ3გე2みんな3アマゾン4クラウド4グーグル4コム2ストア3セール3ファッション6ポイント4世界2中信1国1國1文网3亚马逊3企业2佛山2信息2健康2八卦2公司1益2台湾1灣2商城1店1标2嘉里_大酒店5在线2大拿2天主教3娱乐2家電2广东2微博2慈善2我爱你3手机2招聘2政务1府2新加坡2闻2时尚2書籍2机构2淡马锡3游戏2澳門2点看2移动2组织机构4网址1店1站1络2联通2谷歌2购物2通販2集团2電訊盈科4飞利浦3食品2餐厅2香格里拉3港2닷넷1컴2삼성2한국2';
const encodedUtlds = 'ελ1υ2бг1ел3дети4ею2католик6ом3мкд2он1сква6онлайн5рг3рус2ф2сайт3рб3укр3қаз3հայ3ישראל5קום3ابوظبي5تصالات6رامكو5لاردن4بحرين5جزائر5سعودية6عليان5مغرب5مارات5یران5بارت2زار4يتك3ھارت5تونس4سودان3رية5شبكة4عراق2ب2مان4فلسطين6قطر3كاثوليك6وم3مصر2ليسيا5وريتانيا7قع4همراه5پاکستان7ڀارت4कॉम3नेट3भारत0म्3ोत5संगठन5বাংলা5ভারত2ৰত4ਭਾਰਤ4ભારત4ଭାରତ4இந்தியா6லங்கை6சிங்கப்பூர்11భారత్5ಭಾರತ4ഭാരതം5ලංකා4คอม3ไทย3ລາວ3გე2みんな3アマゾン4クラウド4グーグル4コム2ストア3セール3ファッション6ポイント4世界2中信1国1國1文网3亚马逊3企业2佛山2信息2健康2八卦2公司1益2台湾1灣2商城1店1标2嘉里0大酒店5在线2大拿2天主教3娱乐2家電2广东2微博2慈善2我爱你3手机2招聘2政务1府2新加坡2闻2时尚2書籍2机构2淡马锡3游戏2澳門2点看2移动2组织机构4网址1店1站1络2联通2谷歌2购物2通販2集团2電訊盈科4飞利浦3食品2餐厅2香格里拉3港2닷넷1컴2삼성2한국2';

@@ -850,10 +850,6 @@ /**

words.push(stack.join('')); // whatever preceded the pop digits must be a word
let popCount = parseInt(encoded.substring(i, i + popDigitCount), 10);
for (; popCount > 0; popCount--) {
for (let popCount = parseInt(encoded.substring(i, i + popDigitCount), 10); popCount > 0; popCount--) {
stack.pop();
}
i += popDigitCount;
} else if (encoded[i] === '_') {
words.push(stack.join('')); // found a word, will be followed by another
i++;
} else {

@@ -1215,3 +1211,4 @@ stack.push(encoded[i]); // drop down a level into the trie

const token = this;
const href = this.toFormattedHref(options);
const href = this.toHref(options.get('defaultProtocol'));
const formattedHref = options.get('formatHref', href, this);
const tagName = options.get('tagName', href, token);

@@ -1225,3 +1222,3 @@ const content = this.toFormattedString(options);

const eventListeners = options.getObj('events', href, token);
attributes.href = href;
attributes.href = formattedHref;
if (className) {

@@ -1364,3 +1361,3 @@ attributes.class = className;

// Tokens allowed in the localpart of the email
const localpartAccepting = [AMPERSAND, APOSTROPHE, ASTERISK, BACKSLASH, BACKTICK, CARET, CLOSEBRACE, DOLLAR, EQUALS, HYPHEN, NUM, OPENBRACE, PERCENT, PIPE, PLUS, POUND, QUERY, SLASH, SYM, TILDE, UNDERSCORE];
const localpartAccepting = [AMPERSAND, APOSTROPHE, ASTERISK, BACKSLASH, BACKTICK, CARET, CLOSEBRACE, DOLLAR, EQUALS, HYPHEN, OPENBRACE, PERCENT, PIPE, PLUS, POUND, QUERY, SLASH, SYM, TILDE, UNDERSCORE];

@@ -1453,7 +1450,7 @@ // The universal starting state.

// Note that domains that begin with schemes are treated slighly differently
const UriPrefix = tt(Scheme, COLON); // e.g., 'mailto:' or 'http://'
const SchemeColon = tt(Scheme, COLON); // e.g., 'mailto:'
const SlashSchemeColon = tt(SlashScheme, COLON); // e.g., 'http:'
const SlashSchemeColonSlash = tt(SlashSchemeColon, SLASH); // e.g., 'http:/'
tt(SlashSchemeColonSlash, SLASH, UriPrefix);
const UriPrefix = tt(SlashSchemeColonSlash, SLASH); // e.g., 'http://'

@@ -1469,3 +1466,6 @@ // Scheme states can transition to domain states

// Force URL with scheme prefix followed by anything sane
ta(SchemeColon, groups.domain, Url$1);
tt(SchemeColon, SLASH, Url$1);
ta(UriPrefix, groups.domain, Url$1);
ta(UriPrefix, qsAccepting, Url$1);
tt(UriPrefix, SLASH, Url$1);

@@ -1472,0 +1472,0 @@

@@ -220,3 +220,3 @@ export type Transition<T> = null | T;

attributes: {
href: string;
href: any;
class: any;

@@ -223,0 +223,0 @@ target: any;

// THIS FILE IS AUTOMATICALLY GENERATED DO NOT EDIT DIRECTLY
// See update-tlds.js for encoding/decoding format
// https://data.iana.org/TLD/tlds-alpha-by-domain.txt
const encodedTlds = 'aaa1rp3barth4b_ott3vie4c1le2ogado5udhabi7c_ademy5centure6ountant_s9o1tor4d_s1ult4e_g1ro2tna4f_l1rica5g_akhan5ency5i_g1rbus3force5tel5kdn3l_faromeo7ibaba4pay4lfinanz6state5y2sace3tom5m_azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o_l2partments8p_le4q_uarelle8r_ab1mco4chi3my2pa2t_e3s_da2ia2sociates9t_hleta5torney7u_ction5di_ble3o3spost5thor3o_s4vianca6w_s2x_a2z_ure5ba_by2idu3namex3narepublic11d1k2r_celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b_c1t1va3cg1n2d1e_ats2uty4er2ntley5rlin4st_buy5t2f1g1h_arti5i_ble3d1ke2ng_o3o1z2j1lack_friday9ockbuster8g1omberg7ue3m_s1w2n_pparibas9o_ats3ehringer8fa2m1nd2o_k_ing5sch2tik2on4t1utique6x2r_adesco6idgestone9oadway5ker3ther5ussels7s1t1uild_ers6siness6y1zz3v1w1y1z_h3ca_b1fe2l_l1vinklein9m_era3p2non3petown5ital_one8r_avan4ds2e_er_s4s2sa1e1h1ino4t_ering5holic7ba1n1re2s2c1d1enter4o1rn3f_a1d2g1h_anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i_priani6rcle4sco3tadel4i_c2y_eats7k1l_aims4eaning6ick2nic1que6othing5ud3ub_med6m1n1o_ach3des3ffee4llege4ogne5m_cast4mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking_channel11l1p2rsica5untry4pon_s4rses6pa2r_edit_card4union9icket5own3s1uise_s6u_isinella9v1w1x1y_mru3ou3z2dabur3d1nce3ta1e1ing3sun4y2clk3ds2e_al_er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si_gn4v2hl2iamonds6et2gital5rect_ory7scount3ver5h2y2j1k1m1np2o_cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c_o2deka3u_cation8e1g1mail3erck5nergy4gineer_ing9terprises10pson4quipment8r_icsson6ni3s_q1tate5t_isalat7u_rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n_s2rm_ers5shion4t3edex3edback6rrari3ero6i_at2delity5o2lm2nal1nce1ial7re_stone6mdale6sh_ing5t_ness6j1k1lickr3ghts4r2orist4wers5y2m1o_o_d_network8tball6rd1ex2sale4um3undation8x2r_ee1senius7l1ogans4ntdoor4ier7tr2ujitsu5n_d2rniture7tbol5yi3ga_l_lery3o1up4me_s3p1rden4y2b_iz3d_n2e_a1nt_ing5orge5f1g_ee3h1i_ft_s3ves2ing5l_ass3e1obal2o4m_ail3bh2o1x2n1odaddy5ld_point6f2o_dyear5g_le4p1t1v2p1q1r_ainger5phics5tis4een3ipe3ocery4up4s1t1u_ardian6cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc_bank7ealth_care8lp1sinki6re1mes5gtv3iphop4samitsu7tachi5v2k_t2m1n1ockey4ldings5iday5medepot5goods5s_ense7nda3rse3spital5t_ing5t_eles2s3mail5use3w2r1sbc3t1u_ghes5yatt3undai7ibm2cbc2e1u2d1e_ee3fm2kano4l1m_amat4db2mo_bilien9n_c1dustries8finiti5o2g1k1stitute6urance4e4t_ernational10uit4vestments10o1piranga7q1r_ish4s_maili5t_anbul7t_au2v3jaguar4va3cb2e_ep2tzt3welry6io2ll2m_p2nj2o_bs1urg4t1y2p_morgan6rs3uegos4niper7kaufen5ddi3e_rryhotels6logistics9properties14fh2g1h1i_a1ds2m1nder2le4tchen5wi3m1n1oeln3matsu5sher5p_mg2n2r_d1ed3uokgroup8w1y_oto4z2la_caixa5mborghini8er3ncaster5ia3d_rover6xess5salle5t_ino3robe5w_yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i_dl2fe_insurance9style7ghting6ke2lly3mited4o2ncoln4de2k2psy3ve1ing5k1lc1p2oan_s3cker3us3l1ndon4tte1o3ve3pl_financial11r1s1t_d_a3u_ndbeck6xe1ury5v1y2ma_cys3drid4if1son4keup4n_agement7go3p1rket_ing3s4riott5shalls7serati6ttel5ba2c_kinsey7d1e_d_ia3et2lbourne7me1orial6n_u2rckmsd7g1h1iami3crosoft7l1ni1t2t_subishi9k1l_b1s2m_a2n1o_bi_le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to_rcycles9v_ie4p1q1r1s_d2t_n1r2u_seum3ic3tual5v1w1x1y1z2na_b1goya4me2tura4vy3ba2c1e_c1t_bank4flix4work5ustar5w_s2xt_direct7us4f_l2g_o2hk2i_co2ke1on3nja3ssan1y5l1o_kia3rthwesternmutual14on4w_ruz3tv4p1r_a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan_group9dnavy5lo3m_ega4ne1g1l_ine5oo2pen3racle3nge4g_anic5igins6saka4tsuka4t2vh3pa_ge2nasonic7ris2s1tners4s1y3ssagens7y2ccw3e_t2f_izer5g1h_armacy6d1ilips5one2to_graphy6s4ysio5ics1tet2ures6d1n_g1k2oneer5zza4k1l_ace2y_station9umbing5s3m1n_c2ohl2ker3litie5rn2st3r_america6xi3ess3ime3o_d_uctions8f1gressive8mo2perties3y5tection8u_dential9s1t1ub2w_c2y2qa1pon3uebec3st5racing4dio4e_ad1lestate6tor2y4cipes5d_stone5umbrella9hab3ise_n3t2liance6n_t_als5pair3ort3ublican8st_aurant8view_s5xroth6ich_ardli6oh3l1o1p2o_cher3ks3deo3gers4om3s_vp3u_gby3hr2n2w_e2yukyu6sa_arland6fe_ty4kura4le1on3msclub4ung5ndvik_coromant12ofi4p1rl2s1ve2xo3b_i1s2c_a1b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e_arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x_y3fr2g1h_angrila6rp2w2ell3ia1ksha5oes2p_ping5uji3w_time7i_lk2na1gles5te3j1k_i_n2y_pe4l_ing4m_art3ile4n_cf3o_ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa_ce3ort2t3r_l2s1t_ada2ples4r1tebank4farm7c_group6ockholm6rage3e3ream4udio2y3yle4u_cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y_dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x_i3c_i2d_k2eam2ch_nology8l1masek5nnis4va3f1g1h_d1eater2re6iaa2ckets5enda4ffany5ps2res2ol4j_maxx4x2k_maxx5l1m_all4n1o_day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r_ade1ing4ining5vel_channel7ers_insurance16ust3v2t1ube2i1nes3shu4v_s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va_cations7na1guard7c1e_gas3ntures6risign5mögensberater2ung14sicherung10t2g1i_ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lkswagen7vo3te1ing3o2yage5u_elos6wales2mart4ter4ng_gou5tch_es6eather_channel12bcam3er2site5d_ding5ibo2r3f1hoswho6ien2ki2lliamhill9n_dows4e1ners6me2olterskluwer11odside6rk_s2ld3w2s1tc1f3xbox3erox4finity6ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u_tube6t1un3za_ppos4ra3ero3ip2m1one3uerich6w2';
const encodedTlds = 'aaa1rp3barth4b0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0faromeo7ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4vianca6w0s2x0a2z0ure5ba0by2idu3namex3narepublic11d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2ntley5rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re2s2c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y0eats7k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0cast4mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking0channel11l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dabur3d1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t0isalat7u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0at2delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d0network8tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntdoor4ier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0ardian6cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5gtv3iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0eles2s3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6logistics9properties14fh2g1h1i0a1ds2m1nder2le4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3ncaster5ia3d0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4de2k2psy3ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0cys3drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7serati6ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic3tual5v1w1x1y1z2na0b1goya4me2tura4vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rthwesternmutual14on4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9dnavy5lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3ssagens7y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0america6xi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cher3ks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0a1b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp2w2ell3ia1ksha5oes2p0ping5uji3w0time7i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ffany5ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0channel7ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lkswagen7vo3te1ing3o2yage5u0elos6wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4finity6ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2';
// Internationalized domain names containing non-ASCII
const encodedUtlds = 'ελ1υ2бг1ел3дети4ею2католик6ом3мкд2он1сква6онлайн5рг3рус2ф2сайт3рб3укр3қаз3հայ3ישראל5קום3ابوظبي5تصالات6رامكو5لاردن4بحرين5جزائر5سعودية6عليان5مغرب5مارات5یران5بارت2زار4يتك3ھارت5تونس4سودان3رية5شبكة4عراق2ب2مان4فلسطين6قطر3كاثوليك6وم3مصر2ليسيا5وريتانيا7قع4همراه5پاکستان7ڀارت4कॉम3नेट3भारत_म्3ोत5संगठन5বাংলা5ভারত2ৰত4ਭਾਰਤ4ભારત4ଭାରତ4இந்தியா6லங்கை6சிங்கப்பூர்11భారత్5ಭಾರತ4ഭാരതം5ලංකා4คอม3ไทย3ລາວ3გე2みんな3アマゾン4クラウド4グーグル4コム2ストア3セール3ファッション6ポイント4世界2中信1国1國1文网3亚马逊3企业2佛山2信息2健康2八卦2公司1益2台湾1灣2商城1店1标2嘉里_大酒店5在线2大拿2天主教3娱乐2家電2广东2微博2慈善2我爱你3手机2招聘2政务1府2新加坡2闻2时尚2書籍2机构2淡马锡3游戏2澳門2点看2移动2组织机构4网址1店1站1络2联通2谷歌2购物2通販2集团2電訊盈科4飞利浦3食品2餐厅2香格里拉3港2닷넷1컴2삼성2한국2';
const encodedUtlds = 'ελ1υ2бг1ел3дети4ею2католик6ом3мкд2он1сква6онлайн5рг3рус2ф2сайт3рб3укр3қаз3հայ3ישראל5קום3ابوظبي5تصالات6رامكو5لاردن4بحرين5جزائر5سعودية6عليان5مغرب5مارات5یران5بارت2زار4يتك3ھارت5تونس4سودان3رية5شبكة4عراق2ب2مان4فلسطين6قطر3كاثوليك6وم3مصر2ليسيا5وريتانيا7قع4همراه5پاکستان7ڀارت4कॉम3नेट3भारत0म्3ोत5संगठन5বাংলা5ভারত2ৰত4ਭਾਰਤ4ભારત4ଭାରତ4இந்தியா6லங்கை6சிங்கப்பூர்11భారత్5ಭಾರತ4ഭാരതം5ලංකා4คอม3ไทย3ລາວ3გე2みんな3アマゾン4クラウド4グーグル4コム2ストア3セール3ファッション6ポイント4世界2中信1国1國1文网3亚马逊3企业2佛山2信息2健康2八卦2公司1益2台湾1灣2商城1店1标2嘉里0大酒店5在线2大拿2天主教3娱乐2家電2广东2微博2慈善2我爱你3手机2招聘2政务1府2新加坡2闻2时尚2書籍2机构2淡马锡3游戏2澳門2点看2移动2组织机构4网址1店1站1络2联通2谷歌2购物2通販2集团2電訊盈科4飞利浦3食品2餐厅2香格里拉3港2닷넷1컴2삼성2한국2';

@@ -845,10 +845,6 @@ /**

words.push(stack.join('')); // whatever preceded the pop digits must be a word
let popCount = parseInt(encoded.substring(i, i + popDigitCount), 10);
for (; popCount > 0; popCount--) {
for (let popCount = parseInt(encoded.substring(i, i + popDigitCount), 10); popCount > 0; popCount--) {
stack.pop();
}
i += popDigitCount;
} else if (encoded[i] === '_') {
words.push(stack.join('')); // found a word, will be followed by another
i++;
} else {

@@ -1210,3 +1206,4 @@ stack.push(encoded[i]); // drop down a level into the trie

const token = this;
const href = this.toFormattedHref(options);
const href = this.toHref(options.get('defaultProtocol'));
const formattedHref = options.get('formatHref', href, this);
const tagName = options.get('tagName', href, token);

@@ -1220,3 +1217,3 @@ const content = this.toFormattedString(options);

const eventListeners = options.getObj('events', href, token);
attributes.href = href;
attributes.href = formattedHref;
if (className) {

@@ -1359,3 +1356,3 @@ attributes.class = className;

// Tokens allowed in the localpart of the email
const localpartAccepting = [AMPERSAND, APOSTROPHE, ASTERISK, BACKSLASH, BACKTICK, CARET, CLOSEBRACE, DOLLAR, EQUALS, HYPHEN, NUM, OPENBRACE, PERCENT, PIPE, PLUS, POUND, QUERY, SLASH, SYM, TILDE, UNDERSCORE];
const localpartAccepting = [AMPERSAND, APOSTROPHE, ASTERISK, BACKSLASH, BACKTICK, CARET, CLOSEBRACE, DOLLAR, EQUALS, HYPHEN, OPENBRACE, PERCENT, PIPE, PLUS, POUND, QUERY, SLASH, SYM, TILDE, UNDERSCORE];

@@ -1448,7 +1445,7 @@ // The universal starting state.

// Note that domains that begin with schemes are treated slighly differently
const UriPrefix = tt(Scheme, COLON); // e.g., 'mailto:' or 'http://'
const SchemeColon = tt(Scheme, COLON); // e.g., 'mailto:'
const SlashSchemeColon = tt(SlashScheme, COLON); // e.g., 'http:'
const SlashSchemeColonSlash = tt(SlashSchemeColon, SLASH); // e.g., 'http:/'
tt(SlashSchemeColonSlash, SLASH, UriPrefix);
const UriPrefix = tt(SlashSchemeColonSlash, SLASH); // e.g., 'http://'

@@ -1464,3 +1461,6 @@ // Scheme states can transition to domain states

// Force URL with scheme prefix followed by anything sane
ta(SchemeColon, groups.domain, Url$1);
tt(SchemeColon, SLASH, Url$1);
ta(UriPrefix, groups.domain, Url$1);
ta(UriPrefix, qsAccepting, Url$1);
tt(UriPrefix, SLASH, Url$1);

@@ -1467,0 +1467,0 @@

@@ -1,1 +0,1 @@

var linkify=function(e){"use strict";const t=(e,t)=>{for(const n in t)e[n]=t[n];return e},n="numeric",i="ascii",s="alpha",r="asciinumeric",o="alphanumeric",a="domain",l="emoji",u="whitespace";function c(e,t){return e in t||(t[e]=[]),t[e]}function _(e,t,u){t[n]&&(t[r]=!0,t[o]=!0),t[i]&&(t[r]=!0,t[s]=!0),t[r]&&(t[o]=!0),t[s]&&(t[o]=!0),t[o]&&(t[a]=!0),t[l]&&(t[a]=!0);for(const n in t){const t=c(n,u);t.indexOf(e)<0&&t.push(e)}}function g(e){void 0===e&&(e=null),this.j={},this.jr=[],this.jd=null,this.t=e}g.groups={},g.prototype={accepts(){return!!this.t},go(e){const t=this,n=t.j[e];if(n)return n;for(let n=0;n<t.jr.length;n++){const i=t.jr[n][0],s=t.jr[n][1];if(s&&i.test(e))return s}return t.jd},has(e,t){return void 0===t&&(t=!1),t?e in this.j:!!this.go(e)},ta(e,t,n,i){for(let s=0;s<e.length;s++)this.tt(e[s],t,n,i)},tr(e,t,n,i){let s;return i=i||g.groups,t&&t.j?s=t:(s=new g(t),n&&i&&_(t,n,i)),this.jr.push([e,s]),s},ts(e,t,n,i){let s=this;const r=e.length;if(!r)return s;for(let t=0;t<r-1;t++)s=s.tt(e[t]);return s.tt(e[r-1],t,n,i)},tt(e,n,i,s){s=s||g.groups;const r=this;if(n&&n.j)return r.j[e]=n,n;const o=n;let a,l=r.go(e);if(l?(a=new g,t(a.j,l.j),a.jr.push.apply(a.jr,l.jr),a.jd=l.jd,a.t=l.t):a=new g,o){if(s)if(a.t&&"string"==typeof a.t){const e=t(function(e,t){const n={};for(const i in t)t[i].indexOf(e)>=0&&(n[i]=!0);return n}(a.t,s),i);_(o,e,s)}else i&&_(o,i,s);a.t=o}return r.j[e]=a,a}};const d=(e,t,n,i,s)=>e.ta(t,n,i,s),h=(e,t,n,i,s)=>e.tr(t,n,i,s),f=(e,t,n,i,s)=>e.ts(t,n,i,s),p=(e,t,n,i,s)=>e.tt(t,n,i,s),m="WORD",y="UWORD",k="LOCALHOST",b="TLD",E="UTLD",v="SCHEME",w="SLASH_SCHEME",O="NUM",j="NL",S="OPENBRACE",A="OPENBRACKET",L="OPENANGLEBRACKET",C="OPENPAREN",x="CLOSEBRACE",T="CLOSEBRACKET",R="CLOSEANGLEBRACKET",z="CLOSEPAREN",N="AMPERSAND",P="APOSTROPHE",I="ASTERISK",H="AT",M="BACKSLASH",Q="BACKTICK",D="CARET",U="COLON",B="COMMA",K="DOLLAR",$="DOT",q="EQUALS",F="EXCLAMATION",W="HYPHEN",Y="PERCENT",G="PIPE",J="PLUS",X="POUND",V="QUERY",Z="QUOTE",ee="SEMI",te="SLASH",ne="TILDE",ie="UNDERSCORE",se="EMOJI",re="SYM";var oe=Object.freeze({__proto__:null,WORD:m,UWORD:y,LOCALHOST:k,TLD:b,UTLD:E,SCHEME:v,SLASH_SCHEME:w,NUM:O,WS:"WS",NL:j,OPENBRACE:S,OPENBRACKET:A,OPENANGLEBRACKET:L,OPENPAREN:C,CLOSEBRACE:x,CLOSEBRACKET:T,CLOSEANGLEBRACKET:R,CLOSEPAREN:z,AMPERSAND:N,APOSTROPHE:P,ASTERISK:I,AT:H,BACKSLASH:M,BACKTICK:Q,CARET:D,COLON:U,COMMA:B,DOLLAR:K,DOT:$,EQUALS:q,EXCLAMATION:F,HYPHEN:W,PERCENT:Y,PIPE:G,PLUS:J,POUND:X,QUERY:V,QUOTE:Z,SEMI:ee,SLASH:te,TILDE:ne,UNDERSCORE:ie,EMOJI:se,SYM:re});const ae=/[a-z]/,le=/\p{L}/u,ue=/\p{Emoji}/u,ce=/\d/,_e=/\s/;var ge=Object.freeze({__proto__:null,ASCII_LETTER:ae,LETTER:le,EMOJI:ue,EMOJI_VARIATION:/\ufe0f/,DIGIT:ce,SPACE:_e});let de=null,he=null;function fe(e){const t=[],n=e.length;let i=0;for(;i<n;){let s,r=e.charCodeAt(i),o=r<55296||r>56319||i+1===n||(s=e.charCodeAt(i+1))<56320||s>57343?e[i]:e.slice(i,i+2);t.push(o),i+=o.length}return t}function pe(e,t,n,i,s){let r;const o=t.length;for(let n=0;n<o-1;n++){const o=t[n];e.j[o]?r=e.j[o]:(r=new g(i),r.jr=s.slice(),e.j[o]=r),e=r}return r=new g(n),r.jr=s.slice(),e.j[t[o-1]]=r,r}function me(e){const t=[],n=[];let i=0;for(;i<e.length;){let s=0;for(;"0123456789".indexOf(e[i+s])>=0;)s++;if(s>0){t.push(n.join(""));let r=parseInt(e.substring(i,i+s),10);for(;r>0;r--)n.pop();i+=s}else"_"===e[i]?(t.push(n.join("")),i++):(n.push(e[i]),i++)}return t}const ye={defaultProtocol:"http",events:null,format:be,formatHref:be,nl2br:!1,tagName:"a",target:null,rel:null,validate:!0,truncate:1/0,className:null,attributes:null,ignoreTags:[],render:null};function ke(e,n){void 0===n&&(n=null);let i=t({},ye);e&&(i=t(i,e instanceof ke?e.o:e));const s=i.ignoreTags,r=[];for(let e=0;e<s.length;e++)r.push(s[e].toUpperCase());this.o=i,n&&(this.defaultRender=n),this.ignoreTags=r}function be(e){return e}ke.prototype={o:ye,ignoreTags:[],defaultRender:e=>e,check(e){return this.get("validate",e.toString(),e)},get(e,t,n){const i=null!=t;let s=this.o[e];return s?("object"==typeof s?(s=n.t in s?s[n.t]:ye[e],"function"==typeof s&&i&&(s=s(t,n))):"function"==typeof s&&i&&(s=s(t,n.t,n)),s):s},getObj(e,t,n){let i=this.o[e];return"function"==typeof i&&null!=t&&(i=i(t,n.t,n)),i},render(e){const t=e.render(this);return(this.get("render",null,e)||this.defaultRender)(t,e.t,e)}};var Ee=Object.freeze({__proto__:null,defaults:ye,Options:ke,assign:t});function ve(e,t){this.t="token",this.v=e,this.tk=t}function we(e,t){class n extends ve{constructor(t,n){super(t,n),this.t=e}}for(const e in t)n.prototype[e]=t[e];return n.t=e,n}ve.prototype={isLink:!1,toString(){return this.v},toHref(e){return this.toString()},toFormattedString(e){const t=this.toString(),n=e.get("truncate",t,this),i=e.get("format",t,this);return n&&i.length>n?i.substring(0,n)+"…":i},toFormattedHref(e){return e.get("formatHref",this.toHref(e.get("defaultProtocol")),this)},startIndex(){return this.tk[0].s},endIndex(){return this.tk[this.tk.length-1].e},toObject(e){return void 0===e&&(e=ye.defaultProtocol),{type:this.t,value:this.toString(),isLink:this.isLink,href:this.toHref(e),start:this.startIndex(),end:this.endIndex()}},toFormattedObject(e){return{type:this.t,value:this.toFormattedString(e),isLink:this.isLink,href:this.toFormattedHref(e),start:this.startIndex(),end:this.endIndex()}},validate(e){return e.get("validate",this.toString(),this)},render(e){const n=this,i=this.toFormattedHref(e),s=e.get("tagName",i,n),r=this.toFormattedString(e),o={},a=e.get("className",i,n),l=e.get("target",i,n),u=e.get("rel",i,n),c=e.getObj("attributes",i,n),_=e.getObj("events",i,n);return o.href=i,a&&(o.class=a),l&&(o.target=l),u&&(o.rel=u),c&&t(o,c),{tagName:s,attributes:o,content:r,eventListeners:_}}};const Oe=we("email",{isLink:!0,toHref(){return"mailto:"+this.toString()}}),je=we("text"),Se=we("nl"),Ae=we("url",{isLink:!0,toHref(e){return void 0===e&&(e=ye.defaultProtocol),this.hasProtocol()?this.v:`${e}://${this.v}`},hasProtocol(){const e=this.tk;return e.length>=2&&e[0].t!==k&&e[1].t===U}});var Le=Object.freeze({__proto__:null,MultiToken:ve,Base:ve,createTokenClass:we,Email:Oe,Text:je,Nl:Se,Url:Ae});const Ce=e=>new g(e);function xe(e,t,n){const i=n[0].s,s=n[n.length-1].e;return new e(t.slice(i,s),n)}const Te="undefined"!=typeof console&&console&&console.warn||(()=>{}),Re="until manual call of linkify.init(). Register all schemes and plugins before invoking linkify the first time.",ze={scanner:null,parser:null,tokenQueue:[],pluginQueue:[],customSchemes:[],initialized:!1};function Ne(){ze.scanner=function(e){void 0===e&&(e=[]);const o={};g.groups=o;const c=new g;null==de&&(de=me("aaa1rp3barth4b_ott3vie4c1le2ogado5udhabi7c_ademy5centure6ountant_s9o1tor4d_s1ult4e_g1ro2tna4f_l1rica5g_akhan5ency5i_g1rbus3force5tel5kdn3l_faromeo7ibaba4pay4lfinanz6state5y2sace3tom5m_azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o_l2partments8p_le4q_uarelle8r_ab1mco4chi3my2pa2t_e3s_da2ia2sociates9t_hleta5torney7u_ction5di_ble3o3spost5thor3o_s4vianca6w_s2x_a2z_ure5ba_by2idu3namex3narepublic11d1k2r_celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b_c1t1va3cg1n2d1e_ats2uty4er2ntley5rlin4st_buy5t2f1g1h_arti5i_ble3d1ke2ng_o3o1z2j1lack_friday9ockbuster8g1omberg7ue3m_s1w2n_pparibas9o_ats3ehringer8fa2m1nd2o_k_ing5sch2tik2on4t1utique6x2r_adesco6idgestone9oadway5ker3ther5ussels7s1t1uild_ers6siness6y1zz3v1w1y1z_h3ca_b1fe2l_l1vinklein9m_era3p2non3petown5ital_one8r_avan4ds2e_er_s4s2sa1e1h1ino4t_ering5holic7ba1n1re2s2c1d1enter4o1rn3f_a1d2g1h_anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i_priani6rcle4sco3tadel4i_c2y_eats7k1l_aims4eaning6ick2nic1que6othing5ud3ub_med6m1n1o_ach3des3ffee4llege4ogne5m_cast4mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking_channel11l1p2rsica5untry4pon_s4rses6pa2r_edit_card4union9icket5own3s1uise_s6u_isinella9v1w1x1y_mru3ou3z2dabur3d1nce3ta1e1ing3sun4y2clk3ds2e_al_er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si_gn4v2hl2iamonds6et2gital5rect_ory7scount3ver5h2y2j1k1m1np2o_cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c_o2deka3u_cation8e1g1mail3erck5nergy4gineer_ing9terprises10pson4quipment8r_icsson6ni3s_q1tate5t_isalat7u_rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n_s2rm_ers5shion4t3edex3edback6rrari3ero6i_at2delity5o2lm2nal1nce1ial7re_stone6mdale6sh_ing5t_ness6j1k1lickr3ghts4r2orist4wers5y2m1o_o_d_network8tball6rd1ex2sale4um3undation8x2r_ee1senius7l1ogans4ntdoor4ier7tr2ujitsu5n_d2rniture7tbol5yi3ga_l_lery3o1up4me_s3p1rden4y2b_iz3d_n2e_a1nt_ing5orge5f1g_ee3h1i_ft_s3ves2ing5l_ass3e1obal2o4m_ail3bh2o1x2n1odaddy5ld_point6f2o_dyear5g_le4p1t1v2p1q1r_ainger5phics5tis4een3ipe3ocery4up4s1t1u_ardian6cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc_bank7ealth_care8lp1sinki6re1mes5gtv3iphop4samitsu7tachi5v2k_t2m1n1ockey4ldings5iday5medepot5goods5s_ense7nda3rse3spital5t_ing5t_eles2s3mail5use3w2r1sbc3t1u_ghes5yatt3undai7ibm2cbc2e1u2d1e_ee3fm2kano4l1m_amat4db2mo_bilien9n_c1dustries8finiti5o2g1k1stitute6urance4e4t_ernational10uit4vestments10o1piranga7q1r_ish4s_maili5t_anbul7t_au2v3jaguar4va3cb2e_ep2tzt3welry6io2ll2m_p2nj2o_bs1urg4t1y2p_morgan6rs3uegos4niper7kaufen5ddi3e_rryhotels6logistics9properties14fh2g1h1i_a1ds2m1nder2le4tchen5wi3m1n1oeln3matsu5sher5p_mg2n2r_d1ed3uokgroup8w1y_oto4z2la_caixa5mborghini8er3ncaster5ia3d_rover6xess5salle5t_ino3robe5w_yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i_dl2fe_insurance9style7ghting6ke2lly3mited4o2ncoln4de2k2psy3ve1ing5k1lc1p2oan_s3cker3us3l1ndon4tte1o3ve3pl_financial11r1s1t_d_a3u_ndbeck6xe1ury5v1y2ma_cys3drid4if1son4keup4n_agement7go3p1rket_ing3s4riott5shalls7serati6ttel5ba2c_kinsey7d1e_d_ia3et2lbourne7me1orial6n_u2rckmsd7g1h1iami3crosoft7l1ni1t2t_subishi9k1l_b1s2m_a2n1o_bi_le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to_rcycles9v_ie4p1q1r1s_d2t_n1r2u_seum3ic3tual5v1w1x1y1z2na_b1goya4me2tura4vy3ba2c1e_c1t_bank4flix4work5ustar5w_s2xt_direct7us4f_l2g_o2hk2i_co2ke1on3nja3ssan1y5l1o_kia3rthwesternmutual14on4w_ruz3tv4p1r_a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan_group9dnavy5lo3m_ega4ne1g1l_ine5oo2pen3racle3nge4g_anic5igins6saka4tsuka4t2vh3pa_ge2nasonic7ris2s1tners4s1y3ssagens7y2ccw3e_t2f_izer5g1h_armacy6d1ilips5one2to_graphy6s4ysio5ics1tet2ures6d1n_g1k2oneer5zza4k1l_ace2y_station9umbing5s3m1n_c2ohl2ker3litie5rn2st3r_america6xi3ess3ime3o_d_uctions8f1gressive8mo2perties3y5tection8u_dential9s1t1ub2w_c2y2qa1pon3uebec3st5racing4dio4e_ad1lestate6tor2y4cipes5d_stone5umbrella9hab3ise_n3t2liance6n_t_als5pair3ort3ublican8st_aurant8view_s5xroth6ich_ardli6oh3l1o1p2o_cher3ks3deo3gers4om3s_vp3u_gby3hr2n2w_e2yukyu6sa_arland6fe_ty4kura4le1on3msclub4ung5ndvik_coromant12ofi4p1rl2s1ve2xo3b_i1s2c_a1b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e_arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x_y3fr2g1h_angrila6rp2w2ell3ia1ksha5oes2p_ping5uji3w_time7i_lk2na1gles5te3j1k_i_n2y_pe4l_ing4m_art3ile4n_cf3o_ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa_ce3ort2t3r_l2s1t_ada2ples4r1tebank4farm7c_group6ockholm6rage3e3ream4udio2y3yle4u_cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y_dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x_i3c_i2d_k2eam2ch_nology8l1masek5nnis4va3f1g1h_d1eater2re6iaa2ckets5enda4ffany5ps2res2ol4j_maxx4x2k_maxx5l1m_all4n1o_day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r_ade1ing4ining5vel_channel7ers_insurance16ust3v2t1ube2i1nes3shu4v_s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va_cations7na1guard7c1e_gas3ntures6risign5mögensberater2ung14sicherung10t2g1i_ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lkswagen7vo3te1ing3o2yage5u_elos6wales2mart4ter4ng_gou5tch_es6eather_channel12bcam3er2site5d_ding5ibo2r3f1hoswho6ien2ki2lliamhill9n_dows4e1ners6me2olterskluwer11odside6rk_s2ld3w2s1tc1f3xbox3erox4finity6ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u_tube6t1un3za_ppos4ra3ero3ip2m1one3uerich6w2")),null==he&&(he=me("ελ1υ2бг1ел3дети4ею2католик6ом3мкд2он1сква6онлайн5рг3рус2ф2сайт3рб3укр3қаз3հայ3ישראל5קום3ابوظبي5تصالات6رامكو5لاردن4بحرين5جزائر5سعودية6عليان5مغرب5مارات5یران5بارت2زار4يتك3ھارت5تونس4سودان3رية5شبكة4عراق2ب2مان4فلسطين6قطر3كاثوليك6وم3مصر2ليسيا5وريتانيا7قع4همراه5پاکستان7ڀارت4कॉम3नेट3भारत_म्3ोत5संगठन5বাংলা5ভারত2ৰত4ਭਾਰਤ4ભારત4ଭାରତ4இந்தியா6லங்கை6சிங்கப்பூர்11భారత్5ಭಾರತ4ഭാരതം5ලංකා4คอม3ไทย3ລາວ3გე2みんな3アマゾン4クラウド4グーグル4コム2ストア3セール3ファッション6ポイント4世界2中信1国1國1文网3亚马逊3企业2佛山2信息2健康2八卦2公司1益2台湾1灣2商城1店1标2嘉里_大酒店5在线2大拿2天主教3娱乐2家電2广东2微博2慈善2我爱你3手机2招聘2政务1府2新加坡2闻2时尚2書籍2机构2淡马锡3游戏2澳門2点看2移动2组织机构4网址1店1站1络2联通2谷歌2购物2通販2集团2電訊盈科4飞利浦3食品2餐厅2香格里拉3港2닷넷1컴2삼성2한국2")),p(c,"'",P),p(c,"{",S),p(c,"[",A),p(c,"<",L),p(c,"(",C),p(c,"}",x),p(c,"]",T),p(c,">",R),p(c,")",z),p(c,"&",N),p(c,"*",I),p(c,"@",H),p(c,"`",Q),p(c,"^",D),p(c,":",U),p(c,",",B),p(c,"$",K),p(c,".",$),p(c,"=",q),p(c,"!",F),p(c,"-",W),p(c,"%",Y),p(c,"|",G),p(c,"+",J),p(c,"#",X),p(c,"?",V),p(c,'"',Z),p(c,"/",te),p(c,";",ee),p(c,"~",ne),p(c,"_",ie),p(c,"\\",M);const d=h(c,ce,O,{[n]:!0});h(d,ce,d);const ge=h(c,ae,m,{[i]:!0});h(ge,ae,ge);const fe=h(c,le,y,{[s]:!0});h(fe,ae),h(fe,le,fe);const ye=h(c,_e,"WS",{[u]:!0});p(c,"\n",j,{[u]:!0}),p(ye,"\n"),h(ye,_e,ye);const ke=h(c,ue,se,{[l]:!0});h(ke,ue,ke),p(ke,"️",ke);const be=p(ke,"‍");h(be,ue,ke);const Ee=[[ae,ge]],ve=[[ae,null],[le,fe]];for(let e=0;e<de.length;e++)pe(c,de[e],b,m,Ee);for(let e=0;e<he.length;e++)pe(c,he[e],E,y,ve);_(b,{tld:!0,ascii:!0},o),_(E,{utld:!0,alpha:!0},o),pe(c,"file",v,m,Ee),pe(c,"mailto",v,m,Ee),pe(c,"http",w,m,Ee),pe(c,"https",w,m,Ee),pe(c,"ftp",w,m,Ee),pe(c,"ftps",w,m,Ee),_(v,{scheme:!0,ascii:!0},o),_(w,{slashscheme:!0,ascii:!0},o),e=e.sort(((e,t)=>e[0]>t[0]?1:-1));for(let t=0;t<e.length;t++){const s=e[t][0],o=e[t][1]?{scheme:!0}:{slashscheme:!0};s.indexOf("-")>=0?o[a]=!0:ae.test(s)?ce.test(s)?o[r]=!0:o[i]=!0:o[n]=!0,f(c,s,s,o)}return f(c,"localhost",k,{ascii:!0}),c.jd=new g(re),{start:c,tokens:t({groups:o},oe)}}(ze.customSchemes);for(let e=0;e<ze.tokenQueue.length;e++)ze.tokenQueue[e][1]({scanner:ze.scanner});ze.parser=function(e){let{groups:t}=e;const n=t.domain.concat([N,I,H,M,Q,D,K,q,W,O,Y,G,J,X,te,re,ne,ie]),i=[P,R,x,T,z,U,B,$,F,L,S,A,C,V,Z,ee],s=[N,P,I,M,Q,D,x,K,q,W,O,S,Y,G,J,X,V,te,re,ne,ie],r=Ce(),o=p(r,ne);d(o,s,o),d(o,t.domain,o);const a=Ce(),l=Ce(),u=Ce();d(r,t.domain,a),d(r,t.scheme,l),d(r,t.slashscheme,u),d(a,s,o),d(a,t.domain,a);const c=p(a,H);p(o,H,c),p(l,H,c),p(u,H,c);const _=p(o,$);d(_,s,o),d(_,t.domain,o);const g=Ce();d(c,t.domain,g),d(g,t.domain,g);const h=p(g,$);d(h,t.domain,g);const f=Ce(Oe);d(h,t.tld,f),d(h,t.utld,f),p(c,k,f);const m=p(g,W);d(m,t.domain,g),d(f,t.domain,g),p(f,$,h),p(f,W,m);const y=p(f,U);d(y,t.numeric,Oe);const b=p(a,W),E=p(a,$);d(b,t.domain,a),d(E,s,o),d(E,t.domain,a);const v=Ce(Ae);d(E,t.tld,v),d(E,t.utld,v),d(v,t.domain,a),d(v,s,o),p(v,$,E),p(v,W,b),p(v,H,c);const w=p(v,U),se=Ce(Ae);d(w,t.numeric,se);const ae=Ce(Ae),le=Ce();d(ae,n,ae),d(ae,i,le),d(le,n,ae),d(le,i,le),p(v,te,ae),p(se,te,ae);const ue=p(l,U),ce=p(u,U),_e=p(ce,te);p(_e,te,ue),d(l,t.domain,a),p(l,$,E),p(l,W,b),d(u,t.domain,a),p(u,$,E),p(u,W,b),d(ue,t.domain,ae),p(ue,te,ae);const ge=p(ae,S),de=p(ae,A),he=p(ae,L),fe=p(ae,C);p(le,S,ge),p(le,A,de),p(le,L,he),p(le,C,fe),p(ge,x,ae),p(de,T,ae),p(he,R,ae),p(fe,z,ae),p(ge,x,ae);const pe=Ce(Ae),me=Ce(Ae),ye=Ce(Ae),ke=Ce(Ae);d(ge,n,pe),d(de,n,me),d(he,n,ye),d(fe,n,ke);const be=Ce(),Ee=Ce(),ve=Ce(),we=Ce();return d(ge,i),d(de,i),d(he,i),d(fe,i),d(pe,n,pe),d(me,n,me),d(ye,n,ye),d(ke,n,ke),d(pe,i,pe),d(me,i,me),d(ye,i,ye),d(ke,i,ke),d(be,n,be),d(Ee,n,me),d(ve,n,ye),d(we,n,ke),d(be,i,be),d(Ee,i,Ee),d(ve,i,ve),d(we,i,we),p(me,T,ae),p(ye,R,ae),p(ke,z,ae),p(pe,x,ae),p(Ee,T,ae),p(ve,R,ae),p(we,z,ae),p(be,z,ae),p(r,k,v),p(r,j,Se),{start:r,tokens:oe}}(ze.scanner.tokens);for(let e=0;e<ze.pluginQueue.length;e++)ze.pluginQueue[e][1]({scanner:ze.scanner,parser:ze.parser});ze.initialized=!0}function Pe(e){return ze.initialized||Ne(),function(e,t,n){let i=n.length,s=0,r=[],o=[];for(;s<i;){let a=e,l=null,u=null,c=0,_=null,g=-1;for(;s<i&&!(l=a.go(n[s].t));)o.push(n[s++]);for(;s<i&&(u=l||a.go(n[s].t));)l=null,a=u,a.accepts()?(g=0,_=a):g>=0&&g++,s++,c++;if(g<0)s-=c,s<i&&(o.push(n[s]),s++);else{o.length>0&&(r.push(xe(je,t,o)),o=[]),s-=g,c-=g;const e=_.t,i=n.slice(s-c,s);r.push(xe(e,t,i))}}return o.length>0&&r.push(xe(je,t,o)),r}(ze.parser.start,e,function(e,t){const n=fe(t.replace(/[A-Z]/g,(e=>e.toLowerCase()))),i=n.length,s=[];let r=0,o=0;for(;o<i;){let a=e,l=null,u=0,c=null,_=-1,g=-1;for(;o<i&&(l=a.go(n[o]));)a=l,a.accepts()?(_=0,g=0,c=a):_>=0&&(_+=n[o].length,g++),u+=n[o].length,r+=n[o].length,o++;r-=_,o-=g,u-=_,s.push({t:c.t,v:t.slice(r-u,r),s:r-u,e:r})}return s}(ze.scanner.start,e))}return e.MultiToken=ve,e.Options=ke,e.State=g,e.createTokenClass=we,e.find=function(e,t,n){if(void 0===t&&(t=null),void 0===n&&(n=null),t&&"object"==typeof t){if(n)throw Error(`linkifyjs: Invalid link type ${t}; must be a string`);n=t,t=null}const i=new ke(n),s=Pe(e),r=[];for(let e=0;e<s.length;e++){const n=s[e];!n.isLink||t&&n.t!==t||r.push(n.toFormattedObject(i))}return r},e.init=Ne,e.multi=Le,e.options=Ee,e.regexp=ge,e.registerCustomProtocol=function(e,t){if(void 0===t&&(t=!1),ze.initialized&&Te(`linkifyjs: already initialized - will not register custom scheme "${e}" ${Re}`),!/^[0-9a-z]+(-[0-9a-z]+)*$/.test(e))throw new Error('linkifyjs: incorrect scheme format.\n 1. Must only contain digits, lowercase ASCII letters or "-"\n 2. Cannot start or end with "-"\n 3. "-" cannot repeat');ze.customSchemes.push([e,t])},e.registerPlugin=function(e,t){if("function"!=typeof t)throw new Error(`linkifyjs: Invalid plugin ${t} (expects function)`);for(let n=0;n<ze.pluginQueue.length;n++)if(e===ze.pluginQueue[n][0])return Te(`linkifyjs: plugin "${e}" already registered - will be overwritten`),void(ze.pluginQueue[n]=[e,t]);ze.pluginQueue.push([e,t]),ze.initialized&&Te(`linkifyjs: already initialized - will not register plugin "${e}" ${Re}`)},e.registerTokenPlugin=function(e,t){if("function"!=typeof t)throw new Error(`linkifyjs: Invalid token plugin ${t} (expects function)`);for(let n=0;n<ze.tokenQueue.length;n++)if(e===ze.tokenQueue[n][0])return Te(`linkifyjs: token plugin "${e}" already registered - will be overwritten`),void(ze.tokenQueue[n]=[e,t]);ze.tokenQueue.push([e,t]),ze.initialized&&Te(`linkifyjs: already initialized - will not register token plugin "${e}" ${Re}`)},e.reset=function(){g.groups={},ze.scanner=null,ze.parser=null,ze.tokenQueue=[],ze.pluginQueue=[],ze.customSchemes=[],ze.initialized=!1},e.stringToArray=fe,e.test=function(e,t){void 0===t&&(t=null);const n=Pe(e);return 1===n.length&&n[0].isLink&&(!t||n[0].t===t)},e.tokenize=Pe,Object.defineProperty(e,"__esModule",{value:!0}),e}({});
var linkify=function(e){"use strict";const t="aaa1rp3barth4b0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0faromeo7ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4vianca6w0s2x0a2z0ure5ba0by2idu3namex3narepublic11d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2ntley5rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re2s2c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y0eats7k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0cast4mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking0channel11l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dabur3d1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t0isalat7u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0at2delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d0network8tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntdoor4ier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0ardian6cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5gtv3iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0eles2s3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6logistics9properties14fh2g1h1i0a1ds2m1nder2le4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3ncaster5ia3d0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4de2k2psy3ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0cys3drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7serati6ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic3tual5v1w1x1y1z2na0b1goya4me2tura4vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rthwesternmutual14on4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9dnavy5lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3ssagens7y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0america6xi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cher3ks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0a1b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp2w2ell3ia1ksha5oes2p0ping5uji3w0time7i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ffany5ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0channel7ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lkswagen7vo3te1ing3o2yage5u0elos6wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4finity6ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2",n="ελ1υ2бг1ел3дети4ею2католик6ом3мкд2он1сква6онлайн5рг3рус2ф2сайт3рб3укр3қаз3հայ3ישראל5קום3ابوظبي5تصالات6رامكو5لاردن4بحرين5جزائر5سعودية6عليان5مغرب5مارات5یران5بارت2زار4يتك3ھارت5تونس4سودان3رية5شبكة4عراق2ب2مان4فلسطين6قطر3كاثوليك6وم3مصر2ليسيا5وريتانيا7قع4همراه5پاکستان7ڀارت4कॉम3नेट3भारत0म्3ोत5संगठन5বাংলা5ভারত2ৰত4ਭਾਰਤ4ભારત4ଭାରତ4இந்தியா6லங்கை6சிங்கப்பூர்11భారత్5ಭಾರತ4ഭാരതം5ලංකා4คอม3ไทย3ລາວ3გე2みんな3アマゾン4クラウド4グーグル4コム2ストア3セール3ファッション6ポイント4世界2中信1国1國1文网3亚马逊3企业2佛山2信息2健康2八卦2公司1益2台湾1灣2商城1店1标2嘉里0大酒店5在线2大拿2天主教3娱乐2家電2广东2微博2慈善2我爱你3手机2招聘2政务1府2新加坡2闻2时尚2書籍2机构2淡马锡3游戏2澳門2点看2移动2组织机构4网址1店1站1络2联通2谷歌2购物2通販2集团2電訊盈科4飞利浦3食品2餐厅2香格里拉3港2닷넷1컴2삼성2한국2",i=(e,t)=>{for(const n in t)e[n]=t[n];return e},s="numeric",r="ascii",o="alpha",a="asciinumeric",l="alphanumeric",u="domain",c="emoji",g="scheme",d="slashscheme",h="whitespace";function f(e,t){return e in t||(t[e]=[]),t[e]}function p(e,t,n){t[s]&&(t[a]=!0,t[l]=!0),t[r]&&(t[a]=!0,t[o]=!0),t[a]&&(t[l]=!0),t[o]&&(t[l]=!0),t[l]&&(t[u]=!0),t[c]&&(t[u]=!0);for(const i in t){const t=f(i,n);t.indexOf(e)<0&&t.push(e)}}function m(e){void 0===e&&(e=null),this.j={},this.jr=[],this.jd=null,this.t=e}m.groups={},m.prototype={accepts(){return!!this.t},go(e){const t=this,n=t.j[e];if(n)return n;for(let n=0;n<t.jr.length;n++){const i=t.jr[n][0],s=t.jr[n][1];if(s&&i.test(e))return s}return t.jd},has(e,t){return void 0===t&&(t=!1),t?e in this.j:!!this.go(e)},ta(e,t,n,i){for(let s=0;s<e.length;s++)this.tt(e[s],t,n,i)},tr(e,t,n,i){let s;return i=i||m.groups,t&&t.j?s=t:(s=new m(t),n&&i&&p(t,n,i)),this.jr.push([e,s]),s},ts(e,t,n,i){let s=this;const r=e.length;if(!r)return s;for(let t=0;t<r-1;t++)s=s.tt(e[t]);return s.tt(e[r-1],t,n,i)},tt(e,t,n,s){s=s||m.groups;const r=this;if(t&&t.j)return r.j[e]=t,t;const o=t;let a,l=r.go(e);if(l?(a=new m,i(a.j,l.j),a.jr.push.apply(a.jr,l.jr),a.jd=l.jd,a.t=l.t):a=new m,o){if(s)if(a.t&&"string"==typeof a.t){const e=i(function(e,t){const n={};for(const i in t)t[i].indexOf(e)>=0&&(n[i]=!0);return n}(a.t,s),n);p(o,e,s)}else n&&p(o,n,s);a.t=o}return r.j[e]=a,a}};const y=(e,t,n,i,s)=>e.ta(t,n,i,s),k=(e,t,n,i,s)=>e.tr(t,n,i,s),b=(e,t,n,i,s)=>e.ts(t,n,i,s),E=(e,t,n,i,s)=>e.tt(t,n,i,s),v="WORD",w="UWORD",O="LOCALHOST",j="TLD",S="UTLD",A="SCHEME",L="SLASH_SCHEME",C="NUM",x="WS",T="NL",R="OPENBRACE",z="OPENBRACKET",P="OPENANGLEBRACKET",N="OPENPAREN",I="CLOSEBRACE",H="CLOSEBRACKET",M="CLOSEANGLEBRACKET",_="CLOSEPAREN",Q="AMPERSAND",D="APOSTROPHE",U="ASTERISK",B="AT",K="BACKSLASH",$="BACKTICK",q="CARET",F="COLON",W="COMMA",Y="DOLLAR",G="DOT",J="EQUALS",X="EXCLAMATION",V="HYPHEN",Z="PERCENT",ee="PIPE",te="PLUS",ne="POUND",ie="QUERY",se="QUOTE",re="SEMI",oe="SLASH",ae="TILDE",le="UNDERSCORE",ue="EMOJI",ce="SYM";var ge=Object.freeze({__proto__:null,WORD:v,UWORD:w,LOCALHOST:O,TLD:j,UTLD:S,SCHEME:A,SLASH_SCHEME:L,NUM:C,WS:x,NL:T,OPENBRACE:R,OPENBRACKET:z,OPENANGLEBRACKET:P,OPENPAREN:N,CLOSEBRACE:I,CLOSEBRACKET:H,CLOSEANGLEBRACKET:M,CLOSEPAREN:_,AMPERSAND:Q,APOSTROPHE:D,ASTERISK:U,AT:B,BACKSLASH:K,BACKTICK:$,CARET:q,COLON:F,COMMA:W,DOLLAR:Y,DOT:G,EQUALS:J,EXCLAMATION:X,HYPHEN:V,PERCENT:Z,PIPE:ee,PLUS:te,POUND:ne,QUERY:ie,QUOTE:se,SEMI:re,SLASH:oe,TILDE:ae,UNDERSCORE:le,EMOJI:ue,SYM:ce});const de=/[a-z]/,he=/\p{L}/u,fe=/\p{Emoji}/u,pe=/\d/,me=/\s/;var ye=Object.freeze({__proto__:null,ASCII_LETTER:de,LETTER:he,EMOJI:fe,EMOJI_VARIATION:/\ufe0f/,DIGIT:pe,SPACE:me});const ke="\n",be="️",Ee="‍";let ve=null,we=null;function Oe(e){const t=[],n=e.length;let i=0;for(;i<n;){let s,r=e.charCodeAt(i),o=r<55296||r>56319||i+1===n||(s=e.charCodeAt(i+1))<56320||s>57343?e[i]:e.slice(i,i+2);t.push(o),i+=o.length}return t}function je(e,t,n,i,s){let r;const o=t.length;for(let n=0;n<o-1;n++){const o=t[n];e.j[o]?r=e.j[o]:(r=new m(i),r.jr=s.slice(),e.j[o]=r),e=r}return r=new m(n),r.jr=s.slice(),e.j[t[o-1]]=r,r}function Se(e){const t=[],n=[];let i=0;for(;i<e.length;){let s=0;for(;"0123456789".indexOf(e[i+s])>=0;)s++;if(s>0){t.push(n.join(""));for(let t=parseInt(e.substring(i,i+s),10);t>0;t--)n.pop();i+=s}else n.push(e[i]),i++}return t}const Ae={defaultProtocol:"http",events:null,format:Ce,formatHref:Ce,nl2br:!1,tagName:"a",target:null,rel:null,validate:!0,truncate:1/0,className:null,attributes:null,ignoreTags:[],render:null};function Le(e,t){void 0===t&&(t=null);let n=i({},Ae);e&&(n=i(n,e instanceof Le?e.o:e));const s=n.ignoreTags,r=[];for(let e=0;e<s.length;e++)r.push(s[e].toUpperCase());this.o=n,t&&(this.defaultRender=t),this.ignoreTags=r}function Ce(e){return e}Le.prototype={o:Ae,ignoreTags:[],defaultRender:e=>e,check(e){return this.get("validate",e.toString(),e)},get(e,t,n){const i=null!=t;let s=this.o[e];return s?("object"==typeof s?(s=n.t in s?s[n.t]:Ae[e],"function"==typeof s&&i&&(s=s(t,n))):"function"==typeof s&&i&&(s=s(t,n.t,n)),s):s},getObj(e,t,n){let i=this.o[e];return"function"==typeof i&&null!=t&&(i=i(t,n.t,n)),i},render(e){const t=e.render(this);return(this.get("render",null,e)||this.defaultRender)(t,e.t,e)}};var xe=Object.freeze({__proto__:null,defaults:Ae,Options:Le,assign:i});function Te(e,t){this.t="token",this.v=e,this.tk=t}function Re(e,t){class n extends Te{constructor(t,n){super(t,n),this.t=e}}for(const e in t)n.prototype[e]=t[e];return n.t=e,n}Te.prototype={isLink:!1,toString(){return this.v},toHref(e){return this.toString()},toFormattedString(e){const t=this.toString(),n=e.get("truncate",t,this),i=e.get("format",t,this);return n&&i.length>n?i.substring(0,n)+"…":i},toFormattedHref(e){return e.get("formatHref",this.toHref(e.get("defaultProtocol")),this)},startIndex(){return this.tk[0].s},endIndex(){return this.tk[this.tk.length-1].e},toObject(e){return void 0===e&&(e=Ae.defaultProtocol),{type:this.t,value:this.toString(),isLink:this.isLink,href:this.toHref(e),start:this.startIndex(),end:this.endIndex()}},toFormattedObject(e){return{type:this.t,value:this.toFormattedString(e),isLink:this.isLink,href:this.toFormattedHref(e),start:this.startIndex(),end:this.endIndex()}},validate(e){return e.get("validate",this.toString(),this)},render(e){const t=this,n=this.toHref(e.get("defaultProtocol")),s=e.get("formatHref",n,this),r=e.get("tagName",n,t),o=this.toFormattedString(e),a={},l=e.get("className",n,t),u=e.get("target",n,t),c=e.get("rel",n,t),g=e.getObj("attributes",n,t),d=e.getObj("events",n,t);return a.href=s,l&&(a.class=l),u&&(a.target=u),c&&(a.rel=c),g&&i(a,g),{tagName:r,attributes:a,content:o,eventListeners:d}}};const ze=Re("email",{isLink:!0,toHref(){return"mailto:"+this.toString()}}),Pe=Re("text"),Ne=Re("nl"),Ie=Re("url",{isLink:!0,toHref(e){return void 0===e&&(e=Ae.defaultProtocol),this.hasProtocol()?this.v:`${e}://${this.v}`},hasProtocol(){const e=this.tk;return e.length>=2&&e[0].t!==O&&e[1].t===F}});var He=Object.freeze({__proto__:null,MultiToken:Te,Base:Te,createTokenClass:Re,Email:ze,Text:Pe,Nl:Ne,Url:Ie});const Me=e=>new m(e);function _e(e,t,n){const i=n[0].s,s=n[n.length-1].e;return new e(t.slice(i,s),n)}const Qe="undefined"!=typeof console&&console&&console.warn||(()=>{}),De="until manual call of linkify.init(). Register all schemes and plugins before invoking linkify the first time.",Ue={scanner:null,parser:null,tokenQueue:[],pluginQueue:[],customSchemes:[],initialized:!1};function Be(){Ue.scanner=function(e){void 0===e&&(e=[]);const l={};m.groups=l;const f=new m;null==ve&&(ve=Se(t)),null==we&&(we=Se(n)),E(f,"'",D),E(f,"{",R),E(f,"[",z),E(f,"<",P),E(f,"(",N),E(f,"}",I),E(f,"]",H),E(f,">",M),E(f,")",_),E(f,"&",Q),E(f,"*",U),E(f,"@",B),E(f,"`",$),E(f,"^",q),E(f,":",F),E(f,",",W),E(f,"$",Y),E(f,".",G),E(f,"=",J),E(f,"!",X),E(f,"-",V),E(f,"%",Z),E(f,"|",ee),E(f,"+",te),E(f,"#",ne),E(f,"?",ie),E(f,'"',se),E(f,"/",oe),E(f,";",re),E(f,"~",ae),E(f,"_",le),E(f,"\\",K);const y=k(f,pe,C,{[s]:!0});k(y,pe,y);const ye=k(f,de,v,{[r]:!0});k(ye,de,ye);const Oe=k(f,he,w,{[o]:!0});k(Oe,de),k(Oe,he,Oe);const Ae=k(f,me,x,{[h]:!0});E(f,ke,T,{[h]:!0}),E(Ae,ke),k(Ae,me,Ae);const Le=k(f,fe,ue,{[c]:!0});k(Le,fe,Le),E(Le,be,Le);const Ce=E(Le,Ee);k(Ce,fe,Le);const xe=[[de,ye]],Te=[[de,null],[he,Oe]];for(let e=0;e<ve.length;e++)je(f,ve[e],j,v,xe);for(let e=0;e<we.length;e++)je(f,we[e],S,w,Te);p(j,{tld:!0,ascii:!0},l),p(S,{utld:!0,alpha:!0},l),je(f,"file",A,v,xe),je(f,"mailto",A,v,xe),je(f,"http",L,v,xe),je(f,"https",L,v,xe),je(f,"ftp",L,v,xe),je(f,"ftps",L,v,xe),p(A,{scheme:!0,ascii:!0},l),p(L,{slashscheme:!0,ascii:!0},l),e=e.sort(((e,t)=>e[0]>t[0]?1:-1));for(let t=0;t<e.length;t++){const n=e[t][0],i=e[t][1]?{[g]:!0}:{[d]:!0};n.indexOf("-")>=0?i[u]=!0:de.test(n)?pe.test(n)?i[a]=!0:i[r]=!0:i[s]=!0,b(f,n,n,i)}return b(f,"localhost",O,{ascii:!0}),f.jd=new m(ce),{start:f,tokens:i({groups:l},ge)}}(Ue.customSchemes);for(let e=0;e<Ue.tokenQueue.length;e++)Ue.tokenQueue[e][1]({scanner:Ue.scanner});Ue.parser=function(e){let{groups:t}=e;const n=t.domain.concat([Q,U,B,K,$,q,Y,J,V,C,Z,ee,te,ne,oe,ce,ae,le]),i=[D,M,I,H,_,F,W,G,X,P,R,z,N,ie,se,re],s=[Q,D,U,K,$,q,I,Y,J,V,R,Z,ee,te,ne,ie,oe,ce,ae,le],r=Me(),o=E(r,ae);y(o,s,o),y(o,t.domain,o);const a=Me(),l=Me(),u=Me();y(r,t.domain,a),y(r,t.scheme,l),y(r,t.slashscheme,u),y(a,s,o),y(a,t.domain,a);const c=E(a,B);E(o,B,c),E(l,B,c),E(u,B,c);const g=E(o,G);y(g,s,o),y(g,t.domain,o);const d=Me();y(c,t.domain,d),y(d,t.domain,d);const h=E(d,G);y(h,t.domain,d);const f=Me(ze);y(h,t.tld,f),y(h,t.utld,f),E(c,O,f);const p=E(d,V);y(p,t.domain,d),y(f,t.domain,d),E(f,G,h),E(f,V,p);const m=E(f,F);y(m,t.numeric,ze);const k=E(a,V),b=E(a,G);y(k,t.domain,a),y(b,s,o),y(b,t.domain,a);const v=Me(Ie);y(b,t.tld,v),y(b,t.utld,v),y(v,t.domain,a),y(v,s,o),E(v,G,b),E(v,V,k),E(v,B,c);const w=E(v,F),j=Me(Ie);y(w,t.numeric,j);const S=Me(Ie),A=Me();y(S,n,S),y(S,i,A),y(A,n,S),y(A,i,A),E(v,oe,S),E(j,oe,S);const L=E(l,F),x=E(u,F),ue=E(x,oe),de=E(ue,oe);y(l,t.domain,a),E(l,G,b),E(l,V,k),y(u,t.domain,a),E(u,G,b),E(u,V,k),y(L,t.domain,S),E(L,oe,S),y(de,t.domain,S),y(de,n,S),E(de,oe,S);const he=E(S,R),fe=E(S,z),pe=E(S,P),me=E(S,N);E(A,R,he),E(A,z,fe),E(A,P,pe),E(A,N,me),E(he,I,S),E(fe,H,S),E(pe,M,S),E(me,_,S),E(he,I,S);const ye=Me(Ie),ke=Me(Ie),be=Me(Ie),Ee=Me(Ie);y(he,n,ye),y(fe,n,ke),y(pe,n,be),y(me,n,Ee);const ve=Me(),we=Me(),Oe=Me(),je=Me();return y(he,i),y(fe,i),y(pe,i),y(me,i),y(ye,n,ye),y(ke,n,ke),y(be,n,be),y(Ee,n,Ee),y(ye,i,ye),y(ke,i,ke),y(be,i,be),y(Ee,i,Ee),y(ve,n,ve),y(we,n,ke),y(Oe,n,be),y(je,n,Ee),y(ve,i,ve),y(we,i,we),y(Oe,i,Oe),y(je,i,je),E(ke,H,S),E(be,M,S),E(Ee,_,S),E(ye,I,S),E(we,H,S),E(Oe,M,S),E(je,_,S),E(ve,_,S),E(r,O,v),E(r,T,Ne),{start:r,tokens:ge}}(Ue.scanner.tokens);for(let e=0;e<Ue.pluginQueue.length;e++)Ue.pluginQueue[e][1]({scanner:Ue.scanner,parser:Ue.parser});Ue.initialized=!0}function Ke(e){return Ue.initialized||Be(),function(e,t,n){let i=n.length,s=0,r=[],o=[];for(;s<i;){let a=e,l=null,u=null,c=0,g=null,d=-1;for(;s<i&&!(l=a.go(n[s].t));)o.push(n[s++]);for(;s<i&&(u=l||a.go(n[s].t));)l=null,a=u,a.accepts()?(d=0,g=a):d>=0&&d++,s++,c++;if(d<0)s-=c,s<i&&(o.push(n[s]),s++);else{o.length>0&&(r.push(_e(Pe,t,o)),o=[]),s-=d,c-=d;const e=g.t,i=n.slice(s-c,s);r.push(_e(e,t,i))}}return o.length>0&&r.push(_e(Pe,t,o)),r}(Ue.parser.start,e,function(e,t){const n=Oe(t.replace(/[A-Z]/g,(e=>e.toLowerCase()))),i=n.length,s=[];let r=0,o=0;for(;o<i;){let a=e,l=null,u=0,c=null,g=-1,d=-1;for(;o<i&&(l=a.go(n[o]));)a=l,a.accepts()?(g=0,d=0,c=a):g>=0&&(g+=n[o].length,d++),u+=n[o].length,r+=n[o].length,o++;r-=g,o-=d,u-=g,s.push({t:c.t,v:t.slice(r-u,r),s:r-u,e:r})}return s}(Ue.scanner.start,e))}return e.MultiToken=Te,e.Options=Le,e.State=m,e.createTokenClass=Re,e.find=function(e,t,n){if(void 0===t&&(t=null),void 0===n&&(n=null),t&&"object"==typeof t){if(n)throw Error(`linkifyjs: Invalid link type ${t}; must be a string`);n=t,t=null}const i=new Le(n),s=Ke(e),r=[];for(let e=0;e<s.length;e++){const n=s[e];!n.isLink||t&&n.t!==t||r.push(n.toFormattedObject(i))}return r},e.init=Be,e.multi=He,e.options=xe,e.regexp=ye,e.registerCustomProtocol=function(e,t){if(void 0===t&&(t=!1),Ue.initialized&&Qe(`linkifyjs: already initialized - will not register custom scheme "${e}" ${De}`),!/^[0-9a-z]+(-[0-9a-z]+)*$/.test(e))throw new Error('linkifyjs: incorrect scheme format.\n 1. Must only contain digits, lowercase ASCII letters or "-"\n 2. Cannot start or end with "-"\n 3. "-" cannot repeat');Ue.customSchemes.push([e,t])},e.registerPlugin=function(e,t){if("function"!=typeof t)throw new Error(`linkifyjs: Invalid plugin ${t} (expects function)`);for(let n=0;n<Ue.pluginQueue.length;n++)if(e===Ue.pluginQueue[n][0])return Qe(`linkifyjs: plugin "${e}" already registered - will be overwritten`),void(Ue.pluginQueue[n]=[e,t]);Ue.pluginQueue.push([e,t]),Ue.initialized&&Qe(`linkifyjs: already initialized - will not register plugin "${e}" ${De}`)},e.registerTokenPlugin=function(e,t){if("function"!=typeof t)throw new Error(`linkifyjs: Invalid token plugin ${t} (expects function)`);for(let n=0;n<Ue.tokenQueue.length;n++)if(e===Ue.tokenQueue[n][0])return Qe(`linkifyjs: token plugin "${e}" already registered - will be overwritten`),void(Ue.tokenQueue[n]=[e,t]);Ue.tokenQueue.push([e,t]),Ue.initialized&&Qe(`linkifyjs: already initialized - will not register token plugin "${e}" ${De}`)},e.reset=function(){m.groups={},Ue.scanner=null,Ue.parser=null,Ue.tokenQueue=[],Ue.pluginQueue=[],Ue.customSchemes=[],Ue.initialized=!1},e.stringToArray=Oe,e.test=function(e,t){void 0===t&&(t=null);const n=Ke(e);return 1===n.length&&n[0].isLink&&(!t||n[0].t===t)},e.tokenize=Ke,Object.defineProperty(e,"__esModule",{value:!0}),e}({});
{
"name": "linkifyjs",
"version": "4.1.0",
"version": "4.1.1",
"description": "Find URLs, email addresses, #hashtags and @mentions in plain-text strings, then convert them into HTML <a> links.",

@@ -5,0 +5,0 @@ "main": "dist/linkify.cjs.js",

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc