@singi-labs/sifa-sdk 0.12.11 → 0.12.13

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.
Files changed (33) hide show
  1. package/dist/{adult-content-DE7XOP9c.d.cts → adult-content-D2Dy1w2s.d.cts} +11 -0
  2. package/dist/{adult-content-DE7XOP9c.d.ts → adult-content-D2Dy1w2s.d.ts} +11 -0
  3. package/dist/{index-B__7m2Xg.d.cts → index-B9aqJbsG.d.cts} +2 -2
  4. package/dist/{index-DdfDo0Nx.d.ts → index-BQ46POs-.d.ts} +2 -2
  5. package/dist/{index-nNxAiYxw.d.ts → index-Br8vBw4N.d.ts} +2 -2
  6. package/dist/{index-CsvSv1S_.d.cts → index-CZ8BkCCc.d.cts} +2 -2
  7. package/dist/index.cjs +169 -1
  8. package/dist/index.cjs.map +1 -1
  9. package/dist/index.d.cts +74 -4
  10. package/dist/index.d.ts +74 -4
  11. package/dist/index.js +163 -2
  12. package/dist/index.js.map +1 -1
  13. package/dist/{org-BCqhEA6J.d.ts → org-Bflg9EiB.d.ts} +1 -1
  14. package/dist/{org-It9hf-ni.d.cts → org-Df5IjADP.d.cts} +1 -1
  15. package/dist/query/fetchers/index.d.cts +3 -3
  16. package/dist/query/fetchers/index.d.ts +3 -3
  17. package/dist/query/hooks/index.d.cts +3 -3
  18. package/dist/query/hooks/index.d.ts +3 -3
  19. package/dist/query/index.d.cts +5 -5
  20. package/dist/query/index.d.ts +5 -5
  21. package/dist/schemas/index.cjs +21 -1
  22. package/dist/schemas/index.cjs.map +1 -1
  23. package/dist/schemas/index.d.cts +33 -1
  24. package/dist/schemas/index.d.ts +33 -1
  25. package/dist/schemas/index.js +21 -2
  26. package/dist/schemas/index.js.map +1 -1
  27. package/dist/schemas/write/index.cjs +13 -1
  28. package/dist/schemas/write/index.cjs.map +1 -1
  29. package/dist/schemas/write/index.d.cts +18 -0
  30. package/dist/schemas/write/index.d.ts +18 -0
  31. package/dist/schemas/write/index.js +13 -1
  32. package/dist/schemas/write/index.js.map +1 -1
  33. package/package.json +1 -1
package/dist/index.d.cts CHANGED
@@ -1,7 +1,7 @@
1
- import { P as ProfileSkill, b as ProfilePresentationDelivery, L as LocationValue, c as PdsProviderInfo, d as Profile, e as ProfilePosition, f as ProfileCertification, g as ProfileEducation, h as ProfileHonor, i as ProfileLanguage, j as ProfileProject, k as ProfilePublication, l as ProfileInvolvement } from './adult-content-DE7XOP9c.cjs';
2
- export { m as ADULT_CONTENT_LABELS, n as ActiveApp, o as ActiveAppView, a as ActivityLabel, A as AdultContentLabel, p as AtfundLinkView, q as CertificationView, C as CoSpeaker, r as CoSpeakerView, s as ContributorView, t as CourseView, D as DurationView, u as EducationView, v as Endorsement, w as EndorsementData, E as ExternalAccount, x as ExternalAccountKeytraceClaim, y as ExternalAccountView, F as FeedItem, H as HonorView, I as IndustryDomain, z as InvolvementLinkView, B as InvolvementView, G as LanguageProficiency, J as LanguageView, O as OrgFloorVerdict, K as OrgProfileView, M as PositionView, N as PresentationDeliveryView, Q as PresentationLinkView, R as PresentationView, T as ProfileCourse, U as ProfileIndustry, V as ProfileInvolvementLink, W as ProfileLocation, X as ProfileLocationView, Y as ProfileOverrideSource, Z as ProfilePresentation, _ as ProfileView, $ as ProfileVolunteering, a0 as ProjectView, a1 as PublicationContributor, a2 as PublicationView, a3 as SkillRef, S as SkillSuggestion, a4 as SkillView, a5 as TrustStat, a6 as VerifiedAccount, a7 as VolunteeringView, a8 as hasAdultContent } from './adult-content-DE7XOP9c.cjs';
1
+ import { P as ProfileSkill, b as ProfilePresentationDelivery, L as LocationValue, c as PdsProviderInfo, d as Profile, e as ProfilePosition, f as ProfileCertification, g as ProfileEducation, h as ProfileHonor, i as ProfileLanguage, j as ProfileProject, k as ProfilePublication, l as ProfileInvolvement } from './adult-content-D2Dy1w2s.cjs';
2
+ export { m as ADULT_CONTENT_LABELS, n as ActiveApp, o as ActiveAppView, a as ActivityLabel, A as AdultContentLabel, p as AtfundLinkView, q as CertificationView, C as CoSpeaker, r as CoSpeakerView, s as ContributorView, t as CourseView, D as DurationView, u as EducationView, v as Endorsement, w as EndorsementData, E as ExternalAccount, x as ExternalAccountKeytraceClaim, y as ExternalAccountView, F as FeedItem, H as HonorView, I as IndustryDomain, z as InvolvementLinkView, B as InvolvementView, G as LanguageProficiency, J as LanguageView, O as OrgFloorVerdict, K as OrgProfileView, M as PositionView, N as PresentationDeliveryView, Q as PresentationLinkView, R as PresentationView, T as ProfileCourse, U as ProfileIndustry, V as ProfileInvolvementLink, W as ProfileLocation, X as ProfileLocationView, Y as ProfileOverrideSource, Z as ProfilePresentation, _ as ProfileView, $ as ProfileVolunteering, a0 as ProjectView, a1 as PublicationContributor, a2 as PublicationView, a3 as SkillRef, S as SkillSuggestion, a4 as SkillView, a5 as TrustStat, a6 as VerifiedAccount, a7 as VolunteeringView, a8 as hasAdultContent } from './adult-content-D2Dy1w2s.cjs';
3
3
  import { PresentationDuration, ProfilePresentationDeliveryRecord, ProfilePresentationRecord, OrgProfileRecord } from './schemas/index.cjs';
4
- export { ArtifactLink, ArtifactLinkSchema, EndorsementConfirmationRecord, EndorsementConfirmationRecordSchema, EndorsementRecord, EndorsementRecordSchema, GraphFollowRecord, GraphFollowRecordSchema, OrgEmploymentAttestationRecord, OrgEmploymentAttestationRecordSchema, OrgProfileRecordSchema, PROFILE_INVOLVEMENT_NSID, PresentationDurationSchema, PresentationLink, PresentationLinkSchema, ProfileCertificationRecord, ProfileCertificationRecordSchema, ProfileCourseRecord, ProfileCourseRecordSchema, ProfileEducationRecord, ProfileEducationRecordSchema, ProfileExternalAccountRecord, ProfileExternalAccountRecordSchema, ProfileHonorRecord, ProfileHonorRecordSchema, ProfileInvolvementRecord, ProfileInvolvementRecordSchema, ProfileLanguageRecord, ProfileLanguageRecordSchema, ProfilePositionRecord, ProfilePositionRecordSchema, ProfilePresentationDeliveryRecordSchema, ProfilePresentationRecordSchema, ProfileProjectRecord, ProfileProjectRecordSchema, ProfilePublicationRecord, ProfilePublicationRecordSchema, ProfileSelfRecord, ProfileSelfRecordSchema, ProfileSkillRecord, ProfileSkillRecordSchema, ProfileVolunteeringRecord, ProfileVolunteeringRecordSchema, PublicationAuthor, PublicationAuthorSchema, atUriSchema, cidSchema, datetimeSchema, didSchema, externalRecordRefSchema, languageTagSchema, makeGraphFollowRecordSchema, maxGraphemes, partialDateSchema, selfLabelsSchema, strongRefSchema, uriSchema } from './schemas/index.cjs';
4
+ export { ArtifactLink, ArtifactLinkSchema, BlobRef, BlobRefSchema, EndorsementConfirmationRecord, EndorsementConfirmationRecordSchema, EndorsementRecord, EndorsementRecordSchema, GraphFollowRecord, GraphFollowRecordSchema, OrgEmploymentAttestationRecord, OrgEmploymentAttestationRecordSchema, OrgProfileRecordSchema, PROFILE_INVOLVEMENT_NSID, PresentationDurationSchema, PresentationLink, PresentationLinkSchema, ProfileCertificationRecord, ProfileCertificationRecordSchema, ProfileCourseRecord, ProfileCourseRecordSchema, ProfileEducationRecord, ProfileEducationRecordSchema, ProfileExternalAccountRecord, ProfileExternalAccountRecordSchema, ProfileHonorRecord, ProfileHonorRecordSchema, ProfileInvolvementRecord, ProfileInvolvementRecordSchema, ProfileLanguageRecord, ProfileLanguageRecordSchema, ProfilePositionRecord, ProfilePositionRecordSchema, ProfilePresentationDeliveryRecordSchema, ProfilePresentationRecordSchema, ProfileProjectRecord, ProfileProjectRecordSchema, ProfilePublicationRecord, ProfilePublicationRecordSchema, ProfileSelfRecord, ProfileSelfRecordSchema, ProfileSkillRecord, ProfileSkillRecordSchema, ProfileVolunteeringRecord, ProfileVolunteeringRecordSchema, PublicationAuthor, PublicationAuthorSchema, atUriSchema, cidSchema, datetimeSchema, didSchema, externalRecordRefSchema, languageTagSchema, makeGraphFollowRecordSchema, maxGraphemes, partialDateSchema, selfLabelsSchema, strongRefSchema, uriSchema } from './schemas/index.cjs';
5
5
  import { z } from 'zod';
6
6
  import { E as EntitySearchResult } from './feed-D2ZV8Eaj.cjs';
