profile-pane 3.1.3 → 3.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/FriendList.d.ts +0 -1
- package/lib/FriendList.d.ts.map +1 -1
- package/lib/FriendList.js +5 -33
- package/lib/SocialPresenter.js +1 -1
- package/lib/addMeToYourFriends.d.ts +4 -3
- package/lib/addMeToYourFriends.d.ts.map +1 -1
- package/lib/addMeToYourFriends.js +25 -9
- package/lib/editProfilePane/EditCVCard.d.ts.map +1 -1
- package/lib/editProfilePane/EditCVCard.js +2 -7
- package/lib/editProfilePane/EditCommunitiesCard.d.ts +3 -1
- package/lib/editProfilePane/EditCommunitiesCard.d.ts.map +1 -1
- package/lib/editProfilePane/EditCommunitiesCard.js +58 -23
- package/lib/editProfilePane/EditFriendsCard.d.ts +3 -1
- package/lib/editProfilePane/EditFriendsCard.d.ts.map +1 -1
- package/lib/editProfilePane/EditFriendsCard.js +58 -23
- package/lib/editProfilePane/EditOtherPreferences.js +1 -1
- package/lib/editProfilePane/EditProfileView.d.ts +1 -1
- package/lib/editProfilePane/EditProfileView.d.ts.map +1 -1
- package/lib/editProfilePane/EditProfileView.js +7 -3
- package/lib/editProfilePane/EditSocialCard.d.ts.map +1 -1
- package/lib/editProfilePane/EditSocialCard.js +2 -7
- package/lib/editProfilePane/editProfilePresenter.d.ts +4 -0
- package/lib/editProfilePane/editProfilePresenter.d.ts.map +1 -0
- package/lib/editProfilePane/editProfilePresenter.js +108 -0
- package/lib/profile-pane.js +1005 -340
- package/lib/profile-pane.js.map +1 -1
- package/lib/profile-pane.min.js +45 -46
- package/lib/profile-pane.min.js.map +1 -1
- package/lib/rdfFormsHelper.d.ts +1 -0
- package/lib/rdfFormsHelper.d.ts.map +1 -1
- package/lib/rdfFormsHelper.js +125 -0
- package/lib/styles/ProfileCard.css +6 -0
- package/lib/styles/ProfileView.css +3 -5
- package/lib/styles/editProfile.css +62 -0
- package/lib/styles/profileRDFFormsEnforced.css +427 -0
- package/lib/styles/utilities.css +30 -1
- package/lib/texts.d.ts +5 -5
- package/lib/texts.d.ts.map +1 -1
- package/lib/texts.js +5 -5
- package/package.json +9 -6
- package/lib/styles/rdfFormsEnforced.css +0 -186
package/lib/profile-pane.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"profile-pane.js","mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD,O;;;;;;;;;;;;;;ACVA;AAC6G;AACjB;AAC5F,8BAA8B,mFAA2B,CAAC,4FAAqC;AAC/F;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,6FAA6F,aAAa,MAAM,YAAY,OAAO,KAAK,YAAY,aAAa,aAAa,WAAW,YAAY,WAAW,MAAM,KAAK,YAAY,aAAa,OAAO,KAAK,YAAY,aAAa,aAAa,aAAa,OAAO,KAAK,YAAY,aAAa,aAAa,aAAa,aAAa,aAAa,aAAa,wHAAwH,0BAA0B,GAAG,aAAa,gCAAgC,qCAAqC,yCAAyC,kBAAkB,2BAA2B,eAAe,GAAG,YAAY,qBAAqB,gCAAgC,GAAG,2BAA2B,qBAAqB,gCAAgC,qCAAqC,yCAAyC,GAAG,mBAAmB,6BAA6B,mCAAmC,qBAAqB,0CAA0C,qCAAqC,sDAAsD,sCAAsC,GAAG,qBAAqB;AAC/vC;AACA,iEAAe,uBAAuB,EAAC;;;;;;;;;;;;;;;;AC5CvC;AAC6G;AACjB;AAC5F,8BAA8B,mFAA2B,CAAC,4FAAqC;AAC/F;AACA;AACA;;AAEA;AACA;AACA;AACA,OAAO,mGAAmG,cAAc,MAAM,YAAY,wJAAwJ,qBAAqB,GAAG,qBAAqB;AAC/U;AACA,iEAAe,uBAAuB,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qB;AAC14N;AACA,iEAAe,uBAAuB,EAAC;;;;;;;;;;;;;;;;ACjMvC;AAC6G;AACjB;AAC5F,8BAA8B,mFAA2B,CAAC,4FAAqC;AAC/F;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,UAAU;AACV,UAAU;AACV,UAAU;AACV,UAAU;AACV,UAAU;;AAEV,SAAS;AACT,SAAS;AACT,SAAS;AACT,SAAS;;AAET,SAAS;AACT,SAAS;AACT,SAAS;AACT,SAAS;;AAET,QAAQ;AACR,QAAQ;AACR,QAAQ;AACR,QAAQ;;AAER,WAAW;AACX,cAAc;;AAEd,UAAU;AACV,aAAa;;AAEb;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,mBAAmB;AACnB;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AAC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AAuD,cAAc;AACrE;AACA;AACA;AACA;AACA,E;;;;;;;;ACfa;;AAEb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,gEAAgE;AAChE;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA,gBAAgB;AAChB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;AACA,kBAAkB;AAClB;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;;;AAGA;AACA,IAAI,IAA6B;AACjC;AACA;;;;;;;;;;ACnKA,mBAAmB,mBAAO,CAAC,IAAe;;AAE1C,eAAe,mBAAO,CAAC,GAAe;AACtC,uBAAuB,mBAAO,CAAC,IAAmB;AAClD,oBAAoB,mBAAO,CAAC,IAAuB;;AAEnD;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;;AAEA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;;AAEA,yBAAc;AACd,yBAAgB;AAChB,yBAAiB;;AAEjB;AACA,gBAAgB;AAChB;AACA,CAAC;;;;;;;;AC3ED;AACA;AACA;;AAEA;AACA;AACA;;;;;;;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,sBAAsB,yCAAgC;;AAEtD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA,YAAY,QAAQ;AACpB,YAAY,gBAAgB;AAC5B;AACA,uBAAuB;AACvB;;AAEA;AACA;AACA;AACA;;AAEA,kBAAkB,kBAAkB;AACpC;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,gFAAgF;AAChF;AACA;AACA;AACA,2BAA2B,uBAAuB;AAClD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY,QAAQ;AACpB,YAAY,gBAAgB;AAC5B;AACA,oBAAoB;AACpB;AACA;AACA;;AAEA,kBAAkB,eAAe;AACjC,oBAAoB,eAAe;AACnC;AACA;AACA;AACA,8CAA8C;AAC9C;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;;;;;;;AClFA,aAAa,mBAAO,CAAC,GAAQ;;AAE7B;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU;AACV;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA,cAAc,2BAA2B;AACzC;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;AC1DA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,GAAG;;AAEH;AACA,oBAAoB,YAAY;AAChC;AACA;AACA,GAAG;;AAEH;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;;;;;;;ACpCA;AACA;AACA;AACA,WAAW,QAAQ;AACnB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,SAAS;AACpB,WAAW,SAAS;AACpB,WAAW,SAAS;AACpB,WAAW,SAAS;AACpB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,YAAY,SAAS;AACrB,YAAY,SAAS;AACrB,YAAY;AACZ;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,SAAS;AACpB,WAAW,SAAS;AACpB,WAAW,SAAS;AACpB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,UAAU;AACrB,WAAW,UAAU;AACrB,YAAY;AACZ;AACA;AACA;AACA;;AAEA;;;;;;;;AChEA,aAAa,mBAAO,CAAC,GAAQ;;AAE7B;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,wCAAwC,OAAO;AAC/C;AACA;AACA;;AAEA;;;;;;;;AC7BA,gBAAgB,mBAAO,CAAC,IAA0B;AAClD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY,QAAQ;AACpB,YAAY,QAAQ;AACpB,YAAY,6BAA6B;AACzC;AACA,sBAAsB;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY,QAAQ;AACpB,YAAY,QAAQ;AACpB,YAAY,6BAA6B;AACzC;AACA,8BAA8B;AAC9B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACtIA,SAAS,KAAK;AACd,SAAS,KAAK;AACd,SAAS,KAAK;AACd,SAAS,KAAK;;AAEd;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,eAAe;AACf;AACA;AACA;;AAEA,YAAY;AACZ;AACA;AACA;;AAEA;AACA;AACA,IAAI;AACJ;AACA;AACA;;;;;;;;ACjDA,sBAAsB,yCAAgC;AACtD;;AAEA;AACA;AACA;AACA;AACA,YAAY,QAAQ;AACpB,YAAY,gBAAgB;AAC5B;AACA,oBAAoB;AACpB;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrBA,cAAc,mBAAO,CAAC,IAAS;;AAE/B;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY,QAAQ;AACpB,YAAY,QAAQ;AACpB,YAAY,6BAA6B;AACzC;AACA,sBAAsB;AACtB;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;;;;;;;AC5BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA,CAAC;AACD;AACA,kBAAkB,SAAS;AAC3B;AACA;;AAEA;;AAEA;AACA;AACA,qBAAqB;AACrB;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW;AACX,oBAAoB,SAAS;AAC7B;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA,YAAY,QAAQ;AACpB,YAAY;AACZ;AACA,WAAW;AACX;AACA;AACA;;AAEA;AACA;AACA;AACA,YAAY,QAAQ;AACpB,YAAY;AACZ;AACA,WAAW;AACX;AACA;;AAEA;AACA;AACA;AACA,YAAY,QAAQ;AACpB,YAAY,QAAQ;AACpB,YAAY;AACZ;AACA,WAAW;AACX;;AAEA;AACA,WAAW;AACX;AACA;;;;;;;;ACpEA,aAAa,mBAAO,CAAC,GAAQ;AAC7B,cAAc,mBAAO,CAAC,IAAS;;AAE/B;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,cAAc,sBAAsB;AACpC;;AAEA;AACA;AACA;AACA;;AAEA;AACA,MAAM;AACN;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;;;;;;;ACrDA;AACA;AACA,UAAU;AACV;AACA,gBAAgB;AAChB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,UAAU;AACV;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,YAAY,SAAS;AACrB,YAAY,iBAAiB;AAC7B;AACA,eAAe;AACf;AACA;;AAEA;AACA;AACA;AACA;AACA,YAAY,eAAe;AAC3B,YAAY,4BAA4B;AACxC;AACA,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oBAAoB;AACpB;AACA;AACA;AACA;AACA;AACA;;AAEA,oBAAoB,YAAY;AAChC;AACA;;AAEA,sBAAsB,YAAY;AAClC;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,oBAAoB;AACpB;AACA;;AAEA,oBAAoB,gBAAgB;AACpC,sBAAsB,gBAAgB;AACtC;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,oBAAoB;AACpB;AACA;AACA;AACA;;AAEA,oBAAoB,YAAY;AAChC;AACA,sBAAsB,YAAY;AAClC;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oBAAoB;AACpB;AACA;;AAEA,kBAAkB,kBAAkB;;AAEpC;;AAEA;AACA;;AAEA;AACA;AACA;AACA,YAAY,QAAQ;AACpB,YAAY,QAAQ;AACpB,YAAY,QAAQ;AACpB,YAAY,oBAAoB;AAChC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,YAAY,WAAW;AACvB,YAAY,WAAW;AACvB;AACA,iBAAiB;AACjB;;AAEA,oBAAoB,YAAY;AAChC,sBAAsB,YAAY;AAClC;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,YAAY,WAAW;AACvB,YAAY,QAAQ;AACpB;AACA,mBAAmB;AACnB;AACA;AACA;;AAEA,kBAAkB,iBAAiB;AACnC;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;;;;;;;ACzOA,qBAAqB,mBAAO,CAAC,IAAiB;AAC9C,cAAc,mBAAO,CAAC,IAAS;;AAE/B;AACA;AACA;AACA;AACA;AACA,UAAU;AACV;AACA,eAAe;AACf;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU;AACV;AACA,oBAAoB;AACpB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,UAAU;AACV;AACA,YAAY;AACZ;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU;AACV;AACA,aAAa;AACb;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,UAAU;AACV;AACA,aAAa;AACb;AACA;;AAEA;AACA;AACA;AACA;AACA,YAAY,QAAQ;AACpB,YAAY,QAAQ;AACpB,YAAY,gBAAgB;AAC5B;AACA,6BAA6B;AAC7B;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,YAAY,QAAQ;AACpB,YAAY,gBAAgB;AAC5B;AACA,0BAA0B;AAC1B;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,MAAM;AACjB,aAAa,SAAS;AACtB;AACA,gBAAgB;AAChB;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,SAAS;AACtB,aAAa,SAAS;AACtB;AACA,eAAe;AACf;AACA;;AAEA;AACA;AACA;AACA,aAAa,QAAQ;AACrB,aAAa,eAAe;AAC5B;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,YAAY,aAAa;AACzB,YAAY,aAAa;AACzB,YAAY,0BAA0B;AACtC;AACA,YAAY;AACZ;AACA;AACA;;AAEA;AACA;AACA,IAAI;AACJ;AACA;AACA;;;;;;;;ACtKA,aAAa,mBAAO,CAAC,GAAQ;;AAE7B;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA,cAAc,2BAA2B;AACzC;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;;;;;;;AC1CA,WAAW,mBAAO,CAAC,IAAgB;;AAEnC;AACA;AACA;AACA,YAAY,YAAY;AACxB,YAAY,YAAY;AACxB,YAAY,eAAe;AAC3B;AACA,WAAW;AACX;;AAEA,kBAAkB,eAAe;AACjC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A,kBAAkB,cAAc;AAChC;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,6CAA6C;AAC7C;AACA,YAAY,WAAW;AACvB,YAAY,WAAW;AACvB;AACA;AACA;;AAEA,kBAAkB,gBAAgB;AAClC;AACA;;AAEA,qBAAqB,QAAQ;AAC7B,uBAAuB,QAAQ;AAC/B;AACA;AACA;AACA,UAAU;AACV;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,YAAY,WAAW;AACvB,YAAY,WAAW;AACvB;AACA;AACA;AACA;AACA;;AAEA,kBAAkB,QAAQ;AAC1B;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,YAAY,WAAW;AACvB,YAAY,yBAAyB;AACrC,YAAY,WAAW;AACvB;AACA;AACA;AACA;AACA;;AAEA,cAAc,QAAQ;AACtB;;AAEA;AACA;AACA;AACA,MAAM;AACN;AACA,MAAM;AACN;AACA;;AAEA;AACA;AACA;AACA,MAAM;AACN;AACA,MAAM;AACN;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,YAAY,YAAY;AACxB,YAAY,YAAY;AACxB;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,2BAA2B,SAAS;AACpC;;AAEA;AACA,sBAAsB,OAAO;AAC7B;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,YAAY,UAAU;AACtB,YAAY,wBAAwB;AACpC,YAAY,UAAU;AACtB,YAAY,+BAA+B;AAC3C;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,iCAAiC;AAC9C;;AAEA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,kBAAkB,mBAAmB;AACrC;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,YAAY,WAAW;AACvB,YAAY,WAAW;AACvB,YAAY,sBAAsB;AAClC,YAAY,gCAAgC;AAC5C;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA,kBAAkB,mBAAmB;AACrC;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA,cAAc,iBAAiB;AAC/B,gBAAgB,mBAAmB;AACnC;AACA;AACA;AACA;AACA;;AAEA;AACA,cAAc,aAAa;AAC3B,gBAAgB,mBAAmB;AACnC;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,YAAY,QAAQ;AACpB,YAAY,QAAQ;AACpB,YAAY,qBAAqB;AACjC,YAAY,aAAa;AACzB,YAAY,6BAA6B;AACzC;AACA;AACA;;AAEA;AACA;AACA,IAAI;AACJ;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,IAAI;AACJ;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,gEAAgE;AAChE;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,gBAAgB;AAC3B,WAAW,QAAQ;AACnB,WAAW,QAAQ;AACnB,WAAW,QAAQ;AACnB,WAAW,UAAU;AACrB;AACA,cAAc;AACd;AACA;AACA;;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AACA;AACA,IAAI;AACJ;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA,YAAY,QAAQ;AACpB,YAAY,MAAM;AAClB,YAAY,eAAe;AAC3B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,YAAY,OAAO;AACnB,YAAY,YAAY;AACxB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY,OAAO;AACnB,YAAY,YAAY;AACxB;AACA;AACA;AACA,kBAAkB,iBAAiB;AACnC;;AAEA;AACA;AACA;AACA,YAAY,6DAA6D;AACzE,YAAY;AACZ;AACA;AACA;AACA;AACA,YAAY;AACZ;AACA;AACA;AACA;AACA,YAAY;AACZ;AACA;AACA;AACA;AACA,YAAY;AACZ;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY,OAAO;AACnB,YAAY,QAAQ;AACpB,YAAY,gBAAgB;AAC5B;AACA;AACA;AACA,kBAAkB;AAClB;;AAEA,kBAAkB,kBAAkB;AACpC;AACA;;AAEA,oBAAoB,sBAAsB;AAC1C;AACA;;AAEA;AACA,qBAAqB;AACrB;;AAEA,sBAAsB,wBAAwB;AAC9C;;AAEA;AACA;AACA;AACA;;AAEA;AACA,UAAU;AACV;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA,kBAAkB,wBAAwB;AAC1C;AACA;;AAEA,WAAW;AACX;;AAEA;AACA;AACA;AACA;AACA,YAAY,QAAQ;AACpB,YAAY,eAAe;AAC3B,YAAY,yBAAyB;AACrC;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA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IAAiB;;AAE9C;AACA;AACA;;AAEA;AACA,+BAA+B,sBAAsB;AACrD;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,GAAG;;AAEH;AACA;;AAEA;AACA,+BAA+B,sBAAsB;AACrD;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,YAAY,eAAe;AAC3B,YAAY,eAAe;AAC3B,YAAY,4BAA4B;AACxC;AACA,YAAY;AACZ;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,YAAY,QAAQ;AACpB,YAAY,QAAQ;AACpB,YAAY,QAAQ;AACpB,YAAY,6BAA6B;AACzC;AACA,mBAAmB;AACnB;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,YAAY,SAAS;AACrB,YAAY,QAAQ;AACpB,YAAY,MAAM;AAClB,YAAY,iCAAiC;AAC7C;AACA,6BAA6B;AAC7B;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,IAAI;AACJ;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY,QAAQ;AACpB,YAAY,gBAAgB;AAC5B;AACA,sBAAsB;AACtB;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;;;;;;;;AClKA,cAAc,mBAAO,CAAC,IAAS;;AAE/B;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;;AAEA,cAAc;AACd;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA,uBAAuB;AACvB;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;;AAEA;AACA;;;;;;;;AC9DA,cAAc,mBAAO,CAAC,IAAS;;AAE/B;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA,kBAAkB,iBAAiB;AACnC;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;;AAEA;AACA;;AAEA,cAAc;AACd;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;;;;;;;;AChFA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,kBAAkB;AAClB;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;;AAEA,gBAAgB;AAChB;AACA;AACA;AACA;;AAEA,qBAAqB;AACrB;AACA;AACA;;AAEA,qBAAqB;AACrB;AACA;AACA;AACA;AACA;AACA;;AAEA,kBAAkB,gBAAgB;AAClC,oBAAoB,gBAAgB;AACpC;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;AClGa;;AAEb;AACA;AACA;AACA,kBAAkB,wBAAwB;AAC1C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kBAAkB,iBAAiB;AACnC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oBAAoB,4BAA4B;AAChD;AACA;AACA;AACA;AACA;AACA,qBAAqB,6BAA6B;AAClD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,E;;;;;;;;ACnFa;;AAEb;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kC;;;;;;;;ACjCa;;AAEb;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oC;;;;;;;;ACTa;;AAEb;AACA;AACA,cAAc,KAAwC,GAAG,sBAAiB,GAAG,CAAI;AACjF;AACA;AACA;AACA;AACA,gD;;;;;;;;ACTa;;AAEb;AACA;AACA;AACA;AACA,kDAAkD;AAClD;AACA;AACA,0CAA0C;AAC1C;AACA;AACA;AACA,iFAAiF;AACjF;AACA;AACA;AACA,aAAa;AACb;AACA;AACA,aAAa;AACb;AACA;AACA,aAAa;AACb;AACA;AACA;AACA,yDAAyD;AACzD;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,kCAAkC;AAClC;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA,wB;;;;;;;;AC5Da;;AAEb;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA,mC;;;;;;;ACbA,2BAA2B,SAAS,cAAc,4BAA4B,YAAY,qBAAqB,2DAA2D,uCAAuC,qCAAqC,oBAAoB,EAAE,iBAAiB,4FAA4F,eAAe,wCAAwC,SAAS,EAAE,mBAAmB,8BAA8B,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M,cAAc,GAAG,aAAa,CAAC,YAAY,CAAC,gBAAgB,CAAC,IAAI,SAAS;gBAChF,MAAM,eAAe,GAAG,aAAa,CAAC,YAAY,CAAC,iBAAiB,CAAC,IAAI,SAAS;gBAClF,0GAA0G;gBAE1G,MAAM,OAAO,GAAG;oBACd,IAAI,EAAE,KAAK;oBACX,KAAK,EAAE;wBACL,IAAI,EAAE,cAAc;wBACpB,KAAK,EAAE,eAAe;qBACvB;iBACF;gBAED,gBAAe,CAAC,KAAK,EAAE,OAAO,EAAE,UAAU,KAAK,EAAE,GAAG;oBAClD,IAAI,KAAK,EAAE,CAAC;wBACV,OAAO,CAAC,KAAK,CAAC,eAAe,EAAE,KAAK,CAAC;oBACvC,CAAC;yBAAM,CAAC;wBACN,uCAAuC;wBACvC,aAAa,CAAC,SAAS,GAAG,GAAG;wBAC7B,aAAa,CAAC,KAAK,CAAC,KAAK,GAAG,KAAK;wBACjC,aAAa,CAAC,KAAK,CAAC,MAAM,GAAG,KAAK;wBAClC,aAAa,CAAC,KAAK,CAAC,MAAM,GAAG,KAAK;oBACpC,CAAC;gBACH,CAAC,CAAC;YAEJ,CAAC;QACH,CAAC,CAAC;QAEF,OAAO,MAAM;IACf,CAAC;CACF;AAED,0CAAe,IAAI","sources":["webpack://ProfilePane/webpack/universalModuleDefinition","webpack://ProfilePane/./src/styles/CVCard.css","webpack://ProfilePane/./src/styles/ChatWithMe.css","webpack://ProfilePane/./src/styles/FriendList.css","webpack://ProfilePane/./src/styles/ProfileCard.css","webpack://ProfilePane/./src/styles/ProfileView.css","webpack://ProfilePane/./src/styles/QRCodeCard.css","webpack://ProfilePane/./src/styles/SocialCard.css","webpack://ProfilePane/./src/styles/StuffCard.css","webpack://ProfilePane/./src/styles/rdfFormsEnforced.css","webpack://ProfilePane/./src/styles/utilities.css","webpack://ProfilePane/./node_modules/css-loader/dist/runtime/api.js","webpack://ProfilePane/./node_modules/css-loader/dist/runtime/sourceMaps.js","webpack://ProfilePane/./node_modules/dijkstrajs/dijkstra.js","webpack://ProfilePane/./node_modules/qrcode/lib/browser.js","webpack://ProfilePane/./node_modules/qrcode/lib/can-promise.js","webpack://ProfilePane/./node_modules/qrcode/lib/core/alignment-pattern.js","webpack://ProfilePane/./node_modules/qrcode/lib/core/alphanumeric-data.js","webpack://ProfilePane/./node_modules/qrcode/lib/core/bit-buffer.js","webpack://ProfilePane/./node_modules/qrcode/lib/core/bit-matrix.js","webpack://ProfilePane/./node_modules/qrcode/lib/core/byte-data.js","webpack://ProfilePane/./node_modules/qrcode/lib/core/error-correction-code.js","webpack://ProfilePane/./node_modules/qrcode/lib/core/error-correction-level.js","webpack://ProfilePane/./node_modules/qrcode/lib/core/finder-pattern.js","webpack://ProfilePane/./node_modules/qrcode/lib/core/format-info.js","webpack://ProfilePane/./node_modules/qrcode/lib/core/galois-field.js","webpack://ProfilePane/./node_modules/qrcode/lib/core/kanji-data.js","webpack://ProfilePane/./node_modules/qrcode/lib/core/mask-pattern.js","webpack://ProfilePane/./node_modules/qrcode/lib/core/mode.js","webpack://ProfilePane/./node_modules/qrcode/lib/core/numeric-data.js","webpack://ProfilePane/./node_modules/qrcode/lib/core/polynomial.js","webpack://ProfilePane/./node_modules/qrcode/lib/core/qrcode.js","webpack://ProfilePane/./node_modules/qrcode/lib/core/reed-solomon-encoder.js","webpack://ProfilePane/./node_modules/qrcode/lib/core/regex.js","webpack://ProfilePane/./node_modules/qrcode/lib/core/segments.js","webpack://ProfilePane/./node_modules/qrcode/lib/core/utils.js","webpack://ProfilePane/./node_modules/qrcode/lib/core/version-check.js","webpack://ProfilePane/./node_modules/qrcode/lib/core/version.js","webpack://ProfilePane/./node_modules/qrcode/lib/renderer/canvas.js","webpack://ProfilePane/./node_modules/qrcode/lib/renderer/svg-tag.js","webpack://ProfilePane/./node_modules/qrcode/lib/renderer/utils.js","webpack://ProfilePane/./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js","webpack://ProfilePane/./node_modules/style-loader/dist/runtime/insertBySelector.js","webpack://ProfilePane/./node_modules/style-loader/dist/runtime/insertStyleElement.js","webpack://ProfilePane/./node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js","webpack://ProfilePane/./node_modules/style-loader/dist/runtime/styleDomAPI.js","webpack://ProfilePane/./node_modules/style-loader/dist/runtime/styleTagTransform.js","webpack://ProfilePane/./node_modules/validate-color/lib/index.js","webpack://ProfilePane/external umd \"SolidLogic\"","webpack://ProfilePane/external umd \"UI\"","webpack://ProfilePane/external umd \"rdflib\"","webpack://ProfilePane/webpack/bootstrap","webpack://ProfilePane/webpack/runtime/compat get default export","webpack://ProfilePane/webpack/runtime/define property getters","webpack://ProfilePane/webpack/runtime/hasOwnProperty shorthand","webpack://ProfilePane/webpack/runtime/nonce","webpack://ProfilePane/./src/styles/CVCard.css?991d","webpack://ProfilePane/./src/styles/ChatWithMe.css?2963","webpack://ProfilePane/./src/styles/FriendList.css?4665","webpack://ProfilePane/./src/styles/ProfileCard.css?4c2f","webpack://ProfilePane/./src/styles/ProfileView.css?48de","webpack://ProfilePane/./src/styles/QRCodeCard.css?9d8e","webpack://ProfilePane/./src/styles/SocialCard.css?9a5c","webpack://ProfilePane/./src/styles/StuffCard.css?8d30","webpack://ProfilePane/./src/styles/utilities.css?4cc3","webpack://ProfilePane/./node_modules/lit-html/lit-html.js","webpack://ProfilePane/./node_modules/lit-html/directive-helpers.js","webpack://ProfilePane/./node_modules/lit-html/directive.js","webpack://ProfilePane/./node_modules/lit-html/async-directive.js","webpack://ProfilePane/./node_modules/lit-html/directives/private-async-helpers.js","webpack://ProfilePane/./node_modules/lit-html/directives/async-replace.js","webpack://ProfilePane/./src/texts.ts","webpack://ProfilePane/./src/buttonsHelper.ts","webpack://ProfilePane/./src/ChatWithMe.ts","webpack://ProfilePane/./src/FriendList.ts","webpack://ProfilePane/./src/presenter.ts","webpack://ProfilePane/./src/CVPresenter.ts","webpack://ProfilePane/./src/rdfFormsHelper.ts","webpack://ProfilePane/./src/SocialPresenter.ts","webpack://ProfilePane/./src/StuffPresenter.ts","webpack://ProfilePane/./src/addMeToYourFriends.ts","webpack://ProfilePane/./src/QRCodeCard.ts","webpack://ProfilePane/./src/ProfileCard.ts","webpack://ProfilePane/./src/CVCard.ts","webpack://ProfilePane/./src/SocialCard.ts","webpack://ProfilePane/./src/StuffCard.ts","webpack://ProfilePane/./src/ProfileView.ts","webpack://ProfilePane/./src/editProfilePane/EditContactsCard.ts","webpack://ProfilePane/./src/editProfilePane/EditFriendsCard.ts","webpack://ProfilePane/./src/editProfilePane/EditSocialCard.ts","webpack://ProfilePane/./src/editProfilePane/EditCommunitiesCard.ts","webpack://ProfilePane/./src/styles/rdfFormsEnforced.css?8628","webpack://ProfilePane/./src/editProfilePane/EditCVCard.ts","webpack://ProfilePane/./src/editProfilePane/EditOtherPreferences.ts","webpack://ProfilePane/./src/editProfilePane/EditProfileView.ts","webpack://ProfilePane/./src/index.ts"],"sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory(require(\"UI\"), require(\"SolidLogic\"), require(\"rdflib\"));\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([\"UI\", \"SolidLogic\", \"rdflib\"], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"ProfilePane\"] = factory(require(\"UI\"), require(\"SolidLogic\"), require(\"rdflib\"));\n\telse\n\t\troot[\"ProfilePane\"] = factory(root[\"UI\"], root[\"SolidLogic\"], root[\"rdflib\"]);\n})(this, (__WEBPACK_EXTERNAL_MODULE__9426__, __WEBPACK_EXTERNAL_MODULE__5663__, __WEBPACK_EXTERNAL_MODULE__5491__) => {\nreturn ","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `/* CVCard.css */\n/* Note: Uses utilities: .section-title for cvOrg styling */\n\n.cvSection {\n margin-bottom: 1.25em;\n}\n\n.cvRole {\n margin: var(--spacing-xs) 0;\n font-size: var(--font-size-base);\n line-height: var(--line-height-base);\n display: flex;\n flex-direction: column;\n gap: 0.2em;\n}\n\n.cvOrg {\n font-weight: 600;\n color: var(--color-primary);\n}\n\n.cvSkill, .cvLanguage {\n text-align: left;\n margin: var(--spacing-xs) 0;\n font-size: var(--font-size-base);\n line-height: var(--line-height-base);\n}\n\n.cvSection h3 {\n color: var(--color-text);\n font-size: var(--font-size-lg);\n font-weight: 600;\n line-height: var(--line-height-tight);\n margin-bottom: var(--spacing-xs);\n border-bottom: 1px solid var(--color-border-pale);\n padding-bottom: var(--spacing-xs);\n}\n`, \"\",{\"version\":3,\"sources\":[\"webpack://./src/styles/CVCard.css\"],\"names\":[],\"mappings\":\"AAAA,eAAe;AACf,2DAA2D;;AAE3D;EACE,qBAAqB;AACvB;;AAEA;EACE,2BAA2B;EAC3B,gCAAgC;EAChC,oCAAoC;EACpC,aAAa;EACb,sBAAsB;EACtB,UAAU;AACZ;;AAEA;EACE,gBAAgB;EAChB,2BAA2B;AAC7B;;AAEA;EACE,gBAAgB;EAChB,2BAA2B;EAC3B,gCAAgC;EAChC,oCAAoC;AACtC;;AAEA;EACE,wBAAwB;EACxB,8BAA8B;EAC9B,gBAAgB;EAChB,qCAAqC;EACrC,gCAAgC;EAChC,iDAAiD;EACjD,iCAAiC;AACnC\",\"sourcesContent\":[\"/* CVCard.css */\\n/* Note: Uses utilities: .section-title for cvOrg styling */\\n\\n.cvSection {\\n margin-bottom: 1.25em;\\n}\\n\\n.cvRole {\\n margin: var(--spacing-xs) 0;\\n font-size: var(--font-size-base);\\n line-height: var(--line-height-base);\\n display: flex;\\n flex-direction: column;\\n gap: 0.2em;\\n}\\n\\n.cvOrg {\\n font-weight: 600;\\n color: var(--color-primary);\\n}\\n\\n.cvSkill, .cvLanguage {\\n text-align: left;\\n margin: var(--spacing-xs) 0;\\n font-size: var(--font-size-base);\\n line-height: var(--line-height-base);\\n}\\n\\n.cvSection h3 {\\n color: var(--color-text);\\n font-size: var(--font-size-lg);\\n font-weight: 600;\\n line-height: var(--line-height-tight);\\n margin-bottom: var(--spacing-xs);\\n border-bottom: 1px solid var(--color-border-pale);\\n padding-bottom: var(--spacing-xs);\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `/* ChatWithMe.css */\n/* Uses utilities: .section-centered, .loading-text, .btn-primary, .btn-transparent */\n\n.chatSection {\n overflow-x: auto;\n}\n`, \"\",{\"version\":3,\"sources\":[\"webpack://./src/styles/ChatWithMe.css\"],\"names\":[],\"mappings\":\"AAAA,mBAAmB;AACnB,qFAAqF;;AAErF;EACE,gBAAgB;AAClB\",\"sourcesContent\":[\"/* ChatWithMe.css */\\n/* Uses utilities: .section-centered, .loading-text, .btn-primary, .btn-transparent */\\n\\n.chatSection {\\n overflow-x: auto;\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `/* FriendList.css */\n/* Uses utilities: .list-reset, .section-title, .zebra-stripe, .flex, .gap-xs, .mb-md */\n\n.friendItem {\n padding: var(--spacing-xs) 0;\n font-size: 1em;\n color: var(--color-text-muted);\n}\n\n.friendItem:last-child {\n border-bottom: none;\n}\n`, \"\",{\"version\":3,\"sources\":[\"webpack://./src/styles/FriendList.css\"],\"names\":[],\"mappings\":\"AAAA,mBAAmB;AACnB,uFAAuF;;AAEvF;EACE,4BAA4B;EAC5B,cAAc;EACd,8BAA8B;AAChC;;AAEA;EACE,mBAAmB;AACrB\",\"sourcesContent\":[\"/* FriendList.css */\\n/* Uses utilities: .list-reset, .section-title, .zebra-stripe, .flex, .gap-xs, .mb-md */\\n\\n.friendItem {\\n padding: var(--spacing-xs) 0;\\n font-size: 1em;\\n color: var(--color-text-muted);\\n}\\n\\n.friendItem:last-child {\\n border-bottom: none;\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `/* ProfileCard.css */\n/* Uses utilities: .action-button-focus, .btn-primary, .flex-column-center, .text-truncate, .text-center, .text-wrap-anywhere, .section-centered, .btn-transparent */\n\n.profileCard {\n /* Component container */\n}\n\n.image {\n width: 160px;\n height: 160px;\n border-radius: 50%;\n object-fit: cover;\n margin-bottom: var(--spacing-sm);\n box-shadow: var(--box-shadow-sm);\n border: 3px solid var(--color-primary);\n background: var(--color-card-bg);\n box-sizing: border-box;\n}\n\n.image-alt {\n width: 160px;\n height: 160px;\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: 50%;\n margin-bottom: var(--spacing-sm);\n box-shadow: var(--box-shadow-sm);\n border: 3px solid var(--color-primary);\n background: var(--color-card-bg);\n box-sizing: border-box;\n color: var(--color-text-secondary);\n}\n\n.name {\n font-size: var(--font-size-xl);\n font-weight: 700;\n line-height: var(--line-height-tight);\n text-decoration: underline;\n text-underline-offset: 0.2em;\n margin: 0;\n letter-spacing: var(--letter-spacing-wide);\n}\n\n.intro {\n color: var(--color-text-secondary);\n font-size: var(--font-size-base);\n line-height: var(--line-height-base);\n margin-bottom: var(--spacing-xs);\n max-width: 40ch;\n margin-left: auto;\n margin-right: auto;\n}\n\n.buttonSection {\n color: var(--color-text-secondary);\n font-size: 1em;\n margin-bottom: var(--spacing-xs);\n}\n\n.buttonSubSection {\n width: 100%;\n min-width: 0;\n display: grid;\n}\n\n.buttonSubSection button {\n width: 100%;\n min-width: 0;\n}\n\n.qrCodeSection {\n color: var(--color-text-secondary);\n font-size: 1em;\n margin-bottom: var(--spacing-xs);\n}\n\n.details {\n color: var(--color-text-muted);\n font-size: var(--font-size-base);\n line-height: var(--line-height-base);\n max-width: 45ch;\n margin-left: auto;\n margin-right: auto;\n}\n\n/* ProfileCard styles as regular CSS */\n.profile-card {\n border: 1px solid #ccc;\n padding: 16px;\n background: white;\n}\n`, \"\",{\"version\":3,\"sources\":[\"webpack://./src/styles/ProfileCard.css\"],\"names\":[],\"mappings\":\"AAAA,oBAAoB;AACpB,oKAAoK;;AAEpK;EACE,wBAAwB;AAC1B;;AAEA;EACE,YAAY;EACZ,aAAa;EACb,kBAAkB;EAClB,iBAAiB;EACjB,gCAAgC;EAChC,gCAAgC;EAChC,sCAAsC;EACtC,gCAAgC;EAChC,sBAAsB;AACxB;;AAEA;EACE,YAAY;EACZ,aAAa;EACb,aAAa;EACb,mBAAmB;EACnB,uBAAuB;EACvB,kBAAkB;EAClB,gCAAgC;EAChC,gCAAgC;EAChC,sCAAsC;EACtC,gCAAgC;EAChC,sBAAsB;EACtB,kCAAkC;AACpC;;AAEA;EACE,8BAA8B;EAC9B,gBAAgB;EAChB,qCAAqC;EACrC,0BAA0B;EAC1B,4BAA4B;EAC5B,SAAS;EACT,0CAA0C;AAC5C;;AAEA;EACE,kCAAkC;EAClC,gCAAgC;EAChC,oCAAoC;EACpC,gCAAgC;EAChC,eAAe;EACf,iBAAiB;EACjB,kBAAkB;AACpB;;AAEA;EACE,kCAAkC;EAClC,cAAc;EACd,gCAAgC;AAClC;;AAEA;EACE,WAAW;EACX,YAAY;EACZ,aAAa;AACf;;AAEA;EACE,WAAW;EACX,YAAY;AACd;;AAEA;EACE,kCAAkC;EAClC,cAAc;EACd,gCAAgC;AAClC;;AAEA;EACE,8BAA8B;EAC9B,gCAAgC;EAChC,oCAAoC;EACpC,eAAe;EACf,iBAAiB;EACjB,kBAAkB;AACpB;;AAEA,sCAAsC;AACtC;EACE,sBAAsB;EACtB,aAAa;EACb,iBAAiB;AACnB\",\"sourcesContent\":[\"/* ProfileCard.css */\\n/* Uses utilities: .action-button-focus, .btn-primary, .flex-column-center, .text-truncate, .text-center, .text-wrap-anywhere, .section-centered, .btn-transparent */\\n\\n.profileCard {\\n /* Component container */\\n}\\n\\n.image {\\n width: 160px;\\n height: 160px;\\n border-radius: 50%;\\n object-fit: cover;\\n margin-bottom: var(--spacing-sm);\\n box-shadow: var(--box-shadow-sm);\\n border: 3px solid var(--color-primary);\\n background: var(--color-card-bg);\\n box-sizing: border-box;\\n}\\n\\n.image-alt {\\n width: 160px;\\n height: 160px;\\n display: flex;\\n align-items: center;\\n justify-content: center;\\n border-radius: 50%;\\n margin-bottom: var(--spacing-sm);\\n box-shadow: var(--box-shadow-sm);\\n border: 3px solid var(--color-primary);\\n background: var(--color-card-bg);\\n box-sizing: border-box;\\n color: var(--color-text-secondary);\\n}\\n\\n.name {\\n font-size: var(--font-size-xl);\\n font-weight: 700;\\n line-height: var(--line-height-tight);\\n text-decoration: underline;\\n text-underline-offset: 0.2em;\\n margin: 0;\\n letter-spacing: var(--letter-spacing-wide);\\n}\\n\\n.intro {\\n color: var(--color-text-secondary);\\n font-size: var(--font-size-base);\\n line-height: var(--line-height-base);\\n margin-bottom: var(--spacing-xs);\\n max-width: 40ch;\\n margin-left: auto;\\n margin-right: auto;\\n}\\n\\n.buttonSection {\\n color: var(--color-text-secondary);\\n font-size: 1em;\\n margin-bottom: var(--spacing-xs);\\n}\\n\\n.buttonSubSection {\\n width: 100%;\\n min-width: 0;\\n display: grid;\\n}\\n\\n.buttonSubSection button {\\n width: 100%;\\n min-width: 0;\\n}\\n\\n.qrCodeSection {\\n color: var(--color-text-secondary);\\n font-size: 1em;\\n margin-bottom: var(--spacing-xs);\\n}\\n\\n.details {\\n color: var(--color-text-muted);\\n font-size: var(--font-size-base);\\n line-height: var(--line-height-base);\\n max-width: 45ch;\\n margin-left: auto;\\n margin-right: auto;\\n}\\n\\n/* ProfileCard styles as regular CSS */\\n.profile-card {\\n border: 1px solid #ccc;\\n padding: 16px;\\n background: white;\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `/* ProfileView.css */\n/* Uses utilities: .section-bg, .text-center */\n\n.profileSection {\n \n}\n\n/* Horizontal layout for cards */\n.profile-grid .profileSection {\n width: 100%;\n max-width: 100%;\n box-sizing: border-box;\n margin-bottom: var(--spacing-md);\n box-sizing: border-box;\n margin-bottom: var(--spacing-md);\n}\n\n@media (min-width: 900px) {\n .profileSection {\n margin-bottom: 0;\n }\n}\n`, \"\",{\"version\":3,\"sources\":[\"webpack://./src/styles/ProfileView.css\"],\"names\":[],\"mappings\":\"AAAA,oBAAoB;AACpB,8CAA8C;;AAE9C;;AAEA;;AAEA,gCAAgC;AAChC;EACE,WAAW;EACX,eAAe;EACf,sBAAsB;EACtB,gCAAgC;EAChC,sBAAsB;EACtB,gCAAgC;AAClC;;AAEA;EACE;IACE,gBAAgB;EAClB;AACF\",\"sourcesContent\":[\"/* ProfileView.css */\\n/* Uses utilities: .section-bg, .text-center */\\n\\n.profileSection {\\n \\n}\\n\\n/* Horizontal layout for cards */\\n.profile-grid .profileSection {\\n width: 100%;\\n max-width: 100%;\\n box-sizing: border-box;\\n margin-bottom: var(--spacing-md);\\n box-sizing: border-box;\\n margin-bottom: var(--spacing-md);\\n}\\n\\n@media (min-width: 900px) {\\n .profileSection {\\n margin-bottom: 0;\\n }\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `/* QRCodeCard.css */\n/* Note: Uses utilities: .text-center */\n\n/* Caption under the QR code */\n.qrCaption {\n text-align: center;\n margin-top: 0;\n font-size: 0.95em;\n color: var(--color-text-secondary);\n}\n\n.QRCode {\n width: 100%;\n max-width: 320px;\n min-width: 180px;\n margin: 0 auto;\n display: block;\n}\n\n.QRCode [role=\"img\"]:focus {\n outline: 2px solid var(--color-primary, #7C4DFF);\n outline-offset: 2px;\n box-shadow: 0 0 0 2px rgba(124,77,255,0.2);\n}`, \"\",{\"version\":3,\"sources\":[\"webpack://./src/styles/QRCodeCard.css\"],\"names\":[],\"mappings\":\"AAAA,mBAAmB;AACnB,uCAAuC;;AAEvC,8BAA8B;AAC9B;EACE,kBAAkB;EAClB,aAAa;EACb,iBAAiB;EACjB,kCAAkC;AACpC;;AAEA;EACE,WAAW;EACX,gBAAgB;EAChB,gBAAgB;EAChB,cAAc;EACd,cAAc;AAChB;;AAEA;EACE,gDAAgD;EAChD,mBAAmB;EACnB,0CAA0C;AAC5C\",\"sourcesContent\":[\"/* QRCodeCard.css */\\n/* Note: Uses utilities: .text-center */\\n\\n/* Caption under the QR code */\\n.qrCaption {\\n text-align: center;\\n margin-top: 0;\\n font-size: 0.95em;\\n color: var(--color-text-secondary);\\n}\\n\\n.QRCode {\\n width: 100%;\\n max-width: 320px;\\n min-width: 180px;\\n margin: 0 auto;\\n display: block;\\n}\\n\\n.QRCode [role=\\\"img\\\"]:focus {\\n outline: 2px solid var(--color-primary, #7C4DFF);\\n outline-offset: 2px;\\n box-shadow: 0 0 0 2px rgba(124,77,255,0.2);\\n}\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `/* SocialCard.css */\n/* Uses utilities: .list-reset, .text-wrap-anywhere, .flex, .gap-sm, .gap-lg, .rounded-sm */\n\n.socialList {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n gap: var(--spacing-lg);\n justify-content: center;\n}\n\n.socialItem {\n display: flex;\n align-items: center;\n gap: var(--spacing-sm);\n font-size: 1.1em;\n}\n\n.socialItem span {\n min-width: 0;\n display: block;\n}\n\n.socialItem a {\n color: var(--color-primary);\n text-decoration: none;\n display: flex;\n align-items: center;\n gap: var(--spacing-sm);\n min-height: var(--min-touch-target);\n padding: var(--spacing-xs);\n border-radius: var(--border-radius-base);\n transition: background-color var(--animation-duration) ease;\n position: relative;\n flex: 1;\n min-width: 0;\n}\n\n.socialItem a:hover,\n.socialItem a:focus {\n text-decoration: underline;\n background-color: rgba(124, 77, 255, 0.1);\n}\n\n/* Screen reader only external link indication */\n.socialItem a[href^=\"http\"]:after {\n content: \" (external link)\";\n position: absolute;\n left: -10000px;\n width: 1px;\n height: 1px;\n overflow: hidden;\n}\n\n.socialIcon {\n width: 2.5em;\n height: 2.5em;\n border-radius: var(--border-radius-base);\n background: var(--color-card-bg);\n flex-shrink: 0;\n}\n`, \"\",{\"version\":3,\"sources\":[\"webpack://./src/styles/SocialCard.css\"],\"names\":[],\"mappings\":\"AAAA,mBAAmB;AACnB,2FAA2F;;AAE3F;EACE,aAAa;EACb,mBAAmB;EACnB,eAAe;EACf,sBAAsB;EACtB,uBAAuB;AACzB;;AAEA;EACE,aAAa;EACb,mBAAmB;EACnB,sBAAsB;EACtB,gBAAgB;AAClB;;AAEA;EACE,YAAY;EACZ,cAAc;AAChB;;AAEA;EACE,2BAA2B;EAC3B,qBAAqB;EACrB,aAAa;EACb,mBAAmB;EACnB,sBAAsB;EACtB,mCAAmC;EACnC,0BAA0B;EAC1B,wCAAwC;EACxC,2DAA2D;EAC3D,kBAAkB;EAClB,OAAO;EACP,YAAY;AACd;;AAEA;;EAEE,0BAA0B;EAC1B,yCAAyC;AAC3C;;AAEA,gDAAgD;AAChD;EACE,2BAA2B;EAC3B,kBAAkB;EAClB,cAAc;EACd,UAAU;EACV,WAAW;EACX,gBAAgB;AAClB;;AAEA;EACE,YAAY;EACZ,aAAa;EACb,wCAAwC;EACxC,gCAAgC;EAChC,cAAc;AAChB\",\"sourcesContent\":[\"/* SocialCard.css */\\n/* Uses utilities: .list-reset, .text-wrap-anywhere, .flex, .gap-sm, .gap-lg, .rounded-sm */\\n\\n.socialList {\\n display: flex;\\n flex-direction: row;\\n flex-wrap: wrap;\\n gap: var(--spacing-lg);\\n justify-content: center;\\n}\\n\\n.socialItem {\\n display: flex;\\n align-items: center;\\n gap: var(--spacing-sm);\\n font-size: 1.1em;\\n}\\n\\n.socialItem span {\\n min-width: 0;\\n display: block;\\n}\\n\\n.socialItem a {\\n color: var(--color-primary);\\n text-decoration: none;\\n display: flex;\\n align-items: center;\\n gap: var(--spacing-sm);\\n min-height: var(--min-touch-target);\\n padding: var(--spacing-xs);\\n border-radius: var(--border-radius-base);\\n transition: background-color var(--animation-duration) ease;\\n position: relative;\\n flex: 1;\\n min-width: 0;\\n}\\n\\n.socialItem a:hover,\\n.socialItem a:focus {\\n text-decoration: underline;\\n background-color: rgba(124, 77, 255, 0.1);\\n}\\n\\n/* Screen reader only external link indication */\\n.socialItem a[href^=\\\"http\\\"]:after {\\n content: \\\" (external link)\\\";\\n position: absolute;\\n left: -10000px;\\n width: 1px;\\n height: 1px;\\n overflow: hidden;\\n}\\n\\n.socialIcon {\\n width: 2.5em;\\n height: 2.5em;\\n border-radius: var(--border-radius-base);\\n background: var(--color-card-bg);\\n flex-shrink: 0;\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `/* StuffCard.css */\n/* Uses utilities: .zebra-stripe */\n\n.stuffTable {\n width: 100%;\n border-collapse: collapse;\n margin-bottom: var(--spacing-md);\n caption-side: top;\n}\n\n.stuffTable caption {\n font-weight: 600;\n padding: var(--spacing-sm);\n text-align: left;\n color: var(--color-text);\n}\n\n.stuffTable th,\n.stuffTable td {\n padding: var(--spacing-sm) var(--spacing-md);\n text-align: left;\n line-height: 1.4;\n}\n`, \"\",{\"version\":3,\"sources\":[\"webpack://./src/styles/StuffCard.css\"],\"names\":[],\"mappings\":\"AAAA,kBAAkB;AAClB,kCAAkC;;AAElC;EACE,WAAW;EACX,yBAAyB;EACzB,gCAAgC;EAChC,iBAAiB;AACnB;;AAEA;EACE,gBAAgB;EAChB,0BAA0B;EAC1B,gBAAgB;EAChB,wBAAwB;AAC1B;;AAEA;;EAEE,4CAA4C;EAC5C,gBAAgB;EAChB,gBAAgB;AAClB\",\"sourcesContent\":[\"/* StuffCard.css */\\n/* Uses utilities: .zebra-stripe */\\n\\n.stuffTable {\\n width: 100%;\\n border-collapse: collapse;\\n margin-bottom: var(--spacing-md);\\n caption-side: top;\\n}\\n\\n.stuffTable caption {\\n font-weight: 600;\\n padding: var(--spacing-sm);\\n text-align: left;\\n color: var(--color-text);\\n}\\n\\n.stuffTable th,\\n.stuffTable td {\\n padding: var(--spacing-sm) var(--spacing-md);\\n text-align: left;\\n line-height: 1.4;\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `/* Solid-UI form sizing fixes scoped to Edit CV section */\n.profile-form .hoverControl:not(:has(> img:first-child)) {\n border: 0.1em solid rgb(136, 136, 136) !important;\n}\n\n.profile-form .hoverControl:has(> img:first-child) {\n background-color: transparent !important;\n border: none !important;\n margin: 0 !important;\n border-radius: 0 !important;\n padding: 0.7em !important;\n cursor: pointer;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n}\n\n.profile-form .hoverControlHide {\n width: 1.5em !important;\n height: 1.5em !important;\n display: block;\n margin-top: 0 !important;\n margin-left: 0 !important;\n margin-right: 0 !important;\n margin-bottom: 0.3em !important;\n}\n\n.profile-form .hoverControl:has(> img:first-child) > span {\n display: inline-flex;\n align-items: center;\n margin-left: 0.3em;\n}\n\n.profile-form div[style*=\"padding: 0.5em\"]:has(> img) {\n display: inline-flex;\n align-items: center;\n}\n\n.profile-form div[style*=\"padding: 0.5em\"]:has(> img) > span {\n margin-left: 0.3em;\n}\n\n.profile-form .hoverControl:has(> img:first-child):hover {\n background-color: transparent !important;\n}\n\n.profile-form button:has(> img[src\\$=\".svg\"]) {\n background-color: transparent !important;\n border: none !important;\n margin: 0 !important;\n border-radius: 0 !important;\n}\n\n.profile-form button {\n\n}\n\n.profile-form input:not([type=\"color\"]),\n.profile-form textarea,\n.profile-form select {\n max-width: 100%;\n min-width: 0;\n box-sizing: border-box ;\n background-color: #eef !important;\n border: .05em solid #88c\n}\n\n.profile-form input[type=\"url\"] {\n width: 100%;\n}\n\n.profile-form .formFieldValue {\n min-width: 0;\n margin-bottom: var(--spacing-sm);\n}\n\n.profile-form .formFieldValue table {\n margin: 0 !important;\n padding: 0 !important;\n}\n\n.profile-form .formFieldValue td {\n padding: 0 !important;\n}\n\n.profile-form .formFieldValue input:not([type=\"color\"]),\n.profile-form .formFieldValue textarea,\n.profile-form .formFieldValue select {\n width: 100%;\n max-width: 100%;\n}\n\n.profile-form select#formSelect {\n width: 100%;\n max-width: 97%;\n box-sizing: border-box;\n margin-left: 0 !important;\n margin-right: 0 !important;\n}\n\n.profile-form span select {\n max-width: 96% !important;\n box-sizing: border-box;\n}\n\n/* Remove border/padding from the first wrapper div (and its first child wrapper). */\n.profile-form > div:first-of-type,\n.profile-form > div:first-of-type > div:first-of-type {\n border: none !important;\n padding: 0 !important;\n}\n\n/* Remove border/padding from the inner div of the first wrapper in the contact section. */\nsection[aria-labelledby=\"edit-profile-contact-heading\"] .profile-form > div:first-of-type > div:first-of-type {\n border: none !important;\n padding: 0 !important;\n}\n\n/* In contactPane, remove border/padding from all direct child divs. */\n.contactPane > div {\n border: none !important;\n padding: 0 !important;\n}\n\n/* Align schema.org, solid terms, FOAF, vCard, and org field labels with their input values. */\n.profile-form :not(.choiceBox) > .formFieldName:has(a[href*=\"http://schema.org/\"]),\n.profile-form :not(.choiceBox) > .formFieldName:has(a[href*=\"http://www.w3.org/ns/solid/terms#\"]),\n.profile-form :not(.choiceBox) > .formFieldName:has(a[href*=\"http://xmlns.com/foaf/0.1/\"]),\n.profile-form :not(.choiceBox) > .formFieldName:has(a[href*=\"http://www.w3.org/2006/vcard/ns\"]),\n.profile-form :not(.choiceBox) > .formFieldName:has(a[href*=\"http://www.w3.org/ns/org#\"]) {\n display: inline-flex;\n align-items: center;\n vertical-align: middle;\n}\n\n.profile-form :not(.choiceBox) > .formFieldName:has(a[href*=\"http://schema.org/\"]) + .formFieldValue,\n.profile-form :not(.choiceBox) > .formFieldName:has(a[href*=\"http://www.w3.org/ns/solid/terms#\"]) + .formFieldValue,\n.profile-form :not(.choiceBox) > .formFieldName:has(a[href*=\"http://xmlns.com/foaf/0.1/\"]) + .formFieldValue,\n.profile-form :not(.choiceBox) > .formFieldName:has(a[href*=\"http://www.w3.org/2006/vcard/ns\"]) + .formFieldValue,\n.profile-form :not(.choiceBox) > .formFieldName:has(a[href*=\"http://www.w3.org/ns/org#\"]) + .formFieldValue {\n display: inline-flex;\n align-items: center;\n vertical-align: middle;\n}\n\n.profile-form textarea {\n width: 100%;\n box-sizing: border-box;\n margin-top: var(--spacing-xs);\n margin-left: 0 !important;\n margin-right: 0 !important;\n}\n\n/* Add horizontal gap between label and textarea for all label+textarea pairs. */\n.profile-form div:has(> a) + div:has(textarea) {\n margin-left: var(--spacing-sm);\n}\n\n/* Center textarea label vertically in flex rows. */\n.profile-form div[style*=\"display: flex\"][style*=\"flex-direction: row\"]:has(textarea) {\n align-items: flex-start;\n}\n\n.profile-form div[style*=\"display: flex\"][style*=\"flex-direction: row\"]:has(textarea) > div:has(> a) {\n padding-top: var(--spacing-xs);\n}\n\n.profile-form input:not([type=\"color\"]) {\n width: 100%;\n margin-left: 0 !important;\n margin-right: 0 !important;\n}\n\n/* Remove padding from table cells within webidControl */\n.webidControl table td {\n padding: 0 !important;\n}\n\n/* Remove padding from contactPane divs inside webidControl table cells */\n.webidControl table td div.contactPane.namedPane.fullWidth.individualPane {\n padding: 0 !important;\n}\n\n.webidControl table td div.contactPane.namedPane {\n border: none !important;\n}\n`, \"\",{\"version\":3,\"sources\":[\"webpack://./src/styles/rdfFormsEnforced.css\"],\"names\":[],\"mappings\":\"AAAA,yDAAyD;AACzD;EACE,iDAAiD;AACnD;;AAEA;EACE,wCAAwC;EACxC,uBAAuB;EACvB,oBAAoB;EACpB,2BAA2B;EAC3B,yBAAyB;EACzB,eAAe;EACf,oBAAoB;EACpB,mBAAmB;EACnB,uBAAuB;AACzB;;AAEA;EACE,uBAAuB;EACvB,wBAAwB;EACxB,cAAc;EACd,wBAAwB;EACxB,yBAAyB;EACzB,0BAA0B;EAC1B,+BAA+B;AACjC;;AAEA;EACE,oBAAoB;EACpB,mBAAmB;EACnB,kBAAkB;AACpB;;AAEA;EACE,oBAAoB;EACpB,mBAAmB;AACrB;;AAEA;EACE,kBAAkB;AACpB;;AAEA;EACE,wCAAwC;AAC1C;;AAEA;EACE,wCAAwC;EACxC,uBAAuB;EACvB,oBAAoB;EACpB,2BAA2B;AAC7B;;AAEA;;AAEA;;AAEA;;;EAGE,eAAe;EACf,YAAY;EACZ,uBAAuB;EACvB,iCAAiC;EACjC;AACF;;AAEA;EACE,WAAW;AACb;;AAEA;EACE,YAAY;EACZ,gCAAgC;AAClC;;AAEA;EACE,oBAAoB;EACpB,qBAAqB;AACvB;;AAEA;EACE,qBAAqB;AACvB;;AAEA;;;EAGE,WAAW;EACX,eAAe;AACjB;;AAEA;EACE,WAAW;EACX,cAAc;EACd,sBAAsB;EACtB,yBAAyB;EACzB,0BAA0B;AAC5B;;AAEA;EACE,yBAAyB;EACzB,sBAAsB;AACxB;;AAEA,oFAAoF;AACpF;;EAEE,uBAAuB;EACvB,qBAAqB;AACvB;;AAEA,0FAA0F;AAC1F;EACE,uBAAuB;EACvB,qBAAqB;AACvB;;AAEA,sEAAsE;AACtE;EACE,uBAAuB;EACvB,qBAAqB;AACvB;;AAEA,8FAA8F;AAC9F;;;;;EAKE,oBAAoB;EACpB,mBAAmB;EACnB,sBAAsB;AACxB;;AAEA;;;;;EAKE,oBAAoB;EACpB,mBAAmB;EACnB,sBAAsB;AACxB;;AAEA;EACE,WAAW;EACX,sBAAsB;EACtB,6BAA6B;EAC7B,yBAAyB;EACzB,0BAA0B;AAC5B;;AAEA,gFAAgF;AAChF;EACE,8BAA8B;AAChC;;AAEA,mDAAmD;AACnD;EACE,uBAAuB;AACzB;;AAEA;EACE,8BAA8B;AAChC;;AAEA;EACE,WAAW;EACX,yBAAyB;EACzB,0BAA0B;AAC5B;;AAEA,wDAAwD;AACxD;EACE,qBAAqB;AACvB;;AAEA,yEAAyE;AACzE;EACE,qBAAqB;AACvB;;AAEA;EACE,uBAAuB;AACzB\",\"sourcesContent\":[\"/* Solid-UI form sizing fixes scoped to Edit CV section */\\n.profile-form .hoverControl:not(:has(> img:first-child)) {\\n border: 0.1em solid rgb(136, 136, 136) !important;\\n}\\n\\n.profile-form .hoverControl:has(> img:first-child) {\\n background-color: transparent !important;\\n border: none !important;\\n margin: 0 !important;\\n border-radius: 0 !important;\\n padding: 0.7em !important;\\n cursor: pointer;\\n display: inline-flex;\\n align-items: center;\\n justify-content: center;\\n}\\n\\n.profile-form .hoverControlHide {\\n width: 1.5em !important;\\n height: 1.5em !important;\\n display: block;\\n margin-top: 0 !important;\\n margin-left: 0 !important;\\n margin-right: 0 !important;\\n margin-bottom: 0.3em !important;\\n}\\n\\n.profile-form .hoverControl:has(> img:first-child) > span {\\n display: inline-flex;\\n align-items: center;\\n margin-left: 0.3em;\\n}\\n\\n.profile-form div[style*=\\\"padding: 0.5em\\\"]:has(> img) {\\n display: inline-flex;\\n align-items: center;\\n}\\n\\n.profile-form div[style*=\\\"padding: 0.5em\\\"]:has(> img) > span {\\n margin-left: 0.3em;\\n}\\n\\n.profile-form .hoverControl:has(> img:first-child):hover {\\n background-color: transparent !important;\\n}\\n\\n.profile-form button:has(> img[src$=\\\".svg\\\"]) {\\n background-color: transparent !important;\\n border: none !important;\\n margin: 0 !important;\\n border-radius: 0 !important;\\n}\\n\\n.profile-form button {\\n\\n}\\n\\n.profile-form input:not([type=\\\"color\\\"]),\\n.profile-form textarea,\\n.profile-form select {\\n max-width: 100%;\\n min-width: 0;\\n box-sizing: border-box ;\\n background-color: #eef !important;\\n border: .05em solid #88c\\n}\\n\\n.profile-form input[type=\\\"url\\\"] {\\n width: 100%;\\n}\\n\\n.profile-form .formFieldValue {\\n min-width: 0;\\n margin-bottom: var(--spacing-sm);\\n}\\n\\n.profile-form .formFieldValue table {\\n margin: 0 !important;\\n padding: 0 !important;\\n}\\n\\n.profile-form .formFieldValue td {\\n padding: 0 !important;\\n}\\n\\n.profile-form .formFieldValue input:not([type=\\\"color\\\"]),\\n.profile-form .formFieldValue textarea,\\n.profile-form .formFieldValue select {\\n width: 100%;\\n max-width: 100%;\\n}\\n\\n.profile-form select#formSelect {\\n width: 100%;\\n max-width: 97%;\\n box-sizing: border-box;\\n margin-left: 0 !important;\\n margin-right: 0 !important;\\n}\\n\\n.profile-form span select {\\n max-width: 96% !important;\\n box-sizing: border-box;\\n}\\n\\n/* Remove border/padding from the first wrapper div (and its first child wrapper). */\\n.profile-form > div:first-of-type,\\n.profile-form > div:first-of-type > div:first-of-type {\\n border: none !important;\\n padding: 0 !important;\\n}\\n\\n/* Remove border/padding from the inner div of the first wrapper in the contact section. */\\nsection[aria-labelledby=\\\"edit-profile-contact-heading\\\"] .profile-form > div:first-of-type > div:first-of-type {\\n border: none !important;\\n padding: 0 !important;\\n}\\n\\n/* In contactPane, remove border/padding from all direct child divs. */\\n.contactPane > div {\\n border: none !important;\\n padding: 0 !important;\\n}\\n\\n/* Align schema.org, solid terms, FOAF, vCard, and org field labels with their input values. */\\n.profile-form :not(.choiceBox) > .formFieldName:has(a[href*=\\\"http://schema.org/\\\"]),\\n.profile-form :not(.choiceBox) > .formFieldName:has(a[href*=\\\"http://www.w3.org/ns/solid/terms#\\\"]),\\n.profile-form :not(.choiceBox) > .formFieldName:has(a[href*=\\\"http://xmlns.com/foaf/0.1/\\\"]),\\n.profile-form :not(.choiceBox) > .formFieldName:has(a[href*=\\\"http://www.w3.org/2006/vcard/ns\\\"]),\\n.profile-form :not(.choiceBox) > .formFieldName:has(a[href*=\\\"http://www.w3.org/ns/org#\\\"]) {\\n display: inline-flex;\\n align-items: center;\\n vertical-align: middle;\\n}\\n\\n.profile-form :not(.choiceBox) > .formFieldName:has(a[href*=\\\"http://schema.org/\\\"]) + .formFieldValue,\\n.profile-form :not(.choiceBox) > .formFieldName:has(a[href*=\\\"http://www.w3.org/ns/solid/terms#\\\"]) + .formFieldValue,\\n.profile-form :not(.choiceBox) > .formFieldName:has(a[href*=\\\"http://xmlns.com/foaf/0.1/\\\"]) + .formFieldValue,\\n.profile-form :not(.choiceBox) > .formFieldName:has(a[href*=\\\"http://www.w3.org/2006/vcard/ns\\\"]) + .formFieldValue,\\n.profile-form :not(.choiceBox) > .formFieldName:has(a[href*=\\\"http://www.w3.org/ns/org#\\\"]) + .formFieldValue {\\n display: inline-flex;\\n align-items: center;\\n vertical-align: middle;\\n}\\n\\n.profile-form textarea {\\n width: 100%;\\n box-sizing: border-box;\\n margin-top: var(--spacing-xs);\\n margin-left: 0 !important;\\n margin-right: 0 !important;\\n}\\n\\n/* Add horizontal gap between label and textarea for all label+textarea pairs. */\\n.profile-form div:has(> a) + div:has(textarea) {\\n margin-left: var(--spacing-sm);\\n}\\n\\n/* Center textarea label vertically in flex rows. */\\n.profile-form div[style*=\\\"display: flex\\\"][style*=\\\"flex-direction: row\\\"]:has(textarea) {\\n align-items: flex-start;\\n}\\n\\n.profile-form div[style*=\\\"display: flex\\\"][style*=\\\"flex-direction: row\\\"]:has(textarea) > div:has(> a) {\\n padding-top: var(--spacing-xs);\\n}\\n\\n.profile-form input:not([type=\\\"color\\\"]) {\\n width: 100%;\\n margin-left: 0 !important;\\n margin-right: 0 !important;\\n}\\n\\n/* Remove padding from table cells within webidControl */\\n.webidControl table td {\\n padding: 0 !important;\\n}\\n\\n/* Remove padding from contactPane divs inside webidControl table cells */\\n.webidControl table td div.contactPane.namedPane.fullWidth.individualPane {\\n padding: 0 !important;\\n}\\n\\n.webidControl table td div.contactPane.namedPane {\\n border: none !important;\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `/* Utility-first CSS classes for layout, spacing, and responsiveness */\n\n.actionButton {\n width: 100%;\n min-width: 180px;\n max-width: 320px;\n box-sizing: border-box;\n display: inline-block;\n}\n\n/* ===========================================\n PROFILE GRID LAYOUT\n =========================================== */\n\n.profile-grid {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(30em, 1fr));\n gap: var(--spacing-lg);\n background: var(--color-background);\n}\n\n.profile-header,\n.profile-footer {\n grid-column: 1 / -1;\n}\n\n.center {\n justify-content: center;\n align-items: center;\n}\n\n.flex {\n display: flex;\n}\n.grid {\n display: grid;\n}\n\n/* Spacing utilities using CSS variables */\n.gap-xs { gap: var(--spacing-xs); }\n.gap-sm { gap: var(--spacing-sm); }\n.gap-md { gap: var(--spacing-md); }\n.gap-lg { gap: var(--spacing-lg); }\n.gap-xl { gap: var(--spacing-xl); }\n\n.mt-xs { margin-top: var(--spacing-xs); }\n.mt-sm { margin-top: var(--spacing-sm); }\n.mt-md { margin-top: var(--spacing-md); }\n.mt-lg { margin-top: var(--spacing-lg); }\n\n.mb-xs { margin-bottom: var(--spacing-xs); }\n.mb-sm { margin-bottom: var(--spacing-sm); }\n.mb-md { margin-bottom: var(--spacing-md); }\n.mb-lg { margin-bottom: var(--spacing-lg); }\n\n.p-xs { padding: var(--spacing-xs); }\n.p-sm { padding: var(--spacing-sm); }\n.p-md { padding: var(--spacing-md); }\n.p-lg { padding: var(--spacing-lg); }\n\n.rounded { border-radius: var(--border-radius-full); }\n.rounded-sm { border-radius: var(--border-radius-base); }\n\n.shadow { box-shadow: var(--box-shadow); }\n.shadow-sm { box-shadow: var(--box-shadow-sm); }\n\n.bg-primary {\n background: var(--color-primary);\n color: #fff;\n}\n.bg-card {\n background: var(--color-card-bg);\n}\n\n/* Accessibility utilities */\n.sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border: 0;\n}\n\n.min-touch-target {\n min-height: var(--min-touch-target);\n min-width: var(--min-touch-target);\n}\n\n/* Enhanced accessibility utilities */\n.visually-hidden {\n position: absolute !important;\n width: 1px !important;\n height: 1px !important;\n padding: 0 !important;\n margin: -1px !important;\n overflow: hidden !important;\n clip: rect(0, 0, 0, 0) !important;\n white-space: nowrap !important;\n border: 0 !important;\n}\n\n.visually-hidden.focusable:focus,\n.visually-hidden.focusable:active {\n position: static !important;\n width: auto !important;\n height: auto !important;\n padding: inherit !important;\n margin: inherit !important;\n overflow: visible !important;\n clip: auto !important;\n white-space: inherit !important;\n}\n\n/* Skip links utility */\n.skip-links {\n position: absolute;\n top: -100px;\n left: 0;\n z-index: 1000;\n}\n\n.skip-links a {\n position: absolute;\n left: 6px;\n top: 6px;\n padding: var(--spacing-sm);\n background: var(--color-primary);\n color: white;\n text-decoration: none;\n border-radius: var(--border-radius-base);\n}\n\n.skip-links a:focus {\n top: 6px;\n}\n\n.reduced-motion {\n animation: none !important;\n transition: none !important;\n}\n\n/* Focus management */\n.focus-ring {\n outline: 2px solid var(--color-primary);\n outline-offset: 2px;\n}\n\n.no-focus-ring {\n outline: none;\n}\n\n.no-focus-ring:focus-visible {\n outline: none;\n box-shadow: none;\n}\n\n/* ARIA live regions */\n.live-region {\n position: absolute;\n left: -10000px;\n width: 1px;\n height: 1px;\n overflow: hidden;\n}\n\n/* Note: Use aria-live=\"polite\" or aria-live=\"assertive\" HTML attributes with .live-region */\n\n/* Text scaling utilities */\n.text-scale-friendly {\n line-height: 1.5;\n max-width: 70ch; /* Optimal reading length */\n}\n\n/* Text accessibility utilities */\n.text-readable {\n line-height: var(--line-height-base);\n max-width: 65ch;\n}\n\n.text-lg {\n font-size: var(--font-size-lg);\n line-height: var(--line-height-base);\n}\n\n.text-small {\n font-size: max(var(--font-size-sm), var(--min-font-size));\n line-height: var(--min-line-height);\n}\n\n.text-contrast-high {\n color: var(--color-text);\n font-weight: 600;\n}\n\n:focus-visible {\n outline: var(--focus-ring-width) solid var(--color-primary);\n outline-offset: 2px;\n box-shadow: 0 0 0 1px var(--color-background);\n}\n\n:focus:not(:focus-visible) {\n outline: none;\n box-shadow: none;\n}\n\n/* Better focus for text elements */\n.focusable-text:focus {\n background-color: rgba(124, 77, 255, 0.1);\n outline: 2px solid var(--color-primary);\n outline-offset: 2px;\n border-radius: 2px;\n}\n\n/* High contrast text */\n.high-contrast {\n color: var(--color-text);\n background: var(--color-background);\n border: 1px solid var(--color-border-pale);\n}\n\n/* ===========================================\n CONSOLIDATED COMPONENT PATTERNS\n =========================================== */\n\n/* Primary Button - used by ChatWithMe, ProfileCard */\n.btn-primary {\n min-height: var(--min-touch-target);\n padding: var(--spacing-sm) var(--spacing-md);\n border: 1px solid var(--color-primary);\n border-radius: var(--border-radius-base);\n background: var(--color-primary);\n color: white;\n font-weight: 600;\n cursor: pointer;\n transition: all var(--animation-duration) ease;\n}\n\n.btn-primary:hover {\n background: color-mix(in srgb, var(--color-primary) 90%, black);\n box-shadow: 0 2px 4px rgba(124, 77, 255, 0.2);\n}\n\n.btn-primary:active {\n box-shadow: 0 1px 2px rgba(124, 77, 255, 0.2);\n}\n\n.btn-primary:disabled {\n opacity: 0.6;\n cursor: not-allowed;\n transform: none;\n}\n\n/* Action Button Focus - used by ChatWithMe, ProfileCard */\n.action-button-focus:focus,\n.action-button-focus:focus-visible {\n outline: 3px solid var(--color-primary) !important;\n outline-offset: 2px !important;\n box-shadow: 0 0 0 2px var(--color-background), 0 0 0 5px rgba(124, 77, 255, 0.25) !important;\n z-index: 1;\n}\n\n/* List Reset - used by FriendList, SocialCard, nav */\n.list-reset {\n list-style: none;\n padding: 0;\n margin: 0;\n}\n\n/* Zebra Striping - used by FriendList, StuffCard tables */\n.zebra-stripe tr:nth-child(even),\n.zebra-stripe > *:nth-child(even) {\n background-color: rgba(0, 0, 0, 0.02);\n}\n\n/* Section Title - primary colored heading */\n.section-title {\n font-size: 1.25em;\n font-weight: 600;\n color: var(--color-primary);\n margin: 0;\n}\n\n/* Text Overflow - used by ProfileCard, SocialCard */\n.text-truncate {\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden;\n}\n\n.text-wrap-anywhere {\n overflow-wrap: anywhere;\n word-break: break-word;\n}\n\n/* Loading Text - primary colored centered loading indicator */\n.loading-text {\n color: var(--color-primary);\n text-align: center;\n margin: var(--spacing-md) 0;\n}\n\n/* Centered Section - flex column with center alignment */\n.section-centered {\n display: flex;\n flex-direction: column;\n align-items: center;\n}\n\n/* Card Section Background */\n.section-bg {\n background: var(--color-section-bg);\n border-radius: var(--border-radius-full);\n box-shadow: var(--box-shadow);\n padding: var(--spacing-md);\n}\n\n\n/* Transparent button override (for solid-ui integration) */\n.btn-transparent {\n background-color: transparent;\n}\n\n.btn-transparent:hover {\n background-color: transparent;\n}\n`, \"\",{\"version\":3,\"sources\":[\"webpack://./src/styles/utilities.css\"],\"names\":[],\"mappings\":\"AAAA,sEAAsE;;AAEtE;EACE,WAAW;EACX,gBAAgB;EAChB,gBAAgB;EAChB,sBAAsB;EACtB,qBAAqB;AACvB;;AAEA;;gDAEgD;;AAEhD;EACE,aAAa;EACb,0DAA0D;EAC1D,sBAAsB;EACtB,mCAAmC;AACrC;;AAEA;;EAEE,mBAAmB;AACrB;;AAEA;EACE,uBAAuB;EACvB,mBAAmB;AACrB;;AAEA;EACE,aAAa;AACf;AACA;EACE,aAAa;AACf;;AAEA,0CAA0C;AAC1C,UAAU,sBAAsB,EAAE;AAClC,UAAU,sBAAsB,EAAE;AAClC,UAAU,sBAAsB,EAAE;AAClC,UAAU,sBAAsB,EAAE;AAClC,UAAU,sBAAsB,EAAE;;AAElC,SAAS,6BAA6B,EAAE;AACxC,SAAS,6BAA6B,EAAE;AACxC,SAAS,6BAA6B,EAAE;AACxC,SAAS,6BAA6B,EAAE;;AAExC,SAAS,gCAAgC,EAAE;AAC3C,SAAS,gCAAgC,EAAE;AAC3C,SAAS,gCAAgC,EAAE;AAC3C,SAAS,gCAAgC,EAAE;;AAE3C,QAAQ,0BAA0B,EAAE;AACpC,QAAQ,0BAA0B,EAAE;AACpC,QAAQ,0BAA0B,EAAE;AACpC,QAAQ,0BAA0B,EAAE;;AAEpC,WAAW,wCAAwC,EAAE;AACrD,cAAc,wCAAwC,EAAE;;AAExD,UAAU,6BAA6B,EAAE;AACzC,aAAa,gCAAgC,EAAE;;AAE/C;EACE,gCAAgC;EAChC,WAAW;AACb;AACA;EACE,gCAAgC;AAClC;;AAEA,4BAA4B;AAC5B;EACE,kBAAkB;EAClB,UAAU;EACV,WAAW;EACX,UAAU;EACV,YAAY;EACZ,gBAAgB;EAChB,sBAAsB;EACtB,mBAAmB;EACnB,SAAS;AACX;;AAEA;EACE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;;AAEA,uBAAuB;AACvB;EACE,wBAAwB;EACxB,mCAAmC;EACnC,0CAA0C;AAC5C;;AAEA;;gDAEgD;;AAEhD,qDAAqD;AACrD;EACE,mCAAmC;EACnC,4CAA4C;EAC5C,sCAAsC;EACtC,wCAAwC;EACxC,gCAAgC;EAChC,YAAY;EACZ,gBAAgB;EAChB,eAAe;EACf,8CAA8C;AAChD;;AAEA;EACE,+DAA+D;EAC/D,6CAA6C;AAC/C;;AAEA;EACE,6CAA6C;AAC/C;;AAEA;EACE,YAAY;EACZ,mBAAmB;EACnB,eAAe;AACjB;;AAEA,0DAA0D;AAC1D;;EAEE,kDAAkD;EAClD,8BAA8B;EAC9B,4FAA4F;EAC5F,UAAU;AACZ;;AAEA,qDAAqD;AACrD;EACE,gBAAgB;EAChB,UAAU;EACV,SAAS;AACX;;AAEA,0DAA0D;AAC1D;;EAEE,qCAAqC;AACvC;;AAEA,4CAA4C;AAC5C;EACE,iBAAiB;EACjB,gBAAgB;EAChB,2BAA2B;EAC3B,SAAS;AACX;;AAEA,oDAAoD;AACpD;EACE,mBAAmB;EACnB,uBAAuB;EACvB,gBAAgB;AAClB;;AAEA;EACE,uBAAuB;EACvB,sBAAsB;AACxB;;AAEA,8DAA8D;AAC9D;EACE,2BAA2B;EAC3B,kBAAkB;EAClB,2BAA2B;AAC7B;;AAEA,yDAAyD;AACzD;EACE,aAAa;EACb,sBAAsB;EACtB,mBAAmB;AACrB;;AAEA,4BAA4B;AAC5B;EACE,mCAAmC;EACnC,wCAAwC;EACxC,6BAA6B;EAC7B,0BAA0B;AAC5B;;;AAGA,2DAA2D;AAC3D;EACE,6BAA6B;AAC/B;;AAEA;EACE,6BAA6B;AAC/B\",\"sourcesContent\":[\"/* Utility-first CSS classes for layout, spacing, and responsiveness */\\n\\n.actionButton {\\n width: 100%;\\n min-width: 180px;\\n max-width: 320px;\\n box-sizing: border-box;\\n display: inline-block;\\n}\\n\\n/* ===========================================\\n PROFILE GRID LAYOUT\\n =========================================== */\\n\\n.profile-grid {\\n display: grid;\\n grid-template-columns: repeat(auto-fit, minmax(30em, 1fr));\\n gap: var(--spacing-lg);\\n background: var(--color-background);\\n}\\n\\n.profile-header,\\n.profile-footer {\\n grid-column: 1 / -1;\\n}\\n\\n.center {\\n justify-content: center;\\n align-items: center;\\n}\\n\\n.flex {\\n display: flex;\\n}\\n.grid {\\n display: grid;\\n}\\n\\n/* Spacing utilities using CSS variables */\\n.gap-xs { gap: var(--spacing-xs); }\\n.gap-sm { gap: var(--spacing-sm); }\\n.gap-md { gap: var(--spacing-md); }\\n.gap-lg { gap: var(--spacing-lg); }\\n.gap-xl { gap: var(--spacing-xl); }\\n\\n.mt-xs { margin-top: var(--spacing-xs); }\\n.mt-sm { margin-top: var(--spacing-sm); }\\n.mt-md { margin-top: var(--spacing-md); }\\n.mt-lg { margin-top: var(--spacing-lg); }\\n\\n.mb-xs { margin-bottom: var(--spacing-xs); }\\n.mb-sm { margin-bottom: var(--spacing-sm); }\\n.mb-md { margin-bottom: var(--spacing-md); }\\n.mb-lg { margin-bottom: var(--spacing-lg); }\\n\\n.p-xs { padding: var(--spacing-xs); }\\n.p-sm { padding: var(--spacing-sm); }\\n.p-md { padding: var(--spacing-md); }\\n.p-lg { padding: var(--spacing-lg); }\\n\\n.rounded { border-radius: var(--border-radius-full); }\\n.rounded-sm { border-radius: var(--border-radius-base); }\\n\\n.shadow { box-shadow: var(--box-shadow); }\\n.shadow-sm { box-shadow: var(--box-shadow-sm); }\\n\\n.bg-primary {\\n background: var(--color-primary);\\n color: #fff;\\n}\\n.bg-card {\\n background: var(--color-card-bg);\\n}\\n\\n/* Accessibility utilities */\\n.sr-only {\\n position: absolute;\\n width: 1px;\\n height: 1px;\\n padding: 0;\\n margin: -1px;\\n overflow: hidden;\\n clip: rect(0, 0, 0, 0);\\n white-space: nowrap;\\n border: 0;\\n}\\n\\n.min-touch-target {\\n min-height: var(--min-touch-target);\\n min-width: var(--min-touch-target);\\n}\\n\\n/* Enhanced accessibility utilities */\\n.visually-hidden {\\n position: absolute !important;\\n width: 1px !important;\\n height: 1px !important;\\n padding: 0 !important;\\n margin: -1px !important;\\n overflow: hidden !important;\\n clip: rect(0, 0, 0, 0) !important;\\n white-space: nowrap !important;\\n border: 0 !important;\\n}\\n\\n.visually-hidden.focusable:focus,\\n.visually-hidden.focusable:active {\\n position: static !important;\\n width: auto !important;\\n height: auto !important;\\n padding: inherit !important;\\n margin: inherit !important;\\n overflow: visible !important;\\n clip: auto !important;\\n white-space: inherit !important;\\n}\\n\\n/* Skip links utility */\\n.skip-links {\\n position: absolute;\\n top: -100px;\\n left: 0;\\n z-index: 1000;\\n}\\n\\n.skip-links a {\\n position: absolute;\\n left: 6px;\\n top: 6px;\\n padding: var(--spacing-sm);\\n background: var(--color-primary);\\n color: white;\\n text-decoration: none;\\n border-radius: var(--border-radius-base);\\n}\\n\\n.skip-links a:focus {\\n top: 6px;\\n}\\n\\n.reduced-motion {\\n animation: none !important;\\n transition: none !important;\\n}\\n\\n/* Focus management */\\n.focus-ring {\\n outline: 2px solid var(--color-primary);\\n outline-offset: 2px;\\n}\\n\\n.no-focus-ring {\\n outline: none;\\n}\\n\\n.no-focus-ring:focus-visible {\\n outline: none;\\n box-shadow: none;\\n}\\n\\n/* ARIA live regions */\\n.live-region {\\n position: absolute;\\n left: -10000px;\\n width: 1px;\\n height: 1px;\\n overflow: hidden;\\n}\\n\\n/* Note: Use aria-live=\\\"polite\\\" or aria-live=\\\"assertive\\\" HTML attributes with .live-region */\\n\\n/* Text scaling utilities */\\n.text-scale-friendly {\\n line-height: 1.5;\\n max-width: 70ch; /* Optimal reading length */\\n}\\n\\n/* Text accessibility utilities */\\n.text-readable {\\n line-height: var(--line-height-base);\\n max-width: 65ch;\\n}\\n\\n.text-lg {\\n font-size: var(--font-size-lg);\\n line-height: var(--line-height-base);\\n}\\n\\n.text-small {\\n font-size: max(var(--font-size-sm), var(--min-font-size));\\n line-height: var(--min-line-height);\\n}\\n\\n.text-contrast-high {\\n color: var(--color-text);\\n font-weight: 600;\\n}\\n\\n:focus-visible {\\n outline: var(--focus-ring-width) solid var(--color-primary);\\n outline-offset: 2px;\\n box-shadow: 0 0 0 1px var(--color-background);\\n}\\n\\n:focus:not(:focus-visible) {\\n outline: none;\\n box-shadow: none;\\n}\\n\\n/* Better focus for text elements */\\n.focusable-text:focus {\\n background-color: rgba(124, 77, 255, 0.1);\\n outline: 2px solid var(--color-primary);\\n outline-offset: 2px;\\n border-radius: 2px;\\n}\\n\\n/* High contrast text */\\n.high-contrast {\\n color: var(--color-text);\\n background: var(--color-background);\\n border: 1px solid var(--color-border-pale);\\n}\\n\\n/* ===========================================\\n CONSOLIDATED COMPONENT PATTERNS\\n =========================================== */\\n\\n/* Primary Button - used by ChatWithMe, ProfileCard */\\n.btn-primary {\\n min-height: var(--min-touch-target);\\n padding: var(--spacing-sm) var(--spacing-md);\\n border: 1px solid var(--color-primary);\\n border-radius: var(--border-radius-base);\\n background: var(--color-primary);\\n color: white;\\n font-weight: 600;\\n cursor: pointer;\\n transition: all var(--animation-duration) ease;\\n}\\n\\n.btn-primary:hover {\\n background: color-mix(in srgb, var(--color-primary) 90%, black);\\n box-shadow: 0 2px 4px rgba(124, 77, 255, 0.2);\\n}\\n\\n.btn-primary:active {\\n box-shadow: 0 1px 2px rgba(124, 77, 255, 0.2);\\n}\\n\\n.btn-primary:disabled {\\n opacity: 0.6;\\n cursor: not-allowed;\\n transform: none;\\n}\\n\\n/* Action Button Focus - used by ChatWithMe, ProfileCard */\\n.action-button-focus:focus,\\n.action-button-focus:focus-visible {\\n outline: 3px solid var(--color-primary) !important;\\n outline-offset: 2px !important;\\n box-shadow: 0 0 0 2px var(--color-background), 0 0 0 5px rgba(124, 77, 255, 0.25) !important;\\n z-index: 1;\\n}\\n\\n/* List Reset - used by FriendList, SocialCard, nav */\\n.list-reset {\\n list-style: none;\\n padding: 0;\\n margin: 0;\\n}\\n\\n/* Zebra Striping - used by FriendList, StuffCard tables */\\n.zebra-stripe tr:nth-child(even),\\n.zebra-stripe > *:nth-child(even) {\\n background-color: rgba(0, 0, 0, 0.02);\\n}\\n\\n/* Section Title - primary colored heading */\\n.section-title {\\n font-size: 1.25em;\\n font-weight: 600;\\n color: var(--color-primary);\\n margin: 0;\\n}\\n\\n/* Text Overflow - used by ProfileCard, SocialCard */\\n.text-truncate {\\n white-space: nowrap;\\n text-overflow: ellipsis;\\n overflow: hidden;\\n}\\n\\n.text-wrap-anywhere {\\n overflow-wrap: anywhere;\\n word-break: break-word;\\n}\\n\\n/* Loading Text - primary colored centered loading indicator */\\n.loading-text {\\n color: var(--color-primary);\\n text-align: center;\\n margin: var(--spacing-md) 0;\\n}\\n\\n/* Centered Section - flex column with center alignment */\\n.section-centered {\\n display: flex;\\n flex-direction: column;\\n align-items: center;\\n}\\n\\n/* Card Section Background */\\n.section-bg {\\n background: var(--color-section-bg);\\n border-radius: var(--border-radius-full);\\n box-shadow: var(--box-shadow);\\n padding: var(--spacing-md);\\n}\\n\\n\\n/* Transparent button override (for solid-ui integration) */\\n.btn-transparent {\\n background-color: transparent;\\n}\\n\\n.btn-transparent:hover {\\n background-color: transparent;\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","\"use strict\";\n\n/*\n MIT License http://www.opensource.org/licenses/mit-license.php\n Author Tobias Koppers @sokra\n*/\nmodule.exports = function (cssWithMappingToString) {\n var list = [];\n\n // return the list of modules as css string\n list.toString = function toString() {\n return this.map(function (item) {\n var content = \"\";\n var needLayer = typeof item[5] !== \"undefined\";\n if (item[4]) {\n content += \"@supports (\".concat(item[4], \") {\");\n }\n if (item[2]) {\n content += \"@media \".concat(item[2], \" {\");\n }\n if (needLayer) {\n content += \"@layer\".concat(item[5].length > 0 ? \" \".concat(item[5]) : \"\", \" {\");\n }\n content += cssWithMappingToString(item);\n if (needLayer) {\n content += \"}\";\n }\n if (item[2]) {\n content += \"}\";\n }\n if (item[4]) {\n content += \"}\";\n }\n return content;\n }).join(\"\");\n };\n\n // import a list of modules into the list\n list.i = function i(modules, media, dedupe, supports, layer) {\n if (typeof modules === \"string\") {\n modules = [[null, modules, undefined]];\n }\n var alreadyImportedModules = {};\n if (dedupe) {\n for (var k = 0; k < this.length; k++) {\n var id = this[k][0];\n if (id != null) {\n alreadyImportedModules[id] = true;\n }\n }\n }\n for (var _k = 0; _k < modules.length; _k++) {\n var item = [].concat(modules[_k]);\n if (dedupe && alreadyImportedModules[item[0]]) {\n continue;\n }\n if (typeof layer !== \"undefined\") {\n if (typeof item[5] === \"undefined\") {\n item[5] = layer;\n } else {\n item[1] = \"@layer\".concat(item[5].length > 0 ? \" \".concat(item[5]) : \"\", \" {\").concat(item[1], \"}\");\n item[5] = layer;\n }\n }\n if (media) {\n if (!item[2]) {\n item[2] = media;\n } else {\n item[1] = \"@media \".concat(item[2], \" {\").concat(item[1], \"}\");\n item[2] = media;\n }\n }\n if (supports) {\n if (!item[4]) {\n item[4] = \"\".concat(supports);\n } else {\n item[1] = \"@supports (\".concat(item[4], \") {\").concat(item[1], \"}\");\n item[4] = supports;\n }\n }\n list.push(item);\n }\n };\n return list;\n};","\"use strict\";\n\nmodule.exports = function (item) {\n var content = item[1];\n var cssMapping = item[3];\n if (!cssMapping) {\n return content;\n }\n if (typeof btoa === \"function\") {\n var base64 = btoa(unescape(encodeURIComponent(JSON.stringify(cssMapping))));\n var data = \"sourceMappingURL=data:application/json;charset=utf-8;base64,\".concat(base64);\n var sourceMapping = \"/*# \".concat(data, \" */\");\n return [content].concat([sourceMapping]).join(\"\\n\");\n }\n return [content].join(\"\\n\");\n};","'use strict';\n\n/******************************************************************************\n * Created 2008-08-19.\n *\n * Dijkstra path-finding functions. Adapted from the Dijkstar Python project.\n *\n * Copyright (C) 2008\n * Wyatt Baldwin <self@wyattbaldwin.com>\n * All rights reserved\n *\n * Licensed under the MIT license.\n *\n * http://www.opensource.org/licenses/mit-license.php\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE.\n *****************************************************************************/\nvar dijkstra = {\n single_source_shortest_paths: function(graph, s, d) {\n // Predecessor map for each node that has been encountered.\n // node ID => predecessor node ID\n var predecessors = {};\n\n // Costs of shortest paths from s to all nodes encountered.\n // node ID => cost\n var costs = {};\n costs[s] = 0;\n\n // Costs of shortest paths from s to all nodes encountered; differs from\n // `costs` in that it provides easy access to the node that currently has\n // the known shortest path from s.\n // XXX: Do we actually need both `costs` and `open`?\n var open = dijkstra.PriorityQueue.make();\n open.push(s, 0);\n\n var closest,\n u, v,\n cost_of_s_to_u,\n adjacent_nodes,\n cost_of_e,\n cost_of_s_to_u_plus_cost_of_e,\n cost_of_s_to_v,\n first_visit;\n while (!open.empty()) {\n // In the nodes remaining in graph that have a known cost from s,\n // find the node, u, that currently has the shortest path from s.\n closest = open.pop();\n u = closest.value;\n cost_of_s_to_u = closest.cost;\n\n // Get nodes adjacent to u...\n adjacent_nodes = graph[u] || {};\n\n // ...and explore the edges that connect u to those nodes, updating\n // the cost of the shortest paths to any or all of those nodes as\n // necessary. v is the node across the current edge from u.\n for (v in adjacent_nodes) {\n if (adjacent_nodes.hasOwnProperty(v)) {\n // Get the cost of the edge running from u to v.\n cost_of_e = adjacent_nodes[v];\n\n // Cost of s to u plus the cost of u to v across e--this is *a*\n // cost from s to v that may or may not be less than the current\n // known cost to v.\n cost_of_s_to_u_plus_cost_of_e = cost_of_s_to_u + cost_of_e;\n\n // If we haven't visited v yet OR if the current known cost from s to\n // v is greater than the new cost we just found (cost of s to u plus\n // cost of u to v across e), update v's cost in the cost list and\n // update v's predecessor in the predecessor list (it's now u).\n cost_of_s_to_v = costs[v];\n first_visit = (typeof costs[v] === 'undefined');\n if (first_visit || cost_of_s_to_v > cost_of_s_to_u_plus_cost_of_e) {\n costs[v] = cost_of_s_to_u_plus_cost_of_e;\n open.push(v, cost_of_s_to_u_plus_cost_of_e);\n predecessors[v] = u;\n }\n }\n }\n }\n\n if (typeof d !== 'undefined' && typeof costs[d] === 'undefined') {\n var msg = ['Could not find a path from ', s, ' to ', d, '.'].join('');\n throw new Error(msg);\n }\n\n return predecessors;\n },\n\n extract_shortest_path_from_predecessor_list: function(predecessors, d) {\n var nodes = [];\n var u = d;\n var predecessor;\n while (u) {\n nodes.push(u);\n predecessor = predecessors[u];\n u = predecessors[u];\n }\n nodes.reverse();\n return nodes;\n },\n\n find_path: function(graph, s, d) {\n var predecessors = dijkstra.single_source_shortest_paths(graph, s, d);\n return dijkstra.extract_shortest_path_from_predecessor_list(\n predecessors, d);\n },\n\n /**\n * A very naive priority queue implementation.\n */\n PriorityQueue: {\n make: function (opts) {\n var T = dijkstra.PriorityQueue,\n t = {},\n key;\n opts = opts || {};\n for (key in T) {\n if (T.hasOwnProperty(key)) {\n t[key] = T[key];\n }\n }\n t.queue = [];\n t.sorter = opts.sorter || T.default_sorter;\n return t;\n },\n\n default_sorter: function (a, b) {\n return a.cost - b.cost;\n },\n\n /**\n * Add a new item to the queue and ensure the highest priority element\n * is at the front of the queue.\n */\n push: function (value, cost) {\n var item = {value: value, cost: cost};\n this.queue.push(item);\n this.queue.sort(this.sorter);\n },\n\n /**\n * Return the highest priority element in the queue.\n */\n pop: function () {\n return this.queue.shift();\n },\n\n empty: function () {\n return this.queue.length === 0;\n }\n }\n};\n\n\n// node.js module exports\nif (typeof module !== 'undefined') {\n module.exports = dijkstra;\n}\n","\nconst canPromise = require('./can-promise')\n\nconst QRCode = require('./core/qrcode')\nconst CanvasRenderer = require('./renderer/canvas')\nconst SvgRenderer = require('./renderer/svg-tag.js')\n\nfunction renderCanvas (renderFunc, canvas, text, opts, cb) {\n const args = [].slice.call(arguments, 1)\n const argsNum = args.length\n const isLastArgCb = typeof args[argsNum - 1] === 'function'\n\n if (!isLastArgCb && !canPromise()) {\n throw new Error('Callback required as last argument')\n }\n\n if (isLastArgCb) {\n if (argsNum < 2) {\n throw new Error('Too few arguments provided')\n }\n\n if (argsNum === 2) {\n cb = text\n text = canvas\n canvas = opts = undefined\n } else if (argsNum === 3) {\n if (canvas.getContext && typeof cb === 'undefined') {\n cb = opts\n opts = undefined\n } else {\n cb = opts\n opts = text\n text = canvas\n canvas = undefined\n }\n }\n } else {\n if (argsNum < 1) {\n throw new Error('Too few arguments provided')\n }\n\n if (argsNum === 1) {\n text = canvas\n canvas = opts = undefined\n } else if (argsNum === 2 && !canvas.getContext) {\n opts = text\n text = canvas\n canvas = undefined\n }\n\n return new Promise(function (resolve, reject) {\n try {\n const data = QRCode.create(text, opts)\n resolve(renderFunc(data, canvas, opts))\n } catch (e) {\n reject(e)\n }\n })\n }\n\n try {\n const data = QRCode.create(text, opts)\n cb(null, renderFunc(data, canvas, opts))\n } catch (e) {\n cb(e)\n }\n}\n\nexports.create = QRCode.create\nexports.toCanvas = renderCanvas.bind(null, CanvasRenderer.render)\nexports.toDataURL = renderCanvas.bind(null, CanvasRenderer.renderToDataURL)\n\n// only svg for now.\nexports.toString = renderCanvas.bind(null, function (data, _, opts) {\n return SvgRenderer.render(data, opts)\n})\n","// can-promise has a crash in some versions of react native that dont have\n// standard global objects\n// https://github.com/soldair/node-qrcode/issues/157\n\nmodule.exports = function () {\n return typeof Promise === 'function' && Promise.prototype && Promise.prototype.then\n}\n","/**\n * Alignment pattern are fixed reference pattern in defined positions\n * in a matrix symbology, which enables the decode software to re-synchronise\n * the coordinate mapping of the image modules in the event of moderate amounts\n * of distortion of the image.\n *\n * Alignment patterns are present only in QR Code symbols of version 2 or larger\n * and their number depends on the symbol version.\n */\n\nconst getSymbolSize = require('./utils').getSymbolSize\n\n/**\n * Calculate the row/column coordinates of the center module of each alignment pattern\n * for the specified QR Code version.\n *\n * The alignment patterns are positioned symmetrically on either side of the diagonal\n * running from the top left corner of the symbol to the bottom right corner.\n *\n * Since positions are simmetrical only half of the coordinates are returned.\n * Each item of the array will represent in turn the x and y coordinate.\n * @see {@link getPositions}\n *\n * @param {Number} version QR Code version\n * @return {Array} Array of coordinate\n */\nexports.getRowColCoords = function getRowColCoords (version) {\n if (version === 1) return []\n\n const posCount = Math.floor(version / 7) + 2\n const size = getSymbolSize(version)\n const intervals = size === 145 ? 26 : Math.ceil((size - 13) / (2 * posCount - 2)) * 2\n const positions = [size - 7] // Last coord is always (size - 7)\n\n for (let i = 1; i < posCount - 1; i++) {\n positions[i] = positions[i - 1] - intervals\n }\n\n positions.push(6) // First coord is always 6\n\n return positions.reverse()\n}\n\n/**\n * Returns an array containing the positions of each alignment pattern.\n * Each array's element represent the center point of the pattern as (x, y) coordinates\n *\n * Coordinates are calculated expanding the row/column coordinates returned by {@link getRowColCoords}\n * and filtering out the items that overlaps with finder pattern\n *\n * @example\n * For a Version 7 symbol {@link getRowColCoords} returns values 6, 22 and 38.\n * The alignment patterns, therefore, are to be centered on (row, column)\n * positions (6,22), (22,6), (22,22), (22,38), (38,22), (38,38).\n * Note that the coordinates (6,6), (6,38), (38,6) are occupied by finder patterns\n * and are not therefore used for alignment patterns.\n *\n * let pos = getPositions(7)\n * // [[6,22], [22,6], [22,22], [22,38], [38,22], [38,38]]\n *\n * @param {Number} version QR Code version\n * @return {Array} Array of coordinates\n */\nexports.getPositions = function getPositions (version) {\n const coords = []\n const pos = exports.getRowColCoords(version)\n const posLength = pos.length\n\n for (let i = 0; i < posLength; i++) {\n for (let j = 0; j < posLength; j++) {\n // Skip if position is occupied by finder patterns\n if ((i === 0 && j === 0) || // top-left\n (i === 0 && j === posLength - 1) || // bottom-left\n (i === posLength - 1 && j === 0)) { // top-right\n continue\n }\n\n coords.push([pos[i], pos[j]])\n }\n }\n\n return coords\n}\n","const Mode = require('./mode')\n\n/**\n * Array of characters available in alphanumeric mode\n *\n * As per QR Code specification, to each character\n * is assigned a value from 0 to 44 which in this case coincides\n * with the array index\n *\n * @type {Array}\n */\nconst ALPHA_NUM_CHARS = [\n '0', '1', '2', '3', '4', '5', '6', '7', '8', '9',\n 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M',\n 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z',\n ' ', '$', '%', '*', '+', '-', '.', '/', ':'\n]\n\nfunction AlphanumericData (data) {\n this.mode = Mode.ALPHANUMERIC\n this.data = data\n}\n\nAlphanumericData.getBitsLength = function getBitsLength (length) {\n return 11 * Math.floor(length / 2) + 6 * (length % 2)\n}\n\nAlphanumericData.prototype.getLength = function getLength () {\n return this.data.length\n}\n\nAlphanumericData.prototype.getBitsLength = function getBitsLength () {\n return AlphanumericData.getBitsLength(this.data.length)\n}\n\nAlphanumericData.prototype.write = function write (bitBuffer) {\n let i\n\n // Input data characters are divided into groups of two characters\n // and encoded as 11-bit binary codes.\n for (i = 0; i + 2 <= this.data.length; i += 2) {\n // The character value of the first character is multiplied by 45\n let value = ALPHA_NUM_CHARS.indexOf(this.data[i]) * 45\n\n // The character value of the second digit is added to the product\n value += ALPHA_NUM_CHARS.indexOf(this.data[i + 1])\n\n // The sum is then stored as 11-bit binary number\n bitBuffer.put(value, 11)\n }\n\n // If the number of input data characters is not a multiple of two,\n // the character value of the final character is encoded as a 6-bit binary number.\n if (this.data.length % 2) {\n bitBuffer.put(ALPHA_NUM_CHARS.indexOf(this.data[i]), 6)\n }\n}\n\nmodule.exports = AlphanumericData\n","function BitBuffer () {\n this.buffer = []\n this.length = 0\n}\n\nBitBuffer.prototype = {\n\n get: function (index) {\n const bufIndex = Math.floor(index / 8)\n return ((this.buffer[bufIndex] >>> (7 - index % 8)) & 1) === 1\n },\n\n put: function (num, length) {\n for (let i = 0; i < length; i++) {\n this.putBit(((num >>> (length - i - 1)) & 1) === 1)\n }\n },\n\n getLengthInBits: function () {\n return this.length\n },\n\n putBit: function (bit) {\n const bufIndex = Math.floor(this.length / 8)\n if (this.buffer.length <= bufIndex) {\n this.buffer.push(0)\n }\n\n if (bit) {\n this.buffer[bufIndex] |= (0x80 >>> (this.length % 8))\n }\n\n this.length++\n }\n}\n\nmodule.exports = BitBuffer\n","/**\n * Helper class to handle QR Code symbol modules\n *\n * @param {Number} size Symbol size\n */\nfunction BitMatrix (size) {\n if (!size || size < 1) {\n throw new Error('BitMatrix size must be defined and greater than 0')\n }\n\n this.size = size\n this.data = new Uint8Array(size * size)\n this.reservedBit = new Uint8Array(size * size)\n}\n\n/**\n * Set bit value at specified location\n * If reserved flag is set, this bit will be ignored during masking process\n *\n * @param {Number} row\n * @param {Number} col\n * @param {Boolean} value\n * @param {Boolean} reserved\n */\nBitMatrix.prototype.set = function (row, col, value, reserved) {\n const index = row * this.size + col\n this.data[index] = value\n if (reserved) this.reservedBit[index] = true\n}\n\n/**\n * Returns bit value at specified location\n *\n * @param {Number} row\n * @param {Number} col\n * @return {Boolean}\n */\nBitMatrix.prototype.get = function (row, col) {\n return this.data[row * this.size + col]\n}\n\n/**\n * Applies xor operator at specified location\n * (used during masking process)\n *\n * @param {Number} row\n * @param {Number} col\n * @param {Boolean} value\n */\nBitMatrix.prototype.xor = function (row, col, value) {\n this.data[row * this.size + col] ^= value\n}\n\n/**\n * Check if bit at specified location is reserved\n *\n * @param {Number} row\n * @param {Number} col\n * @return {Boolean}\n */\nBitMatrix.prototype.isReserved = function (row, col) {\n return this.reservedBit[row * this.size + col]\n}\n\nmodule.exports = BitMatrix\n","const Mode = require('./mode')\n\nfunction ByteData (data) {\n this.mode = Mode.BYTE\n if (typeof (data) === 'string') {\n this.data = new TextEncoder().encode(data)\n } else {\n this.data = new Uint8Array(data)\n }\n}\n\nByteData.getBitsLength = function getBitsLength (length) {\n return length * 8\n}\n\nByteData.prototype.getLength = function getLength () {\n return this.data.length\n}\n\nByteData.prototype.getBitsLength = function getBitsLength () {\n return ByteData.getBitsLength(this.data.length)\n}\n\nByteData.prototype.write = function (bitBuffer) {\n for (let i = 0, l = this.data.length; i < l; i++) {\n bitBuffer.put(this.data[i], 8)\n }\n}\n\nmodule.exports = ByteData\n","const ECLevel = require('./error-correction-level')\r\n\r\nconst EC_BLOCKS_TABLE = [\r\n// L M Q H\r\n 1, 1, 1, 1,\r\n 1, 1, 1, 1,\r\n 1, 1, 2, 2,\r\n 1, 2, 2, 4,\r\n 1, 2, 4, 4,\r\n 2, 4, 4, 4,\r\n 2, 4, 6, 5,\r\n 2, 4, 6, 6,\r\n 2, 5, 8, 8,\r\n 4, 5, 8, 8,\r\n 4, 5, 8, 11,\r\n 4, 8, 10, 11,\r\n 4, 9, 12, 16,\r\n 4, 9, 16, 16,\r\n 6, 10, 12, 18,\r\n 6, 10, 17, 16,\r\n 6, 11, 16, 19,\r\n 6, 13, 18, 21,\r\n 7, 14, 21, 25,\r\n 8, 16, 20, 25,\r\n 8, 17, 23, 25,\r\n 9, 17, 23, 34,\r\n 9, 18, 25, 30,\r\n 10, 20, 27, 32,\r\n 12, 21, 29, 35,\r\n 12, 23, 34, 37,\r\n 12, 25, 34, 40,\r\n 13, 26, 35, 42,\r\n 14, 28, 38, 45,\r\n 15, 29, 40, 48,\r\n 16, 31, 43, 51,\r\n 17, 33, 45, 54,\r\n 18, 35, 48, 57,\r\n 19, 37, 51, 60,\r\n 19, 38, 53, 63,\r\n 20, 40, 56, 66,\r\n 21, 43, 59, 70,\r\n 22, 45, 62, 74,\r\n 24, 47, 65, 77,\r\n 25, 49, 68, 81\r\n]\r\n\r\nconst EC_CODEWORDS_TABLE = [\r\n// L M Q H\r\n 7, 10, 13, 17,\r\n 10, 16, 22, 28,\r\n 15, 26, 36, 44,\r\n 20, 36, 52, 64,\r\n 26, 48, 72, 88,\r\n 36, 64, 96, 112,\r\n 40, 72, 108, 130,\r\n 48, 88, 132, 156,\r\n 60, 110, 160, 192,\r\n 72, 130, 192, 224,\r\n 80, 150, 224, 264,\r\n 96, 176, 260, 308,\r\n 104, 198, 288, 352,\r\n 120, 216, 320, 384,\r\n 132, 240, 360, 432,\r\n 144, 280, 408, 480,\r\n 168, 308, 448, 532,\r\n 180, 338, 504, 588,\r\n 196, 364, 546, 650,\r\n 224, 416, 600, 700,\r\n 224, 442, 644, 750,\r\n 252, 476, 690, 816,\r\n 270, 504, 750, 900,\r\n 300, 560, 810, 960,\r\n 312, 588, 870, 1050,\r\n 336, 644, 952, 1110,\r\n 360, 700, 1020, 1200,\r\n 390, 728, 1050, 1260,\r\n 420, 784, 1140, 1350,\r\n 450, 812, 1200, 1440,\r\n 480, 868, 1290, 1530,\r\n 510, 924, 1350, 1620,\r\n 540, 980, 1440, 1710,\r\n 570, 1036, 1530, 1800,\r\n 570, 1064, 1590, 1890,\r\n 600, 1120, 1680, 1980,\r\n 630, 1204, 1770, 2100,\r\n 660, 1260, 1860, 2220,\r\n 720, 1316, 1950, 2310,\r\n 750, 1372, 2040, 2430\r\n]\r\n\r\n/**\r\n * Returns the number of error correction block that the QR Code should contain\r\n * for the specified version and error correction level.\r\n *\r\n * @param {Number} version QR Code version\r\n * @param {Number} errorCorrectionLevel Error correction level\r\n * @return {Number} Number of error correction blocks\r\n */\r\nexports.getBlocksCount = function getBlocksCount (version, errorCorrectionLevel) {\r\n switch (errorCorrectionLevel) {\r\n case ECLevel.L:\r\n return EC_BLOCKS_TABLE[(version - 1) * 4 + 0]\r\n case ECLevel.M:\r\n return EC_BLOCKS_TABLE[(version - 1) * 4 + 1]\r\n case ECLevel.Q:\r\n return EC_BLOCKS_TABLE[(version - 1) * 4 + 2]\r\n case ECLevel.H:\r\n return EC_BLOCKS_TABLE[(version - 1) * 4 + 3]\r\n default:\r\n return undefined\r\n }\r\n}\r\n\r\n/**\r\n * Returns the number of error correction codewords to use for the specified\r\n * version and error correction level.\r\n *\r\n * @param {Number} version QR Code version\r\n * @param {Number} errorCorrectionLevel Error correction level\r\n * @return {Number} Number of error correction codewords\r\n */\r\nexports.getTotalCodewordsCount = function getTotalCodewordsCount (version, errorCorrectionLevel) {\r\n switch (errorCorrectionLevel) {\r\n case ECLevel.L:\r\n return EC_CODEWORDS_TABLE[(version - 1) * 4 + 0]\r\n case ECLevel.M:\r\n return EC_CODEWORDS_TABLE[(version - 1) * 4 + 1]\r\n case ECLevel.Q:\r\n return EC_CODEWORDS_TABLE[(version - 1) * 4 + 2]\r\n case ECLevel.H:\r\n return EC_CODEWORDS_TABLE[(version - 1) * 4 + 3]\r\n default:\r\n return undefined\r\n }\r\n}\r\n","exports.L = { bit: 1 }\nexports.M = { bit: 0 }\nexports.Q = { bit: 3 }\nexports.H = { bit: 2 }\n\nfunction fromString (string) {\n if (typeof string !== 'string') {\n throw new Error('Param is not a string')\n }\n\n const lcStr = string.toLowerCase()\n\n switch (lcStr) {\n case 'l':\n case 'low':\n return exports.L\n\n case 'm':\n case 'medium':\n return exports.M\n\n case 'q':\n case 'quartile':\n return exports.Q\n\n case 'h':\n case 'high':\n return exports.H\n\n default:\n throw new Error('Unknown EC Level: ' + string)\n }\n}\n\nexports.isValid = function isValid (level) {\n return level && typeof level.bit !== 'undefined' &&\n level.bit >= 0 && level.bit < 4\n}\n\nexports.from = function from (value, defaultValue) {\n if (exports.isValid(value)) {\n return value\n }\n\n try {\n return fromString(value)\n } catch (e) {\n return defaultValue\n }\n}\n","const getSymbolSize = require('./utils').getSymbolSize\nconst FINDER_PATTERN_SIZE = 7\n\n/**\n * Returns an array containing the positions of each finder pattern.\n * Each array's element represent the top-left point of the pattern as (x, y) coordinates\n *\n * @param {Number} version QR Code version\n * @return {Array} Array of coordinates\n */\nexports.getPositions = function getPositions (version) {\n const size = getSymbolSize(version)\n\n return [\n // top-left\n [0, 0],\n // top-right\n [size - FINDER_PATTERN_SIZE, 0],\n // bottom-left\n [0, size - FINDER_PATTERN_SIZE]\n ]\n}\n","const Utils = require('./utils')\n\nconst G15 = (1 << 10) | (1 << 8) | (1 << 5) | (1 << 4) | (1 << 2) | (1 << 1) | (1 << 0)\nconst G15_MASK = (1 << 14) | (1 << 12) | (1 << 10) | (1 << 4) | (1 << 1)\nconst G15_BCH = Utils.getBCHDigit(G15)\n\n/**\n * Returns format information with relative error correction bits\n *\n * The format information is a 15-bit sequence containing 5 data bits,\n * with 10 error correction bits calculated using the (15, 5) BCH code.\n *\n * @param {Number} errorCorrectionLevel Error correction level\n * @param {Number} mask Mask pattern\n * @return {Number} Encoded format information bits\n */\nexports.getEncodedBits = function getEncodedBits (errorCorrectionLevel, mask) {\n const data = ((errorCorrectionLevel.bit << 3) | mask)\n let d = data << 10\n\n while (Utils.getBCHDigit(d) - G15_BCH >= 0) {\n d ^= (G15 << (Utils.getBCHDigit(d) - G15_BCH))\n }\n\n // xor final data with mask pattern in order to ensure that\n // no combination of Error Correction Level and data mask pattern\n // will result in an all-zero data string\n return ((data << 10) | d) ^ G15_MASK\n}\n","const EXP_TABLE = new Uint8Array(512)\nconst LOG_TABLE = new Uint8Array(256)\n/**\n * Precompute the log and anti-log tables for faster computation later\n *\n * For each possible value in the galois field 2^8, we will pre-compute\n * the logarithm and anti-logarithm (exponential) of this value\n *\n * ref {@link https://en.wikiversity.org/wiki/Reed%E2%80%93Solomon_codes_for_coders#Introduction_to_mathematical_fields}\n */\n;(function initTables () {\n let x = 1\n for (let i = 0; i < 255; i++) {\n EXP_TABLE[i] = x\n LOG_TABLE[x] = i\n\n x <<= 1 // multiply by 2\n\n // The QR code specification says to use byte-wise modulo 100011101 arithmetic.\n // This means that when a number is 256 or larger, it should be XORed with 0x11D.\n if (x & 0x100) { // similar to x >= 256, but a lot faster (because 0x100 == 256)\n x ^= 0x11D\n }\n }\n\n // Optimization: double the size of the anti-log table so that we don't need to mod 255 to\n // stay inside the bounds (because we will mainly use this table for the multiplication of\n // two GF numbers, no more).\n // @see {@link mul}\n for (let i = 255; i < 512; i++) {\n EXP_TABLE[i] = EXP_TABLE[i - 255]\n }\n}())\n\n/**\n * Returns log value of n inside Galois Field\n *\n * @param {Number} n\n * @return {Number}\n */\nexports.log = function log (n) {\n if (n < 1) throw new Error('log(' + n + ')')\n return LOG_TABLE[n]\n}\n\n/**\n * Returns anti-log value of n inside Galois Field\n *\n * @param {Number} n\n * @return {Number}\n */\nexports.exp = function exp (n) {\n return EXP_TABLE[n]\n}\n\n/**\n * Multiplies two number inside Galois Field\n *\n * @param {Number} x\n * @param {Number} y\n * @return {Number}\n */\nexports.mul = function mul (x, y) {\n if (x === 0 || y === 0) return 0\n\n // should be EXP_TABLE[(LOG_TABLE[x] + LOG_TABLE[y]) % 255] if EXP_TABLE wasn't oversized\n // @see {@link initTables}\n return EXP_TABLE[LOG_TABLE[x] + LOG_TABLE[y]]\n}\n","const Mode = require('./mode')\nconst Utils = require('./utils')\n\nfunction KanjiData (data) {\n this.mode = Mode.KANJI\n this.data = data\n}\n\nKanjiData.getBitsLength = function getBitsLength (length) {\n return length * 13\n}\n\nKanjiData.prototype.getLength = function getLength () {\n return this.data.length\n}\n\nKanjiData.prototype.getBitsLength = function getBitsLength () {\n return KanjiData.getBitsLength(this.data.length)\n}\n\nKanjiData.prototype.write = function (bitBuffer) {\n let i\n\n // In the Shift JIS system, Kanji characters are represented by a two byte combination.\n // These byte values are shifted from the JIS X 0208 values.\n // JIS X 0208 gives details of the shift coded representation.\n for (i = 0; i < this.data.length; i++) {\n let value = Utils.toSJIS(this.data[i])\n\n // For characters with Shift JIS values from 0x8140 to 0x9FFC:\n if (value >= 0x8140 && value <= 0x9FFC) {\n // Subtract 0x8140 from Shift JIS value\n value -= 0x8140\n\n // For characters with Shift JIS values from 0xE040 to 0xEBBF\n } else if (value >= 0xE040 && value <= 0xEBBF) {\n // Subtract 0xC140 from Shift JIS value\n value -= 0xC140\n } else {\n throw new Error(\n 'Invalid SJIS character: ' + this.data[i] + '\\n' +\n 'Make sure your charset is UTF-8')\n }\n\n // Multiply most significant byte of result by 0xC0\n // and add least significant byte to product\n value = (((value >>> 8) & 0xff) * 0xC0) + (value & 0xff)\n\n // Convert result to a 13-bit binary string\n bitBuffer.put(value, 13)\n }\n}\n\nmodule.exports = KanjiData\n","/**\n * Data mask pattern reference\n * @type {Object}\n */\nexports.Patterns = {\n PATTERN000: 0,\n PATTERN001: 1,\n PATTERN010: 2,\n PATTERN011: 3,\n PATTERN100: 4,\n PATTERN101: 5,\n PATTERN110: 6,\n PATTERN111: 7\n}\n\n/**\n * Weighted penalty scores for the undesirable features\n * @type {Object}\n */\nconst PenaltyScores = {\n N1: 3,\n N2: 3,\n N3: 40,\n N4: 10\n}\n\n/**\n * Check if mask pattern value is valid\n *\n * @param {Number} mask Mask pattern\n * @return {Boolean} true if valid, false otherwise\n */\nexports.isValid = function isValid (mask) {\n return mask != null && mask !== '' && !isNaN(mask) && mask >= 0 && mask <= 7\n}\n\n/**\n * Returns mask pattern from a value.\n * If value is not valid, returns undefined\n *\n * @param {Number|String} value Mask pattern value\n * @return {Number} Valid mask pattern or undefined\n */\nexports.from = function from (value) {\n return exports.isValid(value) ? parseInt(value, 10) : undefined\n}\n\n/**\n* Find adjacent modules in row/column with the same color\n* and assign a penalty value.\n*\n* Points: N1 + i\n* i is the amount by which the number of adjacent modules of the same color exceeds 5\n*/\nexports.getPenaltyN1 = function getPenaltyN1 (data) {\n const size = data.size\n let points = 0\n let sameCountCol = 0\n let sameCountRow = 0\n let lastCol = null\n let lastRow = null\n\n for (let row = 0; row < size; row++) {\n sameCountCol = sameCountRow = 0\n lastCol = lastRow = null\n\n for (let col = 0; col < size; col++) {\n let module = data.get(row, col)\n if (module === lastCol) {\n sameCountCol++\n } else {\n if (sameCountCol >= 5) points += PenaltyScores.N1 + (sameCountCol - 5)\n lastCol = module\n sameCountCol = 1\n }\n\n module = data.get(col, row)\n if (module === lastRow) {\n sameCountRow++\n } else {\n if (sameCountRow >= 5) points += PenaltyScores.N1 + (sameCountRow - 5)\n lastRow = module\n sameCountRow = 1\n }\n }\n\n if (sameCountCol >= 5) points += PenaltyScores.N1 + (sameCountCol - 5)\n if (sameCountRow >= 5) points += PenaltyScores.N1 + (sameCountRow - 5)\n }\n\n return points\n}\n\n/**\n * Find 2x2 blocks with the same color and assign a penalty value\n *\n * Points: N2 * (m - 1) * (n - 1)\n */\nexports.getPenaltyN2 = function getPenaltyN2 (data) {\n const size = data.size\n let points = 0\n\n for (let row = 0; row < size - 1; row++) {\n for (let col = 0; col < size - 1; col++) {\n const last = data.get(row, col) +\n data.get(row, col + 1) +\n data.get(row + 1, col) +\n data.get(row + 1, col + 1)\n\n if (last === 4 || last === 0) points++\n }\n }\n\n return points * PenaltyScores.N2\n}\n\n/**\n * Find 1:1:3:1:1 ratio (dark:light:dark:light:dark) pattern in row/column,\n * preceded or followed by light area 4 modules wide\n *\n * Points: N3 * number of pattern found\n */\nexports.getPenaltyN3 = function getPenaltyN3 (data) {\n const size = data.size\n let points = 0\n let bitsCol = 0\n let bitsRow = 0\n\n for (let row = 0; row < size; row++) {\n bitsCol = bitsRow = 0\n for (let col = 0; col < size; col++) {\n bitsCol = ((bitsCol << 1) & 0x7FF) | data.get(row, col)\n if (col >= 10 && (bitsCol === 0x5D0 || bitsCol === 0x05D)) points++\n\n bitsRow = ((bitsRow << 1) & 0x7FF) | data.get(col, row)\n if (col >= 10 && (bitsRow === 0x5D0 || bitsRow === 0x05D)) points++\n }\n }\n\n return points * PenaltyScores.N3\n}\n\n/**\n * Calculate proportion of dark modules in entire symbol\n *\n * Points: N4 * k\n *\n * k is the rating of the deviation of the proportion of dark modules\n * in the symbol from 50% in steps of 5%\n */\nexports.getPenaltyN4 = function getPenaltyN4 (data) {\n let darkCount = 0\n const modulesCount = data.data.length\n\n for (let i = 0; i < modulesCount; i++) darkCount += data.data[i]\n\n const k = Math.abs(Math.ceil((darkCount * 100 / modulesCount) / 5) - 10)\n\n return k * PenaltyScores.N4\n}\n\n/**\n * Return mask value at given position\n *\n * @param {Number} maskPattern Pattern reference value\n * @param {Number} i Row\n * @param {Number} j Column\n * @return {Boolean} Mask value\n */\nfunction getMaskAt (maskPattern, i, j) {\n switch (maskPattern) {\n case exports.Patterns.PATTERN000: return (i + j) % 2 === 0\n case exports.Patterns.PATTERN001: return i % 2 === 0\n case exports.Patterns.PATTERN010: return j % 3 === 0\n case exports.Patterns.PATTERN011: return (i + j) % 3 === 0\n case exports.Patterns.PATTERN100: return (Math.floor(i / 2) + Math.floor(j / 3)) % 2 === 0\n case exports.Patterns.PATTERN101: return (i * j) % 2 + (i * j) % 3 === 0\n case exports.Patterns.PATTERN110: return ((i * j) % 2 + (i * j) % 3) % 2 === 0\n case exports.Patterns.PATTERN111: return ((i * j) % 3 + (i + j) % 2) % 2 === 0\n\n default: throw new Error('bad maskPattern:' + maskPattern)\n }\n}\n\n/**\n * Apply a mask pattern to a BitMatrix\n *\n * @param {Number} pattern Pattern reference number\n * @param {BitMatrix} data BitMatrix data\n */\nexports.applyMask = function applyMask (pattern, data) {\n const size = data.size\n\n for (let col = 0; col < size; col++) {\n for (let row = 0; row < size; row++) {\n if (data.isReserved(row, col)) continue\n data.xor(row, col, getMaskAt(pattern, row, col))\n }\n }\n}\n\n/**\n * Returns the best mask pattern for data\n *\n * @param {BitMatrix} data\n * @return {Number} Mask pattern reference number\n */\nexports.getBestMask = function getBestMask (data, setupFormatFunc) {\n const numPatterns = Object.keys(exports.Patterns).length\n let bestPattern = 0\n let lowerPenalty = Infinity\n\n for (let p = 0; p < numPatterns; p++) {\n setupFormatFunc(p)\n exports.applyMask(p, data)\n\n // Calculate penalty\n const penalty =\n exports.getPenaltyN1(data) +\n exports.getPenaltyN2(data) +\n exports.getPenaltyN3(data) +\n exports.getPenaltyN4(data)\n\n // Undo previously applied mask\n exports.applyMask(p, data)\n\n if (penalty < lowerPenalty) {\n lowerPenalty = penalty\n bestPattern = p\n }\n }\n\n return bestPattern\n}\n","const VersionCheck = require('./version-check')\nconst Regex = require('./regex')\n\n/**\n * Numeric mode encodes data from the decimal digit set (0 - 9)\n * (byte values 30HEX to 39HEX).\n * Normally, 3 data characters are represented by 10 bits.\n *\n * @type {Object}\n */\nexports.NUMERIC = {\n id: 'Numeric',\n bit: 1 << 0,\n ccBits: [10, 12, 14]\n}\n\n/**\n * Alphanumeric mode encodes data from a set of 45 characters,\n * i.e. 10 numeric digits (0 - 9),\n * 26 alphabetic characters (A - Z),\n * and 9 symbols (SP, $, %, *, +, -, ., /, :).\n * Normally, two input characters are represented by 11 bits.\n *\n * @type {Object}\n */\nexports.ALPHANUMERIC = {\n id: 'Alphanumeric',\n bit: 1 << 1,\n ccBits: [9, 11, 13]\n}\n\n/**\n * In byte mode, data is encoded at 8 bits per character.\n *\n * @type {Object}\n */\nexports.BYTE = {\n id: 'Byte',\n bit: 1 << 2,\n ccBits: [8, 16, 16]\n}\n\n/**\n * The Kanji mode efficiently encodes Kanji characters in accordance with\n * the Shift JIS system based on JIS X 0208.\n * The Shift JIS values are shifted from the JIS X 0208 values.\n * JIS X 0208 gives details of the shift coded representation.\n * Each two-byte character value is compacted to a 13-bit binary codeword.\n *\n * @type {Object}\n */\nexports.KANJI = {\n id: 'Kanji',\n bit: 1 << 3,\n ccBits: [8, 10, 12]\n}\n\n/**\n * Mixed mode will contain a sequences of data in a combination of any of\n * the modes described above\n *\n * @type {Object}\n */\nexports.MIXED = {\n bit: -1\n}\n\n/**\n * Returns the number of bits needed to store the data length\n * according to QR Code specifications.\n *\n * @param {Mode} mode Data mode\n * @param {Number} version QR Code version\n * @return {Number} Number of bits\n */\nexports.getCharCountIndicator = function getCharCountIndicator (mode, version) {\n if (!mode.ccBits) throw new Error('Invalid mode: ' + mode)\n\n if (!VersionCheck.isValid(version)) {\n throw new Error('Invalid version: ' + version)\n }\n\n if (version >= 1 && version < 10) return mode.ccBits[0]\n else if (version < 27) return mode.ccBits[1]\n return mode.ccBits[2]\n}\n\n/**\n * Returns the most efficient mode to store the specified data\n *\n * @param {String} dataStr Input data string\n * @return {Mode} Best mode\n */\nexports.getBestModeForData = function getBestModeForData (dataStr) {\n if (Regex.testNumeric(dataStr)) return exports.NUMERIC\n else if (Regex.testAlphanumeric(dataStr)) return exports.ALPHANUMERIC\n else if (Regex.testKanji(dataStr)) return exports.KANJI\n else return exports.BYTE\n}\n\n/**\n * Return mode name as string\n *\n * @param {Mode} mode Mode object\n * @returns {String} Mode name\n */\nexports.toString = function toString (mode) {\n if (mode && mode.id) return mode.id\n throw new Error('Invalid mode')\n}\n\n/**\n * Check if input param is a valid mode object\n *\n * @param {Mode} mode Mode object\n * @returns {Boolean} True if valid mode, false otherwise\n */\nexports.isValid = function isValid (mode) {\n return mode && mode.bit && mode.ccBits\n}\n\n/**\n * Get mode object from its name\n *\n * @param {String} string Mode name\n * @returns {Mode} Mode object\n */\nfunction fromString (string) {\n if (typeof string !== 'string') {\n throw new Error('Param is not a string')\n }\n\n const lcStr = string.toLowerCase()\n\n switch (lcStr) {\n case 'numeric':\n return exports.NUMERIC\n case 'alphanumeric':\n return exports.ALPHANUMERIC\n case 'kanji':\n return exports.KANJI\n case 'byte':\n return exports.BYTE\n default:\n throw new Error('Unknown mode: ' + string)\n }\n}\n\n/**\n * Returns mode from a value.\n * If value is not a valid mode, returns defaultValue\n *\n * @param {Mode|String} value Encoding mode\n * @param {Mode} defaultValue Fallback value\n * @return {Mode} Encoding mode\n */\nexports.from = function from (value, defaultValue) {\n if (exports.isValid(value)) {\n return value\n }\n\n try {\n return fromString(value)\n } catch (e) {\n return defaultValue\n }\n}\n","const Mode = require('./mode')\n\nfunction NumericData (data) {\n this.mode = Mode.NUMERIC\n this.data = data.toString()\n}\n\nNumericData.getBitsLength = function getBitsLength (length) {\n return 10 * Math.floor(length / 3) + ((length % 3) ? ((length % 3) * 3 + 1) : 0)\n}\n\nNumericData.prototype.getLength = function getLength () {\n return this.data.length\n}\n\nNumericData.prototype.getBitsLength = function getBitsLength () {\n return NumericData.getBitsLength(this.data.length)\n}\n\nNumericData.prototype.write = function write (bitBuffer) {\n let i, group, value\n\n // The input data string is divided into groups of three digits,\n // and each group is converted to its 10-bit binary equivalent.\n for (i = 0; i + 3 <= this.data.length; i += 3) {\n group = this.data.substr(i, 3)\n value = parseInt(group, 10)\n\n bitBuffer.put(value, 10)\n }\n\n // If the number of input digits is not an exact multiple of three,\n // the final one or two digits are converted to 4 or 7 bits respectively.\n const remainingNum = this.data.length - i\n if (remainingNum > 0) {\n group = this.data.substr(i)\n value = parseInt(group, 10)\n\n bitBuffer.put(value, remainingNum * 3 + 1)\n }\n}\n\nmodule.exports = NumericData\n","const GF = require('./galois-field')\n\n/**\n * Multiplies two polynomials inside Galois Field\n *\n * @param {Uint8Array} p1 Polynomial\n * @param {Uint8Array} p2 Polynomial\n * @return {Uint8Array} Product of p1 and p2\n */\nexports.mul = function mul (p1, p2) {\n const coeff = new Uint8Array(p1.length + p2.length - 1)\n\n for (let i = 0; i < p1.length; i++) {\n for (let j = 0; j < p2.length; j++) {\n coeff[i + j] ^= GF.mul(p1[i], p2[j])\n }\n }\n\n return coeff\n}\n\n/**\n * Calculate the remainder of polynomials division\n *\n * @param {Uint8Array} divident Polynomial\n * @param {Uint8Array} divisor Polynomial\n * @return {Uint8Array} Remainder\n */\nexports.mod = function mod (divident, divisor) {\n let result = new Uint8Array(divident)\n\n while ((result.length - divisor.length) >= 0) {\n const coeff = result[0]\n\n for (let i = 0; i < divisor.length; i++) {\n result[i] ^= GF.mul(divisor[i], coeff)\n }\n\n // remove all zeros from buffer head\n let offset = 0\n while (offset < result.length && result[offset] === 0) offset++\n result = result.slice(offset)\n }\n\n return result\n}\n\n/**\n * Generate an irreducible generator polynomial of specified degree\n * (used by Reed-Solomon encoder)\n *\n * @param {Number} degree Degree of the generator polynomial\n * @return {Uint8Array} Buffer containing polynomial coefficients\n */\nexports.generateECPolynomial = function generateECPolynomial (degree) {\n let poly = new Uint8Array([1])\n for (let i = 0; i < degree; i++) {\n poly = exports.mul(poly, new Uint8Array([1, GF.exp(i)]))\n }\n\n return poly\n}\n","const Utils = require('./utils')\nconst ECLevel = require('./error-correction-level')\nconst BitBuffer = require('./bit-buffer')\nconst BitMatrix = require('./bit-matrix')\nconst AlignmentPattern = require('./alignment-pattern')\nconst FinderPattern = require('./finder-pattern')\nconst MaskPattern = require('./mask-pattern')\nconst ECCode = require('./error-correction-code')\nconst ReedSolomonEncoder = require('./reed-solomon-encoder')\nconst Version = require('./version')\nconst FormatInfo = require('./format-info')\nconst Mode = require('./mode')\nconst Segments = require('./segments')\n\n/**\n * QRCode for JavaScript\n *\n * modified by Ryan Day for nodejs support\n * Copyright (c) 2011 Ryan Day\n *\n * Licensed under the MIT license:\n * http://www.opensource.org/licenses/mit-license.php\n *\n//---------------------------------------------------------------------\n// QRCode for JavaScript\n//\n// Copyright (c) 2009 Kazuhiko Arase\n//\n// URL: http://www.d-project.com/\n//\n// Licensed under the MIT license:\n// http://www.opensource.org/licenses/mit-license.php\n//\n// The word \"QR Code\" is registered trademark of\n// DENSO WAVE INCORPORATED\n// http://www.denso-wave.com/qrcode/faqpatent-e.html\n//\n//---------------------------------------------------------------------\n*/\n\n/**\n * Add finder patterns bits to matrix\n *\n * @param {BitMatrix} matrix Modules matrix\n * @param {Number} version QR Code version\n */\nfunction setupFinderPattern (matrix, version) {\n const size = matrix.size\n const pos = FinderPattern.getPositions(version)\n\n for (let i = 0; i < pos.length; i++) {\n const row = pos[i][0]\n const col = pos[i][1]\n\n for (let r = -1; r <= 7; r++) {\n if (row + r <= -1 || size <= row + r) continue\n\n for (let c = -1; c <= 7; c++) {\n if (col + c <= -1 || size <= col + c) continue\n\n if ((r >= 0 && r <= 6 && (c === 0 || c === 6)) ||\n (c >= 0 && c <= 6 && (r === 0 || r === 6)) ||\n (r >= 2 && r <= 4 && c >= 2 && c <= 4)) {\n matrix.set(row + r, col + c, true, true)\n } else {\n matrix.set(row + r, col + c, false, true)\n }\n }\n }\n }\n}\n\n/**\n * Add timing pattern bits to matrix\n *\n * Note: this function must be called before {@link setupAlignmentPattern}\n *\n * @param {BitMatrix} matrix Modules matrix\n */\nfunction setupTimingPattern (matrix) {\n const size = matrix.size\n\n for (let r = 8; r < size - 8; r++) {\n const value = r % 2 === 0\n matrix.set(r, 6, value, true)\n matrix.set(6, r, value, true)\n }\n}\n\n/**\n * Add alignment patterns bits to matrix\n *\n * Note: this function must be called after {@link setupTimingPattern}\n *\n * @param {BitMatrix} matrix Modules matrix\n * @param {Number} version QR Code version\n */\nfunction setupAlignmentPattern (matrix, version) {\n const pos = AlignmentPattern.getPositions(version)\n\n for (let i = 0; i < pos.length; i++) {\n const row = pos[i][0]\n const col = pos[i][1]\n\n for (let r = -2; r <= 2; r++) {\n for (let c = -2; c <= 2; c++) {\n if (r === -2 || r === 2 || c === -2 || c === 2 ||\n (r === 0 && c === 0)) {\n matrix.set(row + r, col + c, true, true)\n } else {\n matrix.set(row + r, col + c, false, true)\n }\n }\n }\n }\n}\n\n/**\n * Add version info bits to matrix\n *\n * @param {BitMatrix} matrix Modules matrix\n * @param {Number} version QR Code version\n */\nfunction setupVersionInfo (matrix, version) {\n const size = matrix.size\n const bits = Version.getEncodedBits(version)\n let row, col, mod\n\n for (let i = 0; i < 18; i++) {\n row = Math.floor(i / 3)\n col = i % 3 + size - 8 - 3\n mod = ((bits >> i) & 1) === 1\n\n matrix.set(row, col, mod, true)\n matrix.set(col, row, mod, true)\n }\n}\n\n/**\n * Add format info bits to matrix\n *\n * @param {BitMatrix} matrix Modules matrix\n * @param {ErrorCorrectionLevel} errorCorrectionLevel Error correction level\n * @param {Number} maskPattern Mask pattern reference value\n */\nfunction setupFormatInfo (matrix, errorCorrectionLevel, maskPattern) {\n const size = matrix.size\n const bits = FormatInfo.getEncodedBits(errorCorrectionLevel, maskPattern)\n let i, mod\n\n for (i = 0; i < 15; i++) {\n mod = ((bits >> i) & 1) === 1\n\n // vertical\n if (i < 6) {\n matrix.set(i, 8, mod, true)\n } else if (i < 8) {\n matrix.set(i + 1, 8, mod, true)\n } else {\n matrix.set(size - 15 + i, 8, mod, true)\n }\n\n // horizontal\n if (i < 8) {\n matrix.set(8, size - i - 1, mod, true)\n } else if (i < 9) {\n matrix.set(8, 15 - i - 1 + 1, mod, true)\n } else {\n matrix.set(8, 15 - i - 1, mod, true)\n }\n }\n\n // fixed module\n matrix.set(size - 8, 8, 1, true)\n}\n\n/**\n * Add encoded data bits to matrix\n *\n * @param {BitMatrix} matrix Modules matrix\n * @param {Uint8Array} data Data codewords\n */\nfunction setupData (matrix, data) {\n const size = matrix.size\n let inc = -1\n let row = size - 1\n let bitIndex = 7\n let byteIndex = 0\n\n for (let col = size - 1; col > 0; col -= 2) {\n if (col === 6) col--\n\n while (true) {\n for (let c = 0; c < 2; c++) {\n if (!matrix.isReserved(row, col - c)) {\n let dark = false\n\n if (byteIndex < data.length) {\n dark = (((data[byteIndex] >>> bitIndex) & 1) === 1)\n }\n\n matrix.set(row, col - c, dark)\n bitIndex--\n\n if (bitIndex === -1) {\n byteIndex++\n bitIndex = 7\n }\n }\n }\n\n row += inc\n\n if (row < 0 || size <= row) {\n row -= inc\n inc = -inc\n break\n }\n }\n }\n}\n\n/**\n * Create encoded codewords from data input\n *\n * @param {Number} version QR Code version\n * @param {ErrorCorrectionLevel} errorCorrectionLevel Error correction level\n * @param {ByteData} data Data input\n * @return {Uint8Array} Buffer containing encoded codewords\n */\nfunction createData (version, errorCorrectionLevel, segments) {\n // Prepare data buffer\n const buffer = new BitBuffer()\n\n segments.forEach(function (data) {\n // prefix data with mode indicator (4 bits)\n buffer.put(data.mode.bit, 4)\n\n // Prefix data with character count indicator.\n // The character count indicator is a string of bits that represents the\n // number of characters that are being encoded.\n // The character count indicator must be placed after the mode indicator\n // and must be a certain number of bits long, depending on the QR version\n // and data mode\n // @see {@link Mode.getCharCountIndicator}.\n buffer.put(data.getLength(), Mode.getCharCountIndicator(data.mode, version))\n\n // add binary data sequence to buffer\n data.write(buffer)\n })\n\n // Calculate required number of bits\n const totalCodewords = Utils.getSymbolTotalCodewords(version)\n const ecTotalCodewords = ECCode.getTotalCodewordsCount(version, errorCorrectionLevel)\n const dataTotalCodewordsBits = (totalCodewords - ecTotalCodewords) * 8\n\n // Add a terminator.\n // If the bit string is shorter than the total number of required bits,\n // a terminator of up to four 0s must be added to the right side of the string.\n // If the bit string is more than four bits shorter than the required number of bits,\n // add four 0s to the end.\n if (buffer.getLengthInBits() + 4 <= dataTotalCodewordsBits) {\n buffer.put(0, 4)\n }\n\n // If the bit string is fewer than four bits shorter, add only the number of 0s that\n // are needed to reach the required number of bits.\n\n // After adding the terminator, if the number of bits in the string is not a multiple of 8,\n // pad the string on the right with 0s to make the string's length a multiple of 8.\n while (buffer.getLengthInBits() % 8 !== 0) {\n buffer.putBit(0)\n }\n\n // Add pad bytes if the string is still shorter than the total number of required bits.\n // Extend the buffer to fill the data capacity of the symbol corresponding to\n // the Version and Error Correction Level by adding the Pad Codewords 11101100 (0xEC)\n // and 00010001 (0x11) alternately.\n const remainingByte = (dataTotalCodewordsBits - buffer.getLengthInBits()) / 8\n for (let i = 0; i < remainingByte; i++) {\n buffer.put(i % 2 ? 0x11 : 0xEC, 8)\n }\n\n return createCodewords(buffer, version, errorCorrectionLevel)\n}\n\n/**\n * Encode input data with Reed-Solomon and return codewords with\n * relative error correction bits\n *\n * @param {BitBuffer} bitBuffer Data to encode\n * @param {Number} version QR Code version\n * @param {ErrorCorrectionLevel} errorCorrectionLevel Error correction level\n * @return {Uint8Array} Buffer containing encoded codewords\n */\nfunction createCodewords (bitBuffer, version, errorCorrectionLevel) {\n // Total codewords for this QR code version (Data + Error correction)\n const totalCodewords = Utils.getSymbolTotalCodewords(version)\n\n // Total number of error correction codewords\n const ecTotalCodewords = ECCode.getTotalCodewordsCount(version, errorCorrectionLevel)\n\n // Total number of data codewords\n const dataTotalCodewords = totalCodewords - ecTotalCodewords\n\n // Total number of blocks\n const ecTotalBlocks = ECCode.getBlocksCount(version, errorCorrectionLevel)\n\n // Calculate how many blocks each group should contain\n const blocksInGroup2 = totalCodewords % ecTotalBlocks\n const blocksInGroup1 = ecTotalBlocks - blocksInGroup2\n\n const totalCodewordsInGroup1 = Math.floor(totalCodewords / ecTotalBlocks)\n\n const dataCodewordsInGroup1 = Math.floor(dataTotalCodewords / ecTotalBlocks)\n const dataCodewordsInGroup2 = dataCodewordsInGroup1 + 1\n\n // Number of EC codewords is the same for both groups\n const ecCount = totalCodewordsInGroup1 - dataCodewordsInGroup1\n\n // Initialize a Reed-Solomon encoder with a generator polynomial of degree ecCount\n const rs = new ReedSolomonEncoder(ecCount)\n\n let offset = 0\n const dcData = new Array(ecTotalBlocks)\n const ecData = new Array(ecTotalBlocks)\n let maxDataSize = 0\n const buffer = new Uint8Array(bitBuffer.buffer)\n\n // Divide the buffer into the required number of blocks\n for (let b = 0; b < ecTotalBlocks; b++) {\n const dataSize = b < blocksInGroup1 ? dataCodewordsInGroup1 : dataCodewordsInGroup2\n\n // extract a block of data from buffer\n dcData[b] = buffer.slice(offset, offset + dataSize)\n\n // Calculate EC codewords for this data block\n ecData[b] = rs.encode(dcData[b])\n\n offset += dataSize\n maxDataSize = Math.max(maxDataSize, dataSize)\n }\n\n // Create final data\n // Interleave the data and error correction codewords from each block\n const data = new Uint8Array(totalCodewords)\n let index = 0\n let i, r\n\n // Add data codewords\n for (i = 0; i < maxDataSize; i++) {\n for (r = 0; r < ecTotalBlocks; r++) {\n if (i < dcData[r].length) {\n data[index++] = dcData[r][i]\n }\n }\n }\n\n // Apped EC codewords\n for (i = 0; i < ecCount; i++) {\n for (r = 0; r < ecTotalBlocks; r++) {\n data[index++] = ecData[r][i]\n }\n }\n\n return data\n}\n\n/**\n * Build QR Code symbol\n *\n * @param {String} data Input string\n * @param {Number} version QR Code version\n * @param {ErrorCorretionLevel} errorCorrectionLevel Error level\n * @param {MaskPattern} maskPattern Mask pattern\n * @return {Object} Object containing symbol data\n */\nfunction createSymbol (data, version, errorCorrectionLevel, maskPattern) {\n let segments\n\n if (Array.isArray(data)) {\n segments = Segments.fromArray(data)\n } else if (typeof data === 'string') {\n let estimatedVersion = version\n\n if (!estimatedVersion) {\n const rawSegments = Segments.rawSplit(data)\n\n // Estimate best version that can contain raw splitted segments\n estimatedVersion = Version.getBestVersionForData(rawSegments, errorCorrectionLevel)\n }\n\n // Build optimized segments\n // If estimated version is undefined, try with the highest version\n segments = Segments.fromString(data, estimatedVersion || 40)\n } else {\n throw new Error('Invalid data')\n }\n\n // Get the min version that can contain data\n const bestVersion = Version.getBestVersionForData(segments, errorCorrectionLevel)\n\n // If no version is found, data cannot be stored\n if (!bestVersion) {\n throw new Error('The amount of data is too big to be stored in a QR Code')\n }\n\n // If not specified, use min version as default\n if (!version) {\n version = bestVersion\n\n // Check if the specified version can contain the data\n } else if (version < bestVersion) {\n throw new Error('\\n' +\n 'The chosen QR Code version cannot contain this amount of data.\\n' +\n 'Minimum version required to store current data is: ' + bestVersion + '.\\n'\n )\n }\n\n const dataBits = createData(version, errorCorrectionLevel, segments)\n\n // Allocate matrix buffer\n const moduleCount = Utils.getSymbolSize(version)\n const modules = new BitMatrix(moduleCount)\n\n // Add function modules\n setupFinderPattern(modules, version)\n setupTimingPattern(modules)\n setupAlignmentPattern(modules, version)\n\n // Add temporary dummy bits for format info just to set them as reserved.\n // This is needed to prevent these bits from being masked by {@link MaskPattern.applyMask}\n // since the masking operation must be performed only on the encoding region.\n // These blocks will be replaced with correct values later in code.\n setupFormatInfo(modules, errorCorrectionLevel, 0)\n\n if (version >= 7) {\n setupVersionInfo(modules, version)\n }\n\n // Add data codewords\n setupData(modules, dataBits)\n\n if (isNaN(maskPattern)) {\n // Find best mask pattern\n maskPattern = MaskPattern.getBestMask(modules,\n setupFormatInfo.bind(null, modules, errorCorrectionLevel))\n }\n\n // Apply mask pattern\n MaskPattern.applyMask(maskPattern, modules)\n\n // Replace format info bits with correct values\n setupFormatInfo(modules, errorCorrectionLevel, maskPattern)\n\n return {\n modules: modules,\n version: version,\n errorCorrectionLevel: errorCorrectionLevel,\n maskPattern: maskPattern,\n segments: segments\n }\n}\n\n/**\n * QR Code\n *\n * @param {String | Array} data Input data\n * @param {Object} options Optional configurations\n * @param {Number} options.version QR Code version\n * @param {String} options.errorCorrectionLevel Error correction level\n * @param {Function} options.toSJISFunc Helper func to convert utf8 to sjis\n */\nexports.create = function create (data, options) {\n if (typeof data === 'undefined' || data === '') {\n throw new Error('No input text')\n }\n\n let errorCorrectionLevel = ECLevel.M\n let version\n let mask\n\n if (typeof options !== 'undefined') {\n // Use higher error correction level as default\n errorCorrectionLevel = ECLevel.from(options.errorCorrectionLevel, ECLevel.M)\n version = Version.from(options.version)\n mask = MaskPattern.from(options.maskPattern)\n\n if (options.toSJISFunc) {\n Utils.setToSJISFunction(options.toSJISFunc)\n }\n }\n\n return createSymbol(data, version, errorCorrectionLevel, mask)\n}\n","const Polynomial = require('./polynomial')\n\nfunction ReedSolomonEncoder (degree) {\n this.genPoly = undefined\n this.degree = degree\n\n if (this.degree) this.initialize(this.degree)\n}\n\n/**\n * Initialize the encoder.\n * The input param should correspond to the number of error correction codewords.\n *\n * @param {Number} degree\n */\nReedSolomonEncoder.prototype.initialize = function initialize (degree) {\n // create an irreducible generator polynomial\n this.degree = degree\n this.genPoly = Polynomial.generateECPolynomial(this.degree)\n}\n\n/**\n * Encodes a chunk of data\n *\n * @param {Uint8Array} data Buffer containing input data\n * @return {Uint8Array} Buffer containing encoded data\n */\nReedSolomonEncoder.prototype.encode = function encode (data) {\n if (!this.genPoly) {\n throw new Error('Encoder not initialized')\n }\n\n // Calculate EC for this data block\n // extends data size to data+genPoly size\n const paddedData = new Uint8Array(data.length + this.degree)\n paddedData.set(data)\n\n // The error correction codewords are the remainder after dividing the data codewords\n // by a generator polynomial\n const remainder = Polynomial.mod(paddedData, this.genPoly)\n\n // return EC data blocks (last n byte, where n is the degree of genPoly)\n // If coefficients number in remainder are less than genPoly degree,\n // pad with 0s to the left to reach the needed number of coefficients\n const start = this.degree - remainder.length\n if (start > 0) {\n const buff = new Uint8Array(this.degree)\n buff.set(remainder, start)\n\n return buff\n }\n\n return remainder\n}\n\nmodule.exports = ReedSolomonEncoder\n","const numeric = '[0-9]+'\nconst alphanumeric = '[A-Z $%*+\\\\-./:]+'\nlet kanji = '(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|' +\n '[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|' +\n '[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|' +\n '[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+'\nkanji = kanji.replace(/u/g, '\\\\u')\n\nconst byte = '(?:(?![A-Z0-9 $%*+\\\\-./:]|' + kanji + ')(?:.|[\\r\\n]))+'\n\nexports.KANJI = new RegExp(kanji, 'g')\nexports.BYTE_KANJI = new RegExp('[^A-Z0-9 $%*+\\\\-./:]+', 'g')\nexports.BYTE = new RegExp(byte, 'g')\nexports.NUMERIC = new RegExp(numeric, 'g')\nexports.ALPHANUMERIC = new RegExp(alphanumeric, 'g')\n\nconst TEST_KANJI = new RegExp('^' + kanji + '$')\nconst TEST_NUMERIC = new RegExp('^' + numeric + '$')\nconst TEST_ALPHANUMERIC = new RegExp('^[A-Z0-9 $%*+\\\\-./:]+$')\n\nexports.testKanji = function testKanji (str) {\n return TEST_KANJI.test(str)\n}\n\nexports.testNumeric = function testNumeric (str) {\n return TEST_NUMERIC.test(str)\n}\n\nexports.testAlphanumeric = function testAlphanumeric (str) {\n return TEST_ALPHANUMERIC.test(str)\n}\n","const Mode = require('./mode')\nconst NumericData = require('./numeric-data')\nconst AlphanumericData = require('./alphanumeric-data')\nconst ByteData = require('./byte-data')\nconst KanjiData = require('./kanji-data')\nconst Regex = require('./regex')\nconst Utils = require('./utils')\nconst dijkstra = require('dijkstrajs')\n\n/**\n * Returns UTF8 byte length\n *\n * @param {String} str Input string\n * @return {Number} Number of byte\n */\nfunction getStringByteLength (str) {\n return unescape(encodeURIComponent(str)).length\n}\n\n/**\n * Get a list of segments of the specified mode\n * from a string\n *\n * @param {Mode} mode Segment mode\n * @param {String} str String to process\n * @return {Array} Array of object with segments data\n */\nfunction getSegments (regex, mode, str) {\n const segments = []\n let result\n\n while ((result = regex.exec(str)) !== null) {\n segments.push({\n data: result[0],\n index: result.index,\n mode: mode,\n length: result[0].length\n })\n }\n\n return segments\n}\n\n/**\n * Extracts a series of segments with the appropriate\n * modes from a string\n *\n * @param {String} dataStr Input string\n * @return {Array} Array of object with segments data\n */\nfunction getSegmentsFromString (dataStr) {\n const numSegs = getSegments(Regex.NUMERIC, Mode.NUMERIC, dataStr)\n const alphaNumSegs = getSegments(Regex.ALPHANUMERIC, Mode.ALPHANUMERIC, dataStr)\n let byteSegs\n let kanjiSegs\n\n if (Utils.isKanjiModeEnabled()) {\n byteSegs = getSegments(Regex.BYTE, Mode.BYTE, dataStr)\n kanjiSegs = getSegments(Regex.KANJI, Mode.KANJI, dataStr)\n } else {\n byteSegs = getSegments(Regex.BYTE_KANJI, Mode.BYTE, dataStr)\n kanjiSegs = []\n }\n\n const segs = numSegs.concat(alphaNumSegs, byteSegs, kanjiSegs)\n\n return segs\n .sort(function (s1, s2) {\n return s1.index - s2.index\n })\n .map(function (obj) {\n return {\n data: obj.data,\n mode: obj.mode,\n length: obj.length\n }\n })\n}\n\n/**\n * Returns how many bits are needed to encode a string of\n * specified length with the specified mode\n *\n * @param {Number} length String length\n * @param {Mode} mode Segment mode\n * @return {Number} Bit length\n */\nfunction getSegmentBitsLength (length, mode) {\n switch (mode) {\n case Mode.NUMERIC:\n return NumericData.getBitsLength(length)\n case Mode.ALPHANUMERIC:\n return AlphanumericData.getBitsLength(length)\n case Mode.KANJI:\n return KanjiData.getBitsLength(length)\n case Mode.BYTE:\n return ByteData.getBitsLength(length)\n }\n}\n\n/**\n * Merges adjacent segments which have the same mode\n *\n * @param {Array} segs Array of object with segments data\n * @return {Array} Array of object with segments data\n */\nfunction mergeSegments (segs) {\n return segs.reduce(function (acc, curr) {\n const prevSeg = acc.length - 1 >= 0 ? acc[acc.length - 1] : null\n if (prevSeg && prevSeg.mode === curr.mode) {\n acc[acc.length - 1].data += curr.data\n return acc\n }\n\n acc.push(curr)\n return acc\n }, [])\n}\n\n/**\n * Generates a list of all possible nodes combination which\n * will be used to build a segments graph.\n *\n * Nodes are divided by groups. Each group will contain a list of all the modes\n * in which is possible to encode the given text.\n *\n * For example the text '12345' can be encoded as Numeric, Alphanumeric or Byte.\n * The group for '12345' will contain then 3 objects, one for each\n * possible encoding mode.\n *\n * Each node represents a possible segment.\n *\n * @param {Array} segs Array of object with segments data\n * @return {Array} Array of object with segments data\n */\nfunction buildNodes (segs) {\n const nodes = []\n for (let i = 0; i < segs.length; i++) {\n const seg = segs[i]\n\n switch (seg.mode) {\n case Mode.NUMERIC:\n nodes.push([seg,\n { data: seg.data, mode: Mode.ALPHANUMERIC, length: seg.length },\n { data: seg.data, mode: Mode.BYTE, length: seg.length }\n ])\n break\n case Mode.ALPHANUMERIC:\n nodes.push([seg,\n { data: seg.data, mode: Mode.BYTE, length: seg.length }\n ])\n break\n case Mode.KANJI:\n nodes.push([seg,\n { data: seg.data, mode: Mode.BYTE, length: getStringByteLength(seg.data) }\n ])\n break\n case Mode.BYTE:\n nodes.push([\n { data: seg.data, mode: Mode.BYTE, length: getStringByteLength(seg.data) }\n ])\n }\n }\n\n return nodes\n}\n\n/**\n * Builds a graph from a list of nodes.\n * All segments in each node group will be connected with all the segments of\n * the next group and so on.\n *\n * At each connection will be assigned a weight depending on the\n * segment's byte length.\n *\n * @param {Array} nodes Array of object with segments data\n * @param {Number} version QR Code version\n * @return {Object} Graph of all possible segments\n */\nfunction buildGraph (nodes, version) {\n const table = {}\n const graph = { start: {} }\n let prevNodeIds = ['start']\n\n for (let i = 0; i < nodes.length; i++) {\n const nodeGroup = nodes[i]\n const currentNodeIds = []\n\n for (let j = 0; j < nodeGroup.length; j++) {\n const node = nodeGroup[j]\n const key = '' + i + j\n\n currentNodeIds.push(key)\n table[key] = { node: node, lastCount: 0 }\n graph[key] = {}\n\n for (let n = 0; n < prevNodeIds.length; n++) {\n const prevNodeId = prevNodeIds[n]\n\n if (table[prevNodeId] && table[prevNodeId].node.mode === node.mode) {\n graph[prevNodeId][key] =\n getSegmentBitsLength(table[prevNodeId].lastCount + node.length, node.mode) -\n getSegmentBitsLength(table[prevNodeId].lastCount, node.mode)\n\n table[prevNodeId].lastCount += node.length\n } else {\n if (table[prevNodeId]) table[prevNodeId].lastCount = node.length\n\n graph[prevNodeId][key] = getSegmentBitsLength(node.length, node.mode) +\n 4 + Mode.getCharCountIndicator(node.mode, version) // switch cost\n }\n }\n }\n\n prevNodeIds = currentNodeIds\n }\n\n for (let n = 0; n < prevNodeIds.length; n++) {\n graph[prevNodeIds[n]].end = 0\n }\n\n return { map: graph, table: table }\n}\n\n/**\n * Builds a segment from a specified data and mode.\n * If a mode is not specified, the more suitable will be used.\n *\n * @param {String} data Input data\n * @param {Mode | String} modesHint Data mode\n * @return {Segment} Segment\n */\nfunction buildSingleSegment (data, modesHint) {\n let mode\n const bestMode = Mode.getBestModeForData(data)\n\n mode = Mode.from(modesHint, bestMode)\n\n // Make sure data can be encoded\n if (mode !== Mode.BYTE && mode.bit < bestMode.bit) {\n throw new Error('\"' + data + '\"' +\n ' cannot be encoded with mode ' + Mode.toString(mode) +\n '.\\n Suggested mode is: ' + Mode.toString(bestMode))\n }\n\n // Use Mode.BYTE if Kanji support is disabled\n if (mode === Mode.KANJI && !Utils.isKanjiModeEnabled()) {\n mode = Mode.BYTE\n }\n\n switch (mode) {\n case Mode.NUMERIC:\n return new NumericData(data)\n\n case Mode.ALPHANUMERIC:\n return new AlphanumericData(data)\n\n case Mode.KANJI:\n return new KanjiData(data)\n\n case Mode.BYTE:\n return new ByteData(data)\n }\n}\n\n/**\n * Builds a list of segments from an array.\n * Array can contain Strings or Objects with segment's info.\n *\n * For each item which is a string, will be generated a segment with the given\n * string and the more appropriate encoding mode.\n *\n * For each item which is an object, will be generated a segment with the given\n * data and mode.\n * Objects must contain at least the property \"data\".\n * If property \"mode\" is not present, the more suitable mode will be used.\n *\n * @param {Array} array Array of objects with segments data\n * @return {Array} Array of Segments\n */\nexports.fromArray = function fromArray (array) {\n return array.reduce(function (acc, seg) {\n if (typeof seg === 'string') {\n acc.push(buildSingleSegment(seg, null))\n } else if (seg.data) {\n acc.push(buildSingleSegment(seg.data, seg.mode))\n }\n\n return acc\n }, [])\n}\n\n/**\n * Builds an optimized sequence of segments from a string,\n * which will produce the shortest possible bitstream.\n *\n * @param {String} data Input string\n * @param {Number} version QR Code version\n * @return {Array} Array of segments\n */\nexports.fromString = function fromString (data, version) {\n const segs = getSegmentsFromString(data, Utils.isKanjiModeEnabled())\n\n const nodes = buildNodes(segs)\n const graph = buildGraph(nodes, version)\n const path = dijkstra.find_path(graph.map, 'start', 'end')\n\n const optimizedSegs = []\n for (let i = 1; i < path.length - 1; i++) {\n optimizedSegs.push(graph.table[path[i]].node)\n }\n\n return exports.fromArray(mergeSegments(optimizedSegs))\n}\n\n/**\n * Splits a string in various segments with the modes which\n * best represent their content.\n * The produced segments are far from being optimized.\n * The output of this function is only used to estimate a QR Code version\n * which may contain the data.\n *\n * @param {string} data Input string\n * @return {Array} Array of segments\n */\nexports.rawSplit = function rawSplit (data) {\n return exports.fromArray(\n getSegmentsFromString(data, Utils.isKanjiModeEnabled())\n )\n}\n","let toSJISFunction\nconst CODEWORDS_COUNT = [\n 0, // Not used\n 26, 44, 70, 100, 134, 172, 196, 242, 292, 346,\n 404, 466, 532, 581, 655, 733, 815, 901, 991, 1085,\n 1156, 1258, 1364, 1474, 1588, 1706, 1828, 1921, 2051, 2185,\n 2323, 2465, 2611, 2761, 2876, 3034, 3196, 3362, 3532, 3706\n]\n\n/**\n * Returns the QR Code size for the specified version\n *\n * @param {Number} version QR Code version\n * @return {Number} size of QR code\n */\nexports.getSymbolSize = function getSymbolSize (version) {\n if (!version) throw new Error('\"version\" cannot be null or undefined')\n if (version < 1 || version > 40) throw new Error('\"version\" should be in range from 1 to 40')\n return version * 4 + 17\n}\n\n/**\n * Returns the total number of codewords used to store data and EC information.\n *\n * @param {Number} version QR Code version\n * @return {Number} Data length in bits\n */\nexports.getSymbolTotalCodewords = function getSymbolTotalCodewords (version) {\n return CODEWORDS_COUNT[version]\n}\n\n/**\n * Encode data with Bose-Chaudhuri-Hocquenghem\n *\n * @param {Number} data Value to encode\n * @return {Number} Encoded value\n */\nexports.getBCHDigit = function (data) {\n let digit = 0\n\n while (data !== 0) {\n digit++\n data >>>= 1\n }\n\n return digit\n}\n\nexports.setToSJISFunction = function setToSJISFunction (f) {\n if (typeof f !== 'function') {\n throw new Error('\"toSJISFunc\" is not a valid function.')\n }\n\n toSJISFunction = f\n}\n\nexports.isKanjiModeEnabled = function () {\n return typeof toSJISFunction !== 'undefined'\n}\n\nexports.toSJIS = function toSJIS (kanji) {\n return toSJISFunction(kanji)\n}\n","/**\n * Check if QR Code version is valid\n *\n * @param {Number} version QR Code version\n * @return {Boolean} true if valid version, false otherwise\n */\nexports.isValid = function isValid (version) {\n return !isNaN(version) && version >= 1 && version <= 40\n}\n","const Utils = require('./utils')\nconst ECCode = require('./error-correction-code')\nconst ECLevel = require('./error-correction-level')\nconst Mode = require('./mode')\nconst VersionCheck = require('./version-check')\n\n// Generator polynomial used to encode version information\nconst G18 = (1 << 12) | (1 << 11) | (1 << 10) | (1 << 9) | (1 << 8) | (1 << 5) | (1 << 2) | (1 << 0)\nconst G18_BCH = Utils.getBCHDigit(G18)\n\nfunction getBestVersionForDataLength (mode, length, errorCorrectionLevel) {\n for (let currentVersion = 1; currentVersion <= 40; currentVersion++) {\n if (length <= exports.getCapacity(currentVersion, errorCorrectionLevel, mode)) {\n return currentVersion\n }\n }\n\n return undefined\n}\n\nfunction getReservedBitsCount (mode, version) {\n // Character count indicator + mode indicator bits\n return Mode.getCharCountIndicator(mode, version) + 4\n}\n\nfunction getTotalBitsFromDataArray (segments, version) {\n let totalBits = 0\n\n segments.forEach(function (data) {\n const reservedBits = getReservedBitsCount(data.mode, version)\n totalBits += reservedBits + data.getBitsLength()\n })\n\n return totalBits\n}\n\nfunction getBestVersionForMixedData (segments, errorCorrectionLevel) {\n for (let currentVersion = 1; currentVersion <= 40; currentVersion++) {\n const length = getTotalBitsFromDataArray(segments, currentVersion)\n if (length <= exports.getCapacity(currentVersion, errorCorrectionLevel, Mode.MIXED)) {\n return currentVersion\n }\n }\n\n return undefined\n}\n\n/**\n * Returns version number from a value.\n * If value is not a valid version, returns defaultValue\n *\n * @param {Number|String} value QR Code version\n * @param {Number} defaultValue Fallback value\n * @return {Number} QR Code version number\n */\nexports.from = function from (value, defaultValue) {\n if (VersionCheck.isValid(value)) {\n return parseInt(value, 10)\n }\n\n return defaultValue\n}\n\n/**\n * Returns how much data can be stored with the specified QR code version\n * and error correction level\n *\n * @param {Number} version QR Code version (1-40)\n * @param {Number} errorCorrectionLevel Error correction level\n * @param {Mode} mode Data mode\n * @return {Number} Quantity of storable data\n */\nexports.getCapacity = function getCapacity (version, errorCorrectionLevel, mode) {\n if (!VersionCheck.isValid(version)) {\n throw new Error('Invalid QR Code version')\n }\n\n // Use Byte mode as default\n if (typeof mode === 'undefined') mode = Mode.BYTE\n\n // Total codewords for this QR code version (Data + Error correction)\n const totalCodewords = Utils.getSymbolTotalCodewords(version)\n\n // Total number of error correction codewords\n const ecTotalCodewords = ECCode.getTotalCodewordsCount(version, errorCorrectionLevel)\n\n // Total number of data codewords\n const dataTotalCodewordsBits = (totalCodewords - ecTotalCodewords) * 8\n\n if (mode === Mode.MIXED) return dataTotalCodewordsBits\n\n const usableBits = dataTotalCodewordsBits - getReservedBitsCount(mode, version)\n\n // Return max number of storable codewords\n switch (mode) {\n case Mode.NUMERIC:\n return Math.floor((usableBits / 10) * 3)\n\n case Mode.ALPHANUMERIC:\n return Math.floor((usableBits / 11) * 2)\n\n case Mode.KANJI:\n return Math.floor(usableBits / 13)\n\n case Mode.BYTE:\n default:\n return Math.floor(usableBits / 8)\n }\n}\n\n/**\n * Returns the minimum version needed to contain the amount of data\n *\n * @param {Segment} data Segment of data\n * @param {Number} [errorCorrectionLevel=H] Error correction level\n * @param {Mode} mode Data mode\n * @return {Number} QR Code version\n */\nexports.getBestVersionForData = function getBestVersionForData (data, errorCorrectionLevel) {\n let seg\n\n const ecl = ECLevel.from(errorCorrectionLevel, ECLevel.M)\n\n if (Array.isArray(data)) {\n if (data.length > 1) {\n return getBestVersionForMixedData(data, ecl)\n }\n\n if (data.length === 0) {\n return 1\n }\n\n seg = data[0]\n } else {\n seg = data\n }\n\n return getBestVersionForDataLength(seg.mode, seg.getLength(), ecl)\n}\n\n/**\n * Returns version information with relative error correction bits\n *\n * The version information is included in QR Code symbols of version 7 or larger.\n * It consists of an 18-bit sequence containing 6 data bits,\n * with 12 error correction bits calculated using the (18, 6) Golay code.\n *\n * @param {Number} version QR Code version\n * @return {Number} Encoded version info bits\n */\nexports.getEncodedBits = function getEncodedBits (version) {\n if (!VersionCheck.isValid(version) || version < 7) {\n throw new Error('Invalid QR Code version')\n }\n\n let d = version << 12\n\n while (Utils.getBCHDigit(d) - G18_BCH >= 0) {\n d ^= (G18 << (Utils.getBCHDigit(d) - G18_BCH))\n }\n\n return (version << 12) | d\n}\n","const Utils = require('./utils')\n\nfunction clearCanvas (ctx, canvas, size) {\n ctx.clearRect(0, 0, canvas.width, canvas.height)\n\n if (!canvas.style) canvas.style = {}\n canvas.height = size\n canvas.width = size\n canvas.style.height = size + 'px'\n canvas.style.width = size + 'px'\n}\n\nfunction getCanvasElement () {\n try {\n return document.createElement('canvas')\n } catch (e) {\n throw new Error('You need to specify a canvas element')\n }\n}\n\nexports.render = function render (qrData, canvas, options) {\n let opts = options\n let canvasEl = canvas\n\n if (typeof opts === 'undefined' && (!canvas || !canvas.getContext)) {\n opts = canvas\n canvas = undefined\n }\n\n if (!canvas) {\n canvasEl = getCanvasElement()\n }\n\n opts = Utils.getOptions(opts)\n const size = Utils.getImageWidth(qrData.modules.size, opts)\n\n const ctx = canvasEl.getContext('2d')\n const image = ctx.createImageData(size, size)\n Utils.qrToImageData(image.data, qrData, opts)\n\n clearCanvas(ctx, canvasEl, size)\n ctx.putImageData(image, 0, 0)\n\n return canvasEl\n}\n\nexports.renderToDataURL = function renderToDataURL (qrData, canvas, options) {\n let opts = options\n\n if (typeof opts === 'undefined' && (!canvas || !canvas.getContext)) {\n opts = canvas\n canvas = undefined\n }\n\n if (!opts) opts = {}\n\n const canvasEl = exports.render(qrData, canvas, opts)\n\n const type = opts.type || 'image/png'\n const rendererOpts = opts.rendererOpts || {}\n\n return canvasEl.toDataURL(type, rendererOpts.quality)\n}\n","const Utils = require('./utils')\n\nfunction getColorAttrib (color, attrib) {\n const alpha = color.a / 255\n const str = attrib + '=\"' + color.hex + '\"'\n\n return alpha < 1\n ? str + ' ' + attrib + '-opacity=\"' + alpha.toFixed(2).slice(1) + '\"'\n : str\n}\n\nfunction svgCmd (cmd, x, y) {\n let str = cmd + x\n if (typeof y !== 'undefined') str += ' ' + y\n\n return str\n}\n\nfunction qrToPath (data, size, margin) {\n let path = ''\n let moveBy = 0\n let newRow = false\n let lineLength = 0\n\n for (let i = 0; i < data.length; i++) {\n const col = Math.floor(i % size)\n const row = Math.floor(i / size)\n\n if (!col && !newRow) newRow = true\n\n if (data[i]) {\n lineLength++\n\n if (!(i > 0 && col > 0 && data[i - 1])) {\n path += newRow\n ? svgCmd('M', col + margin, 0.5 + row + margin)\n : svgCmd('m', moveBy, 0)\n\n moveBy = 0\n newRow = false\n }\n\n if (!(col + 1 < size && data[i + 1])) {\n path += svgCmd('h', lineLength)\n lineLength = 0\n }\n } else {\n moveBy++\n }\n }\n\n return path\n}\n\nexports.render = function render (qrData, options, cb) {\n const opts = Utils.getOptions(options)\n const size = qrData.modules.size\n const data = qrData.modules.data\n const qrcodesize = size + opts.margin * 2\n\n const bg = !opts.color.light.a\n ? ''\n : '<path ' + getColorAttrib(opts.color.light, 'fill') +\n ' d=\"M0 0h' + qrcodesize + 'v' + qrcodesize + 'H0z\"/>'\n\n const path =\n '<path ' + getColorAttrib(opts.color.dark, 'stroke') +\n ' d=\"' + qrToPath(data, size, opts.margin) + '\"/>'\n\n const viewBox = 'viewBox=\"' + '0 0 ' + qrcodesize + ' ' + qrcodesize + '\"'\n\n const width = !opts.width ? '' : 'width=\"' + opts.width + '\" height=\"' + opts.width + '\" '\n\n const svgTag = '<svg xmlns=\"http://www.w3.org/2000/svg\" ' + width + viewBox + ' shape-rendering=\"crispEdges\">' + bg + path + '</svg>\\n'\n\n if (typeof cb === 'function') {\n cb(null, svgTag)\n }\n\n return svgTag\n}\n","function hex2rgba (hex) {\n if (typeof hex === 'number') {\n hex = hex.toString()\n }\n\n if (typeof hex !== 'string') {\n throw new Error('Color should be defined as hex string')\n }\n\n let hexCode = hex.slice().replace('#', '').split('')\n if (hexCode.length < 3 || hexCode.length === 5 || hexCode.length > 8) {\n throw new Error('Invalid hex color: ' + hex)\n }\n\n // Convert from short to long form (fff -> ffffff)\n if (hexCode.length === 3 || hexCode.length === 4) {\n hexCode = Array.prototype.concat.apply([], hexCode.map(function (c) {\n return [c, c]\n }))\n }\n\n // Add default alpha value\n if (hexCode.length === 6) hexCode.push('F', 'F')\n\n const hexValue = parseInt(hexCode.join(''), 16)\n\n return {\n r: (hexValue >> 24) & 255,\n g: (hexValue >> 16) & 255,\n b: (hexValue >> 8) & 255,\n a: hexValue & 255,\n hex: '#' + hexCode.slice(0, 6).join('')\n }\n}\n\nexports.getOptions = function getOptions (options) {\n if (!options) options = {}\n if (!options.color) options.color = {}\n\n const margin = typeof options.margin === 'undefined' ||\n options.margin === null ||\n options.margin < 0\n ? 4\n : options.margin\n\n const width = options.width && options.width >= 21 ? options.width : undefined\n const scale = options.scale || 4\n\n return {\n width: width,\n scale: width ? 4 : scale,\n margin: margin,\n color: {\n dark: hex2rgba(options.color.dark || '#000000ff'),\n light: hex2rgba(options.color.light || '#ffffffff')\n },\n type: options.type,\n rendererOpts: options.rendererOpts || {}\n }\n}\n\nexports.getScale = function getScale (qrSize, opts) {\n return opts.width && opts.width >= qrSize + opts.margin * 2\n ? opts.width / (qrSize + opts.margin * 2)\n : opts.scale\n}\n\nexports.getImageWidth = function getImageWidth (qrSize, opts) {\n const scale = exports.getScale(qrSize, opts)\n return Math.floor((qrSize + opts.margin * 2) * scale)\n}\n\nexports.qrToImageData = function qrToImageData (imgData, qr, opts) {\n const size = qr.modules.size\n const data = qr.modules.data\n const scale = exports.getScale(size, opts)\n const symbolSize = Math.floor((size + opts.margin * 2) * scale)\n const scaledMargin = opts.margin * scale\n const palette = [opts.color.light, opts.color.dark]\n\n for (let i = 0; i < symbolSize; i++) {\n for (let j = 0; j < symbolSize; j++) {\n let posDst = (i * symbolSize + j) * 4\n let pxColor = opts.color.light\n\n if (i >= scaledMargin && j >= scaledMargin &&\n i < symbolSize - scaledMargin && j < symbolSize - scaledMargin) {\n const iSrc = Math.floor((i - scaledMargin) / scale)\n const jSrc = Math.floor((j - scaledMargin) / scale)\n pxColor = palette[data[iSrc * size + jSrc] ? 1 : 0]\n }\n\n imgData[posDst++] = pxColor.r\n imgData[posDst++] = pxColor.g\n imgData[posDst++] = pxColor.b\n imgData[posDst] = pxColor.a\n }\n }\n}\n","\"use strict\";\n\nvar stylesInDOM = [];\nfunction getIndexByIdentifier(identifier) {\n var result = -1;\n for (var i = 0; i < stylesInDOM.length; i++) {\n if (stylesInDOM[i].identifier === identifier) {\n result = i;\n break;\n }\n }\n return result;\n}\nfunction modulesToDom(list, options) {\n var idCountMap = {};\n var identifiers = [];\n for (var i = 0; i < list.length; i++) {\n var item = list[i];\n var id = options.base ? item[0] + options.base : item[0];\n var count = idCountMap[id] || 0;\n var identifier = \"\".concat(id, \" \").concat(count);\n idCountMap[id] = count + 1;\n var indexByIdentifier = getIndexByIdentifier(identifier);\n var obj = {\n css: item[1],\n media: item[2],\n sourceMap: item[3],\n supports: item[4],\n layer: item[5]\n };\n if (indexByIdentifier !== -1) {\n stylesInDOM[indexByIdentifier].references++;\n stylesInDOM[indexByIdentifier].updater(obj);\n } else {\n var updater = addElementStyle(obj, options);\n options.byIndex = i;\n stylesInDOM.splice(i, 0, {\n identifier: identifier,\n updater: updater,\n references: 1\n });\n }\n identifiers.push(identifier);\n }\n return identifiers;\n}\nfunction addElementStyle(obj, options) {\n var api = options.domAPI(options);\n api.update(obj);\n var updater = function updater(newObj) {\n if (newObj) {\n if (newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap && newObj.supports === obj.supports && newObj.layer === obj.layer) {\n return;\n }\n api.update(obj = newObj);\n } else {\n api.remove();\n }\n };\n return updater;\n}\nmodule.exports = function (list, options) {\n options = options || {};\n list = list || [];\n var lastIdentifiers = modulesToDom(list, options);\n return function update(newList) {\n newList = newList || [];\n for (var i = 0; i < lastIdentifiers.length; i++) {\n var identifier = lastIdentifiers[i];\n var index = getIndexByIdentifier(identifier);\n stylesInDOM[index].references--;\n }\n var newLastIdentifiers = modulesToDom(newList, options);\n for (var _i = 0; _i < lastIdentifiers.length; _i++) {\n var _identifier = lastIdentifiers[_i];\n var _index = getIndexByIdentifier(_identifier);\n if (stylesInDOM[_index].references === 0) {\n stylesInDOM[_index].updater();\n stylesInDOM.splice(_index, 1);\n }\n }\n lastIdentifiers = newLastIdentifiers;\n };\n};","\"use strict\";\n\nvar memo = {};\n\n/* istanbul ignore next */\nfunction getTarget(target) {\n if (typeof memo[target] === \"undefined\") {\n var styleTarget = document.querySelector(target);\n\n // Special case to return head of iframe instead of iframe itself\n if (window.HTMLIFrameElement && styleTarget instanceof window.HTMLIFrameElement) {\n try {\n // This will throw an exception if access to iframe is blocked\n // due to cross-origin restrictions\n styleTarget = styleTarget.contentDocument.head;\n } catch (e) {\n // istanbul ignore next\n styleTarget = null;\n }\n }\n memo[target] = styleTarget;\n }\n return memo[target];\n}\n\n/* istanbul ignore next */\nfunction insertBySelector(insert, style) {\n var target = getTarget(insert);\n if (!target) {\n throw new Error(\"Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.\");\n }\n target.appendChild(style);\n}\nmodule.exports = insertBySelector;","\"use strict\";\n\n/* istanbul ignore next */\nfunction insertStyleElement(options) {\n var element = document.createElement(\"style\");\n options.setAttributes(element, options.attributes);\n options.insert(element, options.options);\n return element;\n}\nmodule.exports = insertStyleElement;","\"use strict\";\n\n/* istanbul ignore next */\nfunction setAttributesWithoutAttributes(styleElement) {\n var nonce = typeof __webpack_nonce__ !== \"undefined\" ? __webpack_nonce__ : null;\n if (nonce) {\n styleElement.setAttribute(\"nonce\", nonce);\n }\n}\nmodule.exports = setAttributesWithoutAttributes;","\"use strict\";\n\n/* istanbul ignore next */\nfunction apply(styleElement, options, obj) {\n var css = \"\";\n if (obj.supports) {\n css += \"@supports (\".concat(obj.supports, \") {\");\n }\n if (obj.media) {\n css += \"@media \".concat(obj.media, \" {\");\n }\n var needLayer = typeof obj.layer !== \"undefined\";\n if (needLayer) {\n css += \"@layer\".concat(obj.layer.length > 0 ? \" \".concat(obj.layer) : \"\", \" {\");\n }\n css += obj.css;\n if (needLayer) {\n css += \"}\";\n }\n if (obj.media) {\n css += \"}\";\n }\n if (obj.supports) {\n css += \"}\";\n }\n var sourceMap = obj.sourceMap;\n if (sourceMap && typeof btoa !== \"undefined\") {\n css += \"\\n/*# sourceMappingURL=data:application/json;base64,\".concat(btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))), \" */\");\n }\n\n // For old IE\n /* istanbul ignore if */\n options.styleTagTransform(css, styleElement, options.options);\n}\nfunction removeStyleElement(styleElement) {\n // istanbul ignore if\n if (styleElement.parentNode === null) {\n return false;\n }\n styleElement.parentNode.removeChild(styleElement);\n}\n\n/* istanbul ignore next */\nfunction domAPI(options) {\n if (typeof document === \"undefined\") {\n return {\n update: function update() {},\n remove: function remove() {}\n };\n }\n var styleElement = options.insertStyleElement(options);\n return {\n update: function update(obj) {\n apply(styleElement, options, obj);\n },\n remove: function remove() {\n removeStyleElement(styleElement);\n }\n };\n}\nmodule.exports = domAPI;","\"use strict\";\n\n/* istanbul ignore next */\nfunction styleTagTransform(css, styleElement) {\n if (styleElement.styleSheet) {\n styleElement.styleSheet.cssText = css;\n } else {\n while (styleElement.firstChild) {\n styleElement.removeChild(styleElement.firstChild);\n }\n styleElement.appendChild(document.createTextNode(css));\n }\n}\nmodule.exports = styleTagTransform;","module.exports=function(e){var r={};function t(n){if(r[n])return r[n].exports;var a=r[n]={i:n,l:!1,exports:{}};return e[n].call(a.exports,a,a.exports,t),a.l=!0,a.exports}return t.m=e,t.c=r,t.d=function(e,r,n){t.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:n})},t.r=function(e){\"undefined\"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:\"Module\"}),Object.defineProperty(e,\"__esModule\",{value:!0})},t.t=function(e,r){if(1&r&&(e=t(e)),8&r)return e;if(4&r&&\"object\"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(t.r(n),Object.defineProperty(n,\"default\",{enumerable:!0,value:e}),2&r&&\"string\"!=typeof e)for(var a in e)t.d(n,a,function(r){return e[r]}.bind(null,a));return n},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,\"a\",r),r},t.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},t.p=\"\",t(t.s=0)}([function(e,r,t){\"use strict\";t.r(r),t.d(r,\"validateHTMLColorName\",(function(){return l})),t.d(r,\"validateHTMLColorSpecialName\",(function(){return i})),t.d(r,\"validateHTMLColorHex\",(function(){return u})),t.d(r,\"validateHTMLColorRgb\",(function(){return g})),t.d(r,\"validateHTMLColorHsl\",(function(){return y})),t.d(r,\"validateHTMLColorHwb\",(function(){return L})),t.d(r,\"validateHTMLColorLab\",(function(){return S})),t.d(r,\"validateHTMLColorLch\",(function(){return m})),t.d(r,\"validateHTMLColor\",(function(){return G}));const n=e=>e&&\"string\"==typeof e,a=[\"AliceBlue\",\"AntiqueWhite\",\"Aqua\",\"Aquamarine\",\"Azure\",\"Beige\",\"Bisque\",\"Black\",\"BlanchedAlmond\",\"Blue\",\"BlueViolet\",\"Brown\",\"BurlyWood\",\"CadetBlue\",\"Chartreuse\",\"Chocolate\",\"Coral\",\"CornflowerBlue\",\"Cornsilk\",\"Crimson\",\"Cyan\",\"DarkBlue\",\"DarkCyan\",\"DarkGoldenrod\",\"DarkGray\",\"DarkGrey\",\"DarkGreen\",\"DarkKhaki\",\"DarkMagenta\",\"DarkOliveGreen\",\"DarkOrange\",\"DarkOrchid\",\"DarkRed\",\"DarkSalmon\",\"DarkSeaGreen\",\"DarkSlateBlue\",\"DarkSlateGray\",\"DarkSlateGrey\",\"DarkTurquoise\",\"DarkViolet\",\"DeepPink\",\"DeepSkyBlue\",\"DimGray\",\"DimGrey\",\"DodgerBlue\",\"FireBrick\",\"FloralWhite\",\"ForestGreen\",\"Fuchsia\",\"Gainsboro\",\"GhostWhite\",\"Gold\",\"Goldenrod\",\"Gray\",\"Grey\",\"Green\",\"GreenYellow\",\"HoneyDew\",\"HotPink\",\"IndianRed\",\"Indigo\",\"Ivory\",\"Khaki\",\"Lavender\",\"LavenderBlush\",\"LawnGreen\",\"LemonChiffon\",\"LightBlue\",\"LightCoral\",\"LightCyan\",\"LightGoldenrodYellow\",\"LightGray\",\"LightGrey\",\"LightGreen\",\"LightPink\",\"LightSalmon\",\"LightSalmon\",\"LightSeaGreen\",\"LightSkyBlue\",\"LightSlateGray\",\"LightSlateGrey\",\"LightSteelBlue\",\"LightYellow\",\"Lime\",\"LimeGreen\",\"Linen\",\"Magenta\",\"Maroon\",\"MediumAquamarine\",\"MediumBlue\",\"MediumOrchid\",\"MediumPurple\",\"MediumSeaGreen\",\"MediumSlateBlue\",\"MediumSlateBlue\",\"MediumSpringGreen\",\"MediumTurquoise\",\"MediumVioletRed\",\"MidnightBlue\",\"MintCream\",\"MistyRose\",\"Moccasin\",\"NavajoWhite\",\"Navy\",\"OldLace\",\"Olive\",\"OliveDrab\",\"Orange\",\"OrangeRed\",\"Orchid\",\"PaleGoldenrod\",\"PaleGreen\",\"PaleTurquoise\",\"PaleVioletRed\",\"PapayaWhip\",\"PeachPuff\",\"Peru\",\"Pink\",\"Plum\",\"PowderBlue\",\"Purple\",\"RebeccaPurple\",\"Red\",\"RosyBrown\",\"RoyalBlue\",\"SaddleBrown\",\"Salmon\",\"SandyBrown\",\"SeaGreen\",\"SeaShell\",\"Sienna\",\"Silver\",\"SkyBlue\",\"SlateBlue\",\"SlateGray\",\"SlateGrey\",\"Snow\",\"SpringGreen\",\"SteelBlue\",\"Tan\",\"Teal\",\"Thistle\",\"Tomato\",\"Turquoise\",\"Violet\",\"Wheat\",\"White\",\"WhiteSmoke\",\"Yellow\",\"YellowGreen\"],o=[\"currentColor\",\"inherit\",\"transparent\"],l=e=>{let r=!1;return n(e)&&a.map(t=>(e.toLowerCase()===t.toLowerCase()&&(r=!0),null)),r},i=e=>{let r=!1;return n(e)&&o.map(t=>(e.toLowerCase()===t.toLowerCase()&&(r=!0),null)),r},u=e=>{if(n(e)){const r=/^#([\\da-f]{3}){1,2}$|^#([\\da-f]{4}){1,2}$/i;return e&&r.test(e)}return!1},d=\"(([\\\\d]{0,5})((\\\\.([\\\\d]{1,5}))?))\",s=`(${d}%)`,c=\"(([0-9]|[1-9][0-9]|100)%)\",f=`(${c}|(0?((\\\\.([\\\\d]{1,5}))?))|1)`,h=`([\\\\s]{0,5})\\\\)?)(([\\\\s]{0,5})(\\\\/?)([\\\\s]{1,5})${`(((${c}))|(0?((\\\\.([\\\\d]{1,5}))?))|1))?`}([\\\\s]{0,5})\\\\)`,$=\"(-?(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-9][0-9]|3[0-5][0-9])((\\\\.([\\\\d]{1,5}))?)|360)(deg)?)\",g=e=>{if(n(e)){const r=\"([\\\\s]{0,5})([\\\\d]{1,5})%?([\\\\s]{0,5}),?\",t=\"((([\\\\s]{0,5}),?([\\\\s]{0,5}))|(([\\\\s]{1,5})))\",n=new RegExp(`^(rgb)a?\\\\(${`${r}${t}`}${`${r}${t}`}${`${r}${t}`}(${\"(\\\\/?([\\\\s]{0,5})(0?\\\\.?([\\\\d]{1,5})%?([\\\\s]{0,5}))?|1|0)\"})?\\\\)$`);return e&&n.test(e)}return!1},y=e=>{if(n(e)){const r=new RegExp(`^(hsl)a?\\\\((([\\\\s]{0,5})(${$}|${\"(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-9][0-9]|3[0-9][0-9]|400)grad)\"}|${\"((([0-5])?\\\\.([\\\\d]{1,5})|6\\\\.([0-9]|1[0-9]|2[0-8])|[0-6])rad)\"}|${\"((0?((\\\\.([\\\\d]{1,5}))?)|1)turn)\"})((([\\\\s]{0,5}),([\\\\s]{0,5}))|(([\\\\s]{1,5}))))(([\\\\s]{0,5})(0|${c})((([\\\\s]{0,5}),([\\\\s]{0,5}))|(([\\\\s]{1,5}))))(([\\\\s]{0,5})(0|${c})([\\\\s]{0,5})\\\\)?)(([\\\\s]{0,5})(\\\\/?|,?)([\\\\s]{0,5})(((${c}))|(0?((\\\\.([\\\\d]{1,5}))?))|1))?\\\\)$`);return e&&r.test(e)}return!1},L=e=>{if(n(e)){const r=new RegExp(`^(hwb\\\\(([\\\\s]{0,5})${$}([\\\\s]{1,5}))((0|${c})([\\\\s]{1,5}))((0|${c})${h}$`);return e&&r.test(e)}return!1},S=e=>{if(n(e)){const r=\"(-?(([0-9]|[1-9][0-9]|1[0-5][0-9])((\\\\.([\\\\d]{1,5}))?)?|160))\",t=new RegExp(`^(lab\\\\(([\\\\s]{0,5})${s}([\\\\s]{1,5})${r}([\\\\s]{1,5})${r}${h}$`);return e&&t.test(e)}return!1},m=e=>{if(n(e)){const r=\"((([0-9]|[1-9][0-9])?((\\\\.([\\\\d]{1,5}))?)|100)(%)?)\",t=\"\"+d,n=`((${$})|(0|${f})|(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-9][0-9]|3[0-5][0-9])((\\\\.([\\\\d]{1,5}))?)|360))`,a=`(\\\\/([\\\\s]{0,5})${f})`,o=new RegExp(`^lch\\\\(${`(([\\\\s]{0,5})${r}([\\\\s]{1,5})${t}([\\\\s]{1,5})${n}([\\\\s]{0,5})(${a})?)`}\\\\)$`);return e&&o.test(e)}return!1},G=e=>!!(e&&u(e)||g(e)||y(e)||L(e)||S(e)||m(e));r.default=e=>!!(e&&u(e)||l(e)||i(e)||g(e)||y(e)||L(e)||S(e)||m(e))}]);","module.exports = __WEBPACK_EXTERNAL_MODULE__5663__;","module.exports = __WEBPACK_EXTERNAL_MODULE__9426__;","module.exports = __WEBPACK_EXTERNAL_MODULE__5491__;","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","__webpack_require__.nc = undefined;","\n import API from \"!../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../node_modules/css-loader/dist/cjs.js!./CVCard.css\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\noptions.insert = insertFn.bind(null, \"head\");\noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../node_modules/css-loader/dist/cjs.js!./CVCard.css\";\n export default content && content.locals ? content.locals : undefined;\n","\n import API from \"!../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../node_modules/css-loader/dist/cjs.js!./ChatWithMe.css\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\noptions.insert = insertFn.bind(null, \"head\");\noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../node_modules/css-loader/dist/cjs.js!./ChatWithMe.css\";\n export default content && content.locals ? content.locals : undefined;\n","\n import API from \"!../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../node_modules/css-loader/dist/cjs.js!./FriendList.css\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\noptions.insert = insertFn.bind(null, \"head\");\noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../node_modules/css-loader/dist/cjs.js!./FriendList.css\";\n export default content && content.locals ? content.locals : undefined;\n","\n import API from \"!../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../node_modules/css-loader/dist/cjs.js!./ProfileCard.css\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\noptions.insert = insertFn.bind(null, \"head\");\noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../node_modules/css-loader/dist/cjs.js!./ProfileCard.css\";\n export default content && content.locals ? content.locals : undefined;\n","\n import API from \"!../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../node_modules/css-loader/dist/cjs.js!./ProfileView.css\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\noptions.insert = insertFn.bind(null, \"head\");\noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../node_modules/css-loader/dist/cjs.js!./ProfileView.css\";\n export default content && content.locals ? content.locals : undefined;\n","\n import API from \"!../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../node_modules/css-loader/dist/cjs.js!./QRCodeCard.css\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\noptions.insert = insertFn.bind(null, \"head\");\noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../node_modules/css-loader/dist/cjs.js!./QRCodeCard.css\";\n export default content && content.locals ? content.locals : undefined;\n","\n import API from \"!../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../node_modules/css-loader/dist/cjs.js!./SocialCard.css\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\noptions.insert = insertFn.bind(null, \"head\");\noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../node_modules/css-loader/dist/cjs.js!./SocialCard.css\";\n export default content && content.locals ? content.locals : undefined;\n","\n import API from \"!../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../node_modules/css-loader/dist/cjs.js!./StuffCard.css\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\noptions.insert = insertFn.bind(null, \"head\");\noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../node_modules/css-loader/dist/cjs.js!./StuffCard.css\";\n export default content && content.locals ? content.locals : undefined;\n","\n import API from \"!../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../node_modules/css-loader/dist/cjs.js!./utilities.css\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\noptions.insert = insertFn.bind(null, \"head\");\noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../node_modules/css-loader/dist/cjs.js!./utilities.css\";\n export default content && content.locals ? content.locals : undefined;\n","/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\nconst t=globalThis,i=t=>t,s=t.trustedTypes,e=s?s.createPolicy(\"lit-html\",{createHTML:t=>t}):void 0,h=\"$lit$\",o=`lit$${Math.random().toFixed(9).slice(2)}$`,n=\"?\"+o,r=`<${n}>`,l=document,c=()=>l.createComment(\"\"),a=t=>null===t||\"object\"!=typeof t&&\"function\"!=typeof t,u=Array.isArray,d=t=>u(t)||\"function\"==typeof t?.[Symbol.iterator],f=\"[ \\t\\n\\f\\r]\",v=/<(?:(!--|\\/[^a-zA-Z])|(\\/?[a-zA-Z][^>\\s]*)|(\\/?$))/g,_=/-->/g,m=/>/g,p=RegExp(`>|${f}(?:([^\\\\s\"'>=/]+)(${f}*=${f}*(?:[^ \\t\\n\\f\\r\"'\\`<>=]|(\"|')|))|$)`,\"g\"),g=/'/g,$=/\"/g,y=/^(?:script|style|textarea|title)$/i,x=t=>(i,...s)=>({_$litType$:t,strings:i,values:s}),b=x(1),w=x(2),T=x(3),E=Symbol.for(\"lit-noChange\"),A=Symbol.for(\"lit-nothing\"),C=new WeakMap,P=l.createTreeWalker(l,129);function V(t,i){if(!u(t)||!t.hasOwnProperty(\"raw\"))throw Error(\"invalid template strings array\");return void 0!==e?e.createHTML(i):i}const N=(t,i)=>{const s=t.length-1,e=[];let n,l=2===i?\"<svg>\":3===i?\"<math>\":\"\",c=v;for(let i=0;i<s;i++){const s=t[i];let a,u,d=-1,f=0;for(;f<s.length&&(c.lastIndex=f,u=c.exec(s),null!==u);)f=c.lastIndex,c===v?\"!--\"===u[1]?c=_:void 0!==u[1]?c=m:void 0!==u[2]?(y.test(u[2])&&(n=RegExp(\"</\"+u[2],\"g\")),c=p):void 0!==u[3]&&(c=p):c===p?\">\"===u[0]?(c=n??v,d=-1):void 0===u[1]?d=-2:(d=c.lastIndex-u[2].length,a=u[1],c=void 0===u[3]?p:'\"'===u[3]?$:g):c===$||c===g?c=p:c===_||c===m?c=v:(c=p,n=void 0);const x=c===p&&t[i+1].startsWith(\"/>\")?\" \":\"\";l+=c===v?s+r:d>=0?(e.push(a),s.slice(0,d)+h+s.slice(d)+o+x):s+o+(-2===d?i:x)}return[V(t,l+(t[s]||\"<?>\")+(2===i?\"</svg>\":3===i?\"</math>\":\"\")),e]};class S{constructor({strings:t,_$litType$:i},e){let r;this.parts=[];let l=0,a=0;const u=t.length-1,d=this.parts,[f,v]=N(t,i);if(this.el=S.createElement(f,e),P.currentNode=this.el.content,2===i||3===i){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=P.nextNode())&&d.length<u;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(h)){const i=v[a++],s=r.getAttribute(t).split(o),e=/([.?@])?(.*)/.exec(i);d.push({type:1,index:l,name:e[2],strings:s,ctor:\".\"===e[1]?I:\"?\"===e[1]?L:\"@\"===e[1]?z:H}),r.removeAttribute(t)}else t.startsWith(o)&&(d.push({type:6,index:l}),r.removeAttribute(t));if(y.test(r.tagName)){const t=r.textContent.split(o),i=t.length-1;if(i>0){r.textContent=s?s.emptyScript:\"\";for(let s=0;s<i;s++)r.append(t[s],c()),P.nextNode(),d.push({type:2,index:++l});r.append(t[i],c())}}}else if(8===r.nodeType)if(r.data===n)d.push({type:2,index:l});else{let t=-1;for(;-1!==(t=r.data.indexOf(o,t+1));)d.push({type:7,index:l}),t+=o.length-1}l++}}static createElement(t,i){const s=l.createElement(\"template\");return s.innerHTML=t,s}}function M(t,i,s=t,e){if(i===E)return i;let h=void 0!==e?s._$Co?.[e]:s._$Cl;const o=a(i)?void 0:i._$litDirective$;return h?.constructor!==o&&(h?._$AO?.(!1),void 0===o?h=void 0:(h=new o(t),h._$AT(t,s,e)),void 0!==e?(s._$Co??=[])[e]=h:s._$Cl=h),void 0!==h&&(i=M(t,h._$AS(t,i.values),h,e)),i}class R{constructor(t,i){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=i}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:i},parts:s}=this._$AD,e=(t?.creationScope??l).importNode(i,!0);P.currentNode=e;let h=P.nextNode(),o=0,n=0,r=s[0];for(;void 0!==r;){if(o===r.index){let i;2===r.type?i=new k(h,h.nextSibling,this,t):1===r.type?i=new r.ctor(h,r.name,r.strings,this,t):6===r.type&&(i=new Z(h,this,t)),this._$AV.push(i),r=s[++n]}o!==r?.index&&(h=P.nextNode(),o++)}return P.currentNode=l,e}p(t){let i=0;for(const s of this._$AV)void 0!==s&&(void 0!==s.strings?(s._$AI(t,s,i),i+=s.strings.length-2):s._$AI(t[i])),i++}}class k{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,i,s,e){this.type=2,this._$AH=A,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=s,this.options=e,this._$Cv=e?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===t?.nodeType&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=M(this,t,i),a(t)?t===A||null==t||\"\"===t?(this._$AH!==A&&this._$AR(),this._$AH=A):t!==this._$AH&&t!==E&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):d(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==A&&a(this._$AH)?this._$AA.nextSibling.data=t:this.T(l.createTextNode(t)),this._$AH=t}$(t){const{values:i,_$litType$:s}=t,e=\"number\"==typeof s?this._$AC(t):(void 0===s.el&&(s.el=S.createElement(V(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===e)this._$AH.p(i);else{const t=new R(e,this),s=t.u(this.options);t.p(i),this.T(s),this._$AH=t}}_$AC(t){let i=C.get(t.strings);return void 0===i&&C.set(t.strings,i=new S(t)),i}k(t){u(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let s,e=0;for(const h of t)e===i.length?i.push(s=new k(this.O(c()),this.O(c()),this,this.options)):s=i[e],s._$AI(h),e++;e<i.length&&(this._$AR(s&&s._$AB.nextSibling,e),i.length=e)}_$AR(t=this._$AA.nextSibling,s){for(this._$AP?.(!1,!0,s);t!==this._$AB;){const s=i(t).nextSibling;i(t).remove(),t=s}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class H{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,i,s,e,h){this.type=1,this._$AH=A,this._$AN=void 0,this.element=t,this.name=i,this._$AM=e,this.options=h,s.length>2||\"\"!==s[0]||\"\"!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=A}_$AI(t,i=this,s,e){const h=this.strings;let o=!1;if(void 0===h)t=M(this,t,i,0),o=!a(t)||t!==this._$AH&&t!==E,o&&(this._$AH=t);else{const e=t;let n,r;for(t=h[0],n=0;n<h.length-1;n++)r=M(this,e[s+n],i,n),r===E&&(r=this._$AH[n]),o||=!a(r)||r!==this._$AH[n],r===A?t=A:t!==A&&(t+=(r??\"\")+h[n+1]),this._$AH[n]=r}o&&!e&&this.j(t)}j(t){t===A?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??\"\")}}class I extends H{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===A?void 0:t}}class L extends H{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==A)}}class z extends H{constructor(t,i,s,e,h){super(t,i,s,e,h),this.type=5}_$AI(t,i=this){if((t=M(this,t,i,0)??A)===E)return;const s=this._$AH,e=t===A&&s!==A||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,h=t!==A&&(s===A||e);e&&this.element.removeEventListener(this.name,this,s),h&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){\"function\"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class Z{constructor(t,i,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(t){M(this,t)}}const j={M:h,P:o,A:n,C:1,L:N,R,D:d,V:M,I:k,H,N:L,U:z,B:I,F:Z},B=t.litHtmlPolyfillSupport;B?.(S,k),(t.litHtmlVersions??=[]).push(\"3.3.2\");const D=(t,i,s)=>{const e=s?.renderBefore??i;let h=e._$litPart$;if(void 0===h){const t=s?.renderBefore??null;e._$litPart$=h=new k(i.insertBefore(c(),t),t,void 0,s??{})}return h._$AI(t),h};export{j as _$LH,b as html,T as mathml,E as noChange,A as nothing,D as render,w as svg};\n//# sourceMappingURL=lit-html.js.map\n","import{_$LH as o}from\"./lit-html.js\";\n/**\n * @license\n * Copyright 2020 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */const{I:t}=o,i=o=>o,n=o=>null===o||\"object\"!=typeof o&&\"function\"!=typeof o,e={HTML:1,SVG:2,MATHML:3},l=(o,t)=>void 0===t?void 0!==o?._$litType$:o?._$litType$===t,d=o=>null!=o?._$litType$?.h,c=o=>void 0!==o?._$litDirective$,f=o=>o?._$litDirective$,r=o=>void 0===o.strings,s=()=>document.createComment(\"\"),v=(o,n,e)=>{const l=o._$AA.parentNode,d=void 0===n?o._$AB:n._$AA;if(void 0===e){const i=l.insertBefore(s(),d),n=l.insertBefore(s(),d);e=new t(i,n,o,o.options)}else{const t=e._$AB.nextSibling,n=e._$AM,c=n!==o;if(c){let t;e._$AQ?.(o),e._$AM=o,void 0!==e._$AP&&(t=o._$AU)!==n._$AU&&e._$AP(t)}if(t!==d||c){let o=e._$AA;for(;o!==t;){const t=i(o).nextSibling;i(l).insertBefore(o,d),o=t}}}return e},u=(o,t,i=o)=>(o._$AI(t,i),o),m={},p=(o,t=m)=>o._$AH=t,M=o=>o._$AH,h=o=>{o._$AR(),o._$AA.remove()},j=o=>{o._$AR()};export{e as TemplateResultType,j as clearPart,M as getCommittedValue,f as getDirectiveClass,v as insertPart,d as isCompiledTemplateResult,c as isDirectiveResult,n as isPrimitive,r as isSingleExpression,l as isTemplateResult,h as removePart,u as setChildPartValue,p as setCommittedValue};\n//# sourceMappingURL=directive-helpers.js.map\n","/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\nconst t={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},e=t=>(...e)=>({_$litDirective$:t,values:e});class i{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}export{i as Directive,t as PartType,e as directive};\n//# sourceMappingURL=directive.js.map\n","import{isSingleExpression as i}from\"./directive-helpers.js\";import{Directive as t,PartType as e}from\"./directive.js\";export{directive}from\"./directive.js\";\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */const s=(i,t)=>{const e=i._$AN;if(void 0===e)return!1;for(const i of e)i._$AO?.(t,!1),s(i,t);return!0},o=i=>{let t,e;do{if(void 0===(t=i._$AM))break;e=t._$AN,e.delete(i),i=t}while(0===e?.size)},r=i=>{for(let t;t=i._$AM;i=t){let e=t._$AN;if(void 0===e)t._$AN=e=new Set;else if(e.has(i))break;e.add(i),c(t)}};function h(i){void 0!==this._$AN?(o(this),this._$AM=i,r(this)):this._$AM=i}function n(i,t=!1,e=0){const r=this._$AH,h=this._$AN;if(void 0!==h&&0!==h.size)if(t)if(Array.isArray(r))for(let i=e;i<r.length;i++)s(r[i],!1),o(r[i]);else null!=r&&(s(r,!1),o(r));else s(this,i)}const c=i=>{i.type==e.CHILD&&(i._$AP??=n,i._$AQ??=h)};class f extends t{constructor(){super(...arguments),this._$AN=void 0}_$AT(i,t,e){super._$AT(i,t,e),r(this),this.isConnected=i._$AU}_$AO(i,t=!0){i!==this.isConnected&&(this.isConnected=i,i?this.reconnected?.():this.disconnected?.()),t&&(s(this,i),o(this))}setValue(t){if(i(this._$Ct))this._$Ct._$AI(t,this);else{const i=[...this._$Ct._$AH];i[this._$Ci]=t,this._$Ct._$AI(i,this,0)}}disconnected(){}reconnected(){}}export{f as AsyncDirective,t as Directive,e as PartType};\n//# sourceMappingURL=async-directive.js.map\n","/**\n * @license\n * Copyright 2021 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\nconst t=async(t,s)=>{for await(const i of t)if(!1===await s(i))return};class s{constructor(t){this.G=t}disconnect(){this.G=void 0}reconnect(t){this.G=t}deref(){return this.G}}class i{constructor(){this.Y=void 0,this.Z=void 0}get(){return this.Y}pause(){this.Y??=new Promise(t=>this.Z=t)}resume(){this.Z?.(),this.Y=this.Z=void 0}}export{i as Pauser,s as PseudoWeakRef,t as forAwaitOf};\n//# sourceMappingURL=private-async-helpers.js.map\n","import{noChange as t}from\"../lit-html.js\";import{AsyncDirective as i}from\"../async-directive.js\";import{PseudoWeakRef as s,Pauser as r,forAwaitOf as e}from\"./private-async-helpers.js\";import{directive as n}from\"../directive.js\";\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */class o extends i{constructor(){super(...arguments),this._$CK=new s(this),this._$CX=new r}render(i,s){return t}update(i,[s,r]){if(this.isConnected||this.disconnected(),s===this._$CJ)return t;this._$CJ=s;let n=0;const{_$CK:o,_$CX:h}=this;return e(s,async t=>{for(;h.get();)await h.get();const i=o.deref();if(void 0!==i){if(i._$CJ!==s)return!1;void 0!==r&&(t=r(t,n)),i.commitValue(t,n),n++}return!0}),t}commitValue(t,i){this.setValue(t)}disconnected(){this._$CK.disconnect(),this._$CX.pause()}reconnected(){this._$CK.reconnect(this),this._$CX.resume()}}const h=n(o);export{o as AsyncReplaceDirective,h as asyncReplace};\n//# sourceMappingURL=async-replace.js.map\n","// QR CODE\nexport const scanQrToConnectText = 'Scan the QR code to connect with me'\n//ERRORS & SUCCESS\n//Same 'not logged in' error message like on 'Chat with me' button\nexport const userNotLoggedInErrorMessage = 'Current user not found! Not logged in?'\nexport const internalErrorMessage = 'An internal error occured!'\nexport const friendWasAddedSuccesMessage = 'Friend was added!'\n\n//OTHER\nexport const friendExistsMessage = 'Friend already exists'\nexport const loadingMessage = 'Loading...'\n\n//BUTTONS\nexport const addMeToYourFriendsButtonText = 'Add me to your friends'\nexport const logInAddMeToYourFriendsButtonText = 'Login to add me to your friends'\nexport const logInToChatWithMeButtonText = 'Login to chat with me'\nexport const friendExistsAlreadyButtonText = 'Already part of friends'\nexport const chatWithMeButtonText = 'Chat with me'\n\n// Profile & Edit profile texts \nexport const yourContactInformationHeading = 'Contact Information'\nexport const otherPreferencesHeadingText = 'Other Preferences'\nexport const communitiesHeadingText = 'Communities You Participate In'\nexport const resumeHeadingText = 'Resume'\nexport const socialAccountsHeadingText = 'Social Accounts'\nexport const sharedItemsHeadingText = 'Shared Items'\nexport const friendsHeadingText = 'Friends'\nexport const contactHeadingText = 'Contact'\n\n\n","import { DataBrowserContext } from 'pane-registry'\nimport { widgets } from 'solid-ui'\nimport { NamedNode } from 'rdflib'\n\nfunction complain(\n buttonContainer: HTMLDivElement,\n context: DataBrowserContext,\n error: string\n): void {\n const errorBlock = widgets.errorMessageBlock(context.dom, error)\n errorBlock.setAttribute('role', 'alert')\n errorBlock.setAttribute('aria-live', 'assertive')\n errorBlock.setAttribute('tabindex', '0')\n\n // Focus the error message for screen readers\n setTimeout(() => {\n errorBlock.focus()\n }, 100)\n\n buttonContainer.appendChild(errorBlock)\n}\n\nfunction mention(buttonContainer: HTMLDivElement, message: string): void {\n const positiveFrontendMessageDiv = <HTMLDivElement>document.createElement('div')\n positiveFrontendMessageDiv.setAttribute('role', 'status')\n positiveFrontendMessageDiv.setAttribute('aria-live', 'polite')\n positiveFrontendMessageDiv.setAttribute('tabindex', '0')\n positiveFrontendMessageDiv.classList.add('actionButton', 'licOkay')\n positiveFrontendMessageDiv.innerHTML = message\n\n // Focus the success message for screen readers\n setTimeout(() => {\n positiveFrontendMessageDiv.focus()\n }, 100)\n\n buttonContainer.appendChild(positiveFrontendMessageDiv)\n}\n\nfunction clearPreviousMessage(buttonContainer: HTMLDivElement): void {\n while (buttonContainer.childNodes.length > 2) {\n buttonContainer.removeChild(buttonContainer.lastChild)\n }\n}\n\nfunction checkIfAnyUserLoggedIn(me: NamedNode): boolean {\n if (me) return true\n else return false\n}\n\nexport { complain, mention, clearPreviousMessage, checkIfAnyUserLoggedIn }\n","import { html, TemplateResult } from 'lit-html'\nimport { DataBrowserContext } from 'pane-registry'\nimport { NamedNode } from 'rdflib'\nimport { widgets } from 'solid-ui'\nimport { authn } from 'solid-logic'\nimport { asyncReplace } from 'lit-html/directives/async-replace.js'\nimport { chatWithMeButtonText, logInToChatWithMeButtonText, loadingMessage } from './texts'\nimport { checkIfAnyUserLoggedIn, complain } from './buttonsHelper'\nimport './styles/ChatWithMe.css'\n\nexport const ChatWithMe = (\n subject: NamedNode,\n context: DataBrowserContext\n): TemplateResult => {\n const logic = context.session.logic\n const longChatPane = context.session.paneRegistry.byName('long chat')\n\n async function* chatContainer() {\n const chatContainer = context.dom.createElement('section') as HTMLDivElement\n chatContainer.setAttribute('class', 'chatSection section-centered')\n chatContainer.setAttribute('aria-labelledby', 'chat-section-title')\n chatContainer.setAttribute('role', 'region')\n chatContainer.setAttribute('data-testid', 'chat')\n\n // Add hidden title for screen readers\n const title = context.dom.createElement('h3')\n title.id = 'chat-section-title'\n title.className = 'sr-only'\n title.textContent = 'Communication'\n chatContainer.appendChild(title)\n\n let exists\n try {\n yield html`\n <div class=\"buttonSubSection\">\n <div class=\"actionButton loading-text center\" role=\"status\" aria-live=\"polite\">\n ${loadingMessage.toUpperCase()}\n </div>\n </div>\n `\n exists = await logic.chat.getChat(subject, false)\n } catch (e) {\n exists = false\n }\n \n if (exists) {\n const chatArea = context.dom.createElement('div')\n chatArea.setAttribute('role', 'log')\n chatArea.setAttribute('aria-label', 'Chat conversation')\n chatArea.appendChild(longChatPane.render(exists, context, {}))\n chatContainer.appendChild(chatArea)\n yield chatContainer\n } else {\n const me = authn.currentUser()\n let label = checkIfAnyUserLoggedIn(me) ? chatWithMeButtonText.toUpperCase() : logInToChatWithMeButtonText.toUpperCase()\n const button = widgets.button(\n context.dom,\n undefined,\n label,\n setButtonHandler,\n { needsBorder: true }\n )\n\n async function setButtonHandler(event) {\n event.preventDefault()\n try {\n const chat: NamedNode = await logic.chat.getChat(subject, true)\n chatContainer.innerHTML = ''\n chatContainer.appendChild(longChatPane.render(chat, context, {}))\n } catch (error) {\n complain(chatContainer, context, error)\n }\n }\n\n button.refresh = refreshButton()\n\n function refreshButton() {\n const me = authn.currentUser()\n \n if (checkIfAnyUserLoggedIn(me)) {\n button.innerHTML = chatWithMeButtonText.toUpperCase()\n } else {\n //not logged in\n button.innerHTML = logInToChatWithMeButtonText.toUpperCase()\n }\n }\n\n button.setAttribute('type', 'button')\n button.setAttribute('aria-describedby', 'chat-button-description')\n \n const description = context.dom.createElement('span')\n description.id = 'chat-button-description'\n description.className = 'sr-only'\n description.textContent = 'Start a new conversation or sign in to continue existing chat'\n \n button.classList.add('actionButton', 'btn-primary', 'action-button-focus')\n chatContainer.appendChild(button)\n chatContainer.appendChild(description)\n yield chatContainer\n }\n }\n\n return html` ${asyncReplace(chatContainer())} `\n}","import { ns, widgets } from 'solid-ui'\nimport { DataBrowserContext } from 'pane-registry'\nimport { NamedNode } from 'rdflib'\nimport { html, TemplateResult } from 'lit-html'\nimport './styles/FriendList.css'\n\n\nexport const FriendList = (\n subject: NamedNode,\n context: DataBrowserContext\n): TemplateResult | null => {\n const friends = extractFriends(subject, context)\n if (!friends || !friends.textContent?.trim()) return null\n\n return html`\n <section\n class=\"friendListSection\"\n role=\"region\"\n aria-labelledby=\"friends-section-title\"\n data-testid=\"friend-list\"\n >\n <nav aria-label=\"Friend profiles\">\n <ul class=\"list-reset zebra-stripe\" role=\"list\">\n ${friends}\n </ul>\n </nav>\n </section>\n `\n}\n\nexport const extractFriends = (subject: NamedNode, { dom }: DataBrowserContext) => {\n const target = dom.createElement('div')\n widgets.attachmentList(dom, subject, target, {\n doc: subject.doc(),\n modify: false,\n predicate: ns.foaf('knows'),\n noun: 'friend',\n })\n if (target.textContent === '')\n return null\n // Add 'friendItem' class and unique aria-label to each <li> for accessibility\n target.querySelectorAll('li').forEach((li, idx) => {\n li.classList.add('friendItem')\n // Try to find a link or text to use as a label\n const link = li.querySelector('a')\n if (link && link.textContent) {\n li.setAttribute('aria-label', `Friend: ${link.textContent.trim()}`)\n } else if (li.textContent) {\n li.setAttribute('aria-label', `Friend: ${li.textContent.trim()}`)\n } else {\n li.setAttribute('aria-label', `Friend ${idx + 1}`)\n }\n })\n return target\n}\n","import { NamedNode, LiveStore } from 'rdflib'\nimport { ns, utils, widgets } from 'solid-ui'\nimport { store } from 'solid-logic'\nimport { Node } from 'rdflib'\nimport { validateHTMLColorHex } from 'validate-color'\n\nexport interface ProfilePresentation {\n name: string;\n imageSrc?: string;\n introduction?: string;\n languages?: string;\n location?: string;\n pronouns?: string;\n backgroundColor: string;\n highlightColor: string;\n}\n\nexport function pronounsAsText (subject:NamedNode): string {\n let pronouns = store.anyJS(subject, ns.solid('preferredSubjectPronoun')) || ''\n if (pronouns) {\n const them = store.anyJS(subject, ns.solid('preferredObjectPronoun'))\n if (them) {\n pronouns += '/' + them\n const their = store.anyJS(subject, ns.solid('preferredRelativePronoun'))\n if (their) {\n pronouns += '/' + their\n }\n }\n pronouns = ' (' + pronouns + ') '\n }\n return pronouns || ''\n}\n\nexport const presentProfile = (\n subject: NamedNode,\n store: LiveStore\n): ProfilePresentation => {\n const name = utils.label(subject)\n const imageSrc = widgets.findImage(subject)\n const role = store.anyValue(subject, ns.vcard('role'))\n const orgName = store.anyValue(subject, ns.vcard('organization-name')) // @@ Search whole store\n\n const address: Node | null = store.any(subject, ns.vcard('hasAddress'))\n const countryName =\n address != null\n ? store.anyValue(address as NamedNode, ns.vcard('country-name'))\n : null\n const locality =\n address != null\n ? store.anyValue(address as NamedNode, ns.vcard('locality'))\n : null\n const { backgroundColor, highlightColor } = getColors(subject, store)\n const pronouns = pronounsAsText(subject)\n return {\n name,\n imageSrc,\n introduction: formatIntroduction(role, orgName),\n location: formatLocation(countryName, locality),\n backgroundColor,\n pronouns,\n highlightColor,\n }\n}\n\nfunction formatLocation(countryName: string | void, locality: string | void) {\n return countryName && locality\n ? `${locality}, ${countryName}`\n : countryName || locality || null\n}\n\nfunction formatIntroduction(role: string | void, orgName: string | void) {\n return role && orgName ? `${role} at ${orgName}` : orgName || role || null\n}\n\nfunction getColors(subject: NamedNode, store: LiveStore) {\n const backgroundColor = store.anyValue(\n subject,\n ns.solid('profileBackgroundColor'),\n null,\n subject.doc()\n )\n\n const highlightColor = store.anyValue(\n subject,\n ns.solid('profileHighlightColor'),\n null,\n subject.doc()\n )\n return {\n // default colors are coming from the SolidOS theme, so we only want to set them here if they're valid colors\n backgroundColor: validColorOrDefault(backgroundColor, ''),\n highlightColor: validColorOrDefault(highlightColor, ''),\n }\n}\n\nfunction validColorOrDefault(color: string | void, fallback: string) {\n return color && validateHTMLColorHex(color) ? color : fallback\n}","import { LiveStore, NamedNode, Literal, Namespace, Node, Store } from 'rdflib'\nimport { ns, utils } from 'solid-ui'\n\nexport interface Role {\n startDate?: Literal,\n endDate: Literal,\n dates: string,\n orgName: string,\n roleText: string,\n orgHomePage?: string\n}\nexport interface CVPresentation { \n rolesByType: RolesByType;\n skills: string[];\n languages: string[];\n}\n\nexport interface RolesByType {\n PastRole: Role[];\n CurrentRole: Role[];\n FutureRole: Role[];\n}\n\nconst ORG = Namespace('http://www.w3.org/ns/org#')\n\nexport const typesOfRole = ['PastRole', 'CurrentRole', 'FutureRole']\n\nexport function skillAsText (store: Store, sk: Node):string {\n if (sk.termType === 'Literal') return sk.value // Not normal but allow this\n const publicId = store.anyJS(sk as NamedNode, ns.solid('publicId'))\n if (publicId) {\n const name = store.anyJS(publicId, ns.schema('name'))\n if (name) return name // @@ check language and get name in diff language if necessary\n }\n\n const manual = store.anyJS(sk as NamedNode, ns.vcard('role'))\n if (manual && manual[0] > '') return manual\n return ''\n}\n\nexport function languageAsText (store: Store, lan: Node):string {\n if (lan.termType === 'Literal') return lan.value // Not normal but allow this\n const publicId = store.anyJS(lan as NamedNode, ns.solid('publicId'))\n if (publicId)\n return utils.label(publicId, true) // @@ check language and get name in diff language if necessary\n return '' \n}\n\nexport function datesAsText (startDate?:Literal, endDate?:Literal):string {\n return startDate ? '(' + startDate.value.slice(0,10) + ' to ' +\n ( endDate ? endDate.value.slice(0,10) : '') +')'\n : '' \n}\n\nfunction expandRdfList(store: Store, node: Node): Node[] {\n const collectionElements = (node as { termType?: string; elements?: Node[] }).elements\n if (Array.isArray(collectionElements)) {\n return collectionElements.flatMap(element => expandRdfList(store, element))\n }\n\n const first = store.any(node as NamedNode, ns.rdf('first'))\n if (!first) return [node]\n\n const items: Node[] = []\n let current: Node | null = node\n while (current) {\n const value = store.any(current as NamedNode, ns.rdf('first')) as Node | null\n if (value) items.push(...expandRdfList(store, value))\n const rest = store.any(current as NamedNode, ns.rdf('rest')) as Node | null\n if (!rest || (rest.termType === 'NamedNode' && rest.value === ns.rdf('nil').value)) break\n current = rest\n }\n return items\n}\n\nfunction getRolesByType(\n store: LiveStore,\n subject: NamedNode\n): RolesByType {\n\n const memberships = store.each(null, ORG('member'), subject, null)\n\n const rolesByType = { PastRole: [], CurrentRole: [], FutureRole: [] }\n for (const membership of memberships) {\n let orgHomePage, orgNameGiven, publicIdName, roleName, publicId\n // Things should have start dates but we will be very lenient in this view\n const startDate = store.any(membership as NamedNode, ns.schema('startDate')) as Literal | null\n const endDate = store.any(membership as NamedNode, ns.schema('endDate')) as Literal | null\n const dates = datesAsText(startDate, endDate)\n\n const organization = store.any(membership as NamedNode, ORG('organization'))\n if (organization) {\n orgNameGiven = store.anyJS(organization as NamedNode, ns.schema('name'))\n orgHomePage = store.any(organization as NamedNode, ns.schema('uri'))\n publicId = store.any(organization as NamedNode, ns.solid('publicId'))\n }\n if (publicId) {\n publicIdName = store.anyJS(publicId as NamedNode, ns.schema('name'))\n }\n const orgName = publicIdName || orgNameGiven\n\n const escoRole = store.any(membership as NamedNode, ORG('role'))\n if (escoRole) {\n roleName = store.anyJS(escoRole as NamedNode, ns.schema('name')) as string | null\n }\n const roleText0 = store.anyJS(membership as NamedNode, ns.vcard('role'))\n const roleText = (roleText0 && roleName) ? roleName + ' - ' + roleText0\n : roleText0 || roleName\n\n const item: Role = {\n startDate: startDate as Literal, endDate, orgName, roleText, dates, orgHomePage\n }\n\n for (const t of typesOfRole) {\n if (store.holds(membership, ns.rdf('type'), ns.solid(t))) {\n rolesByType[t].push(item)\n }\n }\n }\n return rolesByType\n}\n\nexport function presentCV(\n subject: NamedNode,\n store: LiveStore\n): CVPresentation {\n \n const rolesByType = getRolesByType(store, subject)\n // Most recent thing most relevant -> sort by end date\n for (const t of typesOfRole) {\n rolesByType[t].sort(function (x, y) {\n if (x.endDate && y.endDate) {\n return x.endDate > y.endDate ? -1 : 1\n }\n return x.startDate > y.startDate ? -1 : 1\n })\n }\n\n const skills = store\n .each(subject, ns.schema('skills'))\n .map((sk) => skillAsText(store, sk))\n .filter((skill) => skill !== '')\n\n const languageNodes = store.each(subject, ns.schema('knowsLanguage'))\n const languages = languageNodes\n .flatMap(node => expandRdfList(store, node))\n .map(lan => languageAsText(store, lan))\n // Deduplicate languages\n const uniqueLanguages = Array.from(new Set(languages))\n\n return { rolesByType, skills, languages: uniqueLanguages }\n}\n","import { NamedNode, Store, Namespace, sym, parse } from 'rdflib'\nimport { widgets } from 'solid-ui'\n\nconst baseUri = 'https://solidos.github.io/profile-pane/src/ontology/'\n\nexport default function renderForm(\n div: HTMLElement,\n subject: NamedNode, // Represents the RDF that fills the form\n formSource: string, // The imported form Turtle source\n formName: string, // The name of the form file (e.g., 'socialMedia.ttl')\n store: Store,\n dom: Document,\n editableProfile: NamedNode | null,\n whichForm?: string ) {// Optional: specify which form to use if multiple 'a ui:Form' are present in the file{\n // --- Form resource setup ---\n const formUri = baseUri + formName // Full URI to the form file\n const exactForm = whichForm || 'this' // If there are more 'a ui:Form' elements in a form file\n const formThis = Namespace(formUri + '#')(exactForm) // NamedNode for #this in the form\n\n loadDocument(store, formSource, formName, formUri)\n\n widgets.appendForm(\n dom,\n div,\n {},\n subject,\n formThis,\n editableProfile,\n (ok, mes) => {\n if (!ok) widgets.errorMessageBlock(dom, mes)\n }\n )\n } // renderForm\n\n// we need to load into the store some additional information about Social Media accounts\nexport function loadDocument(\n store: Store,\n documentSource: string,\n documentName: string,\n documentURI?: string\n ) {\n const finalDocumentUri = documentURI || baseUri + documentName // Full URI to the file\n const document = sym(finalDocumentUri) // rdflib NamedNode for the document \n \n if (!store.holds(undefined, undefined, undefined, document)) {\n // we are using the social media form because it contains the information we need\n // the form can be used for both use cases: create UI for edit and render UI for display\n parse(documentSource, store, finalDocumentUri, 'text/turtle', () => null) // Load doc directly\n }\n}","import { LiveStore, NamedNode, Node } from 'rdflib'\nimport { ns, utils, icons } from 'solid-ui'\nimport socialMediaForm from './ontology/socialMedia.ttl'\nimport { loadDocument } from './rdfFormsHelper'\n\nconst socialMediaFormName = 'socialMedia.ttl' // The name of the file to upload\n\nconst DEFAULT_ICON_URI = icons.iconBase + 'noun_10636_grey.svg' // grey disc\nexport interface Account {\n name: string,\n icon: string,\n homepage: string,\n}\nexport interface SocialPresentation { \n accounts: Account[];\n}\n\nfunction expandRdfList(store: LiveStore, node: Node): Node[] {\n const visited = new Set<string>()\n function inner(node: Node): Node[] {\n const termType = (node as any).termType || typeof node\n const value = (node as any).value || String(node)\n const key = `${termType}:${value}`\n if (visited.has(key)) return []\n visited.add(key)\n\n const collectionElements = (node as { termType?: string; elements?: Node[] }).elements\n if (Array.isArray(collectionElements)) {\n return collectionElements.flatMap(element => inner(element))\n }\n\n const first = store.any(node as NamedNode, ns.rdf('first'))\n if (!first) return [node]\n\n const items: Node[] = []\n let current: Node | null = node\n while (current) {\n const value = store.any(current as NamedNode, ns.rdf('first')) as Node | null\n if (value) items.push(...inner(value))\n const rest = store.any(current as NamedNode, ns.rdf('rest')) as Node | null\n if (!rest || (rest.termType === 'NamedNode' && rest.value === ns.rdf('nil').value)) break\n current = rest\n }\n return items\n }\n return inner(node)\n}\n\nexport function presentSocial(\n subject: NamedNode,\n store: LiveStore\n): SocialPresentation {\n \n function nameForAccount (subject):string {\n const acName = store.any(subject, ns.foaf('name')) ||\n store.any(subject, ns.rdfs('label')) // on the account itself?\n if (acName) return acName.value\n const classes = store.each(subject, ns.rdf('type')) as NamedNode[]\n for (const k of classes) {\n const classIcon: Node = store.any(k as NamedNode, ns.rdfs('label'))\n if (classIcon) {\n return classIcon.value\n }\n return utils.label(k)\n }\n return 'Unknown Account'\n }\n\n function iconForAccount (subject):string {\n const acIcon = store.any(subject, ns.foaf('icon')) // on the account itself?\n if (acIcon) return acIcon.value\n const classes = store.each(subject, ns.rdf('type'))\n if (classes.length > 0) {\n \n for (const k of (classes as Node[])) {\n const classIcon: Node | null = store.any(k as any, ns.foaf('icon'))\n if (classIcon !== null) {\n return classIcon.value\n }\n }\n }\n return DEFAULT_ICON_URI\n }\n\n function homepageForAccount (subject):string {\n const acHomepage = store.any(subject, ns.foaf('homepage')) // on the account itself?\n if (acHomepage) return acHomepage.value\n const id = store.anyJS(subject, ns.foaf('accountName'), null, subject.doc()) || 'No_account_Name'\n const classes = store.each(subject, ns.rdf('type'))\n for (const k of classes) {\n // Fix: ensure k is a NamedNode for store.any\n if (k.termType === 'NamedNode') {\n const userProfilePrefix: Node | null = store.any(k as NamedNode, ns.foaf('userProfilePrefix'))\n if (userProfilePrefix) {\n return userProfilePrefix.value + id.trim()\n }\n }\n }\n return store.anyJS(subject, ns.foaf('homepage'), null, subject.doc()) || ''\n }\n\n function accountAsObject (ac) {\n return {\n name: nameForAccount(ac),\n icon: iconForAccount(ac),\n homepage: homepageForAccount(ac)\n }\n\n }\n \n // we need to load the social media accounts ontology to be able to query all data needed\n loadDocument(store, socialMediaForm, socialMediaFormName)\n\n const accountNodes = store.each(subject, ns.foaf('account'))\n let accountThings = accountNodes.flatMap(node => expandRdfList(store, node))\n // Deduplicate by foaf:accountName value\n const accountNameSet = new Set<string>()\n const accounts: Account[] = []\n for (const ac of accountThings) {\n if (ac.termType === 'NamedNode') {\n const accountNameNode = store.any(ac as NamedNode, ns.foaf('accountName'))\n const accountName = accountNameNode ? accountNameNode.value : ''\n if (!accountNameSet.has(accountName)) {\n accountNameSet.add(accountName)\n accounts.push(accountAsObject(ac))\n }\n }\n }\n if (!accounts.length) return { accounts: [] }\n return { accounts }\n}\n","import { NamedNode, uri } from 'rdflib'\nimport { ns, utils, widgets, icons } from 'solid-ui'\nimport { solidLogicSingleton } from 'solid-logic'\n\nconst { iconForClass } = widgets\nconst { typeIndex } = solidLogicSingleton\nconst { getScopedAppInstances } = typeIndex\n\n\nexport interface Item {\n href: string,\n name: string,\n icon: string,\n instance: NamedNode\n}\n\nexport interface StuffPresentation {\n stuff: Item[];\n}\n\nexport const iconForClassMap = {} // @@ move to buttons in solid-ui\nfor (const k in iconForClass) {\n const pref = k.split(':')[0]\n const id = k.split(':')[1]\n const theClass = ns[pref](id)\n iconForClassMap[theClass.uri] = uri.join(iconForClass[k], icons.iconBase)\n}\n\nexport function getIconForClass (klass:NamedNode) {\n const icon0 = iconForClassMap[klass.uri]\n return icon0 || icons.iconBase + 'noun_10636.svg' // fall back to black disk\n}\n\nexport async function presentStuff(\n subject: NamedNode\n): Promise<StuffPresentation> {\n\n const scopedItems = await getScopedAppInstances(null, subject)\n // console.log('scopedItems', scopedItems)\n\n const stuff = scopedItems.map(item => { // work with old or new solid-logic\n const icon = getIconForClass((item as any).type || ns.rdf('Resource')) \n const href = item.instance.uri\n const name = utils.label(item.instance)\n const instance = item.instance\n // console.log(` href=${href} name=${name} icon=${icon}`)\n return { href, name, icon, instance }\n })\n\n return { stuff }\n}\n","import { html, TemplateResult } from 'lit-html'\nimport { DataBrowserContext } from 'pane-registry'\nimport { authn } from 'solid-logic'\nimport { LiveStore, NamedNode, st } from 'rdflib'\nimport { ns, widgets } from 'solid-ui'\nimport {\n clearPreviousMessage, complain,\n mention\n} from './buttonsHelper'\nimport {\n addMeToYourFriendsButtonText, friendExistsAlreadyButtonText, friendExistsMessage, friendWasAddedSuccesMessage, logInAddMeToYourFriendsButtonText, userNotLoggedInErrorMessage\n} from './texts'\nimport './styles/ProfileCard.css'\n\nlet buttonContainer = <HTMLDivElement>document.createElement('section')\n\nconst addMeToYourFriendsDiv = (\n subject: NamedNode,\n context: DataBrowserContext\n): TemplateResult => {\n\n buttonContainer = context.dom.createElement('section') as HTMLDivElement\n buttonContainer.setAttribute('class', 'buttonSubSection text-truncate text-center section-centered')\n buttonContainer.setAttribute('aria-labelledby', 'add-me-to-your-friends-button-section')\n buttonContainer.setAttribute('data-testid', 'button')\n\n // Add a visually hidden heading for accessibility\n const heading = context.dom.createElement('h3')\n heading.setAttribute('id', 'add-me-to-your-friends-button-section')\n heading.setAttribute('class', 'sr-only')\n heading.textContent = 'Add me to your friends actions'\n buttonContainer.appendChild(heading)\n\n const button = createAddMeToYourFriendsButton(subject, context)\n button.classList.add('actionButton', 'btn-primary', 'action-button-focus')\n buttonContainer.appendChild(button)\n return html`${buttonContainer}`\n}\n\nconst createAddMeToYourFriendsButton = (\n subject: NamedNode,\n context: DataBrowserContext\n): HTMLButtonElement => {\n const me = authn.currentUser()\n let label = checkIfAnyUserLoggedIn(me) ? addMeToYourFriendsButtonText.toUpperCase() : logInAddMeToYourFriendsButtonText.toUpperCase()\n const button = widgets.button(\n context.dom,\n undefined,\n label,\n setButtonHandler, //sets an onclick event listener\n {\n needsBorder: true,\n }\n )\n\n function setButtonHandler(event) {\n event.preventDefault()\n saveNewFriend(subject, context)\n .then(() => {\n clearPreviousMessage(buttonContainer)\n mention(buttonContainer, friendWasAddedSuccesMessage)\n refreshButton()\n })\n .catch((error) => {\n clearPreviousMessage(buttonContainer)\n //else UI.widgets.complain(buttonContainer, message); //displays an error message at the top of the window\n complain(buttonContainer, context, error)\n })\n }\n\n button.refresh = refreshButton()\n\n function refreshButton() {\n const me = authn.currentUser()\n const store: LiveStore = context.session.store\n\n if (checkIfAnyUserLoggedIn(me)) {\n checkIfFriendExists(store, me, subject).then((friendExists) => {\n if (friendExists) {\n //logged in and friend exists or friend was just added\n button.innerHTML = friendExistsAlreadyButtonText.toUpperCase()\n } else {\n //logged in and friend does not exist yet\n button.innerHTML = addMeToYourFriendsButtonText.toUpperCase()\n }\n })\n } else {\n //not logged in\n button.innerHTML = logInAddMeToYourFriendsButtonText.toUpperCase()\n }\n }\n\n return button\n}\n\nasync function saveNewFriend(\n subject: NamedNode,\n context: DataBrowserContext\n): Promise<void> {\n const me = authn.currentUser()\n const store: LiveStore = context.session.store\n\n if (checkIfAnyUserLoggedIn(me)) {\n if (!(await checkIfFriendExists(store , me, subject))) {\n //if friend does not exist, we add her/him\n await store.fetcher.load(me)\n const updater = store.updater\n const toBeInserted = [st(me, ns.foaf('knows'), subject, me.doc())]\n try {\n await updater.update([], toBeInserted)\n } catch (error) {\n let errorMessage = error\n if (errorMessage.toString().includes('Unauthenticated'))\n errorMessage = userNotLoggedInErrorMessage\n throw new Error(errorMessage)\n }\n } else throw new Error(friendExistsMessage)\n } else throw new Error(userNotLoggedInErrorMessage)\n}\n\nfunction checkIfAnyUserLoggedIn(me: NamedNode): boolean {\n if (me) return true\n else return false\n}\n\nasync function checkIfFriendExists(\n store: LiveStore,\n me: NamedNode,\n subject: NamedNode\n): Promise<boolean> {\n await store.fetcher.load(me)\n if (store.whether(me, ns.foaf('knows'), subject, me.doc()) === 0)\n return false\n else return true\n}\n\nexport {\n addMeToYourFriendsDiv,\n createAddMeToYourFriendsButton,\n saveNewFriend,\n checkIfFriendExists,\n}\n","import { html, TemplateResult } from 'lit-html'\nimport { NamedNode } from 'rdflib'\nimport { utils } from 'solid-ui'\nimport './styles/QRCodeCard.css'\nimport { scanQrToConnectText } from './texts'\n\n\n\nfunction hexToRgb(hex: string): { r: number; g: number; b: number } | null {\n // Remove leading # if present\n hex = hex.replace(/^#/, '')\n if (hex.length === 3) {\n hex = hex.split('').map(x => x + x).join('')\n }\n if (hex.length !== 6) return null\n const num = parseInt(hex, 16)\n return {\n r: (num >> 16) & 255,\n g: (num >> 8) & 255,\n b: num & 255,\n }\n}\n\nfunction luminance({ r, g, b }: { r: number; g: number; b: number }): number {\n const a = [r, g, b].map(function (v) {\n v /= 255\n return v <= 0.03928 ? v / 12.92 : Math.pow((v + 0.055) / 1.055, 2.4)\n })\n return 0.2126 * a[0] + 0.7152 * a[1] + 0.0722 * a[2]\n}\n\nfunction contrastRatio(hex1: string, hex2: string): number {\n const rgb1 = hexToRgb(hex1)\n const rgb2 = hexToRgb(hex2)\n if (!rgb1 || !rgb2) return 1\n const lum1 = luminance(rgb1)\n const lum2 = luminance(rgb2)\n const brightest = Math.max(lum1, lum2)\n const darkest = Math.min(lum1, lum2)\n return (brightest + 0.05) / (darkest + 0.05)\n}\n\nexport const QRCodeCard = (\n highlightColor: string, \n backgroundColor: string,\n subject: NamedNode\n): TemplateResult => {\n const hC = highlightColor || '#000000'\n const bC = backgroundColor || '#ffffff'\n const name = utils.label(subject)\n\n // Color contrast check\n const ratio = contrastRatio(hC, bC)\n if (ratio < 4.5) {\n \n console.warn(\n `QRCodeCard: The contrast ratio between highlightColor (${hC}) and backgroundColor (${bC}) is ${ratio.toFixed(2)}, which is below the WCAG 2.1 recommended minimum of 4.5:1 for normal text.`\n )\n }\n\n const BEGIN = 'BEGIN:VCARD\\r\\n'\n const END = 'END:VCARD\\r\\n'\n const FN = 'FN:' + name + '\\r\\n'\n const URL = 'URL:' + subject.uri + 'r\\n'\n const VERSIONV = 'VERSION:4.0\\r\\n'\n\n // Accessibility check: Ensure QR code is rendered as an accessible image or canvas\n // This assumes the QR code is rendered inside the <div> below by another library or script.\n // If you use a library, ensure it sets role=\"img\" and an appropriate aria-label or alt attribute.\n // If not, warn the developer.\n setTimeout(() => {\n const container = document.querySelector('.QRCode [role=\"img\"]')\n if (container) {\n const hasAriaLabel = container.hasAttribute('aria-label')\n const hasAlt = container.hasAttribute('alt')\n if (!hasAriaLabel && !hasAlt) {\n \n console.warn('QRCodeCard: The QR code element should have an accessible label (aria-label or alt attribute) for screen readers.')\n }\n } else {\n \n console.warn('QRCodeCard: No element with role=\"img\" found for the QR code. Ensure the QR code is rendered as an <img> or <canvas> with proper ARIA attributes.')\n }\n }, 0)\n\n const vCard: string = BEGIN + FN + URL + END + VERSIONV\n\n // console.log(`@@ qrcodes colours highlightColor ${highlightColor}, backgroundColor ${backgroundColor}`)\n \n \n return html`\n <figure \n class=\"QRCode\"\n data-value=\"${vCard}\"\n highlightColor=\"${hC}\"\n backgroundColor=\"${bC}\"\n data-testid=\"qrcode-card\"\n aria-labelledby=\"qr-code-caption\"\n role=\"img\"\n aria-describedby=\"qr-code-description\"\n >\n <div \n aria-label=\"Static QR code containing contact information for ${name}\"\n role=\"img\"\n tabindex=\"0\"\n ></div>\n <figcaption \n id=\"qr-code-caption\" \n class=\"qrCaption\"\n >\n ${scanQrToConnectText}\n </figcaption>\n <div \n id=\"qr-code-description\" \n class=\"sr-only\"\n >\n This is a static QR code containing vCard information for ${name}, including profile URL ${subject.uri}. The QR code is not interactive.\n </div>\n </figure>\n `\n}\n","import { html, nothing } from 'lit-html'\nimport './styles/ProfileCard.css'\nimport { ProfilePresentation } from './presenter'\nimport { addMeToYourFriendsDiv } from './addMeToYourFriends'\nimport { DataBrowserContext } from 'pane-registry'\nimport { NamedNode } from 'rdflib'\nimport { QRCodeCard } from './QRCodeCard'\n\n\nexport const ProfileCard = ({\n name, imageSrc, introduction, location, pronouns, highlightColor, backgroundColor\n}: ProfilePresentation, context: DataBrowserContext, subject: NamedNode) => {\n\n return html`\n <article class=\"profileCard\" aria-labelledby=\"profile-name\">\n <h2 id=\"profile-name\" class=\"sr-only\">${name}</h2>\n <header class=\"header flex-column-center mb-md\" aria-label=\"Profile information\">\n ${Image(imageSrc, name)}\n </header>\n \n <section class=\"intro text-center\" aria-label=\"About\">\n ${Line(introduction, '', 'About')}\n ${Line(location, '🌐', 'Location')}\n ${Line(pronouns, '', 'Pronouns')}\n </section>\n \n <section class=\"buttonSection text-center\" aria-label=\"Actions\">\n ${addMeToYourFriendsDiv(subject, context)}\n </section>\n \n <div class=\"qrCodeSection section-centered\">\n ${QRCodeCard(highlightColor, backgroundColor, subject)}\n </div>\n </article>\n `\n}\n\nconst Line = (value, prefix: symbol | string = nothing, label: string = '') =>\n value ? html`\n <div class=\"details\" role=\"text\" ${label ? `aria-label=\"${label}: ${value}\"` : ''}>\n ${prefix} ${value}\n </div>\n ` : nothing\n\nconst Image = (src, alt) =>\n src\n ? html`\n <img\n class=\"image\"\n src=${src}\n alt=\"Profile photo of ${alt}\"\n width=\"160\"\n height=\"160\"\n loading=\"eager\"\n />\n `\n : html`\n <div class=\"image-alt\" role=\"img\" aria-label=\"${alt}\" tabindex=\"0\">\n ${alt}\n </div>\n `\n","import { html } from 'lit-html'\nimport { CVPresentation } from './CVPresenter'\nimport './styles/CVCard.css'\n\nexport const CVCard = (\n cvData: CVPresentation\n) => {\n const { rolesByType, skills, languages } = cvData\n\n const futureRolesArr = rolesByType['FutureRole'] || []\n const currentRolesArr = rolesByType['CurrentRole'] || []\n const pastRolesArr = rolesByType['PastRole'] || []\n const skillsArr = skills || []\n const languagesArr = languages || []\n\n const hasFutureRole = Array.isArray(futureRolesArr) && futureRolesArr.length > 0\n const hasCurrentRole = Array.isArray(currentRolesArr) && currentRolesArr.length > 0\n const hasPastRole = Array.isArray(pastRolesArr) && pastRolesArr.length > 0\n const hasSkills = Array.isArray(skillsArr) && skillsArr.length > 0\n const hasLanguages = Array.isArray(languagesArr) && languagesArr.length > 0\n\n if (!(hasFutureRole || hasCurrentRole || hasPastRole || hasSkills || hasLanguages)) return html``\n\n return html`\n <article class=\"cvCard\" aria-label=\"Resume\" data-testid=\"curriculum-vitae\">\n ${hasFutureRole ? html`\n <section class=\"cvSection\" aria-labelledby=\"cv-future-heading\">\n <h3 id=\"cv-future-heading\">Future Roles</h3>\n <ul role=\"list\" aria-label=\"Upcoming work experience\">\n ${renderRoles(futureRolesArr, true)}\n </ul>\n </section>\n ` : ''}\n \n ${hasCurrentRole ? html`\n <section class=\"cvSection\" aria-labelledby=\"cv-current-heading\">\n <h3 id=\"cv-current-heading\">Current Roles</h3>\n <ul role=\"list\" aria-label=\"Current work experience\">\n ${renderRoles(currentRolesArr, true)}\n </ul>\n </section>\n ` : ''}\n \n ${hasPastRole ? html`\n <section class=\"cvSection\" aria-labelledby=\"cv-past-heading\">\n <h3 id=\"cv-past-heading\">Past Roles</h3>\n <ul role=\"list\" aria-label=\"Previous work experience\">\n ${renderRoles(pastRolesArr, true)}\n </ul>\n </section>\n ` : ''}\n \n ${hasSkills ? html`\n <section class=\"cvSection\" aria-labelledby=\"cv-skills-heading\">\n <h3 id=\"cv-skills-heading\">Skills</h3>\n <ul role=\"list\" aria-label=\"Professional skills and competencies\">\n ${renderSkills(skillsArr, true)}\n </ul>\n </section>\n ` : ''}\n \n ${hasLanguages ? html`\n <section class=\"cvSection\" aria-labelledby=\"cv-languages-heading\">\n <h3 id=\"cv-languages-heading\">Languages</h3>\n <ul role=\"list\" aria-label=\"Known languages\">\n ${renderLanguages(languagesArr, true)}\n </ul>\n </section>\n ` : ''}\n </article>\n `\n}\n\nfunction renderRole(role, asList = false) {\n if (!role) return html``\n return asList\n ? html`\n <li class=\"cvRole\" role=\"listitem\">\n <strong class=\"cvOrg\" aria-label=\"Organization\">${role.orgName}</strong>\n <span aria-label=\"Role title\">${strToUpperCase(role.roleText)}</span>\n <time aria-label=\"Employment period\">${role.dates}</time>\n </li>`\n : html``\n}\n\nfunction renderRoles(roles, asList = false) {\n if (!roles || !roles.length || !roles[0]) return html``\n return html`${renderRole(roles[0], asList)}${roles.length > 1 ? renderRoles(roles.slice(1), asList) : html``}`\n}\n\nfunction renderSkill(skill, asList = false) {\n if (!skill) return html``\n return asList\n ? html`<li class=\"cvSkill\">${strToUpperCase(skill)}</li>`\n : html``\n}\n\nfunction renderSkills(skills, asList = false) {\n if (!skills || !skills.length || !skills[0]) return html``\n return html`${renderSkill(skills[0], asList)}${skills.length > 1 ? renderSkills(skills.slice(1), asList) : html``}`\n}\n\nfunction renderLan(language, asList = false) {\n if (!language) return html``\n return asList\n ? html`<li class=\"cvLanguage\">${language}</li>`\n : html``\n}\n\nfunction renderLanguages(languages, asList = false) {\n if (!languages || !languages.length || !languages[0]) return html``\n return html`${renderLan(languages[0], asList)}${languages.length > 1 ? renderLanguages(languages.slice(1), asList) : html``}`\n}\n\nfunction strToUpperCase(str) {\n if (str && str[0] > '') {\n const strCase = str.split(' ')\n for (let i = 0; i < strCase.length; i++) {\n strCase[i] = strCase[i].charAt(0).toUpperCase() +\n strCase[i].substring(1)\n }\n return strCase.join(' ')\n }\n return ''\n}\n","import { html, TemplateResult } from 'lit-html'\nimport { SocialPresentation } from './SocialPresenter'\nimport './styles/SocialCard.css'\n\n\nexport const SocialCard = (\n SocialData: SocialPresentation\n): TemplateResult => {\n \n const { accounts } = SocialData\n\n if(accounts.length){\n\n return html`\n <section\n class=\"socialCard\"\n aria-labelledby=\"social-card-title\"\n data-testid=\"social-media\"\n >\n <nav aria-label=\"Social media profiles\">\n <ul class=\"socialList list-reset\" role=\"list\">\n ${accounts.map(account => renderAccount(account))}\n </ul>\n </nav>\n </section>\n `\n }\n\n function renderAccount(account) {\n return account.homepage && account.name && account.icon\n ? html`\n <li class=\"socialItem\" role=\"listitem\">\n <a \n href=\"${account.homepage}\" \n target=\"_blank\" \n rel=\"noopener noreferrer\" \n aria-label=\"Visit ${account.name} profile (opens in new tab)\"\n >\n <img \n class=\"socialIcon\" \n src=\"${account.icon}\" \n alt=\"${account.name} icon\"\n width=\"40\"\n height=\"40\"\n loading=\"lazy\"\n />\n <span class=\"text-wrap-anywhere\">${account.name}</span>\n </a>\n </li>\n `\n : html``\n }\n\n}\n","import { html, TemplateResult } from 'lit-html'\nimport { NamedNode } from 'rdflib'\nimport { DataBrowserContext } from 'pane-registry'\nimport { widgets } from 'solid-ui'\nimport './styles/StuffCard.css'\nimport { ProfilePresentation } from './presenter'\n\n\nexport const StuffCard = (profileBasics: ProfilePresentation,\n context: DataBrowserContext,\n subject: NamedNode, stuffData): TemplateResult => {\n const { stuff } = stuffData\n const dom = context.dom || document\n return html`\n <section\n class=\"stuffCard\"\n aria-labelledby=\"stuff-card-title\"\n role=\"region\"\n data-testid=\"stuff\"\n >\n <header>\n <h3 id=\"stuff-card-title\" class=\"sr-only\">Shared Resources</h3>\n </header>\n <div>\n <table class=\"stuffTable\" data-testid=\"stuffTable\">\n <caption class=\"sr-only\">Files and resources shared by ${profileBasics.name}</caption>\n <tbody class=\"zebra-stripe\">\n ${renderThings(stuff, dom)}\n </tbody>\n </table>\n </div>\n </section>\n `\n}\n\nexport function renderThingAsDOM (thing, dom) {\n const options = {}\n // widgets.personTR returns a DOM node, so we need to convert it to HTML string\n const row = widgets.personTR(dom, null, thing.instance, options)\n return row\n}\n\nexport function renderThing (thing, dom) {\n return renderThingAsDOM(thing, dom)\n}\n\nexport function renderThings(things, dom) {\n if (things.length === 0) return html``\n return html`${renderThing(things[0], dom)}${things.length > 1 ? renderThings(things.slice(1), dom) : html``}`\n}","import { html, TemplateResult } from 'lit-html'\nimport { DataBrowserContext } from 'pane-registry'\nimport { NamedNode, LiveStore } from 'rdflib'\nimport './styles/ProfileView.css'\nimport { ChatWithMe } from './ChatWithMe'\nimport { FriendList } from './FriendList'\nimport { presentProfile } from './presenter'\nimport { presentCV } from './CVPresenter' // 20210527\nimport { presentSocial } from './SocialPresenter' // 20210527\nimport { presentStuff } from './StuffPresenter' // 20210527\nimport { ProfileCard } from './ProfileCard'\nimport { CVCard } from './CVCard'\nimport { SocialCard } from './SocialCard'\nimport { StuffCard } from './StuffCard'\nimport {\n resumeHeadingText,\n socialAccountsHeadingText,\n sharedItemsHeadingText,\n friendsHeadingText,\n contactHeadingText\n} from './texts'\n\n// The edit button switches to the editor pane\n/*\nfunction renderEditButton (subject) {\n return \n authn.currentUser() && authn.currentUser().sameTerm(subject) ?\n html `<button type=\"button\" class=\"ProfilePaneCVEditButton\">\n <img src=\"${editButtonURI}\">\n Edit</button>`\n : html``;\n}\n*/\n\nexport async function ProfileView (\n subject: NamedNode,\n context: DataBrowserContext\n): Promise <TemplateResult> {\n const store = context.session.store as LiveStore\n \n const profileBasics = presentProfile(subject, store)\n const rolesByType = presentCV(subject, store)\n const accounts = presentSocial(subject, store)\n const stuffData = await presentStuff(subject)\n\n return html` \n <main\n id=\"main-content\"\n class=\"profile-grid\"\n style=\"--profile-grid-bg: radial-gradient(circle, ${profileBasics.backgroundColor} 80%, ${profileBasics.highlightColor} 100%)\"\n role=\"main\"\n aria-label=\"Profile for ${profileBasics.name}\"\n tabindex=\"-1\"\n > \n\n <article \n aria-labelledby=\"profile-card-heading\" \n class=\"profileSection section-bg\" \n role=\"region\"\n tabindex=\"-1\"\n >\n <header class=\"text-center mb-md\">\n <h2 id=\"profile-card-heading\" tabindex=\"-1\">${profileBasics.name}</h2>\n </header>\n ${ProfileCard(profileBasics, context, subject)}\n </article>\n\n ${(() => {\n const cv = CVCard(rolesByType)\n return cv && cv.strings && cv.strings.join('').trim() !== '' ? html`\n <section \n aria-labelledby=\"cv-heading\" \n class=\"profileSection section-bg\" \n role=\"region\"\n tabindex=\"-1\"\n >\n <header class=\"text-center mb-md\">\n <h2 id=\"cv-heading\" tabindex=\"-1\">${resumeHeadingText}</h2>\n </header>\n <div>\n ${cv}\n </div>\n </section>\n ` : ''\n })()}\n\n ${accounts.accounts && accounts.accounts.length > 0 ? html`\n <aside \n aria-labelledby=\"social-heading\" \n class=\"profileSection section-bg\" \n role=\"complementary\"\n tabindex=\"-1\"\n >\n <header class=\"text-center mb-md\">\n <h2 id=\"social-heading\" tabindex=\"-1\">${socialAccountsHeadingText}</h2>\n </header>\n <nav aria-label=\"Social media links\">\n ${SocialCard(accounts)}\n </nav>\n </aside>\n ` : ''}\n\n ${stuffData.stuff && stuffData.stuff.length > 0 ? html`\n <section \n aria-labelledby=\"stuff-heading\" \n class=\"profileSection section-bg\" \n role=\"region\"\n tabindex=\"-1\"\n >\n <header class=\"text-center mb-md\">\n <h2 id=\"stuff-heading\" tabindex=\"-1\">${sharedItemsHeadingText}</h2>\n </header>\n <div>\n ${StuffCard(profileBasics, context, subject, stuffData)}\n </div>\n </section>\n ` : ''}\n\n ${(() => {\n const friends = FriendList(subject, context)\n return friends ? html`\n <aside \n aria-labelledby=\"friends-heading\" \n class=\"profileSection section-bg\" \n role=\"complementary\"\n tabindex=\"-1\"\n >\n <header class=\"text-center mb-md\">\n <h2 id=\"friends-heading\" tabindex=\"-1\">${friendsHeadingText}</h2>\n </header>\n <div role=\"list\" aria-label=\"Friend connections\">\n ${friends}\n </div>\n </aside>\n ` : ''\n })()}\n\n <section \n aria-labelledby=\"chat-heading\" \n class=\"profileSection section-bg\" \n role=\"region\"\n tabindex=\"-1\"\n >\n <header class=\"text-center mb-md\">\n <h2 id=\"chat-heading\" tabindex=\"-1\">${contactHeadingText}</h2>\n </header>\n <div>\n ${ChatWithMe(subject, context)}\n </div>\n </section>\n </main>\n `\n}\n","import { DataBrowserContext } from 'pane-registry'\nimport { NamedNode } from 'rdflib'\nimport { yourContactInformationHeading } from '../texts'\n\nexport function EditContactsSection(context: DataBrowserContext, me: NamedNode): HTMLElement {\n const section = context.dom.createElement('section')\n section.setAttribute('aria-labelledby', 'edit-profile-contact-heading')\n section.classList.add('profileSection', 'section-bg', 'profile-form')\n\n const header = context.dom.createElement('header')\n header.classList.add('text-center', 'mb-md')\n const heading = context.dom.createElement('h2')\n heading.id = 'edit-profile-contact-heading'\n heading.classList.add('section-title')\n heading.textContent = yourContactInformationHeading\n header.appendChild(heading)\n section.appendChild(header)\n\n section.appendChild(paneDiv(context, me, 'contact'))\n\n return section\n}\n\nfunction paneDiv (\n context: DataBrowserContext, \n subject: NamedNode,\n paneName: string\n): HTMLElement {\n const view = context.session.paneRegistry.byName(paneName)\n if (!view) {\n const warning = context.dom.createElement('div')\n warning.innerText = `Unable to load view: ${paneName}`\n return warning\n }\n const viewContainer = view.render(subject, context)\n \n // Handle different node types\n let container: HTMLElement\n \n if (viewContainer && typeof viewContainer.setAttribute === 'function') {\n // It's already an Element node\n container = viewContainer as HTMLElement\n } else if (viewContainer && viewContainer.nodeType === Node.TEXT_NODE) {\n // It's a Text node, wrap it in a section for semantics\n container = context.dom.createElement('section')\n container.appendChild(viewContainer)\n } else {\n // Fallback for other cases\n container = context.dom.createElement('section')\n container.innerText = `View render did not return a valid Node for: ${paneName}`\n }\n\n container.setAttribute('role', 'region')\n container.setAttribute('aria-label', `${paneName} section`)\n return container\n}\n","import { DataBrowserContext } from 'pane-registry'\nimport { NamedNode } from 'rdflib'\nimport { ns, widgets } from 'solid-ui'\nimport { friendsHeadingText } from '../texts'\n\nexport function EditFriendsSection(context: DataBrowserContext, me: NamedNode, editableProfile: NamedNode | null, profile: NamedNode) {\n const section = context.dom.createElement('section')\n section.setAttribute('aria-labelledby', 'edit-profile-friends-heading')\n section.classList.add('profileSection', 'section-bg')\n\n const header = context.dom.createElement('header')\n header.classList.add('text-center', 'mb-md')\n\n const heading = context.dom.createElement('h2')\n heading.id = 'edit-profile-friends-heading'\n heading.classList.add('section-title')\n heading.textContent = friendsHeadingText\n\n header.appendChild(heading)\n section.appendChild(header)\n\n const comment1 = context.dom.createElement('p')\n comment1.id = 'edit-profile-friends-description'\n comment1.classList.add('p-md')\n comment1.textContent = 'This is your public social network. Only put people here to whom you are happy to be publicly connected. (You can always keep private track of friends and family in your contacts.)'\n section.appendChild(comment1)\n\n let comment2: HTMLParagraphElement | null = null\n if (editableProfile) {\n comment2 = context.dom.createElement('p')\n comment2.id = 'edit-profile-friends-help'\n comment2.classList.add('p-md')\n comment2.textContent = 'Drag people onto the target below to add people.'\n section.appendChild(comment2)\n }\n\n const attachmentList = widgets.attachmentList(context.dom, me, section, {\n doc: profile,\n modify: !!editableProfile,\n predicate: ns.foaf('knows'),\n noun: 'friend'\n })\n\n const descriptions = [comment1.id]\n if (comment2?.id) {\n descriptions.push(comment2.id)\n }\n attachmentList.setAttribute('aria-describedby', descriptions.join(' '))\n section.appendChild(attachmentList)\n\n return section\n}\n","import { DataBrowserContext } from 'pane-registry'\nimport { NamedNode, Store} from 'rdflib'\nimport socialMediaForm from '../ontology/socialMedia.ttl'\nimport renderForm from '../rdfFormsHelper'\nimport { socialAccountsHeadingText } from '../texts'\n\nconst socialMediaFormName = 'socialMedia.ttl' // The name of the form file\n\nexport function EditSocialSection(context: DataBrowserContext, me: NamedNode, editableProfile: NamedNode | null, store: Store) {\n const section = context.dom.createElement('section')\n section.setAttribute('data-testid', 'edit-social-section')\n section.setAttribute('aria-labelledby', 'edit-profile-social-heading')\n section.classList.add('profileSection', 'section-bg', 'profile-form')\n\n const header = context.dom.createElement('header')\n header.classList.add('text-center', 'mb-md')\n\n const heading = context.dom.createElement('h2')\n heading.id = 'edit-profile-social-heading'\n heading.classList.add('section-title')\n heading.textContent = socialAccountsHeadingText\n\n header.appendChild(heading)\n section.appendChild(header)\n\n if (editableProfile) {\n const comment2 = context.dom.createElement('p')\n comment2.classList.add('p-md')\n comment2.textContent = 'Add links to your social media accounts here. These will be publicly visible on your profile.'\n section.appendChild(comment2)\n } else {\n const comment1 = context.dom.createElement('p')\n comment1.classList.add('p-md')\n comment1.textContent = 'Login to add social media accounts to your profile.'\n section.appendChild(comment1)\n }\n\n renderForm(section, me, socialMediaForm, socialMediaFormName, store, context.dom, editableProfile)\n\n return section\n}\n","import { DataBrowserContext } from 'pane-registry'\nimport { NamedNode } from 'rdflib'\nimport { ns, widgets } from 'solid-ui'\nimport { communitiesHeadingText } from '../texts'\n\nexport function EditProfileCommunitiesSection(context: DataBrowserContext, me: NamedNode, editableProfile: NamedNode | null, profile: NamedNode) {\n const section = context.dom.createElement('section')\n section.setAttribute('aria-labelledby', 'edit-profile-communities-heading')\n section.classList.add('profileSection', 'section-bg')\n\n const header = context.dom.createElement('header')\n header.classList.add('text-center', 'mb-md')\n\n const heading = context.dom.createElement('h2')\n heading.id = 'edit-profile-communities-heading'\n heading.classList.add('section-title')\n heading.textContent = communitiesHeadingText\n header.appendChild(heading)\n section.appendChild(header)\n\n const comment1 = context.dom.createElement('p')\n comment1.id = 'edit-profile-communities-description'\n comment1.classList.add('p-md')\n comment1.textContent = 'These are organizations and projects whose stuff you share'\n section.appendChild(comment1)\n\n let comment2: HTMLParagraphElement | null = null\n if (editableProfile) {\n comment2 = context.dom.createElement('p')\n comment2.id = 'edit-profile-communities-help'\n comment2.classList.add('p-md')\n comment2.textContent = 'Drag organizations onto the target below to add organizations.'\n section.appendChild(comment2)\n }\n\n const attachmentList = widgets.attachmentList(context.dom, me, section, {\n doc: profile,\n modify: !!editableProfile,\n predicate: ns.solid('community'),\n noun: 'community'\n })\n\n const descriptions = [comment1.id]\n if (comment2?.id) {\n descriptions.push(comment2.id)\n }\n attachmentList.setAttribute('aria-describedby', descriptions.join(' '))\n section.appendChild(attachmentList)\n\n return section\n}\n","\n import API from \"!../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../node_modules/css-loader/dist/cjs.js!./rdfFormsEnforced.css\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\noptions.insert = insertFn.bind(null, \"head\");\noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../node_modules/css-loader/dist/cjs.js!./rdfFormsEnforced.css\";\n export default content && content.locals ? content.locals : undefined;\n","import { DataBrowserContext } from 'pane-registry'\nimport { NamedNode, Store} from 'rdflib'\nimport resumeForm from '../ontology/resumeForm.ttl'\nimport renderForm from '../rdfFormsHelper'\nimport { resumeHeadingText } from '../texts'\n\nconst resumeFormName = 'resumeForm.ttl' // The name of the form file\n\nexport function EditCVSection(context: DataBrowserContext, me: NamedNode, editableProfile: NamedNode | null, store: Store) {\n const section = context.dom.createElement('section')\n section.setAttribute('data-testid', 'edit-cv-section')\n section.setAttribute('aria-labelledby', 'edit-profile-cv-heading')\n section.classList.add('profileSection', 'section-bg', 'profile-form')\n\n const header = context.dom.createElement('header')\n header.classList.add('text-center', 'mb-md')\n\n const heading = context.dom.createElement('h2')\n heading.id = 'edit-profile-cv-heading'\n heading.classList.add('section-title')\n heading.textContent = resumeHeadingText\n\n header.appendChild(heading)\n section.appendChild(header)\n\n if (editableProfile) {\n const comment2 = context.dom.createElement('p')\n comment2.classList.add('p-md')\n comment2.textContent = 'Edit your resume. These will be publicly visible on your profile.'\n section.appendChild(comment2)\n } else {\n const comment1 = context.dom.createElement('p')\n comment1.classList.add('p-md')\n comment1.textContent = 'Login to add resume information to your profile.'\n section.appendChild(comment1)\n }\n\n renderForm(section, me, resumeForm, resumeFormName, store, context.dom, editableProfile)\n\n return section\n}\n","import { DataBrowserContext } from 'pane-registry'\nimport { NamedNode, Store} from 'rdflib'\nimport otherPreferencesForm from '../ontology/otherPreferencesForm.ttl'\nimport renderForm from '../rdfFormsHelper'\nimport { otherPreferencesHeadingText } from '../texts'\n\nconst otherPreferencesFormName = 'otherPreferencesForm.ttl' // The name of the form file\n\nexport function EditOtherPreferencesSection(context: DataBrowserContext, me: NamedNode, editableProfile: NamedNode | null, store: Store) {\n const section = context.dom.createElement('section')\n section.setAttribute('data-testid', 'edit-other-preferences-section')\n section.setAttribute('aria-labelledby', 'edit-profile-other-preferences-heading')\n section.classList.add('profileSection', 'section-bg', 'profile-form')\n\n const header = context.dom.createElement('header')\n header.classList.add('text-center', 'mb-md')\n\n const heading = context.dom.createElement('h2')\n heading.id = 'edit-profile-other-preferences-heading'\n heading.classList.add('section-title')\n heading.textContent = otherPreferencesHeadingText\n\n header.appendChild(heading)\n section.appendChild(header)\n\n renderForm(section, me, otherPreferencesForm, otherPreferencesFormName, store, context.dom, editableProfile)\n\n return section\n}\n","/**\n * Profile Editing App Pane\n *\n * Unlike view panes, this is available any place whatever the real subject,\n * and allows the user to edit their own profile.\n *\n * Usage: paneRegistry.register('/profile/editProfile.view')\n * or standalone script adding onto existing mashlib.\n */\n\nimport { PaneDefinition } from 'pane-registry'\nimport { NamedNode, Store } from 'rdflib'\nimport { icons, login, ns, widgets } from 'solid-ui'\nimport { EditContactsSection } from './EditContactsCard'\nimport { EditFriendsSection } from './EditFriendsCard'\nimport { EditSocialSection } from './EditSocialCard'\nimport { EditProfileCommunitiesSection } from './EditCommunitiesCard'\nimport '../styles/utilities.css'\nimport '../styles/rdfFormsEnforced.css'\nimport { EditCVSection } from './EditCVCard'\nimport { EditOtherPreferencesSection } from './EditOtherPreferences'\n\nconst editProfileView: PaneDefinition = {\n global: true,\n\n icon: icons.iconBase + 'noun_492246.svg',\n\n name: 'editProfile',\n\n label: () => null, // don't use this in the normal solid-panes dispatching\n\n render: function (subject, context) {\n //console.log('@@@ render edit profile pane: subject, context', subject, context)\n const dom = context.dom\n const store = context.session.store as Store\n\n // Use <section> as the main container for better semantics\n const div = dom.createElement('section')\n div.setAttribute('data-testid', 'profile-editor')\n div.setAttribute('role', 'region')\n div.setAttribute('aria-label', 'Edit your profile')\n let editableProfile: NamedNode | null\n\n // Use <main> for the main content area, styled as a grid like ProfileView\n const main = dom.createElement('main')\n main.setAttribute('id', 'profile-edit-main-content')\n main.setAttribute('aria-busy', 'true')\n main.setAttribute('tabindex', '-1')\n main.classList.add('profile-grid', 'no-focus-ring')\n const mainHeading = dom.createElement('h1')\n mainHeading.classList.add('visually-hidden')\n mainHeading.textContent = 'Edit Profile'\n main.appendChild(mainHeading)\n div.appendChild(main)\n\n // Use <aside> for the status area\n const statusArea = dom.createElement('aside')\n statusArea.classList.add('p-sm')\n statusArea.setAttribute('role', 'status')\n statusArea.setAttribute('aria-live', 'polite')\n statusArea.setAttribute('aria-atomic', 'true')\n const ensureStatusArea = () => {\n if (!statusArea.isConnected) {\n div.appendChild(statusArea)\n }\n }\n\n const profileContext = {\n dom: dom,\n div: main,\n statusArea: statusArea,\n me: null\n }\n\n login.ensureLoadedProfile(profileContext)\n .then(theContext => {\n const me = theContext.me!\n\n const profile = me.doc()\n if (!store.updater) {\n throw new Error('Store has no updater')\n }\n if (store.any(me, ns.solid('editableProfile'))) {\n editableProfile = store.any(me, ns.solid('editableProfile')) as NamedNode\n } else if (store.updater.editable(profile.uri, store)) {\n editableProfile = profile\n } else {\n ensureStatusArea()\n statusArea.appendChild(widgets.errorMessageBlock(dom, `⚠️ Your profile ${profile} is not editable, so we cannot do much here.`, 'straw'))\n return\n }\n\n // Render each section as a card with consistent classes\n // Your contact information Section\n main.appendChild(EditContactsSection(context, me))\n\n // Resume Section\n main.appendChild(EditCVSection(context, me, editableProfile, store))\n\n // Social Accounts Section\n main.appendChild(EditSocialSection(context, me, editableProfile, store))\n\n \n // Other preferences Section\n main.appendChild(EditOtherPreferencesSection(context, me, editableProfile, store))\n \n // People you know Section\n main.appendChild(EditFriendsSection(context, me, editableProfile, profile))\n \n // Communities you participate in Section\n main.appendChild(EditProfileCommunitiesSection(context, me, editableProfile, profile))\n\n main.setAttribute('aria-busy', 'false')\n main.focus()\n \n }).catch(error => {\n ensureStatusArea()\n statusArea.appendChild(widgets.errorMessageBlock(dom, error, '#fee'))\n main.setAttribute('aria-busy', 'false')\n })\n return div\n }\n}\n\nexport default editProfileView\n","import { DataBrowserContext } from 'pane-registry'\nimport './styles/CVCard.css'\nimport './styles/ChatWithMe.css'\nimport './styles/FriendList.css'\nimport './styles/ProfileCard.css'\nimport './styles/ProfileView.css'\nimport './styles/QRCodeCard.css'\nimport './styles/SocialCard.css'\nimport './styles/StuffCard.css'\nimport './styles/utilities.css'\nimport { NamedNode, LiveStore } from 'rdflib'\nimport { render } from 'lit-html'\nimport { ProfileView } from './ProfileView'\nimport editProfileView from './editProfilePane/EditProfileView'\nimport { icons, ns } from 'solid-ui'\nimport * as qrcode from 'qrcode'\n\nasync function loadExtendedProfile(store: LiveStore, subject: NamedNode) {\n const otherProfiles = store.each(\n subject,\n ns.rdfs('seeAlso'),\n null,\n subject.doc()\n ) as Array<NamedNode>\n if (otherProfiles.length > 0) {\n await store.fetcher.load(otherProfiles)\n }\n}\n\n\nconst Pane = {\n global: false,\n icon: icons.iconBase + 'noun_15059.svg',\n name: 'profile',\n label: function (\n subject: NamedNode,\n context: DataBrowserContext\n ): string | null {\n const t = context.session.store.findTypeURIs(subject)\n if (\n t[ns.vcard('Individual').uri] ||\n t[ns.foaf('Person').uri] ||\n t[ns.schema('Person').uri]\n ) {\n return 'Profile'\n }\n return null\n },\n editor: editProfileView, \n render: (subject: NamedNode, context: DataBrowserContext): HTMLElement => {\n const target = context.dom.createElement('div')\n const store = context.session.store\n\n loadExtendedProfile(store, subject).then(async () => {\n render(await ProfileView(subject, context), target)\n const QRCodeEles = Array.from(target.getElementsByClassName('QRCode')) // was context.dom\n if (!QRCodeEles.length) return console.error('QRCode Ele missing')\n for (const QRCodeElement of QRCodeEles as HTMLElement[]) {\n const value = QRCodeElement.getAttribute('data-value')\n if (!value) return console.error('QRCode data-value missing')\n const highlightColor = QRCodeElement.getAttribute('highlightColor') || '#000000'\n const backgroundColor = QRCodeElement.getAttribute('backgroundColor') || '#ffffff'\n // console.log(`@@ qrcodes2 colours highlightColor ${highlightColor}, backgroundColor ${backgroundColor}`)\n\n const options = {\n type: 'svg',\n color: {\n dark: highlightColor,\n light: backgroundColor\n }\n }\n\n qrcode.toString(value, options, function (error, svg) {\n if (error) {\n console.error('QRcode error!', error)\n } else {\n // console.log('QRcode success.', svg);\n QRCodeElement.innerHTML = svg\n QRCodeElement.style.width = '80%'\n QRCodeElement.style.height = '80%'\n QRCodeElement.style.margin = '10%'\n }\n })\n\n }\n })\n\n return target\n },\n}\n\nexport default Pane\n"],"names":[],"sourceRoot":""}
|
|
1
|
+
{"version":3,"file":"profile-pane.js","mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD,O;;;;;;;;;;;;;;ACVA;AAC6G;AACjB;AAC5F,8BAA8B,mFAA2B,CAAC,4FAAqC;AAC/F;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,6FAA6F,aAAa,MAAM,YAAY,OAAO,KAAK,YAAY,aAAa,aAAa,WAAW,YAAY,WAAW,MAAM,KAAK,YAAY,aAAa,OAAO,KAAK,YAAY,aAAa,aAAa,aAAa,OAAO,KAAK,YAAY,aAAa,aAAa,aAAa,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,wBAAwB,qCAAqC,GAAG,mBAAmB;AACzjE;AACA,iEAAe,uBAAuB,EAAC;;;;;;;;;;;;;;;;ACpEvC;AAC6G;AACjB;AAC5F,8BAA8B,mFAA2B,CAAC,4FAAqC;AAC/F;AACA;AACA;AACA;AACA;AACA;AACA,8BAA8B;AAC9B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;AAGA;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,gHAAgH,OAAO,KAAK,KAAK,YAAY,aAAa,aAAa,aAAa,aAAa,aAAa,aAAa,aAAa,aAAa,aAAa,aAAa,aAAa,aAAa,aAAa,aAAa,aAAa,aAAa,aAAa,aAAa,OAAO,YAAY,OAAO,YAAY,OAAO,KAAK,YAAY,OAAO,KAAK,YAAY,OAAO,KAAK,YAAY,OAAO,KAAK,YAAY,OAAO,KAAK,YAAY,aAAa,aAAa,aAAa,OAAO,YAAY,aAAa,MAAM,YAAY,aAAa,OAAO,KAAK,YAAY,aAAa,aAAa,aAAa,aAAa,aAAa,aAAa,WAAW,YA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B,yBAAyB,0BAA0B,GAAG,0LAA0L,6BAA6B,0BAA0B,yBAAyB,4BAA4B,gCAAgC,wBAAwB,yBAAyB,gCAAgC,GAAG,srBAAsrB,oCAAoC,2BAA2B,4BAA4B,iCAAiC,GAAG,k3BAAk3B,oCAAoC,0BAA0B,2BAA2B,iCAAiC,GAAG,qBAAqB;AACzskB;AACA,iEAAe,uBAAuB,EAAC;;;;;;;;;;;;;;;;AClbvC;AAC6G;AACjB;AAC5F,8BAA8B,mFAA2B,CAAC,4FAAqC;AAC/F;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,UAAU;AACV,UAAU;AACV,UAAU;AACV,UAAU;AACV,UAAU;;AAEV,SAAS;AACT,SAAS;AACT,SAAS;AACT,SAAS;;AAET,SAAS;AACT,SAAS;AACT,SAAS;AACT,SAAS;;AAET,QAAQ;AACR,QAAQ;AACR,QAAQ;AACR,QAAQ;;AAER,WAAW;AACX,cAAc;;AAEd,UAAU;AACV,aAAa;;AAEb;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,mBAAmB;AACnB;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,OAAO,mGAAmG,MAAM,YAAY,OAAO,KAAK,MAAM,YAAY,OAAO,SAAS,YAAY,aAAa,aAAa,MAAM,MAAM,KAAK,UAAU,YAAY,aAAa,aAAa,aAAa,OAAO,MAAM,QAAQ,MAAM,UAAU,YAAY,aAAa,aAAa,aAAa,OAAO,MAAM,YAAY,OAAO,KAAK,YAAY,aAAa,OAAO,KAAK,UAAU,KAAK,KAAK,UAAU,MAAM,YAAY,uBAAuB,uBAAuB,uBAAuB,uBAAuB,wBAAwB,uBAAuB,uBAAuB,uBAAuB,wBAAwB,uBAAuB,uBAAuB,uBAAuB,wBAAwB,uBAAuB,uBAAuB,u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AACA;AACA;AACA,qDAAqD;AACrD;AACA;AACA,gDAAgD;AAChD;AACA;AACA,qFAAqF;AACrF;AACA;AACA;AACA,qBAAqB;AACrB;AACA;AACA,qBAAqB;AACrB;AACA;AACA,qBAAqB;AACrB;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,sBAAsB,iBAAiB;AACvC;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB,qBAAqB;AAC1C;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU;AACV,sFAAsF,qBAAqB;AAC3G;AACA;AACA;AACA;AACA;AACA;AACA,UAAU;AACV,iDAAiD,qBAAqB;AACtE;AACA;AACA;AACA;AACA;AACA;AACA,UAAU;AACV,sDAAsD,qBAAqB;AAC3E;AACA;AACA;AACA;AACA;AACA;AACA;AACA,E;;;;;;;;ACpFa;;AAEb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uDAAuD,cAAc;AACrE;AACA;AACA;AACA;AACA,E;;;;;;;;ACfa;;AAEb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,gEAAgE;AAChE;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA,gBAAgB;AAChB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;AACA,kBAAkB;AAClB;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;;;AAGA;AACA,IAAI,IAA6B;AACjC;AACA;;;;;;;;;;ACnKA,mBAAmB,mBAAO,CAAC,IAAe;;AAE1C,eAAe,mBAAO,CAAC,GAAe;AACtC,uBAAuB,mBAAO,CAAC,IAAmB;AAClD,oBAAoB,mBAAO,CAAC,IAAuB;;AAEnD;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;;AAEA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;;AAEA,yBAAc;AACd,yBAAgB;AAChB,yBAAiB;;AAEjB;AACA,gBAAgB;AAChB;AACA,CAAC;;;;;;;;AC3ED;AACA;AACA;;AAEA;AACA;AACA;;;;;;;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,sBAAsB,yCAAgC;;AAEtD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA,YAAY,QAAQ;AACpB,YAAY,gBAAgB;AAC5B;AACA,uBAAuB;AACvB;;AAEA;AACA;AACA;AACA;;AAEA,kBAAkB,kBAAkB;AACpC;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,gFAAgF;AAChF;AACA;AACA;AACA,2BAA2B,uBAAuB;AAClD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY,QAAQ;AACpB,YAAY,gBAAgB;AAC5B;AACA,oBAAoB;AACpB;AACA;AACA;;AAEA,kBAAkB,eAAe;AACjC,oBAAoB,eAAe;AACnC;AACA;AACA;AACA,8CAA8C;AAC9C;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;;;;;;;AClFA,aAAa,mBAAO,CAAC,GAAQ;;AAE7B;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU;AACV;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA,cAAc,2BAA2B;AACzC;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;AC1DA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,GAAG;;AAEH;AACA,oBAAoB,YAAY;AAChC;AACA;AACA,GAAG;;AAEH;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;;;;;;;ACpCA;AACA;AACA;AACA,WAAW,QAAQ;AACnB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,SAAS;AACpB,WAAW,SAAS;AACpB,WAAW,SAAS;AACpB,WAAW,SAAS;AACpB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,YAAY,SAAS;AACrB,YAAY,SAAS;AACrB,YAAY;AACZ;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,SAAS;AACpB,WAAW,SAAS;AACpB,WAAW,SAAS;AACpB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,UAAU;AACrB,WAAW,UAAU;AACrB,YAAY;AACZ;AACA;AACA;AACA;;AAEA;;;;;;;;AChEA,aAAa,mBAAO,CAAC,GAAQ;;AAE7B;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,wCAAwC,OAAO;AAC/C;AACA;AACA;;AAEA;;;;;;;;AC7BA,gBAAgB,mBAAO,CAAC,IAA0B;AAClD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY,QAAQ;AACpB,YAAY,QAAQ;AACpB,YAAY,6BAA6B;AACzC;AACA,sBAAsB;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY,QAAQ;AACpB,YAAY,QAAQ;AACpB,YAAY,6BAA6B;AACzC;AACA,8BAA8B;AAC9B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACtIA,SAAS,KAAK;AACd,SAAS,KAAK;AACd,SAAS,KAAK;AACd,SAAS,KAAK;;AAEd;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,eAAe;AACf;AACA;AACA;;AAEA,YAAY;AACZ;AACA;AACA;;AAEA;AACA;AACA,IAAI;AACJ;AACA;AACA;;;;;;;;ACjDA,sBAAsB,yCAAgC;AACtD;;AAEA;AACA;AACA;AACA;AACA,YAAY,QAAQ;AACpB,YAAY,gBAAgB;AAC5B;AACA,oBAAoB;AACpB;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrBA,cAAc,mBAAO,CAAC,IAAS;;AAE/B;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY,QAAQ;AACpB,YAAY,QAAQ;AACpB,YAAY,6BAA6B;AACzC;AACA,sBAAsB;AACtB;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;;;;;;;AC5BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA,CAAC;AACD;AACA,kBAAkB,SAAS;AAC3B;AACA;;AAEA;;AAEA;AACA;AACA,qBAAqB;AACrB;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW;AACX,oBAAoB,SAAS;AAC7B;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA,YAAY,QAAQ;AACpB,YAAY;AACZ;AACA,WAAW;AACX;AACA;AACA;;AAEA;AACA;AACA;AACA,YAAY,QAAQ;AACpB,YAAY;AACZ;AACA,WAAW;AACX;AACA;;AAEA;AACA;AACA;AACA,YAAY,QAAQ;AACpB,YAAY,QAAQ;AACpB,YAAY;AACZ;AACA,WAAW;AACX;;AAEA;AACA,WAAW;AACX;AACA;;;;;;;;ACpEA,aAAa,mBAAO,CAAC,GAAQ;AAC7B,cAAc,mBAAO,CAAC,IAAS;;AAE/B;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,cAAc,sBAAsB;AACpC;;AAEA;AACA;AACA;AACA;;AAEA;AACA,MAAM;AACN;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;;;;;;;ACrDA;AACA;AACA,UAAU;AACV;AACA,gBAAgB;AAChB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,UAAU;AACV;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,YAAY,SAAS;AACrB,YAAY,iBAAiB;AAC7B;AACA,eAAe;AACf;AACA;;AAEA;AACA;AACA;AACA;AACA,YAAY,eAAe;AAC3B,YAAY,4BAA4B;AACxC;AACA,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oBAAoB;AACpB;AACA;AACA;AACA;AACA;AACA;;AAEA,oBAAoB,YAAY;AAChC;AACA;;AAEA,sBAAsB,YAAY;AAClC;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,oBAAoB;AACpB;AACA;;AAEA,oBAAoB,gBAAgB;AACpC,sBAAsB,gBAAgB;AACtC;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,oBAAoB;AACpB;AACA;AACA;AACA;;AAEA,oBAAoB,YAAY;AAChC;AACA,sBAAsB,YAAY;AAClC;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oBAAoB;AACpB;AACA;;AAEA,kBAAkB,kBAAkB;;AAEpC;;AAEA;AACA;;AAEA;AACA;AACA;AACA,YAAY,QAAQ;AACpB,YAAY,QAAQ;AACpB,YAAY,QAAQ;AACpB,YAAY,oBAAoB;AAChC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,YAAY,WAAW;AACvB,YAAY,WAAW;AACvB;AACA,iBAAiB;AACjB;;AAEA,oBAAoB,YAAY;AAChC,sBAAsB,YAAY;AAClC;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,YAAY,WAAW;AACvB,YAAY,QAAQ;AACpB;AACA,mBAAmB;AACnB;AACA;AACA;;AAEA,kBAAkB,iBAAiB;AACnC;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;;;;;;;ACzOA,qBAAqB,mBAAO,CAAC,IAAiB;AAC9C,cAAc,mBAAO,CAAC,IAAS;;AAE/B;AACA;AACA;AACA;AACA;AACA,UAAU;AACV;AACA,eAAe;AACf;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU;AACV;AACA,oBAAoB;AACpB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,UAAU;AACV;AACA,YAAY;AACZ;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU;AACV;AACA,aAAa;AACb;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,UAAU;AACV;AACA,aAAa;AACb;AACA;;AAEA;AACA;AACA;AACA;AACA,YAAY,QAAQ;AACpB,YAAY,QAAQ;AACpB,YAAY,gBAAgB;AAC5B;AACA,6BAA6B;AAC7B;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,YAAY,QAAQ;AACpB,YAAY,gBAAgB;AAC5B;AACA,0BAA0B;AAC1B;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,MAAM;AACjB,aAAa,SAAS;AACtB;AACA,gBAAgB;AAChB;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,SAAS;AACtB,aAAa,SAAS;AACtB;AACA,eAAe;AACf;AACA;;AAEA;AACA;AACA;AACA,aAAa,QAAQ;AACrB,aAAa,eAAe;AAC5B;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;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B,mBAAO,CAAC,IAAwB;AAC3D,gBAAgB,mBAAO,CAAC,IAAW;AACnC,mBAAmB,mBAAO,CAAC,IAAe;AAC1C,aAAa,mBAAO,CAAC,GAAQ;AAC7B,iBAAiB,mBAAO,CAAC,IAAY;;AAErC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,YAAY,WAAW;AACvB,YAAY,WAAW;AACvB;AACA;AACA;AACA;;AAEA,kBAAkB,gBAAgB;AAClC;AACA;;AAEA,qBAAqB,QAAQ;AAC7B;;AAEA,uBAAuB,QAAQ;AAC/B;;AAEA;AACA;AACA;AACA;AACA,UAAU;AACV;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,8CAA8C;AAC9C;AACA,YAAY,WAAW;AACvB;AACA;AACA;;AAEA,kBAAkB,cAAc;AAChC;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,6CAA6C;AAC7C;AACA,YAAY,WAAW;AACvB,YAAY,WAAW;AACvB;AACA;AACA;;AAEA,kBAAkB,gBAAgB;AAClC;AACA;;AAEA,qBAAqB,QAAQ;AAC7B,uBAAuB,QAAQ;AAC/B;AACA;AACA;AACA,UAAU;AACV;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,YAAY,WAAW;AACvB,YAAY,WAAW;AACvB;AACA;AACA;AACA;AACA;;AAEA,kBAAkB,QAAQ;AAC1B;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,YAAY,WAAW;AACvB,YAAY,yBAAyB;AACrC,YAAY,WAAW;AACvB;AACA;AACA;AACA;AACA;;AAEA,cAAc,QAAQ;AACtB;;AAEA;AACA;AACA;AACA,MAAM;AACN;AACA,MAAM;AACN;AACA;;AAEA;AACA;AACA;AACA,MAAM;AACN;AACA,MAAM;AACN;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,YAAY,YAAY;AACxB,YAAY,YAAY;AACxB;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,2BAA2B,SAAS;AACpC;;AAEA;AACA,sBAAsB,OAAO;AAC7B;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,YAAY,UAAU;AACtB,YAAY,wBAAwB;AACpC,YAAY,UAAU;AACtB,YAAY,+BAA+B;AAC3C;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,iCAAiC;AAC9C;;AAEA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,kBAAkB,mBAAmB;AACrC;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,YAAY,WAAW;AACvB,YAAY,WAAW;AACvB,YAAY,sBAAsB;AAClC,YAAY,gCAAgC;AAC5C;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA,kBAAkB,mBAAmB;AACrC;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA,cAAc,iBAAiB;AAC/B,gBAAgB,mBAAmB;AACnC;AACA;AACA;AACA;AACA;;AAEA;AACA,cAAc,aAAa;AAC3B,gBAAgB,mBAAmB;AACnC;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,YAAY,QAAQ;AACpB,YAAY,QAAQ;AACpB,YAAY,qBAAqB;AACjC,YAAY,aAAa;AACzB,YAAY,6BAA6B;AACzC;AACA;AACA;;AAEA;AACA;AACA,IAAI;AACJ;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,IAAI;AACJ;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,gEAAgE;AAChE;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,gBAAgB;AAC3B,WAAW,QAAQ;AACnB,WAAW,QAAQ;AACnB,WAAW,QAAQ;AACnB,WAAW,UAAU;AACrB;AACA,cAAc;AACd;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;;;;;;;AC9eA,mBAAmB,mBAAO,CAAC,IAAc;;AAEzC;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,YAAY,QAAQ;AACpB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,YAAY,YAAY;AACxB,YAAY,iBAAiB;AAC7B;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;;;;;;;;ACvDA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA,aAAa;AACb,kBAAkB;AAClB,YAAY;AACZ,eAAe;AACf,oBAAoB;;AAEpB;AACA;AACA;;AAEA,iBAAiB;AACjB;AACA;;AAEA,mBAAmB;AACnB;AACA;;AAEA,wBAAwB;AACxB;AACA;;;;;;;;AC9BA,aAAa,mBAAO,CAAC,GAAQ;AAC7B,oBAAoB,mBAAO,CAAC,IAAgB;AAC5C,yBAAyB,mBAAO,CAAC,IAAqB;AACtD,iBAAiB,mBAAO,CAAC,IAAa;AACtC,kBAAkB,mBAAO,CAAC,IAAc;AACxC,cAAc,mBAAO,CAAC,IAAS;AAC/B,cAAc,mBAAO,CAAC,IAAS;AAC/B,iBAAiB,mBAAO,CAAC,IAAY;;AAErC;AACA;AACA;AACA,YAAY,QAAQ;AACpB,YAAY,YAAY;AACxB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,YAAY,QAAQ;AACpB,YAAY,QAAQ;AACpB,YAAY,aAAa;AACzB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,YAAY,QAAQ;AACpB,YAAY,gBAAgB;AAC5B;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA,YAAY,QAAQ;AACpB,YAAY,MAAM;AAClB,YAAY,eAAe;AAC3B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,YAAY,OAAO;AACnB,YAAY,YAAY;AACxB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY,OAAO;AACnB,YAAY,YAAY;AACxB;AACA;AACA;AACA,kBAAkB,iBAAiB;AACnC;;AAEA;AACA;AACA;AACA,YAAY,6DAA6D;AACzE,YAAY;AACZ;AACA;AACA;AACA;AACA,YAAY;AACZ;AACA;AACA;AACA;AACA,YAAY;AACZ;AACA;AACA;AACA;AACA,YAAY;AACZ;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY,OAAO;AACnB,YAAY,QAAQ;AACpB,YAAY,gBAAgB;AAC5B;AACA;AACA;AACA,kBAAkB;AAClB;;AAEA,kBAAkB,kBAAkB;AACpC;AACA;;AAEA,oBAAoB,sBAAsB;AAC1C;AACA;;AAEA;AACA,qBAAqB;AACrB;;AAEA,sBAAsB,wBAAwB;AAC9C;;AAEA;AACA;AACA;AACA;;AAEA;AACA,UAAU;AACV;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA,kBAAkB,wBAAwB;AAC1C;AACA;;AAEA,WAAW;AACX;;AAEA;AACA;AACA;AACA;AACA,YAAY,QAAQ;AACpB,YAAY,eAAe;AAC3B,YAAY,yBAAyB;AACrC;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY,OAAO;AACnB,YAAY,aAAa;AACzB;AACA,iBAAiB;AACjB;AACA;AACA;AACA,MAAM;AACN;AACA;;AAEA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA,YAAY,QAAQ;AACpB,YAAY,QAAQ;AACpB,YAAY,gBAAgB;AAC5B;AACA,kBAAkB;AAClB;;AAEA;AACA;AACA;;AAEA;AACA,kBAAkB,qBAAqB;AACvC;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY,QAAQ;AACpB,YAAY,aAAa;AACzB;AACA,gBAAgB;AAChB;AACA;AACA;AACA;;;;;;;;ACzUA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,YAAY,QAAQ;AACpB,YAAY,gBAAgB;AAC5B;A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SAAS;AACrB,YAAY,QAAQ;AACpB,YAAY,MAAM;AAClB,YAAY,iCAAiC;AAC7C;AACA,6BAA6B;AAC7B;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,IAAI;AACJ;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY,QAAQ;AACpB,YAAY,gBAAgB;AAC5B;AACA,sBAAsB;AACtB;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;;;;;;;;AClKA,cAAc,mBAAO,CAAC,IAAS;;AAE/B;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;;AAEA,cAAc;AACd;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA,uBAAuB;AACvB;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;;AAEA;AACA;;;;;;;;AC9DA,cAAc,mBAAO,CAAC,IAAS;;AAE/B;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA,kBAAkB,iBAAiB;AACnC;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;;AAEA;AACA;;AAEA,cAAc;AACd;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;;;;;;;;AChFA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,kBAAkB;AAClB;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;;AAEA,gBAAgB;AAChB;AACA;AACA;AACA;;AAEA,qBAAqB;AACrB;AACA;AACA;;AAEA,qBAAqB;AACrB;AACA;AACA;AACA;AACA;AACA;;AAEA,kBAAkB,gBAAgB;AAClC,oBAAoB,gBAAgB;AACpC;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;AClGa;;AAEb;AACA;AACA;AACA,kBAAkB,wBAAwB;AAC1C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kBAAkB,iBAAiB;AACnC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oBAAoB,4BAA4B;AAChD;AACA;AACA;AACA;AACA;AACA,qBAAqB,6BAA6B;AAClD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,E;;;;;;;;ACnFa;;AAEb;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kC;;;;;;;;ACjCa;;AAEb;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oC;;;;;;;;ACTa;;AAEb;AACA;AACA,cAAc,KAAwC,GAAG,sBAAiB,GAAG,CAAI;AACjF;AACA;AACA;AACA;AACA,gD;;;;;;;;ACTa;;AAEb;AACA;AACA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,CAAC,eAAe,EAAE,KAAK,CAAC;oBACvC,CAAC;yBAAM,CAAC;wBACN,uCAAuC;wBACvC,aAAa,CAAC,SAAS,GAAG,GAAG;wBAC7B,aAAa,CAAC,KAAK,CAAC,KAAK,GAAG,KAAK;wBACjC,aAAa,CAAC,KAAK,CAAC,MAAM,GAAG,KAAK;wBAClC,aAAa,CAAC,KAAK,CAAC,MAAM,GAAG,KAAK;oBACpC,CAAC;gBACH,CAAC,CAAC;YAEJ,CAAC;QACH,CAAC,CAAC;QAEF,OAAO,MAAM;IACf,CAAC;CACF;AAED,0CAAe,IAAI","sources":["webpack://ProfilePane/webpack/universalModuleDefinition","webpack://ProfilePane/./src/styles/CVCard.css","webpack://ProfilePane/./src/styles/ChatWithMe.css","webpack://ProfilePane/./src/styles/FriendList.css","webpack://ProfilePane/./src/styles/ProfileCard.css","webpack://ProfilePane/./src/styles/ProfileView.css","webpack://ProfilePane/./src/styles/QRCodeCard.css","webpack://ProfilePane/./src/styles/SocialCard.css","webpack://ProfilePane/./src/styles/StuffCard.css","webpack://ProfilePane/./src/styles/editProfile.css","webpack://ProfilePane/./src/styles/profileRDFFormsEnforced.css","webpack://ProfilePane/./src/styles/utilities.css","webpack://ProfilePane/./node_modules/css-loader/dist/runtime/api.js","webpack://ProfilePane/./node_modules/css-loader/dist/runtime/sourceMaps.js","webpack://ProfilePane/./node_modules/dijkstrajs/dijkstra.js","webpack://ProfilePane/./node_modules/qrcode/lib/browser.js","webpack://ProfilePane/./node_modules/qrcode/lib/can-promise.js","webpack://ProfilePane/./node_modules/qrcode/lib/core/alignment-pattern.js","webpack://ProfilePane/./node_modules/qrcode/lib/core/alphanumeric-data.js","webpack://ProfilePane/./node_modules/qrcode/lib/core/bit-buffer.js","webpack://ProfilePane/./node_modules/qrcode/lib/core/bit-matrix.js","webpack://ProfilePane/./node_modules/qrcode/lib/core/byte-data.js","webpack://ProfilePane/./node_modules/qrcode/lib/core/error-correction-code.js","webpack://ProfilePane/./node_modules/qrcode/lib/core/error-correction-level.js","webpack://ProfilePane/./node_modules/qrcode/lib/core/finder-pattern.js","webpack://ProfilePane/./node_modules/qrcode/lib/core/format-info.js","webpack://ProfilePane/./node_modules/qrcode/lib/core/galois-field.js","webpack://ProfilePane/./node_modules/qrcode/lib/core/kanji-data.js","webpack://ProfilePane/./node_modules/qrcode/lib/core/mask-pattern.js","webpack://ProfilePane/./node_modules/qrcode/lib/core/mode.js","webpack://ProfilePane/./node_modules/qrcode/lib/core/numeric-data.js","webpack://ProfilePane/./node_modules/qrcode/lib/core/polynomial.js","webpack://ProfilePane/./node_modules/qrcode/lib/core/qrcode.js","webpack://ProfilePane/./node_modules/qrcode/lib/core/reed-solomon-encoder.js","webpack://ProfilePane/./node_modules/qrcode/lib/core/regex.js","webpack://ProfilePane/./node_modules/qrcode/lib/core/segments.js","webpack://ProfilePane/./node_modules/qrcode/lib/core/utils.js","webpack://ProfilePane/./node_modules/qrcode/lib/core/version-check.js","webpack://ProfilePane/./node_modules/qrcode/lib/core/version.js","webpack://ProfilePane/./node_modules/qrcode/lib/renderer/canvas.js","webpack://ProfilePane/./node_modules/qrcode/lib/renderer/svg-tag.js","webpack://ProfilePane/./node_modules/qrcode/lib/renderer/utils.js","webpack://ProfilePane/./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js","webpack://ProfilePane/./node_modules/style-loader/dist/runtime/insertBySelector.js","webpack://ProfilePane/./node_modules/style-loader/dist/runtime/insertStyleElement.js","webpack://ProfilePane/./node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js","webpack://ProfilePane/./node_modules/style-loader/dist/runtime/styleDomAPI.js","webpack://ProfilePane/./node_modules/style-loader/dist/runtime/styleTagTransform.js","webpack://ProfilePane/./node_modules/validate-color/lib/index.js","webpack://ProfilePane/external umd \"SolidLogic\"","webpack://ProfilePane/external umd \"UI\"","webpack://ProfilePane/external umd \"rdflib\"","webpack://ProfilePane/webpack/bootstrap","webpack://ProfilePane/webpack/runtime/compat get default export","webpack://ProfilePane/webpack/runtime/define property getters","webpack://ProfilePane/webpack/runtime/hasOwnProperty shorthand","webpack://ProfilePane/webpack/runtime/nonce","webpack://ProfilePane/./src/styles/CVCard.css?991d","webpack://ProfilePane/./src/styles/ChatWithMe.css?2963","webpack://ProfilePane/./src/styles/FriendList.css?4665","webpack://ProfilePane/./src/styles/ProfileCard.css?4c2f","webpack://ProfilePane/./src/styles/ProfileView.css?48de","webpack://ProfilePane/./src/styles/QRCodeCard.css?9d8e","webpack://ProfilePane/./src/styles/SocialCard.css?9a5c","webpack://ProfilePane/./src/styles/StuffCard.css?8d30","webpack://ProfilePane/./src/styles/utilities.css?4cc3","webpack://ProfilePane/./node_modules/lit-html/lit-html.js","webpack://ProfilePane/./node_modules/lit-html/directive-helpers.js","webpack://ProfilePane/./node_modules/lit-html/directive.js","webpack://ProfilePane/./node_modules/lit-html/async-directive.js","webpack://ProfilePane/./node_modules/lit-html/directives/private-async-helpers.js","webpack://ProfilePane/./node_modules/lit-html/directives/async-replace.js","webpack://ProfilePane/./src/texts.ts","webpack://ProfilePane/./src/buttonsHelper.ts","webpack://ProfilePane/./src/ChatWithMe.ts","webpack://ProfilePane/./src/addMeToYourFriends.ts","webpack://ProfilePane/./src/FriendList.ts","webpack://ProfilePane/./src/presenter.ts","webpack://ProfilePane/./src/CVPresenter.ts","webpack://ProfilePane/./src/rdfFormsHelper.ts","webpack://ProfilePane/./src/SocialPresenter.ts","webpack://ProfilePane/./src/StuffPresenter.ts","webpack://ProfilePane/./src/QRCodeCard.ts","webpack://ProfilePane/./src/ProfileCard.ts","webpack://ProfilePane/./src/CVCard.ts","webpack://ProfilePane/./src/SocialCard.ts","webpack://ProfilePane/./src/StuffCard.ts","webpack://ProfilePane/./src/ProfileView.ts","webpack://ProfilePane/./src/editProfilePane/EditContactsCard.ts","webpack://ProfilePane/./src/styles/profileRDFFormsEnforced.css?9aaf","webpack://ProfilePane/./src/styles/editProfile.css?3f0e","webpack://ProfilePane/./src/editProfilePane/editProfilePresenter.ts","webpack://ProfilePane/./src/editProfilePane/EditFriendsCard.ts","webpack://ProfilePane/./src/editProfilePane/EditSocialCard.ts","webpack://ProfilePane/./src/editProfilePane/EditCommunitiesCard.ts","webpack://ProfilePane/./src/editProfilePane/EditCVCard.ts","webpack://ProfilePane/./src/editProfilePane/EditOtherPreferences.ts","webpack://ProfilePane/./src/editProfilePane/EditProfileView.ts","webpack://ProfilePane/./src/index.ts"],"sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory(require(\"UI\"), require(\"SolidLogic\"), require(\"rdflib\"));\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([\"UI\", \"SolidLogic\", \"rdflib\"], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"ProfilePane\"] = factory(require(\"UI\"), require(\"SolidLogic\"), require(\"rdflib\"));\n\telse\n\t\troot[\"ProfilePane\"] = factory(root[\"UI\"], root[\"SolidLogic\"], root[\"rdflib\"]);\n})(this, (__WEBPACK_EXTERNAL_MODULE__9426__, __WEBPACK_EXTERNAL_MODULE__5663__, __WEBPACK_EXTERNAL_MODULE__5491__) => {\nreturn ","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `/* CVCard.css */\n/* Note: Uses utilities: .section-title for cvOrg styling */\n\n.cvSection {\n margin-bottom: 1.25em;\n}\n\n.cvRole {\n margin: var(--spacing-xs) 0;\n font-size: var(--font-size-base);\n line-height: var(--line-height-base);\n display: flex;\n flex-direction: column;\n gap: 0.2em;\n}\n\n.cvOrg {\n font-weight: 600;\n color: var(--color-primary);\n}\n\n.cvSkill, .cvLanguage {\n text-align: left;\n margin: var(--spacing-xs) 0;\n font-size: var(--font-size-base);\n line-height: var(--line-height-base);\n}\n\n.cvSection h3 {\n color: var(--color-text);\n font-size: var(--font-size-lg);\n font-weight: 600;\n line-height: var(--line-height-tight);\n margin-bottom: var(--spacing-xs);\n border-bottom: 1px solid var(--color-border-pale);\n padding-bottom: var(--spacing-xs);\n}\n`, \"\",{\"version\":3,\"sources\":[\"webpack://./src/styles/CVCard.css\"],\"names\":[],\"mappings\":\"AAAA,eAAe;AACf,2DAA2D;;AAE3D;EACE,qBAAqB;AACvB;;AAEA;EACE,2BAA2B;EAC3B,gCAAgC;EAChC,oCAAoC;EACpC,aAAa;EACb,sBAAsB;EACtB,UAAU;AACZ;;AAEA;EACE,gBAAgB;EAChB,2BAA2B;AAC7B;;AAEA;EACE,gBAAgB;EAChB,2BAA2B;EAC3B,gCAAgC;EAChC,oCAAoC;AACtC;;AAEA;EACE,wBAAwB;EACxB,8BAA8B;EAC9B,gBAAgB;EAChB,qCAAqC;EACrC,gCAAgC;EAChC,iDAAiD;EACjD,iCAAiC;AACnC\",\"sourcesContent\":[\"/* CVCard.css */\\n/* Note: Uses utilities: .section-title for cvOrg styling */\\n\\n.cvSection {\\n margin-bottom: 1.25em;\\n}\\n\\n.cvRole {\\n margin: var(--spacing-xs) 0;\\n font-size: var(--font-size-base);\\n line-height: var(--line-height-base);\\n display: flex;\\n flex-direction: column;\\n gap: 0.2em;\\n}\\n\\n.cvOrg {\\n font-weight: 600;\\n color: var(--color-primary);\\n}\\n\\n.cvSkill, .cvLanguage {\\n text-align: left;\\n margin: var(--spacing-xs) 0;\\n font-size: var(--font-size-base);\\n line-height: var(--line-height-base);\\n}\\n\\n.cvSection h3 {\\n color: var(--color-text);\\n font-size: var(--font-size-lg);\\n font-weight: 600;\\n line-height: var(--line-height-tight);\\n margin-bottom: var(--spacing-xs);\\n border-bottom: 1px solid var(--color-border-pale);\\n padding-bottom: var(--spacing-xs);\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `/* ChatWithMe.css */\n/* Uses utilities: .section-centered, .loading-text, .btn-primary, .btn-transparent */\n\n.chatSection {\n overflow-x: auto;\n}\n`, \"\",{\"version\":3,\"sources\":[\"webpack://./src/styles/ChatWithMe.css\"],\"names\":[],\"mappings\":\"AAAA,mBAAmB;AACnB,qFAAqF;;AAErF;EACE,gBAAgB;AAClB\",\"sourcesContent\":[\"/* ChatWithMe.css */\\n/* Uses utilities: .section-centered, .loading-text, .btn-primary, .btn-transparent */\\n\\n.chatSection {\\n overflow-x: auto;\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `/* FriendList.css */\n/* Uses utilities: .list-reset, .section-title, .zebra-stripe, .flex, .gap-xs, .mb-md */\n\n.friendItem {\n padding: var(--spacing-xs) 0;\n font-size: 1em;\n color: var(--color-text-muted);\n}\n\n.friendItem:last-child {\n border-bottom: none;\n}\n`, \"\",{\"version\":3,\"sources\":[\"webpack://./src/styles/FriendList.css\"],\"names\":[],\"mappings\":\"AAAA,mBAAmB;AACnB,uFAAuF;;AAEvF;EACE,4BAA4B;EAC5B,cAAc;EACd,8BAA8B;AAChC;;AAEA;EACE,mBAAmB;AACrB\",\"sourcesContent\":[\"/* FriendList.css */\\n/* Uses utilities: .list-reset, .section-title, .zebra-stripe, .flex, .gap-xs, .mb-md */\\n\\n.friendItem {\\n padding: var(--spacing-xs) 0;\\n font-size: 1em;\\n color: var(--color-text-muted);\\n}\\n\\n.friendItem:last-child {\\n border-bottom: none;\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `/* ProfileCard.css */\n/* Uses utilities: .action-button-focus, .btn-primary, .flex-column-center, .text-truncate, .text-center, .text-wrap-anywhere, .section-centered, .btn-transparent */\n\n.profileCard {\n /* Component container */\n}\n\n.image {\n width: 160px;\n height: 160px;\n border-radius: 50%;\n object-fit: cover;\n margin-bottom: var(--spacing-sm);\n box-shadow: var(--box-shadow-sm);\n border: 3px solid var(--color-primary);\n background: var(--color-card-bg);\n box-sizing: border-box;\n}\n\n.image-alt {\n width: 160px;\n height: 160px;\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: 50%;\n margin-bottom: var(--spacing-sm);\n box-shadow: var(--box-shadow-sm);\n border: 3px solid var(--color-primary);\n background: var(--color-card-bg);\n box-sizing: border-box;\n color: var(--color-text-secondary);\n}\n\n.name {\n font-size: var(--font-size-xl);\n font-weight: 700;\n line-height: var(--line-height-tight);\n text-decoration: underline;\n text-underline-offset: 0.2em;\n margin: 0;\n letter-spacing: var(--letter-spacing-wide);\n}\n\n.intro {\n color: var(--color-text-secondary);\n font-size: var(--font-size-base);\n line-height: var(--line-height-base);\n margin-bottom: var(--spacing-xs);\n max-width: 40ch;\n margin-left: auto;\n margin-right: auto;\n}\n\n.buttonSection {\n color: var(--color-text-secondary);\n font-size: 1em;\n margin-bottom: var(--spacing-xs);\n}\n\n.buttonSubSection {\n width: 100%;\n min-width: 0;\n display: grid;\n}\n\n.buttonSubSection button {\n width: 100%;\n min-width: 0;\n}\n\n/* Ensure prompt inputs stretch to fit their container */\n.add-friend-button-container input[type=\"text\"] {\n width: 100%;\n box-sizing: border-box;\n}\n\n.qrCodeSection {\n color: var(--color-text-secondary);\n font-size: 1em;\n margin-bottom: var(--spacing-xs);\n}\n\n.details {\n color: var(--color-text-muted);\n font-size: var(--font-size-base);\n line-height: var(--line-height-base);\n max-width: 45ch;\n margin-left: auto;\n margin-right: auto;\n}\n\n/* ProfileCard styles as regular CSS */\n.profile-card {\n border: 1px solid #ccc;\n padding: 16px;\n background: white;\n}\n`, \"\",{\"version\":3,\"sources\":[\"webpack://./src/styles/ProfileCard.css\"],\"names\":[],\"mappings\":\"AAAA,oBAAoB;AACpB,oKAAoK;;AAEpK;EACE,wBAAwB;AAC1B;;AAEA;EACE,YAAY;EACZ,aAAa;EACb,kBAAkB;EAClB,iBAAiB;EACjB,gCAAgC;EAChC,gCAAgC;EAChC,sCAAsC;EACtC,gCAAgC;EAChC,sBAAsB;AACxB;;AAEA;EACE,YAAY;EACZ,aAAa;EACb,aAAa;EACb,mBAAmB;EACnB,uBAAuB;EACvB,kBAAkB;EAClB,gCAAgC;EAChC,gCAAgC;EAChC,sCAAsC;EACtC,gCAAgC;EAChC,sBAAsB;EACtB,kCAAkC;AACpC;;AAEA;EACE,8BAA8B;EAC9B,gBAAgB;EAChB,qCAAqC;EACrC,0BAA0B;EAC1B,4BAA4B;EAC5B,SAAS;EACT,0CAA0C;AAC5C;;AAEA;EACE,kCAAkC;EAClC,gCAAgC;EAChC,oCAAoC;EACpC,gCAAgC;EAChC,eAAe;EACf,iBAAiB;EACjB,kBAAkB;AACpB;;AAEA;EACE,kCAAkC;EAClC,cAAc;EACd,gCAAgC;AAClC;;AAEA;EACE,WAAW;EACX,YAAY;EACZ,aAAa;AACf;;AAEA;EACE,WAAW;EACX,YAAY;AACd;;AAEA,wDAAwD;AACxD;EACE,WAAW;EACX,sBAAsB;AACxB;;AAEA;EACE,kCAAkC;EAClC,cAAc;EACd,gCAAgC;AAClC;;AAEA;EACE,8BAA8B;EAC9B,gCAAgC;EAChC,oCAAoC;EACpC,eAAe;EACf,iBAAiB;EACjB,kBAAkB;AACpB;;AAEA,sCAAsC;AACtC;EACE,sBAAsB;EACtB,aAAa;EACb,iBAAiB;AACnB\",\"sourcesContent\":[\"/* ProfileCard.css */\\n/* Uses utilities: .action-button-focus, .btn-primary, .flex-column-center, .text-truncate, .text-center, .text-wrap-anywhere, .section-centered, .btn-transparent */\\n\\n.profileCard {\\n /* Component container */\\n}\\n\\n.image {\\n width: 160px;\\n height: 160px;\\n border-radius: 50%;\\n object-fit: cover;\\n margin-bottom: var(--spacing-sm);\\n box-shadow: var(--box-shadow-sm);\\n border: 3px solid var(--color-primary);\\n background: var(--color-card-bg);\\n box-sizing: border-box;\\n}\\n\\n.image-alt {\\n width: 160px;\\n height: 160px;\\n display: flex;\\n align-items: center;\\n justify-content: center;\\n border-radius: 50%;\\n margin-bottom: var(--spacing-sm);\\n box-shadow: var(--box-shadow-sm);\\n border: 3px solid var(--color-primary);\\n background: var(--color-card-bg);\\n box-sizing: border-box;\\n color: var(--color-text-secondary);\\n}\\n\\n.name {\\n font-size: var(--font-size-xl);\\n font-weight: 700;\\n line-height: var(--line-height-tight);\\n text-decoration: underline;\\n text-underline-offset: 0.2em;\\n margin: 0;\\n letter-spacing: var(--letter-spacing-wide);\\n}\\n\\n.intro {\\n color: var(--color-text-secondary);\\n font-size: var(--font-size-base);\\n line-height: var(--line-height-base);\\n margin-bottom: var(--spacing-xs);\\n max-width: 40ch;\\n margin-left: auto;\\n margin-right: auto;\\n}\\n\\n.buttonSection {\\n color: var(--color-text-secondary);\\n font-size: 1em;\\n margin-bottom: var(--spacing-xs);\\n}\\n\\n.buttonSubSection {\\n width: 100%;\\n min-width: 0;\\n display: grid;\\n}\\n\\n.buttonSubSection button {\\n width: 100%;\\n min-width: 0;\\n}\\n\\n/* Ensure prompt inputs stretch to fit their container */\\n.add-friend-button-container input[type=\\\"text\\\"] {\\n width: 100%;\\n box-sizing: border-box;\\n}\\n\\n.qrCodeSection {\\n color: var(--color-text-secondary);\\n font-size: 1em;\\n margin-bottom: var(--spacing-xs);\\n}\\n\\n.details {\\n color: var(--color-text-muted);\\n font-size: var(--font-size-base);\\n line-height: var(--line-height-base);\\n max-width: 45ch;\\n margin-left: auto;\\n margin-right: auto;\\n}\\n\\n/* ProfileCard styles as regular CSS */\\n.profile-card {\\n border: 1px solid #ccc;\\n padding: 16px;\\n background: white;\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `/* ProfileView.css */\n/* Uses utilities: .section-bg, .text-center */\n\n/* Horizontal layout for cards */\n.profile-grid .profileSection {\n width: 100%;\n max-width: 100%;\n min-width: 0;\n box-sizing: border-box;\n margin-bottom: var(--spacing-md);\n box-sizing: border-box;\n margin-bottom: var(--spacing-md);\n overflow-wrap: anywhere;\n}\n\n@media (min-width: 900px) {\n .profile-grid .profileSection {\n margin-bottom: 0;\n }\n}\n`, \"\",{\"version\":3,\"sources\":[\"webpack://./src/styles/ProfileView.css\"],\"names\":[],\"mappings\":\"AAAA,oBAAoB;AACpB,8CAA8C;;AAE9C,gCAAgC;AAChC;EACE,WAAW;EACX,eAAe;EACf,YAAY;EACZ,sBAAsB;EACtB,gCAAgC;EAChC,sBAAsB;EACtB,gCAAgC;EAChC,uBAAuB;AACzB;;AAEA;EACE;IACE,gBAAgB;EAClB;AACF\",\"sourcesContent\":[\"/* ProfileView.css */\\n/* Uses utilities: .section-bg, .text-center */\\n\\n/* Horizontal layout for cards */\\n.profile-grid .profileSection {\\n width: 100%;\\n max-width: 100%;\\n min-width: 0;\\n box-sizing: border-box;\\n margin-bottom: var(--spacing-md);\\n box-sizing: border-box;\\n margin-bottom: var(--spacing-md);\\n overflow-wrap: anywhere;\\n}\\n\\n@media (min-width: 900px) {\\n .profile-grid .profileSection {\\n margin-bottom: 0;\\n }\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `/* QRCodeCard.css */\n/* Note: Uses utilities: .text-center */\n\n/* Caption under the QR code */\n.qrCaption {\n text-align: center;\n margin-top: 0;\n font-size: 0.95em;\n color: var(--color-text-secondary);\n}\n\n.QRCode {\n width: 100%;\n max-width: 320px;\n min-width: 180px;\n margin: 0 auto;\n display: block;\n}\n\n.QRCode [role=\"img\"]:focus {\n outline: 2px solid var(--color-primary, #7C4DFF);\n outline-offset: 2px;\n box-shadow: 0 0 0 2px rgba(124,77,255,0.2);\n}`, \"\",{\"version\":3,\"sources\":[\"webpack://./src/styles/QRCodeCard.css\"],\"names\":[],\"mappings\":\"AAAA,mBAAmB;AACnB,uCAAuC;;AAEvC,8BAA8B;AAC9B;EACE,kBAAkB;EAClB,aAAa;EACb,iBAAiB;EACjB,kCAAkC;AACpC;;AAEA;EACE,WAAW;EACX,gBAAgB;EAChB,gBAAgB;EAChB,cAAc;EACd,cAAc;AAChB;;AAEA;EACE,gDAAgD;EAChD,mBAAmB;EACnB,0CAA0C;AAC5C\",\"sourcesContent\":[\"/* QRCodeCard.css */\\n/* Note: Uses utilities: .text-center */\\n\\n/* Caption under the QR code */\\n.qrCaption {\\n text-align: center;\\n margin-top: 0;\\n font-size: 0.95em;\\n color: var(--color-text-secondary);\\n}\\n\\n.QRCode {\\n width: 100%;\\n max-width: 320px;\\n min-width: 180px;\\n margin: 0 auto;\\n display: block;\\n}\\n\\n.QRCode [role=\\\"img\\\"]:focus {\\n outline: 2px solid var(--color-primary, #7C4DFF);\\n outline-offset: 2px;\\n box-shadow: 0 0 0 2px rgba(124,77,255,0.2);\\n}\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `/* SocialCard.css */\n/* Uses utilities: .list-reset, .text-wrap-anywhere, .flex, .gap-sm, .gap-lg, .rounded-sm */\n\n.socialList {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n gap: var(--spacing-lg);\n justify-content: center;\n}\n\n.socialItem {\n display: flex;\n align-items: center;\n gap: var(--spacing-sm);\n font-size: 1.1em;\n}\n\n.socialItem span {\n min-width: 0;\n display: block;\n}\n\n.socialItem a {\n color: var(--color-primary);\n text-decoration: none;\n display: flex;\n align-items: center;\n gap: var(--spacing-sm);\n min-height: var(--min-touch-target);\n padding: var(--spacing-xs);\n border-radius: var(--border-radius-base);\n transition: background-color var(--animation-duration) ease;\n position: relative;\n flex: 1;\n min-width: 0;\n}\n\n.socialItem a:hover,\n.socialItem a:focus {\n text-decoration: underline;\n background-color: rgba(124, 77, 255, 0.1);\n}\n\n/* Screen reader only external link indication */\n.socialItem a[href^=\"http\"]:after {\n content: \" (external link)\";\n position: absolute;\n left: -10000px;\n width: 1px;\n height: 1px;\n overflow: hidden;\n}\n\n.socialIcon {\n width: 2.5em;\n height: 2.5em;\n border-radius: var(--border-radius-base);\n background: var(--color-card-bg);\n flex-shrink: 0;\n}\n`, \"\",{\"version\":3,\"sources\":[\"webpack://./src/styles/SocialCard.css\"],\"names\":[],\"mappings\":\"AAAA,mBAAmB;AACnB,2FAA2F;;AAE3F;EACE,aAAa;EACb,mBAAmB;EACnB,eAAe;EACf,sBAAsB;EACtB,uBAAuB;AACzB;;AAEA;EACE,aAAa;EACb,mBAAmB;EACnB,sBAAsB;EACtB,gBAAgB;AAClB;;AAEA;EACE,YAAY;EACZ,cAAc;AAChB;;AAEA;EACE,2BAA2B;EAC3B,qBAAqB;EACrB,aAAa;EACb,mBAAmB;EACnB,sBAAsB;EACtB,mCAAmC;EACnC,0BAA0B;EAC1B,wCAAwC;EACxC,2DAA2D;EAC3D,kBAAkB;EAClB,OAAO;EACP,YAAY;AACd;;AAEA;;EAEE,0BAA0B;EAC1B,yCAAyC;AAC3C;;AAEA,gDAAgD;AAChD;EACE,2BAA2B;EAC3B,kBAAkB;EAClB,cAAc;EACd,UAAU;EACV,WAAW;EACX,gBAAgB;AAClB;;AAEA;EACE,YAAY;EACZ,aAAa;EACb,wCAAwC;EACxC,gCAAgC;EAChC,cAAc;AAChB\",\"sourcesContent\":[\"/* SocialCard.css */\\n/* Uses utilities: .list-reset, .text-wrap-anywhere, .flex, .gap-sm, .gap-lg, .rounded-sm */\\n\\n.socialList {\\n display: flex;\\n flex-direction: row;\\n flex-wrap: wrap;\\n gap: var(--spacing-lg);\\n justify-content: center;\\n}\\n\\n.socialItem {\\n display: flex;\\n align-items: center;\\n gap: var(--spacing-sm);\\n font-size: 1.1em;\\n}\\n\\n.socialItem span {\\n min-width: 0;\\n display: block;\\n}\\n\\n.socialItem a {\\n color: var(--color-primary);\\n text-decoration: none;\\n display: flex;\\n align-items: center;\\n gap: var(--spacing-sm);\\n min-height: var(--min-touch-target);\\n padding: var(--spacing-xs);\\n border-radius: var(--border-radius-base);\\n transition: background-color var(--animation-duration) ease;\\n position: relative;\\n flex: 1;\\n min-width: 0;\\n}\\n\\n.socialItem a:hover,\\n.socialItem a:focus {\\n text-decoration: underline;\\n background-color: rgba(124, 77, 255, 0.1);\\n}\\n\\n/* Screen reader only external link indication */\\n.socialItem a[href^=\\\"http\\\"]:after {\\n content: \\\" (external link)\\\";\\n position: absolute;\\n left: -10000px;\\n width: 1px;\\n height: 1px;\\n overflow: hidden;\\n}\\n\\n.socialIcon {\\n width: 2.5em;\\n height: 2.5em;\\n border-radius: var(--border-radius-base);\\n background: var(--color-card-bg);\\n flex-shrink: 0;\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `/* StuffCard.css */\n/* Uses utilities: .zebra-stripe */\n\n.stuffTable {\n width: 100%;\n border-collapse: collapse;\n margin-bottom: var(--spacing-md);\n caption-side: top;\n}\n\n.stuffTable caption {\n font-weight: 600;\n padding: var(--spacing-sm);\n text-align: left;\n color: var(--color-text);\n}\n\n.stuffTable th,\n.stuffTable td {\n padding: var(--spacing-sm) var(--spacing-md);\n text-align: left;\n line-height: 1.4;\n}\n`, \"\",{\"version\":3,\"sources\":[\"webpack://./src/styles/StuffCard.css\"],\"names\":[],\"mappings\":\"AAAA,kBAAkB;AAClB,kCAAkC;;AAElC;EACE,WAAW;EACX,yBAAyB;EACzB,gCAAgC;EAChC,iBAAiB;AACnB;;AAEA;EACE,gBAAgB;EAChB,0BAA0B;EAC1B,gBAAgB;EAChB,wBAAwB;AAC1B;;AAEA;;EAEE,4CAA4C;EAC5C,gBAAgB;EAChB,gBAAgB;AAClB\",\"sourcesContent\":[\"/* StuffCard.css */\\n/* Uses utilities: .zebra-stripe */\\n\\n.stuffTable {\\n width: 100%;\\n border-collapse: collapse;\\n margin-bottom: var(--spacing-md);\\n caption-side: top;\\n}\\n\\n.stuffTable caption {\\n font-weight: 600;\\n padding: var(--spacing-sm);\\n text-align: left;\\n color: var(--color-text);\\n}\\n\\n.stuffTable th,\\n.stuffTable td {\\n padding: var(--spacing-sm) var(--spacing-md);\\n text-align: left;\\n line-height: 1.4;\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `.profile-grid .add-friend-button-container,\n.profile-grid .add-community-button-container {\n display: inline-flex;\n align-items: center;\n gap: var(--spacing-xxs);\n flex-wrap: wrap;\n justify-content: flex-start;\n}\n\n/* Ensure the button container can shrink properly in narrow layouts */\n.profile-grid .add-community-button-container {\n min-width: 0;\n max-width: 100%;\n}\n\n/* Allow any direct children to shrink so no element forces overflow */\n.profile-grid .add-community-button-container > * {\n min-width: 0;\n max-width: 100%;\n}\n\n.profile-grid table {\n margin: 0 !important;\n}\n\n.profile-grid td {\n padding: 0;\n}\n\n.profile-grid .add-friend-button-container .span,\n.profile-grid .add-community-button-container .span {\n display: inline-flex;\n align-items: center;\n}\n\n.profile-grid .add-friend-button-container > div,\n.profile-grid .add-community-button-container > div {\n flex-basis: 100%;\n}\n\n/* Prevent the add-community input from overflowing its flex container */\n.profile-grid .add-community-button-container input {\n min-width: 0;\n max-width: 96%;\n flex: 1 1 0;\n word-break: break-word;\n}\n\n.profile-grid .profile-image {\n width: var( --profile-image-size);\n height: var( --profile-image-size);\n margin: var(--spacing-xxxs);\n border-radius: var(--spacing-lg);\n}\n\n.profile-grid .default-profile-image {\n width: 140%;\n height: 140%;\n object-fit: cover;\n margin-left: -0.6em;\n border-radius: var(--spacing-lg);\n}`, \"\",{\"version\":3,\"sources\":[\"webpack://./src/styles/editProfile.css\"],\"names\":[],\"mappings\":\"AAAA;;EAEE,oBAAoB;EACpB,mBAAmB;EACnB,uBAAuB;EACvB,eAAe;EACf,2BAA2B;AAC7B;;AAEA,sEAAsE;AACtE;EACE,YAAY;EACZ,eAAe;AACjB;;AAEA,sEAAsE;AACtE;EACE,YAAY;EACZ,eAAe;AACjB;;AAEA;EACE,oBAAoB;AACtB;;AAEA;EACE,UAAU;AACZ;;AAEA;;EAEE,oBAAoB;EACpB,mBAAmB;AACrB;;AAEA;;EAEE,gBAAgB;AAClB;;AAEA,wEAAwE;AACxE;EACE,YAAY;EACZ,cAAc;EACd,WAAW;EACX,sBAAsB;AACxB;;AAEA;EACE,iCAAiC;EACjC,kCAAkC;EAClC,2BAA2B;EAC3B,gCAAgC;AAClC;;AAEA;EACE,WAAW;EACX,YAAY;EACZ,iBAAiB;EACjB,mBAAmB;EACnB,gCAAgC;AAClC\",\"sourcesContent\":[\".profile-grid .add-friend-button-container,\\n.profile-grid .add-community-button-container {\\n display: inline-flex;\\n align-items: center;\\n gap: var(--spacing-xxs);\\n flex-wrap: wrap;\\n justify-content: flex-start;\\n}\\n\\n/* Ensure the button container can shrink properly in narrow layouts */\\n.profile-grid .add-community-button-container {\\n min-width: 0;\\n max-width: 100%;\\n}\\n\\n/* Allow any direct children to shrink so no element forces overflow */\\n.profile-grid .add-community-button-container > * {\\n min-width: 0;\\n max-width: 100%;\\n}\\n\\n.profile-grid table {\\n margin: 0 !important;\\n}\\n\\n.profile-grid td {\\n padding: 0;\\n}\\n\\n.profile-grid .add-friend-button-container .span,\\n.profile-grid .add-community-button-container .span {\\n display: inline-flex;\\n align-items: center;\\n}\\n\\n.profile-grid .add-friend-button-container > div,\\n.profile-grid .add-community-button-container > div {\\n flex-basis: 100%;\\n}\\n\\n/* Prevent the add-community input from overflowing its flex container */\\n.profile-grid .add-community-button-container input {\\n min-width: 0;\\n max-width: 96%;\\n flex: 1 1 0;\\n word-break: break-word;\\n}\\n\\n.profile-grid .profile-image {\\n width: var( --profile-image-size);\\n height: var( --profile-image-size);\\n margin: var(--spacing-xxxs);\\n border-radius: var(--spacing-lg);\\n}\\n\\n.profile-grid .default-profile-image {\\n width: 140%;\\n height: 140%;\\n object-fit: cover;\\n margin-left: -0.6em;\\n border-radius: var(--spacing-lg);\\n}\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `/* Delete pop up*/\n/* Make the Solid-UI delete confirmation popup appear near the last click position.\n Keep the built-in Solid-UI styling (orange border, white background) so it looks like the original.\n*/\n.profile-grid div[style*=\"position: relative\"] > div[style*=\"display: grid\"] {\n/* only override positioning; keep styling (border/background/etc) from solid-ui */\n position: absolute !important;\n z-index: 9999 !important;\n top: 0 !important;\n right: 0 !important;\n left: auto !important;\n display: grid !important;\n pointer-events: auto !important;\n opacity: 1 !important;\n visibility: visible !important;\n padding: 0.7em !important;\n min-width: 280px !important;\n max-width: 90vw !important;\n background: var(--color-background) !important;\n border: 0.1em solid var(--color-primary) !important;\n border-radius: var(--border-radius-base) !important;\n box-shadow: 0 0.5em 0.9em rgba(0, 0, 0, 0.2) !important;\n grid-template-columns: auto auto !important;\n gap: 0.3em !important;\n}\n\n/* Ensure SVG icons and their buttons inside the Solid-UI delete popup have transparent backgrounds */\n.profile-grid div[style*=\"position: relative\"] > div[style*=\"display: grid\"] img[src\\$=\".svg\"],\n.profile-grid div[style*=\"position: relative\"] > div[style*=\"display: grid\"] button {\n background: transparent !important;\n}\n\n.profile-form .individualPane {\n box-shadow: none !important;\n}\n\n.profile-form p {\n padding: 0 !important;\n}\n\n.profile-form .mb-md {\n margin-bottom: 0 !important;\n}\n\n.profile-form h2 {\n margin-bottom: 1em !important;\n}\n\n.profile-form h3 {\n color: var(--color-primary) !important;\n padding: 0 !important;\n font-size: 1em !important;\n font-weight: 600 !important;\n}\n\n/* Shared form layout rules are imported from rdfFormsCommon.css */\n/* Solid-UI form sizing fixes scoped to Edit CV section */\n.profile-form .hoverControl:not(:has(> img:first-child)) {\n border: 0.1em solid rgb(136, 136, 136) !important;\n flex-direction: column !important;\n}\n\n.profile-form .hoverControl:has(> img:first-child) {\n background-color: transparent !important;\n border: none !important;\n margin: 0 !important;\n border-radius: 0 !important;\n padding: 0.7em !important;\n min-height: var(--min-touch-target);\n min-width: var(--min-touch-target);\n cursor: pointer;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n}\n\n/* Make sure the delete icon floats in the top-right corner of the full hoverControl wrapper */\n.profile-form .hoverControl,\n.profile-grid .hoverControl {\n position: relative !important;\n}\n\n.hoverControl > img.hoverControlHide,\n.hoverControl > [data-testid=\"deleteButtonWithCheck\"] {\n position: absolute !important;\n top: 0.2em !important;\n right: 0.2em !important;\n width: 1.5em !important;\n height: 1.5em !important;\n align-items: center;\n justify-content: center;\n margin: 0 !important;\n float: none !important;\n transform: none !important;\n}\n\n/* When icon is 2nd or 3rd child (i.e. sibling elements exist), align it vertically to the previous item */\n.hoverControl > img.hoverControlHide:nth-child(1),\n.hoverControl > img.hoverControlHide:nth-child(2),\n.hoverControl > [data-testid=\"deleteButtonWithCheck\"]:nth-child(1),\n.hoverControl > [data-testid=\"deleteButtonWithCheck\"]:nth-child(2) {\n top: 50% !important;\n transform: translateY(-50%) !important;\n display: inline-flex !important;\n}\n\n/* Show the delete icon only when the container is hovered */\n.profile-grid .hoverControl:hover > img.hoverControlHide,\n.profile-grid .hoverControl:hover > [data-testid=\"deleteButtonWithCheck\"] {\n display: inline-flex !important;\n}\n\n/* Also show the delete icon when the entire row is hovered */\n.profile-grid .attachmentTable tr:hover .hoverControl > img.hoverControlHide,\n.profile-grid .attachmentTable tr:hover .hoverControl > [data-testid=\"deleteButtonWithCheck\"] {\n display: inline-flex !important;\n}\n\n/* Make the hover-control cell easier to hit */\n.profile-grid .hoverControl {\n padding: 0.75em !important;\n min-width: 2.5em !important;\n min-height: 2.5em !important;\n}\n\n/* When the hoverControl only contains the hidden delete icon, keep it out of layout so it doesn't create empty space */\n.profile-form .formFieldValue .hoverControl:has(> img.hoverControlHide) {\n min-width: 0 !important;\n min-height: 0 !important;\n width: 0 !important;\n height: 0 !important;\n padding: 0 !important;\n margin: 0 !important;\n overflow: visible !important;\n}\n\n/* Hide delete icon only in autocomplete fields */\n.profile-grid .formFieldValue:has(input[data-testid=\"autocomplete-input\"]) [data-testid=\"delete-button\"] {\n display: none !important;\n}\n\n/* Keep autocomplete cancel button hidden when the user is not interacting.\n This avoids the cancel button remaining visible when focus moves away. */\n.profile-grid .formFieldValue:not(:focus-within) [data-testid=\"cancel-button\"] {\n display: none !important;\n}\n\n.profile-grid .hoverControl:has(> img:first-child) > span {\n display: inline-flex;\n align-items: center;\n margin-left: 0.3em;\n}\n\n.profile-grid div[style*=\"padding: 0.5em\"]:has(> img) > span {\n margin-left: 0.3em;\n vertical-align: super !important;\n}\n\n.profile-grid .hoverControl:has(> img:first-child):hover {\n background-color: transparent !important;\n}\n\n.profile-grid button:has(> img[src\\$=\".svg\"]),\n.profile-grid .formFieldValue input[type =\"color\"] {\n background-color: var(--color-section-bg) !important;\n border: none !important;\n margin: 0 !important;\n border-radius: 0 !important;\n box-shadow: none !important;\n padding: 0.5em !important;\n transition: background-color 0.2s ease, box-shadow 0.2s ease;\n padding: 0 !important;\n}\n\n/* Specific icon button should have no extra padding */\n.profile-grid button:has(> img[src=\"https://solidos.github.io/solid-ui/src/icons/noun_1369241.svg\"]) {\n padding: 0 !important;\n}\n\n.profile-form button {\n min-height: var(--min-touch-target);\n min-width: var(--min-touch-target);\n}\n\n.profile-form input:not([type=\"color\"]) {\n width: 99%;\n margin-left: 0 !important;\n margin-right: 0 !important;\n}\n\n.profile-form input:not([type=\"color\"]),\n.profile-form textarea,\n.profile-form select {\n max-width: 96%;\n min-width: 0;\n box-sizing: border-box ;\n font: inherit;\n color: var(--color-text);\n background-color: var(--color-card-bg) !important;\n border: 1px solid var(--color-border-pale);\n}\n\n.profile-form textarea {\n border-color: var(--color-border-pale) !important;\n}\n\n.profile-form input[type=\"date\"],\n.profile-form input[type=\"month\"],\n.profile-form input[type=\"week\"],\n.profile-form input[type=\"time\"],\n.profile-form input[type=\"datetime-local\"] {\n min-height: var(--min-touch-target);\n}\n\n.profile-form .hoverControl:has(> img:first-child):focus-visible,\n.profile-form button:focus-visible,\n.profile-form input:not([type=\"color\"]):focus-visible,\n.profile-form textarea:focus-visible,\n.profile-form select:focus-visible {\n outline: var(--focus-ring-width) solid var(--color-primary) !important;\n outline-offset: 2px;\n box-shadow: 0 0 0 1px var(--color-background);\n}\n\n.profile-form input[type=\"url\"] {\n width: 100%;\n}\n\n.profile-form select#formSelect {\n width: 100%;\n max-width: 97%;\n box-sizing: border-box;\n margin-left: 0 !important;\n margin-right: 0 !important;\n}\n\n/* Remove border/padding from the first wrapper div (and its first child wrapper). */\n.profile-form > div:first-of-type,\n.profile-form > div:first-of-type > div:first-of-type {\n border: none !important;\n padding: 0 !important;\n}\n\n/* Remove border/padding from the inner div of the first wrapper in the contact section. */\nsection[aria-labelledby=\"edit-profile-contact-heading\"] .profile-form > div:first-of-type > div:first-of-type {\n border: none !important;\n padding: 0 !important;\n}\n\n/* In contactPane, remove border/padding from all direct child divs. */\n.contactPane > div {\n border: none !important;\n padding: 0 !important;\n}\n\n/* Align schema.org, solid terms, FOAF, vCard, and org field labels with their input values. */\n.profile-form :not(.choiceBox):has(> .formFieldName):has(> .formFieldValue) {\n display: flex;\n}\n\n/* for the Resume inside corporation choice */\n/* Add space between classifierBox label and select box */\n.profile-form .choiceBox .classifierBox-label {\n /* Optional: ensure label doesn't have extra margin */\n margin-right: 0;\n padding-left: 0.3em;\n}\n.profile-form .choiceBox .choiceBox-selectBox select {\n margin-left: 2.1em !important;\n}\n\n/* for the Resume orga details */\n/* Add space between classifierBox label and select box */\n.profile-form .classifierBox .classifierBox-label {\n /* Match .formFieldName for alignment */\n margin-right: 0;\n padding-left: 0.3em;\n width: 8em;\n padding: 0.3em;\n vertical-align: middle;\n}\n.profile-form .classifierBox .classifierBox-selectBox {\n margin-left: 0 !important;\n}\n\n.profile-form .classifierBox .classifierBox-selectBox select {\n margin-left: 0 !important;\n}\n\n/* for the social media */\n/* Add space between classifierBox label and select box */\nsection[data-testid=\"edit-social-section\"] .classifierBox-label {\n /* Optional: ensure label doesn't have extra margin */\n margin-right: 0;\n padding-left: 0.3em;\n}\nsection[data-testid=\"edit-social-section\"] .classifierBox-selectBox select {\n margin-left: 0.7em !important;\n}\n\n.profile-form :not(.choiceBox):has(> .formFieldName):has(> .formFieldValue) > .formFieldValue {\n margin-bottom: 0;\n}\n\n.profile-form :not(.choiceBox) > .formFieldName:has(a[href*=\"http://schema.org/\"]),\n.profile-form :not(.choiceBox) > .formFieldName:has(a[href*=\"http://www.w3.org/ns/solid/terms#\"]),\n.profile-form :not(.choiceBox) > .formFieldName:has(a[href*=\"http://xmlns.com/foaf/0.1/\"]),\n.profile-form :not(.choiceBox) > .formFieldName:has(a[href*=\"http://www.w3.org/2006/vcard/ns\"]),\n.profile-form :not(.choiceBox) > .formFieldName:has(a[href*=\"http://www.w3.org/ns/org#\"]) {\n display: inline-flex;\n align-items: center;\n vertical-align: middle;\n}\n\n.profile-form :not(.choiceBox) > .formFieldName:has(a[href*=\"http://schema.org/\"]) + .formFieldValue,\n.profile-form :not(.choiceBox) > .formFieldName:has(a[href*=\"http://www.w3.org/ns/solid/terms#\"]) + .formFieldValue,\n.profile-form :not(.choiceBox) > .formFieldName:has(a[href*=\"http://xmlns.com/foaf/0.1/\"]) + .formFieldValue,\n.profile-form :not(.choiceBox) > .formFieldName:has(a[href*=\"http://www.w3.org/2006/vcard/ns\"]) + .formFieldValue,\n.profile-form :not(.choiceBox) > .formFieldName:has(a[href*=\"http://www.w3.org/ns/org#\"]) + .formFieldValue {\n display: inline-flex;\n align-items: center;\n vertical-align: middle;\n flex: 1;\n min-width: 0;\n}\n\n.profile-form textarea,\n.profile-form .formFieldValue textarea {\n appearance: none;\n -webkit-appearance: none;\n border: .05em solid #88c !important;\n border-style: solid !important;\n border-width: .05em !important;\n border-color: #88c !important;\n border-radius: 0.2em !important;\n width: 99%;\n box-sizing: border-box;\n margin-top: var(--spacing-xs);\n margin-left: 0 !important;\n margin-right: 0 !important;\n}\n\n/* Add horizontal gap between label and textarea for all label+textarea pairs. */\n.profile-form div:has(> a) + div:has(textarea) {\n margin-left: var(--spacing-sm);\n}\n\n/* Center textarea label vertically in flex rows. */\n.profile-form div[style*=\"display: flex\"][style*=\"flex-direction: row\"]:has(textarea) {\n align-items: flex-start;\n}\n\n.profile-form div[style*=\"display: flex\"][style*=\"flex-direction: row\"]:has(textarea) > div:has(> a) {\n padding-left: var(--spacing-xs);\n padding-top: var(--spacing-sm);\n}\n\n\n.profile-form :not(.choiceBox):has(> .formFieldValue input[data-testid=\"autocomplete-input\"]) > .formFieldName {\n padding-top: 0.55em !important;\n}\n\n\n.profile-form input:disabled,\n.profile-form textarea:disabled,\n.profile-form select:disabled,\n.profile-form input[readonly],\n.profile-form textarea[readonly],\n.profile-form input:read-only,\n.profile-form textarea:read-only {\n background-color: var(--color-background) !important;\n cursor: not-allowed;\n opacity: 0.75;\n border: 0.05em solid white !important;\n}\n\n.webidControl table td div.contactPane.namedPane {\n border: none !important;\n}\n\n/* Hide the edit icon used by solid-ui (noun_253504.svg and noun_1180158.svg) when it appears as an <img> */\nimg[src*=\"noun_253504.svg\"],\nimg[src*=\"noun_1180158.svg\"] {\n display: none !important;\n width: 0 !important;\n height: 0 !important;\n margin: 0 !important;\n padding: 0 !important;\n}\n\n/* Ensure the parent button for that icon doesn't add padding/margin or affect layout */\nbutton:has(> img[src*=\"noun_253504.svg\"]),\nbutton:has(> img[src*=\"noun_1180158.svg\"]) {\n display: none !important;\n padding: 0 !important;\n margin: 0 !important;\n border: none !important;\n background: none !important;\n width: 0 !important;\n height: 0 !important;\n overflow: hidden !important;\n}\n\n/* Exceptions: allow these icons (and their buttons) when they're part of the add-friend or add-community flows. */\n.profile-grid .profileSection .add-friend-button-container img[src=\"https://solidos.github.io/solid-ui/src/icons/noun_253504.svg\"],\n.profile-grid .profileSection .add-community-button-container img[src=\"https://solidos.github.io/solid-ui/src/icons/noun_253504.svg\"],\n.profile-grid .profileSection .add-friend-button-container button:has(> img[src=\"https://solidos.github.io/solid-ui/src/icons/noun_253504.svg\"]),\n.profile-grid .profileSection .add-community-button-container button:has(> img[src=\"https://solidos.github.io/solid-ui/src/icons/noun_253504.svg\"]) {\n display: inline-flex !important;\n width: auto !important;\n height: auto !important;\n overflow: visible !important;\n}\n\n\n/* Exception: allow “Continue” buttons inside add-friend and add-community button containers. */\n.profile-grid .profileSection .add-friend-button-container button:has(> img[title=\"Continue\"]),\n.profile-grid .profileSection .add-community-button-container button:has(> img[title=\"Continue\"]),\n.profile-grid .profileSection .add-friend-button-container button:has(> img[src=\"https://solidos.github.io/solid-ui/src/icons/noun_1180158.svg\"]),\n.profile-grid .profileSection .add-community-button-container button:has(> img[src=\"https://solidos.github.io/solid-ui/src/icons/noun_1180158.svg\"]),\n.profile-grid .profileSection .add-friend-button-container img[src=\"https://solidos.github.io/solid-ui/src/icons/noun_1180158.svg\"],\n.profile-grid .profileSection .add-community-button-container img[src=\"https://solidos.github.io/solid-ui/src/icons/noun_1180158.svg\"] {\n display: inline-flex !important;\n width: 2em !important;\n height: 2em !important;\n overflow: visible !important;\n}\n`, \"\",{\"version\":3,\"sources\":[\"webpack://./src/styles/profileRDFFormsEnforced.css\"],\"names\":[],\"mappings\":\"AAAA,iBAAiB;AACjB;;CAEC;AACD;AACA,kFAAkF;EAChF,6BAA6B;EAC7B,wBAAwB;EACxB,iBAAiB;EACjB,mBAAmB;EACnB,qBAAqB;EACrB,wBAAwB;EACxB,+BAA+B;EAC/B,qBAAqB;EACrB,8BAA8B;EAC9B,yBAAyB;EACzB,2BAA2B;EAC3B,0BAA0B;EAC1B,8CAA8C;EAC9C,mDAAmD;EACnD,mDAAmD;EACnD,uDAAuD;EACvD,2CAA2C;EAC3C,qBAAqB;AACvB;;AAEA,qGAAqG;AACrG;;EAEE,kCAAkC;AACpC;;AAEA;EACE,2BAA2B;AAC7B;;AAEA;EACE,qBAAqB;AACvB;;AAEA;EACE,2BAA2B;AAC7B;;AAEA;EACE,6BAA6B;AAC/B;;AAEA;EACE,sCAAsC;EACtC,qBAAqB;EACrB,yBAAyB;EACzB,2BAA2B;AAC7B;;AAEA,kEAAkE;AAClE,yDAAyD;AACzD;EACE,iDAAiD;EACjD,iCAAiC;AACnC;;AAEA;EACE,wCAAwC;EACxC,uBAAuB;EACvB,oBAAoB;EACpB,2BAA2B;EAC3B,yBAAyB;EACz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AAEA,mDAAmD;AACnD;EACE,uBAAuB;AACzB;;AAEA;EACE,+BAA+B;EAC/B,8BAA8B;AAChC;;;AAGA;EACE,8BAA8B;AAChC;;;AAGA;;;;;;;EAOE,oDAAoD;EACpD,mBAAmB;EACnB,aAAa;EACb,qCAAqC;AACvC;;AAEA;EACE,uBAAuB;AACzB;;AAEA,2GAA2G;AAC3G;;EAEE,wBAAwB;EACxB,mBAAmB;EACnB,oBAAoB;EACpB,oBAAoB;EACpB,qBAAqB;AACvB;;AAEA,uFAAuF;AACvF;;EAEE,wBAAwB;EACxB,qBAAqB;EACrB,oBAAoB;EACpB,uBAAuB;EACvB,2BAA2B;EAC3B,mBAAmB;EACnB,oBAAoB;EACpB,2BAA2B;AAC7B;;AAEA,kHAAkH;AAClH;;;;EAIE,+BAA+B;EAC/B,sBAAsB;EACtB,uBAAuB;EACvB,4BAA4B;AAC9B;;;AAGA,+FAA+F;AAC/F;;;;;;EAME,+BAA+B;EAC/B,qBAAqB;EACrB,sBAAsB;EACtB,4BAA4B;AAC9B\",\"sourcesContent\":[\"/* Delete pop up*/\\n/* Make the Solid-UI delete confirmation popup appear near the last click position.\\n Keep the built-in Solid-UI styling (orange border, white background) so it looks like the original.\\n*/\\n.profile-grid div[style*=\\\"position: relative\\\"] > div[style*=\\\"display: grid\\\"] {\\n/* only override positioning; keep styling (border/background/etc) from solid-ui */\\n position: absolute !important;\\n z-index: 9999 !important;\\n top: 0 !important;\\n right: 0 !important;\\n left: auto !important;\\n display: grid !important;\\n pointer-events: auto !important;\\n opacity: 1 !important;\\n visibility: visible !important;\\n padding: 0.7em !important;\\n min-width: 280px !important;\\n max-width: 90vw !important;\\n background: var(--color-background) !important;\\n border: 0.1em solid var(--color-primary) !important;\\n border-radius: var(--border-radius-base) !important;\\n box-shadow: 0 0.5em 0.9em rgba(0, 0, 0, 0.2) !important;\\n grid-template-columns: auto auto !important;\\n gap: 0.3em !important;\\n}\\n\\n/* Ensure SVG icons and their buttons inside the Solid-UI delete popup have transparent backgrounds */\\n.profile-grid div[style*=\\\"position: relative\\\"] > div[style*=\\\"display: grid\\\"] img[src$=\\\".svg\\\"],\\n.profile-grid div[style*=\\\"position: relative\\\"] > div[style*=\\\"display: grid\\\"] button {\\n background: transparent !important;\\n}\\n\\n.profile-form .individualPane {\\n box-shadow: none !important;\\n}\\n\\n.profile-form p {\\n padding: 0 !important;\\n}\\n\\n.profile-form .mb-md {\\n margin-bottom: 0 !important;\\n}\\n\\n.profile-form h2 {\\n margin-bottom: 1em !important;\\n}\\n\\n.profile-form h3 {\\n color: var(--color-primary) !important;\\n padding: 0 !important;\\n font-size: 1em !important;\\n font-weight: 600 !important;\\n}\\n\\n/* Shared form layout rules are imported from rdfFormsCommon.css */\\n/* Solid-UI form sizing fixes scoped to Edit CV section */\\n.profile-form .hoverControl:not(:has(> img:first-child)) {\\n border: 0.1em solid rgb(136, 136, 136) !important;\\n flex-direction: column !important;\\n}\\n\\n.profile-form .hoverControl:has(> img:first-child) {\\n background-color: transparent !important;\\n border: none !important;\\n margin: 0 !important;\\n border-radius: 0 !important;\\n padding: 0.7em !important;\\n min-height: var(--min-touch-target);\\n min-width: var(--min-touch-target);\\n cursor: pointer;\\n display: inline-flex;\\n align-items: center;\\n justify-content: center;\\n}\\n\\n/* Make sure the delete icon floats in the top-right corner of the full hoverControl wrapper */\\n.profile-form .hoverControl,\\n.profile-grid .hoverControl {\\n position: relative !important;\\n}\\n\\n.hoverControl > img.hoverControlHide,\\n.hoverControl > [data-testid=\\\"deleteButtonWithCheck\\\"] {\\n position: absolute !important;\\n top: 0.2em !important;\\n right: 0.2em !important;\\n width: 1.5em !important;\\n height: 1.5em !important;\\n align-items: center;\\n justify-content: center;\\n margin: 0 !important;\\n float: none !important;\\n transform: none !important;\\n}\\n\\n/* When icon is 2nd or 3rd child (i.e. sibling elements exist), align it vertically to the previous item */\\n.hoverControl > img.hoverControlHide:nth-child(1),\\n.hoverControl > img.hoverControlHide:nth-child(2),\\n.hoverControl > [data-testid=\\\"deleteButtonWithCheck\\\"]:nth-child(1),\\n.hoverControl > [data-testid=\\\"deleteButtonWithCheck\\\"]:nth-child(2) {\\n top: 50% !important;\\n transform: translateY(-50%) !important;\\n display: inline-flex !important;\\n}\\n\\n/* Show the delete icon only when the container is hovered */\\n.profile-grid .hoverControl:hover > img.hoverControlHide,\\n.profile-grid .hoverControl:hover > [data-testid=\\\"deleteButtonWithCheck\\\"] {\\n display: inline-flex !important;\\n}\\n\\n/* Also show the delete icon when the entire row is hovered */\\n.profile-grid .attachmentTable tr:hover .hoverControl > img.hoverControlHide,\\n.profile-grid .attachmentTable tr:hover .hoverControl > [data-testid=\\\"deleteButtonWithCheck\\\"] {\\n display: inline-flex !important;\\n}\\n\\n/* Make the hover-control cell easier to hit */\\n.profile-grid .hoverControl {\\n padding: 0.75em !important;\\n min-width: 2.5em !important;\\n min-height: 2.5em !important;\\n}\\n\\n/* When the hoverControl only contains the hidden delete icon, keep it out of layout so it doesn't create empty space */\\n.profile-form .formFieldValue .hoverControl:has(> img.hoverControlHide) {\\n min-width: 0 !important;\\n min-height: 0 !important;\\n width: 0 !important;\\n height: 0 !important;\\n padding: 0 !important;\\n margin: 0 !important;\\n overflow: visible !important;\\n}\\n\\n/* Hide delete icon only in autocomplete fields */\\n.profile-grid .formFieldValue:has(input[data-testid=\\\"autocomplete-input\\\"]) [data-testid=\\\"delete-button\\\"] {\\n display: none !important;\\n}\\n\\n/* Keep autocomplete cancel button hidden when the user is not interacting.\\n This avoids the cancel button remaining visible when focus moves away. */\\n.profile-grid .formFieldValue:not(:focus-within) [data-testid=\\\"cancel-button\\\"] {\\n display: none !important;\\n}\\n\\n.profile-grid .hoverControl:has(> img:first-child) > span {\\n display: inline-flex;\\n align-items: center;\\n margin-left: 0.3em;\\n}\\n\\n.profile-grid div[style*=\\\"padding: 0.5em\\\"]:has(> img) > span {\\n margin-left: 0.3em;\\n vertical-align: super !important;\\n}\\n\\n.profile-grid .hoverControl:has(> img:first-child):hover {\\n background-color: transparent !important;\\n}\\n\\n.profile-grid button:has(> img[src$=\\\".svg\\\"]),\\n.profile-grid .formFieldValue input[type =\\\"color\\\"] {\\n background-color: var(--color-section-bg) !important;\\n border: none !important;\\n margin: 0 !important;\\n border-radius: 0 !important;\\n box-shadow: none !important;\\n padding: 0.5em !important;\\n transition: background-color 0.2s ease, box-shadow 0.2s ease;\\n padding: 0 !important;\\n}\\n\\n/* Specific icon button should have no extra padding */\\n.profile-grid button:has(> img[src=\\\"https://solidos.github.io/solid-ui/src/icons/noun_1369241.svg\\\"]) {\\n padding: 0 !important;\\n}\\n\\n.profile-form button {\\n min-height: var(--min-touch-target);\\n min-width: var(--min-touch-target);\\n}\\n\\n.profile-form input:not([type=\\\"color\\\"]) {\\n width: 99%;\\n margin-left: 0 !important;\\n margin-right: 0 !important;\\n}\\n\\n.profile-form input:not([type=\\\"color\\\"]),\\n.profile-form textarea,\\n.profile-form select {\\n max-width: 96%;\\n min-width: 0;\\n box-sizing: border-box ;\\n font: inherit;\\n color: var(--color-text);\\n background-color: var(--color-card-bg) !important;\\n border: 1px solid var(--color-border-pale);\\n}\\n\\n.profile-form textarea {\\n border-color: var(--color-border-pale) !important;\\n}\\n\\n.profile-form input[type=\\\"date\\\"],\\n.profile-form input[type=\\\"month\\\"],\\n.profile-form input[type=\\\"week\\\"],\\n.profile-form input[type=\\\"time\\\"],\\n.profile-form input[type=\\\"datetime-local\\\"] {\\n min-height: var(--min-touch-target);\\n}\\n\\n.profile-form .hoverControl:has(> img:first-child):focus-visible,\\n.profile-form button:focus-visible,\\n.profile-form input:not([type=\\\"color\\\"]):focus-visible,\\n.profile-form textarea:focus-visible,\\n.profile-form select:focus-visible {\\n outline: var(--focus-ring-width) solid var(--color-primary) !important;\\n outline-offset: 2px;\\n box-shadow: 0 0 0 1px var(--color-background);\\n}\\n\\n.profile-form input[type=\\\"url\\\"] {\\n width: 100%;\\n}\\n\\n.profile-form select#formSelect {\\n width: 100%;\\n max-width: 97%;\\n box-sizing: border-box;\\n margin-left: 0 !important;\\n margin-right: 0 !important;\\n}\\n\\n/* Remove border/padding from the first wrapper div (and its first child wrapper). */\\n.profile-form > div:first-of-type,\\n.profile-form > div:first-of-type > div:first-of-type {\\n border: none !important;\\n padding: 0 !important;\\n}\\n\\n/* Remove border/padding from the inner div of the first wrapper in the contact section. */\\nsection[aria-labelledby=\\\"edit-profile-contact-heading\\\"] .profile-form > div:first-of-type > div:first-of-type {\\n border: none !important;\\n padding: 0 !important;\\n}\\n\\n/* In contactPane, remove border/padding from all direct child divs. */\\n.contactPane > div {\\n border: none !important;\\n padding: 0 !important;\\n}\\n\\n/* Align schema.org, solid terms, FOAF, vCard, and org field labels with their input values. */\\n.profile-form :not(.choiceBox):has(> .formFieldName):has(> .formFieldValue) {\\n display: flex;\\n}\\n\\n/* for the Resume inside corporation choice */\\n/* Add space between classifierBox label and select box */\\n.profile-form .choiceBox .classifierBox-label {\\n /* Optional: ensure label doesn't have extra margin */\\n margin-right: 0;\\n padding-left: 0.3em;\\n}\\n.profile-form .choiceBox .choiceBox-selectBox select {\\n margin-left: 2.1em !important;\\n}\\n\\n/* for the Resume orga details */\\n/* Add space between classifierBox label and select box */\\n.profile-form .classifierBox .classifierBox-label {\\n /* Match .formFieldName for alignment */\\n margin-right: 0;\\n padding-left: 0.3em;\\n width: 8em;\\n padding: 0.3em;\\n vertical-align: middle;\\n}\\n.profile-form .classifierBox .classifierBox-selectBox {\\n margin-left: 0 !important;\\n}\\n\\n.profile-form .classifierBox .classifierBox-selectBox select {\\n margin-left: 0 !important;\\n}\\n\\n/* for the social media */\\n/* Add space between classifierBox label and select box */\\nsection[data-testid=\\\"edit-social-section\\\"] .classifierBox-label {\\n /* Optional: ensure label doesn't have extra margin */\\n margin-right: 0;\\n padding-left: 0.3em;\\n}\\nsection[data-testid=\\\"edit-social-section\\\"] .classifierBox-selectBox select {\\n margin-left: 0.7em !important;\\n}\\n\\n.profile-form :not(.choiceBox):has(> .formFieldName):has(> .formFieldValue) > .formFieldValue {\\n margin-bottom: 0;\\n}\\n\\n.profile-form :not(.choiceBox) > .formFieldName:has(a[href*=\\\"http://schema.org/\\\"]),\\n.profile-form :not(.choiceBox) > .formFieldName:has(a[href*=\\\"http://www.w3.org/ns/solid/terms#\\\"]),\\n.profile-form :not(.choiceBox) > .formFieldName:has(a[href*=\\\"http://xmlns.com/foaf/0.1/\\\"]),\\n.profile-form :not(.choiceBox) > .formFieldName:has(a[href*=\\\"http://www.w3.org/2006/vcard/ns\\\"]),\\n.profile-form :not(.choiceBox) > .formFieldName:has(a[href*=\\\"http://www.w3.org/ns/org#\\\"]) {\\n display: inline-flex;\\n align-items: center;\\n vertical-align: middle;\\n}\\n\\n.profile-form :not(.choiceBox) > .formFieldName:has(a[href*=\\\"http://schema.org/\\\"]) + .formFieldValue,\\n.profile-form :not(.choiceBox) > .formFieldName:has(a[href*=\\\"http://www.w3.org/ns/solid/terms#\\\"]) + .formFieldValue,\\n.profile-form :not(.choiceBox) > .formFieldName:has(a[href*=\\\"http://xmlns.com/foaf/0.1/\\\"]) + .formFieldValue,\\n.profile-form :not(.choiceBox) > .formFieldName:has(a[href*=\\\"http://www.w3.org/2006/vcard/ns\\\"]) + .formFieldValue,\\n.profile-form :not(.choiceBox) > .formFieldName:has(a[href*=\\\"http://www.w3.org/ns/org#\\\"]) + .formFieldValue {\\n display: inline-flex;\\n align-items: center;\\n vertical-align: middle;\\n flex: 1;\\n min-width: 0;\\n}\\n\\n.profile-form textarea,\\n.profile-form .formFieldValue textarea {\\n appearance: none;\\n -webkit-appearance: none;\\n border: .05em solid #88c !important;\\n border-style: solid !important;\\n border-width: .05em !important;\\n border-color: #88c !important;\\n border-radius: 0.2em !important;\\n width: 99%;\\n box-sizing: border-box;\\n margin-top: var(--spacing-xs);\\n margin-left: 0 !important;\\n margin-right: 0 !important;\\n}\\n\\n/* Add horizontal gap between label and textarea for all label+textarea pairs. */\\n.profile-form div:has(> a) + div:has(textarea) {\\n margin-left: var(--spacing-sm);\\n}\\n\\n/* Center textarea label vertically in flex rows. */\\n.profile-form div[style*=\\\"display: flex\\\"][style*=\\\"flex-direction: row\\\"]:has(textarea) {\\n align-items: flex-start;\\n}\\n\\n.profile-form div[style*=\\\"display: flex\\\"][style*=\\\"flex-direction: row\\\"]:has(textarea) > div:has(> a) {\\n padding-left: var(--spacing-xs);\\n padding-top: var(--spacing-sm);\\n}\\n\\n\\n.profile-form :not(.choiceBox):has(> .formFieldValue input[data-testid=\\\"autocomplete-input\\\"]) > .formFieldName {\\n padding-top: 0.55em !important;\\n}\\n\\n\\n.profile-form input:disabled,\\n.profile-form textarea:disabled,\\n.profile-form select:disabled,\\n.profile-form input[readonly],\\n.profile-form textarea[readonly],\\n.profile-form input:read-only,\\n.profile-form textarea:read-only {\\n background-color: var(--color-background) !important;\\n cursor: not-allowed;\\n opacity: 0.75;\\n border: 0.05em solid white !important;\\n}\\n\\n.webidControl table td div.contactPane.namedPane {\\n border: none !important;\\n}\\n\\n/* Hide the edit icon used by solid-ui (noun_253504.svg and noun_1180158.svg) when it appears as an <img> */\\nimg[src*=\\\"noun_253504.svg\\\"],\\nimg[src*=\\\"noun_1180158.svg\\\"] {\\n display: none !important;\\n width: 0 !important;\\n height: 0 !important;\\n margin: 0 !important;\\n padding: 0 !important;\\n}\\n\\n/* Ensure the parent button for that icon doesn't add padding/margin or affect layout */\\nbutton:has(> img[src*=\\\"noun_253504.svg\\\"]),\\nbutton:has(> img[src*=\\\"noun_1180158.svg\\\"]) {\\n display: none !important;\\n padding: 0 !important;\\n margin: 0 !important;\\n border: none !important;\\n background: none !important;\\n width: 0 !important;\\n height: 0 !important;\\n overflow: hidden !important;\\n}\\n\\n/* Exceptions: allow these icons (and their buttons) when they're part of the add-friend or add-community flows. */\\n.profile-grid .profileSection .add-friend-button-container img[src=\\\"https://solidos.github.io/solid-ui/src/icons/noun_253504.svg\\\"],\\n.profile-grid .profileSection .add-community-button-container img[src=\\\"https://solidos.github.io/solid-ui/src/icons/noun_253504.svg\\\"],\\n.profile-grid .profileSection .add-friend-button-container button:has(> img[src=\\\"https://solidos.github.io/solid-ui/src/icons/noun_253504.svg\\\"]),\\n.profile-grid .profileSection .add-community-button-container button:has(> img[src=\\\"https://solidos.github.io/solid-ui/src/icons/noun_253504.svg\\\"]) {\\n display: inline-flex !important;\\n width: auto !important;\\n height: auto !important;\\n overflow: visible !important;\\n}\\n\\n\\n/* Exception: allow “Continue” buttons inside add-friend and add-community button containers. */\\n.profile-grid .profileSection .add-friend-button-container button:has(> img[title=\\\"Continue\\\"]),\\n.profile-grid .profileSection .add-community-button-container button:has(> img[title=\\\"Continue\\\"]),\\n.profile-grid .profileSection .add-friend-button-container button:has(> img[src=\\\"https://solidos.github.io/solid-ui/src/icons/noun_1180158.svg\\\"]),\\n.profile-grid .profileSection .add-community-button-container button:has(> img[src=\\\"https://solidos.github.io/solid-ui/src/icons/noun_1180158.svg\\\"]),\\n.profile-grid .profileSection .add-friend-button-container img[src=\\\"https://solidos.github.io/solid-ui/src/icons/noun_1180158.svg\\\"],\\n.profile-grid .profileSection .add-community-button-container img[src=\\\"https://solidos.github.io/solid-ui/src/icons/noun_1180158.svg\\\"] {\\n display: inline-flex !important;\\n width: 2em !important;\\n height: 2em !important;\\n overflow: visible !important;\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `/* Utility-first CSS classes for layout, spacing, and responsiveness */\n\n:root {\n --profile-image-size: 3em;\n}\n\n@media (max-width: 1000px) {\n .profile-grid,\n .profile-grid * {\n font-size: 2rem !important;\n }\n\n .profile-grid .actionButton,\n .profile-grid .searchInput,\n .profile-grid .flatButton,\n .profile-grid .buttonSection button,\n .profile-grid .groupButtonsList button {\n min-height: calc(var(--min-touch-target) + 0.5em) !important;\n font-size: 2rem !important;\n padding: 1em 1em !important;\n }\n}\n\n.actionButton {\n width: 100%;\n min-width: 180px;\n max-width: 320px;\n box-sizing: border-box;\n display: inline-block;\n}\n\n/* ===========================================\n PROFILE GRID LAYOUT\n =========================================== */\n\n.profile-grid {\n display: grid;\n /* Allow the grid to shrink below 30em on small viewports to avoid overflow */\n grid-template-columns: repeat(auto-fit, minmax(min(100%, 30em), 1fr));\n gap: var(--spacing-lg);\n background: var(--color-background);\n}\n\n.profile-header,\n.profile-footer {\n grid-column: 1 / -1;\n}\n\n.center {\n justify-content: center;\n align-items: center;\n}\n\n.flex {\n display: flex;\n}\n.grid {\n display: grid;\n}\n\n/* Spacing utilities using CSS variables */\n.gap-xs { gap: var(--spacing-xs); }\n.gap-sm { gap: var(--spacing-sm); }\n.gap-md { gap: var(--spacing-md); }\n.gap-lg { gap: var(--spacing-lg); }\n.gap-xl { gap: var(--spacing-xl); }\n\n.mt-xs { margin-top: var(--spacing-xs); }\n.mt-sm { margin-top: var(--spacing-sm); }\n.mt-md { margin-top: var(--spacing-md); }\n.mt-lg { margin-top: var(--spacing-lg); }\n\n.mb-xs { margin-bottom: var(--spacing-xs); }\n.mb-sm { margin-bottom: var(--spacing-sm); }\n.mb-md { margin-bottom: var(--spacing-md); }\n.mb-lg { margin-bottom: var(--spacing-lg); }\n\n.p-xs { padding: var(--spacing-xs); }\n.p-sm { padding: var(--spacing-sm); }\n.p-md { padding: var(--spacing-md); }\n.p-lg { padding: var(--spacing-lg); }\n\n.rounded { border-radius: var(--border-radius-full); }\n.rounded-sm { border-radius: var(--border-radius-base); }\n\n.shadow { box-shadow: var(--box-shadow); }\n.shadow-sm { box-shadow: var(--box-shadow-sm); }\n\n.bg-primary {\n background: var(--color-primary);\n color: #fff;\n}\n.bg-card {\n background: var(--color-card-bg);\n}\n\n/* Accessibility utilities */\n.sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border: 0;\n}\n\n.min-touch-target {\n min-height: var(--min-touch-target);\n min-width: var(--min-touch-target);\n}\n\n/* Enhanced accessibility utilities */\n.visually-hidden {\n position: absolute !important;\n width: 1px !important;\n height: 1px !important;\n padding: 0 !important;\n margin: -1px !important;\n overflow: hidden !important;\n clip: rect(0, 0, 0, 0) !important;\n white-space: nowrap !important;\n border: 0 !important;\n}\n\n.visually-hidden.focusable:focus,\n.visually-hidden.focusable:active {\n position: static !important;\n width: auto !important;\n height: auto !important;\n padding: inherit !important;\n margin: inherit !important;\n overflow: visible !important;\n clip: auto !important;\n white-space: inherit !important;\n}\n\n/* Skip links utility */\n.skip-links {\n position: absolute;\n top: -100px;\n left: 0;\n z-index: 1000;\n}\n\n.skip-links a {\n position: absolute;\n left: 6px;\n top: 6px;\n padding: var(--spacing-sm);\n background: var(--color-primary);\n color: white;\n text-decoration: none;\n border-radius: var(--border-radius-base);\n}\n\n.skip-links a:focus {\n top: 6px;\n}\n\n.reduced-motion {\n animation: none !important;\n transition: none !important;\n}\n\n/* Focus management */\n.focus-ring {\n outline: 2px solid var(--color-primary);\n outline-offset: 2px;\n}\n\n.no-focus-ring {\n outline: none;\n}\n\n.no-focus-ring:focus-visible {\n outline: none;\n box-shadow: none;\n}\n\n/* ARIA live regions */\n.live-region {\n position: absolute;\n left: -10000px;\n width: 1px;\n height: 1px;\n overflow: hidden;\n}\n\n/* Note: Use aria-live=\"polite\" or aria-live=\"assertive\" HTML attributes with .live-region */\n\n/* Text scaling utilities */\n.text-scale-friendly {\n line-height: 1.5;\n max-width: 70ch; /* Optimal reading length */\n}\n\n/* Text accessibility utilities */\n.text-readable {\n line-height: var(--line-height-base);\n max-width: 65ch;\n}\n\n.text-lg {\n font-size: var(--font-size-lg);\n line-height: var(--line-height-base);\n}\n\n.text-small {\n font-size: max(var(--font-size-sm), var(--min-font-size));\n line-height: var(--min-line-height);\n}\n\n.text-contrast-high {\n color: var(--color-text);\n font-weight: 600;\n}\n\n:focus-visible {\n outline: var(--focus-ring-width) solid var(--color-primary);\n outline-offset: 2px;\n box-shadow: 0 0 0 1px var(--color-background);\n}\n\n:focus:not(:focus-visible) {\n outline: none;\n box-shadow: none;\n}\n\n/* Prevent labels from appearing focusable to keyboard users. */\nlabel:focus,\nlabel:focus-visible {\n outline: none !important;\n box-shadow: none !important;\n}\n\n/* Better focus for text elements */\n.focusable-text:focus {\n background-color: rgba(124, 77, 255, 0.1);\n outline: 2px solid var(--color-primary);\n outline-offset: 2px;\n border-radius: 2px;\n}\n\n/* High contrast text */\n.high-contrast {\n color: var(--color-text);\n background: var(--color-background);\n border: 1px solid var(--color-border-pale);\n}\n\n/* ===========================================\n CONSOLIDATED COMPONENT PATTERNS\n =========================================== */\n\n/* Primary Button - used by ChatWithMe, ProfileCard */\n.btn-primary {\n min-height: var(--min-touch-target);\n padding: var(--spacing-sm) var(--spacing-md);\n border: 1px solid var(--color-primary);\n border-radius: var(--border-radius-base);\n background: var(--color-primary);\n color: white;\n font-weight: 600;\n cursor: pointer;\n transition: all var(--animation-duration) ease;\n}\n\n.btn-primary:hover {\n background: color-mix(in srgb, var(--color-primary) 90%, black);\n box-shadow: 0 2px 4px rgba(124, 77, 255, 0.2);\n}\n\n.btn-primary:active {\n box-shadow: 0 1px 2px rgba(124, 77, 255, 0.2);\n}\n\n.btn-primary:disabled {\n opacity: 0.6;\n cursor: not-allowed;\n transform: none;\n}\n\n/* Action Button Focus - used by ChatWithMe, ProfileCard */\n.action-button-focus:focus,\n.action-button-focus:focus-visible {\n outline: 3px solid var(--color-primary) !important;\n outline-offset: 2px !important;\n box-shadow: 0 0 0 2px var(--color-background), 0 0 0 5px rgba(124, 77, 255, 0.25) !important;\n z-index: 1;\n}\n\n/* List Reset - used by FriendList, SocialCard, nav */\n.list-reset {\n list-style: none;\n padding: 0;\n margin: 0;\n}\n\n/* Zebra Striping - used by FriendList, StuffCard tables */\n.zebra-stripe tr:nth-child(even),\n.zebra-stripe > *:nth-child(even) {\n background-color: rgba(0, 0, 0, 0.02);\n}\n\n/* Section Title - primary colored heading */\n.section-title {\n font-size: 1.25em;\n font-weight: 600;\n color: var(--color-primary);\n margin: 0;\n}\n\n/* Text Overflow - used by ProfileCard, SocialCard */\n.text-truncate {\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden;\n}\n\n.text-wrap-anywhere {\n overflow-wrap: anywhere;\n word-break: break-word;\n}\n\n/* Loading Text - primary colored centered loading indicator */\n.loading-text {\n color: var(--color-primary);\n text-align: center;\n margin: var(--spacing-md) 0;\n}\n\n/* Centered Section - flex column with center alignment */\n.section-centered {\n display: flex;\n flex-direction: column;\n align-items: center;\n}\n\n/* Card Section Background */\n.section-bg {\n background: var(--color-section-bg);\n border-radius: var(--border-radius-full);\n box-shadow: var(--box-shadow);\n padding: var(--spacing-md);\n}\n\n\n/* Transparent button override (for solid-ui integration) */\n.btn-transparent {\n background-color: transparent;\n}\n\n.btn-transparent:hover {\n background-color: transparent;\n}\n`, \"\",{\"version\":3,\"sources\":[\"webpack://./src/styles/utilities.css\"],\"names\":[],\"mappings\":\"AAAA,sEAAsE;;AAEtE;EACE,yBAAyB;AAC3B;;AAEA;EACE;;IAEE,0BAA0B;EAC5B;;EAEA;;;;;IAKE,4DAA4D;IAC5D,0BAA0B;IAC1B,2BAA2B;EAC7B;AACF;;AAEA;EACE,WAAW;EACX,gBAAgB;EAChB,gBAAgB;EAChB,sBAAsB;EACtB,qBAAqB;AACvB;;AAEA;;gDAEgD;;AAEhD;EACE,aAAa;EACb,6EAA6E;EAC7E,qEAAqE;EACrE,sBAAsB;EACtB,mCAAmC;AACrC;;AAEA;;EAEE,mBAAmB;AACrB;;AAEA;EACE,uBAAuB;EACvB,mBAAmB;AACrB;;AAEA;EACE,aAAa;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B;EACnB,eAAe;AACjB;;AAEA,0DAA0D;AAC1D;;EAEE,kDAAkD;EAClD,8BAA8B;EAC9B,4FAA4F;EAC5F,UAAU;AACZ;;AAEA,qDAAqD;AACrD;EACE,gBAAgB;EAChB,UAAU;EACV,SAAS;AACX;;AAEA,0DAA0D;AAC1D;;EAEE,qCAAqC;AACvC;;AAEA,4CAA4C;AAC5C;EACE,iBAAiB;EACjB,gBAAgB;EAChB,2BAA2B;EAC3B,SAAS;AACX;;AAEA,oDAAoD;AACpD;EACE,mBAAmB;EACnB,uBAAuB;EACvB,gBAAgB;AAClB;;AAEA;EACE,uBAAuB;EACvB,sBAAsB;AACxB;;AAEA,8DAA8D;AAC9D;EACE,2BAA2B;EAC3B,kBAAkB;EAClB,2BAA2B;AAC7B;;AAEA,yDAAyD;AACzD;EACE,aAAa;EACb,sBAAsB;EACtB,mBAAmB;AACrB;;AAEA,4BAA4B;AAC5B;EACE,mCAAmC;EACnC,wCAAwC;EACxC,6BAA6B;EAC7B,0BAA0B;AAC5B;;;AAGA,2DAA2D;AAC3D;EACE,6BAA6B;AAC/B;;AAEA;EACE,6BAA6B;AAC/B\",\"sourcesContent\":[\"/* Utility-first CSS classes for layout, spacing, and responsiveness */\\n\\n:root {\\n --profile-image-size: 3em;\\n}\\n\\n@media (max-width: 1000px) {\\n .profile-grid,\\n .profile-grid * {\\n font-size: 2rem !important;\\n }\\n\\n .profile-grid .actionButton,\\n .profile-grid .searchInput,\\n .profile-grid .flatButton,\\n .profile-grid .buttonSection button,\\n .profile-grid .groupButtonsList button {\\n min-height: calc(var(--min-touch-target) + 0.5em) !important;\\n font-size: 2rem !important;\\n padding: 1em 1em !important;\\n }\\n}\\n\\n.actionButton {\\n width: 100%;\\n min-width: 180px;\\n max-width: 320px;\\n box-sizing: border-box;\\n display: inline-block;\\n}\\n\\n/* ===========================================\\n PROFILE GRID LAYOUT\\n =========================================== */\\n\\n.profile-grid {\\n display: grid;\\n /* Allow the grid to shrink below 30em on small viewports to avoid overflow */\\n grid-template-columns: repeat(auto-fit, minmax(min(100%, 30em), 1fr));\\n gap: var(--spacing-lg);\\n background: var(--color-background);\\n}\\n\\n.profile-header,\\n.profile-footer {\\n grid-column: 1 / -1;\\n}\\n\\n.center {\\n justify-content: center;\\n align-items: center;\\n}\\n\\n.flex {\\n display: flex;\\n}\\n.grid {\\n display: grid;\\n}\\n\\n/* Spacing utilities using CSS variables */\\n.gap-xs { gap: var(--spacing-xs); }\\n.gap-sm { gap: var(--spacing-sm); }\\n.gap-md { gap: var(--spacing-md); }\\n.gap-lg { gap: var(--spacing-lg); }\\n.gap-xl { gap: var(--spacing-xl); }\\n\\n.mt-xs { margin-top: var(--spacing-xs); }\\n.mt-sm { margin-top: var(--spacing-sm); }\\n.mt-md { margin-top: var(--spacing-md); }\\n.mt-lg { margin-top: var(--spacing-lg); }\\n\\n.mb-xs { margin-bottom: var(--spacing-xs); }\\n.mb-sm { margin-bottom: var(--spacing-sm); }\\n.mb-md { margin-bottom: var(--spacing-md); }\\n.mb-lg { margin-bottom: var(--spacing-lg); }\\n\\n.p-xs { padding: var(--spacing-xs); }\\n.p-sm { padding: var(--spacing-sm); }\\n.p-md { padding: var(--spacing-md); }\\n.p-lg { padding: var(--spacing-lg); }\\n\\n.rounded { border-radius: var(--border-radius-full); }\\n.rounded-sm { border-radius: var(--border-radius-base); }\\n\\n.shadow { box-shadow: var(--box-shadow); }\\n.shadow-sm { box-shadow: var(--box-shadow-sm); }\\n\\n.bg-primary {\\n background: var(--color-primary);\\n color: #fff;\\n}\\n.bg-card {\\n background: var(--color-card-bg);\\n}\\n\\n/* Accessibility utilities */\\n.sr-only {\\n position: absolute;\\n width: 1px;\\n height: 1px;\\n padding: 0;\\n margin: -1px;\\n overflow: hidden;\\n clip: rect(0, 0, 0, 0);\\n white-space: nowrap;\\n border: 0;\\n}\\n\\n.min-touch-target {\\n min-height: var(--min-touch-target);\\n min-width: var(--min-touch-target);\\n}\\n\\n/* Enhanced accessibility utilities */\\n.visually-hidden {\\n position: absolute !important;\\n width: 1px !important;\\n height: 1px !important;\\n padding: 0 !important;\\n margin: -1px !important;\\n overflow: hidden !important;\\n clip: rect(0, 0, 0, 0) !important;\\n white-space: nowrap !important;\\n border: 0 !important;\\n}\\n\\n.visually-hidden.focusable:focus,\\n.visually-hidden.focusable:active {\\n position: static !important;\\n width: auto !important;\\n height: auto !important;\\n padding: inherit !important;\\n margin: inherit !important;\\n overflow: visible !important;\\n clip: auto !important;\\n white-space: inherit !important;\\n}\\n\\n/* Skip links utility */\\n.skip-links {\\n position: absolute;\\n top: -100px;\\n left: 0;\\n z-index: 1000;\\n}\\n\\n.skip-links a {\\n position: absolute;\\n left: 6px;\\n top: 6px;\\n padding: var(--spacing-sm);\\n background: var(--color-primary);\\n color: white;\\n text-decoration: none;\\n border-radius: var(--border-radius-base);\\n}\\n\\n.skip-links a:focus {\\n top: 6px;\\n}\\n\\n.reduced-motion {\\n animation: none !important;\\n transition: none !important;\\n}\\n\\n/* Focus management */\\n.focus-ring {\\n outline: 2px solid var(--color-primary);\\n outline-offset: 2px;\\n}\\n\\n.no-focus-ring {\\n outline: none;\\n}\\n\\n.no-focus-ring:focus-visible {\\n outline: none;\\n box-shadow: none;\\n}\\n\\n/* ARIA live regions */\\n.live-region {\\n position: absolute;\\n left: -10000px;\\n width: 1px;\\n height: 1px;\\n overflow: hidden;\\n}\\n\\n/* Note: Use aria-live=\\\"polite\\\" or aria-live=\\\"assertive\\\" HTML attributes with .live-region */\\n\\n/* Text scaling utilities */\\n.text-scale-friendly {\\n line-height: 1.5;\\n max-width: 70ch; /* Optimal reading length */\\n}\\n\\n/* Text accessibility utilities */\\n.text-readable {\\n line-height: var(--line-height-base);\\n max-width: 65ch;\\n}\\n\\n.text-lg {\\n font-size: var(--font-size-lg);\\n line-height: var(--line-height-base);\\n}\\n\\n.text-small {\\n font-size: max(var(--font-size-sm), var(--min-font-size));\\n line-height: var(--min-line-height);\\n}\\n\\n.text-contrast-high {\\n color: var(--color-text);\\n font-weight: 600;\\n}\\n\\n:focus-visible {\\n outline: var(--focus-ring-width) solid var(--color-primary);\\n outline-offset: 2px;\\n box-shadow: 0 0 0 1px var(--color-background);\\n}\\n\\n:focus:not(:focus-visible) {\\n outline: none;\\n box-shadow: none;\\n}\\n\\n/* Prevent labels from appearing focusable to keyboard users. */\\nlabel:focus,\\nlabel:focus-visible {\\n outline: none !important;\\n box-shadow: none !important;\\n}\\n\\n/* Better focus for text elements */\\n.focusable-text:focus {\\n background-color: rgba(124, 77, 255, 0.1);\\n outline: 2px solid var(--color-primary);\\n outline-offset: 2px;\\n border-radius: 2px;\\n}\\n\\n/* High contrast text */\\n.high-contrast {\\n color: var(--color-text);\\n background: var(--color-background);\\n border: 1px solid var(--color-border-pale);\\n}\\n\\n/* ===========================================\\n CONSOLIDATED COMPONENT PATTERNS\\n =========================================== */\\n\\n/* Primary Button - used by ChatWithMe, ProfileCard */\\n.btn-primary {\\n min-height: var(--min-touch-target);\\n padding: var(--spacing-sm) var(--spacing-md);\\n border: 1px solid var(--color-primary);\\n border-radius: var(--border-radius-base);\\n background: var(--color-primary);\\n color: white;\\n font-weight: 600;\\n cursor: pointer;\\n transition: all var(--animation-duration) ease;\\n}\\n\\n.btn-primary:hover {\\n background: color-mix(in srgb, var(--color-primary) 90%, black);\\n box-shadow: 0 2px 4px rgba(124, 77, 255, 0.2);\\n}\\n\\n.btn-primary:active {\\n box-shadow: 0 1px 2px rgba(124, 77, 255, 0.2);\\n}\\n\\n.btn-primary:disabled {\\n opacity: 0.6;\\n cursor: not-allowed;\\n transform: none;\\n}\\n\\n/* Action Button Focus - used by ChatWithMe, ProfileCard */\\n.action-button-focus:focus,\\n.action-button-focus:focus-visible {\\n outline: 3px solid var(--color-primary) !important;\\n outline-offset: 2px !important;\\n box-shadow: 0 0 0 2px var(--color-background), 0 0 0 5px rgba(124, 77, 255, 0.25) !important;\\n z-index: 1;\\n}\\n\\n/* List Reset - used by FriendList, SocialCard, nav */\\n.list-reset {\\n list-style: none;\\n padding: 0;\\n margin: 0;\\n}\\n\\n/* Zebra Striping - used by FriendList, StuffCard tables */\\n.zebra-stripe tr:nth-child(even),\\n.zebra-stripe > *:nth-child(even) {\\n background-color: rgba(0, 0, 0, 0.02);\\n}\\n\\n/* Section Title - primary colored heading */\\n.section-title {\\n font-size: 1.25em;\\n font-weight: 600;\\n color: var(--color-primary);\\n margin: 0;\\n}\\n\\n/* Text Overflow - used by ProfileCard, SocialCard */\\n.text-truncate {\\n white-space: nowrap;\\n text-overflow: ellipsis;\\n overflow: hidden;\\n}\\n\\n.text-wrap-anywhere {\\n overflow-wrap: anywhere;\\n word-break: break-word;\\n}\\n\\n/* Loading Text - primary colored centered loading indicator */\\n.loading-text {\\n color: var(--color-primary);\\n text-align: center;\\n margin: var(--spacing-md) 0;\\n}\\n\\n/* Centered Section - flex column with center alignment */\\n.section-centered {\\n display: flex;\\n flex-direction: column;\\n align-items: center;\\n}\\n\\n/* Card Section Background */\\n.section-bg {\\n background: var(--color-section-bg);\\n border-radius: var(--border-radius-full);\\n box-shadow: var(--box-shadow);\\n padding: var(--spacing-md);\\n}\\n\\n\\n/* Transparent button override (for solid-ui integration) */\\n.btn-transparent {\\n background-color: transparent;\\n}\\n\\n.btn-transparent:hover {\\n background-color: transparent;\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","\"use strict\";\n\n/*\n MIT License http://www.opensource.org/licenses/mit-license.php\n Author Tobias Koppers @sokra\n*/\nmodule.exports = function (cssWithMappingToString) {\n var list = [];\n\n // return the list of modules as css string\n list.toString = function toString() {\n return this.map(function (item) {\n var content = \"\";\n var needLayer = typeof item[5] !== \"undefined\";\n if (item[4]) {\n content += \"@supports (\".concat(item[4], \") {\");\n }\n if (item[2]) {\n content += \"@media \".concat(item[2], \" {\");\n }\n if (needLayer) {\n content += \"@layer\".concat(item[5].length > 0 ? \" \".concat(item[5]) : \"\", \" {\");\n }\n content += cssWithMappingToString(item);\n if (needLayer) {\n content += \"}\";\n }\n if (item[2]) {\n content += \"}\";\n }\n if (item[4]) {\n content += \"}\";\n }\n return content;\n }).join(\"\");\n };\n\n // import a list of modules into the list\n list.i = function i(modules, media, dedupe, supports, layer) {\n if (typeof modules === \"string\") {\n modules = [[null, modules, undefined]];\n }\n var alreadyImportedModules = {};\n if (dedupe) {\n for (var k = 0; k < this.length; k++) {\n var id = this[k][0];\n if (id != null) {\n alreadyImportedModules[id] = true;\n }\n }\n }\n for (var _k = 0; _k < modules.length; _k++) {\n var item = [].concat(modules[_k]);\n if (dedupe && alreadyImportedModules[item[0]]) {\n continue;\n }\n if (typeof layer !== \"undefined\") {\n if (typeof item[5] === \"undefined\") {\n item[5] = layer;\n } else {\n item[1] = \"@layer\".concat(item[5].length > 0 ? \" \".concat(item[5]) : \"\", \" {\").concat(item[1], \"}\");\n item[5] = layer;\n }\n }\n if (media) {\n if (!item[2]) {\n item[2] = media;\n } else {\n item[1] = \"@media \".concat(item[2], \" {\").concat(item[1], \"}\");\n item[2] = media;\n }\n }\n if (supports) {\n if (!item[4]) {\n item[4] = \"\".concat(supports);\n } else {\n item[1] = \"@supports (\".concat(item[4], \") {\").concat(item[1], \"}\");\n item[4] = supports;\n }\n }\n list.push(item);\n }\n };\n return list;\n};","\"use strict\";\n\nmodule.exports = function (item) {\n var content = item[1];\n var cssMapping = item[3];\n if (!cssMapping) {\n return content;\n }\n if (typeof btoa === \"function\") {\n var base64 = btoa(unescape(encodeURIComponent(JSON.stringify(cssMapping))));\n var data = \"sourceMappingURL=data:application/json;charset=utf-8;base64,\".concat(base64);\n var sourceMapping = \"/*# \".concat(data, \" */\");\n return [content].concat([sourceMapping]).join(\"\\n\");\n }\n return [content].join(\"\\n\");\n};","'use strict';\n\n/******************************************************************************\n * Created 2008-08-19.\n *\n * Dijkstra path-finding functions. Adapted from the Dijkstar Python project.\n *\n * Copyright (C) 2008\n * Wyatt Baldwin <self@wyattbaldwin.com>\n * All rights reserved\n *\n * Licensed under the MIT license.\n *\n * http://www.opensource.org/licenses/mit-license.php\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE.\n *****************************************************************************/\nvar dijkstra = {\n single_source_shortest_paths: function(graph, s, d) {\n // Predecessor map for each node that has been encountered.\n // node ID => predecessor node ID\n var predecessors = {};\n\n // Costs of shortest paths from s to all nodes encountered.\n // node ID => cost\n var costs = {};\n costs[s] = 0;\n\n // Costs of shortest paths from s to all nodes encountered; differs from\n // `costs` in that it provides easy access to the node that currently has\n // the known shortest path from s.\n // XXX: Do we actually need both `costs` and `open`?\n var open = dijkstra.PriorityQueue.make();\n open.push(s, 0);\n\n var closest,\n u, v,\n cost_of_s_to_u,\n adjacent_nodes,\n cost_of_e,\n cost_of_s_to_u_plus_cost_of_e,\n cost_of_s_to_v,\n first_visit;\n while (!open.empty()) {\n // In the nodes remaining in graph that have a known cost from s,\n // find the node, u, that currently has the shortest path from s.\n closest = open.pop();\n u = closest.value;\n cost_of_s_to_u = closest.cost;\n\n // Get nodes adjacent to u...\n adjacent_nodes = graph[u] || {};\n\n // ...and explore the edges that connect u to those nodes, updating\n // the cost of the shortest paths to any or all of those nodes as\n // necessary. v is the node across the current edge from u.\n for (v in adjacent_nodes) {\n if (adjacent_nodes.hasOwnProperty(v)) {\n // Get the cost of the edge running from u to v.\n cost_of_e = adjacent_nodes[v];\n\n // Cost of s to u plus the cost of u to v across e--this is *a*\n // cost from s to v that may or may not be less than the current\n // known cost to v.\n cost_of_s_to_u_plus_cost_of_e = cost_of_s_to_u + cost_of_e;\n\n // If we haven't visited v yet OR if the current known cost from s to\n // v is greater than the new cost we just found (cost of s to u plus\n // cost of u to v across e), update v's cost in the cost list and\n // update v's predecessor in the predecessor list (it's now u).\n cost_of_s_to_v = costs[v];\n first_visit = (typeof costs[v] === 'undefined');\n if (first_visit || cost_of_s_to_v > cost_of_s_to_u_plus_cost_of_e) {\n costs[v] = cost_of_s_to_u_plus_cost_of_e;\n open.push(v, cost_of_s_to_u_plus_cost_of_e);\n predecessors[v] = u;\n }\n }\n }\n }\n\n if (typeof d !== 'undefined' && typeof costs[d] === 'undefined') {\n var msg = ['Could not find a path from ', s, ' to ', d, '.'].join('');\n throw new Error(msg);\n }\n\n return predecessors;\n },\n\n extract_shortest_path_from_predecessor_list: function(predecessors, d) {\n var nodes = [];\n var u = d;\n var predecessor;\n while (u) {\n nodes.push(u);\n predecessor = predecessors[u];\n u = predecessors[u];\n }\n nodes.reverse();\n return nodes;\n },\n\n find_path: function(graph, s, d) {\n var predecessors = dijkstra.single_source_shortest_paths(graph, s, d);\n return dijkstra.extract_shortest_path_from_predecessor_list(\n predecessors, d);\n },\n\n /**\n * A very naive priority queue implementation.\n */\n PriorityQueue: {\n make: function (opts) {\n var T = dijkstra.PriorityQueue,\n t = {},\n key;\n opts = opts || {};\n for (key in T) {\n if (T.hasOwnProperty(key)) {\n t[key] = T[key];\n }\n }\n t.queue = [];\n t.sorter = opts.sorter || T.default_sorter;\n return t;\n },\n\n default_sorter: function (a, b) {\n return a.cost - b.cost;\n },\n\n /**\n * Add a new item to the queue and ensure the highest priority element\n * is at the front of the queue.\n */\n push: function (value, cost) {\n var item = {value: value, cost: cost};\n this.queue.push(item);\n this.queue.sort(this.sorter);\n },\n\n /**\n * Return the highest priority element in the queue.\n */\n pop: function () {\n return this.queue.shift();\n },\n\n empty: function () {\n return this.queue.length === 0;\n }\n }\n};\n\n\n// node.js module exports\nif (typeof module !== 'undefined') {\n module.exports = dijkstra;\n}\n","\nconst canPromise = require('./can-promise')\n\nconst QRCode = require('./core/qrcode')\nconst CanvasRenderer = require('./renderer/canvas')\nconst SvgRenderer = require('./renderer/svg-tag.js')\n\nfunction renderCanvas (renderFunc, canvas, text, opts, cb) {\n const args = [].slice.call(arguments, 1)\n const argsNum = args.length\n const isLastArgCb = typeof args[argsNum - 1] === 'function'\n\n if (!isLastArgCb && !canPromise()) {\n throw new Error('Callback required as last argument')\n }\n\n if (isLastArgCb) {\n if (argsNum < 2) {\n throw new Error('Too few arguments provided')\n }\n\n if (argsNum === 2) {\n cb = text\n text = canvas\n canvas = opts = undefined\n } else if (argsNum === 3) {\n if (canvas.getContext && typeof cb === 'undefined') {\n cb = opts\n opts = undefined\n } else {\n cb = opts\n opts = text\n text = canvas\n canvas = undefined\n }\n }\n } else {\n if (argsNum < 1) {\n throw new Error('Too few arguments provided')\n }\n\n if (argsNum === 1) {\n text = canvas\n canvas = opts = undefined\n } else if (argsNum === 2 && !canvas.getContext) {\n opts = text\n text = canvas\n canvas = undefined\n }\n\n return new Promise(function (resolve, reject) {\n try {\n const data = QRCode.create(text, opts)\n resolve(renderFunc(data, canvas, opts))\n } catch (e) {\n reject(e)\n }\n })\n }\n\n try {\n const data = QRCode.create(text, opts)\n cb(null, renderFunc(data, canvas, opts))\n } catch (e) {\n cb(e)\n }\n}\n\nexports.create = QRCode.create\nexports.toCanvas = renderCanvas.bind(null, CanvasRenderer.render)\nexports.toDataURL = renderCanvas.bind(null, CanvasRenderer.renderToDataURL)\n\n// only svg for now.\nexports.toString = renderCanvas.bind(null, function (data, _, opts) {\n return SvgRenderer.render(data, opts)\n})\n","// can-promise has a crash in some versions of react native that dont have\n// standard global objects\n// https://github.com/soldair/node-qrcode/issues/157\n\nmodule.exports = function () {\n return typeof Promise === 'function' && Promise.prototype && Promise.prototype.then\n}\n","/**\n * Alignment pattern are fixed reference pattern in defined positions\n * in a matrix symbology, which enables the decode software to re-synchronise\n * the coordinate mapping of the image modules in the event of moderate amounts\n * of distortion of the image.\n *\n * Alignment patterns are present only in QR Code symbols of version 2 or larger\n * and their number depends on the symbol version.\n */\n\nconst getSymbolSize = require('./utils').getSymbolSize\n\n/**\n * Calculate the row/column coordinates of the center module of each alignment pattern\n * for the specified QR Code version.\n *\n * The alignment patterns are positioned symmetrically on either side of the diagonal\n * running from the top left corner of the symbol to the bottom right corner.\n *\n * Since positions are simmetrical only half of the coordinates are returned.\n * Each item of the array will represent in turn the x and y coordinate.\n * @see {@link getPositions}\n *\n * @param {Number} version QR Code version\n * @return {Array} Array of coordinate\n */\nexports.getRowColCoords = function getRowColCoords (version) {\n if (version === 1) return []\n\n const posCount = Math.floor(version / 7) + 2\n const size = getSymbolSize(version)\n const intervals = size === 145 ? 26 : Math.ceil((size - 13) / (2 * posCount - 2)) * 2\n const positions = [size - 7] // Last coord is always (size - 7)\n\n for (let i = 1; i < posCount - 1; i++) {\n positions[i] = positions[i - 1] - intervals\n }\n\n positions.push(6) // First coord is always 6\n\n return positions.reverse()\n}\n\n/**\n * Returns an array containing the positions of each alignment pattern.\n * Each array's element represent the center point of the pattern as (x, y) coordinates\n *\n * Coordinates are calculated expanding the row/column coordinates returned by {@link getRowColCoords}\n * and filtering out the items that overlaps with finder pattern\n *\n * @example\n * For a Version 7 symbol {@link getRowColCoords} returns values 6, 22 and 38.\n * The alignment patterns, therefore, are to be centered on (row, column)\n * positions (6,22), (22,6), (22,22), (22,38), (38,22), (38,38).\n * Note that the coordinates (6,6), (6,38), (38,6) are occupied by finder patterns\n * and are not therefore used for alignment patterns.\n *\n * let pos = getPositions(7)\n * // [[6,22], [22,6], [22,22], [22,38], [38,22], [38,38]]\n *\n * @param {Number} version QR Code version\n * @return {Array} Array of coordinates\n */\nexports.getPositions = function getPositions (version) {\n const coords = []\n const pos = exports.getRowColCoords(version)\n const posLength = pos.length\n\n for (let i = 0; i < posLength; i++) {\n for (let j = 0; j < posLength; j++) {\n // Skip if position is occupied by finder patterns\n if ((i === 0 && j === 0) || // top-left\n (i === 0 && j === posLength - 1) || // bottom-left\n (i === posLength - 1 && j === 0)) { // top-right\n continue\n }\n\n coords.push([pos[i], pos[j]])\n }\n }\n\n return coords\n}\n","const Mode = require('./mode')\n\n/**\n * Array of characters available in alphanumeric mode\n *\n * As per QR Code specification, to each character\n * is assigned a value from 0 to 44 which in this case coincides\n * with the array index\n *\n * @type {Array}\n */\nconst ALPHA_NUM_CHARS = [\n '0', '1', '2', '3', '4', '5', '6', '7', '8', '9',\n 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M',\n 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z',\n ' ', '$', '%', '*', '+', '-', '.', '/', ':'\n]\n\nfunction AlphanumericData (data) {\n this.mode = Mode.ALPHANUMERIC\n this.data = data\n}\n\nAlphanumericData.getBitsLength = function getBitsLength (length) {\n return 11 * Math.floor(length / 2) + 6 * (length % 2)\n}\n\nAlphanumericData.prototype.getLength = function getLength () {\n return this.data.length\n}\n\nAlphanumericData.prototype.getBitsLength = function getBitsLength () {\n return AlphanumericData.getBitsLength(this.data.length)\n}\n\nAlphanumericData.prototype.write = function write (bitBuffer) {\n let i\n\n // Input data characters are divided into groups of two characters\n // and encoded as 11-bit binary codes.\n for (i = 0; i + 2 <= this.data.length; i += 2) {\n // The character value of the first character is multiplied by 45\n let value = ALPHA_NUM_CHARS.indexOf(this.data[i]) * 45\n\n // The character value of the second digit is added to the product\n value += ALPHA_NUM_CHARS.indexOf(this.data[i + 1])\n\n // The sum is then stored as 11-bit binary number\n bitBuffer.put(value, 11)\n }\n\n // If the number of input data characters is not a multiple of two,\n // the character value of the final character is encoded as a 6-bit binary number.\n if (this.data.length % 2) {\n bitBuffer.put(ALPHA_NUM_CHARS.indexOf(this.data[i]), 6)\n }\n}\n\nmodule.exports = AlphanumericData\n","function BitBuffer () {\n this.buffer = []\n this.length = 0\n}\n\nBitBuffer.prototype = {\n\n get: function (index) {\n const bufIndex = Math.floor(index / 8)\n return ((this.buffer[bufIndex] >>> (7 - index % 8)) & 1) === 1\n },\n\n put: function (num, length) {\n for (let i = 0; i < length; i++) {\n this.putBit(((num >>> (length - i - 1)) & 1) === 1)\n }\n },\n\n getLengthInBits: function () {\n return this.length\n },\n\n putBit: function (bit) {\n const bufIndex = Math.floor(this.length / 8)\n if (this.buffer.length <= bufIndex) {\n this.buffer.push(0)\n }\n\n if (bit) {\n this.buffer[bufIndex] |= (0x80 >>> (this.length % 8))\n }\n\n this.length++\n }\n}\n\nmodule.exports = BitBuffer\n","/**\n * Helper class to handle QR Code symbol modules\n *\n * @param {Number} size Symbol size\n */\nfunction BitMatrix (size) {\n if (!size || size < 1) {\n throw new Error('BitMatrix size must be defined and greater than 0')\n }\n\n this.size = size\n this.data = new Uint8Array(size * size)\n this.reservedBit = new Uint8Array(size * size)\n}\n\n/**\n * Set bit value at specified location\n * If reserved flag is set, this bit will be ignored during masking process\n *\n * @param {Number} row\n * @param {Number} col\n * @param {Boolean} value\n * @param {Boolean} reserved\n */\nBitMatrix.prototype.set = function (row, col, value, reserved) {\n const index = row * this.size + col\n this.data[index] = value\n if (reserved) this.reservedBit[index] = true\n}\n\n/**\n * Returns bit value at specified location\n *\n * @param {Number} row\n * @param {Number} col\n * @return {Boolean}\n */\nBitMatrix.prototype.get = function (row, col) {\n return this.data[row * this.size + col]\n}\n\n/**\n * Applies xor operator at specified location\n * (used during masking process)\n *\n * @param {Number} row\n * @param {Number} col\n * @param {Boolean} value\n */\nBitMatrix.prototype.xor = function (row, col, value) {\n this.data[row * this.size + col] ^= value\n}\n\n/**\n * Check if bit at specified location is reserved\n *\n * @param {Number} row\n * @param {Number} col\n * @return {Boolean}\n */\nBitMatrix.prototype.isReserved = function (row, col) {\n return this.reservedBit[row * this.size + col]\n}\n\nmodule.exports = BitMatrix\n","const Mode = require('./mode')\n\nfunction ByteData (data) {\n this.mode = Mode.BYTE\n if (typeof (data) === 'string') {\n this.data = new TextEncoder().encode(data)\n } else {\n this.data = new Uint8Array(data)\n }\n}\n\nByteData.getBitsLength = function getBitsLength (length) {\n return length * 8\n}\n\nByteData.prototype.getLength = function getLength () {\n return this.data.length\n}\n\nByteData.prototype.getBitsLength = function getBitsLength () {\n return ByteData.getBitsLength(this.data.length)\n}\n\nByteData.prototype.write = function (bitBuffer) {\n for (let i = 0, l = this.data.length; i < l; i++) {\n bitBuffer.put(this.data[i], 8)\n }\n}\n\nmodule.exports = ByteData\n","const ECLevel = require('./error-correction-level')\r\n\r\nconst EC_BLOCKS_TABLE = [\r\n// L M Q H\r\n 1, 1, 1, 1,\r\n 1, 1, 1, 1,\r\n 1, 1, 2, 2,\r\n 1, 2, 2, 4,\r\n 1, 2, 4, 4,\r\n 2, 4, 4, 4,\r\n 2, 4, 6, 5,\r\n 2, 4, 6, 6,\r\n 2, 5, 8, 8,\r\n 4, 5, 8, 8,\r\n 4, 5, 8, 11,\r\n 4, 8, 10, 11,\r\n 4, 9, 12, 16,\r\n 4, 9, 16, 16,\r\n 6, 10, 12, 18,\r\n 6, 10, 17, 16,\r\n 6, 11, 16, 19,\r\n 6, 13, 18, 21,\r\n 7, 14, 21, 25,\r\n 8, 16, 20, 25,\r\n 8, 17, 23, 25,\r\n 9, 17, 23, 34,\r\n 9, 18, 25, 30,\r\n 10, 20, 27, 32,\r\n 12, 21, 29, 35,\r\n 12, 23, 34, 37,\r\n 12, 25, 34, 40,\r\n 13, 26, 35, 42,\r\n 14, 28, 38, 45,\r\n 15, 29, 40, 48,\r\n 16, 31, 43, 51,\r\n 17, 33, 45, 54,\r\n 18, 35, 48, 57,\r\n 19, 37, 51, 60,\r\n 19, 38, 53, 63,\r\n 20, 40, 56, 66,\r\n 21, 43, 59, 70,\r\n 22, 45, 62, 74,\r\n 24, 47, 65, 77,\r\n 25, 49, 68, 81\r\n]\r\n\r\nconst EC_CODEWORDS_TABLE = [\r\n// L M Q H\r\n 7, 10, 13, 17,\r\n 10, 16, 22, 28,\r\n 15, 26, 36, 44,\r\n 20, 36, 52, 64,\r\n 26, 48, 72, 88,\r\n 36, 64, 96, 112,\r\n 40, 72, 108, 130,\r\n 48, 88, 132, 156,\r\n 60, 110, 160, 192,\r\n 72, 130, 192, 224,\r\n 80, 150, 224, 264,\r\n 96, 176, 260, 308,\r\n 104, 198, 288, 352,\r\n 120, 216, 320, 384,\r\n 132, 240, 360, 432,\r\n 144, 280, 408, 480,\r\n 168, 308, 448, 532,\r\n 180, 338, 504, 588,\r\n 196, 364, 546, 650,\r\n 224, 416, 600, 700,\r\n 224, 442, 644, 750,\r\n 252, 476, 690, 816,\r\n 270, 504, 750, 900,\r\n 300, 560, 810, 960,\r\n 312, 588, 870, 1050,\r\n 336, 644, 952, 1110,\r\n 360, 700, 1020, 1200,\r\n 390, 728, 1050, 1260,\r\n 420, 784, 1140, 1350,\r\n 450, 812, 1200, 1440,\r\n 480, 868, 1290, 1530,\r\n 510, 924, 1350, 1620,\r\n 540, 980, 1440, 1710,\r\n 570, 1036, 1530, 1800,\r\n 570, 1064, 1590, 1890,\r\n 600, 1120, 1680, 1980,\r\n 630, 1204, 1770, 2100,\r\n 660, 1260, 1860, 2220,\r\n 720, 1316, 1950, 2310,\r\n 750, 1372, 2040, 2430\r\n]\r\n\r\n/**\r\n * Returns the number of error correction block that the QR Code should contain\r\n * for the specified version and error correction level.\r\n *\r\n * @param {Number} version QR Code version\r\n * @param {Number} errorCorrectionLevel Error correction level\r\n * @return {Number} Number of error correction blocks\r\n */\r\nexports.getBlocksCount = function getBlocksCount (version, errorCorrectionLevel) {\r\n switch (errorCorrectionLevel) {\r\n case ECLevel.L:\r\n return EC_BLOCKS_TABLE[(version - 1) * 4 + 0]\r\n case ECLevel.M:\r\n return EC_BLOCKS_TABLE[(version - 1) * 4 + 1]\r\n case ECLevel.Q:\r\n return EC_BLOCKS_TABLE[(version - 1) * 4 + 2]\r\n case ECLevel.H:\r\n return EC_BLOCKS_TABLE[(version - 1) * 4 + 3]\r\n default:\r\n return undefined\r\n }\r\n}\r\n\r\n/**\r\n * Returns the number of error correction codewords to use for the specified\r\n * version and error correction level.\r\n *\r\n * @param {Number} version QR Code version\r\n * @param {Number} errorCorrectionLevel Error correction level\r\n * @return {Number} Number of error correction codewords\r\n */\r\nexports.getTotalCodewordsCount = function getTotalCodewordsCount (version, errorCorrectionLevel) {\r\n switch (errorCorrectionLevel) {\r\n case ECLevel.L:\r\n return EC_CODEWORDS_TABLE[(version - 1) * 4 + 0]\r\n case ECLevel.M:\r\n return EC_CODEWORDS_TABLE[(version - 1) * 4 + 1]\r\n case ECLevel.Q:\r\n return EC_CODEWORDS_TABLE[(version - 1) * 4 + 2]\r\n case ECLevel.H:\r\n return EC_CODEWORDS_TABLE[(version - 1) * 4 + 3]\r\n default:\r\n return undefined\r\n }\r\n}\r\n","exports.L = { bit: 1 }\nexports.M = { bit: 0 }\nexports.Q = { bit: 3 }\nexports.H = { bit: 2 }\n\nfunction fromString (string) {\n if (typeof string !== 'string') {\n throw new Error('Param is not a string')\n }\n\n const lcStr = string.toLowerCase()\n\n switch (lcStr) {\n case 'l':\n case 'low':\n return exports.L\n\n case 'm':\n case 'medium':\n return exports.M\n\n case 'q':\n case 'quartile':\n return exports.Q\n\n case 'h':\n case 'high':\n return exports.H\n\n default:\n throw new Error('Unknown EC Level: ' + string)\n }\n}\n\nexports.isValid = function isValid (level) {\n return level && typeof level.bit !== 'undefined' &&\n level.bit >= 0 && level.bit < 4\n}\n\nexports.from = function from (value, defaultValue) {\n if (exports.isValid(value)) {\n return value\n }\n\n try {\n return fromString(value)\n } catch (e) {\n return defaultValue\n }\n}\n","const getSymbolSize = require('./utils').getSymbolSize\nconst FINDER_PATTERN_SIZE = 7\n\n/**\n * Returns an array containing the positions of each finder pattern.\n * Each array's element represent the top-left point of the pattern as (x, y) coordinates\n *\n * @param {Number} version QR Code version\n * @return {Array} Array of coordinates\n */\nexports.getPositions = function getPositions (version) {\n const size = getSymbolSize(version)\n\n return [\n // top-left\n [0, 0],\n // top-right\n [size - FINDER_PATTERN_SIZE, 0],\n // bottom-left\n [0, size - FINDER_PATTERN_SIZE]\n ]\n}\n","const Utils = require('./utils')\n\nconst G15 = (1 << 10) | (1 << 8) | (1 << 5) | (1 << 4) | (1 << 2) | (1 << 1) | (1 << 0)\nconst G15_MASK = (1 << 14) | (1 << 12) | (1 << 10) | (1 << 4) | (1 << 1)\nconst G15_BCH = Utils.getBCHDigit(G15)\n\n/**\n * Returns format information with relative error correction bits\n *\n * The format information is a 15-bit sequence containing 5 data bits,\n * with 10 error correction bits calculated using the (15, 5) BCH code.\n *\n * @param {Number} errorCorrectionLevel Error correction level\n * @param {Number} mask Mask pattern\n * @return {Number} Encoded format information bits\n */\nexports.getEncodedBits = function getEncodedBits (errorCorrectionLevel, mask) {\n const data = ((errorCorrectionLevel.bit << 3) | mask)\n let d = data << 10\n\n while (Utils.getBCHDigit(d) - G15_BCH >= 0) {\n d ^= (G15 << (Utils.getBCHDigit(d) - G15_BCH))\n }\n\n // xor final data with mask pattern in order to ensure that\n // no combination of Error Correction Level and data mask pattern\n // will result in an all-zero data string\n return ((data << 10) | d) ^ G15_MASK\n}\n","const EXP_TABLE = new Uint8Array(512)\nconst LOG_TABLE = new Uint8Array(256)\n/**\n * Precompute the log and anti-log tables for faster computation later\n *\n * For each possible value in the galois field 2^8, we will pre-compute\n * the logarithm and anti-logarithm (exponential) of this value\n *\n * ref {@link https://en.wikiversity.org/wiki/Reed%E2%80%93Solomon_codes_for_coders#Introduction_to_mathematical_fields}\n */\n;(function initTables () {\n let x = 1\n for (let i = 0; i < 255; i++) {\n EXP_TABLE[i] = x\n LOG_TABLE[x] = i\n\n x <<= 1 // multiply by 2\n\n // The QR code specification says to use byte-wise modulo 100011101 arithmetic.\n // This means that when a number is 256 or larger, it should be XORed with 0x11D.\n if (x & 0x100) { // similar to x >= 256, but a lot faster (because 0x100 == 256)\n x ^= 0x11D\n }\n }\n\n // Optimization: double the size of the anti-log table so that we don't need to mod 255 to\n // stay inside the bounds (because we will mainly use this table for the multiplication of\n // two GF numbers, no more).\n // @see {@link mul}\n for (let i = 255; i < 512; i++) {\n EXP_TABLE[i] = EXP_TABLE[i - 255]\n }\n}())\n\n/**\n * Returns log value of n inside Galois Field\n *\n * @param {Number} n\n * @return {Number}\n */\nexports.log = function log (n) {\n if (n < 1) throw new Error('log(' + n + ')')\n return LOG_TABLE[n]\n}\n\n/**\n * Returns anti-log value of n inside Galois Field\n *\n * @param {Number} n\n * @return {Number}\n */\nexports.exp = function exp (n) {\n return EXP_TABLE[n]\n}\n\n/**\n * Multiplies two number inside Galois Field\n *\n * @param {Number} x\n * @param {Number} y\n * @return {Number}\n */\nexports.mul = function mul (x, y) {\n if (x === 0 || y === 0) return 0\n\n // should be EXP_TABLE[(LOG_TABLE[x] + LOG_TABLE[y]) % 255] if EXP_TABLE wasn't oversized\n // @see {@link initTables}\n return EXP_TABLE[LOG_TABLE[x] + LOG_TABLE[y]]\n}\n","const Mode = require('./mode')\nconst Utils = require('./utils')\n\nfunction KanjiData (data) {\n this.mode = Mode.KANJI\n this.data = data\n}\n\nKanjiData.getBitsLength = function getBitsLength (length) {\n return length * 13\n}\n\nKanjiData.prototype.getLength = function getLength () {\n return this.data.length\n}\n\nKanjiData.prototype.getBitsLength = function getBitsLength () {\n return KanjiData.getBitsLength(this.data.length)\n}\n\nKanjiData.prototype.write = function (bitBuffer) {\n let i\n\n // In the Shift JIS system, Kanji characters are represented by a two byte combination.\n // These byte values are shifted from the JIS X 0208 values.\n // JIS X 0208 gives details of the shift coded representation.\n for (i = 0; i < this.data.length; i++) {\n let value = Utils.toSJIS(this.data[i])\n\n // For characters with Shift JIS values from 0x8140 to 0x9FFC:\n if (value >= 0x8140 && value <= 0x9FFC) {\n // Subtract 0x8140 from Shift JIS value\n value -= 0x8140\n\n // For characters with Shift JIS values from 0xE040 to 0xEBBF\n } else if (value >= 0xE040 && value <= 0xEBBF) {\n // Subtract 0xC140 from Shift JIS value\n value -= 0xC140\n } else {\n throw new Error(\n 'Invalid SJIS character: ' + this.data[i] + '\\n' +\n 'Make sure your charset is UTF-8')\n }\n\n // Multiply most significant byte of result by 0xC0\n // and add least significant byte to product\n value = (((value >>> 8) & 0xff) * 0xC0) + (value & 0xff)\n\n // Convert result to a 13-bit binary string\n bitBuffer.put(value, 13)\n }\n}\n\nmodule.exports = KanjiData\n","/**\n * Data mask pattern reference\n * @type {Object}\n */\nexports.Patterns = {\n PATTERN000: 0,\n PATTERN001: 1,\n PATTERN010: 2,\n PATTERN011: 3,\n PATTERN100: 4,\n PATTERN101: 5,\n PATTERN110: 6,\n PATTERN111: 7\n}\n\n/**\n * Weighted penalty scores for the undesirable features\n * @type {Object}\n */\nconst PenaltyScores = {\n N1: 3,\n N2: 3,\n N3: 40,\n N4: 10\n}\n\n/**\n * Check if mask pattern value is valid\n *\n * @param {Number} mask Mask pattern\n * @return {Boolean} true if valid, false otherwise\n */\nexports.isValid = function isValid (mask) {\n return mask != null && mask !== '' && !isNaN(mask) && mask >= 0 && mask <= 7\n}\n\n/**\n * Returns mask pattern from a value.\n * If value is not valid, returns undefined\n *\n * @param {Number|String} value Mask pattern value\n * @return {Number} Valid mask pattern or undefined\n */\nexports.from = function from (value) {\n return exports.isValid(value) ? parseInt(value, 10) : undefined\n}\n\n/**\n* Find adjacent modules in row/column with the same color\n* and assign a penalty value.\n*\n* Points: N1 + i\n* i is the amount by which the number of adjacent modules of the same color exceeds 5\n*/\nexports.getPenaltyN1 = function getPenaltyN1 (data) {\n const size = data.size\n let points = 0\n let sameCountCol = 0\n let sameCountRow = 0\n let lastCol = null\n let lastRow = null\n\n for (let row = 0; row < size; row++) {\n sameCountCol = sameCountRow = 0\n lastCol = lastRow = null\n\n for (let col = 0; col < size; col++) {\n let module = data.get(row, col)\n if (module === lastCol) {\n sameCountCol++\n } else {\n if (sameCountCol >= 5) points += PenaltyScores.N1 + (sameCountCol - 5)\n lastCol = module\n sameCountCol = 1\n }\n\n module = data.get(col, row)\n if (module === lastRow) {\n sameCountRow++\n } else {\n if (sameCountRow >= 5) points += PenaltyScores.N1 + (sameCountRow - 5)\n lastRow = module\n sameCountRow = 1\n }\n }\n\n if (sameCountCol >= 5) points += PenaltyScores.N1 + (sameCountCol - 5)\n if (sameCountRow >= 5) points += PenaltyScores.N1 + (sameCountRow - 5)\n }\n\n return points\n}\n\n/**\n * Find 2x2 blocks with the same color and assign a penalty value\n *\n * Points: N2 * (m - 1) * (n - 1)\n */\nexports.getPenaltyN2 = function getPenaltyN2 (data) {\n const size = data.size\n let points = 0\n\n for (let row = 0; row < size - 1; row++) {\n for (let col = 0; col < size - 1; col++) {\n const last = data.get(row, col) +\n data.get(row, col + 1) +\n data.get(row + 1, col) +\n data.get(row + 1, col + 1)\n\n if (last === 4 || last === 0) points++\n }\n }\n\n return points * PenaltyScores.N2\n}\n\n/**\n * Find 1:1:3:1:1 ratio (dark:light:dark:light:dark) pattern in row/column,\n * preceded or followed by light area 4 modules wide\n *\n * Points: N3 * number of pattern found\n */\nexports.getPenaltyN3 = function getPenaltyN3 (data) {\n const size = data.size\n let points = 0\n let bitsCol = 0\n let bitsRow = 0\n\n for (let row = 0; row < size; row++) {\n bitsCol = bitsRow = 0\n for (let col = 0; col < size; col++) {\n bitsCol = ((bitsCol << 1) & 0x7FF) | data.get(row, col)\n if (col >= 10 && (bitsCol === 0x5D0 || bitsCol === 0x05D)) points++\n\n bitsRow = ((bitsRow << 1) & 0x7FF) | data.get(col, row)\n if (col >= 10 && (bitsRow === 0x5D0 || bitsRow === 0x05D)) points++\n }\n }\n\n return points * PenaltyScores.N3\n}\n\n/**\n * Calculate proportion of dark modules in entire symbol\n *\n * Points: N4 * k\n *\n * k is the rating of the deviation of the proportion of dark modules\n * in the symbol from 50% in steps of 5%\n */\nexports.getPenaltyN4 = function getPenaltyN4 (data) {\n let darkCount = 0\n const modulesCount = data.data.length\n\n for (let i = 0; i < modulesCount; i++) darkCount += data.data[i]\n\n const k = Math.abs(Math.ceil((darkCount * 100 / modulesCount) / 5) - 10)\n\n return k * PenaltyScores.N4\n}\n\n/**\n * Return mask value at given position\n *\n * @param {Number} maskPattern Pattern reference value\n * @param {Number} i Row\n * @param {Number} j Column\n * @return {Boolean} Mask value\n */\nfunction getMaskAt (maskPattern, i, j) {\n switch (maskPattern) {\n case exports.Patterns.PATTERN000: return (i + j) % 2 === 0\n case exports.Patterns.PATTERN001: return i % 2 === 0\n case exports.Patterns.PATTERN010: return j % 3 === 0\n case exports.Patterns.PATTERN011: return (i + j) % 3 === 0\n case exports.Patterns.PATTERN100: return (Math.floor(i / 2) + Math.floor(j / 3)) % 2 === 0\n case exports.Patterns.PATTERN101: return (i * j) % 2 + (i * j) % 3 === 0\n case exports.Patterns.PATTERN110: return ((i * j) % 2 + (i * j) % 3) % 2 === 0\n case exports.Patterns.PATTERN111: return ((i * j) % 3 + (i + j) % 2) % 2 === 0\n\n default: throw new Error('bad maskPattern:' + maskPattern)\n }\n}\n\n/**\n * Apply a mask pattern to a BitMatrix\n *\n * @param {Number} pattern Pattern reference number\n * @param {BitMatrix} data BitMatrix data\n */\nexports.applyMask = function applyMask (pattern, data) {\n const size = data.size\n\n for (let col = 0; col < size; col++) {\n for (let row = 0; row < size; row++) {\n if (data.isReserved(row, col)) continue\n data.xor(row, col, getMaskAt(pattern, row, col))\n }\n }\n}\n\n/**\n * Returns the best mask pattern for data\n *\n * @param {BitMatrix} data\n * @return {Number} Mask pattern reference number\n */\nexports.getBestMask = function getBestMask (data, setupFormatFunc) {\n const numPatterns = Object.keys(exports.Patterns).length\n let bestPattern = 0\n let lowerPenalty = Infinity\n\n for (let p = 0; p < numPatterns; p++) {\n setupFormatFunc(p)\n exports.applyMask(p, data)\n\n // Calculate penalty\n const penalty =\n exports.getPenaltyN1(data) +\n exports.getPenaltyN2(data) +\n exports.getPenaltyN3(data) +\n exports.getPenaltyN4(data)\n\n // Undo previously applied mask\n exports.applyMask(p, data)\n\n if (penalty < lowerPenalty) {\n lowerPenalty = penalty\n bestPattern = p\n }\n }\n\n return bestPattern\n}\n","const VersionCheck = require('./version-check')\nconst Regex = require('./regex')\n\n/**\n * Numeric mode encodes data from the decimal digit set (0 - 9)\n * (byte values 30HEX to 39HEX).\n * Normally, 3 data characters are represented by 10 bits.\n *\n * @type {Object}\n */\nexports.NUMERIC = {\n id: 'Numeric',\n bit: 1 << 0,\n ccBits: [10, 12, 14]\n}\n\n/**\n * Alphanumeric mode encodes data from a set of 45 characters,\n * i.e. 10 numeric digits (0 - 9),\n * 26 alphabetic characters (A - Z),\n * and 9 symbols (SP, $, %, *, +, -, ., /, :).\n * Normally, two input characters are represented by 11 bits.\n *\n * @type {Object}\n */\nexports.ALPHANUMERIC = {\n id: 'Alphanumeric',\n bit: 1 << 1,\n ccBits: [9, 11, 13]\n}\n\n/**\n * In byte mode, data is encoded at 8 bits per character.\n *\n * @type {Object}\n */\nexports.BYTE = {\n id: 'Byte',\n bit: 1 << 2,\n ccBits: [8, 16, 16]\n}\n\n/**\n * The Kanji mode efficiently encodes Kanji characters in accordance with\n * the Shift JIS system based on JIS X 0208.\n * The Shift JIS values are shifted from the JIS X 0208 values.\n * JIS X 0208 gives details of the shift coded representation.\n * Each two-byte character value is compacted to a 13-bit binary codeword.\n *\n * @type {Object}\n */\nexports.KANJI = {\n id: 'Kanji',\n bit: 1 << 3,\n ccBits: [8, 10, 12]\n}\n\n/**\n * Mixed mode will contain a sequences of data in a combination of any of\n * the modes described above\n *\n * @type {Object}\n */\nexports.MIXED = {\n bit: -1\n}\n\n/**\n * Returns the number of bits needed to store the data length\n * according to QR Code specifications.\n *\n * @param {Mode} mode Data mode\n * @param {Number} version QR Code version\n * @return {Number} Number of bits\n */\nexports.getCharCountIndicator = function getCharCountIndicator (mode, version) {\n if (!mode.ccBits) throw new Error('Invalid mode: ' + mode)\n\n if (!VersionCheck.isValid(version)) {\n throw new Error('Invalid version: ' + version)\n }\n\n if (version >= 1 && version < 10) return mode.ccBits[0]\n else if (version < 27) return mode.ccBits[1]\n return mode.ccBits[2]\n}\n\n/**\n * Returns the most efficient mode to store the specified data\n *\n * @param {String} dataStr Input data string\n * @return {Mode} Best mode\n */\nexports.getBestModeForData = function getBestModeForData (dataStr) {\n if (Regex.testNumeric(dataStr)) return exports.NUMERIC\n else if (Regex.testAlphanumeric(dataStr)) return exports.ALPHANUMERIC\n else if (Regex.testKanji(dataStr)) return exports.KANJI\n else return exports.BYTE\n}\n\n/**\n * Return mode name as string\n *\n * @param {Mode} mode Mode object\n * @returns {String} Mode name\n */\nexports.toString = function toString (mode) {\n if (mode && mode.id) return mode.id\n throw new Error('Invalid mode')\n}\n\n/**\n * Check if input param is a valid mode object\n *\n * @param {Mode} mode Mode object\n * @returns {Boolean} True if valid mode, false otherwise\n */\nexports.isValid = function isValid (mode) {\n return mode && mode.bit && mode.ccBits\n}\n\n/**\n * Get mode object from its name\n *\n * @param {String} string Mode name\n * @returns {Mode} Mode object\n */\nfunction fromString (string) {\n if (typeof string !== 'string') {\n throw new Error('Param is not a string')\n }\n\n const lcStr = string.toLowerCase()\n\n switch (lcStr) {\n case 'numeric':\n return exports.NUMERIC\n case 'alphanumeric':\n return exports.ALPHANUMERIC\n case 'kanji':\n return exports.KANJI\n case 'byte':\n return exports.BYTE\n default:\n throw new Error('Unknown mode: ' + string)\n }\n}\n\n/**\n * Returns mode from a value.\n * If value is not a valid mode, returns defaultValue\n *\n * @param {Mode|String} value Encoding mode\n * @param {Mode} defaultValue Fallback value\n * @return {Mode} Encoding mode\n */\nexports.from = function from (value, defaultValue) {\n if (exports.isValid(value)) {\n return value\n }\n\n try {\n return fromString(value)\n } catch (e) {\n return defaultValue\n }\n}\n","const Mode = require('./mode')\n\nfunction NumericData (data) {\n this.mode = Mode.NUMERIC\n this.data = data.toString()\n}\n\nNumericData.getBitsLength = function getBitsLength (length) {\n return 10 * Math.floor(length / 3) + ((length % 3) ? ((length % 3) * 3 + 1) : 0)\n}\n\nNumericData.prototype.getLength = function getLength () {\n return this.data.length\n}\n\nNumericData.prototype.getBitsLength = function getBitsLength () {\n return NumericData.getBitsLength(this.data.length)\n}\n\nNumericData.prototype.write = function write (bitBuffer) {\n let i, group, value\n\n // The input data string is divided into groups of three digits,\n // and each group is converted to its 10-bit binary equivalent.\n for (i = 0; i + 3 <= this.data.length; i += 3) {\n group = this.data.substr(i, 3)\n value = parseInt(group, 10)\n\n bitBuffer.put(value, 10)\n }\n\n // If the number of input digits is not an exact multiple of three,\n // the final one or two digits are converted to 4 or 7 bits respectively.\n const remainingNum = this.data.length - i\n if (remainingNum > 0) {\n group = this.data.substr(i)\n value = parseInt(group, 10)\n\n bitBuffer.put(value, remainingNum * 3 + 1)\n }\n}\n\nmodule.exports = NumericData\n","const GF = require('./galois-field')\n\n/**\n * Multiplies two polynomials inside Galois Field\n *\n * @param {Uint8Array} p1 Polynomial\n * @param {Uint8Array} p2 Polynomial\n * @return {Uint8Array} Product of p1 and p2\n */\nexports.mul = function mul (p1, p2) {\n const coeff = new Uint8Array(p1.length + p2.length - 1)\n\n for (let i = 0; i < p1.length; i++) {\n for (let j = 0; j < p2.length; j++) {\n coeff[i + j] ^= GF.mul(p1[i], p2[j])\n }\n }\n\n return coeff\n}\n\n/**\n * Calculate the remainder of polynomials division\n *\n * @param {Uint8Array} divident Polynomial\n * @param {Uint8Array} divisor Polynomial\n * @return {Uint8Array} Remainder\n */\nexports.mod = function mod (divident, divisor) {\n let result = new Uint8Array(divident)\n\n while ((result.length - divisor.length) >= 0) {\n const coeff = result[0]\n\n for (let i = 0; i < divisor.length; i++) {\n result[i] ^= GF.mul(divisor[i], coeff)\n }\n\n // remove all zeros from buffer head\n let offset = 0\n while (offset < result.length && result[offset] === 0) offset++\n result = result.slice(offset)\n }\n\n return result\n}\n\n/**\n * Generate an irreducible generator polynomial of specified degree\n * (used by Reed-Solomon encoder)\n *\n * @param {Number} degree Degree of the generator polynomial\n * @return {Uint8Array} Buffer containing polynomial coefficients\n */\nexports.generateECPolynomial = function generateECPolynomial (degree) {\n let poly = new Uint8Array([1])\n for (let i = 0; i < degree; i++) {\n poly = exports.mul(poly, new Uint8Array([1, GF.exp(i)]))\n }\n\n return poly\n}\n","const Utils = require('./utils')\nconst ECLevel = require('./error-correction-level')\nconst BitBuffer = require('./bit-buffer')\nconst BitMatrix = require('./bit-matrix')\nconst AlignmentPattern = require('./alignment-pattern')\nconst FinderPattern = require('./finder-pattern')\nconst MaskPattern = require('./mask-pattern')\nconst ECCode = require('./error-correction-code')\nconst ReedSolomonEncoder = require('./reed-solomon-encoder')\nconst Version = require('./version')\nconst FormatInfo = require('./format-info')\nconst Mode = require('./mode')\nconst Segments = require('./segments')\n\n/**\n * QRCode for JavaScript\n *\n * modified by Ryan Day for nodejs support\n * Copyright (c) 2011 Ryan Day\n *\n * Licensed under the MIT license:\n * http://www.opensource.org/licenses/mit-license.php\n *\n//---------------------------------------------------------------------\n// QRCode for JavaScript\n//\n// Copyright (c) 2009 Kazuhiko Arase\n//\n// URL: http://www.d-project.com/\n//\n// Licensed under the MIT license:\n// http://www.opensource.org/licenses/mit-license.php\n//\n// The word \"QR Code\" is registered trademark of\n// DENSO WAVE INCORPORATED\n// http://www.denso-wave.com/qrcode/faqpatent-e.html\n//\n//---------------------------------------------------------------------\n*/\n\n/**\n * Add finder patterns bits to matrix\n *\n * @param {BitMatrix} matrix Modules matrix\n * @param {Number} version QR Code version\n */\nfunction setupFinderPattern (matrix, version) {\n const size = matrix.size\n const pos = FinderPattern.getPositions(version)\n\n for (let i = 0; i < pos.length; i++) {\n const row = pos[i][0]\n const col = pos[i][1]\n\n for (let r = -1; r <= 7; r++) {\n if (row + r <= -1 || size <= row + r) continue\n\n for (let c = -1; c <= 7; c++) {\n if (col + c <= -1 || size <= col + c) continue\n\n if ((r >= 0 && r <= 6 && (c === 0 || c === 6)) ||\n (c >= 0 && c <= 6 && (r === 0 || r === 6)) ||\n (r >= 2 && r <= 4 && c >= 2 && c <= 4)) {\n matrix.set(row + r, col + c, true, true)\n } else {\n matrix.set(row + r, col + c, false, true)\n }\n }\n }\n }\n}\n\n/**\n * Add timing pattern bits to matrix\n *\n * Note: this function must be called before {@link setupAlignmentPattern}\n *\n * @param {BitMatrix} matrix Modules matrix\n */\nfunction setupTimingPattern (matrix) {\n const size = matrix.size\n\n for (let r = 8; r < size - 8; r++) {\n const value = r % 2 === 0\n matrix.set(r, 6, value, true)\n matrix.set(6, r, value, true)\n }\n}\n\n/**\n * Add alignment patterns bits to matrix\n *\n * Note: this function must be called after {@link setupTimingPattern}\n *\n * @param {BitMatrix} matrix Modules matrix\n * @param {Number} version QR Code version\n */\nfunction setupAlignmentPattern (matrix, version) {\n const pos = AlignmentPattern.getPositions(version)\n\n for (let i = 0; i < pos.length; i++) {\n const row = pos[i][0]\n const col = pos[i][1]\n\n for (let r = -2; r <= 2; r++) {\n for (let c = -2; c <= 2; c++) {\n if (r === -2 || r === 2 || c === -2 || c === 2 ||\n (r === 0 && c === 0)) {\n matrix.set(row + r, col + c, true, true)\n } else {\n matrix.set(row + r, col + c, false, true)\n }\n }\n }\n }\n}\n\n/**\n * Add version info bits to matrix\n *\n * @param {BitMatrix} matrix Modules matrix\n * @param {Number} version QR Code version\n */\nfunction setupVersionInfo (matrix, version) {\n const size = matrix.size\n const bits = Version.getEncodedBits(version)\n let row, col, mod\n\n for (let i = 0; i < 18; i++) {\n row = Math.floor(i / 3)\n col = i % 3 + size - 8 - 3\n mod = ((bits >> i) & 1) === 1\n\n matrix.set(row, col, mod, true)\n matrix.set(col, row, mod, true)\n }\n}\n\n/**\n * Add format info bits to matrix\n *\n * @param {BitMatrix} matrix Modules matrix\n * @param {ErrorCorrectionLevel} errorCorrectionLevel Error correction level\n * @param {Number} maskPattern Mask pattern reference value\n */\nfunction setupFormatInfo (matrix, errorCorrectionLevel, maskPattern) {\n const size = matrix.size\n const bits = FormatInfo.getEncodedBits(errorCorrectionLevel, maskPattern)\n let i, mod\n\n for (i = 0; i < 15; i++) {\n mod = ((bits >> i) & 1) === 1\n\n // vertical\n if (i < 6) {\n matrix.set(i, 8, mod, true)\n } else if (i < 8) {\n matrix.set(i + 1, 8, mod, true)\n } else {\n matrix.set(size - 15 + i, 8, mod, true)\n }\n\n // horizontal\n if (i < 8) {\n matrix.set(8, size - i - 1, mod, true)\n } else if (i < 9) {\n matrix.set(8, 15 - i - 1 + 1, mod, true)\n } else {\n matrix.set(8, 15 - i - 1, mod, true)\n }\n }\n\n // fixed module\n matrix.set(size - 8, 8, 1, true)\n}\n\n/**\n * Add encoded data bits to matrix\n *\n * @param {BitMatrix} matrix Modules matrix\n * @param {Uint8Array} data Data codewords\n */\nfunction setupData (matrix, data) {\n const size = matrix.size\n let inc = -1\n let row = size - 1\n let bitIndex = 7\n let byteIndex = 0\n\n for (let col = size - 1; col > 0; col -= 2) {\n if (col === 6) col--\n\n while (true) {\n for (let c = 0; c < 2; c++) {\n if (!matrix.isReserved(row, col - c)) {\n let dark = false\n\n if (byteIndex < data.length) {\n dark = (((data[byteIndex] >>> bitIndex) & 1) === 1)\n }\n\n matrix.set(row, col - c, dark)\n bitIndex--\n\n if (bitIndex === -1) {\n byteIndex++\n bitIndex = 7\n }\n }\n }\n\n row += inc\n\n if (row < 0 || size <= row) {\n row -= inc\n inc = -inc\n break\n }\n }\n }\n}\n\n/**\n * Create encoded codewords from data input\n *\n * @param {Number} version QR Code version\n * @param {ErrorCorrectionLevel} errorCorrectionLevel Error correction level\n * @param {ByteData} data Data input\n * @return {Uint8Array} Buffer containing encoded codewords\n */\nfunction createData (version, errorCorrectionLevel, segments) {\n // Prepare data buffer\n const buffer = new BitBuffer()\n\n segments.forEach(function (data) {\n // prefix data with mode indicator (4 bits)\n buffer.put(data.mode.bit, 4)\n\n // Prefix data with character count indicator.\n // The character count indicator is a string of bits that represents the\n // number of characters that are being encoded.\n // The character count indicator must be placed after the mode indicator\n // and must be a certain number of bits long, depending on the QR version\n // and data mode\n // @see {@link Mode.getCharCountIndicator}.\n buffer.put(data.getLength(), Mode.getCharCountIndicator(data.mode, version))\n\n // add binary data sequence to buffer\n data.write(buffer)\n })\n\n // Calculate required number of bits\n const totalCodewords = Utils.getSymbolTotalCodewords(version)\n const ecTotalCodewords = ECCode.getTotalCodewordsCount(version, errorCorrectionLevel)\n const dataTotalCodewordsBits = (totalCodewords - ecTotalCodewords) * 8\n\n // Add a terminator.\n // If the bit string is shorter than the total number of required bits,\n // a terminator of up to four 0s must be added to the right side of the string.\n // If the bit string is more than four bits shorter than the required number of bits,\n // add four 0s to the end.\n if (buffer.getLengthInBits() + 4 <= dataTotalCodewordsBits) {\n buffer.put(0, 4)\n }\n\n // If the bit string is fewer than four bits shorter, add only the number of 0s that\n // are needed to reach the required number of bits.\n\n // After adding the terminator, if the number of bits in the string is not a multiple of 8,\n // pad the string on the right with 0s to make the string's length a multiple of 8.\n while (buffer.getLengthInBits() % 8 !== 0) {\n buffer.putBit(0)\n }\n\n // Add pad bytes if the string is still shorter than the total number of required bits.\n // Extend the buffer to fill the data capacity of the symbol corresponding to\n // the Version and Error Correction Level by adding the Pad Codewords 11101100 (0xEC)\n // and 00010001 (0x11) alternately.\n const remainingByte = (dataTotalCodewordsBits - buffer.getLengthInBits()) / 8\n for (let i = 0; i < remainingByte; i++) {\n buffer.put(i % 2 ? 0x11 : 0xEC, 8)\n }\n\n return createCodewords(buffer, version, errorCorrectionLevel)\n}\n\n/**\n * Encode input data with Reed-Solomon and return codewords with\n * relative error correction bits\n *\n * @param {BitBuffer} bitBuffer Data to encode\n * @param {Number} version QR Code version\n * @param {ErrorCorrectionLevel} errorCorrectionLevel Error correction level\n * @return {Uint8Array} Buffer containing encoded codewords\n */\nfunction createCodewords (bitBuffer, version, errorCorrectionLevel) {\n // Total codewords for this QR code version (Data + Error correction)\n const totalCodewords = Utils.getSymbolTotalCodewords(version)\n\n // Total number of error correction codewords\n const ecTotalCodewords = ECCode.getTotalCodewordsCount(version, errorCorrectionLevel)\n\n // Total number of data codewords\n const dataTotalCodewords = totalCodewords - ecTotalCodewords\n\n // Total number of blocks\n const ecTotalBlocks = ECCode.getBlocksCount(version, errorCorrectionLevel)\n\n // Calculate how many blocks each group should contain\n const blocksInGroup2 = totalCodewords % ecTotalBlocks\n const blocksInGroup1 = ecTotalBlocks - blocksInGroup2\n\n const totalCodewordsInGroup1 = Math.floor(totalCodewords / ecTotalBlocks)\n\n const dataCodewordsInGroup1 = Math.floor(dataTotalCodewords / ecTotalBlocks)\n const dataCodewordsInGroup2 = dataCodewordsInGroup1 + 1\n\n // Number of EC codewords is the same for both groups\n const ecCount = totalCodewordsInGroup1 - dataCodewordsInGroup1\n\n // Initialize a Reed-Solomon encoder with a generator polynomial of degree ecCount\n const rs = new ReedSolomonEncoder(ecCount)\n\n let offset = 0\n const dcData = new Array(ecTotalBlocks)\n const ecData = new Array(ecTotalBlocks)\n let maxDataSize = 0\n const buffer = new Uint8Array(bitBuffer.buffer)\n\n // Divide the buffer into the required number of blocks\n for (let b = 0; b < ecTotalBlocks; b++) {\n const dataSize = b < blocksInGroup1 ? dataCodewordsInGroup1 : dataCodewordsInGroup2\n\n // extract a block of data from buffer\n dcData[b] = buffer.slice(offset, offset + dataSize)\n\n // Calculate EC codewords for this data block\n ecData[b] = rs.encode(dcData[b])\n\n offset += dataSize\n maxDataSize = Math.max(maxDataSize, dataSize)\n }\n\n // Create final data\n // Interleave the data and error correction codewords from each block\n const data = new Uint8Array(totalCodewords)\n let index = 0\n let i, r\n\n // Add data codewords\n for (i = 0; i < maxDataSize; i++) {\n for (r = 0; r < ecTotalBlocks; r++) {\n if (i < dcData[r].length) {\n data[index++] = dcData[r][i]\n }\n }\n }\n\n // Apped EC codewords\n for (i = 0; i < ecCount; i++) {\n for (r = 0; r < ecTotalBlocks; r++) {\n data[index++] = ecData[r][i]\n }\n }\n\n return data\n}\n\n/**\n * Build QR Code symbol\n *\n * @param {String} data Input string\n * @param {Number} version QR Code version\n * @param {ErrorCorretionLevel} errorCorrectionLevel Error level\n * @param {MaskPattern} maskPattern Mask pattern\n * @return {Object} Object containing symbol data\n */\nfunction createSymbol (data, version, errorCorrectionLevel, maskPattern) {\n let segments\n\n if (Array.isArray(data)) {\n segments = Segments.fromArray(data)\n } else if (typeof data === 'string') {\n let estimatedVersion = version\n\n if (!estimatedVersion) {\n const rawSegments = Segments.rawSplit(data)\n\n // Estimate best version that can contain raw splitted segments\n estimatedVersion = Version.getBestVersionForData(rawSegments, errorCorrectionLevel)\n }\n\n // Build optimized segments\n // If estimated version is undefined, try with the highest version\n segments = Segments.fromString(data, estimatedVersion || 40)\n } else {\n throw new Error('Invalid data')\n }\n\n // Get the min version that can contain data\n const bestVersion = Version.getBestVersionForData(segments, errorCorrectionLevel)\n\n // If no version is found, data cannot be stored\n if (!bestVersion) {\n throw new Error('The amount of data is too big to be stored in a QR Code')\n }\n\n // If not specified, use min version as default\n if (!version) {\n version = bestVersion\n\n // Check if the specified version can contain the data\n } else if (version < bestVersion) {\n throw new Error('\\n' +\n 'The chosen QR Code version cannot contain this amount of data.\\n' +\n 'Minimum version required to store current data is: ' + bestVersion + '.\\n'\n )\n }\n\n const dataBits = createData(version, errorCorrectionLevel, segments)\n\n // Allocate matrix buffer\n const moduleCount = Utils.getSymbolSize(version)\n const modules = new BitMatrix(moduleCount)\n\n // Add function modules\n setupFinderPattern(modules, version)\n setupTimingPattern(modules)\n setupAlignmentPattern(modules, version)\n\n // Add temporary dummy bits for format info just to set them as reserved.\n // This is needed to prevent these bits from being masked by {@link MaskPattern.applyMask}\n // since the masking operation must be performed only on the encoding region.\n // These blocks will be replaced with correct values later in code.\n setupFormatInfo(modules, errorCorrectionLevel, 0)\n\n if (version >= 7) {\n setupVersionInfo(modules, version)\n }\n\n // Add data codewords\n setupData(modules, dataBits)\n\n if (isNaN(maskPattern)) {\n // Find best mask pattern\n maskPattern = MaskPattern.getBestMask(modules,\n setupFormatInfo.bind(null, modules, errorCorrectionLevel))\n }\n\n // Apply mask pattern\n MaskPattern.applyMask(maskPattern, modules)\n\n // Replace format info bits with correct values\n setupFormatInfo(modules, errorCorrectionLevel, maskPattern)\n\n return {\n modules: modules,\n version: version,\n errorCorrectionLevel: errorCorrectionLevel,\n maskPattern: maskPattern,\n segments: segments\n }\n}\n\n/**\n * QR Code\n *\n * @param {String | Array} data Input data\n * @param {Object} options Optional configurations\n * @param {Number} options.version QR Code version\n * @param {String} options.errorCorrectionLevel Error correction level\n * @param {Function} options.toSJISFunc Helper func to convert utf8 to sjis\n */\nexports.create = function create (data, options) {\n if (typeof data === 'undefined' || data === '') {\n throw new Error('No input text')\n }\n\n let errorCorrectionLevel = ECLevel.M\n let version\n let mask\n\n if (typeof options !== 'undefined') {\n // Use higher error correction level as default\n errorCorrectionLevel = ECLevel.from(options.errorCorrectionLevel, ECLevel.M)\n version = Version.from(options.version)\n mask = MaskPattern.from(options.maskPattern)\n\n if (options.toSJISFunc) {\n Utils.setToSJISFunction(options.toSJISFunc)\n }\n }\n\n return createSymbol(data, version, errorCorrectionLevel, mask)\n}\n","const Polynomial = require('./polynomial')\n\nfunction ReedSolomonEncoder (degree) {\n this.genPoly = undefined\n this.degree = degree\n\n if (this.degree) this.initialize(this.degree)\n}\n\n/**\n * Initialize the encoder.\n * The input param should correspond to the number of error correction codewords.\n *\n * @param {Number} degree\n */\nReedSolomonEncoder.prototype.initialize = function initialize (degree) {\n // create an irreducible generator polynomial\n this.degree = degree\n this.genPoly = Polynomial.generateECPolynomial(this.degree)\n}\n\n/**\n * Encodes a chunk of data\n *\n * @param {Uint8Array} data Buffer containing input data\n * @return {Uint8Array} Buffer containing encoded data\n */\nReedSolomonEncoder.prototype.encode = function encode (data) {\n if (!this.genPoly) {\n throw new Error('Encoder not initialized')\n }\n\n // Calculate EC for this data block\n // extends data size to data+genPoly size\n const paddedData = new Uint8Array(data.length + this.degree)\n paddedData.set(data)\n\n // The error correction codewords are the remainder after dividing the data codewords\n // by a generator polynomial\n const remainder = Polynomial.mod(paddedData, this.genPoly)\n\n // return EC data blocks (last n byte, where n is the degree of genPoly)\n // If coefficients number in remainder are less than genPoly degree,\n // pad with 0s to the left to reach the needed number of coefficients\n const start = this.degree - remainder.length\n if (start > 0) {\n const buff = new Uint8Array(this.degree)\n buff.set(remainder, start)\n\n return buff\n }\n\n return remainder\n}\n\nmodule.exports = ReedSolomonEncoder\n","const numeric = '[0-9]+'\nconst alphanumeric = '[A-Z $%*+\\\\-./:]+'\nlet kanji = '(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|' +\n '[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|' +\n '[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|' +\n '[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+'\nkanji = kanji.replace(/u/g, '\\\\u')\n\nconst byte = '(?:(?![A-Z0-9 $%*+\\\\-./:]|' + kanji + ')(?:.|[\\r\\n]))+'\n\nexports.KANJI = new RegExp(kanji, 'g')\nexports.BYTE_KANJI = new RegExp('[^A-Z0-9 $%*+\\\\-./:]+', 'g')\nexports.BYTE = new RegExp(byte, 'g')\nexports.NUMERIC = new RegExp(numeric, 'g')\nexports.ALPHANUMERIC = new RegExp(alphanumeric, 'g')\n\nconst TEST_KANJI = new RegExp('^' + kanji + '$')\nconst TEST_NUMERIC = new RegExp('^' + numeric + '$')\nconst TEST_ALPHANUMERIC = new RegExp('^[A-Z0-9 $%*+\\\\-./:]+$')\n\nexports.testKanji = function testKanji (str) {\n return TEST_KANJI.test(str)\n}\n\nexports.testNumeric = function testNumeric (str) {\n return TEST_NUMERIC.test(str)\n}\n\nexports.testAlphanumeric = function testAlphanumeric (str) {\n return TEST_ALPHANUMERIC.test(str)\n}\n","const Mode = require('./mode')\nconst NumericData = require('./numeric-data')\nconst AlphanumericData = require('./alphanumeric-data')\nconst ByteData = require('./byte-data')\nconst KanjiData = require('./kanji-data')\nconst Regex = require('./regex')\nconst Utils = require('./utils')\nconst dijkstra = require('dijkstrajs')\n\n/**\n * Returns UTF8 byte length\n *\n * @param {String} str Input string\n * @return {Number} Number of byte\n */\nfunction getStringByteLength (str) {\n return unescape(encodeURIComponent(str)).length\n}\n\n/**\n * Get a list of segments of the specified mode\n * from a string\n *\n * @param {Mode} mode Segment mode\n * @param {String} str String to process\n * @return {Array} Array of object with segments data\n */\nfunction getSegments (regex, mode, str) {\n const segments = []\n let result\n\n while ((result = regex.exec(str)) !== null) {\n segments.push({\n data: result[0],\n index: result.index,\n mode: mode,\n length: result[0].length\n })\n }\n\n return segments\n}\n\n/**\n * Extracts a series of segments with the appropriate\n * modes from a string\n *\n * @param {String} dataStr Input string\n * @return {Array} Array of object with segments data\n */\nfunction getSegmentsFromString (dataStr) {\n const numSegs = getSegments(Regex.NUMERIC, Mode.NUMERIC, dataStr)\n const alphaNumSegs = getSegments(Regex.ALPHANUMERIC, Mode.ALPHANUMERIC, dataStr)\n let byteSegs\n let kanjiSegs\n\n if (Utils.isKanjiModeEnabled()) {\n byteSegs = getSegments(Regex.BYTE, Mode.BYTE, dataStr)\n kanjiSegs = getSegments(Regex.KANJI, Mode.KANJI, dataStr)\n } else {\n byteSegs = getSegments(Regex.BYTE_KANJI, Mode.BYTE, dataStr)\n kanjiSegs = []\n }\n\n const segs = numSegs.concat(alphaNumSegs, byteSegs, kanjiSegs)\n\n return segs\n .sort(function (s1, s2) {\n return s1.index - s2.index\n })\n .map(function (obj) {\n return {\n data: obj.data,\n mode: obj.mode,\n length: obj.length\n }\n })\n}\n\n/**\n * Returns how many bits are needed to encode a string of\n * specified length with the specified mode\n *\n * @param {Number} length String length\n * @param {Mode} mode Segment mode\n * @return {Number} Bit length\n */\nfunction getSegmentBitsLength (length, mode) {\n switch (mode) {\n case Mode.NUMERIC:\n return NumericData.getBitsLength(length)\n case Mode.ALPHANUMERIC:\n return AlphanumericData.getBitsLength(length)\n case Mode.KANJI:\n return KanjiData.getBitsLength(length)\n case Mode.BYTE:\n return ByteData.getBitsLength(length)\n }\n}\n\n/**\n * Merges adjacent segments which have the same mode\n *\n * @param {Array} segs Array of object with segments data\n * @return {Array} Array of object with segments data\n */\nfunction mergeSegments (segs) {\n return segs.reduce(function (acc, curr) {\n const prevSeg = acc.length - 1 >= 0 ? acc[acc.length - 1] : null\n if (prevSeg && prevSeg.mode === curr.mode) {\n acc[acc.length - 1].data += curr.data\n return acc\n }\n\n acc.push(curr)\n return acc\n }, [])\n}\n\n/**\n * Generates a list of all possible nodes combination which\n * will be used to build a segments graph.\n *\n * Nodes are divided by groups. Each group will contain a list of all the modes\n * in which is possible to encode the given text.\n *\n * For example the text '12345' can be encoded as Numeric, Alphanumeric or Byte.\n * The group for '12345' will contain then 3 objects, one for each\n * possible encoding mode.\n *\n * Each node represents a possible segment.\n *\n * @param {Array} segs Array of object with segments data\n * @return {Array} Array of object with segments data\n */\nfunction buildNodes (segs) {\n const nodes = []\n for (let i = 0; i < segs.length; i++) {\n const seg = segs[i]\n\n switch (seg.mode) {\n case Mode.NUMERIC:\n nodes.push([seg,\n { data: seg.data, mode: Mode.ALPHANUMERIC, length: seg.length },\n { data: seg.data, mode: Mode.BYTE, length: seg.length }\n ])\n break\n case Mode.ALPHANUMERIC:\n nodes.push([seg,\n { data: seg.data, mode: Mode.BYTE, length: seg.length }\n ])\n break\n case Mode.KANJI:\n nodes.push([seg,\n { data: seg.data, mode: Mode.BYTE, length: getStringByteLength(seg.data) }\n ])\n break\n case Mode.BYTE:\n nodes.push([\n { data: seg.data, mode: Mode.BYTE, length: getStringByteLength(seg.data) }\n ])\n }\n }\n\n return nodes\n}\n\n/**\n * Builds a graph from a list of nodes.\n * All segments in each node group will be connected with all the segments of\n * the next group and so on.\n *\n * At each connection will be assigned a weight depending on the\n * segment's byte length.\n *\n * @param {Array} nodes Array of object with segments data\n * @param {Number} version QR Code version\n * @return {Object} Graph of all possible segments\n */\nfunction buildGraph (nodes, version) {\n const table = {}\n const graph = { start: {} }\n let prevNodeIds = ['start']\n\n for (let i = 0; i < nodes.length; i++) {\n const nodeGroup = nodes[i]\n const currentNodeIds = []\n\n for (let j = 0; j < nodeGroup.length; j++) {\n const node = nodeGroup[j]\n const key = '' + i + j\n\n currentNodeIds.push(key)\n table[key] = { node: node, lastCount: 0 }\n graph[key] = {}\n\n for (let n = 0; n < prevNodeIds.length; n++) {\n const prevNodeId = prevNodeIds[n]\n\n if (table[prevNodeId] && table[prevNodeId].node.mode === node.mode) {\n graph[prevNodeId][key] =\n getSegmentBitsLength(table[prevNodeId].lastCount + node.length, node.mode) -\n getSegmentBitsLength(table[prevNodeId].lastCount, node.mode)\n\n table[prevNodeId].lastCount += node.length\n } else {\n if (table[prevNodeId]) table[prevNodeId].lastCount = node.length\n\n graph[prevNodeId][key] = getSegmentBitsLength(node.length, node.mode) +\n 4 + Mode.getCharCountIndicator(node.mode, version) // switch cost\n }\n }\n }\n\n prevNodeIds = currentNodeIds\n }\n\n for (let n = 0; n < prevNodeIds.length; n++) {\n graph[prevNodeIds[n]].end = 0\n }\n\n return { map: graph, table: table }\n}\n\n/**\n * Builds a segment from a specified data and mode.\n * If a mode is not specified, the more suitable will be used.\n *\n * @param {String} data Input data\n * @param {Mode | String} modesHint Data mode\n * @return {Segment} Segment\n */\nfunction buildSingleSegment (data, modesHint) {\n let mode\n const bestMode = Mode.getBestModeForData(data)\n\n mode = Mode.from(modesHint, bestMode)\n\n // Make sure data can be encoded\n if (mode !== Mode.BYTE && mode.bit < bestMode.bit) {\n throw new Error('\"' + data + '\"' +\n ' cannot be encoded with mode ' + Mode.toString(mode) +\n '.\\n Suggested mode is: ' + Mode.toString(bestMode))\n }\n\n // Use Mode.BYTE if Kanji support is disabled\n if (mode === Mode.KANJI && !Utils.isKanjiModeEnabled()) {\n mode = Mode.BYTE\n }\n\n switch (mode) {\n case Mode.NUMERIC:\n return new NumericData(data)\n\n case Mode.ALPHANUMERIC:\n return new AlphanumericData(data)\n\n case Mode.KANJI:\n return new KanjiData(data)\n\n case Mode.BYTE:\n return new ByteData(data)\n }\n}\n\n/**\n * Builds a list of segments from an array.\n * Array can contain Strings or Objects with segment's info.\n *\n * For each item which is a string, will be generated a segment with the given\n * string and the more appropriate encoding mode.\n *\n * For each item which is an object, will be generated a segment with the given\n * data and mode.\n * Objects must contain at least the property \"data\".\n * If property \"mode\" is not present, the more suitable mode will be used.\n *\n * @param {Array} array Array of objects with segments data\n * @return {Array} Array of Segments\n */\nexports.fromArray = function fromArray (array) {\n return array.reduce(function (acc, seg) {\n if (typeof seg === 'string') {\n acc.push(buildSingleSegment(seg, null))\n } else if (seg.data) {\n acc.push(buildSingleSegment(seg.data, seg.mode))\n }\n\n return acc\n }, [])\n}\n\n/**\n * Builds an optimized sequence of segments from a string,\n * which will produce the shortest possible bitstream.\n *\n * @param {String} data Input string\n * @param {Number} version QR Code version\n * @return {Array} Array of segments\n */\nexports.fromString = function fromString (data, version) {\n const segs = getSegmentsFromString(data, Utils.isKanjiModeEnabled())\n\n const nodes = buildNodes(segs)\n const graph = buildGraph(nodes, version)\n const path = dijkstra.find_path(graph.map, 'start', 'end')\n\n const optimizedSegs = []\n for (let i = 1; i < path.length - 1; i++) {\n optimizedSegs.push(graph.table[path[i]].node)\n }\n\n return exports.fromArray(mergeSegments(optimizedSegs))\n}\n\n/**\n * Splits a string in various segments with the modes which\n * best represent their content.\n * The produced segments are far from being optimized.\n * The output of this function is only used to estimate a QR Code version\n * which may contain the data.\n *\n * @param {string} data Input string\n * @return {Array} Array of segments\n */\nexports.rawSplit = function rawSplit (data) {\n return exports.fromArray(\n getSegmentsFromString(data, Utils.isKanjiModeEnabled())\n )\n}\n","let toSJISFunction\nconst CODEWORDS_COUNT = [\n 0, // Not used\n 26, 44, 70, 100, 134, 172, 196, 242, 292, 346,\n 404, 466, 532, 581, 655, 733, 815, 901, 991, 1085,\n 1156, 1258, 1364, 1474, 1588, 1706, 1828, 1921, 2051, 2185,\n 2323, 2465, 2611, 2761, 2876, 3034, 3196, 3362, 3532, 3706\n]\n\n/**\n * Returns the QR Code size for the specified version\n *\n * @param {Number} version QR Code version\n * @return {Number} size of QR code\n */\nexports.getSymbolSize = function getSymbolSize (version) {\n if (!version) throw new Error('\"version\" cannot be null or undefined')\n if (version < 1 || version > 40) throw new Error('\"version\" should be in range from 1 to 40')\n return version * 4 + 17\n}\n\n/**\n * Returns the total number of codewords used to store data and EC information.\n *\n * @param {Number} version QR Code version\n * @return {Number} Data length in bits\n */\nexports.getSymbolTotalCodewords = function getSymbolTotalCodewords (version) {\n return CODEWORDS_COUNT[version]\n}\n\n/**\n * Encode data with Bose-Chaudhuri-Hocquenghem\n *\n * @param {Number} data Value to encode\n * @return {Number} Encoded value\n */\nexports.getBCHDigit = function (data) {\n let digit = 0\n\n while (data !== 0) {\n digit++\n data >>>= 1\n }\n\n return digit\n}\n\nexports.setToSJISFunction = function setToSJISFunction (f) {\n if (typeof f !== 'function') {\n throw new Error('\"toSJISFunc\" is not a valid function.')\n }\n\n toSJISFunction = f\n}\n\nexports.isKanjiModeEnabled = function () {\n return typeof toSJISFunction !== 'undefined'\n}\n\nexports.toSJIS = function toSJIS (kanji) {\n return toSJISFunction(kanji)\n}\n","/**\n * Check if QR Code version is valid\n *\n * @param {Number} version QR Code version\n * @return {Boolean} true if valid version, false otherwise\n */\nexports.isValid = function isValid (version) {\n return !isNaN(version) && version >= 1 && version <= 40\n}\n","const Utils = require('./utils')\nconst ECCode = require('./error-correction-code')\nconst ECLevel = require('./error-correction-level')\nconst Mode = require('./mode')\nconst VersionCheck = require('./version-check')\n\n// Generator polynomial used to encode version information\nconst G18 = (1 << 12) | (1 << 11) | (1 << 10) | (1 << 9) | (1 << 8) | (1 << 5) | (1 << 2) | (1 << 0)\nconst G18_BCH = Utils.getBCHDigit(G18)\n\nfunction getBestVersionForDataLength (mode, length, errorCorrectionLevel) {\n for (let currentVersion = 1; currentVersion <= 40; currentVersion++) {\n if (length <= exports.getCapacity(currentVersion, errorCorrectionLevel, mode)) {\n return currentVersion\n }\n }\n\n return undefined\n}\n\nfunction getReservedBitsCount (mode, version) {\n // Character count indicator + mode indicator bits\n return Mode.getCharCountIndicator(mode, version) + 4\n}\n\nfunction getTotalBitsFromDataArray (segments, version) {\n let totalBits = 0\n\n segments.forEach(function (data) {\n const reservedBits = getReservedBitsCount(data.mode, version)\n totalBits += reservedBits + data.getBitsLength()\n })\n\n return totalBits\n}\n\nfunction getBestVersionForMixedData (segments, errorCorrectionLevel) {\n for (let currentVersion = 1; currentVersion <= 40; currentVersion++) {\n const length = getTotalBitsFromDataArray(segments, currentVersion)\n if (length <= exports.getCapacity(currentVersion, errorCorrectionLevel, Mode.MIXED)) {\n return currentVersion\n }\n }\n\n return undefined\n}\n\n/**\n * Returns version number from a value.\n * If value is not a valid version, returns defaultValue\n *\n * @param {Number|String} value QR Code version\n * @param {Number} defaultValue Fallback value\n * @return {Number} QR Code version number\n */\nexports.from = function from (value, defaultValue) {\n if (VersionCheck.isValid(value)) {\n return parseInt(value, 10)\n }\n\n return defaultValue\n}\n\n/**\n * Returns how much data can be stored with the specified QR code version\n * and error correction level\n *\n * @param {Number} version QR Code version (1-40)\n * @param {Number} errorCorrectionLevel Error correction level\n * @param {Mode} mode Data mode\n * @return {Number} Quantity of storable data\n */\nexports.getCapacity = function getCapacity (version, errorCorrectionLevel, mode) {\n if (!VersionCheck.isValid(version)) {\n throw new Error('Invalid QR Code version')\n }\n\n // Use Byte mode as default\n if (typeof mode === 'undefined') mode = Mode.BYTE\n\n // Total codewords for this QR code version (Data + Error correction)\n const totalCodewords = Utils.getSymbolTotalCodewords(version)\n\n // Total number of error correction codewords\n const ecTotalCodewords = ECCode.getTotalCodewordsCount(version, errorCorrectionLevel)\n\n // Total number of data codewords\n const dataTotalCodewordsBits = (totalCodewords - ecTotalCodewords) * 8\n\n if (mode === Mode.MIXED) return dataTotalCodewordsBits\n\n const usableBits = dataTotalCodewordsBits - getReservedBitsCount(mode, version)\n\n // Return max number of storable codewords\n switch (mode) {\n case Mode.NUMERIC:\n return Math.floor((usableBits / 10) * 3)\n\n case Mode.ALPHANUMERIC:\n return Math.floor((usableBits / 11) * 2)\n\n case Mode.KANJI:\n return Math.floor(usableBits / 13)\n\n case Mode.BYTE:\n default:\n return Math.floor(usableBits / 8)\n }\n}\n\n/**\n * Returns the minimum version needed to contain the amount of data\n *\n * @param {Segment} data Segment of data\n * @param {Number} [errorCorrectionLevel=H] Error correction level\n * @param {Mode} mode Data mode\n * @return {Number} QR Code version\n */\nexports.getBestVersionForData = function getBestVersionForData (data, errorCorrectionLevel) {\n let seg\n\n const ecl = ECLevel.from(errorCorrectionLevel, ECLevel.M)\n\n if (Array.isArray(data)) {\n if (data.length > 1) {\n return getBestVersionForMixedData(data, ecl)\n }\n\n if (data.length === 0) {\n return 1\n }\n\n seg = data[0]\n } else {\n seg = data\n }\n\n return getBestVersionForDataLength(seg.mode, seg.getLength(), ecl)\n}\n\n/**\n * Returns version information with relative error correction bits\n *\n * The version information is included in QR Code symbols of version 7 or larger.\n * It consists of an 18-bit sequence containing 6 data bits,\n * with 12 error correction bits calculated using the (18, 6) Golay code.\n *\n * @param {Number} version QR Code version\n * @return {Number} Encoded version info bits\n */\nexports.getEncodedBits = function getEncodedBits (version) {\n if (!VersionCheck.isValid(version) || version < 7) {\n throw new Error('Invalid QR Code version')\n }\n\n let d = version << 12\n\n while (Utils.getBCHDigit(d) - G18_BCH >= 0) {\n d ^= (G18 << (Utils.getBCHDigit(d) - G18_BCH))\n }\n\n return (version << 12) | d\n}\n","const Utils = require('./utils')\n\nfunction clearCanvas (ctx, canvas, size) {\n ctx.clearRect(0, 0, canvas.width, canvas.height)\n\n if (!canvas.style) canvas.style = {}\n canvas.height = size\n canvas.width = size\n canvas.style.height = size + 'px'\n canvas.style.width = size + 'px'\n}\n\nfunction getCanvasElement () {\n try {\n return document.createElement('canvas')\n } catch (e) {\n throw new Error('You need to specify a canvas element')\n }\n}\n\nexports.render = function render (qrData, canvas, options) {\n let opts = options\n let canvasEl = canvas\n\n if (typeof opts === 'undefined' && (!canvas || !canvas.getContext)) {\n opts = canvas\n canvas = undefined\n }\n\n if (!canvas) {\n canvasEl = getCanvasElement()\n }\n\n opts = Utils.getOptions(opts)\n const size = Utils.getImageWidth(qrData.modules.size, opts)\n\n const ctx = canvasEl.getContext('2d')\n const image = ctx.createImageData(size, size)\n Utils.qrToImageData(image.data, qrData, opts)\n\n clearCanvas(ctx, canvasEl, size)\n ctx.putImageData(image, 0, 0)\n\n return canvasEl\n}\n\nexports.renderToDataURL = function renderToDataURL (qrData, canvas, options) {\n let opts = options\n\n if (typeof opts === 'undefined' && (!canvas || !canvas.getContext)) {\n opts = canvas\n canvas = undefined\n }\n\n if (!opts) opts = {}\n\n const canvasEl = exports.render(qrData, canvas, opts)\n\n const type = opts.type || 'image/png'\n const rendererOpts = opts.rendererOpts || {}\n\n return canvasEl.toDataURL(type, rendererOpts.quality)\n}\n","const Utils = require('./utils')\n\nfunction getColorAttrib (color, attrib) {\n const alpha = color.a / 255\n const str = attrib + '=\"' + color.hex + '\"'\n\n return alpha < 1\n ? str + ' ' + attrib + '-opacity=\"' + alpha.toFixed(2).slice(1) + '\"'\n : str\n}\n\nfunction svgCmd (cmd, x, y) {\n let str = cmd + x\n if (typeof y !== 'undefined') str += ' ' + y\n\n return str\n}\n\nfunction qrToPath (data, size, margin) {\n let path = ''\n let moveBy = 0\n let newRow = false\n let lineLength = 0\n\n for (let i = 0; i < data.length; i++) {\n const col = Math.floor(i % size)\n const row = Math.floor(i / size)\n\n if (!col && !newRow) newRow = true\n\n if (data[i]) {\n lineLength++\n\n if (!(i > 0 && col > 0 && data[i - 1])) {\n path += newRow\n ? svgCmd('M', col + margin, 0.5 + row + margin)\n : svgCmd('m', moveBy, 0)\n\n moveBy = 0\n newRow = false\n }\n\n if (!(col + 1 < size && data[i + 1])) {\n path += svgCmd('h', lineLength)\n lineLength = 0\n }\n } else {\n moveBy++\n }\n }\n\n return path\n}\n\nexports.render = function render (qrData, options, cb) {\n const opts = Utils.getOptions(options)\n const size = qrData.modules.size\n const data = qrData.modules.data\n const qrcodesize = size + opts.margin * 2\n\n const bg = !opts.color.light.a\n ? ''\n : '<path ' + getColorAttrib(opts.color.light, 'fill') +\n ' d=\"M0 0h' + qrcodesize + 'v' + qrcodesize + 'H0z\"/>'\n\n const path =\n '<path ' + getColorAttrib(opts.color.dark, 'stroke') +\n ' d=\"' + qrToPath(data, size, opts.margin) + '\"/>'\n\n const viewBox = 'viewBox=\"' + '0 0 ' + qrcodesize + ' ' + qrcodesize + '\"'\n\n const width = !opts.width ? '' : 'width=\"' + opts.width + '\" height=\"' + opts.width + '\" '\n\n const svgTag = '<svg xmlns=\"http://www.w3.org/2000/svg\" ' + width + viewBox + ' shape-rendering=\"crispEdges\">' + bg + path + '</svg>\\n'\n\n if (typeof cb === 'function') {\n cb(null, svgTag)\n }\n\n return svgTag\n}\n","function hex2rgba (hex) {\n if (typeof hex === 'number') {\n hex = hex.toString()\n }\n\n if (typeof hex !== 'string') {\n throw new Error('Color should be defined as hex string')\n }\n\n let hexCode = hex.slice().replace('#', '').split('')\n if (hexCode.length < 3 || hexCode.length === 5 || hexCode.length > 8) {\n throw new Error('Invalid hex color: ' + hex)\n }\n\n // Convert from short to long form (fff -> ffffff)\n if (hexCode.length === 3 || hexCode.length === 4) {\n hexCode = Array.prototype.concat.apply([], hexCode.map(function (c) {\n return [c, c]\n }))\n }\n\n // Add default alpha value\n if (hexCode.length === 6) hexCode.push('F', 'F')\n\n const hexValue = parseInt(hexCode.join(''), 16)\n\n return {\n r: (hexValue >> 24) & 255,\n g: (hexValue >> 16) & 255,\n b: (hexValue >> 8) & 255,\n a: hexValue & 255,\n hex: '#' + hexCode.slice(0, 6).join('')\n }\n}\n\nexports.getOptions = function getOptions (options) {\n if (!options) options = {}\n if (!options.color) options.color = {}\n\n const margin = typeof options.margin === 'undefined' ||\n options.margin === null ||\n options.margin < 0\n ? 4\n : options.margin\n\n const width = options.width && options.width >= 21 ? options.width : undefined\n const scale = options.scale || 4\n\n return {\n width: width,\n scale: width ? 4 : scale,\n margin: margin,\n color: {\n dark: hex2rgba(options.color.dark || '#000000ff'),\n light: hex2rgba(options.color.light || '#ffffffff')\n },\n type: options.type,\n rendererOpts: options.rendererOpts || {}\n }\n}\n\nexports.getScale = function getScale (qrSize, opts) {\n return opts.width && opts.width >= qrSize + opts.margin * 2\n ? opts.width / (qrSize + opts.margin * 2)\n : opts.scale\n}\n\nexports.getImageWidth = function getImageWidth (qrSize, opts) {\n const scale = exports.getScale(qrSize, opts)\n return Math.floor((qrSize + opts.margin * 2) * scale)\n}\n\nexports.qrToImageData = function qrToImageData (imgData, qr, opts) {\n const size = qr.modules.size\n const data = qr.modules.data\n const scale = exports.getScale(size, opts)\n const symbolSize = Math.floor((size + opts.margin * 2) * scale)\n const scaledMargin = opts.margin * scale\n const palette = [opts.color.light, opts.color.dark]\n\n for (let i = 0; i < symbolSize; i++) {\n for (let j = 0; j < symbolSize; j++) {\n let posDst = (i * symbolSize + j) * 4\n let pxColor = opts.color.light\n\n if (i >= scaledMargin && j >= scaledMargin &&\n i < symbolSize - scaledMargin && j < symbolSize - scaledMargin) {\n const iSrc = Math.floor((i - scaledMargin) / scale)\n const jSrc = Math.floor((j - scaledMargin) / scale)\n pxColor = palette[data[iSrc * size + jSrc] ? 1 : 0]\n }\n\n imgData[posDst++] = pxColor.r\n imgData[posDst++] = pxColor.g\n imgData[posDst++] = pxColor.b\n imgData[posDst] = pxColor.a\n }\n }\n}\n","\"use strict\";\n\nvar stylesInDOM = [];\nfunction getIndexByIdentifier(identifier) {\n var result = -1;\n for (var i = 0; i < stylesInDOM.length; i++) {\n if (stylesInDOM[i].identifier === identifier) {\n result = i;\n break;\n }\n }\n return result;\n}\nfunction modulesToDom(list, options) {\n var idCountMap = {};\n var identifiers = [];\n for (var i = 0; i < list.length; i++) {\n var item = list[i];\n var id = options.base ? item[0] + options.base : item[0];\n var count = idCountMap[id] || 0;\n var identifier = \"\".concat(id, \" \").concat(count);\n idCountMap[id] = count + 1;\n var indexByIdentifier = getIndexByIdentifier(identifier);\n var obj = {\n css: item[1],\n media: item[2],\n sourceMap: item[3],\n supports: item[4],\n layer: item[5]\n };\n if (indexByIdentifier !== -1) {\n stylesInDOM[indexByIdentifier].references++;\n stylesInDOM[indexByIdentifier].updater(obj);\n } else {\n var updater = addElementStyle(obj, options);\n options.byIndex = i;\n stylesInDOM.splice(i, 0, {\n identifier: identifier,\n updater: updater,\n references: 1\n });\n }\n identifiers.push(identifier);\n }\n return identifiers;\n}\nfunction addElementStyle(obj, options) {\n var api = options.domAPI(options);\n api.update(obj);\n var updater = function updater(newObj) {\n if (newObj) {\n if (newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap && newObj.supports === obj.supports && newObj.layer === obj.layer) {\n return;\n }\n api.update(obj = newObj);\n } else {\n api.remove();\n }\n };\n return updater;\n}\nmodule.exports = function (list, options) {\n options = options || {};\n list = list || [];\n var lastIdentifiers = modulesToDom(list, options);\n return function update(newList) {\n newList = newList || [];\n for (var i = 0; i < lastIdentifiers.length; i++) {\n var identifier = lastIdentifiers[i];\n var index = getIndexByIdentifier(identifier);\n stylesInDOM[index].references--;\n }\n var newLastIdentifiers = modulesToDom(newList, options);\n for (var _i = 0; _i < lastIdentifiers.length; _i++) {\n var _identifier = lastIdentifiers[_i];\n var _index = getIndexByIdentifier(_identifier);\n if (stylesInDOM[_index].references === 0) {\n stylesInDOM[_index].updater();\n stylesInDOM.splice(_index, 1);\n }\n }\n lastIdentifiers = newLastIdentifiers;\n };\n};","\"use strict\";\n\nvar memo = {};\n\n/* istanbul ignore next */\nfunction getTarget(target) {\n if (typeof memo[target] === \"undefined\") {\n var styleTarget = document.querySelector(target);\n\n // Special case to return head of iframe instead of iframe itself\n if (window.HTMLIFrameElement && styleTarget instanceof window.HTMLIFrameElement) {\n try {\n // This will throw an exception if access to iframe is blocked\n // due to cross-origin restrictions\n styleTarget = styleTarget.contentDocument.head;\n } catch (e) {\n // istanbul ignore next\n styleTarget = null;\n }\n }\n memo[target] = styleTarget;\n }\n return memo[target];\n}\n\n/* istanbul ignore next */\nfunction insertBySelector(insert, style) {\n var target = getTarget(insert);\n if (!target) {\n throw new Error(\"Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.\");\n }\n target.appendChild(style);\n}\nmodule.exports = insertBySelector;","\"use strict\";\n\n/* istanbul ignore next */\nfunction insertStyleElement(options) {\n var element = document.createElement(\"style\");\n options.setAttributes(element, options.attributes);\n options.insert(element, options.options);\n return element;\n}\nmodule.exports = insertStyleElement;","\"use strict\";\n\n/* istanbul ignore next */\nfunction setAttributesWithoutAttributes(styleElement) {\n var nonce = typeof __webpack_nonce__ !== \"undefined\" ? __webpack_nonce__ : null;\n if (nonce) {\n styleElement.setAttribute(\"nonce\", nonce);\n }\n}\nmodule.exports = setAttributesWithoutAttributes;","\"use strict\";\n\n/* istanbul ignore next */\nfunction apply(styleElement, options, obj) {\n var css = \"\";\n if (obj.supports) {\n css += \"@supports (\".concat(obj.supports, \") {\");\n }\n if (obj.media) {\n css += \"@media \".concat(obj.media, \" {\");\n }\n var needLayer = typeof obj.layer !== \"undefined\";\n if (needLayer) {\n css += \"@layer\".concat(obj.layer.length > 0 ? \" \".concat(obj.layer) : \"\", \" {\");\n }\n css += obj.css;\n if (needLayer) {\n css += \"}\";\n }\n if (obj.media) {\n css += \"}\";\n }\n if (obj.supports) {\n css += \"}\";\n }\n var sourceMap = obj.sourceMap;\n if (sourceMap && typeof btoa !== \"undefined\") {\n css += \"\\n/*# sourceMappingURL=data:application/json;base64,\".concat(btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))), \" */\");\n }\n\n // For old IE\n /* istanbul ignore if */\n options.styleTagTransform(css, styleElement, options.options);\n}\nfunction removeStyleElement(styleElement) {\n // istanbul ignore if\n if (styleElement.parentNode === null) {\n return false;\n }\n styleElement.parentNode.removeChild(styleElement);\n}\n\n/* istanbul ignore next */\nfunction domAPI(options) {\n if (typeof document === \"undefined\") {\n return {\n update: function update() {},\n remove: function remove() {}\n };\n }\n var styleElement = options.insertStyleElement(options);\n return {\n update: function update(obj) {\n apply(styleElement, options, obj);\n },\n remove: function remove() {\n removeStyleElement(styleElement);\n }\n };\n}\nmodule.exports = domAPI;","\"use strict\";\n\n/* istanbul ignore next */\nfunction styleTagTransform(css, styleElement) {\n if (styleElement.styleSheet) {\n styleElement.styleSheet.cssText = css;\n } else {\n while (styleElement.firstChild) {\n styleElement.removeChild(styleElement.firstChild);\n }\n styleElement.appendChild(document.createTextNode(css));\n }\n}\nmodule.exports = styleTagTransform;","module.exports=function(e){var r={};function t(n){if(r[n])return r[n].exports;var a=r[n]={i:n,l:!1,exports:{}};return e[n].call(a.exports,a,a.exports,t),a.l=!0,a.exports}return t.m=e,t.c=r,t.d=function(e,r,n){t.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:n})},t.r=function(e){\"undefined\"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:\"Module\"}),Object.defineProperty(e,\"__esModule\",{value:!0})},t.t=function(e,r){if(1&r&&(e=t(e)),8&r)return e;if(4&r&&\"object\"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(t.r(n),Object.defineProperty(n,\"default\",{enumerable:!0,value:e}),2&r&&\"string\"!=typeof e)for(var a in e)t.d(n,a,function(r){return e[r]}.bind(null,a));return n},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,\"a\",r),r},t.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},t.p=\"\",t(t.s=0)}([function(e,r,t){\"use strict\";t.r(r),t.d(r,\"validateHTMLColorName\",(function(){return l})),t.d(r,\"validateHTMLColorSpecialName\",(function(){return i})),t.d(r,\"validateHTMLColorHex\",(function(){return u})),t.d(r,\"validateHTMLColorRgb\",(function(){return g})),t.d(r,\"validateHTMLColorHsl\",(function(){return y})),t.d(r,\"validateHTMLColorHwb\",(function(){return L})),t.d(r,\"validateHTMLColorLab\",(function(){return S})),t.d(r,\"validateHTMLColorLch\",(function(){return m})),t.d(r,\"validateHTMLColor\",(function(){return G}));const n=e=>e&&\"string\"==typeof e,a=[\"AliceBlue\",\"AntiqueWhite\",\"Aqua\",\"Aquamarine\",\"Azure\",\"Beige\",\"Bisque\",\"Black\",\"BlanchedAlmond\",\"Blue\",\"BlueViolet\",\"Brown\",\"BurlyWood\",\"CadetBlue\",\"Chartreuse\",\"Chocolate\",\"Coral\",\"CornflowerBlue\",\"Cornsilk\",\"Crimson\",\"Cyan\",\"DarkBlue\",\"DarkCyan\",\"DarkGoldenrod\",\"DarkGray\",\"DarkGrey\",\"DarkGreen\",\"DarkKhaki\",\"DarkMagenta\",\"DarkOliveGreen\",\"DarkOrange\",\"DarkOrchid\",\"DarkRed\",\"DarkSalmon\",\"DarkSeaGreen\",\"DarkSlateBlue\",\"DarkSlateGray\",\"DarkSlateGrey\",\"DarkTurquoise\",\"DarkViolet\",\"DeepPink\",\"DeepSkyBlue\",\"DimGray\",\"DimGrey\",\"DodgerBlue\",\"FireBrick\",\"FloralWhite\",\"ForestGreen\",\"Fuchsia\",\"Gainsboro\",\"GhostWhite\",\"Gold\",\"Goldenrod\",\"Gray\",\"Grey\",\"Green\",\"GreenYellow\",\"HoneyDew\",\"HotPink\",\"IndianRed\",\"Indigo\",\"Ivory\",\"Khaki\",\"Lavender\",\"LavenderBlush\",\"LawnGreen\",\"LemonChiffon\",\"LightBlue\",\"LightCoral\",\"LightCyan\",\"LightGoldenrodYellow\",\"LightGray\",\"LightGrey\",\"LightGreen\",\"LightPink\",\"LightSalmon\",\"LightSalmon\",\"LightSeaGreen\",\"LightSkyBlue\",\"LightSlateGray\",\"LightSlateGrey\",\"LightSteelBlue\",\"LightYellow\",\"Lime\",\"LimeGreen\",\"Linen\",\"Magenta\",\"Maroon\",\"MediumAquamarine\",\"MediumBlue\",\"MediumOrchid\",\"MediumPurple\",\"MediumSeaGreen\",\"MediumSlateBlue\",\"MediumSlateBlue\",\"MediumSpringGreen\",\"MediumTurquoise\",\"MediumVioletRed\",\"MidnightBlue\",\"MintCream\",\"MistyRose\",\"Moccasin\",\"NavajoWhite\",\"Navy\",\"OldLace\",\"Olive\",\"OliveDrab\",\"Orange\",\"OrangeRed\",\"Orchid\",\"PaleGoldenrod\",\"PaleGreen\",\"PaleTurquoise\",\"PaleVioletRed\",\"PapayaWhip\",\"PeachPuff\",\"Peru\",\"Pink\",\"Plum\",\"PowderBlue\",\"Purple\",\"RebeccaPurple\",\"Red\",\"RosyBrown\",\"RoyalBlue\",\"SaddleBrown\",\"Salmon\",\"SandyBrown\",\"SeaGreen\",\"SeaShell\",\"Sienna\",\"Silver\",\"SkyBlue\",\"SlateBlue\",\"SlateGray\",\"SlateGrey\",\"Snow\",\"SpringGreen\",\"SteelBlue\",\"Tan\",\"Teal\",\"Thistle\",\"Tomato\",\"Turquoise\",\"Violet\",\"Wheat\",\"White\",\"WhiteSmoke\",\"Yellow\",\"YellowGreen\"],o=[\"currentColor\",\"inherit\",\"transparent\"],l=e=>{let r=!1;return n(e)&&a.map(t=>(e.toLowerCase()===t.toLowerCase()&&(r=!0),null)),r},i=e=>{let r=!1;return n(e)&&o.map(t=>(e.toLowerCase()===t.toLowerCase()&&(r=!0),null)),r},u=e=>{if(n(e)){const r=/^#([\\da-f]{3}){1,2}$|^#([\\da-f]{4}){1,2}$/i;return e&&r.test(e)}return!1},d=\"(([\\\\d]{0,5})((\\\\.([\\\\d]{1,5}))?))\",s=`(${d}%)`,c=\"(([0-9]|[1-9][0-9]|100)%)\",f=`(${c}|(0?((\\\\.([\\\\d]{1,5}))?))|1)`,h=`([\\\\s]{0,5})\\\\)?)(([\\\\s]{0,5})(\\\\/?)([\\\\s]{1,5})${`(((${c}))|(0?((\\\\.([\\\\d]{1,5}))?))|1))?`}([\\\\s]{0,5})\\\\)`,$=\"(-?(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-9][0-9]|3[0-5][0-9])((\\\\.([\\\\d]{1,5}))?)|360)(deg)?)\",g=e=>{if(n(e)){const r=\"([\\\\s]{0,5})([\\\\d]{1,5})%?([\\\\s]{0,5}),?\",t=\"((([\\\\s]{0,5}),?([\\\\s]{0,5}))|(([\\\\s]{1,5})))\",n=new RegExp(`^(rgb)a?\\\\(${`${r}${t}`}${`${r}${t}`}${`${r}${t}`}(${\"(\\\\/?([\\\\s]{0,5})(0?\\\\.?([\\\\d]{1,5})%?([\\\\s]{0,5}))?|1|0)\"})?\\\\)$`);return e&&n.test(e)}return!1},y=e=>{if(n(e)){const r=new RegExp(`^(hsl)a?\\\\((([\\\\s]{0,5})(${$}|${\"(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-9][0-9]|3[0-9][0-9]|400)grad)\"}|${\"((([0-5])?\\\\.([\\\\d]{1,5})|6\\\\.([0-9]|1[0-9]|2[0-8])|[0-6])rad)\"}|${\"((0?((\\\\.([\\\\d]{1,5}))?)|1)turn)\"})((([\\\\s]{0,5}),([\\\\s]{0,5}))|(([\\\\s]{1,5}))))(([\\\\s]{0,5})(0|${c})((([\\\\s]{0,5}),([\\\\s]{0,5}))|(([\\\\s]{1,5}))))(([\\\\s]{0,5})(0|${c})([\\\\s]{0,5})\\\\)?)(([\\\\s]{0,5})(\\\\/?|,?)([\\\\s]{0,5})(((${c}))|(0?((\\\\.([\\\\d]{1,5}))?))|1))?\\\\)$`);return e&&r.test(e)}return!1},L=e=>{if(n(e)){const r=new RegExp(`^(hwb\\\\(([\\\\s]{0,5})${$}([\\\\s]{1,5}))((0|${c})([\\\\s]{1,5}))((0|${c})${h}$`);return e&&r.test(e)}return!1},S=e=>{if(n(e)){const r=\"(-?(([0-9]|[1-9][0-9]|1[0-5][0-9])((\\\\.([\\\\d]{1,5}))?)?|160))\",t=new RegExp(`^(lab\\\\(([\\\\s]{0,5})${s}([\\\\s]{1,5})${r}([\\\\s]{1,5})${r}${h}$`);return e&&t.test(e)}return!1},m=e=>{if(n(e)){const r=\"((([0-9]|[1-9][0-9])?((\\\\.([\\\\d]{1,5}))?)|100)(%)?)\",t=\"\"+d,n=`((${$})|(0|${f})|(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-9][0-9]|3[0-5][0-9])((\\\\.([\\\\d]{1,5}))?)|360))`,a=`(\\\\/([\\\\s]{0,5})${f})`,o=new RegExp(`^lch\\\\(${`(([\\\\s]{0,5})${r}([\\\\s]{1,5})${t}([\\\\s]{1,5})${n}([\\\\s]{0,5})(${a})?)`}\\\\)$`);return e&&o.test(e)}return!1},G=e=>!!(e&&u(e)||g(e)||y(e)||L(e)||S(e)||m(e));r.default=e=>!!(e&&u(e)||l(e)||i(e)||g(e)||y(e)||L(e)||S(e)||m(e))}]);","module.exports = __WEBPACK_EXTERNAL_MODULE__5663__;","module.exports = __WEBPACK_EXTERNAL_MODULE__9426__;","module.exports = __WEBPACK_EXTERNAL_MODULE__5491__;","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","__webpack_require__.nc = undefined;","\n import API from \"!../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../node_modules/css-loader/dist/cjs.js!./CVCard.css\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\noptions.insert = insertFn.bind(null, \"head\");\noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../node_modules/css-loader/dist/cjs.js!./CVCard.css\";\n export default content && content.locals ? content.locals : undefined;\n","\n import API from \"!../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../node_modules/css-loader/dist/cjs.js!./ChatWithMe.css\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\noptions.insert = insertFn.bind(null, \"head\");\noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../node_modules/css-loader/dist/cjs.js!./ChatWithMe.css\";\n export default content && content.locals ? content.locals : undefined;\n","\n import API from \"!../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../node_modules/css-loader/dist/cjs.js!./FriendList.css\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\noptions.insert = insertFn.bind(null, \"head\");\noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../node_modules/css-loader/dist/cjs.js!./FriendList.css\";\n export default content && content.locals ? content.locals : undefined;\n","\n import API from \"!../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../node_modules/css-loader/dist/cjs.js!./ProfileCard.css\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\noptions.insert = insertFn.bind(null, \"head\");\noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../node_modules/css-loader/dist/cjs.js!./ProfileCard.css\";\n export default content && content.locals ? content.locals : undefined;\n","\n import API from \"!../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../node_modules/css-loader/dist/cjs.js!./ProfileView.css\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\noptions.insert = insertFn.bind(null, \"head\");\noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../node_modules/css-loader/dist/cjs.js!./ProfileView.css\";\n export default content && content.locals ? content.locals : undefined;\n","\n import API from \"!../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../node_modules/css-loader/dist/cjs.js!./QRCodeCard.css\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\noptions.insert = insertFn.bind(null, \"head\");\noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../node_modules/css-loader/dist/cjs.js!./QRCodeCard.css\";\n export default content && content.locals ? content.locals : undefined;\n","\n import API from \"!../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../node_modules/css-loader/dist/cjs.js!./SocialCard.css\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\noptions.insert = insertFn.bind(null, \"head\");\noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../node_modules/css-loader/dist/cjs.js!./SocialCard.css\";\n export default content && content.locals ? content.locals : undefined;\n","\n import API from \"!../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../node_modules/css-loader/dist/cjs.js!./StuffCard.css\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\noptions.insert = insertFn.bind(null, \"head\");\noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../node_modules/css-loader/dist/cjs.js!./StuffCard.css\";\n export default content && content.locals ? content.locals : undefined;\n","\n import API from \"!../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../node_modules/css-loader/dist/cjs.js!./utilities.css\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\noptions.insert = insertFn.bind(null, \"head\");\noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../node_modules/css-loader/dist/cjs.js!./utilities.css\";\n export default content && content.locals ? content.locals : undefined;\n","/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\nconst t=globalThis,i=t=>t,s=t.trustedTypes,e=s?s.createPolicy(\"lit-html\",{createHTML:t=>t}):void 0,h=\"$lit$\",o=`lit$${Math.random().toFixed(9).slice(2)}$`,n=\"?\"+o,r=`<${n}>`,l=document,c=()=>l.createComment(\"\"),a=t=>null===t||\"object\"!=typeof t&&\"function\"!=typeof t,u=Array.isArray,d=t=>u(t)||\"function\"==typeof t?.[Symbol.iterator],f=\"[ \\t\\n\\f\\r]\",v=/<(?:(!--|\\/[^a-zA-Z])|(\\/?[a-zA-Z][^>\\s]*)|(\\/?$))/g,_=/-->/g,m=/>/g,p=RegExp(`>|${f}(?:([^\\\\s\"'>=/]+)(${f}*=${f}*(?:[^ \\t\\n\\f\\r\"'\\`<>=]|(\"|')|))|$)`,\"g\"),g=/'/g,$=/\"/g,y=/^(?:script|style|textarea|title)$/i,x=t=>(i,...s)=>({_$litType$:t,strings:i,values:s}),b=x(1),w=x(2),T=x(3),E=Symbol.for(\"lit-noChange\"),A=Symbol.for(\"lit-nothing\"),C=new WeakMap,P=l.createTreeWalker(l,129);function V(t,i){if(!u(t)||!t.hasOwnProperty(\"raw\"))throw Error(\"invalid template strings array\");return void 0!==e?e.createHTML(i):i}const N=(t,i)=>{const s=t.length-1,e=[];let n,l=2===i?\"<svg>\":3===i?\"<math>\":\"\",c=v;for(let i=0;i<s;i++){const s=t[i];let a,u,d=-1,f=0;for(;f<s.length&&(c.lastIndex=f,u=c.exec(s),null!==u);)f=c.lastIndex,c===v?\"!--\"===u[1]?c=_:void 0!==u[1]?c=m:void 0!==u[2]?(y.test(u[2])&&(n=RegExp(\"</\"+u[2],\"g\")),c=p):void 0!==u[3]&&(c=p):c===p?\">\"===u[0]?(c=n??v,d=-1):void 0===u[1]?d=-2:(d=c.lastIndex-u[2].length,a=u[1],c=void 0===u[3]?p:'\"'===u[3]?$:g):c===$||c===g?c=p:c===_||c===m?c=v:(c=p,n=void 0);const x=c===p&&t[i+1].startsWith(\"/>\")?\" \":\"\";l+=c===v?s+r:d>=0?(e.push(a),s.slice(0,d)+h+s.slice(d)+o+x):s+o+(-2===d?i:x)}return[V(t,l+(t[s]||\"<?>\")+(2===i?\"</svg>\":3===i?\"</math>\":\"\")),e]};class S{constructor({strings:t,_$litType$:i},e){let r;this.parts=[];let l=0,a=0;const u=t.length-1,d=this.parts,[f,v]=N(t,i);if(this.el=S.createElement(f,e),P.currentNode=this.el.content,2===i||3===i){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=P.nextNode())&&d.length<u;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(h)){const i=v[a++],s=r.getAttribute(t).split(o),e=/([.?@])?(.*)/.exec(i);d.push({type:1,index:l,name:e[2],strings:s,ctor:\".\"===e[1]?I:\"?\"===e[1]?L:\"@\"===e[1]?z:H}),r.removeAttribute(t)}else t.startsWith(o)&&(d.push({type:6,index:l}),r.removeAttribute(t));if(y.test(r.tagName)){const t=r.textContent.split(o),i=t.length-1;if(i>0){r.textContent=s?s.emptyScript:\"\";for(let s=0;s<i;s++)r.append(t[s],c()),P.nextNode(),d.push({type:2,index:++l});r.append(t[i],c())}}}else if(8===r.nodeType)if(r.data===n)d.push({type:2,index:l});else{let t=-1;for(;-1!==(t=r.data.indexOf(o,t+1));)d.push({type:7,index:l}),t+=o.length-1}l++}}static createElement(t,i){const s=l.createElement(\"template\");return s.innerHTML=t,s}}function M(t,i,s=t,e){if(i===E)return i;let h=void 0!==e?s._$Co?.[e]:s._$Cl;const o=a(i)?void 0:i._$litDirective$;return h?.constructor!==o&&(h?._$AO?.(!1),void 0===o?h=void 0:(h=new o(t),h._$AT(t,s,e)),void 0!==e?(s._$Co??=[])[e]=h:s._$Cl=h),void 0!==h&&(i=M(t,h._$AS(t,i.values),h,e)),i}class R{constructor(t,i){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=i}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:i},parts:s}=this._$AD,e=(t?.creationScope??l).importNode(i,!0);P.currentNode=e;let h=P.nextNode(),o=0,n=0,r=s[0];for(;void 0!==r;){if(o===r.index){let i;2===r.type?i=new k(h,h.nextSibling,this,t):1===r.type?i=new r.ctor(h,r.name,r.strings,this,t):6===r.type&&(i=new Z(h,this,t)),this._$AV.push(i),r=s[++n]}o!==r?.index&&(h=P.nextNode(),o++)}return P.currentNode=l,e}p(t){let i=0;for(const s of this._$AV)void 0!==s&&(void 0!==s.strings?(s._$AI(t,s,i),i+=s.strings.length-2):s._$AI(t[i])),i++}}class k{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,i,s,e){this.type=2,this._$AH=A,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=s,this.options=e,this._$Cv=e?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===t?.nodeType&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=M(this,t,i),a(t)?t===A||null==t||\"\"===t?(this._$AH!==A&&this._$AR(),this._$AH=A):t!==this._$AH&&t!==E&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):d(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==A&&a(this._$AH)?this._$AA.nextSibling.data=t:this.T(l.createTextNode(t)),this._$AH=t}$(t){const{values:i,_$litType$:s}=t,e=\"number\"==typeof s?this._$AC(t):(void 0===s.el&&(s.el=S.createElement(V(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===e)this._$AH.p(i);else{const t=new R(e,this),s=t.u(this.options);t.p(i),this.T(s),this._$AH=t}}_$AC(t){let i=C.get(t.strings);return void 0===i&&C.set(t.strings,i=new S(t)),i}k(t){u(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let s,e=0;for(const h of t)e===i.length?i.push(s=new k(this.O(c()),this.O(c()),this,this.options)):s=i[e],s._$AI(h),e++;e<i.length&&(this._$AR(s&&s._$AB.nextSibling,e),i.length=e)}_$AR(t=this._$AA.nextSibling,s){for(this._$AP?.(!1,!0,s);t!==this._$AB;){const s=i(t).nextSibling;i(t).remove(),t=s}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class H{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,i,s,e,h){this.type=1,this._$AH=A,this._$AN=void 0,this.element=t,this.name=i,this._$AM=e,this.options=h,s.length>2||\"\"!==s[0]||\"\"!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=A}_$AI(t,i=this,s,e){const h=this.strings;let o=!1;if(void 0===h)t=M(this,t,i,0),o=!a(t)||t!==this._$AH&&t!==E,o&&(this._$AH=t);else{const e=t;let n,r;for(t=h[0],n=0;n<h.length-1;n++)r=M(this,e[s+n],i,n),r===E&&(r=this._$AH[n]),o||=!a(r)||r!==this._$AH[n],r===A?t=A:t!==A&&(t+=(r??\"\")+h[n+1]),this._$AH[n]=r}o&&!e&&this.j(t)}j(t){t===A?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??\"\")}}class I extends H{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===A?void 0:t}}class L extends H{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==A)}}class z extends H{constructor(t,i,s,e,h){super(t,i,s,e,h),this.type=5}_$AI(t,i=this){if((t=M(this,t,i,0)??A)===E)return;const s=this._$AH,e=t===A&&s!==A||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,h=t!==A&&(s===A||e);e&&this.element.removeEventListener(this.name,this,s),h&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){\"function\"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class Z{constructor(t,i,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(t){M(this,t)}}const j={M:h,P:o,A:n,C:1,L:N,R,D:d,V:M,I:k,H,N:L,U:z,B:I,F:Z},B=t.litHtmlPolyfillSupport;B?.(S,k),(t.litHtmlVersions??=[]).push(\"3.3.2\");const D=(t,i,s)=>{const e=s?.renderBefore??i;let h=e._$litPart$;if(void 0===h){const t=s?.renderBefore??null;e._$litPart$=h=new k(i.insertBefore(c(),t),t,void 0,s??{})}return h._$AI(t),h};export{j as _$LH,b as html,T as mathml,E as noChange,A as nothing,D as render,w as svg};\n//# sourceMappingURL=lit-html.js.map\n","import{_$LH as o}from\"./lit-html.js\";\n/**\n * @license\n * Copyright 2020 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */const{I:t}=o,i=o=>o,n=o=>null===o||\"object\"!=typeof o&&\"function\"!=typeof o,e={HTML:1,SVG:2,MATHML:3},l=(o,t)=>void 0===t?void 0!==o?._$litType$:o?._$litType$===t,d=o=>null!=o?._$litType$?.h,c=o=>void 0!==o?._$litDirective$,f=o=>o?._$litDirective$,r=o=>void 0===o.strings,s=()=>document.createComment(\"\"),v=(o,n,e)=>{const l=o._$AA.parentNode,d=void 0===n?o._$AB:n._$AA;if(void 0===e){const i=l.insertBefore(s(),d),n=l.insertBefore(s(),d);e=new t(i,n,o,o.options)}else{const t=e._$AB.nextSibling,n=e._$AM,c=n!==o;if(c){let t;e._$AQ?.(o),e._$AM=o,void 0!==e._$AP&&(t=o._$AU)!==n._$AU&&e._$AP(t)}if(t!==d||c){let o=e._$AA;for(;o!==t;){const t=i(o).nextSibling;i(l).insertBefore(o,d),o=t}}}return e},u=(o,t,i=o)=>(o._$AI(t,i),o),m={},p=(o,t=m)=>o._$AH=t,M=o=>o._$AH,h=o=>{o._$AR(),o._$AA.remove()},j=o=>{o._$AR()};export{e as TemplateResultType,j as clearPart,M as getCommittedValue,f as getDirectiveClass,v as insertPart,d as isCompiledTemplateResult,c as isDirectiveResult,n as isPrimitive,r as isSingleExpression,l as isTemplateResult,h as removePart,u as setChildPartValue,p as setCommittedValue};\n//# sourceMappingURL=directive-helpers.js.map\n","/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\nconst t={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},e=t=>(...e)=>({_$litDirective$:t,values:e});class i{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}export{i as Directive,t as PartType,e as directive};\n//# sourceMappingURL=directive.js.map\n","import{isSingleExpression as i}from\"./directive-helpers.js\";import{Directive as t,PartType as e}from\"./directive.js\";export{directive}from\"./directive.js\";\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */const s=(i,t)=>{const e=i._$AN;if(void 0===e)return!1;for(const i of e)i._$AO?.(t,!1),s(i,t);return!0},o=i=>{let t,e;do{if(void 0===(t=i._$AM))break;e=t._$AN,e.delete(i),i=t}while(0===e?.size)},r=i=>{for(let t;t=i._$AM;i=t){let e=t._$AN;if(void 0===e)t._$AN=e=new Set;else if(e.has(i))break;e.add(i),c(t)}};function h(i){void 0!==this._$AN?(o(this),this._$AM=i,r(this)):this._$AM=i}function n(i,t=!1,e=0){const r=this._$AH,h=this._$AN;if(void 0!==h&&0!==h.size)if(t)if(Array.isArray(r))for(let i=e;i<r.length;i++)s(r[i],!1),o(r[i]);else null!=r&&(s(r,!1),o(r));else s(this,i)}const c=i=>{i.type==e.CHILD&&(i._$AP??=n,i._$AQ??=h)};class f extends t{constructor(){super(...arguments),this._$AN=void 0}_$AT(i,t,e){super._$AT(i,t,e),r(this),this.isConnected=i._$AU}_$AO(i,t=!0){i!==this.isConnected&&(this.isConnected=i,i?this.reconnected?.():this.disconnected?.()),t&&(s(this,i),o(this))}setValue(t){if(i(this._$Ct))this._$Ct._$AI(t,this);else{const i=[...this._$Ct._$AH];i[this._$Ci]=t,this._$Ct._$AI(i,this,0)}}disconnected(){}reconnected(){}}export{f as AsyncDirective,t as Directive,e as PartType};\n//# sourceMappingURL=async-directive.js.map\n","/**\n * @license\n * Copyright 2021 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\nconst t=async(t,s)=>{for await(const i of t)if(!1===await s(i))return};class s{constructor(t){this.G=t}disconnect(){this.G=void 0}reconnect(t){this.G=t}deref(){return this.G}}class i{constructor(){this.Y=void 0,this.Z=void 0}get(){return this.Y}pause(){this.Y??=new Promise(t=>this.Z=t)}resume(){this.Z?.(),this.Y=this.Z=void 0}}export{i as Pauser,s as PseudoWeakRef,t as forAwaitOf};\n//# sourceMappingURL=private-async-helpers.js.map\n","import{noChange as t}from\"../lit-html.js\";import{AsyncDirective as i}from\"../async-directive.js\";import{PseudoWeakRef as s,Pauser as r,forAwaitOf as e}from\"./private-async-helpers.js\";import{directive as n}from\"../directive.js\";\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */class o extends i{constructor(){super(...arguments),this._$CK=new s(this),this._$CX=new r}render(i,s){return t}update(i,[s,r]){if(this.isConnected||this.disconnected(),s===this._$CJ)return t;this._$CJ=s;let n=0;const{_$CK:o,_$CX:h}=this;return e(s,async t=>{for(;h.get();)await h.get();const i=o.deref();if(void 0!==i){if(i._$CJ!==s)return!1;void 0!==r&&(t=r(t,n)),i.commitValue(t,n),n++}return!0}),t}commitValue(t,i){this.setValue(t)}disconnected(){this._$CK.disconnect(),this._$CX.pause()}reconnected(){this._$CK.reconnect(this),this._$CX.resume()}}const h=n(o);export{o as AsyncReplaceDirective,h as asyncReplace};\n//# sourceMappingURL=async-replace.js.map\n","// QR CODE\nexport const scanQrToConnectText = 'Scan the QR code to connect with me'\n//ERRORS & SUCCESS\n//Same 'not logged in' error message like on 'Chat with me' button\nexport const userNotLoggedInErrorMessage = 'Current user not found! Not logged in?'\nexport const internalErrorMessage = 'An internal error occured!'\nexport const friendWasAddedSuccesMessage = 'Friend was added!'\n\n//OTHER\nexport const friendExistsMessage = 'Friend already exists'\nexport const loadingMessage = 'Loading...'\n\n//BUTTONS\nexport const addMeToYourFriendsButtonText = 'Add me to your friends'\nexport const logInAddMeToYourFriendsButtonText = 'Login to add me to your friends'\nexport const logInToChatWithMeButtonText = 'Login to chat with me'\nexport const friendExistsAlreadyButtonText = 'Already part of friends'\nexport const chatWithMeButtonText = 'Chat with me'\n\n// Profile & Edit profile texts \nexport const yourContactInformationHeading = 'Your profile'\nexport const otherPreferencesHeadingText = 'Other preferences'\nexport const communitiesHeadingText = 'Your communities'\nexport const resumeHeadingText = 'Resume'\nexport const socialAccountsHeadingText = 'Social accounts'\nexport const sharedItemsHeadingText = 'Shared items'\nexport const friendsHeadingText = 'Friends'\nexport const contactHeadingText = 'Contact'","import { DataBrowserContext } from 'pane-registry'\nimport { widgets } from 'solid-ui'\nimport { NamedNode } from 'rdflib'\n\nfunction complain(\n buttonContainer: HTMLDivElement,\n context: DataBrowserContext,\n error: string\n): void {\n const errorBlock = widgets.errorMessageBlock(context.dom, error)\n errorBlock.setAttribute('role', 'alert')\n errorBlock.setAttribute('aria-live', 'assertive')\n errorBlock.setAttribute('tabindex', '0')\n\n // Focus the error message for screen readers\n setTimeout(() => {\n errorBlock.focus()\n }, 100)\n\n buttonContainer.appendChild(errorBlock)\n}\n\nfunction mention(buttonContainer: HTMLDivElement, message: string): void {\n const positiveFrontendMessageDiv = <HTMLDivElement>document.createElement('div')\n positiveFrontendMessageDiv.setAttribute('role', 'status')\n positiveFrontendMessageDiv.setAttribute('aria-live', 'polite')\n positiveFrontendMessageDiv.setAttribute('tabindex', '0')\n positiveFrontendMessageDiv.classList.add('actionButton', 'licOkay')\n positiveFrontendMessageDiv.innerHTML = message\n\n // Focus the success message for screen readers\n setTimeout(() => {\n positiveFrontendMessageDiv.focus()\n }, 100)\n\n buttonContainer.appendChild(positiveFrontendMessageDiv)\n}\n\nfunction clearPreviousMessage(buttonContainer: HTMLDivElement): void {\n while (buttonContainer.childNodes.length > 2) {\n buttonContainer.removeChild(buttonContainer.lastChild)\n }\n}\n\nfunction checkIfAnyUserLoggedIn(me: NamedNode): boolean {\n if (me) return true\n else return false\n}\n\nexport { complain, mention, clearPreviousMessage, checkIfAnyUserLoggedIn }\n","import { html, TemplateResult } from 'lit-html'\nimport { DataBrowserContext } from 'pane-registry'\nimport { NamedNode } from 'rdflib'\nimport { widgets } from 'solid-ui'\nimport { authn } from 'solid-logic'\nimport { asyncReplace } from 'lit-html/directives/async-replace.js'\nimport { chatWithMeButtonText, logInToChatWithMeButtonText, loadingMessage } from './texts'\nimport { checkIfAnyUserLoggedIn, complain } from './buttonsHelper'\nimport './styles/ChatWithMe.css'\n\nexport const ChatWithMe = (\n subject: NamedNode,\n context: DataBrowserContext\n): TemplateResult => {\n const logic = context.session.logic\n const longChatPane = context.session.paneRegistry.byName('long chat')\n\n async function* chatContainer() {\n const chatContainer = context.dom.createElement('section') as HTMLDivElement\n chatContainer.setAttribute('class', 'chatSection section-centered')\n chatContainer.setAttribute('aria-labelledby', 'chat-section-title')\n chatContainer.setAttribute('role', 'region')\n chatContainer.setAttribute('data-testid', 'chat')\n\n // Add hidden title for screen readers\n const title = context.dom.createElement('h3')\n title.id = 'chat-section-title'\n title.className = 'sr-only'\n title.textContent = 'Communication'\n chatContainer.appendChild(title)\n\n let exists\n try {\n yield html`\n <div class=\"buttonSubSection\">\n <div class=\"actionButton loading-text center\" role=\"status\" aria-live=\"polite\">\n ${loadingMessage.toUpperCase()}\n </div>\n </div>\n `\n exists = await logic.chat.getChat(subject, false)\n } catch (e) {\n exists = false\n }\n \n if (exists) {\n const chatArea = context.dom.createElement('div')\n chatArea.setAttribute('role', 'log')\n chatArea.setAttribute('aria-label', 'Chat conversation')\n chatArea.appendChild(longChatPane.render(exists, context, {}))\n chatContainer.appendChild(chatArea)\n yield chatContainer\n } else {\n const me = authn.currentUser()\n let label = checkIfAnyUserLoggedIn(me) ? chatWithMeButtonText.toUpperCase() : logInToChatWithMeButtonText.toUpperCase()\n const button = widgets.button(\n context.dom,\n undefined,\n label,\n setButtonHandler,\n { needsBorder: true }\n )\n\n async function setButtonHandler(event) {\n event.preventDefault()\n try {\n const chat: NamedNode = await logic.chat.getChat(subject, true)\n chatContainer.innerHTML = ''\n chatContainer.appendChild(longChatPane.render(chat, context, {}))\n } catch (error) {\n complain(chatContainer, context, error)\n }\n }\n\n button.refresh = refreshButton()\n\n function refreshButton() {\n const me = authn.currentUser()\n \n if (checkIfAnyUserLoggedIn(me)) {\n button.innerHTML = chatWithMeButtonText.toUpperCase()\n } else {\n //not logged in\n button.innerHTML = logInToChatWithMeButtonText.toUpperCase()\n }\n }\n\n button.setAttribute('type', 'button')\n button.setAttribute('aria-describedby', 'chat-button-description')\n \n const description = context.dom.createElement('span')\n description.id = 'chat-button-description'\n description.className = 'sr-only'\n description.textContent = 'Start a new conversation or sign in to continue existing chat'\n \n button.classList.add('actionButton', 'btn-primary', 'action-button-focus')\n chatContainer.appendChild(button)\n chatContainer.appendChild(description)\n yield chatContainer\n }\n }\n\n return html` ${asyncReplace(chatContainer())} `\n}","import { html, TemplateResult } from 'lit-html'\nimport { DataBrowserContext } from 'pane-registry'\nimport { authn } from 'solid-logic'\nimport { LiveStore, NamedNode, st } from 'rdflib'\nimport { ns, widgets } from 'solid-ui'\nimport {\n clearPreviousMessage, complain,\n mention\n} from './buttonsHelper'\nimport {\n addMeToYourFriendsButtonText, friendExistsAlreadyButtonText, friendExistsMessage, friendWasAddedSuccesMessage, logInAddMeToYourFriendsButtonText, userNotLoggedInErrorMessage\n} from './texts'\nimport './styles/ProfileCard.css'\n\nlet buttonContainer = <HTMLDivElement>document.createElement('section')\n\nconst addMeToYourFriendsDiv = (\n subject: NamedNode,\n context: DataBrowserContext\n): TemplateResult => {\n\n buttonContainer = context.dom.createElement('section') as HTMLDivElement\n buttonContainer.setAttribute('class', 'buttonSubSection text-truncate text-center section-centered')\n buttonContainer.setAttribute('aria-labelledby', 'add-me-to-your-friends-button-section')\n buttonContainer.setAttribute('data-testid', 'button')\n\n // Add a visually hidden heading for accessibility\n const heading = context.dom.createElement('h3')\n heading.setAttribute('id', 'add-me-to-your-friends-button-section')\n heading.setAttribute('class', 'sr-only')\n heading.textContent = 'Add me to your friends actions'\n buttonContainer.appendChild(heading)\n\n const button = createAddMeToYourFriendsButton(subject, context)\n button.classList.add('actionButton', 'btn-primary', 'action-button-focus')\n buttonContainer.appendChild(button)\n return html`${buttonContainer}`\n}\n\nconst createAddMeToYourFriendsButton = (\n subject: NamedNode,\n context: DataBrowserContext\n): HTMLButtonElement => {\n const me = authn.currentUser()\n let label = checkIfAnyUserLoggedIn(me) ? addMeToYourFriendsButtonText.toUpperCase() : logInAddMeToYourFriendsButtonText.toUpperCase()\n const button = widgets.button(\n context.dom,\n undefined,\n label,\n setButtonHandler, //sets an onclick event listener\n {\n needsBorder: true,\n }\n )\n\n function setButtonHandler(event) {\n event.preventDefault()\n saveNewThing(subject, context, ns.foaf('knows'))\n .then(() => {\n clearPreviousMessage(buttonContainer)\n mention(buttonContainer, friendWasAddedSuccesMessage)\n refreshButton()\n })\n .catch((error) => {\n clearPreviousMessage(buttonContainer)\n //else UI.widgets.complain(buttonContainer, message); //displays an error message at the top of the window\n complain(buttonContainer, context, error)\n })\n }\n\n button.refresh = refreshButton()\n\n function refreshButton() {\n const me = authn.currentUser()\n const store: LiveStore = context.session.store\n\n if (checkIfAnyUserLoggedIn(me)) {\n checkIfThingExists(store, me, subject, ns.foaf('knows')).then((friendExists) => {\n if (friendExists) {\n //logged in and friend exists or friend was just added\n button.innerHTML = friendExistsAlreadyButtonText.toUpperCase()\n } else {\n //logged in and friend does not exist yet\n button.innerHTML = addMeToYourFriendsButtonText.toUpperCase()\n }\n })\n } else {\n //not logged in\n button.innerHTML = logInAddMeToYourFriendsButtonText.toUpperCase()\n }\n }\n\n return button\n}\n\nasync function saveNewThing(\n subject: NamedNode,\n context: DataBrowserContext,\n predicate: NamedNode\n): Promise<void> {\n const me = authn.currentUser()\n const store: LiveStore = context.session.store\n\n if (checkIfAnyUserLoggedIn(me)) {\n if (!(await checkIfThingExists(store , me, subject, predicate))) {\n //if friend does not exist, we add her/him\n await store.fetcher.load(me)\n const updater = store.updater\n const toBeInserted = [st(me, predicate, subject, me.doc())]\n try {\n await updater.update([], toBeInserted)\n } catch (error) {\n let errorMessage = error\n if (errorMessage.toString().includes('Unauthenticated'))\n errorMessage = userNotLoggedInErrorMessage\n throw new Error(errorMessage)\n }\n } else throw new Error(friendExistsMessage)\n } else throw new Error(userNotLoggedInErrorMessage)\n}\n\nfunction checkIfAnyUserLoggedIn(me: NamedNode): boolean {\n if (me) return true\n else return false\n}\n\nasync function checkIfThingExists(\n store: LiveStore,\n me: NamedNode,\n subject: NamedNode,\n predicate: NamedNode\n): Promise<boolean> {\n await store.fetcher.load(me)\n if (store.whether(me, predicate, subject, me.doc()) === 0)\n return false\n else return true\n}\n\nfunction extractFriends(editable: boolean, subject: NamedNode, { dom }: DataBrowserContext): HTMLDivElement | null {\n const target = dom.createElement('div')\n console.log('Extracting friends for subject:', subject.doc()) // Debug log to check the subject\n widgets.attachmentList(dom, subject, target, {\n doc: subject.doc(),\n modify: editable,\n predicate: ns.foaf('knows'),\n noun: 'friend',\n })\n if (target.textContent === '')\n return null\n console.log('Extracted friends:', target.innerHTML) // Debug log to check the generated HTML\n return target\n}\n\nexport {\n addMeToYourFriendsDiv,\n createAddMeToYourFriendsButton,\n saveNewThing,\n extractFriends,\n checkIfThingExists\n}\n","import { DataBrowserContext } from 'pane-registry'\nimport { NamedNode } from 'rdflib'\nimport { html, TemplateResult } from 'lit-html'\nimport './styles/FriendList.css'\nimport { extractFriends } from './addMeToYourFriends'\n\n\nexport const FriendList = (\n subject: NamedNode,\n context: DataBrowserContext\n): TemplateResult | null => {\n const friends = extractFriends(false, subject, context)\n if (!friends || !friends.textContent?.trim()) return null\n\n return html`\n <section\n class=\"friendListSection\"\n data-testid=\"friend-list\"\n >\n <h2 id=\"friends-section-title\" class=\"sr-only\">Friends</h2>\n <nav aria-label=\"Friend profiles\">\n <ul class=\"list-reset zebra-stripe\" role=\"list\">\n ${friends}\n </ul>\n </nav>\n </section>\n `\n}\n","import { NamedNode, LiveStore } from 'rdflib'\nimport { ns, utils, widgets } from 'solid-ui'\nimport { store } from 'solid-logic'\nimport { Node } from 'rdflib'\nimport { validateHTMLColorHex } from 'validate-color'\n\nexport interface ProfilePresentation {\n name: string;\n imageSrc?: string;\n introduction?: string;\n languages?: string;\n location?: string;\n pronouns?: string;\n backgroundColor: string;\n highlightColor: string;\n}\n\nexport function pronounsAsText (subject:NamedNode): string {\n let pronouns = store.anyJS(subject, ns.solid('preferredSubjectPronoun')) || ''\n if (pronouns) {\n const them = store.anyJS(subject, ns.solid('preferredObjectPronoun'))\n if (them) {\n pronouns += '/' + them\n const their = store.anyJS(subject, ns.solid('preferredRelativePronoun'))\n if (their) {\n pronouns += '/' + their\n }\n }\n pronouns = ' (' + pronouns + ') '\n }\n return pronouns || ''\n}\n\nexport const presentProfile = (\n subject: NamedNode,\n store: LiveStore\n): ProfilePresentation => {\n const name = utils.label(subject)\n const imageSrc = widgets.findImage(subject)\n const role = store.anyValue(subject, ns.vcard('role'))\n const orgName = store.anyValue(subject, ns.vcard('organization-name')) // @@ Search whole store\n\n const address: Node | null = store.any(subject, ns.vcard('hasAddress'))\n const countryName =\n address != null\n ? store.anyValue(address as NamedNode, ns.vcard('country-name'))\n : null\n const locality =\n address != null\n ? store.anyValue(address as NamedNode, ns.vcard('locality'))\n : null\n const { backgroundColor, highlightColor } = getColors(subject, store)\n const pronouns = pronounsAsText(subject)\n return {\n name,\n imageSrc,\n introduction: formatIntroduction(role, orgName),\n location: formatLocation(countryName, locality),\n backgroundColor,\n pronouns,\n highlightColor,\n }\n}\n\nfunction formatLocation(countryName: string | void, locality: string | void) {\n return countryName && locality\n ? `${locality}, ${countryName}`\n : countryName || locality || null\n}\n\nfunction formatIntroduction(role: string | void, orgName: string | void) {\n return role && orgName ? `${role} at ${orgName}` : orgName || role || null\n}\n\nfunction getColors(subject: NamedNode, store: LiveStore) {\n const backgroundColor = store.anyValue(\n subject,\n ns.solid('profileBackgroundColor'),\n null,\n subject.doc()\n )\n\n const highlightColor = store.anyValue(\n subject,\n ns.solid('profileHighlightColor'),\n null,\n subject.doc()\n )\n return {\n // default colors are coming from the SolidOS theme, so we only want to set them here if they're valid colors\n backgroundColor: validColorOrDefault(backgroundColor, ''),\n highlightColor: validColorOrDefault(highlightColor, ''),\n }\n}\n\nfunction validColorOrDefault(color: string | void, fallback: string) {\n return color && validateHTMLColorHex(color) ? color : fallback\n}","import { LiveStore, NamedNode, Literal, Namespace, Node, Store } from 'rdflib'\nimport { ns, utils } from 'solid-ui'\n\nexport interface Role {\n startDate?: Literal,\n endDate: Literal,\n dates: string,\n orgName: string,\n roleText: string,\n orgHomePage?: string\n}\nexport interface CVPresentation { \n rolesByType: RolesByType;\n skills: string[];\n languages: string[];\n}\n\nexport interface RolesByType {\n PastRole: Role[];\n CurrentRole: Role[];\n FutureRole: Role[];\n}\n\nconst ORG = Namespace('http://www.w3.org/ns/org#')\n\nexport const typesOfRole = ['PastRole', 'CurrentRole', 'FutureRole']\n\nexport function skillAsText (store: Store, sk: Node):string {\n if (sk.termType === 'Literal') return sk.value // Not normal but allow this\n const publicId = store.anyJS(sk as NamedNode, ns.solid('publicId'))\n if (publicId) {\n const name = store.anyJS(publicId, ns.schema('name'))\n if (name) return name // @@ check language and get name in diff language if necessary\n }\n\n const manual = store.anyJS(sk as NamedNode, ns.vcard('role'))\n if (manual && manual[0] > '') return manual\n return ''\n}\n\nexport function languageAsText (store: Store, lan: Node):string {\n if (lan.termType === 'Literal') return lan.value // Not normal but allow this\n const publicId = store.anyJS(lan as NamedNode, ns.solid('publicId'))\n if (publicId)\n return utils.label(publicId, true) // @@ check language and get name in diff language if necessary\n return '' \n}\n\nexport function datesAsText (startDate?:Literal, endDate?:Literal):string {\n return startDate ? '(' + startDate.value.slice(0,10) + ' to ' +\n ( endDate ? endDate.value.slice(0,10) : '') +')'\n : '' \n}\n\nfunction expandRdfList(store: Store, node: Node): Node[] {\n const collectionElements = (node as { termType?: string; elements?: Node[] }).elements\n if (Array.isArray(collectionElements)) {\n return collectionElements.flatMap(element => expandRdfList(store, element))\n }\n\n const first = store.any(node as NamedNode, ns.rdf('first'))\n if (!first) return [node]\n\n const items: Node[] = []\n let current: Node | null = node\n while (current) {\n const value = store.any(current as NamedNode, ns.rdf('first')) as Node | null\n if (value) items.push(...expandRdfList(store, value))\n const rest = store.any(current as NamedNode, ns.rdf('rest')) as Node | null\n if (!rest || (rest.termType === 'NamedNode' && rest.value === ns.rdf('nil').value)) break\n current = rest\n }\n return items\n}\n\nfunction getRolesByType(\n store: LiveStore,\n subject: NamedNode\n): RolesByType {\n\n const memberships = store.each(null, ORG('member'), subject, null)\n\n const rolesByType = { PastRole: [], CurrentRole: [], FutureRole: [] }\n for (const membership of memberships) {\n let orgHomePage, orgNameGiven, publicIdName, roleName, publicId\n // Things should have start dates but we will be very lenient in this view\n const startDate = store.any(membership as NamedNode, ns.schema('startDate')) as Literal | null\n const endDate = store.any(membership as NamedNode, ns.schema('endDate')) as Literal | null\n const dates = datesAsText(startDate, endDate)\n\n const organization = store.any(membership as NamedNode, ORG('organization'))\n if (organization) {\n orgNameGiven = store.anyJS(organization as NamedNode, ns.schema('name'))\n orgHomePage = store.any(organization as NamedNode, ns.schema('uri'))\n publicId = store.any(organization as NamedNode, ns.solid('publicId'))\n }\n if (publicId) {\n publicIdName = store.anyJS(publicId as NamedNode, ns.schema('name'))\n }\n const orgName = publicIdName || orgNameGiven\n\n const escoRole = store.any(membership as NamedNode, ORG('role'))\n if (escoRole) {\n roleName = store.anyJS(escoRole as NamedNode, ns.schema('name')) as string | null\n }\n const roleText0 = store.anyJS(membership as NamedNode, ns.vcard('role'))\n const roleText = (roleText0 && roleName) ? roleName + ' - ' + roleText0\n : roleText0 || roleName\n\n const item: Role = {\n startDate: startDate as Literal, endDate, orgName, roleText, dates, orgHomePage\n }\n\n for (const t of typesOfRole) {\n if (store.holds(membership, ns.rdf('type'), ns.solid(t))) {\n rolesByType[t].push(item)\n }\n }\n }\n return rolesByType\n}\n\nexport function presentCV(\n subject: NamedNode,\n store: LiveStore\n): CVPresentation {\n \n const rolesByType = getRolesByType(store, subject)\n // Most recent thing most relevant -> sort by end date\n for (const t of typesOfRole) {\n rolesByType[t].sort(function (x, y) {\n if (x.endDate && y.endDate) {\n return x.endDate > y.endDate ? -1 : 1\n }\n return x.startDate > y.startDate ? -1 : 1\n })\n }\n\n const skills = store\n .each(subject, ns.schema('skills'))\n .map((sk) => skillAsText(store, sk))\n .filter((skill) => skill !== '')\n\n const languageNodes = store.each(subject, ns.schema('knowsLanguage'))\n const languages = languageNodes\n .flatMap(node => expandRdfList(store, node))\n .map(lan => languageAsText(store, lan))\n // Deduplicate languages\n const uniqueLanguages = Array.from(new Set(languages))\n\n return { rolesByType, skills, languages: uniqueLanguages }\n}\n","import { NamedNode, Store, Namespace, sym, parse } from 'rdflib'\nimport { widgets } from 'solid-ui'\n\nconst baseUri = 'https://solidos.github.io/profile-pane/src/ontology/'\n\nexport default function renderForm(\n div: HTMLElement,\n subject: NamedNode, // Represents the RDF that fills the form\n formSource: string, // The imported form Turtle source\n formName: string, // The name of the form file (e.g., 'socialMedia.ttl')\n store: Store,\n dom: Document,\n editableProfile: NamedNode | null,\n whichForm?: string ) {// Optional: specify which form to use if multiple 'a ui:Form' are present in the file{\n // --- Form resource setup ---\n const formUri = baseUri + formName // Full URI to the form file\n const exactForm = whichForm || 'this' // If there are more 'a ui:Form' elements in a form file\n const formThis = Namespace(formUri + '#')(exactForm) // NamedNode for #this in the form\n\n loadDocument(store, formSource, formName, formUri)\n\n widgets.appendForm(\n dom,\n div,\n {},\n subject,\n formThis,\n editableProfile,\n (ok, mes) => {\n if (!ok) widgets.errorMessageBlock(dom, mes)\n }\n )\n\n // Ensure that when a user clicks “Add skill” or “Add language”, the newly\n // created input receives focus. Solid-UI provides only a generic \"Add\" button.\n // We detect the \"add\" control by the plus icon it uses and focus the last\n // text input in the surrounding multiple-field container.\n enableFocusOnAdd(div)\n\n // Track the last click/tap position so popups (like solid-ui delete confirmations)\n // can be positioned closer to where the user clicked.\n let lastClick = { x: 0, y: 0 }\n div.addEventListener(\n 'pointerdown',\n (event) => {\n lastClick = { x: event.clientX, y: event.clientY }\n },\n { capture: true }\n )\n\n // Solid-UI injects a popup DIV (position:absolute, top:-1em) under a relative container.\n // Detect it and reposition it using last click coordinates.\n const repositionPopup = (popup: HTMLElement) => {\n const win = dom.defaultView || window\n const padding = 10\n const maxWidth = win.innerWidth - padding\n const maxHeight = win.innerHeight - padding\n\n // Force fixed positioning, then clamp to viewport so it doesn't get cut off.\n popup.style.position = 'fixed'\n popup.style.zIndex = '9999'\n popup.style.pointerEvents = 'auto'\n popup.style.opacity = '1'\n popup.style.visibility = 'visible'\n\n // Use getBoundingClientRect after it is in DOM; if it is 0x0, fall back to default offset.\n const rect = popup.getBoundingClientRect()\n const popupWidth = rect.width || 200\n const popupHeight = rect.height || 100\n\n const left = Math.min(Math.max(lastClick.x + padding, padding), maxWidth - popupWidth)\n const top = Math.min(Math.max(lastClick.y + padding, padding), maxHeight - popupHeight)\n\n popup.style.left = `${left}px`\n popup.style.top = `${top}px`\n }\n\n const observer = new MutationObserver((mutations) => {\n for (const mutation of mutations) {\n for (const node of Array.from(mutation.addedNodes)) {\n if (!(node instanceof HTMLElement)) continue\n // Solid-UI popups are divs with inline position:absolute and grid display\n if (\n node.style.position === 'absolute' &&\n node.style.display === 'grid' &&\n node.style.top === '-1em'\n ) {\n repositionPopup(node)\n continue\n }\n // Also handle nested cases where the popup is not the direct added node\n const popup = node.querySelector<HTMLElement>('div[style*=\"position:absolute\"][style*=\"display:grid\"][style*=\"top:-1em\"]')\n if (popup) repositionPopup(popup)\n }\n }\n })\n\n observer.observe(div, { childList: true, subtree: true })\n } // renderForm\n\nfunction enableFocusOnAdd(root: HTMLElement) {\n const PLUS_ICON = 'noun_19460_green.svg'\n\n const isAddButton = (el: HTMLElement) => {\n const img = el.querySelector<HTMLImageElement>('img')\n const label = el.querySelector<HTMLElement>('span')\n return (\n img?.src.includes(PLUS_ICON) &&\n label?.textContent?.trim().toLowerCase().startsWith('add ')\n )\n }\n\n const buttons = Array.from(root.querySelectorAll<HTMLElement>('div')).filter(isAddButton)\n buttons.forEach((btn) => {\n btn.addEventListener('click', () => {\n const scope = (function findScope(el: HTMLElement | null): HTMLElement {\n let cur: HTMLElement | null = el\n while (cur && cur !== root) {\n if (cur.querySelector('input[data-testid=\"autocomplete-input\"]')) return cur\n cur = cur.parentElement\n }\n return root\n })(btn)\n\n const before = new Set(\n Array.from(scope.querySelectorAll<HTMLInputElement>('input[data-testid=\"autocomplete-input\"]'))\n )\n\n const start = Date.now()\n const interval = setInterval(() => {\n const current = Array.from(\n scope.querySelectorAll<HTMLInputElement>('input[data-testid=\"autocomplete-input\"]')\n )\n const newInput = current.find((el) => !before.has(el))\n\n if (newInput) {\n // New inputs are usually wrapped in a label/link; make sure focus jumps\n // straight to the input rather than the label link.\n skipLabelsFromTabbing(scope)\n newInput.focus()\n clearInterval(interval)\n return\n }\n\n if (Date.now() - start > 1000) {\n clearInterval(interval)\n }\n }, 50)\n })\n })\n}\n\n\n\n\n// we need to load into the store some additional information about Social Media accounts\nexport function loadDocument(\n store: Store,\n documentSource: string,\n documentName: string,\n documentURI?: string\n ) {\n const finalDocumentUri = documentURI || baseUri + documentName // Full URI to the file\n const document = sym(finalDocumentUri) // rdflib NamedNode for the document \n \n if (!store.holds(undefined, undefined, undefined, document)) {\n // we are using the social media form because it contains the information we need\n // the form can be used for both use cases: create UI for edit and render UI for display\n parse(documentSource, store, finalDocumentUri, 'text/turtle', () => null) // Load doc directly\n }\n}\n\nexport function skipLabelsFromTabbing(root: HTMLElement): void {\n // Many Solid-UI forms render field labels as focusable links (hrefs).\n // Make sure keyboard tabbing skips these label links entirely.\n const selectors = [\n 'label',\n '.formFieldName a',\n '.classifierBox-label a',\n '.choiceBox-label a',\n '.label a',\n // Skip focusable label-like links created by Solid-UI forms, including the vcard note link\n 'a[href=\"http://www.w3.org/2006/vcard/ns#note\"]',\n 'a[href$=\"#note\"]',\n ].join(', ')\n\n // querySelectorAll<HTMLElement> ensures the elements are typed correctly so we can access tabIndex.\n const nodes = root?.querySelectorAll<HTMLElement>(selectors)\n if (!nodes) return\n\n Array.from(nodes).forEach(el => {\n if (typeof el.tabIndex === 'number' && el.tabIndex !== -1) {\n el.tabIndex = -1\n }\n // Ensure those label links are not announced as focusable elements\n if (el.getAttribute('aria-hidden') !== 'true') {\n el.setAttribute('aria-hidden', 'true')\n }\n })\n}","import { LiveStore, NamedNode, Node } from 'rdflib'\nimport { ns, utils, icons } from 'solid-ui'\nimport socialMediaForm from './ontology/socialMedia.ttl'\nimport { loadDocument } from './rdfFormsHelper'\n\nconst socialMediaFormName = 'socialMedia.ttl' // The name of the file to upload\n\nconst DEFAULT_ICON_URI = icons.iconBase + 'noun_10636_grey.svg' // grey disc\nexport interface Account {\n name: string,\n icon: string,\n homepage: string,\n}\nexport interface SocialPresentation { \n accounts: Account[];\n}\n\nfunction expandRdfList(store: LiveStore, node: Node): Node[] {\n const visited = new Set<string>()\n function inner(node: Node): Node[] {\n const termType = (node as any).termType || typeof node\n const value = (node as any).value || String(node)\n const key = `${termType}:${value}`\n if (visited.has(key)) return []\n visited.add(key)\n\n const collectionElements = (node as { termType?: string; elements?: Node[] }).elements\n if (Array.isArray(collectionElements)) {\n return collectionElements.flatMap(element => inner(element))\n }\n\n const first = store.any(node as NamedNode, ns.rdf('first'))\n if (!first) return [node]\n\n const items: Node[] = []\n let current: Node | null = node\n while (current) {\n const value = store.any(current as NamedNode, ns.rdf('first')) as Node | null\n if (value) items.push(...inner(value))\n const rest = store.any(current as NamedNode, ns.rdf('rest')) as Node | null\n if (!rest || (rest.termType === 'NamedNode' && rest.value === ns.rdf('nil').value)) break\n current = rest\n }\n return items\n }\n return inner(node)\n}\n\nexport function presentSocial(\n subject: NamedNode,\n store: LiveStore\n): SocialPresentation {\n \n function nameForAccount (subject):string {\n const acName = store.any(subject, ns.foaf('name')) ||\n store.any(subject, ns.rdfs('label')) // on the account itself?\n if (acName) return acName.value\n const classes = store.each(subject, ns.rdf('type')) as NamedNode[]\n for (const k of classes) {\n const classIcon: Node = store.any(k as NamedNode, ns.rdfs('label'))\n if (classIcon) {\n return classIcon.value\n }\n return utils.label(k)\n }\n return 'Unknown Account'\n }\n\n function iconForAccount (subject):string {\n const acIcon = store.any(subject, ns.foaf('icon')) // on the account itself?\n if (acIcon) return acIcon.value\n const classes = store.each(subject, ns.rdf('type'))\n if (classes.length > 0) {\n \n for (const k of (classes as Node[])) {\n const classIcon: Node | null = store.any(k as any, ns.foaf('icon'))\n if (classIcon !== null) {\n return classIcon.value\n }\n }\n }\n return DEFAULT_ICON_URI\n }\n\n function homepageForAccount (subject):string {\n const acHomepage = store.any(subject, ns.foaf('homepage')) // on the account itself?\n if (acHomepage) return acHomepage.value\n const id = store.anyJS(subject, ns.foaf('accountName'), null, subject.doc()) || 'No_account_Name'\n const classes = store.each(subject, ns.rdf('type'))\n for (const k of classes) {\n // Fix: ensure k is a NamedNode for store.any\n if (k.termType === 'NamedNode') {\n const userProfilePrefix: Node | null = store.any(k as NamedNode, ns.foaf('userProfilePrefix'))\n if (userProfilePrefix) {\n return userProfilePrefix.value + id.trim()\n }\n }\n }\n return store.anyJS(subject, ns.foaf('homepage'), null, subject.doc()) || ''\n }\n\n function accountAsObject (ac) {\n return {\n name: nameForAccount(ac),\n icon: iconForAccount(ac),\n homepage: homepageForAccount(ac)\n }\n\n }\n \n // we need to load the social media accounts ontology to be able to query all data needed\n loadDocument(store, socialMediaForm, socialMediaFormName)\n\n const accountNodes = store.each(subject, ns.foaf('account'))\n let accountThings = accountNodes.flatMap(node => expandRdfList(store, node))\n // Deduplicate by foaf:accountName value\n const accountNameSet = new Set<string>()\n const accounts: Account[] = []\n for (const ac of accountThings) {\n if (ac.termType === 'NamedNode') {\n const accountNameNode = store.any(ac as NamedNode, ns.foaf('accountName'))\n const accountName = accountNameNode ? accountNameNode.value : ''\n if (!accountNameSet.has(accountName)) {\n accountNameSet.add(accountName)\n accounts.push(accountAsObject(ac))\n }\n }\n }\n if (!accounts.length) return { accounts: [] }\n return { accounts }\n}\n","import { NamedNode, uri } from 'rdflib'\nimport { ns, utils, widgets, icons } from 'solid-ui'\nimport { solidLogicSingleton } from 'solid-logic'\n\nconst { iconForClass } = widgets\nconst { typeIndex } = solidLogicSingleton\nconst { getScopedAppInstances } = typeIndex\n\n\nexport interface Item {\n href: string,\n name: string,\n icon: string,\n instance: NamedNode\n}\n\nexport interface StuffPresentation {\n stuff: Item[];\n}\n\nexport const iconForClassMap = {} // @@ move to buttons in solid-ui\nfor (const k in iconForClass) {\n const pref = k.split(':')[0]\n const id = k.split(':')[1]\n const theClass = ns[pref](id)\n iconForClassMap[theClass.uri] = uri.join(iconForClass[k], icons.iconBase)\n}\n\nexport function getIconForClass (klass:NamedNode) {\n const icon0 = iconForClassMap[klass.uri]\n return icon0 || icons.iconBase + 'noun_10636.svg' // fall back to black disk\n}\n\nexport async function presentStuff(\n subject: NamedNode\n): Promise<StuffPresentation> {\n\n const scopedItems = await getScopedAppInstances(null, subject)\n // console.log('scopedItems', scopedItems)\n\n const stuff = scopedItems.map(item => { // work with old or new solid-logic\n const icon = getIconForClass((item as any).type || ns.rdf('Resource')) \n const href = item.instance.uri\n const name = utils.label(item.instance)\n const instance = item.instance\n // console.log(` href=${href} name=${name} icon=${icon}`)\n return { href, name, icon, instance }\n })\n\n return { stuff }\n}\n","import { html, TemplateResult } from 'lit-html'\nimport { NamedNode } from 'rdflib'\nimport { utils } from 'solid-ui'\nimport './styles/QRCodeCard.css'\nimport { scanQrToConnectText } from './texts'\n\n\n\nfunction hexToRgb(hex: string): { r: number; g: number; b: number } | null {\n // Remove leading # if present\n hex = hex.replace(/^#/, '')\n if (hex.length === 3) {\n hex = hex.split('').map(x => x + x).join('')\n }\n if (hex.length !== 6) return null\n const num = parseInt(hex, 16)\n return {\n r: (num >> 16) & 255,\n g: (num >> 8) & 255,\n b: num & 255,\n }\n}\n\nfunction luminance({ r, g, b }: { r: number; g: number; b: number }): number {\n const a = [r, g, b].map(function (v) {\n v /= 255\n return v <= 0.03928 ? v / 12.92 : Math.pow((v + 0.055) / 1.055, 2.4)\n })\n return 0.2126 * a[0] + 0.7152 * a[1] + 0.0722 * a[2]\n}\n\nfunction contrastRatio(hex1: string, hex2: string): number {\n const rgb1 = hexToRgb(hex1)\n const rgb2 = hexToRgb(hex2)\n if (!rgb1 || !rgb2) return 1\n const lum1 = luminance(rgb1)\n const lum2 = luminance(rgb2)\n const brightest = Math.max(lum1, lum2)\n const darkest = Math.min(lum1, lum2)\n return (brightest + 0.05) / (darkest + 0.05)\n}\n\nexport const QRCodeCard = (\n highlightColor: string, \n backgroundColor: string,\n subject: NamedNode\n): TemplateResult => {\n const hC = highlightColor || '#000000'\n const bC = backgroundColor || '#ffffff'\n const name = utils.label(subject)\n\n // Color contrast check\n const ratio = contrastRatio(hC, bC)\n if (ratio < 4.5) {\n \n console.warn(\n `QRCodeCard: The contrast ratio between highlightColor (${hC}) and backgroundColor (${bC}) is ${ratio.toFixed(2)}, which is below the WCAG 2.1 recommended minimum of 4.5:1 for normal text.`\n )\n }\n\n const BEGIN = 'BEGIN:VCARD\\r\\n'\n const END = 'END:VCARD\\r\\n'\n const FN = 'FN:' + name + '\\r\\n'\n const URL = 'URL:' + subject.uri + 'r\\n'\n const VERSIONV = 'VERSION:4.0\\r\\n'\n\n // Accessibility check: Ensure QR code is rendered as an accessible image or canvas\n // This assumes the QR code is rendered inside the <div> below by another library or script.\n // If you use a library, ensure it sets role=\"img\" and an appropriate aria-label or alt attribute.\n // If not, warn the developer.\n setTimeout(() => {\n const container = document.querySelector('.QRCode [role=\"img\"]')\n if (container) {\n const hasAriaLabel = container.hasAttribute('aria-label')\n const hasAlt = container.hasAttribute('alt')\n if (!hasAriaLabel && !hasAlt) {\n \n console.warn('QRCodeCard: The QR code element should have an accessible label (aria-label or alt attribute) for screen readers.')\n }\n } else {\n \n console.warn('QRCodeCard: No element with role=\"img\" found for the QR code. Ensure the QR code is rendered as an <img> or <canvas> with proper ARIA attributes.')\n }\n }, 0)\n\n const vCard: string = BEGIN + FN + URL + END + VERSIONV\n\n // console.log(`@@ qrcodes colours highlightColor ${highlightColor}, backgroundColor ${backgroundColor}`)\n \n \n return html`\n <figure \n class=\"QRCode\"\n data-value=\"${vCard}\"\n highlightColor=\"${hC}\"\n backgroundColor=\"${bC}\"\n data-testid=\"qrcode-card\"\n aria-labelledby=\"qr-code-caption\"\n role=\"img\"\n aria-describedby=\"qr-code-description\"\n >\n <div \n aria-label=\"Static QR code containing contact information for ${name}\"\n role=\"img\"\n tabindex=\"0\"\n ></div>\n <figcaption \n id=\"qr-code-caption\" \n class=\"qrCaption\"\n >\n ${scanQrToConnectText}\n </figcaption>\n <div \n id=\"qr-code-description\" \n class=\"sr-only\"\n >\n This is a static QR code containing vCard information for ${name}, including profile URL ${subject.uri}. The QR code is not interactive.\n </div>\n </figure>\n `\n}\n","import { html, nothing } from 'lit-html'\nimport './styles/ProfileCard.css'\nimport { ProfilePresentation } from './presenter'\nimport { addMeToYourFriendsDiv } from './addMeToYourFriends'\nimport { DataBrowserContext } from 'pane-registry'\nimport { NamedNode } from 'rdflib'\nimport { QRCodeCard } from './QRCodeCard'\n\n\nexport const ProfileCard = ({\n name, imageSrc, introduction, location, pronouns, highlightColor, backgroundColor\n}: ProfilePresentation, context: DataBrowserContext, subject: NamedNode) => {\n\n return html`\n <article class=\"profileCard\" aria-labelledby=\"profile-name\">\n <h2 id=\"profile-name\" class=\"sr-only\">${name}</h2>\n <header class=\"header flex-column-center mb-md\" aria-label=\"Profile information\">\n ${Image(imageSrc, name)}\n </header>\n \n <section class=\"intro text-center\" aria-label=\"About\">\n ${Line(introduction, '', 'About')}\n ${Line(location, '🌐', 'Location')}\n ${Line(pronouns, '', 'Pronouns')}\n </section>\n \n <section class=\"buttonSection text-center\" aria-label=\"Actions\">\n ${addMeToYourFriendsDiv(subject, context)}\n </section>\n \n <div class=\"qrCodeSection section-centered\">\n ${QRCodeCard(highlightColor, backgroundColor, subject)}\n </div>\n </article>\n `\n}\n\nconst Line = (value, prefix: symbol | string = nothing, label: string = '') =>\n value ? html`\n <div class=\"details\" role=\"text\" ${label ? `aria-label=\"${label}: ${value}\"` : ''}>\n ${prefix} ${value}\n </div>\n ` : nothing\n\nconst Image = (src, alt) =>\n src\n ? html`\n <img\n class=\"image\"\n src=${src}\n alt=\"Profile photo of ${alt}\"\n width=\"160\"\n height=\"160\"\n loading=\"eager\"\n />\n `\n : html`\n <div class=\"image-alt\" role=\"img\" aria-label=\"${alt}\" tabindex=\"0\">\n ${alt}\n </div>\n `\n","import { html } from 'lit-html'\nimport { CVPresentation } from './CVPresenter'\nimport './styles/CVCard.css'\n\nexport const CVCard = (\n cvData: CVPresentation\n) => {\n const { rolesByType, skills, languages } = cvData\n\n const futureRolesArr = rolesByType['FutureRole'] || []\n const currentRolesArr = rolesByType['CurrentRole'] || []\n const pastRolesArr = rolesByType['PastRole'] || []\n const skillsArr = skills || []\n const languagesArr = languages || []\n\n const hasFutureRole = Array.isArray(futureRolesArr) && futureRolesArr.length > 0\n const hasCurrentRole = Array.isArray(currentRolesArr) && currentRolesArr.length > 0\n const hasPastRole = Array.isArray(pastRolesArr) && pastRolesArr.length > 0\n const hasSkills = Array.isArray(skillsArr) && skillsArr.length > 0\n const hasLanguages = Array.isArray(languagesArr) && languagesArr.length > 0\n\n if (!(hasFutureRole || hasCurrentRole || hasPastRole || hasSkills || hasLanguages)) return html``\n\n return html`\n <article class=\"cvCard\" aria-label=\"Resume\" data-testid=\"curriculum-vitae\">\n ${hasFutureRole ? html`\n <section class=\"cvSection\" aria-labelledby=\"cv-future-heading\">\n <h3 id=\"cv-future-heading\">Future Roles</h3>\n <ul role=\"list\" aria-label=\"Upcoming work experience\">\n ${renderRoles(futureRolesArr, true)}\n </ul>\n </section>\n ` : ''}\n \n ${hasCurrentRole ? html`\n <section class=\"cvSection\" aria-labelledby=\"cv-current-heading\">\n <h3 id=\"cv-current-heading\">Current Roles</h3>\n <ul role=\"list\" aria-label=\"Current work experience\">\n ${renderRoles(currentRolesArr, true)}\n </ul>\n </section>\n ` : ''}\n \n ${hasPastRole ? html`\n <section class=\"cvSection\" aria-labelledby=\"cv-past-heading\">\n <h3 id=\"cv-past-heading\">Past Roles</h3>\n <ul role=\"list\" aria-label=\"Previous work experience\">\n ${renderRoles(pastRolesArr, true)}\n </ul>\n </section>\n ` : ''}\n \n ${hasSkills ? html`\n <section class=\"cvSection\" aria-labelledby=\"cv-skills-heading\">\n <h3 id=\"cv-skills-heading\">Skills</h3>\n <ul role=\"list\" aria-label=\"Professional skills and competencies\">\n ${renderSkills(skillsArr, true)}\n </ul>\n </section>\n ` : ''}\n \n ${hasLanguages ? html`\n <section class=\"cvSection\" aria-labelledby=\"cv-languages-heading\">\n <h3 id=\"cv-languages-heading\">Languages</h3>\n <ul role=\"list\" aria-label=\"Known languages\">\n ${renderLanguages(languagesArr, true)}\n </ul>\n </section>\n ` : ''}\n </article>\n `\n}\n\nfunction renderRole(role, asList = false) {\n if (!role) return html``\n return asList\n ? html`\n <li class=\"cvRole\" role=\"listitem\">\n <strong class=\"cvOrg\" aria-label=\"Organization\">${role.orgName}</strong>\n <span aria-label=\"Role title\">${strToUpperCase(role.roleText)}</span>\n <time aria-label=\"Employment period\">${role.dates}</time>\n </li>`\n : html``\n}\n\nfunction renderRoles(roles, asList = false) {\n if (!roles || !roles.length || !roles[0]) return html``\n return html`${renderRole(roles[0], asList)}${roles.length > 1 ? renderRoles(roles.slice(1), asList) : html``}`\n}\n\nfunction renderSkill(skill, asList = false) {\n if (!skill) return html``\n return asList\n ? html`<li class=\"cvSkill\">${strToUpperCase(skill)}</li>`\n : html``\n}\n\nfunction renderSkills(skills, asList = false) {\n if (!skills || !skills.length || !skills[0]) return html``\n return html`${renderSkill(skills[0], asList)}${skills.length > 1 ? renderSkills(skills.slice(1), asList) : html``}`\n}\n\nfunction renderLan(language, asList = false) {\n if (!language) return html``\n return asList\n ? html`<li class=\"cvLanguage\">${language}</li>`\n : html``\n}\n\nfunction renderLanguages(languages, asList = false) {\n if (!languages || !languages.length || !languages[0]) return html``\n return html`${renderLan(languages[0], asList)}${languages.length > 1 ? renderLanguages(languages.slice(1), asList) : html``}`\n}\n\nfunction strToUpperCase(str) {\n if (str && str[0] > '') {\n const strCase = str.split(' ')\n for (let i = 0; i < strCase.length; i++) {\n strCase[i] = strCase[i].charAt(0).toUpperCase() +\n strCase[i].substring(1)\n }\n return strCase.join(' ')\n }\n return ''\n}\n","import { html, TemplateResult } from 'lit-html'\nimport { SocialPresentation } from './SocialPresenter'\nimport './styles/SocialCard.css'\n\n\nexport const SocialCard = (\n SocialData: SocialPresentation\n): TemplateResult => {\n \n const { accounts } = SocialData\n\n if(accounts.length){\n\n return html`\n <section\n class=\"socialCard\"\n aria-labelledby=\"social-card-title\"\n data-testid=\"social-media\"\n >\n <nav aria-label=\"Social media profiles\">\n <ul class=\"socialList list-reset\" role=\"list\">\n ${accounts.map(account => renderAccount(account))}\n </ul>\n </nav>\n </section>\n `\n }\n\n function renderAccount(account) {\n return account.homepage && account.name && account.icon\n ? html`\n <li class=\"socialItem\" role=\"listitem\">\n <a \n href=\"${account.homepage}\" \n target=\"_blank\" \n rel=\"noopener noreferrer\" \n aria-label=\"Visit ${account.name} profile (opens in new tab)\"\n >\n <img \n class=\"socialIcon\" \n src=\"${account.icon}\" \n alt=\"${account.name} icon\"\n width=\"40\"\n height=\"40\"\n loading=\"lazy\"\n />\n <span class=\"text-wrap-anywhere\">${account.name}</span>\n </a>\n </li>\n `\n : html``\n }\n\n}\n","import { html, TemplateResult } from 'lit-html'\nimport { NamedNode } from 'rdflib'\nimport { DataBrowserContext } from 'pane-registry'\nimport { widgets } from 'solid-ui'\nimport './styles/StuffCard.css'\nimport { ProfilePresentation } from './presenter'\n\n\nexport const StuffCard = (profileBasics: ProfilePresentation,\n context: DataBrowserContext,\n subject: NamedNode, stuffData): TemplateResult => {\n const { stuff } = stuffData\n const dom = context.dom || document\n return html`\n <section\n class=\"stuffCard\"\n aria-labelledby=\"stuff-card-title\"\n role=\"region\"\n data-testid=\"stuff\"\n >\n <header>\n <h3 id=\"stuff-card-title\" class=\"sr-only\">Shared Resources</h3>\n </header>\n <div>\n <table class=\"stuffTable\" data-testid=\"stuffTable\">\n <caption class=\"sr-only\">Files and resources shared by ${profileBasics.name}</caption>\n <tbody class=\"zebra-stripe\">\n ${renderThings(stuff, dom)}\n </tbody>\n </table>\n </div>\n </section>\n `\n}\n\nexport function renderThingAsDOM (thing, dom) {\n const options = {}\n // widgets.personTR returns a DOM node, so we need to convert it to HTML string\n const row = widgets.personTR(dom, null, thing.instance, options)\n return row\n}\n\nexport function renderThing (thing, dom) {\n return renderThingAsDOM(thing, dom)\n}\n\nexport function renderThings(things, dom) {\n if (things.length === 0) return html``\n return html`${renderThing(things[0], dom)}${things.length > 1 ? renderThings(things.slice(1), dom) : html``}`\n}","import { html, TemplateResult } from 'lit-html'\nimport { DataBrowserContext } from 'pane-registry'\nimport { NamedNode, LiveStore } from 'rdflib'\nimport './styles/ProfileView.css'\nimport { ChatWithMe } from './ChatWithMe'\nimport { FriendList } from './FriendList'\nimport { presentProfile } from './presenter'\nimport { presentCV } from './CVPresenter' // 20210527\nimport { presentSocial } from './SocialPresenter' // 20210527\nimport { presentStuff } from './StuffPresenter' // 20210527\nimport { ProfileCard } from './ProfileCard'\nimport { CVCard } from './CVCard'\nimport { SocialCard } from './SocialCard'\nimport { StuffCard } from './StuffCard'\nimport {\n resumeHeadingText,\n socialAccountsHeadingText,\n sharedItemsHeadingText,\n friendsHeadingText,\n contactHeadingText\n} from './texts'\n\n// The edit button switches to the editor pane\n/*\nfunction renderEditButton (subject) {\n return \n authn.currentUser() && authn.currentUser().sameTerm(subject) ?\n html `<button type=\"button\" class=\"ProfilePaneCVEditButton\">\n <img src=\"${editButtonURI}\">\n Edit</button>`\n : html``;\n}\n*/\n\nexport async function ProfileView (\n subject: NamedNode,\n context: DataBrowserContext\n): Promise <TemplateResult> {\n const store = context.session.store as LiveStore\n \n const profileBasics = presentProfile(subject, store)\n const rolesByType = presentCV(subject, store)\n const accounts = presentSocial(subject, store)\n const stuffData = await presentStuff(subject)\n\n return html` \n <main\n id=\"main-content\"\n class=\"profile-grid\"\n style=\"--profile-grid-bg: radial-gradient(circle, ${profileBasics.backgroundColor} 80%, ${profileBasics.highlightColor} 100%)\"\n role=\"main\"\n aria-label=\"Profile for ${profileBasics.name}\"\n tabindex=\"-1\"\n > \n\n <article \n aria-labelledby=\"profile-card-heading\" \n class=\"profileSection section-bg\" \n role=\"region\"\n tabindex=\"-1\"\n >\n <header class=\"text-center mb-md\">\n <h2 id=\"profile-card-heading\" tabindex=\"-1\">${profileBasics.name}</h2>\n </header>\n ${ProfileCard(profileBasics, context, subject)}\n </article>\n\n ${(() => {\n const cv = CVCard(rolesByType)\n return cv && cv.strings && cv.strings.join('').trim() !== '' ? html`\n <section \n aria-labelledby=\"cv-heading\" \n class=\"profileSection section-bg\" \n role=\"region\"\n tabindex=\"-1\"\n >\n <header class=\"text-center mb-md\">\n <h2 id=\"cv-heading\" tabindex=\"-1\">${resumeHeadingText}</h2>\n </header>\n <div>\n ${cv}\n </div>\n </section>\n ` : ''\n })()}\n\n ${accounts.accounts && accounts.accounts.length > 0 ? html`\n <aside \n aria-labelledby=\"social-heading\" \n class=\"profileSection section-bg\" \n role=\"complementary\"\n tabindex=\"-1\"\n >\n <header class=\"text-center mb-md\">\n <h2 id=\"social-heading\" tabindex=\"-1\">${socialAccountsHeadingText}</h2>\n </header>\n <nav aria-label=\"Social media links\">\n ${SocialCard(accounts)}\n </nav>\n </aside>\n ` : ''}\n\n ${stuffData.stuff && stuffData.stuff.length > 0 ? html`\n <section \n aria-labelledby=\"stuff-heading\" \n class=\"profileSection section-bg\" \n role=\"region\"\n tabindex=\"-1\"\n >\n <header class=\"text-center mb-md\">\n <h2 id=\"stuff-heading\" tabindex=\"-1\">${sharedItemsHeadingText}</h2>\n </header>\n <div>\n ${StuffCard(profileBasics, context, subject, stuffData)}\n </div>\n </section>\n ` : ''}\n\n ${(() => {\n const friends = FriendList(subject, context)\n return friends ? html`\n <aside \n aria-labelledby=\"friends-heading\" \n class=\"profileSection section-bg\" \n role=\"complementary\"\n tabindex=\"-1\"\n >\n <header class=\"text-center mb-md\">\n <h2 id=\"friends-heading\" tabindex=\"-1\">${friendsHeadingText}</h2>\n </header>\n <div role=\"list\" aria-label=\"Friend connections\">\n ${friends}\n </div>\n </aside>\n ` : ''\n })()}\n\n <section \n aria-labelledby=\"chat-heading\" \n class=\"profileSection section-bg\" \n role=\"region\"\n tabindex=\"-1\"\n >\n <header class=\"text-center mb-md\">\n <h2 id=\"chat-heading\" tabindex=\"-1\">${contactHeadingText}</h2>\n </header>\n <div>\n ${ChatWithMe(subject, context)}\n </div>\n </section>\n </main>\n `\n}\n","import { DataBrowserContext } from 'pane-registry'\nimport { NamedNode } from 'rdflib'\nimport { yourContactInformationHeading } from '../texts'\n\nexport function EditContactsSection(context: DataBrowserContext, me: NamedNode): HTMLElement {\n const section = context.dom.createElement('section')\n section.setAttribute('aria-labelledby', 'edit-profile-contact-heading')\n section.classList.add('profileSection', 'section-bg', 'profile-form')\n\n const header = context.dom.createElement('header')\n header.classList.add('text-center', 'mb-md')\n const heading = context.dom.createElement('h2')\n heading.id = 'edit-profile-contact-heading'\n heading.classList.add('section-title')\n heading.textContent = yourContactInformationHeading\n header.appendChild(heading)\n section.appendChild(header)\n\n section.appendChild(paneDiv(context, me, 'contact'))\n\n return section\n}\n\nfunction paneDiv (\n context: DataBrowserContext, \n subject: NamedNode,\n paneName: string\n): HTMLElement {\n const view = context.session.paneRegistry.byName(paneName)\n if (!view) {\n const warning = context.dom.createElement('div')\n warning.innerText = `Unable to load view: ${paneName}`\n return warning\n }\n const viewContainer = view.render(subject, context)\n \n // Handle different node types\n let container: HTMLElement\n \n if (viewContainer && typeof viewContainer.setAttribute === 'function') {\n // It's already an Element node\n container = viewContainer as HTMLElement\n } else if (viewContainer && viewContainer.nodeType === Node.TEXT_NODE) {\n // It's a Text node, wrap it in a section for semantics\n container = context.dom.createElement('section')\n container.appendChild(viewContainer)\n } else {\n // Fallback for other cases\n container = context.dom.createElement('section')\n container.innerText = `View render did not return a valid Node for: ${paneName}`\n }\n\n container.setAttribute('role', 'region')\n container.setAttribute('aria-label', `${paneName} section`)\n return container\n}\n","\n import API from \"!../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../node_modules/css-loader/dist/cjs.js!./profileRDFFormsEnforced.css\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\noptions.insert = insertFn.bind(null, \"head\");\noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../node_modules/css-loader/dist/cjs.js!./profileRDFFormsEnforced.css\";\n export default content && content.locals ? content.locals : undefined;\n","\n import API from \"!../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../node_modules/css-loader/dist/cjs.js!./editProfile.css\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\noptions.insert = insertFn.bind(null, \"head\");\noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../node_modules/css-loader/dist/cjs.js!./editProfile.css\";\n export default content && content.locals ? content.locals : undefined;\n","import { NamedNode, sym } from 'rdflib'\nimport { store } from 'solid-logic'\nimport { ns, utils, widgets, icons } from 'solid-ui'\n\nconst DEFAULT_ICON_URI = icons.iconBase + 'noun_10636_grey.svg' // grey disc\n\nexport function refresh(dom: Document, attachmentTable: HTMLTableElement, me: NamedNode, editableProfile: NamedNode | null, predicate: NamedNode) {\n // Keep the RDF terms so downstream Solid-UI helpers (e.g. findImage) can call term.sameTerm().\n // We still sort by string value so the list order is stable.\n const friendsList = store.each(me, predicate)\n // Ensure profiles are loaded before we render rows, otherwise widgets.findImage / utils.label may return empty.\n void (async () => {\n if (store.fetcher) {\n await Promise.all(\n friendsList.map((friend) => {\n if (!store.holds(friend, null, null, null)) {\n return store.fetcher?.load(friend.value).catch(() => undefined)\n }\n return Promise.resolve()\n })\n )\n }\n friendsList.sort((a, b) => (a.value > b.value ? 1 : a.value < b.value ? -1 : 0))\n utils.syncTableToArray(attachmentTable, friendsList, (target) => createNewRow(dom, attachmentTable, target, me, editableProfile, predicate))\n })()\n}\n\nfunction createNewRow (dom: Document, attachmentTable: HTMLTableElement, target: any, me: NamedNode, editableProfile: NamedNode | null, predicate: NamedNode): HTMLTableRowElement {\n const theTarget = target\n const profileImg = dom.createElement('img')\n \n profileImg.src = getProfileImg(sym(target), profileImg)\n profileImg.alt = `Image of ${utils.label(sym(target))}`\n\n const opt: any = { \n image: profileImg,\n title: utils.label(sym(target)),\n link: true\n }\n if (!!editableProfile) {\n opt.deleteFunction = function () {\n deleteAttachment(dom, attachmentTable, me, editableProfile, theTarget, predicate)\n }\n }\n return widgets.renderAsRow(dom, predicate, target, opt)\n}\n\nfunction getProfileImg(subject: NamedNode, profileImg: HTMLImageElement): string {\n const img = widgets.findImage(subject)\n if (img) {\n profileImg.classList.add('profile-image')\n return img\n }\n profileImg.classList.add('default-profile-image')\n return DEFAULT_ICON_URI\n}\n\nasync function deleteAttachment(dom: Document, attachmentTable: HTMLTableElement, me: NamedNode, editableProfile: NamedNode | null, target: NamedNode, predicate: NamedNode) {\n if (!store.updater) {\n throw new Error('Store has no updater.')\n }\n\n // Delete the exact statements in the store so we don't rely on doc() matching\n const statementsToDelete = store.statementsMatching(me, predicate, target, null)\n\n if (!statementsToDelete.length) {\n console.warn('No matching statement found to delete for', target.value)\n refresh(dom, attachmentTable, me, editableProfile, predicate)\n return\n }\n\n try {\n await store.updater.update(statementsToDelete as any, [])\n\n // UpdateManager may mutate store asynchronously, so only remove locally if it still exists\n if (typeof store.removeStatements === 'function') {\n const stillThere = store.holds(me, predicate, target, null)\n if (stillThere) {\n try {\n store.removeStatements(statementsToDelete)\n } catch (e) {\n // Ignore if already gone\n }\n }\n }\n\n // Ensure store is up-to-date before re-rendering\n if (store.fetcher) await store.fetcher.load(me.doc())\n refresh(dom, attachmentTable, me, editableProfile, predicate)\n } catch (error) {\n console.error('Error deleting:', error)\n\n // If update failed, try to keep UI in sync anyway\n if (typeof store.removeStatements === 'function') {\n try {\n store.removeStatements(statementsToDelete)\n } catch (e) {\n /* ignore */\n }\n }\n\n if (store.fetcher) await store.fetcher.load(me.doc())\n refresh(dom, attachmentTable, me, editableProfile, predicate)\n }\n}\n\nexport function isAWebID(subject: NamedNode): boolean {\n if (subject && subject.doc) {\n const t = store.findTypeURIs(subject.doc())\n return !!t[ns.foaf('PersonalProfileDocument').uri]\n }\n return false\n}","import { DataBrowserContext } from 'pane-registry'\nimport { NamedNode } from 'rdflib'\nimport { ns, widgets, icons } from 'solid-ui'\nimport { friendsHeadingText } from '../texts'\nimport { saveNewThing } from '../addMeToYourFriends'\nimport '../styles/profileRDFFormsEnforced.css'\nimport '../styles/editProfile.css'\nimport { store } from 'solid-logic'\nimport {\n clearPreviousMessage, complain\n} from '../buttonsHelper'\nimport { isAWebID, refresh } from './editProfilePresenter'\n\nconst GREEN_PLUS = icons.iconBase + 'noun_34653_green.svg'\n\nexport function EditFriendsSection(context: DataBrowserContext, me: NamedNode, editableProfile: NamedNode | null) {\n const section = context.dom.createElement('section')\n section.setAttribute('aria-labelledby', 'edit-profile-friends-heading')\n section.classList.add('profileSection', 'section-bg')\n\n const header = context.dom.createElement('header')\n header.classList.add('text-center', 'mb-md')\n\n const heading = context.dom.createElement('h2')\n heading.id = 'edit-profile-friends-heading'\n heading.classList.add('section-title')\n heading.textContent = friendsHeadingText\n\n header.appendChild(heading)\n section.appendChild(header)\n\n if (editableProfile) {\n let plusButtonDiv = context.dom.createElement('div')\n plusButtonDiv.classList.add('add-friend-button-container')\n\n createAddButton(plusButtonDiv, context)\n section.appendChild(plusButtonDiv)\n }\n\n const attachmentOuter = section.appendChild(context.dom.createElement('table'))\n attachmentOuter.classList.add('edit-friends-attachment-outer')\n const attachmentOne = attachmentOuter.appendChild(context.dom.createElement('tr'))\n const attachmentRight = attachmentOne.appendChild(context.dom.createElement('td'))\n const attachmentTable = attachmentRight.appendChild(context.dom.createElement('table'))\n attachmentTable.classList.add('attachmentTable', 'table', 'table-striped', 'table-hover')\n\n ;(attachmentOuter as any).refresh = refresh(context.dom, attachmentTable, me, editableProfile, ns.foaf('knows')) // Participate in downstream changes\n\n refresh(context.dom, attachmentTable, me, editableProfile, ns.foaf('knows'))\n\n function createAddButton(buttonContainer: HTMLDivElement, context: DataBrowserContext) {\n\n const plus = buttonContainer.appendChild(widgets.button(context.dom, GREEN_PLUS, 'Add a friend', greenButtonHandler))\n const predicate = ns.foaf('knows')\n\n plus.setAttribute('class', 'add-button')\n plus.setAttribute('aria-label', 'Add a friend')\n const span = context.dom.createElement('span')\n span.textContent = 'Add a friend' // for screen readers\n span.setAttribute('class','span')\n buttonContainer.appendChild(span)\n\n async function greenButtonHandler (_event) {\n const webid = await widgets.askName(context.dom, store, buttonContainer, predicate, undefined, 'WebID of the friend you')\n\n if (!webid) {\n return\n }\n\n try {\n new URL(webid)\n } catch {\n complain(buttonContainer, context, 'Not a URL')\n return\n }\n\n try {\n await store.fetcher.load(store.sym(webid))\n } catch {\n complain(buttonContainer, context, 'Not a valid WebID')\n return\n }\n\n if (!isAWebID(store.sym(webid))) {\n complain(buttonContainer, context, 'WebID does not seem to exist')\n return\n }\n\n return saveNewThing(webid, context, predicate)\n .then(() => {\n refresh(context.dom, attachmentTable, me, editableProfile, predicate) // Update the button state after adding a friend\n })\n .catch((error) => {\n clearPreviousMessage(buttonContainer)\n complain(buttonContainer, context, error)\n })\n }\n }\n\n return section\n}\n\n","import { DataBrowserContext } from 'pane-registry'\nimport { NamedNode, Store} from 'rdflib'\nimport socialMediaForm from '../ontology/socialMedia.ttl'\nimport renderForm from '../rdfFormsHelper'\nimport { socialAccountsHeadingText } from '../texts'\n\nconst socialMediaFormName = 'socialMedia.ttl' // The name of the form file\n\nexport function EditSocialSection(context: DataBrowserContext, me: NamedNode, editableProfile: NamedNode | null, store: Store) {\n const section = context.dom.createElement('section')\n section.setAttribute('data-testid', 'edit-social-section')\n section.setAttribute('aria-labelledby', 'edit-profile-social-heading')\n section.classList.add('profileSection', 'section-bg', 'profile-form')\n\n const header = context.dom.createElement('header')\n header.classList.add('text-center', 'mb-md')\n\n const heading = context.dom.createElement('h2')\n heading.id = 'edit-profile-social-heading'\n heading.classList.add('section-title')\n heading.textContent = socialAccountsHeadingText\n\n header.appendChild(heading)\n section.appendChild(header)\n\n if (!editableProfile) {\n const comment1 = context.dom.createElement('p')\n comment1.classList.add('p-md')\n comment1.textContent = 'Login to add social media accounts to your profile.'\n section.appendChild(comment1)\n }\n\n renderForm(section, me, socialMediaForm, socialMediaFormName, store, context.dom, editableProfile)\n\n return section\n}\n","import { DataBrowserContext } from 'pane-registry'\nimport { NamedNode } from 'rdflib'\nimport { ns, widgets, icons } from 'solid-ui'\nimport { communitiesHeadingText } from '../texts'\nimport { store } from 'solid-logic'\nimport '../styles/editProfile.css'\nimport '../styles/profileRDFFormsEnforced.css'\nimport {\n clearPreviousMessage, complain\n} from '../buttonsHelper'\nimport { saveNewThing } from '../addMeToYourFriends'\nimport { isAWebID, refresh } from './editProfilePresenter'\n\nconst GREEN_PLUS = icons.iconBase + 'noun_34653_green.svg'\n\nexport function EditProfileCommunitiesSection(context: DataBrowserContext, me: NamedNode, editableProfile: NamedNode | null) {\n const section = context.dom.createElement('section')\n section.setAttribute('aria-labelledby', 'edit-profile-communities-heading')\n section.classList.add('profileSection', 'section-bg')\n\n const header = context.dom.createElement('header')\n header.classList.add('text-center', 'mb-md')\n\n const heading = context.dom.createElement('h2')\n heading.id = 'edit-profile-communities-heading'\n heading.classList.add('section-title')\n heading.textContent = communitiesHeadingText\n header.appendChild(heading)\n section.appendChild(header)\n\nif (editableProfile) {\n let plusButtonDiv = context.dom.createElement('div')\n plusButtonDiv.classList.add('add-community-button-container')\n\n createAddButton(plusButtonDiv, context)\n section.appendChild(plusButtonDiv)\n }\n\n const attachmentOuter = section.appendChild(context.dom.createElement('table'))\n attachmentOuter.classList.add('edit-community-attachment-outer')\n const attachmentOne = attachmentOuter.appendChild(context.dom.createElement('tr'))\n const attachmentRight = attachmentOne.appendChild(context.dom.createElement('td'))\n const attachmentTable = attachmentRight.appendChild(context.dom.createElement('table'))\n attachmentTable.classList.add('attachmentTable', 'table', 'table-striped', 'table-hover')\n\n ;(attachmentOuter as any).refresh = refresh(context.dom, attachmentTable, me, editableProfile, ns.solid('community')) // Participate in downstream changes\n\n refresh(context.dom, attachmentTable, me, editableProfile, ns.solid('community'))\n\n function createAddButton(buttonContainer: HTMLDivElement, context: DataBrowserContext) {\n\n const plus = buttonContainer.appendChild(widgets.button(context.dom, GREEN_PLUS, 'Add a project or community', greenButtonHandler))\n const predicate = ns.solid('community')\n \n plus.setAttribute('class', 'add-button')\n plus.setAttribute('aria-label', 'Add a new community')\n const span = context.dom.createElement('span')\n span.textContent = 'Add a community or project' // for screen readers\n span.setAttribute('class','span')\n buttonContainer.appendChild(span)\n\n async function greenButtonHandler (_event) {\n const webid = await widgets.askName(context.dom, store, buttonContainer, predicate, undefined, 'WebID of')\n if (!webid) {\n return\n }\n\n try {\n new URL(webid)\n } catch {\n complain(buttonContainer, context, 'Not a URL')\n return\n }\n\n try {\n await store.fetcher.load(store.sym(webid))\n } catch {\n complain(buttonContainer, context, 'Not a valid WebID')\n return\n }\n\n if (!isAWebID(store.sym(webid))) {\n complain(buttonContainer, context, 'WebID does not seem to exist')\n return\n }\n \n return saveNewThing(webid, context, predicate)\n .then(() => {\n refresh(context.dom, attachmentTable, me, editableProfile, predicate) // Update the button state after adding a community\n })\n .catch((error) => {\n clearPreviousMessage(buttonContainer)\n complain(buttonContainer, context, error)\n })\n\n }\n }\n\n return section\n}\n","import { DataBrowserContext } from 'pane-registry'\nimport { NamedNode, Store} from 'rdflib'\nimport resumeForm from '../ontology/resumeForm.ttl'\nimport renderForm from '../rdfFormsHelper'\nimport { resumeHeadingText } from '../texts'\n\nconst resumeFormName = 'resumeForm.ttl' // The name of the form file\n\nexport function EditCVSection(context: DataBrowserContext, me: NamedNode, editableProfile: NamedNode | null, store: Store) {\n const section = context.dom.createElement('section')\n section.setAttribute('data-testid', 'edit-cv-section')\n section.setAttribute('aria-labelledby', 'edit-profile-cv-heading')\n section.classList.add('profileSection', 'section-bg', 'profile-form')\n\n const header = context.dom.createElement('header')\n header.classList.add('text-center', 'mb-md')\n\n const heading = context.dom.createElement('h2')\n heading.id = 'edit-profile-cv-heading'\n heading.classList.add('section-title')\n heading.textContent = resumeHeadingText\n\n header.appendChild(heading)\n section.appendChild(header)\n\n if (!editableProfile) {\n const comment1 = context.dom.createElement('p')\n comment1.classList.add('p-md')\n comment1.textContent = 'Login to add resume information to your profile.'\n section.appendChild(comment1)\n }\n\n renderForm(section, me, resumeForm, resumeFormName, store, context.dom, editableProfile)\n\n return section\n}\n","import { DataBrowserContext } from 'pane-registry'\nimport { NamedNode, Store} from 'rdflib'\nimport otherPreferencesForm from '../ontology/otherPreferencesForm.ttl'\nimport renderForm from '../rdfFormsHelper'\nimport { otherPreferencesHeadingText } from '../texts'\n\nconst otherPreferencesFormName = 'otherPreferencesForm.ttl' // The name of the form file\n\nexport function EditOtherPreferencesSection(context: DataBrowserContext, me: NamedNode, editableProfile: NamedNode | null, store: Store) {\n const section = context.dom.createElement('section')\n section.setAttribute('data-testid', 'edit-other-preferences-section')\n section.setAttribute('aria-labelledby', 'edit-profile-other-preferences-heading')\n section.classList.add('profileSection', 'section-bg', 'profile-form')\n\n const header = context.dom.createElement('header')\n header.classList.add('text-center', 'mb-md')\n\n const heading = context.dom.createElement('h2')\n heading.id = 'edit-profile-other-preferences-heading'\n heading.classList.add('section-title')\n heading.textContent = otherPreferencesHeadingText\n\n header.appendChild(heading)\n section.appendChild(header)\n\n renderForm(section, me, otherPreferencesForm, otherPreferencesFormName, store, context.dom, editableProfile)\n\n return section\n}\n","/**\n * Profile Editing App Pane\n *\n * Unlike view panes, this is available any place whatever the real subject,\n * and allows the user to edit their own profile.\n *\n * Usage: paneRegistry.register('/profile/editProfile.view')\n * or standalone script adding onto existing mashlib.\n */\n\nimport { PaneDefinition } from 'pane-registry'\nimport { NamedNode, Store } from 'rdflib'\nimport { icons, login, ns, widgets } from 'solid-ui'\nimport { EditContactsSection } from './EditContactsCard'\nimport { EditFriendsSection } from './EditFriendsCard'\nimport { EditSocialSection } from './EditSocialCard'\nimport { EditProfileCommunitiesSection } from './EditCommunitiesCard'\nimport '../styles/utilities.css'\nimport '../styles/profileRDFFormsEnforced.css'\nimport { EditCVSection } from './EditCVCard'\nimport { EditOtherPreferencesSection } from './EditOtherPreferences'\nimport { skipLabelsFromTabbing } from '../rdfFormsHelper'\n\nconst editProfileView: PaneDefinition = {\n global: true,\n\n icon: icons.iconBase + 'noun_492246.svg',\n\n name: 'editProfile',\n\n label: () => null, // don't use this in the normal solid-panes dispatching\n\n render: function (subject, context) {\n //console.log('@@@ render edit profile pane: subject, context', subject, context)\n const dom = context.dom\n const store = context.session.store as Store\n\n // Use <section> as the main container for better semantics\n const div = dom.createElement('section')\n div.setAttribute('data-testid', 'profile-editor')\n div.setAttribute('role', 'region')\n div.setAttribute('aria-label', 'Edit your profile')\n let editableProfile: NamedNode | null\n\n // Use <main> for the main content area, styled as a grid like ProfileView\n const main = dom.createElement('main')\n main.setAttribute('id', 'profile-edit-main-content')\n main.setAttribute('aria-busy', 'true')\n main.setAttribute('tabindex', '-1')\n main.classList.add('profile-grid', 'no-focus-ring')\n const mainHeading = dom.createElement('h1')\n mainHeading.classList.add('visually-hidden')\n mainHeading.textContent = 'Edit Profile'\n main.appendChild(mainHeading)\n div.appendChild(main)\n\n // Use <aside> for the status area\n const statusArea = dom.createElement('aside')\n statusArea.classList.add('p-sm')\n statusArea.setAttribute('role', 'status')\n statusArea.setAttribute('aria-live', 'polite')\n statusArea.setAttribute('aria-atomic', 'true')\n const ensureStatusArea = () => {\n if (!statusArea.isConnected) {\n div.appendChild(statusArea)\n }\n }\n\n const profileContext = {\n dom: dom,\n div: main,\n statusArea: statusArea,\n me: null\n }\n\n login.ensureLoadedProfile(profileContext)\n .then(theContext => {\n const me = theContext.me!\n\n const profile = me.doc()\n if (!store.updater) {\n throw new Error('Store has no updater')\n }\n if (store.any(me, ns.solid('editableProfile'))) {\n editableProfile = store.any(me, ns.solid('editableProfile')) as NamedNode\n } else if (store.updater.editable(profile.uri, store)) {\n editableProfile = profile\n } else {\n ensureStatusArea()\n statusArea.appendChild(widgets.errorMessageBlock(dom, `⚠️ Your profile ${profile} is not editable, so we cannot do much here.`, 'straw'))\n return\n }\n\n // Render each section as a card with consistent classes\n // Your contact information Section\n main.appendChild(EditContactsSection(context, me))\n\n // Resume Section\n main.appendChild(EditCVSection(context, me, editableProfile, store))\n\n // Social Accounts Section\n main.appendChild(EditSocialSection(context, me, editableProfile, store))\n\n \n // Other preferences Section\n main.appendChild(EditOtherPreferencesSection(context, me, editableProfile, store))\n \n // People you know Section\n main.appendChild(EditFriendsSection(context, me, editableProfile))\n \n // Communities you participate in Section\n main.appendChild(EditProfileCommunitiesSection(context, me, editableProfile))\n\n // Ensure keyboard navigation skips labels (including those rendered as links).\n skipLabelsFromTabbing(main)\n\n main.setAttribute('aria-busy', 'false')\n main.focus()\n \n }).catch(error => {\n ensureStatusArea()\n statusArea.appendChild(widgets.errorMessageBlock(dom, error, '#fee'))\n main.setAttribute('aria-busy', 'false')\n })\n return div\n }\n}\n\nexport default editProfileView\n","import { DataBrowserContext } from 'pane-registry'\nimport './styles/CVCard.css'\nimport './styles/ChatWithMe.css'\nimport './styles/FriendList.css'\nimport './styles/ProfileCard.css'\nimport './styles/ProfileView.css'\nimport './styles/QRCodeCard.css'\nimport './styles/SocialCard.css'\nimport './styles/StuffCard.css'\nimport './styles/utilities.css'\nimport { NamedNode, LiveStore } from 'rdflib'\nimport { render } from 'lit-html'\nimport { ProfileView } from './ProfileView'\nimport editProfileView from './editProfilePane/EditProfileView'\nimport { icons, ns } from 'solid-ui'\nimport * as qrcode from 'qrcode'\n\nasync function loadExtendedProfile(store: LiveStore, subject: NamedNode) {\n const otherProfiles = store.each(\n subject,\n ns.rdfs('seeAlso'),\n null,\n subject.doc()\n ) as Array<NamedNode>\n if (otherProfiles.length > 0) {\n await store.fetcher.load(otherProfiles)\n }\n}\n\n\nconst Pane = {\n global: false,\n icon: icons.iconBase + 'noun_15059.svg',\n name: 'profile',\n label: function (\n subject: NamedNode,\n context: DataBrowserContext\n ): string | null {\n const t = context.session.store.findTypeURIs(subject)\n if (\n t[ns.vcard('Individual').uri] ||\n t[ns.foaf('Person').uri] ||\n t[ns.schema('Person').uri]\n ) {\n return 'Profile'\n }\n return null\n },\n editor: editProfileView, \n render: (subject: NamedNode, context: DataBrowserContext): HTMLElement => {\n const target = context.dom.createElement('div')\n const store = context.session.store\n\n loadExtendedProfile(store, subject).then(async () => {\n render(await ProfileView(subject, context), target)\n const QRCodeEles = Array.from(target.getElementsByClassName('QRCode')) // was context.dom\n if (!QRCodeEles.length) return console.error('QRCode Ele missing')\n for (const QRCodeElement of QRCodeEles as HTMLElement[]) {\n const value = QRCodeElement.getAttribute('data-value')\n if (!value) return console.error('QRCode data-value missing')\n const highlightColor = QRCodeElement.getAttribute('highlightColor') || '#000000'\n const backgroundColor = QRCodeElement.getAttribute('backgroundColor') || '#ffffff'\n // console.log(`@@ qrcodes2 colours highlightColor ${highlightColor}, backgroundColor ${backgroundColor}`)\n\n const options = {\n type: 'svg',\n color: {\n dark: highlightColor,\n light: backgroundColor\n }\n }\n\n qrcode.toString(value, options, function (error, svg) {\n if (error) {\n console.error('QRcode error!', error)\n } else {\n // console.log('QRcode success.', svg);\n QRCodeElement.innerHTML = svg\n QRCodeElement.style.width = '80%'\n QRCodeElement.style.height = '80%'\n QRCodeElement.style.margin = '10%'\n }\n })\n\n }\n })\n\n return target\n },\n}\n\nexport default Pane\n"],"names":[],"sourceRoot":""}
|