@clickview/lite 0.0.38-dev.0 → 0.0.38-rc.0
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/dist/bundles.json +2 -2
- package/dist/css/101-lite-30208db4b8.chunk.css +2 -0
- package/dist/css/102-lite-30208db4b8.chunk.css +2 -0
- package/dist/css/14-lite-02a1e95d04.chunk.css +10 -0
- package/dist/css/{37-lite-509f1b5cdc.chunk.css → 35-lite-ad8aba5ac9.chunk.css} +6 -0
- package/dist/css/{36-lite-e5df365569.chunk.css → 36-lite-d95cb1a63e.chunk.css} +6 -0
- package/dist/css/{40-lite-1af1f98cb7.chunk.css → 39-lite-51a49b59c3.chunk.css} +2 -0
- package/dist/css/58-lite-30871ec556.chunk.css +8 -0
- package/dist/css/67-lite-91dd21fc10.chunk.css +8 -0
- package/dist/css/76-lite-b95731c59d.chunk.css +6 -0
- package/dist/css/83-lite-30208db4b8.chunk.css +2 -0
- package/dist/css/86-lite-93ad71f0d6.chunk.css +4 -0
- package/dist/css/90-lite-d286b282d6.chunk.css +4 -0
- package/dist/css/91-lite-40eedf96d7.chunk.css +4 -0
- package/dist/en.json +1 -1
- package/dist/scripts/{0-8ba86b9da2-lite.chunk.js → 0-df35c1ae97-lite.chunk.js} +1 -1
- package/dist/scripts/{1-b9a4a06758-lite.chunk.js → 1-68f75eb4b6-lite.chunk.js} +3 -3
- package/dist/scripts/{10-2f0f877392-lite.chunk.js → 10-9756a6d53c-lite.chunk.js} +1 -1
- package/dist/scripts/100-d39150cfbb-lite.chunk.js +1 -0
- package/dist/scripts/101-da56740119-lite.chunk.js +1 -0
- package/dist/scripts/102-6475c8df91-lite.chunk.js +1 -0
- package/dist/scripts/103-d7ccdcf93b-lite.chunk.js +1 -0
- package/dist/scripts/104-cf503152a1-lite.chunk.js +1 -0
- package/dist/scripts/105-6b9cafd400-lite.chunk.js +1 -0
- package/dist/scripts/106-98787bcc7d-lite.chunk.js +1 -0
- package/dist/scripts/107-550804c15d-lite.chunk.js +1 -0
- package/dist/scripts/108-f0a8307beb-lite.chunk.js +1 -0
- package/dist/scripts/{100-a7ba536e62-lite.chunk.js → 109-de64253d68-lite.chunk.js} +1 -1
- package/dist/scripts/{11-1170aad9d3-lite.chunk.js → 11-52091efc76-lite.chunk.js} +1 -1
- package/dist/scripts/{101-3c0a0e255e-lite.chunk.js → 110-42415cf8f4-lite.chunk.js} +1 -1
- package/dist/scripts/{102-b1f605d322-lite.chunk.js → 111-a1c2ff9f0b-lite.chunk.js} +1 -1
- package/dist/scripts/{103-52a73e7f37-lite.chunk.js → 112-9cde7462c7-lite.chunk.js} +1 -1
- package/dist/scripts/{104-0bbe4ec98d-lite.chunk.js → 113-70f14b552d-lite.chunk.js} +1 -1
- package/dist/scripts/{105-749d2fae78-lite.chunk.js → 114-82ad10de9b-lite.chunk.js} +1 -1
- package/dist/scripts/{106-9de9810708-lite.chunk.js → 115-f2bfc0a327-lite.chunk.js} +1 -1
- package/dist/scripts/{107-3fdc324d98-lite.chunk.js → 116-8dda355460-lite.chunk.js} +1 -1
- package/dist/scripts/{108-891a969436-lite.chunk.js → 117-43b1b44074-lite.chunk.js} +1 -1
- package/dist/scripts/{109-753e1b0830-lite.chunk.js → 118-38f7c34c11-lite.chunk.js} +1 -1
- package/dist/scripts/119-d004967918-lite.chunk.js +1 -0
- package/dist/scripts/{12-08658085c2-lite.chunk.js → 12-9355bc1586-lite.chunk.js} +1 -1
- package/dist/scripts/{110-4664f26996-lite.chunk.js → 120-af049ffa1b-lite.chunk.js} +1 -1
- package/dist/scripts/{111-c18b7802a4-lite.chunk.js → 121-442586c55e-lite.chunk.js} +1 -1
- package/dist/scripts/{112-33029952c8-lite.chunk.js → 122-7134cea96e-lite.chunk.js} +1 -1
- package/dist/scripts/{113-23463cff57-lite.chunk.js → 123-1fd9660acb-lite.chunk.js} +1 -1
- package/dist/scripts/{114-5d0185ea58-lite.chunk.js → 124-98f4bc4315-lite.chunk.js} +1 -1
- package/dist/scripts/{115-35c8a92a68-lite.chunk.js → 125-144f7b798c-lite.chunk.js} +1 -1
- package/dist/scripts/{116-e15a849330-lite.chunk.js → 126-a0cdcd6b84-lite.chunk.js} +1 -1
- package/dist/scripts/{117-d7ab9fc41c-lite.chunk.js → 127-0553ccf9a7-lite.chunk.js} +1 -1
- package/dist/scripts/{118-39a3deb1a5-lite.chunk.js → 128-c4adb2c0c5-lite.chunk.js} +1 -1
- package/dist/scripts/{119-6e12e13547-lite.chunk.js → 129-4a02e7842e-lite.chunk.js} +1 -1
- package/dist/scripts/13-4ce0287de9-lite.chunk.js +1 -0
- package/dist/scripts/130-312676d66a-lite.chunk.js +1 -0
- package/dist/scripts/{121-61f31ce5f1-lite.chunk.js → 131-ab3142ded4-lite.chunk.js} +1 -1
- package/dist/scripts/{122-2b34a04177-lite.chunk.js → 132-2913024229-lite.chunk.js} +1 -1
- package/dist/scripts/{123-1702fe4dff-lite.chunk.js → 133-3fc73f3638-lite.chunk.js} +1 -1
- package/dist/scripts/{124-e6557e4039-lite.chunk.js → 134-208a2b492d-lite.chunk.js} +1 -1
- package/dist/scripts/{125-1f623b6089-lite.chunk.js → 135-200c74a2d1-lite.chunk.js} +1 -1
- package/dist/scripts/{126-313ef36d7e-lite.chunk.js → 136-ca74e02233-lite.chunk.js} +1 -1
- package/dist/scripts/{127-bac341d87f-lite.chunk.js → 137-1d5bb39aad-lite.chunk.js} +1 -1
- package/dist/scripts/{128-53f566f0bb-lite.chunk.js → 138-57f11cf123-lite.chunk.js} +1 -1
- package/dist/scripts/14-8bb06b6672-lite.chunk.js +1 -0
- package/dist/scripts/{14-352ff633ac-lite.chunk.js → 15-6eb0cc20e5-lite.chunk.js} +1 -1
- package/dist/scripts/16-7f90be14c0-lite.chunk.js +1 -0
- package/dist/scripts/17-299723c94b-lite.chunk.js +1 -0
- package/dist/scripts/{17-0141e7cefa-lite.chunk.js → 18-b5b30aa955-lite.chunk.js} +1 -1
- package/dist/scripts/19-f3c6630e19-lite.chunk.js +1 -0
- package/dist/scripts/{2-272c4de86d-lite.chunk.js → 2-d6b6f5180e-lite.chunk.js} +1 -1
- package/dist/scripts/20-9b694e8cdb-lite.chunk.js +1 -0
- package/dist/scripts/21-1327721134-lite.chunk.js +1 -0
- package/dist/scripts/{21-5c7518d818-lite.chunk.js → 22-236b01a701-lite.chunk.js} +1 -1
- package/dist/scripts/{22-54c52a8efc-lite.chunk.js → 23-eb51ce6b71-lite.chunk.js} +1 -1
- package/dist/scripts/24-a4ecff3018-lite.chunk.js +1 -0
- package/dist/scripts/{23-3911d254da-lite.chunk.js → 25-050793405e-lite.chunk.js} +1 -1
- package/dist/scripts/28-af6cb69856-lite.chunk.js +1 -0
- package/dist/scripts/29-d221f1d329-lite.chunk.js +1 -0
- package/dist/scripts/{3-e746f8b50a-lite.chunk.js → 3-fadd093ea7-lite.chunk.js} +1 -1
- package/dist/scripts/30-c482428f33-lite.chunk.js +1 -0
- package/dist/scripts/31-6592ddb249-lite.chunk.js +1 -0
- package/dist/scripts/32-a0db1c20c0-lite.chunk.js +1 -0
- package/dist/scripts/{31-45747de0b9-lite.chunk.js → 33-e9ec2808a1-lite.chunk.js} +1 -1
- package/dist/scripts/34-9094279954-lite.chunk.js +1 -0
- package/dist/scripts/35-e1256421ce-lite.chunk.js +1 -0
- package/dist/scripts/36-1dab4f9a7d-lite.chunk.js +1 -0
- package/dist/scripts/37-98aee94941-lite.chunk.js +1 -0
- package/dist/scripts/38-0b7ae14735-lite.chunk.js +1 -0
- package/dist/scripts/39-d7e297ed2a-lite.chunk.js +1 -0
- package/dist/scripts/{4-1d7accac6b-lite.chunk.js → 4-eb07070925-lite.chunk.js} +1 -1
- package/dist/scripts/40-437c23b497-lite.chunk.js +1 -0
- package/dist/scripts/{38-ca9cb0e924-lite.chunk.js → 41-b550a1d7bf-lite.chunk.js} +1 -1
- package/dist/scripts/{39-f141fa3df2-lite.chunk.js → 42-9b448a9d36-lite.chunk.js} +1 -1
- package/dist/scripts/43-3067b66d39-lite.chunk.js +1 -0
- package/dist/scripts/{41-17fcd21ada-lite.chunk.js → 44-580746bdd8-lite.chunk.js} +1 -1
- package/dist/scripts/{44-c46a3fdb55-lite.chunk.js → 45-2e72cf8ae2-lite.chunk.js} +1 -1
- package/dist/scripts/46-d2d102a328-lite.chunk.js +1 -0
- package/dist/scripts/{46-cb7633312b-lite.chunk.js → 47-c67b44377a-lite.chunk.js} +1 -1
- package/dist/scripts/{47-926e84f87b-lite.chunk.js → 48-0126414b80-lite.chunk.js} +2 -2
- package/dist/scripts/{48-c208b1cdf4-lite.chunk.js → 49-d1b1df7dcf-lite.chunk.js} +1 -1
- package/dist/scripts/{5-f7b55f848c-lite.chunk.js → 5-59bde13bce-lite.chunk.js} +1 -1
- package/dist/scripts/50-62f31a755c-lite.chunk.js +1 -0
- package/dist/scripts/51-6bb9da6e60-lite.chunk.js +1 -0
- package/dist/scripts/{51-0da9a4fba9-lite.chunk.js → 52-f77b70e7e2-lite.chunk.js} +1 -1
- package/dist/scripts/{52-fa07219af3-lite.chunk.js → 53-751a28bb8e-lite.chunk.js} +1 -1
- package/dist/scripts/{53-208866c113-lite.chunk.js → 54-da05e49d76-lite.chunk.js} +1 -1
- package/dist/scripts/{54-615836657e-lite.chunk.js → 55-0b28ba37ae-lite.chunk.js} +1 -1
- package/dist/scripts/56-2ca4f68a20-lite.chunk.js +1 -0
- package/dist/scripts/{56-6f3b1bb69e-lite.chunk.js → 57-3a3f3f5a2d-lite.chunk.js} +1 -1
- package/dist/scripts/58-90df2c2ce4-lite.chunk.js +1 -0
- package/dist/scripts/59-a4790a28ae-lite.chunk.js +1 -0
- package/dist/scripts/{6-2293b3ed3f-lite.chunk.js → 6-b7437bedb4-lite.chunk.js} +1 -1
- package/dist/scripts/60-c52f1eef99-lite.chunk.js +1 -0
- package/dist/scripts/61-466e8af5c0-lite.chunk.js +1 -0
- package/dist/scripts/{60-c4b735ba99-lite.chunk.js → 62-839f8e0461-lite.chunk.js} +1 -1
- package/dist/scripts/{61-5a4bbe6135-lite.chunk.js → 63-ba2225a22e-lite.chunk.js} +1 -1
- package/dist/scripts/64-41a22f8d97-lite.chunk.js +1 -0
- package/dist/scripts/{63-03408c1f51-lite.chunk.js → 65-3f0046a1dc-lite.chunk.js} +1 -1
- package/dist/scripts/{64-64c52a1baf-lite.chunk.js → 66-3bacbebf48-lite.chunk.js} +1 -1
- package/dist/scripts/67-2a1640e13c-lite.chunk.js +1 -0
- package/dist/scripts/68-d3cab2ad76-lite.chunk.js +1 -0
- package/dist/scripts/69-4130ce47c2-lite.chunk.js +1 -0
- package/dist/scripts/7-c152a522d3-lite.chunk.js +1 -0
- package/dist/scripts/{67-8ff87473a7-lite.chunk.js → 70-e756be3922-lite.chunk.js} +1 -1
- package/dist/scripts/{68-a7ae0e5d3c-lite.chunk.js → 71-7ad57d5381-lite.chunk.js} +1 -1
- package/dist/scripts/{69-acc5c07234-lite.chunk.js → 72-9984392c05-lite.chunk.js} +1 -1
- package/dist/scripts/{70-2072bc426e-lite.chunk.js → 73-e987c32fc1-lite.chunk.js} +1 -1
- package/dist/scripts/74-2ea51bb8f7-lite.chunk.js +1 -0
- package/dist/scripts/{72-1ad9b365b6-lite.chunk.js → 75-8cf6210194-lite.chunk.js} +1 -1
- package/dist/scripts/76-744b8e24e6-lite.chunk.js +1 -0
- package/dist/scripts/{73-585a5197f4-lite.chunk.js → 77-7358147ad0-lite.chunk.js} +1 -1
- package/dist/scripts/{74-0fd8de6e18-lite.chunk.js → 78-634f8f843b-lite.chunk.js} +1 -1
- package/dist/scripts/79-6232e39cb4-lite.chunk.js +1 -0
- package/dist/scripts/{8-a71a1abdf5-lite.chunk.js → 8-6bf71ee039-lite.chunk.js} +5 -5
- package/dist/scripts/80-1c239ad754-lite.chunk.js +1 -0
- package/dist/scripts/81-59e2ffc126-lite.chunk.js +1 -0
- package/dist/scripts/82-b11ef58c08-lite.chunk.js +1 -0
- package/dist/scripts/83-f39295aad8-lite.chunk.js +1 -0
- package/dist/scripts/{79-8f08a3a486-lite.chunk.js → 84-8f93b53bad-lite.chunk.js} +1 -1
- package/dist/scripts/{80-2cd79ce9e5-lite.chunk.js → 85-ca5c047c84-lite.chunk.js} +1 -1
- package/dist/scripts/86-eb849ecb62-lite.chunk.js +1 -0
- package/dist/scripts/{81-6991652f6c-lite.chunk.js → 87-d23ced3487-lite.chunk.js} +1 -1
- package/dist/scripts/{82-86219961c9-lite.chunk.js → 88-a682861337-lite.chunk.js} +1 -1
- package/dist/scripts/{85-0efab73917-lite.chunk.js → 89-980aba4d99-lite.chunk.js} +1 -1
- package/dist/scripts/{9-2671d43bc8-lite.chunk.js → 9-879f4ac4bb-lite.chunk.js} +1 -1
- package/dist/scripts/90-39456aa20b-lite.chunk.js +1 -0
- package/dist/scripts/91-fda1f73afc-lite.chunk.js +1 -0
- package/dist/scripts/92-9ec54a74b5-lite.chunk.js +1 -0
- package/dist/scripts/{87-48091265a4-lite.chunk.js → 93-34e2e16411-lite.chunk.js} +1 -1
- package/dist/scripts/94-bfd895259c-lite.chunk.js +1 -0
- package/dist/scripts/95-27bdc60c14-lite.chunk.js +1 -0
- package/dist/scripts/{89-0978e81f1c-lite.chunk.js → 96-7080b6a73b-lite.chunk.js} +1 -1
- package/dist/scripts/97-6300753489-lite.chunk.js +1 -0
- package/dist/scripts/{91-c77621ba07-lite.chunk.js → 98-14ea2a2be6-lite.chunk.js} +1 -1
- package/dist/scripts/99-d1f01a3188-lite.chunk.js +1 -0
- package/dist/scripts/{bundle-fbc617236d.min.js → bundle-b397b3b77f.min.js} +15 -15
- package/dist/scripts/polyfills-08af0079bd.min.js +1 -0
- package/package.json +3 -4
- package/typings/libs/react-table-config.d.ts +139 -0
- package/changes.md +0 -1
- package/dist/css/0-lite-7e890dcf74.chunk.css +0 -20
- package/dist/css/28-lite-f9401e942a.chunk.css +0 -34
- package/dist/css/31-lite-5da52e25c0.chunk.css +0 -20
- package/dist/css/33-lite-965da83bb5.chunk.css +0 -14
- package/dist/css/43-lite-c7537e4dfb.chunk.css +0 -10
- package/dist/css/84-lite-c5e12d3f1d.chunk.css +0 -2
- package/dist/scripts/0-a67bd04c2b-lite.chunk.js +0 -1
- package/dist/scripts/1-bd1ed6cdc8-lite.chunk.js +0 -17
- package/dist/scripts/10-65e847fea6-lite.chunk.js +0 -53
- package/dist/scripts/100-f86fb69a03-lite.chunk.js +0 -1
- package/dist/scripts/101-d3411d5438-lite.chunk.js +0 -1
- package/dist/scripts/102-8858820605-lite.chunk.js +0 -1
- package/dist/scripts/103-ead10a85d1-lite.chunk.js +0 -1
- package/dist/scripts/104-1c8640f886-lite.chunk.js +0 -1
- package/dist/scripts/105-ac0662fe99-lite.chunk.js +0 -1
- package/dist/scripts/106-e543c5ca95-lite.chunk.js +0 -1
- package/dist/scripts/107-dbe2d366fa-lite.chunk.js +0 -1
- package/dist/scripts/108-b5592d4605-lite.chunk.js +0 -1
- package/dist/scripts/109-f9542bec62-lite.chunk.js +0 -1
- package/dist/scripts/11-dbf9b2e3a2-lite.chunk.js +0 -1
- package/dist/scripts/110-a7984fc430-lite.chunk.js +0 -1
- package/dist/scripts/111-d87e878e6a-lite.chunk.js +0 -1
- package/dist/scripts/112-7a6f3a417e-lite.chunk.js +0 -1
- package/dist/scripts/113-7d7c9ece81-lite.chunk.js +0 -1
- package/dist/scripts/114-ff454951a7-lite.chunk.js +0 -1
- package/dist/scripts/115-ee3c69fcb3-lite.chunk.js +0 -1
- package/dist/scripts/116-f6f6d0c04a-lite.chunk.js +0 -1
- package/dist/scripts/117-f53307a44b-lite.chunk.js +0 -1
- package/dist/scripts/118-d08b7fae23-lite.chunk.js +0 -1
- package/dist/scripts/119-f3d0fe82d9-lite.chunk.js +0 -1
- package/dist/scripts/12-4d35b173c9-lite.chunk.js +0 -1
- package/dist/scripts/120-26f53d3905-lite.chunk.js +0 -1
- package/dist/scripts/120-fba3bbad15-lite.chunk.js +0 -1
- package/dist/scripts/121-71ce8db07c-lite.chunk.js +0 -1
- package/dist/scripts/122-97f54b3e65-lite.chunk.js +0 -1
- package/dist/scripts/123-20f068b602-lite.chunk.js +0 -1
- package/dist/scripts/124-f308592917-lite.chunk.js +0 -1
- package/dist/scripts/125-6192b1036c-lite.chunk.js +0 -1
- package/dist/scripts/126-bb5e3ec24f-lite.chunk.js +0 -1
- package/dist/scripts/127-d4ec298ce4-lite.chunk.js +0 -1
- package/dist/scripts/13-8e64a40570-lite.chunk.js +0 -1
- package/dist/scripts/13-d0d91aed08-lite.chunk.js +0 -1
- package/dist/scripts/14-6c5d9aa545-lite.chunk.js +0 -1
- package/dist/scripts/15-4678d4f537-lite.chunk.js +0 -1
- package/dist/scripts/15-e0cb12136a-lite.chunk.js +0 -1
- package/dist/scripts/16-1f6ceaf38c-lite.chunk.js +0 -1
- package/dist/scripts/16-278a6f2e5b-lite.chunk.js +0 -1
- package/dist/scripts/17-d887304077-lite.chunk.js +0 -1
- package/dist/scripts/18-1d5f226a6b-lite.chunk.js +0 -1
- package/dist/scripts/18-6e25ad1e34-lite.chunk.js +0 -1
- package/dist/scripts/19-054b6c737a-lite.chunk.js +0 -1
- package/dist/scripts/19-31e49b917f-lite.chunk.js +0 -1
- package/dist/scripts/2-2161803fb4-lite.chunk.js +0 -1
- package/dist/scripts/20-1f3b175d1b-lite.chunk.js +0 -1
- package/dist/scripts/20-82f7c99cee-lite.chunk.js +0 -1
- package/dist/scripts/21-78a7b0fd39-lite.chunk.js +0 -1
- package/dist/scripts/22-d983475fb1-lite.chunk.js +0 -1
- package/dist/scripts/23-6b96f352a8-lite.chunk.js +0 -1
- package/dist/scripts/26-07d68e3c10-lite.chunk.js +0 -1
- package/dist/scripts/26-afd39b2e04-lite.chunk.js +0 -1
- package/dist/scripts/27-041acdd814-lite.chunk.js +0 -1
- package/dist/scripts/27-5fe422fd12-lite.chunk.js +0 -1
- package/dist/scripts/28-2331112bfd-lite.chunk.js +0 -1
- package/dist/scripts/28-dc5d2a66ac-lite.chunk.js +0 -1
- package/dist/scripts/29-47030f592c-lite.chunk.js +0 -1
- package/dist/scripts/29-61d4b2d40a-lite.chunk.js +0 -1
- package/dist/scripts/3-5807aa30b2-lite.chunk.js +0 -1
- package/dist/scripts/30-31eefcc6ab-lite.chunk.js +0 -1
- package/dist/scripts/30-aaeaddbbb9-lite.chunk.js +0 -1
- package/dist/scripts/31-86c891fba6-lite.chunk.js +0 -1
- package/dist/scripts/32-7880b21866-lite.chunk.js +0 -1
- package/dist/scripts/32-fab0f41beb-lite.chunk.js +0 -1
- package/dist/scripts/33-70267098eb-lite.chunk.js +0 -1
- package/dist/scripts/33-e950760ad0-lite.chunk.js +0 -1
- package/dist/scripts/34-83e7eab65e-lite.chunk.js +0 -1
- package/dist/scripts/34-d5112ea1be-lite.chunk.js +0 -1
- package/dist/scripts/35-15d48b0480-lite.chunk.js +0 -1
- package/dist/scripts/35-235c3394d0-lite.chunk.js +0 -1
- package/dist/scripts/36-4a776f5999-lite.chunk.js +0 -1
- package/dist/scripts/36-cfb242e38c-lite.chunk.js +0 -1
- package/dist/scripts/37-a2d8458806-lite.chunk.js +0 -1
- package/dist/scripts/37-f8b3cdfdb9-lite.chunk.js +0 -1
- package/dist/scripts/38-d52b887864-lite.chunk.js +0 -1
- package/dist/scripts/39-a04a8a6b63-lite.chunk.js +0 -1
- package/dist/scripts/4-fdb43b9924-lite.chunk.js +0 -1
- package/dist/scripts/40-52745d7c61-lite.chunk.js +0 -1
- package/dist/scripts/40-7c2c132fb8-lite.chunk.js +0 -1
- package/dist/scripts/41-516751609e-lite.chunk.js +0 -1
- package/dist/scripts/42-464cde46dc-lite.chunk.js +0 -1
- package/dist/scripts/42-5797b7338a-lite.chunk.js +0 -1
- package/dist/scripts/43-865be133bf-lite.chunk.js +0 -1
- package/dist/scripts/43-b8a0402d7e-lite.chunk.js +0 -1
- package/dist/scripts/44-4823515e8e-lite.chunk.js +0 -1
- package/dist/scripts/45-4550ef564a-lite.chunk.js +0 -1
- package/dist/scripts/45-4e38a23626-lite.chunk.js +0 -1
- package/dist/scripts/46-d25460e213-lite.chunk.js +0 -1
- package/dist/scripts/47-34e12e23cc-lite.chunk.js +0 -7
- package/dist/scripts/48-cb7f528aa1-lite.chunk.js +0 -1
- package/dist/scripts/49-cb64b17269-lite.chunk.js +0 -1
- package/dist/scripts/49-f7ee6dbe2b-lite.chunk.js +0 -1
- package/dist/scripts/5-ed0b157a37-lite.chunk.js +0 -1
- package/dist/scripts/50-7129d215c3-lite.chunk.js +0 -1
- package/dist/scripts/50-88bea3c79d-lite.chunk.js +0 -1
- package/dist/scripts/51-e24a838457-lite.chunk.js +0 -1
- package/dist/scripts/52-1ddace8d0c-lite.chunk.js +0 -1
- package/dist/scripts/53-ecb25bc598-lite.chunk.js +0 -1
- package/dist/scripts/54-93153896c5-lite.chunk.js +0 -1
- package/dist/scripts/55-09e2b053df-lite.chunk.js +0 -1
- package/dist/scripts/55-0ee917cbae-lite.chunk.js +0 -1
- package/dist/scripts/56-c8f44ea9ad-lite.chunk.js +0 -1
- package/dist/scripts/57-5869c0642a-lite.chunk.js +0 -1
- package/dist/scripts/57-7049f7a6cc-lite.chunk.js +0 -1
- package/dist/scripts/58-64c571e289-lite.chunk.js +0 -1
- package/dist/scripts/58-8414bac5de-lite.chunk.js +0 -1
- package/dist/scripts/59-1e697bd584-lite.chunk.js +0 -1
- package/dist/scripts/59-a15f8436ef-lite.chunk.js +0 -1
- package/dist/scripts/60-d7dd7390dd-lite.chunk.js +0 -1
- package/dist/scripts/61-eed95d5202-lite.chunk.js +0 -1
- package/dist/scripts/62-8e9d5f128b-lite.chunk.js +0 -1
- package/dist/scripts/62-ceb3f4492d-lite.chunk.js +0 -1
- package/dist/scripts/63-84ad0beea0-lite.chunk.js +0 -1
- package/dist/scripts/64-be35f46078-lite.chunk.js +0 -1
- package/dist/scripts/65-8a4a880e87-lite.chunk.js +0 -1
- package/dist/scripts/65-d9f4dd69df-lite.chunk.js +0 -1
- package/dist/scripts/66-3a1ceb24ce-lite.chunk.js +0 -1
- package/dist/scripts/66-b78ee3cf9c-lite.chunk.js +0 -1
- package/dist/scripts/67-c7b0d9e414-lite.chunk.js +0 -1
- package/dist/scripts/68-8f1b246d0a-lite.chunk.js +0 -1
- package/dist/scripts/69-77e04b15d7-lite.chunk.js +0 -1
- package/dist/scripts/7-e33d28a6ca-lite.chunk.js +0 -1
- package/dist/scripts/7-fcfd38570e-lite.chunk.js +0 -1
- package/dist/scripts/70-8b5852894c-lite.chunk.js +0 -1
- package/dist/scripts/71-71ddde22bf-lite.chunk.js +0 -1
- package/dist/scripts/71-f21d7c62d3-lite.chunk.js +0 -1
- package/dist/scripts/72-03ffb27366-lite.chunk.js +0 -1
- package/dist/scripts/73-7b443bae9a-lite.chunk.js +0 -1
- package/dist/scripts/74-1fab60524f-lite.chunk.js +0 -1
- package/dist/scripts/75-9bc779bdcc-lite.chunk.js +0 -1
- package/dist/scripts/75-b8f8268ff8-lite.chunk.js +0 -1
- package/dist/scripts/76-3839cf5319-lite.chunk.js +0 -1
- package/dist/scripts/76-9dca179ceb-lite.chunk.js +0 -1
- package/dist/scripts/77-76335946d3-lite.chunk.js +0 -1
- package/dist/scripts/77-9a8b3468c6-lite.chunk.js +0 -1
- package/dist/scripts/78-45eabe0698-lite.chunk.js +0 -1
- package/dist/scripts/78-ea5498df2f-lite.chunk.js +0 -1
- package/dist/scripts/79-a19b006f5e-lite.chunk.js +0 -1
- package/dist/scripts/8-dafe5a04ec-lite.chunk.js +0 -27
- package/dist/scripts/80-4cb56c6b59-lite.chunk.js +0 -1
- package/dist/scripts/81-7e039f5d40-lite.chunk.js +0 -1
- package/dist/scripts/82-9200980357-lite.chunk.js +0 -1
- package/dist/scripts/83-6a199c31a0-lite.chunk.js +0 -1
- package/dist/scripts/83-f10e209427-lite.chunk.js +0 -1
- package/dist/scripts/84-3a3c47cf76-lite.chunk.js +0 -1
- package/dist/scripts/84-8c5d90d93d-lite.chunk.js +0 -1
- package/dist/scripts/85-6f8255e601-lite.chunk.js +0 -1
- package/dist/scripts/86-0f715dff4b-lite.chunk.js +0 -1
- package/dist/scripts/86-71bd1de858-lite.chunk.js +0 -1
- package/dist/scripts/87-635481e453-lite.chunk.js +0 -1
- package/dist/scripts/88-974cd3e7e0-lite.chunk.js +0 -1
- package/dist/scripts/88-e1824f5c3b-lite.chunk.js +0 -1
- package/dist/scripts/89-0bca505688-lite.chunk.js +0 -1
- package/dist/scripts/9-aa786841cf-lite.chunk.js +0 -1
- package/dist/scripts/90-3482f07ab9-lite.chunk.js +0 -1
- package/dist/scripts/90-7bb7af291d-lite.chunk.js +0 -1
- package/dist/scripts/91-fabf020c1d-lite.chunk.js +0 -1
- package/dist/scripts/92-2296872ef8-lite.chunk.js +0 -1
- package/dist/scripts/92-54fe10921d-lite.chunk.js +0 -1
- package/dist/scripts/93-089c24906b-lite.chunk.js +0 -1
- package/dist/scripts/93-5d31660eb5-lite.chunk.js +0 -1
- package/dist/scripts/94-421441032e-lite.chunk.js +0 -1
- package/dist/scripts/94-c3da4d8c9e-lite.chunk.js +0 -1
- package/dist/scripts/95-7259ab886e-lite.chunk.js +0 -1
- package/dist/scripts/95-726c2378ff-lite.chunk.js +0 -1
- package/dist/scripts/96-2e932d444f-lite.chunk.js +0 -1
- package/dist/scripts/96-e364691e8f-lite.chunk.js +0 -1
- package/dist/scripts/97-b60f01a3d8-lite.chunk.js +0 -1
- package/dist/scripts/97-c0e617baf5-lite.chunk.js +0 -1
- package/dist/scripts/98-9bb450c6de-lite.chunk.js +0 -1
- package/dist/scripts/98-ec61fb3139-lite.chunk.js +0 -1
- package/dist/scripts/99-019b644dcf-lite.chunk.js +0 -1
- package/dist/scripts/99-362dec295c-lite.chunk.js +0 -1
- package/dist/scripts/bundle-d8636a87eb.min.js +0 -48
- package/dist/scripts/polyfills-68fa0217a1.min.js +0 -1
- /package/dist/css/{0-lite-09c6d04d09.chunk.css → 0-lite-19cd661cee.chunk.css} +0 -0
- /package/dist/css/{93-lite-4ea4ab4f82.chunk.css → 100-lite-4ea4ab4f82.chunk.css} +0 -0
- /package/dist/css/{94-lite-1b8d018064.chunk.css → 103-lite-1b8d018064.chunk.css} +0 -0
- /package/dist/css/{88-lite-dc68a449e9.chunk.css → 104-lite-dc68a449e9.chunk.css} +0 -0
- /package/dist/css/{95-lite-dc68a449e9.chunk.css → 105-lite-dc68a449e9.chunk.css} +0 -0
- /package/dist/css/{98-lite-fdc3ceff80.chunk.css → 107-lite-fdc3ceff80.chunk.css} +0 -0
- /package/dist/css/{101-lite-f6f9f41353.chunk.css → 110-lite-f6f9f41353.chunk.css} +0 -0
- /package/dist/css/{102-lite-c735c29d04.chunk.css → 111-lite-c735c29d04.chunk.css} +0 -0
- /package/dist/css/{14-lite-488a989119.chunk.css → 15-lite-488a989119.chunk.css} +0 -0
- /package/dist/css/{15-lite-17f2f1bf2a.chunk.css → 16-lite-17f2f1bf2a.chunk.css} +0 -0
- /package/dist/css/{16-lite-8a057ef418.chunk.css → 17-lite-8a057ef418.chunk.css} +0 -0
- /package/dist/css/{17-lite-239fc9777b.chunk.css → 18-lite-239fc9777b.chunk.css} +0 -0
- /package/dist/css/{18-lite-15769122b1.chunk.css → 19-lite-15769122b1.chunk.css} +0 -0
- /package/dist/css/{21-lite-8620e69e92.chunk.css → 22-lite-8620e69e92.chunk.css} +0 -0
- /package/dist/css/{26-lite-a1cd90e27c.chunk.css → 28-lite-a1cd90e27c.chunk.css} +0 -0
- /package/dist/css/{27-lite-a1cd90e27c.chunk.css → 29-lite-a1cd90e27c.chunk.css} +0 -0
- /package/dist/css/{28-lite-f46c720dc3.chunk.css → 30-lite-f46c720dc3.chunk.css} +0 -0
- /package/dist/css/{29-lite-697606d9b9.chunk.css → 31-lite-697606d9b9.chunk.css} +0 -0
- /package/dist/css/{30-lite-697606d9b9.chunk.css → 32-lite-697606d9b9.chunk.css} +0 -0
- /package/dist/css/{31-lite-f134cbd1b1.chunk.css → 33-lite-f134cbd1b1.chunk.css} +0 -0
- /package/dist/css/{32-lite-fe5bf0e5c8.chunk.css → 34-lite-83b3d1c50c.chunk.css} +0 -0
- /package/dist/css/{33-lite-55bc3ed003.chunk.css → 37-lite-55bc3ed003.chunk.css} +0 -0
- /package/dist/css/{34-lite-a3708b1964.chunk.css → 38-lite-a3708b1964.chunk.css} +0 -0
- /package/dist/css/{35-lite-7ca3f0a11c.chunk.css → 40-lite-38d696ace9.chunk.css} +0 -0
- /package/dist/css/{38-lite-e074852df7.chunk.css → 41-lite-e074852df7.chunk.css} +0 -0
- /package/dist/css/{39-lite-e8745e9a52.chunk.css → 42-lite-e8745e9a52.chunk.css} +0 -0
- /package/dist/css/{42-lite-8dd411f2e7.chunk.css → 43-lite-8dd411f2e7.chunk.css} +0 -0
- /package/dist/css/{41-lite-3c2d7a7cd3.chunk.css → 44-lite-3c2d7a7cd3.chunk.css} +0 -0
- /package/dist/css/{44-lite-6acf0c889c.chunk.css → 45-lite-6acf0c889c.chunk.css} +0 -0
- /package/dist/css/{45-lite-fcd4312270.chunk.css → 46-lite-fcd4312270.chunk.css} +0 -0
- /package/dist/css/{46-lite-c8b0ed5c3a.chunk.css → 47-lite-c8b0ed5c3a.chunk.css} +0 -0
- /package/dist/css/{47-lite-eae2a4d798.chunk.css → 48-lite-eae2a4d798.chunk.css} +0 -0
- /package/dist/css/{48-lite-9a94c2bfcd.chunk.css → 49-lite-9a94c2bfcd.chunk.css} +0 -0
- /package/dist/css/{49-lite-17f2f1bf2a.chunk.css → 50-lite-17f2f1bf2a.chunk.css} +0 -0
- /package/dist/css/{50-lite-bef9c5bb20.chunk.css → 51-lite-bef9c5bb20.chunk.css} +0 -0
- /package/dist/css/{52-lite-041bd8be6c.chunk.css → 53-lite-041bd8be6c.chunk.css} +0 -0
- /package/dist/css/{53-lite-2cab9efe72.chunk.css → 54-lite-2cab9efe72.chunk.css} +0 -0
- /package/dist/css/{54-lite-e06bab4339.chunk.css → 55-lite-e06bab4339.chunk.css} +0 -0
- /package/dist/css/{55-lite-3022a7f655.chunk.css → 56-lite-3022a7f655.chunk.css} +0 -0
- /package/dist/css/{56-lite-1696cbd6bd.chunk.css → 57-lite-1696cbd6bd.chunk.css} +0 -0
- /package/dist/css/{57-lite-d8801b4cc5.chunk.css → 59-lite-d8801b4cc5.chunk.css} +0 -0
- /package/dist/css/{58-lite-c020da1ace.chunk.css → 60-lite-c020da1ace.chunk.css} +0 -0
- /package/dist/css/{59-lite-c020da1ace.chunk.css → 61-lite-c020da1ace.chunk.css} +0 -0
- /package/dist/css/{60-lite-5feca9b1f1.chunk.css → 62-lite-5feca9b1f1.chunk.css} +0 -0
- /package/dist/css/{61-lite-aff67b0a45.chunk.css → 63-lite-aff67b0a45.chunk.css} +0 -0
- /package/dist/css/{63-lite-fb877ba4eb.chunk.css → 65-lite-fb877ba4eb.chunk.css} +0 -0
- /package/dist/css/{64-lite-4068292bca.chunk.css → 66-lite-4068292bca.chunk.css} +0 -0
- /package/dist/css/{67-lite-794d3729e3.chunk.css → 70-lite-794d3729e3.chunk.css} +0 -0
- /package/dist/css/{68-lite-223991f675.chunk.css → 71-lite-223991f675.chunk.css} +0 -0
- /package/dist/css/{69-lite-223991f675.chunk.css → 72-lite-223991f675.chunk.css} +0 -0
- /package/dist/css/{70-lite-f429a540cb.chunk.css → 73-lite-f429a540cb.chunk.css} +0 -0
- /package/dist/css/{71-lite-2fff9bb973.chunk.css → 74-lite-2fff9bb973.chunk.css} +0 -0
- /package/dist/css/{77-lite-42a5dcfa34.chunk.css → 81-lite-42a5dcfa34.chunk.css} +0 -0
- /package/dist/css/{78-lite-4a91cb7ba9.chunk.css → 82-lite-4a91cb7ba9.chunk.css} +0 -0
- /package/dist/css/{87-lite-9ea4b2ab88.chunk.css → 93-lite-9ea4b2ab88.chunk.css} +0 -0
- /package/dist/css/{96-lite-dc68a449e9.chunk.css → 94-lite-dc68a449e9.chunk.css} +0 -0
- /package/dist/css/{83-lite-c5e12d3f1d.chunk.css → 95-lite-c5e12d3f1d.chunk.css} +0 -0
- /package/dist/css/{89-lite-6e036f7110.chunk.css → 96-lite-6e036f7110.chunk.css} +0 -0
- /package/dist/css/{90-lite-b76c927aec.chunk.css → 97-lite-b76c927aec.chunk.css} +0 -0
- /package/dist/css/{91-lite-b76c927aec.chunk.css → 98-lite-b76c927aec.chunk.css} +0 -0
- /package/dist/css/{92-lite-37113f3b03.chunk.css → 99-lite-37113f3b03.chunk.css} +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(window.webpackJsonp_clickview_lite=window.webpackJsonp_clickview_lite||[]).push([[21],{1067:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(15),i={createViewKey:function(t,e,n){var i={mediaId:t.toString(),mediaIdType:e};return n&&(i.shareContextId=n),{url:"/api/player/create-view-key",key:"view:key:".concat(t,":").concat(e),type:r.a.POST,data:i,expiryTime:1/0}}}},1068:function(t,e,n){"use strict";var r;n.d(e,"a",(function(){return r})),function(t){t.Share="share",t.MasterObject="masterobject"}(r||(r={}))},1080:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(3),i=function(t,e,n){var r=e-(t=t.toString()).length;return r<=0?t:new Array(r+1).join(n)+t},o={ToDisplayDuration:function(t){if(!r.isNumber(t))return"";var e=new Date(t),n=e.getUTCHours(),o=i(e.getUTCMinutes(),2,"0"),a=i(e.getUTCSeconds(),2,"0");return n>0?"".concat(n,":").concat(o,":").concat(a):"".concat(o,":").concat(a)}}},1677:function(t,e,n){},1678:function(t,e,n){},1679:function(t,e,n){t.exports={timeInput:"_3f1zC",controlsContainer:"_3zQGP",arrowContainer:"_3wgxR",upArrow:"_2qIEU",downArrow:"_3Gl3V"}},1898:function(t,e,n){"use strict";n.r(e);var r=n(0),i=n.n(r),o=n(11),a=n(75),c=n(4),u=n(8),l=n(346),s=n(1067),f=n(113),p=n(361),d=n(373),m=n(1);function y(t){return(y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function h(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function v(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function g(t,e,n){return(g="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var r=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=C(t)););return t}(t,e);if(r){var i=Object.getOwnPropertyDescriptor(r,e);return i.get?i.get.call(n):i.value}})(t,e,n||t)}function b(t,e){return(b=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function T(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=C(t);if(e){var i=C(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return S(this,n)}}function S(t,e){return!e||"object"!==y(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function C(t){return(C=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var E=m.a.getComponent("Component"),w=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&b(t,e)}(o,t);var e,n,r,i=T(o);function o(){return h(this,o),i.apply(this,arguments)}return e=o,(n=[{key:"buildCSSClass",value:function(){return"cv-clip-timepoint-handle ".concat(g(C(o.prototype),"buildCSSClass",this).call(this))}},{key:"createEl",value:function(t,e,n){return g(C(o.prototype),"createEl",this).call(this,t,Object.assign(Object.assign({},e),{className:this.buildCSSClass(),innerHTML:'<svg viewBox="0 0 5 14" pointer-events="none"><g id="Clips" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g id="Clip-2" transform="translate(-835.000000, -632.000000)" fill="#FFFFFF"><g id="Video-Copy" transform="translate(275.000000, 96.000000)"><g id="Handles" transform="translate(560.000000, 536.000000)"><circle id="Oval" cx="1" cy="1" r="1"></circle><circle id="Oval-Copy-2" cx="1" cy="5" r="1"></circle><circle id="Oval-Copy-4" cx="1" cy="9" r="1"></circle><circle id="Oval-Copy-8" cx="1" cy="13" r="1"></circle><circle id="Oval-Copy" cx="4" cy="1" r="1"></circle><circle id="Oval-Copy-3" cx="4" cy="5" r="1"></circle><circle id="Oval-Copy-5" cx="4" cy="9" r="1"></circle><circle id="Oval-Copy-9" cx="4" cy="13" r="1"></circle></g></g></g></g></svg>'}),n)}},{key:"isEventTarget",value:function(t){return this.el().contains(t.target)}}])&&v(e.prototype,n),r&&v(e,r),o}(E);n(1677);function O(t){return(O="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function P(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function k(t,e,n){return(k="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var r=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=D(t)););return t}(t,e);if(r){var i=Object.getOwnPropertyDescriptor(r,e);return i.get?i.get.call(n):i.value}})(t,e,n||t)}function _(t,e){return(_=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function j(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=D(t);if(e){var i=D(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return R(this,n)}}function R(t,e){return!e||"object"!==O(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function D(t){return(D=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var A=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&_(t,e)}(o,t);var e,n,r,i=j(o);function o(t,e){var n;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,o),(n=i.call(this,t,e)).dragStartActive=!1,n.dragEndActive=!1,n.dragSliderActive=!1,n.dragSliderCurrentPosition=null,n.minDuration=Math.min(t.duration(),n.options_.minDuration),n.setStartTime(e.startTime,!1),n.setEndTime(e.endTime,!1),n.startHandle=new w(n.player(),e),n.startHandle.addClass("cv-clip-start-handle"),n.addChild(n.startHandle),n.endHandle=new w(n.player(),e),n.endHandle.addClass("cv-clip-end-handle"),n.addChild(n.endHandle),n.on(n.player(),"update:clip:start:time",(function(t){var e=t.time;return n.setStartTime(e)})),n.on(n.player(),"update:clip:end:time",(function(t){var e=t.time;return n.setEndTime(e)})),n.bindListeners(),n.update(),n}return e=o,(n=[{key:"createEl",value:function(){return k(D(o.prototype),"createEl",this).call(this,"div",{className:"cv-clip-timepoint-selector"},{})}},{key:"update",value:function(){var t=this;this.options_.onChangeStartTime(this.startTime),this.options_.onChangeEndTime(this.endTime),this.requestAnimationFrame((function(){t.setStartOffset(),t.setWidth()}))}},{key:"setStartTime",value:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(!isNaN(t)){var n=this.endTime||this.player().duration(),r=n-this.minDuration;t>r&&(t=r),t<0&&(t=0),this.startTime=t,this.endTime&&this.endTime-this.startTime<this.minDuration&&this.setEndTime(this.startTime+this.minDuration),this.player().currentTime(this.startTime),e&&this.update()}}},{key:"setEndTime",value:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(!isNaN(t)){var n=this.startTime||0,r=n+this.minDuration;t<r&&(t=r),t>this.player().duration()&&(t=this.player().duration()),this.endTime=t,this.startTime&&this.endTime-this.startTime<this.minDuration&&this.setStartTime(this.endTime-this.minDuration),e&&this.update()}}},{key:"bindListeners",value:function(){var t=this;this.on("mousedown",this.dragStart),this.on("touchstart",this.dragStart),this.player().on("dispose",(function(){t.off("mousedown",t.dragStart),t.off("touchstart",t.dragStart)}))}},{key:"dragStart",value:function(t){this.startHandle.isEventTarget(t)&&(t.stopImmediatePropagation(),this.dragStartActive=!0),this.endHandle.isEventTarget(t)&&(t.stopImmediatePropagation(),this.dragEndActive=!0),t.target===this.el()&&(t.stopImmediatePropagation(),this.dragSliderActive=!0,this.dragSliderCurrentPosition=this.getPosition(t));var e=this.el().ownerDocument;this.on(e,"mousemove",this.drag),this.on(e,"mouseup",this.dragEnd),this.on(e,"touchmove",this.drag),this.on(e,"touchend",this.dragEnd),this.drag(t)}},{key:"dragEnd",value:function(){this.dragStartActive=!1,this.dragEndActive=!1,this.dragSliderActive=!1,this.dragSliderCurrentPosition=null;var t=this.el().ownerDocument;this.off(t,"mousemove",this.drag),this.off(t,"mouseup",this.dragEnd),this.off(t,"touchmove",this.drag),this.off(t,"touchend",this.dragEnd)}},{key:"drag",value:function(t){if((this.dragStartActive||this.dragEndActive||this.dragSliderActive)&&m.a.dom.isSingleLeftClick(t)){var e=this.getPosition(t),n=e*this.player().duration();this.dragStartActive&&this.handleStartHandleDrag(n),this.dragEndActive&&this.handleEndHandleDrag(n),this.dragSliderActive&&this.handleSliderDrag(e)}}},{key:"handleStartHandleDrag",value:function(t){this.setStartTime(t)}},{key:"handleEndHandleDrag",value:function(t){this.setEndTime(t)}},{key:"handleSliderDrag",value:function(t){var e=(t-this.dragSliderCurrentPosition)*this.player().duration(),n=this.startTime+e,r=this.endTime+e;n<=0||r>=this.player().duration()||(this.dragSliderCurrentPosition=t,this.setStartTime(n),this.setEndTime(r))}},{key:"getPosition",value:function(t){return m.a.dom.getPointerPosition(this.el_.parentNode,t).x}},{key:"setStartOffset",value:function(){this.el_.style.marginLeft="".concat(this.getPercentage(this.startTime),"%")}},{key:"setWidth",value:function(){this.el_.style.width="".concat(this.getPercentage(this.endTime-this.startTime),"%")}},{key:"getPercentage",value:function(t){return+(t/this.player().duration()*100).toFixed(4)}}])&&P(e.prototype,n),r&&P(e,r),o}(m.a.getComponent("Component"));n(1678);function N(t){return(N="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function x(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function B(t,e){return(B=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function I(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=L(t);if(e){var i=L(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return F(this,n)}}function F(t,e){return!e||"object"!==N(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function L(t){return(L=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var H=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&B(t,e)}(o,t);var e,n,r,i=I(o);function o(t,e){var n;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,o),(n=i.call(this,t,e)).addClass("cv-create-clip-seek-bar"),n}return e=o,(n=[{key:"initialize",value:function(t){var e=new A(this.player(),t);this.addChild(e)}}])&&x(e.prototype,n),r&&x(e,r),o}(m.a.getComponent("SeekBar"));function M(t){return(M="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function U(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function V(t,e,n){return(V="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var r=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=q(t)););return t}(t,e);if(r){var i=Object.getOwnPropertyDescriptor(r,e);return i.get?i.get.call(n):i.value}})(t,e,n||t)}function K(t,e){return(K=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function z(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=q(t);if(e){var i=q(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return G(this,n)}}function G(t,e){return!e||"object"!==M(e)&&"function"!=typeof e?W(t):e}function W(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function q(t){return(q=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}H.prototype.options_={children:["playProgressBar"],barName:"playProgressBar"},m.a.browser.IS_IOS||m.a.browser.IS_ANDROID||H.prototype.options_.children.splice(1,0,"mouseTimeDisplay"),m.a.registerComponent("CreateClipSeekBar",H);var J=m.a.getPlugin("plugin"),Y=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&K(t,e)}(o,t);var e,n,r,i=z(o);function o(t,e){var n;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,o),(n=i.call(this,t,e)).options=e,n.initCreateClipSeekBar=n.initCreateClipSeekBar.bind(W(n)),n.player.one("loadedmetadata",(function(){return n.player.ready(n.initCreateClipSeekBar)})),n}return e=o,(n=[{key:"initCreateClipSeekBar",value:function(){var t,e=null===(t=this.player.controlBar.getChild("ProgressControl"))||void 0===t?void 0:t.getChild("SeekBar");if(e){var n=!isNaN(this.options.startTime)&&this.options.startTime>=0?this.options.startTime:0,r=!isNaN(this.options.endTime)&&this.options.endTime<=this.player.duration()?this.options.endTime:this.player.duration(),i=Math.min(this.options.minDuration||5,this.player.duration());e.initialize({startTime:n,endTime:r,minDuration:i,onChangeStartTime:this.options.onChangeStartTime,onChangeEndTime:this.options.onChangeEndTime})}}},{key:"dispose",value:function(){this.player.off("loadedmetadata",this.initCreateClipSeekBar),V(q(o.prototype),"dispose",this).call(this)}}])&&U(e.prototype,n),r&&U(e,r),o}(J);function Q(t){return(Q="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function $(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function X(t,e){return(X=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Z(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=et(t);if(e){var i=et(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return tt(this,n)}}function tt(t,e){return!e||"object"!==Q(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function et(t){return(et=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}m.a.registerPlugin("createClipPlugin",Y);var nt=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&X(t,e)}(o,t);var e,n,r,i=Z(o);function o(t,e){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,o),i.call(this,t,Object.assign(Object.assign({},e),{playbackRates:null,enableLocalCache:!1}))}return e=o,(n=[{key:"getPlayerClassName",value:function(){return"cv-create-clip-player"}},{key:"configurePlugins",value:function(){var t=this.options,e=t.startTime,n=t.endTime,r=t.minDuration,i=t.onChangeStartTime,o=t.onChangeEndTime;this.player.createClipPlugin({startTime:e,endTime:n,minDuration:r,onChangeStartTime:i,onChangeEndTime:o})}},{key:"getSeekBarName",value:function(){return"CreateClipSeekBar"}},{key:"getAnalyticsPlayerType",value:function(){return"create-clip-player"}}])&&$(e.prototype,n),r&&$(e,r),o}(d.a);function rt(t){var e=i.a.useRef(),n=i.a.useRef();return i.a.useEffect((function(){n.current=new nt(e.current,t)}),[]),i.a.useEffect((function(){var e;null===(e=n.current)||void 0===e||e.trigger({type:"update:clip:start:time",time:t.startTime})}),[t.startTime]),i.a.useEffect((function(){var e;null===(e=n.current)||void 0===e||e.trigger({type:"update:clip:end:time",time:t.endTime})}),[t.endTime]),i.a.createElement("div",{ref:e})}var it=n(49),ot=n(1080),at=n(233),ct=n(1679),ut=u.a.encloseNamespace("shared.clipTimeForm");function lt(t){function e(){t.setTime(Math.floor(t.value)+1)}function n(){t.setTime(Math.floor(t.value)-1)}return r.createElement("div",{className:"position-relative"},r.createElement("input",{className:"form-control form-control-lg text-center ".concat(ct.timeInput),value:ot.a.ToDisplayDuration(1e3*t.value),onChange:function(){},onKeyDown:function(t){38===t.keyCode&&e(),40===t.keyCode&&n()}}),r.createElement("div",{className:ct.controlsContainer},r.createElement("div",{className:ct.arrowContainer,onClick:e},r.createElement("div",{className:ct.upArrow})),r.createElement("div",{className:ct.arrowContainer,onClick:n},r.createElement("div",{className:ct.downArrow}))))}function st(t){if(isNaN(t.startTime)||isNaN(t.endTime))return r.createElement(r.Fragment,null);var e=Math.floor(t.endTime)-Math.floor(t.startTime);return r.createElement("div",{className:"px-3"},r.createElement("form",{className:"form-inline justify-content-center pb-4"},r.createElement("div",{className:"form-group"},r.createElement(lt,{value:t.startTime,setTime:t.setStartTime})),r.createElement("span",{className:"px-2"},"-"),r.createElement("div",{className:"form-group mr-2"},r.createElement(lt,{value:t.endTime,setTime:t.setEndTime})),r.createElement("span",null,r.createElement("strong",null,r.createElement(at.b,{namespace:"shared.clipTimeForm",phrase:"duration"}))," ",ot.a.ToDisplayDuration(1e3*e))),r.createElement("div",{className:"d-flex justify-content-end"},r.createElement("button",{className:"btn btn-link",onClick:t.onCancel},ut("cancel")),r.createElement("button",{className:"btn btn-dark",onClick:t.onSubmit},ut("next"))))}var ft=n(6),pt=n(9),dt=n(243),mt=n(186),yt=n(360),ht=n(1068);function vt(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(t)))return;var n=[],r=!0,i=!1,o=void 0;try{for(var a,c=t[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){i=!0,o=t}finally{try{r||null==c.return||c.return()}finally{if(i)throw o}}return n}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return gt(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return gt(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function gt(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}n.d(e,"EditClipTimepointsView",(function(){return Tt}));var bt=u.a.encloseNamespace("shared.editClipTimepoints");function Tt(t){var e,n,i,d,m=vt(Object(a.a)(it.a.WEB_PLAYER_DATA),2),y=m[0],h=m[1],v=t.startTime||(null===(e=null==y?void 0:y.playerRef)||void 0===e?void 0:e.currentTime())||0,g=vt(r.useState(v),2),b=g[0],T=g[1],S=vt(r.useState(v+30),2),C=S[0],E=S[1],w=o.a.useBasicFetch(f.a.config()),O=o.a.useBasicFetch(!!t.id&&dt.a.clip(t.id)),P=(null===(i=null===(n=O.data)||void 0===n?void 0:n.video)||void 0===i?void 0:i.id)||t.videoId,k=o.a.useBasicFetch(!!P&&s.a.createViewKey(P,ht.a.MasterObject)),_=o.a.useBasicFetch(!!P&&mt.a.video(P)),j=Object(yt.a)();return Object(l.a)(t.id?null===(d=O.data)||void 0===d?void 0:d.name:bt("pageTitle")),r.useEffect((function(){h("allowFloatingPlayer",!1),j.lock({id:"edit-clip-timepoints",title:u.a.getPhrase("shared.editClipTimepoints","navLockTitle"),text:u.a.getPhrase("shared.editClipTimepoints","navLockBody")})}),[]),r.useEffect((function(){O.data&&(T(O.data.startTime),E(O.data.endTime))}),[O.data]),t.id||t.videoId?r.createElement("div",{className:"px-3"},!!w.data&&!!k.data&&!!_.data&&(!t.id||!!O.data)&&r.createElement("div",{className:"pb-3"},r.createElement("div",{className:"mb-3"},r.createElement(rt,{playerApi:new URL(w.data.playerApiUrl),viewKey:k.data.viewKey,startTime:b,endTime:C,onChangeStartTime:T,onChangeEndTime:E,minDuration:5,autoplay:!0})),r.createElement(st,{startTime:b,endTime:C,setStartTime:T,setEndTime:E,onSubmit:function(){var e="";b>C&&(e=bt("startTimeGreaterThanEndTime")),C-b<5&&(e=bt("tooShort",{minDuration:5})),e?function(t){p.a.render(r.createElement("p",null,t),{title:bt("errorHeading"),buttons:[{variant:"link",buttonText:bt("close")}]})}(e):(j.unlock("edit-clip-timepoints"),c.a.AppLinkHelper.trigger({application:ft.a.DEFAULT,action:t.id?pt.a.Default.EDIT_CLIP_DETAILS:pt.a.Default.CREATE_CLIP_DETAILS,args:t.id?[t.id]:[t.videoId],params:{startTime:b,endTime:C}}))},onCancel:function(){var t,e;c.a.AppLinkHelper.trigger({application:ft.a.DEFAULT,action:pt.a.Default.PLAY_VIDEO,args:[null===(t=_.data)||void 0===t?void 0:t.id,null===(e=_.data)||void 0===e?void 0:e.name]})}}))):r.createElement(r.Fragment,null)}}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(window.webpackJsonp_clickview_lite=window.webpackJsonp_clickview_lite||[]).push([[22],{1025:function(e,t,n){"use strict";n.d(t,"a",(function(){return c})),n.d(t,"b",(function(){return s}));var a=n(0),i=n(1024),r=n(42),o=n(66),l=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(a=Object.getOwnPropertySymbols(e);i<a.length;i++)t.indexOf(a[i])<0&&Object.prototype.propertyIsEnumerable.call(e,a[i])&&(n[a[i]]=e[a[i]])}return n};function c(e){var t=e.castInitialValues,n=e.castValuesOnSubmit,c=e.initialValues,s=e.onSubmit,u=l(e,["castInitialValues","castValuesOnSubmit","initialValues","onSubmit"]),m=t&&e.validationSchema?e.validationSchema.cast(function e(t){var n=o.a.deepClone(t);return Object.keys(n).forEach((function(t){n.hasOwnProperty(t)&&(o.a.isObject(n[t])?n[t]=e(n[t]):null===n[t]&&delete n[t])})),n}(c)):c,d={allowInitialSubmit:e.allowInitialSubmit};return a.createElement(i.d,Object.assign({enableReinitialize:!0},u,{initialValues:m,onSubmit:function(t,a){var i=a.setSubmitting,r=a.resetForm,o=n&&e.validationSchema?e.validationSchema.cast(t):t;s(o,(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.reset&&r(),i(!1)}))},initialStatus:d}),r.a.isFunction(e.children)?function(t){return e.children(t)}:a.Children.count(e.children)?e.children:null)}function s(){return Object(i.f)()}c.defaultProps={castInitialValues:!0,castValuesOnSubmit:!0}},1030:function(e,t,n){"use strict";var a=n(0),i=n(1024),r=n(41);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],a=!0,i=!1,r=void 0;try{for(var o,l=e[Symbol.iterator]();!(a=(o=l.next()).done)&&(n.push(o.value),!t||n.length!==t);a=!0);}catch(e){i=!0,r=e}finally{try{a||null==l.return||l.return()}finally{if(i)throw r}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return l(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var c=n(233);n.d(t,"a",(function(){return s}));function s(e){var t=Object(i.f)(),n=function(e){var t,n=o(a.useState(!1),2),i=n[0],r=n[1];return a.useEffect((function(){var t;e.isValid&&(e.dirty||(null===(t=e.initialStatus)||void 0===t?void 0:t.allowInitialSubmit))?r(!0):r(!1)}),[e.isValid,null===(t=e.initialStatus)||void 0===t?void 0:t.allowInitialSubmit,e.dirty,e.values]),a.useEffect((function(){e.isSubmitting&&r(!1)}),[e.isSubmitting]),i}(t);return a.createElement(r.Button,{variant:e.variant||"primary",type:"submit",disabled:!n,size:e.size,className:e.className?e.className:""},t.isSubmitting?a.createElement(r.Spinner,{as:"span",animation:"border",role:"status",size:"sm"}):e.submitText?a.createElement(a.Fragment,null,e.submitText):a.createElement(c.b,{namespace:"shared.formButtons",phrase:e.isNew?"create":"save"}))}},1031:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var a=n(1024),i={getCustomFormControlClassName:function(e,t,n,i,r){var o="form-control";return"sm"===i&&(o+=" form-control-sm"),"lg"===i&&(o+=" form-control-lg"),Object(a.e)(t,n)&&Object(a.e)(e,n)&&(o+=" is-invalid"),r&&(o+=" ".concat(r)),o}}},1033:function(e,t,n){"use strict";var a=n(0),i=n(1024),r=n(41),o=n(66),l=n(42),c=n(1031),s=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(a=Object.getOwnPropertySymbols(e);i<a.length;i++)t.indexOf(a[i])<0&&Object.prototype.propertyIsEnumerable.call(e,a[i])&&(n[a[i]]=e[a[i]])}return n};function u(e){var t=e.label,n=e.checkboxLabelClassName,i=e.checkboxLabelFontWeight,o=s(e,["label","checkboxLabelClassName","checkboxLabelFontWeight"]);return a.createElement(r.Form.Group,null,a.createElement("div",{className:"custom-control custom-checkbox"},a.createElement(v,Object.assign({className:"custom-control-input"},o)),a.createElement(r.Form.Label,{className:"custom-control-label cursor-pointer ".concat("normal"===i?"font-weight-normal":""," \n ").concat(n),htmlFor:o.id},t)))}var m=n(74),d=n(25),p=n(233);function f(e){var t=Object(i.f)().values[e.fieldName];return"string"!=typeof t?a.createElement(a.Fragment,null):a.createElement("div",{className:"float-right text-muted"},t.length,"/",e.limit)}n.d(t,"a",(function(){return v})),n.d(t,"b",(function(){return h}));var b=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(a=Object.getOwnPropertySymbols(e);i<a.length;i++)t.indexOf(a[i])<0&&Object.prototype.propertyIsEnumerable.call(e,a[i])&&(n[a[i]]=e[a[i]])}return n};function v(e){var t=e.children,n=b(e,["children"]);return a.createElement(i.b,Object.assign({},o.a.omit(n,["formSize"])),l.a.isFunction(t)?function(e){return t(e)}:a.Children.count(t)?t:null)}function h(e){var t=e.label,n=e.className,l=e.showCharacterCounter,s=e.showRequiredStar,h=e.infoTooltip,g=e.infoText,y=e.formSize,O=e.showOptionalLabel,E=b(e,["label","className","showCharacterCounter","showRequiredStar","infoTooltip","infoText","formSize","showOptionalLabel"]),S=Object(i.f)(),w=S.errors,C=S.touched,j=function(){};if("checkbox"===E.type){var N=o.a.omit(e,["formSize"]);return e.disabled&&(N.onChange=j),a.createElement(u,Object.assign({},N))}var x=Object.assign(Object.assign({},E),{className:c.a.getCustomFormControlClassName(w,C,E.name,y,n)});return e.disabled&&(x.onChange=j),a.createElement(r.Form.Group,null,!!t&&a.createElement(r.Form.Label,{htmlFor:E.id,className:"d-flex align-items-center"},t,s&&a.createElement("span",{className:"text-danger"},"*"),h&&a.createElement(m.a,{svgName:d.b.Info,title:h,tooltipPlacement:"top",tooltipSpanHack:!0}),O&&a.createElement("span",{className:"text-muted"}," ",a.createElement(p.b,{namespace:"shared.formField",phrase:"optional"}))),a.createElement(v,Object.assign({},x)),!!l&&!!E.maxLength&&a.createElement(f,{fieldName:E.name,limit:E.maxLength}),!!g&&a.createElement(r.Form.Text,{className:"text-muted"},g),a.createElement(i.a,{name:E.name},(function(e){return a.createElement(r.Form.Control.Feedback,{type:"invalid"},e)})))}v.defaultProps={autoComplete:"off"},h.defaultProps={autoComplete:"off"}},1923:function(e,t,n){"use strict";n.r(t);var a=n(0),i=n(76),r=n(4),o=n(11),l=n(58),c=n(8),s=n(35),u=n(61),m=n(236),d=n(235),p=n(1070),f=n(1024),b=n(233),v=n(1025),h=n(1033),g=n(1030),y=n(1056),O=n(47),E=n(1052),S=n(2),w=n(23),C=c.a.encloseNamespace("shared.editClipDetails"),j=p.object().shape({name:p.string().trim().max(255,(function(){return C("titleTooLong")})).required((function(){return C("titleRequired")})).default(""),description:p.string().trim().max(65535,(function(){return C("descriptionTooLong")})).default(""),startTime:p.number().required(),endTime:p.number().required()}).noUnknown();function N(e){var t=Object(v.b)();return a.createElement(f.c,null,a.createElement("div",{className:"row form-group"},a.createElement("div",{className:"col-5"},a.createElement(y.a,{video:Object.assign({video:e.video,typeId:w.a.Clip},t.values),type:"static",imageOptions:{size:O.b.Small},textPosition:E.a.Independent,preload:!0,analyticsOptions:{location:S.LocationContext.Popup}})),a.createElement("div",{className:"col-7"},a.createElement("h2",{className:"h6"},t.values.name))),a.createElement(h.b,{label:C("nameLabel"),type:"text",name:"name",id:"name",placeholder:C("namePlaceholder"),autoFocus:!0,value:t.values.name,formSize:"lg"}),a.createElement(h.b,{label:C("descriptionLabel"),component:"textarea",name:"description",id:"description",placeholder:C("descriptionPlaceholder"),value:t.values.description,formSize:"lg"}),a.createElement("div",{className:"btn-container d-flex justify-content-end"},a.createElement("button",{type:"button",className:"btn btn-link mr-2",onClick:e.onClickCancel},a.createElement(b.b,{namespace:"shared.editClipDetails",phrase:"cancel"})),a.createElement(g.a,{isNew:e.isNew,submitText:e.isNew&&C("createClip"),variant:"dark"})))}function x(e){var t;return a.createElement(v.a,{initialValues:e.clip,validationSchema:j,onSubmit:e.saveClip,allowInitialSubmit:e.allowInitialSubmit},a.createElement(N,{video:e.video,isNew:!(null===(t=e.clip)||void 0===t?void 0:t.id),onClickCancel:e.onClickCancel}))}var P=n(243),k=n(186),F=n(6),I=n(9);n.d(t,"EditClipDetailsView",(function(){return L}));var T=c.a.encloseNamespace("shared.editClipDetails");function L(e){var t,n,c,p,f,b,v,h=Object(i.useDispatch)(),g=Object(d.a)(),y=o.a.useBasicFetch(!!e.id&&P.a.clip(e.id)),O=(null===(n=null===(t=y.data)||void 0===t?void 0:t.video)||void 0===n?void 0:n.id)||e.videoId,E=o.a.useBasicFetch(!!O&&k.a.video(O)),S=isNaN(e.startTime)?null===(c=null==y?void 0:y.data)||void 0===c?void 0:c.startTime:e.startTime,w=isNaN(e.endTime)?null===(p=null==y?void 0:y.data)||void 0===p?void 0:p.endTime:e.endTime;if(!e.id&&!e.videoId)return a.createElement(a.Fragment,null);var C=!(!E.data||e.id&&!y.data);return a.createElement(m.a,{title:T(e.id?"editPopupHeading":"createPopupHeading"),closePopup:e.closePopup,showLoadingSpinner:!C},a.createElement(x,{video:E.data,clip:{id:null===(f=null==y?void 0:y.data)||void 0===f?void 0:f.id,name:null===(b=null==y?void 0:y.data)||void 0===b?void 0:b.name,description:null===(v=null==y?void 0:y.data)||void 0===v?void 0:v.description,startTime:S,endTime:w},saveClip:function(t){var n=function(n){g.success(T("success",{name:t.name})),s.a.logUserAction(Object.assign(Object.assign({},n),{videoId:O}),{actionType:e.id?u.q.Edit:u.q.Create,entity:u.d.Clip,location:u.k.Popup,workflowPhase:u.t.Complete}),e.id||r.a.AppLinkHelper.trigger({application:F.a.DEFAULT,action:I.a.Default.PLAY_CLIP,args:[n.id,l.a.slugify(n.name)]})},a=function(){g.error(T("error"))},i=function(){e.closePopup()},c=e.id?P.a.updateClip(e.id,t,n,a,i):P.a.createClip(e.videoId,t,n,a,i);o.a.fetch(h,c)},onClickCancel:e.closePopup,allowInitialSubmit:!0}))}}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(window.webpackJsonp_clickview_lite=window.webpackJsonp_clickview_lite||[]).push([[23],{1882:function(e,n,a){window,e.exports=function(e){var n={};function a(t){if(n[t])return n[t].exports;var s=n[t]={i:t,l:!1,exports:{}};return e[t].call(s.exports,s,s.exports,a),s.l=!0,s.exports}return a.m=e,a.c=n,a.d=function(e,n,t){a.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:t})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,n){if(1&n&&(e=a(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(a.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var s in e)a.d(t,s,function(n){return e[n]}.bind(null,s));return t},a.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(n,"a",n),n},a.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},a.p="",a(a.s=8)}([function(e,n,a){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=function(){function e(){}return e.initializeCalled=!1,e.initializeCompleted=!1,e.initializeCallbacks=[],e.isFramelessWindow=!1,e.parentMessageQueue=[],e.childMessageQueue=[],e.nextMessageId=0,e.handlers={},e.callbacks={},e.printCapabilityEnabled=!1,e}();n.GlobalVars=t},function(e,n,a){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=a(4),s=a(2),r=a(0);function i(e){if("id"in e.data){var n=e.data,a=r.GlobalVars.callbacks[n.id];a&&(a.apply(null,n.args),delete r.GlobalVars.callbacks[n.id])}else if("func"in e.data){n=e.data;var t=r.GlobalVars.handlers[n.func];t&&t.apply(this,n.args)}}function o(e){return e===r.GlobalVars.parentWindow?r.GlobalVars.parentMessageQueue:e===r.GlobalVars.childWindow?r.GlobalVars.childMessageQueue:[]}function l(e){return e===r.GlobalVars.parentWindow?r.GlobalVars.parentOrigin:e===r.GlobalVars.childWindow?r.GlobalVars.childOrigin:null}function u(e){for(var n=l(e),a=o(e);e&&n&&a.length>0;)e.postMessage(a.shift(),n)}function d(e,n,a){var t=function(e,n){return{id:r.GlobalVars.nextMessageId++,func:e,args:n||[]}}(n,a);if(r.GlobalVars.isFramelessWindow)r.GlobalVars.currentWindow&&r.GlobalVars.currentWindow.nativeInterface&&r.GlobalVars.currentWindow.nativeInterface.framelessPostMessage(JSON.stringify(t));else{var s=l(e);e&&s?e.postMessage(t,s):o(e).push(t)}return t.id}function c(e,n,a){var t=function(e,n){return{id:e,args:n||[]}}(n,a),s=l(e);e&&s&&e.postMessage(t,s)}r.GlobalVars.handlers.themeChange=function(e){r.GlobalVars.themeChangeHandler&&r.GlobalVars.themeChangeHandler(e),r.GlobalVars.childWindow&&d(r.GlobalVars.childWindow,"themeChange",[e])},r.GlobalVars.handlers.fullScreenChange=function(e){r.GlobalVars.fullScreenChangeHandler&&r.GlobalVars.fullScreenChangeHandler(e)},r.GlobalVars.handlers.backButtonPress=function(){r.GlobalVars.backButtonPressHandler&&r.GlobalVars.backButtonPressHandler()||t.navigateBack()},r.GlobalVars.handlers.load=function(e){r.GlobalVars.loadHandler&&r.GlobalVars.loadHandler(e),r.GlobalVars.childWindow&&d(r.GlobalVars.childWindow,"load",[e])},r.GlobalVars.handlers.beforeUnload=function(){var e=function(){d(r.GlobalVars.parentWindow,"readyToUnload",[])};r.GlobalVars.beforeUnloadHandler&&r.GlobalVars.beforeUnloadHandler(e)||e()},r.GlobalVars.handlers.changeSettings=function(){r.GlobalVars.changeSettingsHandler&&r.GlobalVars.changeSettingsHandler()},r.GlobalVars.handlers.startConversation=function(e,n,a,t){r.GlobalVars.onStartConversationHandler&&r.GlobalVars.onStartConversationHandler({subEntityId:e,conversationId:n,channelId:a,entityId:t})},r.GlobalVars.handlers.closeConversation=function(e,n,a,t){r.GlobalVars.onCloseConversationHandler&&r.GlobalVars.onCloseConversationHandler({subEntityId:e,conversationId:n,channelId:a,entityId:t})},n.ensureInitialized=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];if(!r.GlobalVars.initializeCalled)throw new Error("The library has not yet been initialized");if(r.GlobalVars.frameContext&&e&&e.length>0){for(var a=!1,t=0;t<e.length;t++)if(e[t]===r.GlobalVars.frameContext){a=!0;break}if(!a)throw new Error("This call is not allowed in the '"+r.GlobalVars.frameContext+"' context")}},n.processMessage=function(e){if(e&&e.data&&"object"==typeof e.data){var n=e.source||e.originalEvent.source,a=e.origin||e.originalEvent.origin;n===r.GlobalVars.currentWindow||a!==r.GlobalVars.currentWindow.location.origin&&!s.validOriginRegExp.test(a.toLowerCase())||(function(e,n){r.GlobalVars.parentWindow&&e!==r.GlobalVars.parentWindow?r.GlobalVars.childWindow&&e!==r.GlobalVars.childWindow||(r.GlobalVars.childWindow=e,r.GlobalVars.childOrigin=n):(r.GlobalVars.parentWindow=e,r.GlobalVars.parentOrigin=n),r.GlobalVars.parentWindow&&r.GlobalVars.parentWindow.closed&&(r.GlobalVars.parentWindow=null,r.GlobalVars.parentOrigin=null),r.GlobalVars.childWindow&&r.GlobalVars.childWindow.closed&&(r.GlobalVars.childWindow=null,r.GlobalVars.childOrigin=null),u(r.GlobalVars.parentWindow),u(r.GlobalVars.childWindow)}(n,a),n===r.GlobalVars.parentWindow?i(e):n===r.GlobalVars.childWindow&&function(e){if("id"in e.data&&"func"in e.data){var n=e.data,a=r.GlobalVars.handlers[n.func];if(a){var t=a.apply(this,n.args);t&&c(r.GlobalVars.childWindow,n.id,Array.isArray(t)?t:[t])}else{var s=d(r.GlobalVars.parentWindow,n.func,n.args);r.GlobalVars.callbacks[s]=function(){for(var e=[],a=0;a<arguments.length;a++)e[a]=arguments[a];r.GlobalVars.childWindow&&c(r.GlobalVars.childWindow,n.id,e)}}}}(e))}},n.handleParentMessage=i,n.waitForMessageQueue=function(e,n){var a=r.GlobalVars.currentWindow.setInterval((function(){0===o(e).length&&(clearInterval(a),n())}),100)},n.sendMessageRequest=d},function(e,n,a){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=a(3);n.version="1.5.2",n.validOrigins=["https://teams.microsoft.com","https://teams.microsoft.us","https://gov.teams.microsoft.us","https://dod.teams.microsoft.us","https://int.teams.microsoft.com","https://devspaces.skype.com","https://ssauth.skype.com","https://local.teams.office.com","https://local.teams.office.com:8080","https://msft.spoppe.com","https://*.sharepoint.com","https://*.sharepoint-df.com","https://*.sharepointonline.com","https://outlook.office.com","https://outlook-sdf.office.com"],n.frameContexts={settings:"settings",content:"content",authentication:"authentication",remove:"remove",task:"task"},n.validOriginRegExp=t.generateRegExpFromUrls(n.validOrigins)},function(e,n,a){"use strict";function t(e){for(var n="^",a=e.split("."),t=0;t<a.length;t++)n+=(t>0?"[.]":"")+a[t].replace("*","[^/^.]+");return n+"$"}Object.defineProperty(n,"__esModule",{value:!0}),n.generateRegExpFromUrls=function(e){for(var n="",a=0;a<e.length;a++)n+=(0===a?"":"|")+t(e[a]);return new RegExp(n)},n.getGenericOnCompleteHandler=function(e){return function(n,a){if(!n)throw new Error(e||a)}}},function(e,n,a){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=a(1),s=a(0),r=a(2),i=a(5),o=a(3),l=a(6);function u(){window.print()}function d(e){t.ensureInitialized(),s.GlobalVars.themeChangeHandler=e,e&&t.sendMessageRequest(s.GlobalVars.parentWindow,"registerHandler",["themeChange"])}function c(e){t.ensureInitialized(),s.GlobalVars.fullScreenChangeHandler=e,e&&t.sendMessageRequest(s.GlobalVars.parentWindow,"registerHandler",["fullScreen"])}function b(e){t.ensureInitialized(),s.GlobalVars.backButtonPressHandler=e,e&&t.sendMessageRequest(s.GlobalVars.parentWindow,"registerHandler",["backButton"])}function f(e){t.ensureInitialized(),s.GlobalVars.loadHandler=e,e&&t.sendMessageRequest(s.GlobalVars.parentWindow,"registerHandler",["load"])}function g(e){t.ensureInitialized(),s.GlobalVars.beforeUnloadHandler=e,e&&t.sendMessageRequest(s.GlobalVars.parentWindow,"registerHandler",["beforeUnload"])}n.initialize=function(e){if(!s.GlobalVars.initializeCalled){s.GlobalVars.initializeCalled=!0;var n=function(e){return t.processMessage(e)};s.GlobalVars.currentWindow=s.GlobalVars.currentWindow||window,s.GlobalVars.parentWindow=s.GlobalVars.currentWindow.parent!==s.GlobalVars.currentWindow.self?s.GlobalVars.currentWindow.parent:s.GlobalVars.currentWindow.opener,s.GlobalVars.parentWindow?s.GlobalVars.currentWindow.addEventListener("message",n,!1):(s.GlobalVars.isFramelessWindow=!0,window.onNativeMessage=t.handleParentMessage);try{s.GlobalVars.parentOrigin="*";var a=t.sendMessageRequest(s.GlobalVars.parentWindow,"initialize",[r.version]);s.GlobalVars.callbacks[a]=function(e,n){s.GlobalVars.frameContext=e,s.GlobalVars.hostClientType=n,s.GlobalVars.initializeCallbacks.forEach((function(e){return e()})),s.GlobalVars.initializeCallbacks=[],s.GlobalVars.initializeCompleted=!0}}finally{s.GlobalVars.parentOrigin=null}this._uninitialize=function(){s.GlobalVars.frameContext&&(d(null),c(null),b(null),g(null),f(null),l.logs.registerGetLogHandler(null)),s.GlobalVars.frameContext===r.frameContexts.settings&&i.settings.registerOnSaveHandler(null),s.GlobalVars.frameContext===r.frameContexts.remove&&i.settings.registerOnRemoveHandler(null),s.GlobalVars.isFramelessWindow||s.GlobalVars.currentWindow.removeEventListener("message",n,!1),s.GlobalVars.initializeCalled=!1,s.GlobalVars.initializeCompleted=!1,s.GlobalVars.initializeCallbacks=[],s.GlobalVars.parentWindow=null,s.GlobalVars.parentOrigin=null,s.GlobalVars.parentMessageQueue=[],s.GlobalVars.childWindow=null,s.GlobalVars.childOrigin=null,s.GlobalVars.childMessageQueue=[],s.GlobalVars.nextMessageId=0,s.GlobalVars.callbacks={},s.GlobalVars.frameContext=null,s.GlobalVars.hostClientType=null,s.GlobalVars.isFramelessWindow=!1}}e&&(s.GlobalVars.initializeCompleted?e():s.GlobalVars.initializeCallbacks.push(e))},n._initialize=function(e){s.GlobalVars.currentWindow=e},n._uninitialize=function(){},n.enablePrintCapability=function(){s.GlobalVars.printCapabilityEnabled||(s.GlobalVars.printCapabilityEnabled=!0,t.ensureInitialized(),document.addEventListener("keydown",(function(e){(e.ctrlKey||e.metaKey)&&80===e.keyCode&&(u(),e.cancelBubble=!0,e.preventDefault(),e.stopImmediatePropagation())})))},n.print=u,n.getContext=function(e){t.ensureInitialized();var n=t.sendMessageRequest(s.GlobalVars.parentWindow,"getContext");s.GlobalVars.callbacks[n]=e},n.registerOnThemeChangeHandler=d,n.registerFullScreenHandler=c,n.registerBackButtonHandler=b,n.navigateBack=function(e){t.ensureInitialized();var n=t.sendMessageRequest(s.GlobalVars.parentWindow,"navigateBack",[]);s.GlobalVars.callbacks[n]=e||o.getGenericOnCompleteHandler("Back navigation is not supported in the current client or context.")},n.registerOnLoadHandler=f,n.registerBeforeUnloadHandler=g,n.registerChangeSettingsHandler=function(e){t.ensureInitialized(r.frameContexts.content),s.GlobalVars.changeSettingsHandler=e,e&&t.sendMessageRequest(s.GlobalVars.parentWindow,"registerHandler",["changeSettings"])},n.navigateCrossDomain=function(e,n){t.ensureInitialized(r.frameContexts.content,r.frameContexts.settings,r.frameContexts.remove,r.frameContexts.task);var a=t.sendMessageRequest(s.GlobalVars.parentWindow,"navigateCrossDomain",[e]);s.GlobalVars.callbacks[a]=n||o.getGenericOnCompleteHandler("Cross-origin navigation is only supported for URLs matching the pattern registered in the manifest.")},n.getTabInstances=function(e,n){t.ensureInitialized();var a=t.sendMessageRequest(s.GlobalVars.parentWindow,"getTabInstances",[n]);s.GlobalVars.callbacks[a]=e},n.getMruTabInstances=function(e,n){t.ensureInitialized();var a=t.sendMessageRequest(s.GlobalVars.parentWindow,"getMruTabInstances",[n]);s.GlobalVars.callbacks[a]=e},n.shareDeepLink=function(e){t.ensureInitialized(r.frameContexts.content),t.sendMessageRequest(s.GlobalVars.parentWindow,"shareDeepLink",[e.subEntityId,e.subEntityLabel,e.subEntityWebUrl])},n.executeDeepLink=function(e,n){t.ensureInitialized(r.frameContexts.content,r.frameContexts.task);var a=t.sendMessageRequest(s.GlobalVars.parentWindow,"executeDeepLink",[e]);s.GlobalVars.callbacks[a]=n||o.getGenericOnCompleteHandler()},n.navigateToTab=function(e,n){t.ensureInitialized();var a=t.sendMessageRequest(s.GlobalVars.parentWindow,"navigateToTab",[e]);s.GlobalVars.callbacks[a]=n||o.getGenericOnCompleteHandler("Invalid internalTabInstanceId and/or channelId were/was provided")}},function(e,n,a){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=a(1),s=a(0),r=a(2),i=a(3);!function(e){var n,a;s.GlobalVars.handlers["settings.save"]=function(e){var a=new o(e);n?n(a):a.notifySuccess()},s.GlobalVars.handlers["settings.remove"]=function(){var e=new l;a?a(e):e.notifySuccess()},e.setValidityState=function(e){t.ensureInitialized(r.frameContexts.settings,r.frameContexts.remove),t.sendMessageRequest(s.GlobalVars.parentWindow,"settings.setValidityState",[e])},e.getSettings=function(e){t.ensureInitialized(r.frameContexts.content,r.frameContexts.settings,r.frameContexts.remove);var n=t.sendMessageRequest(s.GlobalVars.parentWindow,"settings.getSettings");s.GlobalVars.callbacks[n]=e},e.setSettings=function(e,n){t.ensureInitialized(r.frameContexts.content,r.frameContexts.settings);var a=t.sendMessageRequest(s.GlobalVars.parentWindow,"settings.setSettings",[e]);s.GlobalVars.callbacks[a]=n||i.getGenericOnCompleteHandler()},e.registerOnSaveHandler=function(e){t.ensureInitialized(r.frameContexts.settings),n=e,e&&t.sendMessageRequest(s.GlobalVars.parentWindow,"registerHandler",["save"])},e.registerOnRemoveHandler=function(e){t.ensureInitialized(r.frameContexts.remove),a=e,e&&t.sendMessageRequest(s.GlobalVars.parentWindow,"registerHandler",["remove"])};var o=function(){function e(e){this.notified=!1,this.result=e||{}}return e.prototype.notifySuccess=function(){this.ensureNotNotified(),t.sendMessageRequest(s.GlobalVars.parentWindow,"settings.save.success"),this.notified=!0},e.prototype.notifyFailure=function(e){this.ensureNotNotified(),t.sendMessageRequest(s.GlobalVars.parentWindow,"settings.save.failure",[e]),this.notified=!0},e.prototype.ensureNotNotified=function(){if(this.notified)throw new Error("The SaveEvent may only notify success or failure once.")},e}(),l=function(){function e(){this.notified=!1}return e.prototype.notifySuccess=function(){this.ensureNotNotified(),t.sendMessageRequest(s.GlobalVars.parentWindow,"settings.remove.success"),this.notified=!0},e.prototype.notifyFailure=function(e){this.ensureNotNotified(),t.sendMessageRequest(s.GlobalVars.parentWindow,"settings.remove.failure",[e]),this.notified=!0},e.prototype.ensureNotNotified=function(){if(this.notified)throw new Error("The removeEvent may only notify success or failure once.")},e}()}(n.settings||(n.settings={}))},function(e,n,a){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=a(1),s=a(0);!function(e){s.GlobalVars.handlers["log.request"]=function(){if(s.GlobalVars.getLogHandler){var e=s.GlobalVars.getLogHandler();t.sendMessageRequest(s.GlobalVars.parentWindow,"log.receive",[e])}},e.registerGetLogHandler=function(e){t.ensureInitialized(),s.GlobalVars.getLogHandler=e,e&&t.sendMessageRequest(s.GlobalVars.parentWindow,"registerHandler",["log.request"])}}(n.logs||(n.logs={}))},function(e,n,a){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=a(1),s=a(0),r=a(2),i=a(3),o=function(){function e(){}return e.prototype.postMessage=function(e,n){t.ensureInitialized();var a=t.sendMessageRequest(s.GlobalVars.parentWindow,"messageForChild",[e]);s.GlobalVars.callbacks[a]=n||i.getGenericOnCompleteHandler()},e.prototype.addEventListener=function(e,n){"message"===e&&(s.GlobalVars.handlers.messageForParent=n)},e}();n.ChildAppWindow=o;var l=function(){function e(){}return Object.defineProperty(e,"Instance",{get:function(){return this._instance||(this._instance=new this)},enumerable:!0,configurable:!0}),e.prototype.postMessage=function(e,n){t.ensureInitialized(r.frameContexts.task);var a=t.sendMessageRequest(s.GlobalVars.parentWindow,"messageForParent",[e]);s.GlobalVars.callbacks[a]=n||i.getGenericOnCompleteHandler()},e.prototype.addEventListener=function(e,n){"message"===e&&(s.GlobalVars.handlers.messageForChild=n)},e}();n.ParentAppWindow=l},function(e,n,a){"use strict";function t(e){for(var a in e)n.hasOwnProperty(a)||(n[a]=e[a])}Object.defineProperty(n,"__esModule",{value:!0}),t(a(9)),t(a(14))},function(e,n,a){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=a(10);n.bot=t.bot;var s=a(11);n.menus=s.menus;var r=a(6);n.logs=r.logs;var i=a(12);n.enterFullscreen=i.enterFullscreen,n.exitFullscreen=i.exitFullscreen,n.getChatMembers=i.getChatMembers,n.getConfigSetting=i.getConfigSetting,n.getUserJoinedTeams=i.getUserJoinedTeams,n.openFilePreview=i.openFilePreview,n.sendCustomMessage=i.sendCustomMessage,n.showNotification=i.showNotification,n.uploadCustomApp=i.uploadCustomApp;var o=a(13);n.conversations=o.conversations},function(e,n,a){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=a(0),s=a(1);!function(e){e.sendQuery=function(e,n,a){s.ensureInitialized();var r=s.sendMessageRequest(t.GlobalVars.parentWindow,"bot.executeQuery",[e]);t.GlobalVars.callbacks[r]=function(e,t){e?n(t):a(t)}},e.getSupportedCommands=function(e,n){s.ensureInitialized();var a=s.sendMessageRequest(t.GlobalVars.parentWindow,"bot.getSupportedCommands");t.GlobalVars.callbacks[a]=function(a,t){a?e(t):n(t)}},e.authenticate=function(e,n,a){s.ensureInitialized();var r=s.sendMessageRequest(t.GlobalVars.parentWindow,"bot.authenticate",[e]);t.GlobalVars.callbacks[r]=function(e,t){e?n(t):a(t)}},function(e){e.Results="Results",e.Auth="Auth"}(e.ResponseType||(e.ResponseType={}))}(n.bot||(n.bot={}))},function(e,n,a){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=a(1),s=a(0);!function(e){var n,a,r,i=function(){this.enabled=!0};e.MenuItem=i,function(e){e.dropDown="dropDown",e.popOver="popOver"}(e.MenuListType||(e.MenuListType={})),s.GlobalVars.handlers.navBarMenuItemPress=function(e){n&&n(e)||(t.ensureInitialized(),t.sendMessageRequest(s.GlobalVars.parentWindow,"handleNavBarMenuItemPress",[e]))},s.GlobalVars.handlers.actionMenuItemPress=function(e){a&&a(e)||(t.ensureInitialized(),t.sendMessageRequest(s.GlobalVars.parentWindow,"handleActionMenuItemPress",[e]))},s.GlobalVars.handlers.setModuleView=function(e){r&&r(e)||(t.ensureInitialized(),t.sendMessageRequest(s.GlobalVars.parentWindow,"viewConfigItemPress",[e]))},e.setUpViews=function(e,n){t.ensureInitialized(),r=n,t.sendMessageRequest(s.GlobalVars.parentWindow,"setUpViews",[e])},e.setNavBarMenu=function(e,a){t.ensureInitialized(),n=a,t.sendMessageRequest(s.GlobalVars.parentWindow,"setNavBarMenu",[e])},e.showActionMenu=function(e,n){t.ensureInitialized(),a=n,t.sendMessageRequest(s.GlobalVars.parentWindow,"showActionMenu",[e])}}(n.menus||(n.menus={}))},function(e,n,a){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=a(1),s=a(0),r=a(2),i=a(3);n.getUserJoinedTeams=function(e,n){t.ensureInitialized();var a=t.sendMessageRequest(s.GlobalVars.parentWindow,"getUserJoinedTeams",[n]);s.GlobalVars.callbacks[a]=e},n.enterFullscreen=function(){t.ensureInitialized(r.frameContexts.content),t.sendMessageRequest(s.GlobalVars.parentWindow,"enterFullscreen",[])},n.exitFullscreen=function(){t.ensureInitialized(r.frameContexts.content),t.sendMessageRequest(s.GlobalVars.parentWindow,"exitFullscreen",[])},n.openFilePreview=function(e){t.ensureInitialized(r.frameContexts.content);var n=[e.entityId,e.title,e.description,e.type,e.objectUrl,e.downloadUrl,e.webPreviewUrl,e.webEditUrl,e.baseUrl,e.editFile,e.subEntityId];t.sendMessageRequest(s.GlobalVars.parentWindow,"openFilePreview",n)},n.showNotification=function(e){t.ensureInitialized(r.frameContexts.content);var n=[e.message,e.notificationType];t.sendMessageRequest(s.GlobalVars.parentWindow,"showNotification",n)},n.uploadCustomApp=function(e,n){t.ensureInitialized();var a=t.sendMessageRequest(s.GlobalVars.parentWindow,"uploadCustomApp",[e]);s.GlobalVars.callbacks[a]=n||i.getGenericOnCompleteHandler()},n.sendCustomMessage=function(e,n){return t.ensureInitialized(),t.sendMessageRequest(s.GlobalVars.parentWindow,e,n)},n.getChatMembers=function(e){t.ensureInitialized();var n=t.sendMessageRequest(s.GlobalVars.parentWindow,"getChatMembers");s.GlobalVars.callbacks[n]=e},n.getConfigSetting=function(e,n){t.ensureInitialized();var a=t.sendMessageRequest(s.GlobalVars.parentWindow,"getConfigSetting",[n]);s.GlobalVars.callbacks[a]=e}},function(e,n,a){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=a(1),s=a(0),r=a(2);!function(e){e.openConversation=function(e){t.ensureInitialized(r.frameContexts.content);var n=t.sendMessageRequest(s.GlobalVars.parentWindow,"conversations.openConversation",[{title:e.title,subEntityId:e.subEntityId,conversationId:e.conversationId,channelId:e.channelId,entityId:e.entityId}]);s.GlobalVars.onCloseConversationHandler=e.onCloseConversation,s.GlobalVars.onStartConversationHandler=e.onStartConversation,s.GlobalVars.callbacks[n]=function(e,n){if(!e)throw new Error(n)}},e.closeConversation=function(){t.ensureInitialized(r.frameContexts.content),t.sendMessageRequest(s.GlobalVars.parentWindow,"conversations.closeConversation"),s.GlobalVars.onCloseConversationHandler=null,s.GlobalVars.onStartConversationHandler=null}}(n.conversations||(n.conversations={}))},function(e,n,a){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=a(15);n.appInitialization=t.appInitialization;var s=a(16);n.authentication=s.authentication;var r=a(4);n.enablePrintCapability=r.enablePrintCapability,n.executeDeepLink=r.executeDeepLink,n.getContext=r.getContext,n.getMruTabInstances=r.getMruTabInstances,n.getTabInstances=r.getTabInstances,n.initialize=r.initialize,n.navigateBack=r.navigateBack,n.navigateCrossDomain=r.navigateCrossDomain,n.navigateToTab=r.navigateToTab,n.print=r.print,n.registerBackButtonHandler=r.registerBackButtonHandler,n.registerBeforeUnloadHandler=r.registerBeforeUnloadHandler,n.registerChangeSettingsHandler=r.registerChangeSettingsHandler,n.registerFullScreenHandler=r.registerFullScreenHandler,n.registerOnLoadHandler=r.registerOnLoadHandler,n.registerOnThemeChangeHandler=r.registerOnThemeChangeHandler,n.shareDeepLink=r.shareDeepLink;var i=a(5);n.settings=i.settings;var o=a(17);n.tasks=o.tasks;var l=a(7);n.ChildAppWindow=l.ChildAppWindow,n.ParentAppWindow=l.ParentAppWindow},function(e,n,a){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=a(1),s=a(0),r=a(2);!function(e){e.notifyAppLoaded=function(){t.ensureInitialized(),t.sendMessageRequest(s.GlobalVars.parentWindow,"appInitialization.appLoaded",[r.version])},e.notifySuccess=function(){t.ensureInitialized(),t.sendMessageRequest(s.GlobalVars.parentWindow,"appInitialization.success",[r.version])},e.notifyFailure=function(e){t.ensureInitialized(),t.sendMessageRequest(s.GlobalVars.parentWindow,"appInitialization.failure",[e.reason,e.message])}}(n.appInitialization||(n.appInitialization={}))},function(e,n,a){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=a(1),s=a(0),r=a(2);!function(e){var n,a;function i(){l();try{s.GlobalVars.childWindow&&s.GlobalVars.childWindow.close()}finally{s.GlobalVars.childWindow=null,s.GlobalVars.childOrigin=null}}function o(e){n=e,i();var a=n.width||600,t=n.height||400;a=Math.min(a,s.GlobalVars.currentWindow.outerWidth-400),t=Math.min(t,s.GlobalVars.currentWindow.outerHeight-200);var r=document.createElement("a");r.href=n.url;var o=void 0!==s.GlobalVars.currentWindow.screenLeft?s.GlobalVars.currentWindow.screenLeft:s.GlobalVars.currentWindow.screenX,l=void 0!==s.GlobalVars.currentWindow.screenTop?s.GlobalVars.currentWindow.screenTop:s.GlobalVars.currentWindow.screenY;o+=s.GlobalVars.currentWindow.outerWidth/2-a/2,l+=s.GlobalVars.currentWindow.outerHeight/2-t/2,s.GlobalVars.childWindow=s.GlobalVars.currentWindow.open(r.href,"_blank","toolbar=no, location=yes, status=no, menubar=no, scrollbars=yes, top="+l+", left="+o+", width="+a+", height="+t),s.GlobalVars.childWindow?u():d("FailedToOpenWindow")}function l(){a&&(clearInterval(a),a=0),delete s.GlobalVars.handlers.initialize,delete s.GlobalVars.handlers.navigateCrossDomain}function u(){l(),a=s.GlobalVars.currentWindow.setInterval((function(){if(!s.GlobalVars.childWindow||s.GlobalVars.childWindow.closed)d("CancelledByUser");else{var e=s.GlobalVars.childOrigin;try{s.GlobalVars.childOrigin="*",t.sendMessageRequest(s.GlobalVars.childWindow,"ping")}finally{s.GlobalVars.childOrigin=e}}}),100),s.GlobalVars.handlers.initialize=function(){return[r.frameContexts.authentication,s.GlobalVars.hostClientType]},s.GlobalVars.handlers.navigateCrossDomain=function(){return!1}}function d(e){try{n&&n.failureCallback&&n.failureCallback(e)}finally{n=null,i()}}function c(e,n,a){if(e){var t=document.createElement("a");t.href=decodeURIComponent(e),t.host&&t.host!==window.location.host&&"outlook.office.com"===t.host&&t.search.indexOf("client_type=Win32_Outlook")>-1&&(n&&"result"===n&&(a&&(t.href=b(t.href,"result",a)),s.GlobalVars.currentWindow.location.assign(b(t.href,"authSuccess",""))),n&&"reason"===n&&(a&&(t.href=b(t.href,"reason",a)),s.GlobalVars.currentWindow.location.assign(b(t.href,"authFailure",""))))}}function b(e,n,a){var t=e.indexOf("#"),s=-1===t?"#":e.substr(t);return s=s+"&"+n+(""!==a?"="+a:""),(e=-1===t?e:e.substr(0,t))+s}s.GlobalVars.handlers["authentication.authenticate.success"]=function(e){try{n&&n.successCallback&&n.successCallback(e)}finally{n=null,i()}},s.GlobalVars.handlers["authentication.authenticate.failure"]=d,e.registerAuthenticationHandlers=function(e){n=e},e.authenticate=function(e){var a=void 0!==e?e:n;if(t.ensureInitialized(r.frameContexts.content,r.frameContexts.settings,r.frameContexts.remove,r.frameContexts.task),"desktop"===s.GlobalVars.hostClientType||"android"===s.GlobalVars.hostClientType||"ios"===s.GlobalVars.hostClientType||"rigel"===s.GlobalVars.hostClientType){var i=document.createElement("a");i.href=a.url;var l=t.sendMessageRequest(s.GlobalVars.parentWindow,"authentication.authenticate",[i.href,a.width,a.height]);s.GlobalVars.callbacks[l]=function(e,n){e?a.successCallback(n):a.failureCallback(n)}}else o(a)},e.getAuthToken=function(e){t.ensureInitialized();var n=t.sendMessageRequest(s.GlobalVars.parentWindow,"authentication.getAuthToken",[e.resources]);s.GlobalVars.callbacks[n]=function(n,a){n?e.successCallback(a):e.failureCallback(a)}},e.getUser=function(e){t.ensureInitialized();var n=t.sendMessageRequest(s.GlobalVars.parentWindow,"authentication.getUser");s.GlobalVars.callbacks[n]=function(n,a){n?e.successCallback(a):e.failureCallback(a)}},e.notifySuccess=function(e,n){c(n,"result",e),t.ensureInitialized(r.frameContexts.authentication),t.sendMessageRequest(s.GlobalVars.parentWindow,"authentication.authenticate.success",[e]),t.waitForMessageQueue(s.GlobalVars.parentWindow,(function(){return setTimeout((function(){return s.GlobalVars.currentWindow.close()}),200)}))},e.notifyFailure=function(e,n){c(n,"reason",e),t.ensureInitialized(r.frameContexts.authentication),t.sendMessageRequest(s.GlobalVars.parentWindow,"authentication.authenticate.failure",[e]),t.waitForMessageQueue(s.GlobalVars.parentWindow,(function(){return setTimeout((function(){return s.GlobalVars.currentWindow.close()}),200)}))}}(n.authentication||(n.authentication={}))},function(e,n,a){"use strict";var t=this&&this.__rest||function(e,n){var a={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&n.indexOf(t)<0&&(a[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var s=0;for(t=Object.getOwnPropertySymbols(e);s<t.length;s++)n.indexOf(t[s])<0&&(a[t[s]]=e[t[s]])}return a};Object.defineProperty(n,"__esModule",{value:!0});var s=a(1),r=a(0),i=a(2),o=a(7);!function(e){e.startTask=function(e,n){s.ensureInitialized(i.frameContexts.content);var a=s.sendMessageRequest(r.GlobalVars.parentWindow,"tasks.startTask",[e]);return r.GlobalVars.callbacks[a]=n,new o.ChildAppWindow},e.updateTask=function(e){s.ensureInitialized(i.frameContexts.content,i.frameContexts.task),e.width,e.height;var n=t(e,["width","height"]);if(Object.keys(n).length)throw new Error("updateTask requires a taskInfo argument containing only width and height");s.sendMessageRequest(r.GlobalVars.parentWindow,"tasks.updateTask",[e])},e.submitTask=function(e,n){s.ensureInitialized(i.frameContexts.content,i.frameContexts.task),s.sendMessageRequest(r.GlobalVars.parentWindow,"tasks.completeTask",[e,Array.isArray(n)?n:[n]])}}(n.tasks||(n.tasks={}))}])}}]);
|