7
7
  export { A as AtmosphereFeedItem, d as AtmosphereFeedItemSchema, e as EntityImportSearchResponse, f as EntityImportSearchResponseSchema, g as EntityMintDomainResponse, h as EntityMintDomainResponseSchema, i as EntityResolveDomainRequest, j as EntityResolveDomainRequestSchema, k as EntityResolveDomainResponse, l as EntityResolveDomainResponseSchema, m as EntitySearchResponse, n as EntitySearchResponseSchema, o as EntitySearchResultSchema, p as EntitySelectRequest, q as EntitySelectRequestSchema, r as EntitySelectResponse, s as EntitySelectResponseSchema, t as FEATURE_FLAGS, b as FeatureAllowlistEntry, u as FeatureAllowlistEntrySchema, c as FeatureFlag, v as FeedActor, w as FeedActorSchema, x as FeedCursor, y as FollowFeedItem, z as FollowFeedItemSchema, F as FollowFeedPage, B as FollowFeedPageSchema, a as FollowProfileItem, C as FollowProfilePage, D as FollowProfilePageSchema, G as FollowProfileSchema, S as SifaFeedItem, H as SifaFeedItemSchema, I as decodeFeedCursor, J as encodeFeedCursor } from './feed-D2ZV8Eaj.cjs';
