@hippovideo/video-sdk 1.0.1-beta.5 → 1.0.1-beta.6
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/app/107-bundle-hippo-vbtuht5nikc-3fad86f11646f0cd2296.js +1 -0
- package/app/157-bundle-hippo-vbtuht5nikc-90f61daceef36d92d765.js +1 -0
- package/app/188-bundle-hippo-vbtuht5nikc-172cb81eed965b87561f.js +1 -0
- package/app/238-bundle-hippo-vbtuht5nikc-b61acbf599b47f15e1ff.js +1 -0
- package/app/239-bundle-hippo-vbtuht5nikc-29765f212c5b82b9b5c9.js +1 -0
- package/app/245-bundle-hippo-vbtuht5nikc-0bfc8b9021a77be20b2f.js +2 -0
- package/app/245-bundle-hippo-vbtuht5nikc-0bfc8b9021a77be20b2f.js.LICENSE.txt +125 -0
- package/app/283-bundle-hippo-vbtuht5nikc-095a8772f0b647aa12ab.js +1 -0
- package/app/307-bundle-hippo-vbtuht5nikc-46ceaa5b69d013f1a160.js +1 -0
- package/app/362-bundle-hippo-vbtuht5nikc-28bf93bdaaaca6e8a7d1.js +1 -0
- package/app/37-bundle-hippo-vbtuht5nikc-e813c079958693323e0d.js +1 -0
- package/app/442-bundle-hippo-vbtuht5nikc-a40760aafd35feb385c9.js +1 -0
- package/app/454-bundle-hippo-vbtuht5nikc-640863e104cb8d4444b5.js +1 -0
- package/app/487-bundle-hippo-vbtuht5nikc-a8a4683af31cd239bdfa.js +1 -0
- package/app/520-bundle-hippo-vbtuht5nikc-b9d0349596168ec77147.js +2 -0
- package/app/520-bundle-hippo-vbtuht5nikc-b9d0349596168ec77147.js.LICENSE.txt +19 -0
- package/app/525-bundle-hippo-vbtuht5nikc-9e22fb533f478807c968.js +1 -0
- package/app/528-bundle-hippo-vbtuht5nikc-e7c6879087f0bc809436.js +1 -0
- package/app/582-bundle-hippo-vbtuht5nikc-a9eac0a0dff2505acd77.js +1 -0
- package/app/605-bundle-hippo-vbtuht5nikc-3d6e46646daa3d9ffc77.js +1 -0
- package/app/611-bundle-hippo-vbtuht5nikc-f7d2a84b0b194f07a962.js +1 -0
- package/app/652-bundle-hippo-vbtuht5nikc-2446a2200548df5c62f3.js +1 -0
- package/app/66-bundle-hippo-vbtuht5nikc-d26ab7f3718ca8adb7b9.js +1 -0
- package/app/660-bundle-hippo-vbtuht5nikc-e4d99213565d245f92b3.js +1 -0
- package/app/692-bundle-hippo-vbtuht5nikc-98e2778801517c6d709f.js +1 -0
- package/app/751-bundle-hippo-vbtuht5nikc-d3e1ee01d1e1f8c54119.js +1 -0
- package/app/771-bundle-hippo-vbtuht5nikc-5a6062e3490ee9261b7e.js +1 -0
- package/app/780-bundle-hippo-vbtuht5nikc-4e7a932e3d7564dbfd08.js +1 -0
- package/app/795-bundle-hippo-vbtuht5nikc-fa5dee47c4eb61932834.js +1 -0
- package/app/823-bundle-hippo-vbtuht5nikc-2b0bbd0da340d8be2937.js +1 -0
- package/app/847-bundle-hippo-vbtuht5nikc-a7274fcf2651c06dc9cc.js +1 -0
- package/app/85-bundle-hippo-vbtuht5nikc-cee943b1271f7f21df76.js +1 -0
- package/app/869-bundle-hippo-vbtuht5nikc-13a727a5f462660b7c19.js +1 -0
- package/app/881-bundle-hippo-vbtuht5nikc-1e41c84326fac8446b66.js +1 -0
- package/app/892-bundle-hippo-vbtuht5nikc-6dc5a8967bfd8695b74a.js +1 -0
- package/app/907-bundle-hippo-vbtuht5nikc-6b974d5b2e5cef32804d.js +1 -0
- package/app/963-bundle-hippo-vbtuht5nikc-abde1d79679a282d1de2.js +1 -0
- package/app/99-bundle-hippo-vbtuht5nikc-175f908eae2d0a3eb3b5.js +1 -0
- package/app/hv_recorder.css +1 -0
- package/app/hv_recorder.js +2 -0
- package/app/hv_recorder.js.LICENSE.txt +283 -0
- package/app/webpack-common-manifest.json +40 -0
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunkHVRecorder=self.webpackChunkHVRecorder||[]).push([[107],{68759:function(e){e.exports={root:{videoLibrary:{videoListSearchEmpty:"No videos found",videoListTicketsEmpty:"No video assignments found",filterBy:"Filter By",allVideos:"All videos",myVideos:"My videos",search:"Search",searchNameAndTags:"Enter name or tag to search",createVideo:"CREATE VIDEO",createContent:"CREATE VIDEO",loadMore:"Load more",guestLinkInfo:"Share this link with students to let them record a quick video assignment",hide:"Hide",show:"Show",embedCode:"Embed Code",copyLink:"Copy url",myCustomerTickets:"My Assignments",allCustomerTickets:"All Assignments",pending:"Yet to evaluate",resolved:"Evaluated",videoTickets:"Video Assignments",videoProcessing:"Video is processing",viewDetails:"View Details",preview:"Preview",edit:"Edit",shares:"Shares",views:"Loads",plays:"Plays",export:"Export",download:"Download",magicWords:"Please wait while we do magic on your video",videoGuestSubmitFormMsg:"Show 'Submit Form' after creating video assignment",associateToCategory:"Associate to folder",associateToFolder:"Associate to folder",deleteSelected:"Delete Selected",noofviews:"No of Views",noofshares:"No of Shares",more:"More",videoStatusConfirm:"Are you sure want to change this video assignment status?",gdriveSyncCompleted:"Gdrive Sync Completed",gdriveSyncPending:"Gdrive Sync Pending",allVideosInCategory:"All videos in this folder",myVideosInCategory:"My videos in this folder",chooseCategory:"Click to choose folder",chooseGroups:"Choose Groups",atleastOneCategorySelection:"At least one folder should be selected",copyURL:"Copy URL",libEdit:"Edit",libShare:"Share",libDelete:"Delete",libAnalytics:"Analytics",recorded:"Recorded",imported:"Imported"},videoAssignment:{copyLink:"COPY LINK",copied:"COPIED!",CopyLinkMsg:"Copy the link below and share it with your students to let them submit video assignments",noassignment:"No video assignments submitted yet"}}}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunkHVRecorder=self.webpackChunkHVRecorder||[]).push([[157],{24556:function(e){e.exports={root:{profileSetting:{saveSuccess:"Successfully updated",firstName:"First Name",email:"E Mail",planName:"Plan Name",lastName:"Last Name",phone:"Phone",invalidPhone:"Please enter valid phone number with dial code",invalidTimeZone:"Please select valid timezone",apiKey:"API Key",save:"Save",copyApiKey:"Copy API Key",videoBrandLogo:"Video Player Logo",chooseImg:"Choose image",playerImgHelpText:"500 * 278 suits best",allowPermission:"I would like to receive marketing communication from Hippo Video",timeZone:"Time Zone",companyName:"Company Name",yourCompanyName:"Your company name",calendarLink:"Calendar Link",yourCalendarLink:"Add calendar link here",facebookProfile:"Facebook Profile",yourFacebookLink:"Add facebook link here",linkedin:"LinkedIn",yourLinkedinLink:"Add your linkedin link here",twitter:"Twitter",yourTwitterLink:"Add twitter link here",designation:"Title",yourDesignation:"Add your Title here",closeHippoAccount:"Close Hippo Account",linkErrorMsg:"Must begin with http:// or https://",fbLinkInfo:"This comes in handy when you add merge fields to your sales pages. The facebook link will be replaced with the information provided here.",twitterLinkInfo:"This comes in handy when you add merge fields to your sales pages. The twitter link will be replaced with the information provided here.",linkedinLinkInfo:"This comes in handy when you add merge fields to your sales pages. The linkedin link will be replaced with the information provided here.",calendarLinkInfo:"This comes in handy when you add merge fields to your sales pages. The calendar link will be replaced with the information provided here.",designationInfo:"This comes in handy when you add merge fields to your sales pages. The title will be replaced with the information provided here."},brandingSetting:{brandingTitle:"Branding Themes",brandingInfo:"You can add upto 5 themes",playerSetting:"Player settings",logoTitle:"Company Logo",logoPlayer:"Player Watermark",customDom:"Custom Domain",favTitle:"Favicon",subDom:"Sub Domain",changeBtn:"Change",deleteBtn:"Delete",addLogoLabel:"Change",addLinkTopBar:"Add link to topbar logo",addLinkToPlayerLogo:"Add link to player logo",changePageTitle:"Change page title",cusExten:".hippovideo.io",emaillabel:"Set Email Address, Name & Signature",fromEmail:"Email Address",teamName:"Name",emailConfigResetBtn:"Reset",emailConfigDefaultMail:"notifications@hippovideo.io",emailConfigDefaultname:"Hippo Video",emailConfigDefaultSignature:" \nRegards,\nTeam Hippo Video",emailConfigChangeBtn:"Change",signature:"Signature",emailConfigurationTitle:"Email Notification Configuration",emailConfigDef:"The platform will use the following configuration when it sends email notifications.",labelinfo:"Address and signature for email configuration",emailConfigTooltip:"When you receive email notifications from the platform, the below email configuration will be used.",brandingSave:"SAVE",brandingPreview:"VIEW PREVIEW",customDomainSetupText1:"To set up Custom Domain, you need to configure your domain with a unique DNS record provided by HippoVideo.",customDomainSetupText2:"Please enter your Video Portal URL and submit your request below. The certificate typically takes 2-3 working days.",playerTheme:"Play Button and Video Slider Theme",default:"Default",apply:"APPLY",cancel:"CANCEL",set:"SET",restoreDefaultTheme:"Restore default theme",enterUrl:"Enter URL",enterPageTitle:"Enter page title",subDomain:"Subdomain",customDomain:"Custom domain",color:"Color",colourPalette:"Color palette",colourPaletteTooltip:"Select your default brand color that appears on the video thumbnail or sales page",fontSettings:"Font settings",fontSettingsTooltip:"Select the default font style and font color. The text on your video, thumbnail, or sales page appears accordingly",brandColour:"Brand Color",setColour:"Set Color",addColour:"+ Add Color",addUpto:"You can add upto",brandColours:"brand colors",fontStyle:"Font Style",fontColour:"Font Color",lostDataText:"Are you sure you want to switch theme?<br>You have some unsaved changes that will be lost.",yesSwitchText:"Yes,Switch",yesCreateText:"Yes,Create",createlostDataText:"Are you sure you want to create a new theme?<br>You have some unsaved changes that will be lost.",CancelText:"Cancel",oneThemeNotDeleted:"Sorry, you should have atleast one theme in the account",deleteErrorText:"Sorry, You cannot delete a theme which is associated with a Profile. Remove from Profile to delete the theme",deletePopupText:"Are you sure you want to delete the selected theme?",yesText:"Yes",NoText:"No"},adminPanel:{cloneConfirmMsg:"Are you sure you want to clone the page?",deleteConfirmMsg:"Are you sure you want to delete?",setAccess:"Set Access",pageName:"Page name",visibility:"Visibility",everyOneInOrg:"Everyone in the Organization",specificUser:"Specific users",onlyMe:"Only me",selectedUsersEmpty:"Please select atleast one user.",usersLabel:"Users",permissions:"Permission",viewPermission:"View",editPermission:"Edit",panelTitle:"Branding",generalSettingsTitle:"General Settings",customSettingsTitle:"Custom Themed Templates",hippoTemplatesTitle:"Hippo Video Templates",categoriesTitle:"Categories",categoriesDesc:"Explore different Hippo Video templates to customize them based on color. Pick a template that best suits your needs and customize it for your team's use.",templateCategoriesDesc:"Explore the sales pages available below and choose the one that best suits your needs to share with your prospects.",showingAllTemplates:"Showing All Templates",selectAll:"Select All",clear:"Clear",delete:"Delete",searchTemplates:"Search Templates",emptyTemplateDesc:"Want to create a template with your own branding? We've got you covered! Just pick a template from Hippo Video Templates, customize it with your brand colors, buttons, and share it with your team.",emptyCategoryDesc:"No sales page template available. Contact your administrator to enable them for you",emptyTemplateBtnText:"CREATE CUSTOM TEMPLATES FROM HIPPO VIDEO TEMPLATES",backgroundColor:"Background Colour",headerBackground:"Header Background",color:"Color",image:"Image",bodyBackground1:"Body Background 1",bodyBackground2:"Body Background 2",fontFamily:"Font Family",buttons:"Buttons",buttonColor:"Button color ",change:"Change",addButton:"Add Button",next:"Next",save:"Save",cancel:"Cancel",colorTransparency:"Color Transparency",attachImage:"Attach Image",imagePosition:"Image Position",stretch:"Stretch",fit:"Fit",overlayColor:"Overlay Color",pageSettings:"Page Settings",templateTitle:"Template Title",description:"Description",thumbnail:"Thumbnail",youCanAddUpto:"You can add upto ",buttonMaximum:" buttons maximum",createPage:"CREATE PAGE",createCustomTemplate:"CREATE CUSTOM THEME",editAction:"Edit",cloneAction:"Clone",deleteAction:"Delete"},insuranceBanner:{title:"Want to bring the most value to your customer interactions?",p1:"Request your preferred template from our wide range and we will customize it specifically to suit your insurance needs.",p2:"Ready to guide buyer experience and convert prospects 3x times?",btnText:"Explore Templates"},portalSettings:{portalPageCustom:"Customize your portal settings",portalUserSetting:"Portal Page Customization",save:"Save",addLogo:"Add Logo",logoSize:"Recommended size 110x110",changeLogo:"Change Logo",logo:"Logo",name:"Name",namePlaceHolder:"Name",descrip:"Description",apikey:"API Key",descripPlaceHolder:"Description",portalCustomDomain:"Enable Custom Domain",copyUrl:".hippovideo.io",showReport:"Show report to learner",yes:"Yes",no:"No",showGroup:"Show groups to learner",enroll:"Click here to enroll",defaultGroup:"Default Groups",allowEnroll:"Allow self enroll",copyLink:"Copy Link",copySuccessMsg:"Successfully copied",updateSuccessMsg:"Successfully updated",copyError:"Press Ctrl/Cmd+C to copy",clickHereChangeLogo:"Click here to change logo",clickHereAddLogo:"Click here to add logo",customDomain:"Custom Domain",allowedIps:"Allowed IPs",addIp:"Add IP",invalidIpAddress:"Invalid ip address"},referral:{saveSuccess:"Successfully invited",inviteEmpty:"Please choose atleast a contact",reviewPopTitle:"Review and rate us on chrome store to unlock all features",sending:"SENDING..",invite:"INVITE",correctEmail:"Please enter correct email",enterEmail:"Please enter email address",referralTitle:"Get all premium features worth",forFree:"for FREE",referralDes:"Invite your peers & friends to Hippo Video and unlock exciting features. Does it get better? ",referralDis:"Hippo video under Lyceum Technologies Inc. is COPPA compliant and we request you to make sure that the email Ids you enter are of individuals above 18 years. We do not specifically market to children under the age of 13 years and students under the age of 18 years.",referralDes2:"Yes, your referrals get to enjoy premium features too.",moreWaysToInvite:"More ways to invite people to Hippo Video",inviteViaGmail:"INVITE VIA GMAIL",gmail:"Gmail",or:"or",copyLink:"COPY INVITE",copied:"COPIED",copyLinkToShare:"Copy invite to share directly to your friends or colleagues",eachReferral:"Each referral gives you more features. Enjoy all premium features worth",forYearFiveReferral:" for a year with 5 referrals.",referralNote:"Note: A review is equal to 1 referral.",clickhereToReview:"Click here to review",referral:"REFERRAL",markupTool:"Markup tools",recordingTime15:"15 min recording",noEndCard:"No End card",privacySetting:"Privacy setting",referralReview:" REFERRAL/REVIEW",validFor:"Valid for 90 days",firstReferral:"1st Referral features ",resolution:"1080p ",recordTime30:"30 min recording",importVideo:"Import Video",category:"Categorisation",simpleEdit:"Simple Edit",bandWidthOneGb:"1 GB bandwidth",secodReferral:"2nd Referral features",unlimitedRecording:"Unlimited - 2 hr recording",guestRecording:"Guest recording",proEdit:"Pro Edit",assignments:"Assignments",analytics:"Analytics",allPremiumFeature:"All premium features",worth:"Worth ",forOneYear:"for 1 year",viewCurrentStatus:"View the current status of Referrals",registred:"Registered",invited:"Invited",confirmed:"Confirmed",goToBlowLink:"Go to the below link",revieAndRate:"Review and rate us",uploadScreenShot:"Upload screenshot of your review",cliamYourReward:"Claim your reward",dragAndDrop:"Drag and drop",yourScrrenShot:"your screenshot here, or ",browse:"browse",reviewMessage:"Once you have uploaded the screenshot of the review, click DONE. Premium features will be applied to your account.",done:"DONE",cancel:"CANCEL",twoGbBandwidth:"2 GB Bandwidth",fourGbBandwidth:"4 GB Bandwidth",sixGbBandwidth:"6 GB Bandwidth",eightGbBandwidth:"8 GB Bandwidth",tenGbBandwidth:"10 GB Bandwidth",oneHourRecording:"1 hour recording",customiseReferralEmail:"Customize Referral Email",updateSuccess:"Successfully updated",subject:"Subject",subjectEmptyMsg:"subject can't be empty",subject1:"Hey, ",subject2:" says you are interested in exploring video creation tools",message:"Message",messageEmptyMsg:"Message can't be empty",signupLinkMust:"Referral signup link must be there",save:"save",referralEmail:"REFERRAL EMAIL",referralStatus:"STATUS",referralTime:"TIME",referralCodeApplied:"CODE APPLIED",referralYes:"Yes",referralNo:"No",orText:"OR",invitePeople:"Invite your contacts to Hippo Video",phReferralTitle1:"Refer and Get 600 Personalized Video Emails Credited to Your Account",phReferralTitle2:"Refer and Get 550 Personalized Video Emails Credited to Your Account",phReferralDes:"Refer Hippo Video to a maximum of 10 people. You get an additional 50 personalized video emails for every successful signup (Business emails only).",phReferralNote:"Note: Just confirm your email address after sign up to receive your email credits.",phInviteViaGmail:"INVITE CONTACTS",phReferralStats:"Referral Stats",phEmailReferred:"Contacts Referred",personalizedVideosUsed:"Personalized Videos Used",provideBusinessEmail:"Please provide business email",emailAlreadyExists:"This email already exists",selectBusinessEmail:"Please select business email only.",selectedEmailAlreadyExists:"One of the selected email already exists.",contactsSelected:"Contacts Selected"},videoScript:{selectAll:"Select all",share:"Share",filterBy:"Filter by",shared:"Shared",allScripts:"All scripts",myScripts:"My scripts",search:"Search",addNewScript:"ADD NEW SCRIPT",editScript:"EDIT SCRIPT",titleLabel:"Title",scriptLabel:"Script",editLabel:"Edit",cloneLabel:"Clone",readFull:"read full",visibilityLabel:"Visibility",everyOneInOrg:"Everyone in the Organization",specificUser:"Specific user",onlyMe:"Only me",titleEmpty:"Script title is empty.",scriptTextEmpty:"Script text is empty.",selectedUsersEmpty:"Please select atleast one user.",more:"More",deleteConfirm:"Do you want to delete this script?",cloneConfirm:"Do you want to clone this script?",bulkDeleteConfirm:"Do you want to delete the selected scripts?",usersLabel:"Users",shareVideoScript:"Share Video Script",noneOfTheScriptSelected:"No script selected",mergeFields:"MERGE FIELDS",customField:"Custom Field",sharedEmptyStateText:"No video scripts shared with you currently.",myScriptEmptyStateText:"Click here to add new script.",allScriptEmptyStateText:"No scripts shared with you currently. Click here to add new script."}}}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunkHVRecorder=self.webpackChunkHVRecorder||[]).push([[188],{32125:function(e,t,r){"use strict";r.r(t);var a=r(85614),i=r.n(a),n=r(65759),s=r(96814),o=r.n(s),m=r(98405),u=r.n(m),p=r(64542),c=r.n(p),S=r(80300);let d={},y={},l={},N={},T={},h=[],R={},A={};A[i().analytics.VIDEO_STATS]={seconds:10,calls:20},A[i().analytics.FIRST_FRAME_LOAD]={calls:1},A[i().analytics.UPDATE_BANDWIDTH]={calls:1},A[i().analytics.CLOSE_EVENT]={calls:1};let g={};g[i().kinesisDataStreamType.VIDEO_ANALYTICS]=JSON.parse(n).videoAnalyticsIdentity,g[i().kinesisDataStreamType.VIDEO_PAGE_REPORTS]=JSON.parse(n).videoAnalyticsIdentity,g[i().kinesisDataStreamType.PERFORMANCE_STATS]=JSON.parse(n).metricLogIdentity;let b={};b[i().kinesisDataStreamType.VIDEO_ANALYTICS]=JSON.parse(n).videoAnalyticsFallback,b[i().kinesisDataStreamType.VIDEO_PAGE_REPORTS]=JSON.parse(n).videoAnalyticsFallback;let C=1e3*(window.HippoVideo&&window.HippoVideo.AppRegistry&&window.HippoVideo.AppRegistry.KinesisApiTimeout?Number(window.HippoVideo.AppRegistry.KinesisApiTimeout):10);window.onbeforeunload=()=>{for(let e in d)try{d[e].clearCachedId()}catch(e){}};let O={setAnalayticsCognito(e,t){if(e&&t)try{if(d[e])try{d[e].clearCachedId()}catch(e){}d[e]=new(c())({IdentityId:t.identity_id,Logins:{"cognito-identity.amazonaws.com":t.token}},{region:t.region,httpOptions:{timeout:C}}),T[e]=t.stream_name,y[e]=t.region,N[e]=t.bean_stalk_environment,l[e]=null,this._initKinesis(e)}catch(e){console.log(e)}},pushRecord(e,t,r,a){if(!this.isValidKinesisRequest(r))return;a=null==a||a,r.stream_type=e,N[e]&&(r.bean_stalk_environment=N[e]),"HippoVideo"in window&&HippoVideo.Delivery.visitorId&&(r.visitor_id=HippoVideo.Delivery.visitorId),r.recordCreatedTime=(new Date).getTime()/1e3,r.recordCreatedFrom="client";let i=this;d[e]?i._pushRecord(e,t,r,a,(e=>{}),(n=>{i._refreshToken(e,r,(n=>{i.setAnalayticsCognito(e,n),i._pushRecord(e,t,r,a,(e=>{}),(a=>{i._fallback(e,t,r)}))}),(a=>{i._fallback(e,t,r)}))})):i._fallback(e,t,r)},isValidKinesisRequest(e){if(!A[e.type])return!0;let t=e.video_uuid?e.video_uuid:e.page_uuid;if(t){if(R[t]&&R[t][e.type])return!1;let r=(new Date).getTime(),a=A[e.type].seconds?r-1e3*A[e.type].seconds:0;return h.filter((r=>r.id==t&&r.type==e.type&&r.time>a)).length>A[e.type].calls?(R[t]||(R[t]={}),R[t][e.type]=!0,!1):(h.push({id:t,type:e.type,time:r}),!0)}return!1},_refreshToken(e,t,r,a){let n=g[e],s={};e==i().kinesisDataStreamType.VIDEO_ANALYTICS?s.token=t.token:e!=i().kinesisDataStreamType.VIDEO_PAGE_REPORTS&&e!=i().kinesisDataStreamType.PERFORMANCE_STATS||(s.page_id=t.page_id),S.default.call({method:"POST",url:n,data:s,success:e=>{e.status?r(e):a&&a()},error:a})},_pushRecord(e,t,r,a,i,n){if(l[e]){l[e].config.update({httpOptions:{xhrAsync:a}});let s={Data:JSON.stringify(r),PartitionKey:String(t),StreamName:T[e]};l[e].putRecord(s,((e,t)=>{e?n&&n(e):i(t)}))}else n&&n()},_initKinesis(e){l[e]||(l[e]=new(o())({credentials:d[e],region:y[e],httpOptions:{timeout:C}}))},_fallback(e,t,r){let a=b[e];if(a){let n={data:r,partition_key:t};e==i().kinesisDataStreamType.VIDEO_ANALYTICS?n.token=r.token:e==i().kinesisDataStreamType.VIDEO_PAGE_REPORTS&&(n.page_id=r.page_id),S.default.call({method:"POST",url:a,data:n,success:e=>{},error:e=>{}})}},pushRecordToDeliveryStream(e,t,r){let a={...e};var i={DeliveryStreamName:t,Record:{Data:"_"+HippoVideo.getZuluTimeInUTC()+"_\t"+JSON.stringify(r)}};new(u())({region:"us-east-1",credentials:new(c())({IdentityId:a.identity_id,Logins:{"cognito-identity.amazonaws.com":a.token}}),httpOptions:{timeout:C}}).putRecord(i,(function(e,t){e?console.log(e,e.stack):console.log(t)}))}};t.default=O},98347:function(e,t,r){"use strict";r.r(t);var a=r(4942),i=(r(9653),r(57327),r(41539),r(47941),r(82526),r(38880),r(54747),r(49337),r(85614)),n=r.n(i),s=r(65759),o=r(96814),m=r.n(o),u=r(98405),p=r.n(u),c=r(64542),S=r.n(c),d=r(80300);function y(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}var l={},N={},T={},h={},R={},A=[],g={},b={};b[n().analytics.VIDEO_STATS]={seconds:10,calls:20},b[n().analytics.FIRST_FRAME_LOAD]={calls:1},b[n().analytics.UPDATE_BANDWIDTH]={calls:1},b[n().analytics.CLOSE_EVENT]={calls:1};var C={};C[n().kinesisDataStreamType.VIDEO_ANALYTICS]=JSON.parse(s).videoAnalyticsIdentity,C[n().kinesisDataStreamType.VIDEO_PAGE_REPORTS]=JSON.parse(s).videoAnalyticsIdentity,C[n().kinesisDataStreamType.PERFORMANCE_STATS]=JSON.parse(s).metricLogIdentity;var O={};O[n().kinesisDataStreamType.VIDEO_ANALYTICS]=JSON.parse(s).videoAnalyticsFallback,O[n().kinesisDataStreamType.VIDEO_PAGE_REPORTS]=JSON.parse(s).videoAnalyticsFallback;var P=1e3*(window.HippoVideo&&window.HippoVideo.AppRegistry&&window.HippoVideo.AppRegistry.KinesisApiTimeout?Number(window.HippoVideo.AppRegistry.KinesisApiTimeout):10);window.onbeforeunload=function(){for(var e in l)try{l[e].clearCachedId()}catch(e){}};var _={setAnalayticsCognito:function(e,t){if(e&&t)try{if(l[e])try{l[e].clearCachedId()}catch(e){}l[e]=new(S())({IdentityId:t.identity_id,Logins:{"cognito-identity.amazonaws.com":t.token}},{region:t.region,httpOptions:{timeout:P}}),R[e]=t.stream_name,N[e]=t.region,h[e]=t.bean_stalk_environment,T[e]=null,this._initKinesis(e)}catch(e){console.log(e)}},pushRecord:function(e,t,r,a){if(this.isValidKinesisRequest(r)){a=null==a||a,r.stream_type=e,h[e]&&(r.bean_stalk_environment=h[e]),"HippoVideo"in window&&HippoVideo.Delivery.visitorId&&(r.visitor_id=HippoVideo.Delivery.visitorId),r.recordCreatedTime=(new Date).getTime()/1e3,r.recordCreatedFrom="client";var i=this;l[e]?i._pushRecord(e,t,r,a,(function(e){}),(function(n){i._refreshToken(e,r,(function(n){i.setAnalayticsCognito(e,n),i._pushRecord(e,t,r,a,(function(e){}),(function(a){i._fallback(e,t,r)}))}),(function(a){i._fallback(e,t,r)}))})):i._fallback(e,t,r)}},isValidKinesisRequest:function(e){if(!b[e.type])return!0;var t=e.video_uuid?e.video_uuid:e.page_uuid;if(t){if(g[t]&&g[t][e.type])return!1;var r=(new Date).getTime(),a=b[e.type].seconds?r-1e3*b[e.type].seconds:0;return A.filter((function(r){return r.id==t&&r.type==e.type&&r.time>a})).length>b[e.type].calls?(g[t]||(g[t]={}),g[t][e.type]=!0,!1):(A.push({id:t,type:e.type,time:r}),!0)}return!1},_refreshToken:function(e,t,r,a){var i=C[e],s={};e==n().kinesisDataStreamType.VIDEO_ANALYTICS?s.token=t.token:e!=n().kinesisDataStreamType.VIDEO_PAGE_REPORTS&&e!=n().kinesisDataStreamType.PERFORMANCE_STATS||(s.page_id=t.page_id),d.default.call({method:"POST",url:i,data:s,success:function(e){e.status?r(e):a&&a()},error:a})},_pushRecord:function(e,t,r,a,i,n){if(T[e]){T[e].config.update({httpOptions:{xhrAsync:a}});var s={Data:JSON.stringify(r),PartitionKey:String(t),StreamName:R[e]};T[e].putRecord(s,(function(e,t){e?n&&n(e):i(t)}))}else n&&n()},_initKinesis:function(e){T[e]||(T[e]=new(m())({credentials:l[e],region:N[e],httpOptions:{timeout:P}}))},_fallback:function(e,t,r){var a=O[e];if(a){var i={data:r,partition_key:t};e==n().kinesisDataStreamType.VIDEO_ANALYTICS?i.token=r.token:e==n().kinesisDataStreamType.VIDEO_PAGE_REPORTS&&(i.page_id=r.page_id),d.default.call({method:"POST",url:a,data:i,success:function(e){},error:function(e){}})}},pushRecordToDeliveryStream:function(e,t,r){var i=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?y(Object(r),!0).forEach((function(t){(0,a.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):y(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},e),n={DeliveryStreamName:t,Record:{Data:"_"+HippoVideo.getZuluTimeInUTC()+"_\t"+JSON.stringify(r)}};new(p())({region:"us-east-1",credentials:new(S())({IdentityId:i.identity_id,Logins:{"cognito-identity.amazonaws.com":i.token}}),httpOptions:{timeout:P}}).putRecord(n,(function(e,t){e?console.log(e,e.stack):console.log(t)}))}};t.default=_},96814:function(e,t,r){r(17321);var a=r(79614),i=a.Service,n=a.apiLoader;n.services.kinesis={},a.Kinesis=i.defineService("kinesis",["2013-12-02"]),Object.defineProperty(n.services.kinesis,"2013-12-02",{get:function(){var e=r(648);return e.paginators=r(10424).o,e.waiters=r(54059).V,e},enumerable:!0,configurable:!0}),e.exports=a.Kinesis},648:function(e){"use strict";e.exports=JSON.parse('{"version":"2.0","metadata":{"apiVersion":"2013-12-02","endpointPrefix":"kinesis","jsonVersion":"1.1","protocol":"json","protocolSettings":{"h2":"eventstream"},"serviceAbbreviation":"Kinesis","serviceFullName":"Amazon Kinesis","serviceId":"Kinesis","signatureVersion":"v4","targetPrefix":"Kinesis_20131202","uid":"kinesis-2013-12-02"},"operations":{"AddTagsToStream":{"input":{"type":"structure","required":["Tags"],"members":{"StreamName":{},"Tags":{"type":"map","key":{},"value":{}},"StreamARN":{"contextParam":{"name":"StreamARN"}}}},"staticContextParams":{"OperationType":{"value":"control"}}},"CreateStream":{"input":{"type":"structure","required":["StreamName"],"members":{"StreamName":{},"ShardCount":{"type":"integer"},"StreamModeDetails":{"shape":"S9"}}}},"DecreaseStreamRetentionPeriod":{"input":{"type":"structure","required":["RetentionPeriodHours"],"members":{"StreamName":{},"RetentionPeriodHours":{"type":"integer"},"StreamARN":{"contextParam":{"name":"StreamARN"}}}},"staticContextParams":{"OperationType":{"value":"control"}}},"DeleteStream":{"input":{"type":"structure","members":{"StreamName":{},"EnforceConsumerDeletion":{"type":"boolean"},"StreamARN":{"contextParam":{"name":"StreamARN"}}}},"staticContextParams":{"OperationType":{"value":"control"}}},"DeregisterStreamConsumer":{"input":{"type":"structure","members":{"StreamARN":{"contextParam":{"name":"StreamARN"}},"ConsumerName":{},"ConsumerARN":{"contextParam":{"name":"ConsumerARN"}}}},"staticContextParams":{"OperationType":{"value":"control"}}},"DescribeLimits":{"input":{"type":"structure","members":{}},"output":{"type":"structure","required":["ShardLimit","OpenShardCount","OnDemandStreamCount","OnDemandStreamCountLimit"],"members":{"ShardLimit":{"type":"integer"},"OpenShardCount":{"type":"integer"},"OnDemandStreamCount":{"type":"integer"},"OnDemandStreamCountLimit":{"type":"integer"}}}},"DescribeStream":{"input":{"type":"structure","members":{"StreamName":{},"Limit":{"type":"integer"},"ExclusiveStartShardId":{},"StreamARN":{"contextParam":{"name":"StreamARN"}}}},"output":{"type":"structure","required":["StreamDescription"],"members":{"StreamDescription":{"type":"structure","required":["StreamName","StreamARN","StreamStatus","Shards","HasMoreShards","RetentionPeriodHours","StreamCreationTimestamp","EnhancedMonitoring"],"members":{"StreamName":{},"StreamARN":{},"StreamStatus":{},"StreamModeDetails":{"shape":"S9"},"Shards":{"shape":"St"},"HasMoreShards":{"type":"boolean"},"RetentionPeriodHours":{"type":"integer"},"StreamCreationTimestamp":{"type":"timestamp"},"EnhancedMonitoring":{"shape":"S10"},"EncryptionType":{},"KeyId":{}}}}},"staticContextParams":{"OperationType":{"value":"control"}}},"DescribeStreamConsumer":{"input":{"type":"structure","members":{"StreamARN":{"contextParam":{"name":"StreamARN"}},"ConsumerName":{},"ConsumerARN":{"contextParam":{"name":"ConsumerARN"}}}},"output":{"type":"structure","required":["ConsumerDescription"],"members":{"ConsumerDescription":{"type":"structure","required":["ConsumerName","ConsumerARN","ConsumerStatus","ConsumerCreationTimestamp","StreamARN"],"members":{"ConsumerName":{},"ConsumerARN":{},"ConsumerStatus":{},"ConsumerCreationTimestamp":{"type":"timestamp"},"StreamARN":{}}}}},"staticContextParams":{"OperationType":{"value":"control"}}},"DescribeStreamSummary":{"input":{"type":"structure","members":{"StreamName":{},"StreamARN":{"contextParam":{"name":"StreamARN"}}}},"output":{"type":"structure","required":["StreamDescriptionSummary"],"members":{"StreamDescriptionSummary":{"type":"structure","required":["StreamName","StreamARN","StreamStatus","RetentionPeriodHours","StreamCreationTimestamp","EnhancedMonitoring","OpenShardCount"],"members":{"StreamName":{},"StreamARN":{},"StreamStatus":{},"StreamModeDetails":{"shape":"S9"},"RetentionPeriodHours":{"type":"integer"},"StreamCreationTimestamp":{"type":"timestamp"},"EnhancedMonitoring":{"shape":"S10"},"EncryptionType":{},"KeyId":{},"OpenShardCount":{"type":"integer"},"ConsumerCount":{"type":"integer"}}}}},"staticContextParams":{"OperationType":{"value":"control"}}},"DisableEnhancedMonitoring":{"input":{"type":"structure","required":["ShardLevelMetrics"],"members":{"StreamName":{},"ShardLevelMetrics":{"shape":"S12"},"StreamARN":{"contextParam":{"name":"StreamARN"}}}},"output":{"shape":"S1f"},"staticContextParams":{"OperationType":{"value":"control"}}},"EnableEnhancedMonitoring":{"input":{"type":"structure","required":["ShardLevelMetrics"],"members":{"StreamName":{},"ShardLevelMetrics":{"shape":"S12"},"StreamARN":{"contextParam":{"name":"StreamARN"}}}},"output":{"shape":"S1f"},"staticContextParams":{"OperationType":{"value":"control"}}},"GetRecords":{"input":{"type":"structure","required":["ShardIterator"],"members":{"ShardIterator":{},"Limit":{"type":"integer"},"StreamARN":{"contextParam":{"name":"StreamARN"}}}},"output":{"type":"structure","required":["Records"],"members":{"Records":{"type":"list","member":{"type":"structure","required":["SequenceNumber","Data","PartitionKey"],"members":{"SequenceNumber":{},"ApproximateArrivalTimestamp":{"type":"timestamp"},"Data":{"type":"blob"},"PartitionKey":{},"EncryptionType":{}}}},"NextShardIterator":{},"MillisBehindLatest":{"type":"long"},"ChildShards":{"type":"list","member":{"type":"structure","required":["ShardId","ParentShards","HashKeyRange"],"members":{"ShardId":{},"ParentShards":{"type":"list","member":{}},"HashKeyRange":{"shape":"Sv"}}}}}},"staticContextParams":{"OperationType":{"value":"data"}}},"GetShardIterator":{"input":{"type":"structure","required":["ShardId","ShardIteratorType"],"members":{"StreamName":{},"ShardId":{},"ShardIteratorType":{},"StartingSequenceNumber":{},"Timestamp":{"type":"timestamp"},"StreamARN":{"contextParam":{"name":"StreamARN"}}}},"output":{"type":"structure","members":{"ShardIterator":{}}},"staticContextParams":{"OperationType":{"value":"data"}}},"IncreaseStreamRetentionPeriod":{"input":{"type":"structure","required":["RetentionPeriodHours"],"members":{"StreamName":{},"RetentionPeriodHours":{"type":"integer"},"StreamARN":{"contextParam":{"name":"StreamARN"}}}},"staticContextParams":{"OperationType":{"value":"control"}}},"ListShards":{"input":{"type":"structure","members":{"StreamName":{},"NextToken":{},"ExclusiveStartShardId":{},"MaxResults":{"type":"integer"},"StreamCreationTimestamp":{"type":"timestamp"},"ShardFilter":{"type":"structure","required":["Type"],"members":{"Type":{},"ShardId":{},"Timestamp":{"type":"timestamp"}}},"StreamARN":{"contextParam":{"name":"StreamARN"}}}},"output":{"type":"structure","members":{"Shards":{"shape":"St"},"NextToken":{}}},"staticContextParams":{"OperationType":{"value":"control"}}},"ListStreamConsumers":{"input":{"type":"structure","required":["StreamARN"],"members":{"StreamARN":{"contextParam":{"name":"StreamARN"}},"NextToken":{},"MaxResults":{"type":"integer"},"StreamCreationTimestamp":{"type":"timestamp"}}},"output":{"type":"structure","members":{"Consumers":{"type":"list","member":{"shape":"S27"}},"NextToken":{}}},"staticContextParams":{"OperationType":{"value":"control"}}},"ListStreams":{"input":{"type":"structure","members":{"Limit":{"type":"integer"},"ExclusiveStartStreamName":{},"NextToken":{}}},"output":{"type":"structure","required":["StreamNames","HasMoreStreams"],"members":{"StreamNames":{"type":"list","member":{}},"HasMoreStreams":{"type":"boolean"},"NextToken":{},"StreamSummaries":{"type":"list","member":{"type":"structure","required":["StreamName","StreamARN","StreamStatus"],"members":{"StreamName":{},"StreamARN":{},"StreamStatus":{},"StreamModeDetails":{"shape":"S9"},"StreamCreationTimestamp":{"type":"timestamp"}}}}}}},"ListTagsForStream":{"input":{"type":"structure","members":{"StreamName":{},"ExclusiveStartTagKey":{},"Limit":{"type":"integer"},"StreamARN":{"contextParam":{"name":"StreamARN"}}}},"output":{"type":"structure","required":["Tags","HasMoreTags"],"members":{"Tags":{"type":"list","member":{"type":"structure","required":["Key"],"members":{"Key":{},"Value":{}}}},"HasMoreTags":{"type":"boolean"}}},"staticContextParams":{"OperationType":{"value":"control"}}},"MergeShards":{"input":{"type":"structure","required":["ShardToMerge","AdjacentShardToMerge"],"members":{"StreamName":{},"ShardToMerge":{},"AdjacentShardToMerge":{},"StreamARN":{"contextParam":{"name":"StreamARN"}}}},"staticContextParams":{"OperationType":{"value":"control"}}},"PutRecord":{"input":{"type":"structure","required":["Data","PartitionKey"],"members":{"StreamName":{},"Data":{"type":"blob"},"PartitionKey":{},"ExplicitHashKey":{},"SequenceNumberForOrdering":{},"StreamARN":{"contextParam":{"name":"StreamARN"}}}},"output":{"type":"structure","required":["ShardId","SequenceNumber"],"members":{"ShardId":{},"SequenceNumber":{},"EncryptionType":{}}},"staticContextParams":{"OperationType":{"value":"data"}}},"PutRecords":{"input":{"type":"structure","required":["Records"],"members":{"Records":{"type":"list","member":{"type":"structure","required":["Data","PartitionKey"],"members":{"Data":{"type":"blob"},"ExplicitHashKey":{},"PartitionKey":{}}}},"StreamName":{},"StreamARN":{"contextParam":{"name":"StreamARN"}}}},"output":{"type":"structure","required":["Records"],"members":{"FailedRecordCount":{"type":"integer"},"Records":{"type":"list","member":{"type":"structure","members":{"SequenceNumber":{},"ShardId":{},"ErrorCode":{},"ErrorMessage":{}}}},"EncryptionType":{}}},"staticContextParams":{"OperationType":{"value":"data"}}},"RegisterStreamConsumer":{"input":{"type":"structure","required":["StreamARN","ConsumerName"],"members":{"StreamARN":{"contextParam":{"name":"StreamARN"}},"ConsumerName":{}}},"output":{"type":"structure","required":["Consumer"],"members":{"Consumer":{"shape":"S27"}}},"staticContextParams":{"OperationType":{"value":"control"}}},"RemoveTagsFromStream":{"input":{"type":"structure","required":["TagKeys"],"members":{"StreamName":{},"TagKeys":{"type":"list","member":{}},"StreamARN":{"contextParam":{"name":"StreamARN"}}}},"staticContextParams":{"OperationType":{"value":"control"}}},"SplitShard":{"input":{"type":"structure","required":["ShardToSplit","NewStartingHashKey"],"members":{"StreamName":{},"ShardToSplit":{},"NewStartingHashKey":{},"StreamARN":{"contextParam":{"name":"StreamARN"}}}},"staticContextParams":{"OperationType":{"value":"control"}}},"StartStreamEncryption":{"input":{"type":"structure","required":["EncryptionType","KeyId"],"members":{"StreamName":{},"EncryptionType":{},"KeyId":{},"StreamARN":{"contextParam":{"name":"StreamARN"}}}},"staticContextParams":{"OperationType":{"value":"control"}}},"StopStreamEncryption":{"input":{"type":"structure","required":["EncryptionType","KeyId"],"members":{"StreamName":{},"EncryptionType":{},"KeyId":{},"StreamARN":{"contextParam":{"name":"StreamARN"}}}},"staticContextParams":{"OperationType":{"value":"control"}}},"UpdateShardCount":{"input":{"type":"structure","required":["TargetShardCount","ScalingType"],"members":{"StreamName":{},"TargetShardCount":{"type":"integer"},"ScalingType":{},"StreamARN":{"contextParam":{"name":"StreamARN"}}}},"output":{"type":"structure","members":{"StreamName":{},"CurrentShardCount":{"type":"integer"},"TargetShardCount":{"type":"integer"},"StreamARN":{}}},"staticContextParams":{"OperationType":{"value":"control"}}},"UpdateStreamMode":{"input":{"type":"structure","required":["StreamARN","StreamModeDetails"],"members":{"StreamARN":{"contextParam":{"name":"StreamARN"}},"StreamModeDetails":{"shape":"S9"}}},"staticContextParams":{"OperationType":{"value":"control"}}}},"shapes":{"S9":{"type":"structure","required":["StreamMode"],"members":{"StreamMode":{}}},"St":{"type":"list","member":{"type":"structure","required":["ShardId","HashKeyRange","SequenceNumberRange"],"members":{"ShardId":{},"ParentShardId":{},"AdjacentParentShardId":{},"HashKeyRange":{"shape":"Sv"},"SequenceNumberRange":{"type":"structure","required":["StartingSequenceNumber"],"members":{"StartingSequenceNumber":{},"EndingSequenceNumber":{}}}}}},"Sv":{"type":"structure","required":["StartingHashKey","EndingHashKey"],"members":{"StartingHashKey":{},"EndingHashKey":{}}},"S10":{"type":"list","member":{"type":"structure","members":{"ShardLevelMetrics":{"shape":"S12"}}}},"S12":{"type":"list","member":{}},"S1f":{"type":"structure","members":{"StreamName":{},"CurrentShardLevelMetrics":{"shape":"S12"},"DesiredShardLevelMetrics":{"shape":"S12"},"StreamARN":{}}},"S27":{"type":"structure","required":["ConsumerName","ConsumerARN","ConsumerStatus","ConsumerCreationTimestamp"],"members":{"ConsumerName":{},"ConsumerARN":{},"ConsumerStatus":{},"ConsumerCreationTimestamp":{"type":"timestamp"}}}}}')},10424:function(e){"use strict";e.exports=JSON.parse('{"o":{"DescribeStream":{"input_token":"ExclusiveStartShardId","limit_key":"Limit","more_results":"StreamDescription.HasMoreShards","output_token":"StreamDescription.Shards[-1].ShardId","result_key":"StreamDescription.Shards"},"ListStreamConsumers":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken"},"ListStreams":{"input_token":"NextToken","limit_key":"Limit","more_results":"HasMoreStreams","output_token":"NextToken","result_key":["StreamNames","StreamSummaries"]}}}')},54059:function(e){"use strict";e.exports=JSON.parse('{"V":{"StreamExists":{"delay":10,"operation":"DescribeStream","maxAttempts":18,"acceptors":[{"expected":"ACTIVE","matcher":"path","state":"success","argument":"StreamDescription.StreamStatus"}]},"StreamNotExists":{"delay":10,"operation":"DescribeStream","maxAttempts":18,"acceptors":[{"expected":"ResourceNotFoundException","matcher":"error","state":"success"}]}}}')}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunkHVRecorder=self.webpackChunkHVRecorder||[]).push([[238],{54798:function(){}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunkHVRecorder=self.webpackChunkHVRecorder||[]).push([[239],{84105:function(){}}]);
|