{"version":3,"file":"ProductSchema.BVdTagIX.mjs","names":[],"sources":["https:/framerusercontent.com/modules/ZkG3eT7iYYKDV4vOY3Gq/7ahevkfT5Ehho5AxQyF6/ProductSchema.js"],"sourcesContent":["// Update withProductSchema so it only injects SoftwareApplication JSON-LD for /ozliveness and /ozbiometry, removes any existing oz-product-schema script on mount/update, keeps oz-software-application-schema updated, preserves wrapped component behavior, and dispatches oz:product-schema-updated.\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{forwardRef,useEffect}from\"react\";const PRODUCT_SCRIPT_ID=\"oz-product-schema\";const SOFTWARE_APP_SCRIPT_ID=\"oz-software-application-schema\";const organization={\"@type\":\"Organization\",name:\"Oz Forensics\",url:\"https://ozforensics.com/\"};const common={applicationCategory:\"SecurityApplication\",operatingSystem:\"Web, iOS, Android, API\"};const productConfigs={ozliveness:{name:\"Oz Liveness\",description:\"Oz Liveness is passive and active liveness detection software for identity verification, helping organizations confirm that a real live person is present and protect onboarding and authentication flows from deepfakes, spoofing, injection attacks, presentation attacks, masks, photos, and videos.\",category:\"Liveness Detection Software\",featureList:[\"Passive liveness detection with short video checks\",\"Active liveness detection for higher-risk flows\",\"Deepfake, spoofing, injection, and presentation attack detection\",\"Original camera verification to detect video stream spoofing and virtual camera attacks\",\"Real-time analysis of lighting, blur, glare, and face position\",\"AI trained on real-world spoofing attempts including 3D masks\",\"Certified fraud prevention aligned with ISO 30137-3 testing through iBeta\",\"Designed for KYC, identity verification, authentication, and fraud prevention\"]},ozbiometry:{name:\"Oz Biometry\",description:\"Oz Biometry is facial recognition and face verification software for secure identity verification, offering NIST-tested face matching with 1:1 face verification and 1:N face identification for KYC, authentication, fraud prevention, and border control use cases.\",category:\"Facial Recognition Software\",featureList:[\"1:1 face verification matching a selfie to an ID photo\",\"1:N face identification across large databases\",\"NIST-tested face matching with 99.99% accuracy claim as stated on the page\",\"Best-shot detection from video\",\"Face comparison between selfie/video and document photo\",\"Biometric database search for block and safe lists\",\"KYC identity verification and authentication support\",\"Fraud prevention and border control use cases\"]}};function resolveCanonicalUrl(){if(typeof window===\"undefined\"||typeof document===\"undefined\")return\"\";const canonicalNode=document.querySelector('link[rel=\"canonical\"]');const canonicalHref=canonicalNode?.href?.trim();return canonicalHref||window.location.href;}function upsertJsonLdScript(id,schemaObject){if(typeof document===\"undefined\")return;const existingScript=document.getElementById(id);const scriptElement=existingScript instanceof HTMLScriptElement?existingScript:document.createElement(\"script\");scriptElement.id=id;scriptElement.type=\"application/ld+json\";scriptElement.text=JSON.stringify(schemaObject);if(!scriptElement.parentNode){document.head.appendChild(scriptElement);}}function removeScriptById(id){if(typeof document===\"undefined\")return;const scriptElement=document.getElementById(id);if(scriptElement?.parentNode){scriptElement.parentNode.removeChild(scriptElement);}}function getProductFromPath(pathname){const normalizedPath=pathname.toLowerCase();if(normalizedPath.includes(\"/ozliveness\"))return\"ozliveness\";if(normalizedPath.includes(\"/ozbiometry\"))return\"ozbiometry\";return null;}export function withProductSchema(Component){return /*#__PURE__*/forwardRef(function ProductSchemaOverride(props,ref){useEffect(()=>{if(typeof window===\"undefined\"||typeof document===\"undefined\")return;const productKey=getProductFromPath(window.location.pathname);const canonicalUrl=resolveCanonicalUrl();const currentUrl=canonicalUrl||window.location.href;if(!productKey){removeScriptById(PRODUCT_SCRIPT_ID);removeScriptById(SOFTWARE_APP_SCRIPT_ID);if(typeof window.CustomEvent===\"function\"){window.dispatchEvent(new CustomEvent(\"oz:product-schema-updated\",{detail:{product:null}}));}return;}const product=productConfigs[productKey];const offers={\"@type\":\"Offer\",price:\"0\",priceCurrency:\"USD\",availability:\"https://schema.org/InStock\",url:currentUrl};const softwareApplicationSchema={\"@context\":\"https://schema.org\",\"@type\":\"SoftwareApplication\",name:product.name,description:product.description,url:currentUrl,additionalType:\"https://schema.org/SoftwareApplication\",category:product.category,applicationCategory:common.applicationCategory,operatingSystem:common.operatingSystem,featureList:product.featureList,publisher:organization,offers};removeScriptById(PRODUCT_SCRIPT_ID);upsertJsonLdScript(SOFTWARE_APP_SCRIPT_ID,softwareApplicationSchema);if(typeof window.CustomEvent===\"function\"){window.dispatchEvent(new CustomEvent(\"oz:product-schema-updated\",{detail:{product:product.name}}));}});return /*#__PURE__*/_jsx(Component,{ref:ref,...props});});}\nexport const __FramerMetadata__ = {\"exports\":{\"withProductSchema\":{\"type\":\"reactHoc\",\"name\":\"withProductSchema\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ProductSchema.map"],"mappings":"kIACwlE,SAAS,GAAqB,CAA4L,OAAjL,IAAS,QAAa,OAAO,SAAW,IAAkB,GAAuB,SAAS,cAAc,wBAAwB,EAAoC,MAAM,MAAM,EAAuB,EAAO,SAAS,KAAM,SAAS,EAAmB,EAAG,EAAa,CAAC,GAAG,OAAO,SAAW,IAAY,OAAO,IAAM,EAAe,SAAS,eAAe,EAAG,CAAO,EAAc,aAA0B,kBAAkB,EAAe,SAAS,cAAc,SAAS,CAAC,EAAc,GAAG,EAAG,EAAc,KAAK,sBAAsB,EAAc,KAAK,KAAK,UAAU,EAAa,CAAK,EAAc,YAAY,SAAS,KAAK,YAAY,EAAc,CAAG,SAAS,EAAiB,EAAG,CAAC,GAAG,OAAO,SAAW,IAAY,OAAO,IAAM,EAAc,SAAS,eAAe,EAAG,CAAI,GAAe,YAAY,EAAc,WAAW,YAAY,EAAc,CAAG,SAAS,EAAmB,EAAS,CAAC,IAAM,EAAe,EAAS,aAAa,CAA2H,OAAvH,EAAe,SAAS,cAAc,CAAO,aAAgB,EAAe,SAAS,cAAc,CAAO,aAAoB,KAAM,SAAgB,EAAkB,EAAU,CAAC,OAAoB,EAAW,SAA+B,EAAM,EAAI,CAA6vC,OAA5vC,MAAc,CAAC,GAAU,IAAS,QAAa,OAAO,SAAW,IAAY,OAAO,IAAM,EAAW,EAAmB,EAAO,SAAS,SAAS,CAAgD,EAA5B,GAAqB,EAAgC,EAAO,SAAS,KAAK,GAAG,CAAC,EAAW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