@@ -777,6 +777,76 @@ declare function getDisplayLabel(displayName: string | undefined, handle: string
777
777
  declare function getPdsDisplayName(providerName: string): string;
778
778
  declare function detectPdsProvider(handle: string): PdsProvider | null;
779
779
 
780
+ /**
781
+ * Resolve a slide / video URL to an embed descriptor. Pure and offline.
782
+ *
783
+ * Three outcomes:
784
+ * - `iframe`: the URL carries everything an embed needs, so the iframe `src` is
785
+ * known offline (YouTube, Vimeo, Google Slides, Loom, Canva).
786
+ * - `oembed`: the URL is a known embeddable provider whose iframe `src` is NOT
787
+ * in the URL and needs a server-side oEmbed lookup (SlideShare, SpeakerDeck
788
+ * public deck URLs). The caller resolves the src via its own oEmbed step.
789
+ * - `link`: not embeddable; render a plain link.
790
+ */
791
+ /**
792
+ * A resolved embed: an iframe whose src is known offline, an `oembed` provider
793
+ * whose src needs a server lookup (carries the original page URL), or a plain
794
+ * link.
795
+ */
796
+ type EmbedResult = {
797
+ kind: 'iframe';
798
+ provider: string;
799
+ src: string;
800
+ aspectRatio: '16:9' | '4:3';
801
+ } | {
802
+ kind: 'oembed';
803
+ provider: string;
804
+ aspectRatio: '16:9' | '4:3';
805
+ pageUrl: string;
806
+ } | {
807
+ kind: 'link';
808
+ };
809
+ /**
810
+ * Extract a YouTube video id from any recognized YouTube URL (`youtu.be/ID`,
811
+ * `youtube.com/watch?v=ID`, `/embed/ID`, `/shorts/ID`), or null. Pure/offline.
812
+ */
813
+ declare function youtubeVideoId(url: string): string | null;
814
+ /**
815
+ * The public thumbnail URL for a YouTube video id (`i.ytimg.com`). Derivable
816
+ * offline. NOTE: this host is Google — never load it directly in a privacy
817
+ * context; fetch and re-serve it from your own origin.
818
+ */
819
+ declare function youtubeThumbnailUrl(videoId: string): string;
820
+ /**
821
+ * Recognize an embeddable URL and return its iframe descriptor, else a link.
822
+ * Only https URLs are accepted.
823
+ */
824
+ declare function resolveEmbed(url: string): EmbedResult;
825
+
826
+ /**
827
+ * Slug helpers for talk-page URLs. Pure and offline: a talk page lives at a
828
+ * path like `/{slug}-{rkey}`, where the slug is a human-readable, SEO-friendly
829
+ * rendering of the title and the rkey is the record's stable identifier.
830
+ * Because TIDs never contain a `-`, the rkey can always be recovered as the
831
+ * substring after the final `-`.
832
+ */
833
+ /**
834
+ * Render a title as a URL slug: lowercased, diacritics stripped, runs of
835
+ * non-alphanumerics collapsed to a single `-`, trimmed, and capped at 60 chars.
836
+ * Returns `''` for an empty or whitespace-only title.
837
+ */
838
+ declare function slugifyTitle(title: string): string;
839
+ /**
840
+ * Build the talk-page path segment `${slug}-${rkey}`, or just `rkey` when the
841
+ * title produces an empty slug.
842
+ */
843
+ declare function buildTalkSlug(title: string, rkey: string): string;
844
+ /**
845
+ * Recover the rkey from a talk-page segment: the substring after the final `-`
846
+ * (TIDs contain no `-`). Returns the whole segment when there is no `-`.
847
+ */
848
+ declare function parseTalkRkey(segment: string): string;
849
+
780
850
  /**
781
851
  * Limit runs of Unicode combining marks (`\p{M}`) to at most `maxPerBase`
782
852
  * marks following any single base character. Defuses "Zalgo" text where
@@ -1942,4 +2012,4 @@ declare function groupInvolvementByHeading(items: ProfileInvolvement[]): Involve
1942
2012
  */
1943
2013
  declare const SIFA_SDK_VERSION: string;
1944
2014
 
1945
- export { ACTIVITY_TIERS, ACTIVITY_VERBS, ACTIVITY_VISIBILITY_RULES, ALL_SECTIONS, APP_CATEGORIES, APP_CATEGORY_IDS, APP_CATEGORY_MAP, APP_URL_PATTERNS, ARTIFACT_LINK_KIND_LABELS, ARTIFACT_LINK_KIND_OPTIONS, type AccountVerification, type ActivityItem, type ActivityItemForUrl, type ActivityTaxonomy, type ActivityTier, type ActivityVerbMap, type AppCategoryId, type AppUrlPatterns, type ArtifactLinkKindOption, CALENDAR_EVENT_MODE_LABELS, CALENDAR_EVENT_STATUS_LABELS, CATEGORY_LABELS, CATEGORY_ORDER, COLLECTION_TO_APP, COMPANY_OPTIONAL_EMPLOYMENT_TYPES, COMPANY_PAGE_MIN_FIRMOGRAPHIC_FIELDS, COMPLETENESS_MAX_SCORE, CONTINENTS, COUNTRIES, type CardHealth, type CardHealthStrategy, type CompanyFirmographics, type ContinentCode, type CsvRow, DIMENSIONS_MAX_SCORE, type DimensionKey, type DimensionMap, type DisambiguationFields, EMPLOYMENT_TYPE_GROUPS, EMPLOYMENT_TYPE_LABELS, ENTITY_REF_ANCHORS, type EmploymentTypeGroup, type EmploymentTypeOption, type EntityRefAnchor, EntitySearchResult, INDUSTRY_OPTIONS, INVOLVEMENT_HEADING_ORDER, INVOLVEMENT_KIND_HEADINGS, INVOLVEMENT_KIND_LABELS, INVOLVEMENT_KIND_OPTIONS, type IndustryOption, type InvolvementGroup, type InvolvementKindOption, type KnownAppId, type LexiconEntry, LocationValue, MIN_SKILLS, type MergedProfileSkill, OPEN_TO_OPTIONS, OPEN_TO_TOKENS, OPEN_TO_TOKEN_TO_VALUE, OPEN_TO_VALUE_TO_TOKEN, type OpenToGroup, type OpenToOption, OrgProfileRecord, PLATFORM_LABELS, PLATFORM_OPTIONS, PRESENTATION_LINK_TYPE_LABELS, PRESENTATION_LINK_TYPE_OPTIONS, PRESENTATION_ROLE_LABELS, PRESENTATION_ROLE_OPTIONS, PUBLISHERS, type ParsedDelivery, type ParsedPresentation, type PdsProvider, PdsProviderInfo, type PlatformId, type PresentationDeliverySummary, PresentationDuration, type PresentationLinkTypeOption, type PresentationRoleOption, type PrimaryPositionCandidate, Profile, ProfileCertification, type ProfileCompletion, type ProfileDimensionInputs, ProfileEducation, ProfileHonor, ProfileInvolvement, ProfileLanguage, ProfilePosition, ProfilePresentationDelivery, ProfilePresentationDeliveryRecord, ProfilePresentationRecord, ProfileProject, ProfilePublication, ProfileSkill, type Publisher, type RgbColor, SECTION_GROUPS, SECTION_LABELS, SIFA_SDK_VERSION, SKILL_CATEGORIES, STANDARD_PUBLISHER_ID, STREAM_VERBS, type SectionGroupId, type SectionId, type SkillCategory, type StreamAddress, type StreamCardBody, type StreamCardSubject, type StreamCardVM, type StreamExternalLink, type StreamGeo, type StreamMedia, type StreamMediaBase, type StreamMediaBlob, type StreamMediaResolved, type StreamRichSegment, type StreamSource, type StreamTheme, type StreamVerb, type TierMeta, type ToStreamCardVMOptions, VERIFICATION_PROVIDERS, type VerificationProvider, type VerificationProviderId, type VerificationSource, WORKPLACE_TYPE_LABELS, WORKPLACE_TYPE_OPTIONS, type WorkplaceTypeOption, categoryForApp, certDateExtractor, classifyEntityRef, completenessPercent, completenessScore, contrastRatio, countFilledDimensions, countryCodeToFlag, dateRangeExtractor, dedupeSkills, detectPdsProvider, dimensionsFromInputs, durationFromMinutes, entityDisambiguationLabel, entityResultKey, filterHidden, findIndustry, formatCompanyName, formatDateRange, formatDistanceToNow, formatLocation, formatPresentationDuration, formatRelativeTime, formatTimelineDate, getActivityTaxonomyVersion, getActivityTier, getActivityVerbsVersion, getAppCategoryIcon, getAppIdForCollection, getArtifactLinkKindLabel, getCalendarEventModeLabel, getCalendarEventStatusLabel, getContinent, getDisplayLabel, getEmploymentTypeLabel, getFaviconUrl, getFilledDimensionsMap, getHandleStem, getIndustryLabelKey, getInvolvementKindHeading, getInvolvementKindLabel, getLexiconEntry, getOpenToLabelKey, getPdsDisplayName, getPlatformLabel, getPresentationLinkTypeLabel, getPresentationRoleLabel, getPublisherByHost, getPublisherById, getPublisherFromSiteUrl, getTierMeta, getVerificationProvider, getVisibleSectionIds, getWorkplaceTypeLabel, groupInvolvementByHeading, groupSkillsByCategory, hoistPrimary, isAppCategory, isCompanyPageIndexable, isCompanyRequired, isKnownAppId, isKnownPlatform, isKnownVerificationProvider, isLinked, isPseudoEmployer, isRegistrableDomainHandle, isSectionPopulated, isValidRgbColor, isVisibleActivityItem, lexiconDateExtractor, limitCombiningMarks, looksLikeDomain, meetsContrastAA, normalizeCompanyKey, normalizeLegalForm, normalizeOpenTo, normalizePlatformId, normalizePresentationMode, normalizePresentationRole, normalizeWorkplaceTypes, openToTokenToValue, openToValueToToken, parseIntendedAudiences, parseLocationString, parsePresentationDuration, pdsProviderFromApi, pickPrimaryPosition, presentationCsvRowToRecord, presentationDeliveryCsvRowToRecord, primaryVerification, profileToDimensionInputs, qualifiesAsOrg, relativeLuminance, resolveCardHealth, resolveCardUrl, resolveVerifierProvider, rgbToString, sanitizeDisplayText, sanitizeHandleInput, searchResultDisambiguation, singleDateExtractor, sortByActiveDateRange, sortByDateDesc, sortCertifications, sortEducation, sortHonors, sortLanguages, sortLanguagesByProficiency, sortPositions, sortProjects, sortPublications, streamAddressSchema, streamCardBodySchema, streamCardSubjectSchema, streamCardVMSchema, streamExternalLinkSchema, streamGeoSchema, streamMediaSchema, streamRichSegmentSchema, streamSourceSchema, streamThemeSchema, streamVerbSchema, stripHtmlToText, summarizePresentationDeliveries, toStreamCardVM, toStreamCardVMs, truncateGraphemes, verbForCollection, visibleItems };
2015
+ export { ACTIVITY_TIERS, ACTIVITY_VERBS, ACTIVITY_VISIBILITY_RULES, ALL_SECTIONS, APP_CATEGORIES, APP_CATEGORY_IDS, APP_CATEGORY_MAP, APP_URL_PATTERNS, ARTIFACT_LINK_KIND_LABELS, ARTIFACT_LINK_KIND_OPTIONS, type AccountVerification, type ActivityItem, type ActivityItemForUrl, type ActivityTaxonomy, type ActivityTier, type ActivityVerbMap, type AppCategoryId, type AppUrlPatterns, type ArtifactLinkKindOption, CALENDAR_EVENT_MODE_LABELS, CALENDAR_EVENT_STATUS_LABELS, CATEGORY_LABELS, CATEGORY_ORDER, COLLECTION_TO_APP, COMPANY_OPTIONAL_EMPLOYMENT_TYPES, COMPANY_PAGE_MIN_FIRMOGRAPHIC_FIELDS, COMPLETENESS_MAX_SCORE, CONTINENTS, COUNTRIES, type CardHealth, type CardHealthStrategy, type CompanyFirmographics, type ContinentCode, type CsvRow, DIMENSIONS_MAX_SCORE, type DimensionKey, type DimensionMap, type DisambiguationFields, EMPLOYMENT_TYPE_GROUPS, EMPLOYMENT_TYPE_LABELS, ENTITY_REF_ANCHORS, type EmbedResult, type EmploymentTypeGroup, type EmploymentTypeOption, type EntityRefAnchor, EntitySearchResult, INDUSTRY_OPTIONS, INVOLVEMENT_HEADING_ORDER, INVOLVEMENT_KIND_HEADINGS, INVOLVEMENT_KIND_LABELS, INVOLVEMENT_KIND_OPTIONS, type IndustryOption, type InvolvementGroup, type InvolvementKindOption, type KnownAppId, type LexiconEntry, LocationValue, MIN_SKILLS, type MergedProfileSkill, OPEN_TO_OPTIONS, OPEN_TO_TOKENS, OPEN_TO_TOKEN_TO_VALUE, OPEN_TO_VALUE_TO_TOKEN, type OpenToGroup, type OpenToOption, OrgProfileRecord, PLATFORM_LABELS, PLATFORM_OPTIONS, PRESENTATION_LINK_TYPE_LABELS, PRESENTATION_LINK_TYPE_OPTIONS, PRESENTATION_ROLE_LABELS, PRESENTATION_ROLE_OPTIONS, PUBLISHERS, type ParsedDelivery, type ParsedPresentation, type PdsProvider, PdsProviderInfo, type PlatformId, type PresentationDeliverySummary, PresentationDuration, type PresentationLinkTypeOption, type PresentationRoleOption, type PrimaryPositionCandidate, Profile, ProfileCertification, type ProfileCompletion, type ProfileDimensionInputs, ProfileEducation, ProfileHonor, ProfileInvolvement, ProfileLanguage, ProfilePosition, ProfilePresentationDelivery, ProfilePresentationDeliveryRecord, ProfilePresentationRecord, ProfileProject, ProfilePublication, ProfileSkill, type Publisher, type RgbColor, SECTION_GROUPS, SECTION_LABELS, SIFA_SDK_VERSION, SKILL_CATEGORIES, STANDARD_PUBLISHER_ID, STREAM_VERBS, type SectionGroupId, type SectionId, type SkillCategory, type StreamAddress, type StreamCardBody, type StreamCardSubject, type StreamCardVM, type StreamExternalLink, type StreamGeo, type StreamMedia, type StreamMediaBase, type StreamMediaBlob, type StreamMediaResolved, type StreamRichSegment, type StreamSource, type StreamTheme, type StreamVerb, type TierMeta, type ToStreamCardVMOptions, VERIFICATION_PROVIDERS, type VerificationProvider, type VerificationProviderId, type VerificationSource, WORKPLACE_TYPE_LABELS, WORKPLACE_TYPE_OPTIONS, type WorkplaceTypeOption, buildTalkSlug, categoryForApp, certDateExtractor, classifyEntityRef, completenessPercent, completenessScore, contrastRatio, countFilledDimensions, countryCodeToFlag, dateRangeExtractor, dedupeSkills, detectPdsProvider, dimensionsFromInputs, durationFromMinutes, entityDisambiguationLabel, entityResultKey, filterHidden, findIndustry, formatCompanyName, formatDateRange, formatDistanceToNow, formatLocation, formatPresentationDuration, formatRelativeTime, formatTimelineDate, getActivityTaxonomyVersion, getActivityTier, getActivityVerbsVersion, getAppCategoryIcon, getAppIdForCollection, getArtifactLinkKindLabel, getCalendarEventModeLabel, getCalendarEventStatusLabel, getContinent, getDisplayLabel, getEmploymentTypeLabel, getFaviconUrl, getFilledDimensionsMap, getHandleStem, getIndustryLabelKey, getInvolvementKindHeading, getInvolvementKindLabel, getLexiconEntry, getOpenToLabelKey, getPdsDisplayName, getPlatformLabel, getPresentationLinkTypeLabel, getPresentationRoleLabel, getPublisherByHost, getPublisherById, getPublisherFromSiteUrl, getTierMeta, getVerificationProvider, getVisibleSectionIds, getWorkplaceTypeLabel, groupInvolvementByHeading, groupSkillsByCategory, hoistPrimary, isAppCategory, isCompanyPageIndexable, isCompanyRequired, isKnownAppId, isKnownPlatform, isKnownVerificationProvider, isLinked, isPseudoEmployer, isRegistrableDomainHandle, isSectionPopulated, isValidRgbColor, isVisibleActivityItem, lexiconDateExtractor, limitCombiningMarks, looksLikeDomain, meetsContrastAA, normalizeCompanyKey, normalizeLegalForm, normalizeOpenTo, normalizePlatformId, normalizePresentationMode, normalizePresentationRole, normalizeWorkplaceTypes, openToTokenToValue, openToValueToToken, parseIntendedAudiences, parseLocationString, parsePresentationDuration, parseTalkRkey, pdsProviderFromApi, pickPrimaryPosition, presentationCsvRowToRecord, presentationDeliveryCsvRowToRecord, primaryVerification, profileToDimensionInputs, qualifiesAsOrg, relativeLuminance, resolveCardHealth, resolveCardUrl, resolveEmbed, resolveVerifierProvider, rgbToString, sanitizeDisplayText, sanitizeHandleInput, searchResultDisambiguation, singleDateExtractor, slugifyTitle, sortByActiveDateRange, sortByDateDesc, sortCertifications, sortEducation, sortHonors, sortLanguages, sortLanguagesByProficiency, sortPositions, sortProjects, sortPublications, streamAddressSchema, streamCardBodySchema, streamCardSubjectSchema, streamCardVMSchema, streamExternalLinkSchema, streamGeoSchema, streamMediaSchema, streamRichSegmentSchema, streamSourceSchema, streamThemeSchema, streamVerbSchema, stripHtmlToText, summarizePresentationDeliveries, toStreamCardVM, toStreamCardVMs, truncateGraphemes, verbForCollection, visibleItems, youtubeThumbnailUrl, youtubeVideoId };
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
- import { P as ProfileSkill, b as ProfilePresentationDelivery, L as LocationValue, c as PdsProviderInfo, d as Profile, e as ProfilePosition, f as ProfileCertification, g as ProfileEducation, h as ProfileHonor, i as ProfileLanguage, j as ProfileProject, k as ProfilePublication, l as ProfileInvolvement } from './adult-content-DE7XOP9c.js';
2
- export { m as ADULT_CONTENT_LABELS, n as ActiveApp, o as ActiveAppView, a as ActivityLabel, A as AdultContentLabel, p as AtfundLinkView, q as CertificationView, C as CoSpeaker, r as CoSpeakerView, s as ContributorView, t as CourseView, D as DurationView, u as EducationView, v as Endorsement, w as EndorsementData, E as ExternalAccount, x as ExternalAccountKeytraceClaim, y as ExternalAccountView, F as FeedItem, H as HonorView, I as IndustryDomain, z as InvolvementLinkView, B as InvolvementView, G as LanguageProficiency, J as LanguageView, O as OrgFloorVerdict, K as OrgProfileView, M as PositionView, N as PresentationDeliveryView, Q as PresentationLinkView, R as PresentationView, T as ProfileCourse, U as ProfileIndustry, V as ProfileInvolvementLink, W as ProfileLocation, X as ProfileLocationView, Y as ProfileOverrideSource, Z as ProfilePresentation, _ as ProfileView, $ as ProfileVolunteering, a0 as ProjectView, a1 as PublicationContributor, a2 as PublicationView, a3 as SkillRef, S as SkillSuggestion, a4 as SkillView, a5 as TrustStat, a6 as VerifiedAccount, a7 as VolunteeringView, a8 as hasAdultContent } from './adult-content-DE7XOP9c.js';
1
+ import { P as ProfileSkill, b as ProfilePresentationDelivery, L as LocationValue, c as PdsProviderInfo, d as Profile, e as ProfilePosition, f as ProfileCertification, g as ProfileEducation, h as ProfileHonor, i as ProfileLanguage, j as ProfileProject, k as ProfilePublication, l as ProfileInvolvement } from './adult-content-D2Dy1w2s.js';
2
+ export { m as ADULT_CONTENT_LABELS, n as ActiveApp, o as ActiveAppView, a as ActivityLabel, A as AdultContentLabel, p as AtfundLinkView, q as CertificationView, C as CoSpeaker, r as CoSpeakerView, s as ContributorView, t as CourseView, D as DurationView, u as EducationView, v as Endorsement, w as EndorsementData, E as ExternalAccount, x as ExternalAccountKeytraceClaim, y as ExternalAccountView, F as FeedItem, H as HonorView, I as IndustryDomain, z as InvolvementLinkView, B as InvolvementView, G as LanguageProficiency, J as LanguageView, O as OrgFloorVerdict, K as OrgProfileView, M as PositionView, N as PresentationDeliveryView, Q as PresentationLinkView, R as PresentationView, T as ProfileCourse, U as ProfileIndustry, V as ProfileInvolvementLink, W as ProfileLocation, X as ProfileLocationView, Y as ProfileOverrideSource, Z as ProfilePresentation, _ as ProfileView, $ as ProfileVolunteering, a0 as ProjectView, a1 as PublicationContributor, a2 as PublicationView, a3 as SkillRef, S as SkillSuggestion, a4 as SkillView, a5 as TrustStat, a6 as VerifiedAccount, a7 as VolunteeringView, a8 as hasAdultContent } from './adult-content-D2Dy1w2s.js';
3
3
  import { PresentationDuration, ProfilePresentationDeliveryRecord, ProfilePresentationRecord, OrgProfileRecord } from './schemas/index.js';
4
- export { ArtifactLink, ArtifactLinkSchema, EndorsementConfirmationRecord, EndorsementConfirmationRecordSchema, EndorsementRecord, EndorsementRecordSchema, GraphFollowRecord, GraphFollowRecordSchema, OrgEmploymentAttestationRecord, OrgEmploymentAttestationRecordSchema, OrgProfileRecordSchema, PROFILE_INVOLVEMENT_NSID, PresentationDurationSchema, PresentationLink, PresentationLinkSchema, ProfileCertificationRecord, ProfileCertificationRecordSchema, ProfileCourseRecord, ProfileCourseRecordSchema, ProfileEducationRecord, ProfileEducationRecordSchema, ProfileExternalAccountRecord, ProfileExternalAccountRecordSchema, ProfileHonorRecord, ProfileHonorRecordSchema, ProfileInvolvementRecord, ProfileInvolvementRecordSchema, ProfileLanguageRecord, ProfileLanguageRecordSchema, ProfilePositionRecord, ProfilePositionRecordSchema, ProfilePresentationDeliveryRecordSchema, ProfilePresentationRecordSchema, ProfileProjectRecord, ProfileProjectRecordSchema, ProfilePublicationRecord, ProfilePublicationRecordSchema, ProfileSelfRecord, ProfileSelfRecordSchema, ProfileSkillRecord, ProfileSkillRecordSchema, ProfileVolunteeringRecord, ProfileVolunteeringRecordSchema, PublicationAuthor, PublicationAuthorSchema, atUriSchema, cidSchema, datetimeSchema, didSchema, externalRecordRefSchema, languageTagSchema, makeGraphFollowRecordSchema, maxGraphemes, partialDateSchema, selfLabelsSchema, strongRefSchema, uriSchema } from './schemas/index.js';
4
+ export { ArtifactLink, ArtifactLinkSchema, BlobRef, BlobRefSchema, EndorsementConfirmationRecord, EndorsementConfirmationRecordSchema, EndorsementRecord, EndorsementRecordSchema, GraphFollowRecord, GraphFollowRecordSchema, OrgEmploymentAttestationRecord, OrgEmploymentAttestationRecordSchema, OrgProfileRecordSchema, PROFILE_INVOLVEMENT_NSID, PresentationDurationSchema, PresentationLink, PresentationLinkSchema, ProfileCertificationRecord, ProfileCertificationRecordSchema, ProfileCourseRecord, ProfileCourseRecordSchema, ProfileEducationRecord, ProfileEducationRecordSchema, ProfileExternalAccountRecord, ProfileExternalAccountRecordSchema, ProfileHonorRecord, ProfileHonorRecordSchema, ProfileInvolvementRecord, ProfileInvolvementRecordSchema, ProfileLanguageRecord, ProfileLanguageRecordSchema, ProfilePositionRecord, ProfilePositionRecordSchema, ProfilePresentationDeliveryRecordSchema, ProfilePresentationRecordSchema, ProfileProjectRecord, ProfileProjectRecordSchema, ProfilePublicationRecord, ProfilePublicationRecordSchema, ProfileSelfRecord, ProfileSelfRecordSchema, ProfileSkillRecord, ProfileSkillRecordSchema, ProfileVolunteeringRecord, ProfileVolunteeringRecordSchema, PublicationAuthor, PublicationAuthorSchema, atUriSchema, cidSchema, datetimeSchema, didSchema, externalRecordRefSchema, languageTagSchema, makeGraphFollowRecordSchema, maxGraphemes, partialDateSchema, selfLabelsSchema, strongRefSchema, uriSchema } from './schemas/index.js';
5
5
  import { z } from 'zod';
6
6
  import { E as EntitySearchResult } from './feed-D2ZV8Eaj.js';
7
7
  export { A as AtmosphereFeedItem, d as AtmosphereFeedItemSchema, e as EntityImportSearchResponse, f as EntityImportSearchResponseSchema, g as EntityMintDomainResponse, h as EntityMintDomainResponseSchema, i as EntityResolveDomainRequest, j as EntityResolveDomainRequestSchema, k as EntityResolveDomainResponse, l as EntityResolveDomainResponseSchema, m as EntitySearchResponse, n as EntitySearchResponseSchema, o as EntitySearchResultSchema, p as EntitySelectRequest, q as EntitySelectRequestSchema, r as EntitySelectResponse, s as EntitySelectResponseSchema, t as FEATURE_FLAGS, b as FeatureAllowlistEntry, u as FeatureAllowlistEntrySchema, c as FeatureFlag, v as FeedActor, w as FeedActorSchema, x as FeedCursor, y as FollowFeedItem, z as FollowFeedItemSchema, F as FollowFeedPage, B as FollowFeedPageSchema, a as FollowProfileItem, C as FollowProfilePage, D as FollowProfilePageSchema, G as FollowProfileSchema, S as SifaFeedItem, H as SifaFeedItemSchema, I as decodeFeedCursor, J as encodeFeedCursor } from './feed-D2ZV8Eaj.js';
@@ -777,6 +777,76 @@ declare function getDisplayLabel(displayName: string | undefined, handle: string
777
777
  declare function getPdsDisplayName(providerName: string): string;
778
778
  declare function detectPdsProvider(handle: string): PdsProvider | null;
779
779
 
780
+ /**
781
+ * Resolve a slide / video URL to an embed descriptor. Pure and offline.
782
+ *
783
+ * Three outcomes:
784
+ * - `iframe`: the URL carries everything an embed needs, so the iframe `src` is
785
+ * known offline (YouTube, Vimeo, Google Slides, Loom, Canva).
786
+ * - `oembed`: the URL is a known embeddable provider whose iframe `src` is NOT
787
+ * in the URL and needs a server-side oEmbed lookup (SlideShare, SpeakerDeck
788
+ * public deck URLs). The caller resolves the src via its own oEmbed step.
789
+ * - `link`: not embeddable; render a plain link.
790
+ */
791
+ /**
792
+ * A resolved embed: an iframe whose src is known offline, an `oembed` provider
793
+ * whose src needs a server lookup (carries the original page URL), or a plain
794
+ * link.
795
+ */
796
+ type EmbedResult = {
797
+ kind: 'iframe';
798
+ provider: string;
799
+ src: string;
800
+ aspectRatio: '16:9' | '4:3';
801
+ } | {
802
+ kind: 'oembed';
803
+ provider: string;
804
+ aspectRatio: '16:9' | '4:3';
805
+ pageUrl: string;
806
+ } | {
807
+ kind: 'link';
808
+ };
809
+ /**
810
+ * Extract a YouTube video id from any recognized YouTube URL (`youtu.be/ID`,
811
+ * `youtube.com/watch?v=ID`, `/embed/ID`, `/shorts/ID`), or null. Pure/offline.
812
+ */
813
+ declare function youtubeVideoId(url: string): string | null;
814
+ /**
815
+ * The public thumbnail URL for a YouTube video id (`i.ytimg.com`). Derivable
816
+ * offline. NOTE: this host is Google — never load it directly in a privacy
817
+ * context; fetch and re-serve it from your own origin.
818
+ */
819
+ declare function youtubeThumbnailUrl(videoId: string): string;
820
+ /**
821
+ * Recognize an embeddable URL and return its iframe descriptor, else a link.
822
+ * Only https URLs are accepted.
823
+ */
824
+ declare function resolveEmbed(url: string): EmbedResult;
825
+
826
+ /**
827
+ * Slug helpers for talk-page URLs. Pure and offline: a talk page lives at a
828
+ * path like `/{slug}-{rkey}`, where the slug is a human-readable, SEO-friendly
829
+ * rendering of the title and the rkey is the record's stable identifier.
830
+ * Because TIDs never contain a `-`, the rkey can always be recovered as the
831
+ * substring after the final `-`.
832
+ */
833
+ /**
834
+ * Render a title as a URL slug: lowercased, diacritics stripped, runs of
835
+ * non-alphanumerics collapsed to a single `-`, trimmed, and capped at 60 chars.
836
+ * Returns `''` for an empty or whitespace-only title.
837
+ */
838
+ declare function slugifyTitle(title: string): string;
839
+ /**
840
+ * Build the talk-page path segment `${slug}-${rkey}`, or just `rkey` when the
841
+ * title produces an empty slug.
842
+ */
843
+ declare function buildTalkSlug(title: string, rkey: string): string;
844
+ /**
845
+ * Recover the rkey from a talk-page segment: the substring after the final `-`
846
+ * (TIDs contain no `-`). Returns the whole segment when there is no `-`.
847
+ */
848
+ declare function parseTalkRkey(segment: string): string;
849
+
780
850
  /**
781
851
  * Limit runs of Unicode combining marks (`\p{M}`) to at most `maxPerBase`
782
852
  * marks following any single base character. Defuses "Zalgo" text where
@@ -1942,4 +2012,4 @@ declare function groupInvolvementByHeading(items: ProfileInvolvement[]): Involve
1942
2012
  */
1943
2013
  declare const SIFA_SDK_VERSION: string;
1944
2014
 
1945
- export { ACTIVITY_TIERS, ACTIVITY_VERBS, ACTIVITY_VISIBILITY_RULES, ALL_SECTIONS, APP_CATEGORIES, APP_CATEGORY_IDS, APP_CATEGORY_MAP, APP_URL_PATTERNS, ARTIFACT_LINK_KIND_LABELS, ARTIFACT_LINK_KIND_OPTIONS, type AccountVerification, type ActivityItem, type ActivityItemForUrl, type ActivityTaxonomy, type ActivityTier, type ActivityVerbMap, type AppCategoryId, type AppUrlPatterns, type ArtifactLinkKindOption, CALENDAR_EVENT_MODE_LABELS, CALENDAR_EVENT_STATUS_LABELS, CATEGORY_LABELS, CATEGORY_ORDER, COLLECTION_TO_APP, COMPANY_OPTIONAL_EMPLOYMENT_TYPES, COMPANY_PAGE_MIN_FIRMOGRAPHIC_FIELDS, COMPLETENESS_MAX_SCORE, CONTINENTS, COUNTRIES, type CardHealth, type CardHealthStrategy, type CompanyFirmographics, type ContinentCode, type CsvRow, DIMENSIONS_MAX_SCORE, type DimensionKey, type DimensionMap, type DisambiguationFields, EMPLOYMENT_TYPE_GROUPS, EMPLOYMENT_TYPE_LABELS, ENTITY_REF_ANCHORS, type EmploymentTypeGroup, type EmploymentTypeOption, type EntityRefAnchor, EntitySearchResult, INDUSTRY_OPTIONS, INVOLVEMENT_HEADING_ORDER, INVOLVEMENT_KIND_HEADINGS, INVOLVEMENT_KIND_LABELS, INVOLVEMENT_KIND_OPTIONS, type IndustryOption, type InvolvementGroup, type InvolvementKindOption, type KnownAppId, type LexiconEntry, LocationValue, MIN_SKILLS, type MergedProfileSkill, OPEN_TO_OPTIONS, OPEN_TO_TOKENS, OPEN_TO_TOKEN_TO_VALUE, OPEN_TO_VALUE_TO_TOKEN, type OpenToGroup, type OpenToOption, OrgProfileRecord, PLATFORM_LABELS, PLATFORM_OPTIONS, PRESENTATION_LINK_TYPE_LABELS, PRESENTATION_LINK_TYPE_OPTIONS, PRESENTATION_ROLE_LABELS, PRESENTATION_ROLE_OPTIONS, PUBLISHERS, type ParsedDelivery, type ParsedPresentation, type PdsProvider, PdsProviderInfo, type PlatformId, type PresentationDeliverySummary, PresentationDuration, type PresentationLinkTypeOption, type PresentationRoleOption, type PrimaryPositionCandidate, Profile, ProfileCertification, type ProfileCompletion, type ProfileDimensionInputs, ProfileEducation, ProfileHonor, ProfileInvolvement, ProfileLanguage, ProfilePosition, ProfilePresentationDelivery, ProfilePresentationDeliveryRecord, ProfilePresentationRecord, ProfileProject, ProfilePublication, ProfileSkill, type Publisher, type RgbColor, SECTION_GROUPS, SECTION_LABELS, SIFA_SDK_VERSION, SKILL_CATEGORIES, STANDARD_PUBLISHER_ID, STREAM_VERBS, type SectionGroupId, type SectionId, type SkillCategory, type StreamAddress, type StreamCardBody, type StreamCardSubject, type StreamCardVM, type StreamExternalLink, type StreamGeo, type StreamMedia, type StreamMediaBase, type StreamMediaBlob, type StreamMediaResolved, type StreamRichSegment, type StreamSource, type StreamTheme, type StreamVerb, type TierMeta, type ToStreamCardVMOptions, VERIFICATION_PROVIDERS, type VerificationProvider, type VerificationProviderId, type VerificationSource, WORKPLACE_TYPE_LABELS, WORKPLACE_TYPE_OPTIONS, type WorkplaceTypeOption, categoryForApp, certDateExtractor, classifyEntityRef, completenessPercent, completenessScore, contrastRatio, countFilledDimensions, countryCodeToFlag, dateRangeExtractor, dedupeSkills, detectPdsProvider, dimensionsFromInputs, durationFromMinutes, entityDisambiguationLabel, entityResultKey, filterHidden, findIndustry, formatCompanyName, formatDateRange, formatDistanceToNow, formatLocation, formatPresentationDuration, formatRelativeTime, formatTimelineDate, getActivityTaxonomyVersion, getActivityTier, getActivityVerbsVersion, getAppCategoryIcon, getAppIdForCollection, getArtifactLinkKindLabel, getCalendarEventModeLabel, getCalendarEventStatusLabel, getContinent, getDisplayLabel, getEmploymentTypeLabel, getFaviconUrl, getFilledDimensionsMap, getHandleStem, getIndustryLabelKey, getInvolvementKindHeading, getInvolvementKindLabel, getLexiconEntry, getOpenToLabelKey, getPdsDisplayName, getPlatformLabel, getPresentationLinkTypeLabel, getPresentationRoleLabel, getPublisherByHost, getPublisherById, getPublisherFromSiteUrl, getTierMeta, getVerificationProvider, getVisibleSectionIds, getWorkplaceTypeLabel, groupInvolvementByHeading, groupSkillsByCategory, hoistPrimary, isAppCategory, isCompanyPageIndexable, isCompanyRequired, isKnownAppId, isKnownPlatform, isKnownVerificationProvider, isLinked, isPseudoEmployer, isRegistrableDomainHandle, isSectionPopulated, isValidRgbColor, isVisibleActivityItem, lexiconDateExtractor, limitCombiningMarks, looksLikeDomain, meetsContrastAA, normalizeCompanyKey, normalizeLegalForm, normalizeOpenTo, normalizePlatformId, normalizePresentationMode, normalizePresentationRole, normalizeWorkplaceTypes, openToTokenToValue, openToValueToToken, parseIntendedAudiences, parseLocationString, parsePresentationDuration, pdsProviderFromApi, pickPrimaryPosition, presentationCsvRowToRecord, presentationDeliveryCsvRowToRecord, primaryVerification, profileToDimensionInputs, qualifiesAsOrg, relativeLuminance, resolveCardHealth, resolveCardUrl, resolveVerifierProvider, rgbToString, sanitizeDisplayText, sanitizeHandleInput, searchResultDisambiguation, singleDateExtractor, sortByActiveDateRange, sortByDateDesc, sortCertifications, sortEducation, sortHonors, sortLanguages, sortLanguagesByProficiency, sortPositions, sortProjects, sortPublications, streamAddressSchema, streamCardBodySchema, streamCardSubjectSchema, streamCardVMSchema, streamExternalLinkSchema, streamGeoSchema, streamMediaSchema, streamRichSegmentSchema, streamSourceSchema, streamThemeSchema, streamVerbSchema, stripHtmlToText, summarizePresentationDeliveries, toStreamCardVM, toStreamCardVMs, truncateGraphemes, verbForCollection, visibleItems };
2015
+ export { ACTIVITY_TIERS, ACTIVITY_VERBS, ACTIVITY_VISIBILITY_RULES, ALL_SECTIONS, APP_CATEGORIES, APP_CATEGORY_IDS, APP_CATEGORY_MAP, APP_URL_PATTERNS, ARTIFACT_LINK_KIND_LABELS, ARTIFACT_LINK_KIND_OPTIONS, type AccountVerification, type ActivityItem, type ActivityItemForUrl, type ActivityTaxonomy, type ActivityTier, type ActivityVerbMap, type AppCategoryId, type AppUrlPatterns, type ArtifactLinkKindOption, CALENDAR_EVENT_MODE_LABELS, CALENDAR_EVENT_STATUS_LABELS, CATEGORY_LABELS, CATEGORY_ORDER, COLLECTION_TO_APP, COMPANY_OPTIONAL_EMPLOYMENT_TYPES, COMPANY_PAGE_MIN_FIRMOGRAPHIC_FIELDS, COMPLETENESS_MAX_SCORE, CONTINENTS, COUNTRIES, type CardHealth, type CardHealthStrategy, type CompanyFirmographics, type ContinentCode, type CsvRow, DIMENSIONS_MAX_SCORE, type DimensionKey, type DimensionMap, type DisambiguationFields, EMPLOYMENT_TYPE_GROUPS, EMPLOYMENT_TYPE_LABELS, ENTITY_REF_ANCHORS, type EmbedResult, type EmploymentTypeGroup, type EmploymentTypeOption, type EntityRefAnchor, EntitySearchResult, INDUSTRY_OPTIONS, INVOLVEMENT_HEADING_ORDER, INVOLVEMENT_KIND_HEADINGS, INVOLVEMENT_KIND_LABELS, INVOLVEMENT_KIND_OPTIONS, type IndustryOption, type InvolvementGroup, type InvolvementKindOption, type KnownAppId, type LexiconEntry, LocationValue, MIN_SKILLS, type MergedProfileSkill, OPEN_TO_OPTIONS, OPEN_TO_TOKENS, OPEN_TO_TOKEN_TO_VALUE, OPEN_TO_VALUE_TO_TOKEN, type OpenToGroup, type OpenToOption, OrgProfileRecord, PLATFORM_LABELS, PLATFORM_OPTIONS, PRESENTATION_LINK_TYPE_LABELS, PRESENTATION_LINK_TYPE_OPTIONS, PRESENTATION_ROLE_LABELS, PRESENTATION_ROLE_OPTIONS, PUBLISHERS, type ParsedDelivery, type ParsedPresentation, type PdsProvider, PdsProviderInfo, type PlatformId, type PresentationDeliverySummary, PresentationDuration, type PresentationLinkTypeOption, type PresentationRoleOption, type PrimaryPositionCandidate, Profile, ProfileCertification, type ProfileCompletion, type ProfileDimensionInputs, ProfileEducation, ProfileHonor, ProfileInvolvement, ProfileLanguage, ProfilePosition, ProfilePresentationDelivery, ProfilePresentationDeliveryRecord, ProfilePresentationRecord, ProfileProject, ProfilePublication, ProfileSkill, type Publisher, type RgbColor, SECTION_GROUPS, SECTION_LABELS, SIFA_SDK_VERSION, SKILL_CATEGORIES, STANDARD_PUBLISHER_ID, STREAM_VERBS, type SectionGroupId, type SectionId, type SkillCategory, type StreamAddress, type StreamCardBody, type StreamCardSubject, type StreamCardVM, type StreamExternalLink, type StreamGeo, type StreamMedia, type StreamMediaBase, type StreamMediaBlob, type StreamMediaResolved, type StreamRichSegment, type StreamSource, type StreamTheme, type StreamVerb, type TierMeta, type ToStreamCardVMOptions, VERIFICATION_PROVIDERS, type VerificationProvider, type VerificationProviderId, type VerificationSource, WORKPLACE_TYPE_LABELS, WORKPLACE_TYPE_OPTIONS, type WorkplaceTypeOption, buildTalkSlug, categoryForApp, certDateExtractor, classifyEntityRef, completenessPercent, completenessScore, contrastRatio, countFilledDimensions, countryCodeToFlag, dateRangeExtractor, dedupeSkills, detectPdsProvider, dimensionsFromInputs, durationFromMinutes, entityDisambiguationLabel, entityResultKey, filterHidden, findIndustry, formatCompanyName, formatDateRange, formatDistanceToNow, formatLocation, formatPresentationDuration, formatRelativeTime, formatTimelineDate, getActivityTaxonomyVersion, getActivityTier, getActivityVerbsVersion, getAppCategoryIcon, getAppIdForCollection, getArtifactLinkKindLabel, getCalendarEventModeLabel, getCalendarEventStatusLabel, getContinent, getDisplayLabel, getEmploymentTypeLabel, getFaviconUrl, getFilledDimensionsMap, getHandleStem, getIndustryLabelKey, getInvolvementKindHeading, getInvolvementKindLabel, getLexiconEntry, getOpenToLabelKey, getPdsDisplayName, getPlatformLabel, getPresentationLinkTypeLabel, getPresentationRoleLabel, getPublisherByHost, getPublisherById, getPublisherFromSiteUrl, getTierMeta, getVerificationProvider, getVisibleSectionIds, getWorkplaceTypeLabel, groupInvolvementByHeading, groupSkillsByCategory, hoistPrimary, isAppCategory, isCompanyPageIndexable, isCompanyRequired, isKnownAppId, isKnownPlatform, isKnownVerificationProvider, isLinked, isPseudoEmployer, isRegistrableDomainHandle, isSectionPopulated, isValidRgbColor, isVisibleActivityItem, lexiconDateExtractor, limitCombiningMarks, looksLikeDomain, meetsContrastAA, normalizeCompanyKey, normalizeLegalForm, normalizeOpenTo, normalizePlatformId, normalizePresentationMode, normalizePresentationRole, normalizeWorkplaceTypes, openToTokenToValue, openToValueToToken, parseIntendedAudiences, parseLocationString, parsePresentationDuration, parseTalkRkey, pdsProviderFromApi, pickPrimaryPosition, presentationCsvRowToRecord, presentationDeliveryCsvRowToRecord, primaryVerification, profileToDimensionInputs, qualifiesAsOrg, relativeLuminance, resolveCardHealth, resolveCardUrl, resolveEmbed, resolveVerifierProvider, rgbToString, sanitizeDisplayText, sanitizeHandleInput, searchResultDisambiguation, singleDateExtractor, slugifyTitle, sortByActiveDateRange, sortByDateDesc, sortCertifications, sortEducation, sortHonors, sortLanguages, sortLanguagesByProficiency, sortPositions, sortProjects, sortPublications, streamAddressSchema, streamCardBodySchema, streamCardSubjectSchema, streamCardVMSchema, streamExternalLinkSchema, streamGeoSchema, streamMediaSchema, streamRichSegmentSchema, streamSourceSchema, streamThemeSchema, streamVerbSchema, stripHtmlToText, summarizePresentationDeliveries, toStreamCardVM, toStreamCardVMs, truncateGraphemes, verbForCollection, visibleItems, youtubeThumbnailUrl, youtubeVideoId };
package/dist/index.js CHANGED
@@ -1902,6 +1902,148 @@ function detectPdsProvider(handle) {
1902
1902
  return null;
1903
1903
  }
1904
1904
 
1905
+ // src/format/embed.ts
1906
+ var LINK = { kind: "link" };
1907
+ var YOUTUBE_ID = /^[A-Za-z0-9_-]{6,}$/;
1908
+ function youtubeVideoId(url) {
1909
+ let parsed3;
1910
+ try {
1911
+ parsed3 = new URL(url);
1912
+ } catch {
1913
+ return null;
1914
+ }
1915
+ if (parsed3.protocol !== "https:") return null;
1916
+ const host = bareHost(parsed3.hostname);
1917
+ const segments = parsed3.pathname.split("/").filter(Boolean);
1918
+ let id = null;
1919
+ if (host === "youtu.be") id = segments[0] ?? null;
1920
+ else if (host === "youtube.com" || host === "m.youtube.com") {
1921
+ if (parsed3.pathname === "/watch") id = parsed3.searchParams.get("v");
1922
+ else if (segments[0] === "embed" || segments[0] === "shorts") id = segments[1] ?? null;
1923
+ }
1924
+ return id && YOUTUBE_ID.test(id) ? id : null;
1925
+ }
1926
+ function youtubeThumbnailUrl(videoId) {
1927
+ return `https://i.ytimg.com/vi/${videoId}/hqdefault.jpg`;
1928
+ }
1929
+ function bareHost(hostname) {
1930
+ return hostname.toLowerCase().replace(/^www\./, "");
1931
+ }
1932
+ function resolveEmbed(url) {
1933
+ let parsed3;
1934
+ try {
1935
+ parsed3 = new URL(url);
1936
+ } catch {
1937
+ return LINK;
1938
+ }
1939
+ if (parsed3.protocol !== "https:") return LINK;
1940
+ const host = bareHost(parsed3.hostname);
1941
+ const segments = parsed3.pathname.split("/").filter(Boolean);
1942
+ if (host === "youtu.be" || host === "youtube.com" || host === "m.youtube.com") {
1943
+ const id = youtubeVideoId(url);
1944
+ return id ? youtubeEmbed(id) : LINK;
1945
+ }
1946
+ if (host === "vimeo.com") {
1947
+ const id = segments[0];
1948
+ if (id && /^\d+$/.test(id)) {
1949
+ return {
1950
+ kind: "iframe",
1951
+ provider: "vimeo",
1952
+ src: `https://player.vimeo.com/video/${id}`,
1953
+ aspectRatio: "16:9"
1954
+ };
1955
+ }
1956
+ return LINK;
1957
+ }
1958
+ if (host === "player.vimeo.com") {
1959
+ if (segments[0] === "video" && segments[1] && /^\d+$/.test(segments[1])) {
1960
+ return {
1961
+ kind: "iframe",
1962
+ provider: "vimeo",
1963
+ src: `https://player.vimeo.com/video/${segments[1]}`,
1964
+ aspectRatio: "16:9"
1965
+ };
1966
+ }
1967
+ return LINK;
1968
+ }
1969
+ if (host === "speakerdeck.com") {
1970
+ if (segments[0] === "player" && segments[1]) {
1971
+ return { kind: "iframe", provider: "speakerdeck", src: parsed3.href, aspectRatio: "4:3" };
1972
+ }
1973
+ if (segments.length >= 2) {
1974
+ return { kind: "oembed", provider: "speakerdeck", aspectRatio: "4:3", pageUrl: parsed3.href };
1975
+ }
1976
+ return LINK;
1977
+ }
1978
+ if (host === "slideshare.net") {
1979
+ if (segments[0] === "slideshow" && segments[1] === "embed_code") {
1980
+ return { kind: "iframe", provider: "slideshare", src: parsed3.href, aspectRatio: "4:3" };
1981
+ }
1982
+ if (segments.length >= 2) {
1983
+ return { kind: "oembed", provider: "slideshare", aspectRatio: "4:3", pageUrl: parsed3.href };
1984
+ }
1985
+ return LINK;
1986
+ }
1987
+ if (host === "docs.google.com") {
1988
+ if (segments[0] === "presentation" && segments[1] === "d" && segments[2]) {
1989
+ return {
1990
+ kind: "iframe",
1991
+ provider: "googleslides",
1992
+ src: `https://docs.google.com/presentation/d/${segments[2]}/embed`,
1993
+ aspectRatio: "16:9"
1994
+ };
1995
+ }
1996
+ return LINK;
1997
+ }
1998
+ if (host === "loom.com") {
1999
+ if (segments[0] === "share" && segments[1]) {
2000
+ return {
2001
+ kind: "iframe",
2002
+ provider: "loom",
2003
+ src: `https://www.loom.com/embed/${segments[1]}`,
2004
+ aspectRatio: "16:9"
2005
+ };
2006
+ }
2007
+ return LINK;
2008
+ }
2009
+ if (host === "canva.com") {
2010
+ if (segments[0] === "design" && segments[1] && segments[2] === "view") {
2011
+ return {
2012
+ kind: "iframe",
2013
+ provider: "canva",
2014
+ src: `https://www.canva.com/design/${segments[1]}/view?embed`,
2015
+ aspectRatio: "16:9"
2016
+ };
2017
+ }
2018
+ return LINK;
2019
+ }
2020
+ return LINK;
2021
+ }
2022
+ function youtubeEmbed(id) {
2023
+ return {
2024
+ kind: "iframe",
2025
+ provider: "youtube",
2026
+ src: `https://www.youtube-nocookie.com/embed/${id}`,
2027
+ aspectRatio: "16:9"
2028
+ };
2029
+ }
2030
+
2031
+ // src/format/talk-slug.ts
2032
+ var MAX_SLUG_LENGTH = 60;
2033
+ var COMBINING_MARKS2 = /[̀-ͯ]/g;
2034
+ function slugifyTitle(title) {
2035
+ const slug = title.normalize("NFKD").replace(COMBINING_MARKS2, "").toLowerCase().replace(/[^a-z0-9]+/g, "-").replace(/-+/g, "-").replace(/^-+|-+$/g, "");
2036
+ return slug.slice(0, MAX_SLUG_LENGTH).replace(/-+$/g, "");
2037
+ }
2038
+ function buildTalkSlug(title, rkey) {
2039
+ const slug = slugifyTitle(title);
2040
+ return slug ? `${slug}-${rkey}` : rkey;
2041
+ }
2042
+ function parseTalkRkey(segment) {
2043
+ const idx = segment.lastIndexOf("-");
2044
+ return idx === -1 ? segment : segment.slice(idx + 1);
2045
+ }
2046
+
1905
2047
  // src/format/text-sanitize.ts
1906
2048
  var COMBINING_MARK = /\p{M}/u;
1907
2049
  var BIDI_CONTROLS = /[‎‏‪-‮⁦-⁩]/gu;
@@ -3983,6 +4125,12 @@ function groupInvolvementByHeading(items) {
3983
4125
  }
3984
4126
  return groups;
3985
4127
  }
4128
+ var BlobRefSchema = z.object({
4129
+ $type: z.literal("blob"),
4130
+ ref: z.object({ $link: z.string().min(1) }),
4131
+ mimeType: z.string().min(1).max(255),
4132
+ size: z.number().int().nonnegative()
4133
+ });
3986
4134
  var EndorsementConfirmationRecordSchema = z.object({
3987
4135
  endorsement: strongRefSchema,
3988
4136
  createdAt: datetimeSchema
@@ -4298,8 +4446,18 @@ var ProfilePresentationRecordSchema = z.object({
4298
4446
  // Optional reference to a long-form write-up (pub.leaflet.document or
4299
4447
  // site.standard.document). Plain at-uri + optional cid so it tracks edits.
4300
4448
  writeupRef: externalRecordRefSchema.optional(),
4449
+ // Optional uploaded cover image for the talk page.
4450
+ coverImage: BlobRefSchema.optional(),
4301
4451
  createdAt: datetimeSchema
4302
4452
  });
4453
+ var communityAddressSchema = z.object({
4454
+ country: z.string().optional(),
4455
+ postalCode: z.string().optional(),
4456
+ region: z.string().optional(),
4457
+ locality: z.string().optional(),
4458
+ street: z.string().optional(),
4459
+ name: z.string().optional()
4460
+ });
4303
4461
  var ProfilePresentationDeliveryRecordSchema = z.object({
4304
4462
  // Optional reference to the id.sifa.profile.presentation delivered here.
4305
4463
  presentationRef: externalRecordRefSchema.optional(),
@@ -4310,6 +4468,9 @@ var ProfilePresentationDeliveryRecordSchema = z.object({
4310
4468
  // Calendar date as YYYY-MM-DD (day only).
4311
4469
  date: z.string().regex(/^\d{4}-\d{2}-\d{2}$/, "date must be YYYY-MM-DD").optional(),
4312
4470
  location: z.string().refine(maxGraphemes(256)).max(2560).optional(),
4471
+ // Structured community.lexicon.location.address for the occasion. The
4472
+ // free-text `location` string above stays as a legacy fallback.
4473
+ address: communityAddressSchema.optional(),
4313
4474
  mode: z.string().optional(),
4314
4475
  status: z.string().optional(),
4315
4476
  links: z.array(PresentationLinkSchema).max(20).optional(),
@@ -4377,8 +4538,8 @@ var ProfileVolunteeringRecordSchema = z.object({
4377
4538
  });
4378
4539
 
4379
4540
  // src/index.ts
4380
- var SIFA_SDK_VERSION = "0.12.11";
4541
+ var SIFA_SDK_VERSION = "0.12.13";
4381
4542
 
4382
- export { ACTIVITY_TIERS, ACTIVITY_VERBS, ACTIVITY_VISIBILITY_RULES, ADULT_CONTENT_LABELS, ALL_SECTIONS, APP_CATEGORIES, APP_CATEGORY_IDS, APP_CATEGORY_MAP, APP_URL_PATTERNS, ARTIFACT_LINK_KIND_LABELS, ARTIFACT_LINK_KIND_OPTIONS, ArtifactLinkSchema, AtmosphereFeedItemSchema, CALENDAR_EVENT_MODE_LABELS, CALENDAR_EVENT_STATUS_LABELS, CATEGORY_LABELS, CATEGORY_ORDER, COLLECTION_TO_APP, COMPANY_OPTIONAL_EMPLOYMENT_TYPES, COMPANY_PAGE_MIN_FIRMOGRAPHIC_FIELDS, COMPLETENESS_MAX_SCORE, CONTINENTS, COUNTRIES, DIMENSIONS_MAX_SCORE, EMPLOYMENT_TYPE_GROUPS, EMPLOYMENT_TYPE_LABELS, ENTITY_REF_ANCHORS, EndorsementConfirmationRecordSchema, EndorsementRecordSchema, EntityImportSearchResponseSchema, EntityMintDomainResponseSchema, EntityResolveDomainRequestSchema, EntityResolveDomainResponseSchema, EntitySearchResponseSchema, EntitySearchResultSchema, EntitySelectRequestSchema, EntitySelectResponseSchema, FEATURE_FLAGS, FeatureAllowlistEntrySchema, FeedActorSchema, FollowFeedItemSchema, FollowFeedPageSchema, FollowProfilePageSchema, FollowProfileSchema, GraphFollowRecordSchema, INDUSTRY_OPTIONS, INVOLVEMENT_HEADING_ORDER, INVOLVEMENT_KIND_HEADINGS, INVOLVEMENT_KIND_LABELS, INVOLVEMENT_KIND_OPTIONS, MIN_SKILLS, OPEN_TO_OPTIONS, OPEN_TO_TOKENS, OPEN_TO_TOKEN_TO_VALUE, OPEN_TO_VALUE_TO_TOKEN, OrgEmploymentAttestationRecordSchema, OrgProfileRecordSchema, PLATFORM_LABELS, PLATFORM_OPTIONS, PRESENTATION_LINK_TYPE_LABELS, PRESENTATION_LINK_TYPE_OPTIONS, PRESENTATION_ROLE_LABELS, PRESENTATION_ROLE_OPTIONS, PROFILE_INVOLVEMENT_NSID, PUBLISHERS, PresentationDurationSchema, PresentationLinkSchema, ProfileCertificationRecordSchema, ProfileCourseRecordSchema, ProfileEducationRecordSchema, ProfileExternalAccountRecordSchema, ProfileHonorRecordSchema, ProfileInvolvementRecordSchema, ProfileLanguageRecordSchema, ProfilePositionRecordSchema, ProfilePresentationDeliveryRecordSchema, ProfilePresentationRecordSchema, ProfileProjectRecordSchema, ProfilePublicationRecordSchema, ProfileSelfRecordSchema, ProfileSkillRecordSchema, ProfileVolunteeringRecordSchema, PublicationAuthorSchema, SECTION_GROUPS, SECTION_LABELS, SIFA_SDK_VERSION, SKILL_CATEGORIES, STANDARD_PUBLISHER_ID, STREAM_VERBS, SifaFeedItemSchema, VERIFICATION_PROVIDERS, WORKPLACE_TYPE_LABELS, WORKPLACE_TYPE_OPTIONS, atUriSchema, categoryForApp, certDateExtractor, cidSchema, classifyEntityRef, completenessPercent, completenessScore, contrastRatio, countFilledDimensions, countryCodeToFlag, dateRangeExtractor, datetimeSchema, decodeFeedCursor, dedupeSkills, detectPdsProvider, didSchema, dimensionsFromInputs, durationFromMinutes, encodeFeedCursor, entityDisambiguationLabel, entityResultKey, externalRecordRefSchema, filterHidden, findIndustry, formatCompanyName, formatDateRange, formatDistanceToNow, formatLocation, formatPresentationDuration, formatRelativeTime, formatTimelineDate, getActivityTaxonomyVersion, getActivityTier, getActivityVerbsVersion, getAppCategoryIcon, getAppIdForCollection, getArtifactLinkKindLabel, getCalendarEventModeLabel, getCalendarEventStatusLabel, getContinent, getDisplayLabel, getEmploymentTypeLabel, getFaviconUrl, getFilledDimensionsMap, getHandleStem, getIndustryLabelKey, getInvolvementKindHeading, getInvolvementKindLabel, getLexiconEntry, getOpenToLabelKey, getPdsDisplayName, getPlatformLabel, getPresentationLinkTypeLabel, getPresentationRoleLabel, getPublisherByHost, getPublisherById, getPublisherFromSiteUrl, getTierMeta, getVerificationProvider, getVisibleSectionIds, getWorkplaceTypeLabel, groupInvolvementByHeading, groupSkillsByCategory, hasAdultContent, hoistPrimary, isAppCategory, isCompanyPageIndexable, isCompanyRequired, isKnownAppId, isKnownPlatform, isKnownVerificationProvider, isLinked, isPseudoEmployer, isRegistrableDomainHandle, isSectionPopulated, isValidRgbColor, isVisibleActivityItem, languageTagSchema, lexiconDateExtractor, limitCombiningMarks, looksLikeDomain, makeGraphFollowRecordSchema, maxGraphemes, meetsContrastAA, normalizeCompanyKey, normalizeLegalForm, normalizeOpenTo, normalizePlatformId, normalizePresentationMode, normalizePresentationRole, normalizeWorkplaceTypes, openToTokenToValue, openToValueToToken, parseIntendedAudiences, parseLocationString, parsePresentationDuration, partialDateSchema, pdsProviderFromApi, pickPrimaryPosition, presentationCsvRowToRecord, presentationDeliveryCsvRowToRecord, primaryVerification, profileToDimensionInputs, qualifiesAsOrg, relativeLuminance, resolveCardHealth, resolveCardUrl, resolveVerifierProvider, rgbToString, sanitizeDisplayText, sanitizeHandleInput, searchResultDisambiguation, selfLabelsSchema, singleDateExtractor, sortByActiveDateRange, sortByDateDesc, sortCertifications, sortEducation, sortHonors, sortLanguages, sortLanguagesByProficiency, sortPositions, sortProjects, sortPublications, streamAddressSchema, streamCardBodySchema, streamCardSubjectSchema, streamCardVMSchema, streamExternalLinkSchema, streamGeoSchema, streamMediaSchema, streamRichSegmentSchema, streamSourceSchema, streamThemeSchema, streamVerbSchema, stripHtmlToText, strongRefSchema, summarizePresentationDeliveries, toStreamCardVM, toStreamCardVMs, truncateGraphemes, uriSchema, verbForCollection, visibleItems };
4543
+ export { ACTIVITY_TIERS, ACTIVITY_VERBS, ACTIVITY_VISIBILITY_RULES, ADULT_CONTENT_LABELS, ALL_SECTIONS, APP_CATEGORIES, APP_CATEGORY_IDS, APP_CATEGORY_MAP, APP_URL_PATTERNS, ARTIFACT_LINK_KIND_LABELS, ARTIFACT_LINK_KIND_OPTIONS, ArtifactLinkSchema, AtmosphereFeedItemSchema, BlobRefSchema, CALENDAR_EVENT_MODE_LABELS, CALENDAR_EVENT_STATUS_LABELS, CATEGORY_LABELS, CATEGORY_ORDER, COLLECTION_TO_APP, COMPANY_OPTIONAL_EMPLOYMENT_TYPES, COMPANY_PAGE_MIN_FIRMOGRAPHIC_FIELDS, COMPLETENESS_MAX_SCORE, CONTINENTS, COUNTRIES, DIMENSIONS_MAX_SCORE, EMPLOYMENT_TYPE_GROUPS, EMPLOYMENT_TYPE_LABELS, ENTITY_REF_ANCHORS, EndorsementConfirmationRecordSchema, EndorsementRecordSchema, EntityImportSearchResponseSchema, EntityMintDomainResponseSchema, EntityResolveDomainRequestSchema, EntityResolveDomainResponseSchema, EntitySearchResponseSchema, EntitySearchResultSchema, EntitySelectRequestSchema, EntitySelectResponseSchema, FEATURE_FLAGS, FeatureAllowlistEntrySchema, FeedActorSchema, FollowFeedItemSchema, FollowFeedPageSchema, FollowProfilePageSchema, FollowProfileSchema, GraphFollowRecordSchema, INDUSTRY_OPTIONS, INVOLVEMENT_HEADING_ORDER, INVOLVEMENT_KIND_HEADINGS, INVOLVEMENT_KIND_LABELS, INVOLVEMENT_KIND_OPTIONS, MIN_SKILLS, OPEN_TO_OPTIONS, OPEN_TO_TOKENS, OPEN_TO_TOKEN_TO_VALUE, OPEN_TO_VALUE_TO_TOKEN, OrgEmploymentAttestationRecordSchema, OrgProfileRecordSchema, PLATFORM_LABELS, PLATFORM_OPTIONS, PRESENTATION_LINK_TYPE_LABELS, PRESENTATION_LINK_TYPE_OPTIONS, PRESENTATION_ROLE_LABELS, PRESENTATION_ROLE_OPTIONS, PROFILE_INVOLVEMENT_NSID, PUBLISHERS, PresentationDurationSchema, PresentationLinkSchema, ProfileCertificationRecordSchema, ProfileCourseRecordSchema, ProfileEducationRecordSchema, ProfileExternalAccountRecordSchema, ProfileHonorRecordSchema, ProfileInvolvementRecordSchema, ProfileLanguageRecordSchema, ProfilePositionRecordSchema, ProfilePresentationDeliveryRecordSchema, ProfilePresentationRecordSchema, ProfileProjectRecordSchema, ProfilePublicationRecordSchema, ProfileSelfRecordSchema, ProfileSkillRecordSchema, ProfileVolunteeringRecordSchema, PublicationAuthorSchema, SECTION_GROUPS, SECTION_LABELS, SIFA_SDK_VERSION, SKILL_CATEGORIES, STANDARD_PUBLISHER_ID, STREAM_VERBS, SifaFeedItemSchema, VERIFICATION_PROVIDERS, WORKPLACE_TYPE_LABELS, WORKPLACE_TYPE_OPTIONS, atUriSchema, buildTalkSlug, categoryForApp, certDateExtractor, cidSchema, classifyEntityRef, completenessPercent, completenessScore, contrastRatio, countFilledDimensions, countryCodeToFlag, dateRangeExtractor, datetimeSchema, decodeFeedCursor, dedupeSkills, detectPdsProvider, didSchema, dimensionsFromInputs, durationFromMinutes, encodeFeedCursor, entityDisambiguationLabel, entityResultKey, externalRecordRefSchema, filterHidden, findIndustry, formatCompanyName, formatDateRange, formatDistanceToNow, formatLocation, formatPresentationDuration, formatRelativeTime, formatTimelineDate, getActivityTaxonomyVersion, getActivityTier, getActivityVerbsVersion, getAppCategoryIcon, getAppIdForCollection, getArtifactLinkKindLabel, getCalendarEventModeLabel, getCalendarEventStatusLabel, getContinent, getDisplayLabel, getEmploymentTypeLabel, getFaviconUrl, getFilledDimensionsMap, getHandleStem, getIndustryLabelKey, getInvolvementKindHeading, getInvolvementKindLabel, getLexiconEntry, getOpenToLabelKey, getPdsDisplayName, getPlatformLabel, getPresentationLinkTypeLabel, getPresentationRoleLabel, getPublisherByHost, getPublisherById, getPublisherFromSiteUrl, getTierMeta, getVerificationProvider, getVisibleSectionIds, getWorkplaceTypeLabel, groupInvolvementByHeading, groupSkillsByCategory, hasAdultContent, hoistPrimary, isAppCategory, isCompanyPageIndexable, isCompanyRequired, isKnownAppId, isKnownPlatform, isKnownVerificationProvider, isLinked, isPseudoEmployer, isRegistrableDomainHandle, isSectionPopulated, isValidRgbColor, isVisibleActivityItem, languageTagSchema, lexiconDateExtractor, limitCombiningMarks, looksLikeDomain, makeGraphFollowRecordSchema, maxGraphemes, meetsContrastAA, normalizeCompanyKey, normalizeLegalForm, normalizeOpenTo, normalizePlatformId, normalizePresentationMode, normalizePresentationRole, normalizeWorkplaceTypes, openToTokenToValue, openToValueToToken, parseIntendedAudiences, parseLocationString, parsePresentationDuration, parseTalkRkey, partialDateSchema, pdsProviderFromApi, pickPrimaryPosition, presentationCsvRowToRecord, presentationDeliveryCsvRowToRecord, primaryVerification, profileToDimensionInputs, qualifiesAsOrg, relativeLuminance, resolveCardHealth, resolveCardUrl, resolveEmbed, resolveVerifierProvider, rgbToString, sanitizeDisplayText, sanitizeHandleInput, searchResultDisambiguation, selfLabelsSchema, singleDateExtractor, slugifyTitle, sortByActiveDateRange, sortByDateDesc, sortCertifications, sortEducation, sortHonors, sortLanguages, sortLanguagesByProficiency, sortPositions, sortProjects, sortPublications, streamAddressSchema, streamCardBodySchema, streamCardSubjectSchema, streamCardVMSchema, streamExternalLinkSchema, streamGeoSchema, streamMediaSchema, streamRichSegmentSchema, streamSourceSchema, streamThemeSchema, streamVerbSchema, stripHtmlToText, strongRefSchema, summarizePresentationDeliveries, toStreamCardVM, toStreamCardVMs, truncateGraphemes, uriSchema, verbForCollection, visibleItems, youtubeThumbnailUrl, youtubeVideoId };
4383
4544
  //# sourceMappingURL=index.js.map
4384
4545
  //# sourceMappingURL=index.js.map