@clickview/lite 0.0.44-dev.0 → 0.0.44-rc.1
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 +3 -3
- package/dist/css/100-lite-dc68a449e9.chunk.css +2 -0
- package/dist/css/111-lite-dc68a449e9.chunk.css +2 -0
- package/dist/css/112-lite-dc68a449e9.chunk.css +2 -0
- package/dist/css/117-lite-f6f9f41353.chunk.css +2 -0
- package/dist/css/{13-lite-64b792296d.chunk.css → 13-lite-8466fc8a6b.chunk.css} +5 -3
- package/dist/css/{14-lite-e63221de68.chunk.css → 14-lite-017d513e36.chunk.css} +2 -0
- package/dist/css/{32-lite-e16e52584b.chunk.css → 32-lite-f46c720dc3.chunk.css} +2 -0
- package/dist/css/{35-lite-176142304d.chunk.css → 35-lite-f134cbd1b1.chunk.css} +2 -0
- package/dist/css/{38-lite-2a8143da0a.chunk.css → 36-lite-83b3d1c50c.chunk.css} +2 -0
- package/dist/css/{39-lite-492d27a0fc.chunk.css → 39-lite-55bc3ed003.chunk.css} +2 -0
- package/dist/css/{41-lite-62bbd580ac.chunk.css → 41-lite-695a7e6f92.chunk.css} +2 -0
- package/dist/css/{43-lite-2d533135df.chunk.css → 42-lite-51a49b59c3.chunk.css} +2 -0
- package/dist/css/{45-lite-16f94b0053.chunk.css → 44-lite-7ca3f0a11c.chunk.css} +2 -0
- package/dist/css/{47-lite-27cd3166b1.chunk.css → 47-lite-2687cc9562.chunk.css} +2 -2
- package/dist/css/{57-lite-00c790bb72.chunk.css → 51-lite-fcd4312270.chunk.css} +2 -0
- package/dist/css/{60-lite-2ee776294c.chunk.css → 54-lite-bef9c5bb20.chunk.css} +2 -0
- package/dist/css/{68-lite-811866a0e6.chunk.css → 62-lite-bc4c511105.chunk.css} +2 -0
- package/dist/css/{71-lite-c08e97ad22.chunk.css → 64-lite-8a2baa8cc7.chunk.css} +2 -0
- package/dist/css/{75-lite-d6cd54b11b.chunk.css → 65-lite-c020da1ace.chunk.css} +2 -0
- package/dist/css/{74-lite-d6cd54b11b.chunk.css → 66-lite-c020da1ace.chunk.css} +2 -0
- package/dist/css/{86-lite-00c790bb72.chunk.css → 78-lite-2fff9bb973.chunk.css} +2 -0
- package/dist/css/{113-lite-a199ee0f72.chunk.css → 91-lite-93ad71f0d6.chunk.css} +2 -0
- package/dist/css/{lite-app-8fc83eb360.css → lite-app-d2cf446f85.css} +3 -7
- package/dist/en.json +1 -1
- package/dist/scripts/{0-f743ad18da-lite.chunk.js → 0-b99ba27369-lite.chunk.js} +1 -1
- package/dist/scripts/{1-7f95822773-lite.chunk.js → 1-2de0a89e97-lite.chunk.js} +3 -3
- package/dist/scripts/10-4aa13b7c82-lite.chunk.js +1 -0
- package/dist/scripts/100-bd38fa726b-lite.chunk.js +1 -0
- package/dist/scripts/101-d16ce385ec-lite.chunk.js +1 -0
- package/dist/scripts/{100-cc90f82fd2-lite.chunk.js → 102-8e77738e57-lite.chunk.js} +1 -1
- package/dist/scripts/{101-92a12d2af3-lite.chunk.js → 103-ad800611c4-lite.chunk.js} +1 -1
- package/dist/scripts/{102-c003fe604d-lite.chunk.js → 104-d924cc9ad0-lite.chunk.js} +1 -1
- package/dist/scripts/{103-a6857104d8-lite.chunk.js → 105-cc24732835-lite.chunk.js} +1 -1
- package/dist/scripts/{104-8ecaaf1c16-lite.chunk.js → 106-4a2f6066b0-lite.chunk.js} +1 -1
- package/dist/scripts/{105-472596e023-lite.chunk.js → 107-410b0dd39e-lite.chunk.js} +1 -1
- package/dist/scripts/{106-e923a1f0cd-lite.chunk.js → 108-ce52e2ec2a-lite.chunk.js} +1 -1
- package/dist/scripts/{107-b868b005f1-lite.chunk.js → 109-f55fbc9c5c-lite.chunk.js} +1 -1
- package/dist/scripts/{11-dc50041780-lite.chunk.js → 11-d37692a813-lite.chunk.js} +1 -1
- package/dist/scripts/{108-c5668c628d-lite.chunk.js → 110-c63ece4e84-lite.chunk.js} +1 -1
- package/dist/scripts/111-f7b6b49b9f-lite.chunk.js +1 -0
- package/dist/scripts/112-c4a6957977-lite.chunk.js +1 -0
- package/dist/scripts/{109-8f4ccceb5b-lite.chunk.js → 113-9193aa6700-lite.chunk.js} +1 -1
- package/dist/scripts/{110-77efe0a7a7-lite.chunk.js → 114-b8167d9bf2-lite.chunk.js} +1 -1
- package/dist/scripts/{111-05df58fad0-lite.chunk.js → 115-9135b09dd8-lite.chunk.js} +1 -1
- package/dist/scripts/{112-c4b726660b-lite.chunk.js → 116-8171e04089-lite.chunk.js} +1 -1
- package/dist/scripts/117-b6cd95d188-lite.chunk.js +1 -0
- package/dist/scripts/{114-6d3be50c5a-lite.chunk.js → 118-912914e1be-lite.chunk.js} +1 -1
- package/dist/scripts/119-ff493bfe06-lite.chunk.js +1 -0
- package/dist/scripts/{12-c48ba458a7-lite.chunk.js → 12-d41b1c2ed8-lite.chunk.js} +1 -1
- package/dist/scripts/{115-d1dcccdd51-lite.chunk.js → 120-ba7ae4a2d7-lite.chunk.js} +1 -1
- package/dist/scripts/{116-e3de3ad6ba-lite.chunk.js → 121-31c740fe92-lite.chunk.js} +1 -1
- package/dist/scripts/{117-eb506056b5-lite.chunk.js → 122-0771700deb-lite.chunk.js} +1 -1
- package/dist/scripts/{118-d6c9e941b4-lite.chunk.js → 123-11a73c2521-lite.chunk.js} +1 -1
- package/dist/scripts/{119-a665b2ebc4-lite.chunk.js → 124-b4fca8593d-lite.chunk.js} +1 -1
- package/dist/scripts/125-2fe7474762-lite.chunk.js +1 -0
- package/dist/scripts/{121-289060c94c-lite.chunk.js → 126-709367e0f9-lite.chunk.js} +1 -1
- package/dist/scripts/{123-91f935e437-lite.chunk.js → 127-b1d725e2ad-lite.chunk.js} +1 -1
- package/dist/scripts/{124-6802c71229-lite.chunk.js → 128-eb8d97c7c5-lite.chunk.js} +1 -1
- package/dist/scripts/{125-8c10f2cba1-lite.chunk.js → 129-71d450a3a5-lite.chunk.js} +1 -1
- package/dist/scripts/13-ad5f599e50-lite.chunk.js +1 -0
- package/dist/scripts/{127-e2824940b9-lite.chunk.js → 130-f6f50b296f-lite.chunk.js} +1 -1
- package/dist/scripts/{128-a710d77871-lite.chunk.js → 131-8ecde10920-lite.chunk.js} +1 -1
- package/dist/scripts/{129-62f343c9db-lite.chunk.js → 132-9a4824a449-lite.chunk.js} +1 -1
- package/dist/scripts/{130-345a986754-lite.chunk.js → 133-abb988396f-lite.chunk.js} +1 -1
- package/dist/scripts/{132-ab2c94d82d-lite.chunk.js → 134-286fa0977a-lite.chunk.js} +1 -1
- package/dist/scripts/{133-2b5dc473bd-lite.chunk.js → 135-3208de7796-lite.chunk.js} +1 -1
- package/dist/scripts/{134-80d23973b8-lite.chunk.js → 136-0194bc62e0-lite.chunk.js} +1 -1
- package/dist/scripts/{135-fdd731a070-lite.chunk.js → 137-e888ef65e7-lite.chunk.js} +1 -1
- package/dist/scripts/{136-6373007bd5-lite.chunk.js → 138-51248a82a7-lite.chunk.js} +1 -1
- package/dist/scripts/{137-0c92da6f44-lite.chunk.js → 139-8e460b0638-lite.chunk.js} +1 -1
- package/dist/scripts/14-69db5a226a-lite.chunk.js +1 -0
- package/dist/scripts/140-b03cbfbb31-lite.chunk.js +1 -0
- package/dist/scripts/141-01658b309b-lite.chunk.js +1 -0
- package/dist/scripts/142-c3dc7cc8fe-lite.chunk.js +1 -0
- package/dist/scripts/{140-393ed976d7-lite.chunk.js → 143-66c2fa824c-lite.chunk.js} +1 -1
- package/dist/scripts/{141-0d19c2e5c4-lite.chunk.js → 144-6f9ff500e8-lite.chunk.js} +1 -1
- package/dist/scripts/{142-ab1f7cdece-lite.chunk.js → 145-db59fe1ac0-lite.chunk.js} +1 -1
- package/dist/scripts/{143-07367bf495-lite.chunk.js → 146-37fdbcf029-lite.chunk.js} +1 -1
- package/dist/scripts/{144-aabf0975b3-lite.chunk.js → 147-dc7c428ac9-lite.chunk.js} +1 -1
- package/dist/scripts/{15-07172e0f62-lite.chunk.js → 15-47aff682a9-lite.chunk.js} +1 -1
- package/dist/scripts/{16-768d9c6871-lite.chunk.js → 16-9b7e44730a-lite.chunk.js} +1 -1
- package/dist/scripts/17-d7484d04c9-lite.chunk.js +1 -0
- package/dist/scripts/18-494836b017-lite.chunk.js +1 -0
- package/dist/scripts/19-0e00916ec0-lite.chunk.js +1 -0
- package/dist/scripts/{2-3db25e87d5-lite.chunk.js → 2-de3cab27e2-lite.chunk.js} +1 -1
- package/dist/scripts/{20-ee3f3d8dc3-lite.chunk.js → 20-8bc67c26d4-lite.chunk.js} +1 -1
- package/dist/scripts/{21-66e1d248c0-lite.chunk.js → 21-1bd853ccc5-lite.chunk.js} +1 -1
- package/dist/scripts/{22-43512e6915-lite.chunk.js → 22-c662bb1647-lite.chunk.js} +1 -1
- package/dist/scripts/{23-faac417ca6-lite.chunk.js → 23-44c9035a91-lite.chunk.js} +1 -1
- package/dist/scripts/{24-eb35e22fe7-lite.chunk.js → 24-f55fd6920f-lite.chunk.js} +1 -1
- package/dist/scripts/{25-03dd7c4f51-lite.chunk.js → 25-3779c4da99-lite.chunk.js} +1 -1
- package/dist/scripts/{26-afc1ef46fd-lite.chunk.js → 26-5d6da81b2b-lite.chunk.js} +1 -1
- package/dist/scripts/{27-e841482a47-lite.chunk.js → 27-a8db6f82af-lite.chunk.js} +1 -1
- package/dist/scripts/3-8cdf6c395c-lite.chunk.js +1 -0
- package/dist/scripts/30-ef905901a1-lite.chunk.js +1 -0
- package/dist/scripts/31-e9666233cc-lite.chunk.js +1 -0
- package/dist/scripts/32-89713160be-lite.chunk.js +1 -0
- package/dist/scripts/33-a2675944da-lite.chunk.js +1 -0
- package/dist/scripts/{34-888d6c5328-lite.chunk.js → 34-7a7fd380bc-lite.chunk.js} +1 -1
- package/dist/scripts/35-645289c06d-lite.chunk.js +1 -0
- package/dist/scripts/36-c5157a0ff8-lite.chunk.js +1 -0
- package/dist/scripts/{36-977255d548-lite.chunk.js → 37-5b220e0710-lite.chunk.js} +1 -1
- package/dist/scripts/{37-8ed1367d14-lite.chunk.js → 38-700df97590-lite.chunk.js} +1 -1
- package/dist/scripts/39-65c6bf971f-lite.chunk.js +1 -0
- package/dist/scripts/{4-f84e99c634-lite.chunk.js → 4-38cfb0958f-lite.chunk.js} +1 -1
- package/dist/scripts/{40-f8c4e9e644-lite.chunk.js → 40-a235a97f0f-lite.chunk.js} +1 -1
- package/dist/scripts/41-5fa90ac147-lite.chunk.js +1 -0
- package/dist/scripts/42-bb92328444-lite.chunk.js +1 -0
- package/dist/scripts/{42-434b292187-lite.chunk.js → 43-c8a201ded7-lite.chunk.js} +1 -1
- package/dist/scripts/44-1d23014178-lite.chunk.js +1 -0
- package/dist/scripts/{44-4445e3a194-lite.chunk.js → 45-d8178ce0d1-lite.chunk.js} +1 -1
- package/dist/scripts/46-97bbe1351c-lite.chunk.js +1 -0
- package/dist/scripts/47-4b9054ccc6-lite.chunk.js +1 -0
- package/dist/scripts/{48-4d24daf56b-lite.chunk.js → 48-581601613f-lite.chunk.js} +1 -1
- package/dist/scripts/{49-6e04d5ce93-lite.chunk.js → 49-802a08f5c0-lite.chunk.js} +1 -1
- package/dist/scripts/{5-4bc353fe35-lite.chunk.js → 5-bc100e639e-lite.chunk.js} +1 -1
- package/dist/scripts/50-2af5cdb815-lite.chunk.js +1 -0
- package/dist/scripts/51-1e456a8db6-lite.chunk.js +1 -0
- package/dist/scripts/{51-402eabb30a-lite.chunk.js → 52-352682f2bc-lite.chunk.js} +1 -1
- package/dist/scripts/53-c98989fd3e-lite.chunk.js +1 -0
- package/dist/scripts/54-ba14fd35a0-lite.chunk.js +1 -0
- package/dist/scripts/{53-0f976c4e8e-lite.chunk.js → 55-3caf80b8b9-lite.chunk.js} +1 -1
- package/dist/scripts/{54-00c5e4cc5b-lite.chunk.js → 56-3e025349a7-lite.chunk.js} +2 -2
- package/dist/scripts/{55-7e961b4060-lite.chunk.js → 57-374b97fa6c-lite.chunk.js} +1 -1
- package/dist/scripts/58-e737fa10e8-lite.chunk.js +1 -0
- package/dist/scripts/59-24cd9ab1a3-lite.chunk.js +1 -0
- package/dist/scripts/{6-83b22ce8e0-lite.chunk.js → 6-7b03ae5411-lite.chunk.js} +1 -1
- package/dist/scripts/60-80ce79a0ca-lite.chunk.js +1 -0
- package/dist/scripts/61-751bc87254-lite.chunk.js +1 -0
- package/dist/scripts/62-6add5e5d35-lite.chunk.js +1 -0
- package/dist/scripts/{61-b8b2db3f79-lite.chunk.js → 63-c3e3852eed-lite.chunk.js} +1 -1
- package/dist/scripts/64-de19255134-lite.chunk.js +1 -0
- package/dist/scripts/65-088d054bcf-lite.chunk.js +1 -0
- package/dist/scripts/66-a17960b8e4-lite.chunk.js +1 -0
- package/dist/scripts/{63-7a8bd298d1-lite.chunk.js → 67-755a4da2fb-lite.chunk.js} +1 -1
- package/dist/scripts/68-cf1a1bdf85-lite.chunk.js +1 -0
- package/dist/scripts/{65-42a4521868-lite.chunk.js → 69-14f012fb35-lite.chunk.js} +1 -1
- package/dist/scripts/{7-419a4ae8d8-lite.chunk.js → 7-4bbc8c24ae-lite.chunk.js} +1 -1
- package/dist/scripts/{66-9bf54928d4-lite.chunk.js → 70-02a2336c27-lite.chunk.js} +1 -1
- package/dist/scripts/{67-5c42c96176-lite.chunk.js → 71-cfe355d09b-lite.chunk.js} +1 -1
- package/dist/scripts/{69-6ceac0aa38-lite.chunk.js → 72-d15a315b9d-lite.chunk.js} +1 -1
- package/dist/scripts/{70-fd3ba3929b-lite.chunk.js → 73-40f1a669c0-lite.chunk.js} +1 -1
- package/dist/scripts/{72-275d652d7b-lite.chunk.js → 74-f969eb5e90-lite.chunk.js} +1 -1
- package/dist/scripts/{73-797e715444-lite.chunk.js → 75-3ef1ce0c0b-lite.chunk.js} +1 -1
- package/dist/scripts/{76-236d13b607-lite.chunk.js → 76-8da4d0eec4-lite.chunk.js} +1 -1
- package/dist/scripts/{77-799efe6fcb-lite.chunk.js → 77-0d39b72e3a-lite.chunk.js} +1 -1
- package/dist/scripts/78-1b81d1f3b5-lite.chunk.js +1 -0
- package/dist/scripts/{78-95979fc6c1-lite.chunk.js → 79-2598acd9ae-lite.chunk.js} +1 -1
- package/dist/scripts/8-808fdd90b4-lite.chunk.js +1 -0
- package/dist/scripts/80-b8df355495-lite.chunk.js +1 -0
- package/dist/scripts/{79-313b916ee0-lite.chunk.js → 80-e90735c4c3-lite.chunk.js} +1 -1
- package/dist/scripts/{80-ad04e626b4-lite.chunk.js → 81-e3e4c9fa77-lite.chunk.js} +1 -1
- package/dist/scripts/{81-40c584c361-lite.chunk.js → 82-26f9d474d0-lite.chunk.js} +1 -1
- package/dist/scripts/{82-fa1094e42f-lite.chunk.js → 83-b528ad1400-lite.chunk.js} +1 -1
- package/dist/scripts/{83-3b9c0d253d-lite.chunk.js → 84-a45201f0ad-lite.chunk.js} +1 -1
- package/dist/scripts/{84-f3e775afc6-lite.chunk.js → 85-144a9c528a-lite.chunk.js} +1 -1
- package/dist/scripts/85-b9b7505a2c-lite.chunk.js +1 -0
- package/dist/scripts/{85-577b10c925-lite.chunk.js → 86-2bac1bed9e-lite.chunk.js} +1 -1
- package/dist/scripts/86-82ed6c6b14-lite.chunk.js +1 -0
- package/dist/scripts/{87-3c20334c13-lite.chunk.js → 87-245c6b0234-lite.chunk.js} +1 -1
- package/dist/scripts/{88-f7e6735cc0-lite.chunk.js → 88-7859b27595-lite.chunk.js} +1 -1
- package/dist/scripts/{89-ab37ac2a6b-lite.chunk.js → 89-a49f6b6eff-lite.chunk.js} +1 -1
- package/dist/scripts/{9-f49ff395bc-lite.chunk.js → 9-8a2df37d9c-lite.chunk.js} +5 -5
- package/dist/scripts/{90-ae1b7439d2-lite.chunk.js → 90-d356d4877d-lite.chunk.js} +1 -1
- package/dist/scripts/91-fab59fec31-lite.chunk.js +1 -0
- package/dist/scripts/{91-fff12fe64a-lite.chunk.js → 92-0d81cd111e-lite.chunk.js} +1 -1
- package/dist/scripts/{92-c9aab99608-lite.chunk.js → 93-3e8f67a966-lite.chunk.js} +1 -1
- package/dist/scripts/{93-c6ce8019a4-lite.chunk.js → 94-d8472ecb6f-lite.chunk.js} +1 -1
- package/dist/scripts/{94-83cbd21f40-lite.chunk.js → 95-aaf5e73acd-lite.chunk.js} +1 -1
- package/dist/scripts/{95-7f8e4c06de-lite.chunk.js → 96-47aa676388-lite.chunk.js} +1 -1
- package/dist/scripts/96-99848aa2dc-lite.chunk.js +1 -0
- package/dist/scripts/{96-d94c1c2d14-lite.chunk.js → 97-4a5af1aec7-lite.chunk.js} +1 -1
- package/dist/scripts/97-e955090b3e-lite.chunk.js +1 -0
- package/dist/scripts/{97-4b29a659c1-lite.chunk.js → 98-139aad3356-lite.chunk.js} +1 -1
- package/dist/scripts/{98-051ec4d3c3-lite.chunk.js → 99-fa5daac3fb-lite.chunk.js} +1 -1
- package/dist/scripts/bundle-38fee0c5e1.min.js +48 -0
- package/dist/scripts/bundle-620120350f.min.js +48 -0
- package/dist/scripts/polyfills-8d9b1f9f22.min.js +1 -0
- package/package.json +4 -6
- package/dist/scripts/10-2640455930-lite.chunk.js +0 -1
- package/dist/scripts/113-d6708b0e09-lite.chunk.js +0 -1
- package/dist/scripts/120-fc7ad57afc-lite.chunk.js +0 -1
- package/dist/scripts/122-7c0d18e7b0-lite.chunk.js +0 -1
- package/dist/scripts/126-fb1ef8fd3e-lite.chunk.js +0 -1
- package/dist/scripts/13-6dc20d266a-lite.chunk.js +0 -1
- package/dist/scripts/131-8e789a4bf6-lite.chunk.js +0 -1
- package/dist/scripts/138-5ba3c42fe4-lite.chunk.js +0 -1
- package/dist/scripts/139-76250daf4e-lite.chunk.js +0 -1
- package/dist/scripts/14-2c62b89d3a-lite.chunk.js +0 -1
- package/dist/scripts/17-4e228681aa-lite.chunk.js +0 -1
- package/dist/scripts/18-d79c026c60-lite.chunk.js +0 -1
- package/dist/scripts/19-39b9be8928-lite.chunk.js +0 -1
- package/dist/scripts/3-ff711a6dd8-lite.chunk.js +0 -1
- package/dist/scripts/30-7fb37fd0ce-lite.chunk.js +0 -1
- package/dist/scripts/31-7b2119af52-lite.chunk.js +0 -1
- package/dist/scripts/32-c277d74e39-lite.chunk.js +0 -1
- package/dist/scripts/33-e5697d094c-lite.chunk.js +0 -1
- package/dist/scripts/35-0cf6b3118c-lite.chunk.js +0 -1
- package/dist/scripts/38-d8205c323c-lite.chunk.js +0 -1
- package/dist/scripts/39-229d7f42a6-lite.chunk.js +0 -1
- package/dist/scripts/41-1091e117b3-lite.chunk.js +0 -1
- package/dist/scripts/43-40b9c59a01-lite.chunk.js +0 -1
- package/dist/scripts/45-64459af8b3-lite.chunk.js +0 -1
- package/dist/scripts/46-8fe30d6160-lite.chunk.js +0 -1
- package/dist/scripts/47-11985723e3-lite.chunk.js +0 -1
- package/dist/scripts/50-46caa3bcaa-lite.chunk.js +0 -1
- package/dist/scripts/52-f3f2a795af-lite.chunk.js +0 -1
- package/dist/scripts/56-5fb07a8b8a-lite.chunk.js +0 -1
- package/dist/scripts/57-3b8621ddd9-lite.chunk.js +0 -1
- package/dist/scripts/58-31520bda2c-lite.chunk.js +0 -1
- package/dist/scripts/59-3bff4e6f91-lite.chunk.js +0 -1
- package/dist/scripts/60-376818dc8f-lite.chunk.js +0 -1
- package/dist/scripts/62-cb4d77b2ee-lite.chunk.js +0 -1
- package/dist/scripts/64-2f8b519d9d-lite.chunk.js +0 -1
- package/dist/scripts/68-fec4edbe38-lite.chunk.js +0 -1
- package/dist/scripts/71-159f952b96-lite.chunk.js +0 -1
- package/dist/scripts/74-2ee4e6b10e-lite.chunk.js +0 -1
- package/dist/scripts/75-9801c68502-lite.chunk.js +0 -1
- package/dist/scripts/8-3d17fadc41-lite.chunk.js +0 -1
- package/dist/scripts/86-a7a13bc2fd-lite.chunk.js +0 -1
- package/dist/scripts/99-880bb5f75b-lite.chunk.js +0 -1
- package/dist/scripts/bundle-65d1b5e970.min.js +0 -48
- package/dist/scripts/polyfills-e8675624d5.min.js +0 -1
- package/jest.config.js +0 -12
- package/typings/libs/trackjs.d.ts +0 -3
- /package/dist/css/{99-lite-c5e12d3f1d.chunk.css → 101-lite-c5e12d3f1d.chunk.css} +0 -0
- /package/dist/css/{100-lite-6e036f7110.chunk.css → 102-lite-6e036f7110.chunk.css} +0 -0
- /package/dist/css/{101-lite-b76c927aec.chunk.css → 103-lite-b76c927aec.chunk.css} +0 -0
- /package/dist/css/{102-lite-b76c927aec.chunk.css → 104-lite-b76c927aec.chunk.css} +0 -0
- /package/dist/css/{103-lite-37113f3b03.chunk.css → 105-lite-37113f3b03.chunk.css} +0 -0
- /package/dist/css/{104-lite-efd9c7cfc9.chunk.css → 106-lite-efd9c7cfc9.chunk.css} +0 -0
- /package/dist/css/{105-lite-bca705add4.chunk.css → 107-lite-bca705add4.chunk.css} +0 -0
- /package/dist/css/{106-lite-30208db4b8.chunk.css → 108-lite-30208db4b8.chunk.css} +0 -0
- /package/dist/css/{107-lite-30208db4b8.chunk.css → 109-lite-30208db4b8.chunk.css} +0 -0
- /package/dist/css/{108-lite-1b8d018064.chunk.css → 110-lite-1b8d018064.chunk.css} +0 -0
- /package/dist/css/{110-lite-fdc3ceff80.chunk.css → 114-lite-fdc3ceff80.chunk.css} +0 -0
- /package/dist/css/{33-lite-697606d9b9.chunk.css → 33-lite-e8424ab4a7.chunk.css} +0 -0
- /package/dist/css/{36-lite-ad8aba5ac9.chunk.css → 38-lite-ad8aba5ac9.chunk.css} +0 -0
- /package/dist/css/{42-lite-41a802ca8c.chunk.css → 43-lite-32d7824b96.chunk.css} +0 -0
- /package/dist/css/{44-lite-04a81561c6.chunk.css → 45-lite-04a81561c6.chunk.css} +0 -0
- /package/dist/css/{51-lite-9a94c2bfcd.chunk.css → 52-lite-9a94c2bfcd.chunk.css} +0 -0
- /package/dist/css/{52-lite-17f2f1bf2a.chunk.css → 53-lite-17f2f1bf2a.chunk.css} +0 -0
- /package/dist/css/{54-lite-eae2a4d798.chunk.css → 56-lite-eae2a4d798.chunk.css} +0 -0
- /package/dist/css/{55-lite-3022a7f655.chunk.css → 57-lite-3022a7f655.chunk.css} +0 -0
- /package/dist/css/{56-lite-041bd8be6c.chunk.css → 58-lite-041bd8be6c.chunk.css} +0 -0
- /package/dist/css/{58-lite-1696cbd6bd.chunk.css → 59-lite-1696cbd6bd.chunk.css} +0 -0
- /package/dist/css/{59-lite-e957c3cfa0.chunk.css → 60-lite-e957c3cfa0.chunk.css} +0 -0
- /package/dist/css/{62-lite-fb877ba4eb.chunk.css → 61-lite-fb877ba4eb.chunk.css} +0 -0
- /package/dist/css/{61-lite-d8801b4cc5.chunk.css → 63-lite-d8801b4cc5.chunk.css} +0 -0
- /package/dist/css/{63-lite-5feca9b1f1.chunk.css → 67-lite-5feca9b1f1.chunk.css} +0 -0
- /package/dist/css/{64-lite-fd15a611f5.chunk.css → 68-lite-fd15a611f5.chunk.css} +0 -0
- /package/dist/css/{66-lite-91dd21fc10.chunk.css → 70-lite-91dd21fc10.chunk.css} +0 -0
- /package/dist/css/{67-lite-4068292bca.chunk.css → 71-lite-4068292bca.chunk.css} +0 -0
- /package/dist/css/{72-lite-223991f675.chunk.css → 74-lite-223991f675.chunk.css} +0 -0
- /package/dist/css/{73-lite-223991f675.chunk.css → 75-lite-223991f675.chunk.css} +0 -0
- /package/dist/css/{79-lite-1e90b333ab.chunk.css → 80-lite-1e90b333ab.chunk.css} +0 -0
- /package/dist/css/{84-lite-42a5dcfa34.chunk.css → 85-lite-42a5dcfa34.chunk.css} +0 -0
- /package/dist/css/{85-lite-4a91cb7ba9.chunk.css → 86-lite-4a91cb7ba9.chunk.css} +0 -0
- /package/dist/css/{95-lite-d286b282d6.chunk.css → 96-lite-d286b282d6.chunk.css} +0 -0
- /package/dist/css/{96-lite-40eedf96d7.chunk.css → 97-lite-40eedf96d7.chunk.css} +0 -0
- /package/dist/css/{97-lite-4ea4ab4f82.chunk.css → 98-lite-4ea4ab4f82.chunk.css} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp_clickview_lite=window.webpackJsonp_clickview_lite||[]).push([[26],{1465:function(e,t,n){e.exports=n(1705)},1705:function(e,t,n){!function(e,t){"use strict";function n(e,t,n,o,r,i,u){try{var l=e[i](u),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(o,r)}function o(e){return function(){var t=this,o=arguments;return new Promise((function(r,i){var u=e.apply(t,o);function l(e){n(u,r,i,l,s,"next",e)}function s(e){n(u,r,i,l,s,"throw",e)}l(void 0)}))}}function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}function i(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}function u(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t);if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==typeof t?t:String(t)}t=t&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t;var l={init:"init"},s=function(e){var t=e.value;return void 0===t?"":t},a=function(){return t.createElement(t.Fragment,null," ")},c={Cell:s,width:150,minWidth:0,maxWidth:Number.MAX_SAFE_INTEGER};function d(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce((function(e,t){var n=t.style,o=t.className;return e=r({},e,{},i(t,["style","className"])),n&&(e.style=e.style?r({},e.style||{},{},n||{}):n),o&&(e.className=e.className?e.className+" "+o:o),""===e.className&&delete e.className,e}),{})}var f=function(e,t){return void 0===t&&(t={}),function(n){return void 0===n&&(n={}),[].concat(e,[n]).reduce((function(e,o){return function e(t,n,o){return"function"==typeof n?e({},n(t,o)):Array.isArray(n)?d.apply(void 0,[t].concat(n)):d(t,n)}(e,o,r({},t,{userProps:n}))}),{})}},p=function(e,t,n,o){return void 0===n&&(n={}),e.reduce((function(e,t){return t(e,n)}),t)},g=function(e,t,n){return void 0===n&&(n={}),e.forEach((function(e){e(t,n)}))};function v(e,t,n,o){e.findIndex((function(e){return e.pluginName===n})),t.forEach((function(t){e.findIndex((function(e){return e.pluginName===t}))}))}function m(e,t){return"function"==typeof e?e(t):e}function h(e){var n=t.useRef();return n.current=e,t.useCallback((function(){return n.current}),[])}var y="undefined"!=typeof document?t.useLayoutEffect:t.useEffect;function w(e,n){var o=t.useRef(!1);y((function(){o.current&&e(),o.current=!0}),n)}function R(e,t,n){return void 0===n&&(n={}),function(o,i){void 0===i&&(i={});var u="string"==typeof o?t[o]:o;if(void 0===u)throw console.info(t),new Error("Renderer Error ☝️");return b(u,r({},e,{column:t},n,{},i))}}function b(e,n){return function(e){return"function"==typeof e&&(t=Object.getPrototypeOf(e)).prototype&&t.prototype.isReactComponent;var t}(o=e)||"function"==typeof o||function(e){return"object"==typeof e&&"symbol"==typeof e.$$typeof&&["react.memo","react.forward_ref"].includes(e.$$typeof.description)}(o)?t.createElement(e,n):e;var o}function S(e,t,n){return void 0===n&&(n=0),e.map((function(e){return P(e=r({},e,{parent:t,depth:n})),e.columns&&(e.columns=S(e.columns,e,n+1)),e}))}function C(e){return G(e,"columns")}function P(e){var t=e.id,n=e.accessor,o=e.Header;if("string"==typeof n){t=t||n;var r=n.split(".");n=function(e){return function(e,t,n){if(!t)return e;var o,r="function"==typeof t?t:JSON.stringify(t),i=E.get(r)||function(){var e=function(e){return function e(t,n){if(void 0===n&&(n=[]),Array.isArray(t))for(var o=0;o<t.length;o+=1)e(t[o],n);else n.push(t);return n}(e).map((function(e){return String(e).replace(".","_")})).join(".").replace(W,".").replace(O,"").split(".")}(t);return E.set(r,e),e}();try{o=i.reduce((function(e,t){return e[t]}),e)}catch(e){}return void 0!==o?o:void 0}(e,r)}}if(!t&&"string"==typeof o&&o&&(t=o),!t&&e.columns)throw console.error(e),new Error('A column ID (or unique "Header" value) is required!');if(!t)throw console.error(e),new Error("A column ID (or string accessor) is required!");return Object.assign(e,{id:t,accessor:n}),e}function x(e,t){if(!t)throw new Error;return Object.assign(e,r({Header:a,Footer:a},c,{},t,{},e)),Object.assign(e,{originalWidth:e.width}),e}function B(e,t,n){void 0===n&&(n=function(){return{}});for(var o=[],i=e,u=0,l=function(){return u++},s=function(){var e={headers:[]},u=[],s=i.some((function(e){return e.parent}));i.forEach((function(o){var i,a=[].concat(u).reverse()[0];s&&(i=o.parent?r({},o.parent,{originalId:o.parent.id,id:o.parent.id+"_"+l(),headers:[o]},n(o)):x(r({originalId:o.id+"_placeholder",id:o.id+"_placeholder_"+l(),placeholderOf:o,headers:[o]},n(o)),t),a&&a.originalId===i.originalId?a.headers.push(o):u.push(i)),e.headers.push(o)})),o.push(e),i=u};i.length;)s();return o.reverse()}var E=new Map;function I(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];for(var o=0;o<t.length;o+=1)if(void 0!==t[o])return t[o]}function F(e){if("function"==typeof e)return e}function G(e,t){var n=[];return function e(o){o.forEach((function(o){o[t]?e(o[t]):n.push(o)}))}(e),n}function A(e,t){var n=t.manualExpandedKey,o=t.expanded,r=t.expandSubRows,i=void 0===r||r,u=[];return e.forEach((function(e){return function e(t,r){void 0===r&&(r=!0),t.isExpanded=t.original&&t.original[n]||o[t.id],t.canExpand=t.subRows&&!!t.subRows.length,r&&u.push(t),t.subRows&&t.subRows.length&&t.isExpanded&&t.subRows.forEach((function(t){return e(t,i)}))}(e)})),u}function k(e,t,n){return F(e)||t[e]||n[e]||n.text}function H(e,t,n){return e?e(t,n):void 0===t}function T(){throw new Error("React-Table: You have not called prepareRow(row) one or more rows you are attempting to render.")}var z=null,W=/\[/g,O=/\]/g,M=function(e){return r({role:"table"},e)},j=function(e){return r({role:"rowgroup"},e)},N=function(e,t){var n=t.column;return r({key:"header_"+n.id,colSpan:n.totalVisibleHeaderCount,role:"columnheader"},e)},_=function(e,t){var n=t.column;return r({key:"footer_"+n.id,colSpan:n.totalVisibleHeaderCount},e)},D=function(e,t){return r({key:"headerGroup_"+t.index,role:"row"},e)},L=function(e,t){return r({key:"footerGroup_"+t.index},e)},V=function(e,t){return r({key:"row_"+t.row.id,role:"row"},e)},X=function(e,t){var n=t.cell;return r({key:"cell_"+n.row.id+"_"+n.column.id,role:"cell"},e)};function q(){return{useOptions:[],stateReducers:[],useControlledState:[],columns:[],columnsDeps:[],allColumns:[],allColumnsDeps:[],accessValue:[],materializedColumns:[],materializedColumnsDeps:[],useInstanceAfterData:[],visibleColumns:[],visibleColumnsDeps:[],headerGroups:[],headerGroupsDeps:[],useInstanceBeforeDimensions:[],useInstance:[],prepareRow:[],getTableProps:[M],getTableBodyProps:[j],getHeaderGroupProps:[D],getFooterGroupProps:[L],getHeaderProps:[N],getFooterProps:[_],getRowProps:[V],getCellProps:[X],useFinalInstance:[]}}l.resetHiddenColumns="resetHiddenColumns",l.toggleHideColumn="toggleHideColumn",l.setHiddenColumns="setHiddenColumns",l.toggleHideAllColumns="toggleHideAllColumns";var K=function(e){e.getToggleHiddenProps=[U],e.getToggleHideAllColumnsProps=[$],e.stateReducers.push(J),e.useInstanceBeforeDimensions.push(Y),e.headerGroupsDeps.push((function(e,t){var n=t.instance;return[].concat(e,[n.state.hiddenColumns])})),e.useInstance.push(Q)};K.pluginName="useColumnVisibility";var U=function(e,t){var n=t.column;return[e,{onChange:function(e){n.toggleHidden(!e.target.checked)},style:{cursor:"pointer"},checked:n.isVisible,title:"Toggle Column Visible"}]},$=function(e,t){var n=t.instance;return[e,{onChange:function(e){n.toggleHideAllColumns(!e.target.checked)},style:{cursor:"pointer"},checked:!n.allColumnsHidden&&!n.state.hiddenColumns.length,title:"Toggle All Columns Hidden",indeterminate:!n.allColumnsHidden&&n.state.hiddenColumns.length}]};function J(e,t,n,o){if(t.type===l.init)return r({hiddenColumns:[]},e);if(t.type===l.resetHiddenColumns)return r({},e,{hiddenColumns:o.initialState.hiddenColumns||[]});if(t.type===l.toggleHideColumn){var i=(void 0!==t.value?t.value:!e.hiddenColumns.includes(t.columnId))?[].concat(e.hiddenColumns,[t.columnId]):e.hiddenColumns.filter((function(e){return e!==t.columnId}));return r({},e,{hiddenColumns:i})}return t.type===l.setHiddenColumns?r({},e,{hiddenColumns:m(t.value,e.hiddenColumns)}):t.type===l.toggleHideAllColumns?r({},e,{hiddenColumns:(void 0!==t.value?t.value:!e.hiddenColumns.length)?o.allColumns.map((function(e){return e.id})):[]}):void 0}function Y(e){var n=e.headers,o=e.state.hiddenColumns;t.useRef(!1).current;var r=0;n.forEach((function(e){return r+=function e(t,n){t.isVisible=n&&!o.includes(t.id);var r=0;return t.headers&&t.headers.length?t.headers.forEach((function(n){return r+=e(n,t.isVisible)})):r=t.isVisible?1:0,t.totalVisibleHeaderCount=r,r}(e,!0)}))}function Q(e){var n=e.columns,o=e.flatHeaders,r=e.dispatch,i=e.allColumns,u=e.getHooks,s=e.state.hiddenColumns,a=e.autoResetHiddenColumns,c=void 0===a||a,d=h(e),p=i.length===s.length,g=t.useCallback((function(e,t){return r({type:l.toggleHideColumn,columnId:e,value:t})}),[r]),v=t.useCallback((function(e){return r({type:l.setHiddenColumns,value:e})}),[r]),m=t.useCallback((function(e){return r({type:l.toggleHideAllColumns,value:e})}),[r]),y=f(u().getToggleHideAllColumnsProps,{instance:d()});o.forEach((function(e){e.toggleHidden=function(t){r({type:l.toggleHideColumn,columnId:e.id,value:t})},e.getToggleHiddenProps=f(u().getToggleHiddenProps,{instance:d(),column:e})}));var R=h(c);w((function(){R()&&r({type:l.resetHiddenColumns})}),[r,n]),Object.assign(e,{allColumnsHidden:p,toggleHideColumn:g,setHiddenColumns:v,toggleHideAllColumns:m,getToggleHideAllColumnsProps:y})}var Z={},ee={},te=function(e,t,n){return e},ne=function(e,t){return e.subRows||[]},oe=function(e,t,n){return""+(n?[n.id,t].join("."):t)},re=function(e){return e};function ie(e){var t=e.initialState,n=void 0===t?Z:t,o=e.defaultColumn,u=void 0===o?ee:o,l=e.getSubRows,s=void 0===l?ne:l,a=e.getRowId,c=void 0===a?oe:a,d=e.stateReducer,f=void 0===d?te:d,p=e.useControlledState,g=void 0===p?re:p;return r({},i(e,["initialState","defaultColumn","getSubRows","getRowId","stateReducer","useControlledState"]),{initialState:n,defaultColumn:u,getSubRows:s,getRowId:c,stateReducer:f,useControlledState:g})}function ue(e,t){void 0===t&&(t=0);var n=0,o=0,r=0,i=0;return e.forEach((function(e){var u=e.headers;if(e.totalLeft=t,u&&u.length){var l=ue(u,t),s=l[0],a=l[1],c=l[2],d=l[3];e.totalMinWidth=s,e.totalWidth=a,e.totalMaxWidth=c,e.totalFlexWidth=d}else e.totalMinWidth=e.minWidth,e.totalWidth=Math.min(Math.max(e.minWidth,e.width),e.maxWidth),e.totalMaxWidth=e.maxWidth,e.totalFlexWidth=e.canResize?e.totalWidth:0;e.isVisible&&(t+=e.totalWidth,n+=e.totalMinWidth,o+=e.totalWidth,r+=e.totalMaxWidth,i+=e.totalFlexWidth)})),[n,o,r,i]}function le(e){var t=e.data,n=e.rows,o=e.flatRows,r=e.rowsById,i=e.column,u=e.getRowId,l=e.getSubRows,s=e.accessValueHooks,a=e.getInstance;t.forEach((function(e,c){return function e(n,c,d,f,g){void 0===d&&(d=0);var v=n,m=u(n,c,f),h=r[m];if(h)h.subRows&&h.originalSubRows.forEach((function(t,n){return e(t,n,d+1,h)}));else if((h={id:m,original:v,index:c,depth:d,cells:[{}]}).cells.map=T,h.cells.filter=T,h.cells.forEach=T,h.cells[0].getCellProps=T,h.values={},g.push(h),o.push(h),r[m]=h,h.originalSubRows=l(n,c),h.originalSubRows){var y=[];h.originalSubRows.forEach((function(t,n){return e(t,n,d+1,h,y)})),h.subRows=y}i.accessor&&(h.values[i.id]=i.accessor(n,c,h,g,t)),h.values[i.id]=p(s,h.values[i.id],{row:h,column:i,instance:a()})}(e,c,0,void 0,n)}))}l.resetExpanded="resetExpanded",l.toggleRowExpanded="toggleRowExpanded",l.toggleAllRowsExpanded="toggleAllRowsExpanded";var se=function(e){e.getToggleAllRowsExpandedProps=[ae],e.getToggleRowExpandedProps=[ce],e.stateReducers.push(de),e.useInstance.push(fe),e.prepareRow.push(pe)};se.pluginName="useExpanded";var ae=function(e,t){var n=t.instance;return[e,{onClick:function(e){n.toggleAllRowsExpanded()},style:{cursor:"pointer"},title:"Toggle All Rows Expanded"}]},ce=function(e,t){var n=t.row;return[e,{onClick:function(){n.toggleRowExpanded()},style:{cursor:"pointer"},title:"Toggle Row Expanded"}]};function de(e,t,n,o){if(t.type===l.init)return r({expanded:{}},e);if(t.type===l.resetExpanded)return r({},e,{expanded:o.initialState.expanded||{}});if(t.type===l.toggleAllRowsExpanded){var s=t.value,a=o.isAllRowsExpanded,c=o.rowsById;if(void 0!==s?s:!a){var d={};return Object.keys(c).forEach((function(e){d[e]=!0})),r({},e,{expanded:d})}return r({},e,{expanded:{}})}if(t.type===l.toggleRowExpanded){var f,p=t.id,g=t.value,v=e.expanded[p],m=void 0!==g?g:!v;if(!v&&m)return r({},e,{expanded:r({},e.expanded,(f={},f[p]=!0,f))});if(v&&!m){var h=e.expanded;return h[p],r({},e,{expanded:i(h,[p].map(u))})}return e}}function fe(e){var n=e.data,o=e.rows,r=e.rowsById,i=e.manualExpandedKey,u=void 0===i?"expanded":i,s=e.paginateExpandedRows,a=void 0===s||s,c=e.expandSubRows,d=void 0===c||c,p=e.autoResetExpanded,g=void 0===p||p,m=e.getHooks,y=e.plugins,R=e.state.expanded,b=e.dispatch;v(y,["useSortBy","useGroupBy","usePivotColumns","useGlobalFilter"],"useExpanded");var S=h(g),C=Boolean(Object.keys(r).length&&Object.keys(R).length);C&&Object.keys(r).some((function(e){return!R[e]}))&&(C=!1),w((function(){S()&&b({type:l.resetExpanded})}),[b,n]);var P=t.useCallback((function(e,t){b({type:l.toggleRowExpanded,id:e,value:t})}),[b]),x=t.useCallback((function(e){return b({type:l.toggleAllRowsExpanded,value:e})}),[b]),B=t.useMemo((function(){return a?A(o,{manualExpandedKey:u,expanded:R,expandSubRows:d}):o}),[a,o,u,R,d]),E=t.useMemo((function(){return function(e){var t=0;return Object.keys(e).forEach((function(e){var n=e.split(".");t=Math.max(t,n.length)})),t}(R)}),[R]),I=h(e),F=f(m().getToggleAllRowsExpandedProps,{instance:I()});Object.assign(e,{preExpandedRows:o,expandedRows:B,rows:B,expandedDepth:E,isAllRowsExpanded:C,toggleRowExpanded:P,toggleAllRowsExpanded:x,getToggleAllRowsExpandedProps:F})}function pe(e,t){var n=t.instance.getHooks,o=t.instance;e.toggleRowExpanded=function(t){return o.toggleRowExpanded(e.id,t)},e.getToggleRowExpandedProps=f(n().getToggleRowExpandedProps,{instance:o,row:e})}var ge=function(e,t,n){return e.filter((function(e){return t.some((function(t){var o=e.values[t];return String(o).toLowerCase().includes(String(n).toLowerCase())}))}))};ge.autoRemove=function(e){return!e};var ve=function(e,t,n){return e.filter((function(e){return t.some((function(t){var o=e.values[t];return void 0===o||String(o).toLowerCase()===String(n).toLowerCase()}))}))};ve.autoRemove=function(e){return!e};var me=function(e,t,n){return e.filter((function(e){return t.some((function(t){var o=e.values[t];return void 0===o||String(o)===String(n)}))}))};me.autoRemove=function(e){return!e};var he=function(e,t,n){return e.filter((function(e){return t.some((function(t){return e.values[t].includes(n)}))}))};he.autoRemove=function(e){return!e||!e.length};var ye=function(e,t,n){return e.filter((function(e){return t.some((function(t){var o=e.values[t];return o&&o.length&&n.every((function(e){return o.includes(e)}))}))}))};ye.autoRemove=function(e){return!e||!e.length};var we=function(e,t,n){return e.filter((function(e){return t.some((function(t){var o=e.values[t];return o&&o.length&&n.some((function(e){return o.includes(e)}))}))}))};we.autoRemove=function(e){return!e||!e.length};var Re=function(e,t,n){return e.filter((function(e){return t.some((function(t){var o=e.values[t];return n.includes(o)}))}))};Re.autoRemove=function(e){return!e||!e.length};var be=function(e,t,n){return e.filter((function(e){return t.some((function(t){return e.values[t]===n}))}))};be.autoRemove=function(e){return void 0===e};var Se=function(e,t,n){return e.filter((function(e){return t.some((function(t){return e.values[t]==n}))}))};Se.autoRemove=function(e){return null==e};var Ce=function(e,t,n){var o=n||[],r=o[0],i=o[1];if((r="number"==typeof r?r:-1/0)>(i="number"==typeof i?i:1/0)){var u=r;r=i,i=u}return e.filter((function(e){return t.some((function(t){var n=e.values[t];return n>=r&&n<=i}))}))};Ce.autoRemove=function(e){return!e||"number"!=typeof e[0]&&"number"!=typeof e[1]};var Pe=Object.freeze({__proto__:null,text:ge,exactText:ve,exactTextCase:me,includes:he,includesAll:ye,includesSome:we,includesValue:Re,exact:be,equals:Se,between:Ce});l.resetFilters="resetFilters",l.setFilter="setFilter",l.setAllFilters="setAllFilters";var xe=function(e){e.stateReducers.push(Be),e.useInstance.push(Ee)};function Be(e,t,n,o){if(t.type===l.init)return r({filters:[]},e);if(t.type===l.resetFilters)return r({},e,{filters:o.initialState.filters||[]});if(t.type===l.setFilter){var i=t.columnId,u=t.filterValue,s=o.allColumns,a=o.filterTypes,c=s.find((function(e){return e.id===i}));if(!c)throw new Error("React-Table: Could not find a column with id: "+i);var d=k(c.filter,a||{},Pe),f=e.filters.find((function(e){return e.id===i})),p=m(u,f&&f.value);return H(d.autoRemove,p,c)?r({},e,{filters:e.filters.filter((function(e){return e.id!==i}))}):r({},e,f?{filters:e.filters.map((function(e){return e.id===i?{id:i,value:p}:e}))}:{filters:[].concat(e.filters,[{id:i,value:p}])})}if(t.type===l.setAllFilters){var g=t.filters,v=o.allColumns,h=o.filterTypes;return r({},e,{filters:m(g,e.filters).filter((function(e){var t=v.find((function(t){return t.id===e.id}));return!H(k(t.filter,h||{},Pe).autoRemove,e.value,t)}))})}}function Ee(e){var n=e.data,o=e.rows,r=e.flatRows,i=e.rowsById,u=e.allColumns,s=e.filterTypes,a=e.manualFilters,c=e.defaultCanFilter,d=void 0!==c&&c,f=e.disableFilters,p=e.state.filters,g=e.dispatch,v=e.autoResetFilters,m=void 0===v||v,y=t.useCallback((function(e,t){g({type:l.setFilter,columnId:e,filterValue:t})}),[g]),R=t.useCallback((function(e){g({type:l.setAllFilters,filters:e})}),[g]);u.forEach((function(e){var t=e.id,n=e.accessor,o=e.defaultCanFilter,r=e.disableFilters;e.canFilter=n?I(!0!==r&&void 0,!0!==f&&void 0,!0):I(o,d,!1),e.setFilter=function(t){return y(e.id,t)};var i=p.find((function(e){return e.id===t}));e.filterValue=i&&i.value}));var b=t.useMemo((function(){if(a||!p.length)return[o,r,i];var e=[],t={};return[function n(o,r){void 0===r&&(r=0);var i=o;return(i=p.reduce((function(e,t){var n=t.id,o=t.value,i=u.find((function(e){return e.id===n}));if(!i)return e;0===r&&(i.preFilteredRows=e);var l=k(i.filter,s||{},Pe);return l?(i.filteredRows=l(e,[n],o),i.filteredRows):(console.warn("Could not find a valid 'column.filter' for column with the ID: "+i.id+"."),e)}),o)).forEach((function(o){e.push(o),t[o.id]=o,o.subRows&&(o.subRows=o.subRows&&o.subRows.length>0?n(o.subRows,r+1):o.subRows)})),i}(o),e,t]}),[a,p,o,r,i,u,s]),S=b[0],C=b[1],P=b[2];t.useMemo((function(){u.filter((function(e){return!p.find((function(t){return t.id===e.id}))})).forEach((function(e){e.preFilteredRows=S,e.filteredRows=S}))}),[S,p,u]);var x=h(m);w((function(){x()&&g({type:l.resetFilters})}),[g,a?null:n]),Object.assign(e,{preFilteredRows:o,preFilteredFlatRows:r,preFilteredRowsById:i,filteredRows:S,filteredFlatRows:C,filteredRowsById:P,rows:S,flatRows:C,rowsById:P,setFilter:y,setAllFilters:R})}xe.pluginName="useFilters",l.resetGlobalFilter="resetGlobalFilter",l.setGlobalFilter="setGlobalFilter";var Ie=function(e){e.stateReducers.push(Fe),e.useInstance.push(Ge)};function Fe(e,t,n,o){if(t.type===l.resetGlobalFilter)return r({},e,{globalFilter:o.initialState.globalFilter||void 0});if(t.type===l.setGlobalFilter){var u=t.filterValue,s=o.userFilterTypes,a=k(o.globalFilter,s||{},Pe),c=m(u,e.globalFilter);return H(a.autoRemove,c)?(e.globalFilter,i(e,["globalFilter"])):r({},e,{globalFilter:c})}}function Ge(e){var n=e.data,o=e.rows,r=e.flatRows,i=e.rowsById,u=e.allColumns,s=e.filterTypes,a=e.globalFilter,c=e.manualGlobalFilter,d=e.state.globalFilter,f=e.dispatch,p=e.autoResetGlobalFilter,g=void 0===p||p,v=e.disableGlobalFilter,m=t.useCallback((function(e){f({type:l.setGlobalFilter,filterValue:e})}),[f]),y=t.useMemo((function(){if(c||void 0===d)return[o,r,i];var e=[],t={},n=k(a,s||{},Pe);if(!n)return console.warn("Could not find a valid 'globalFilter' option."),o;u.forEach((function(e){var t=e.disableGlobalFilter;e.canFilter=I(!0!==t&&void 0,!0!==v&&void 0,!0)}));var l=u.filter((function(e){return!0===e.canFilter}));return[function o(r){return(r=n(r,l.map((function(e){return e.id})),d)).forEach((function(n){e.push(n),t[n.id]=n,n.subRows=n.subRows&&n.subRows.length?o(n.subRows):n.subRows})),r}(o),e,t]}),[c,d,a,s,u,o,r,i,v]),R=y[0],b=y[1],S=y[2],C=h(g);w((function(){C()&&f({type:l.resetGlobalFilter})}),[f,c?null:n]),Object.assign(e,{preGlobalFilteredRows:o,preGlobalFilteredFlatRows:r,preGlobalFilteredRowsById:i,globalFilteredRows:R,globalFilteredFlatRows:b,globalFilteredRowsById:S,rows:R,flatRows:b,rowsById:S,setGlobalFilter:m,disableGlobalFilter:v})}function Ae(e,t){return t.reduce((function(e,t){return e+("number"==typeof t?t:0)}),0)}Ie.pluginName="useGlobalFilter";var ke=Object.freeze({__proto__:null,sum:Ae,min:function(e){var t=e[0]||0;return e.forEach((function(e){"number"==typeof e&&(t=Math.min(t,e))})),t},max:function(e){var t=e[0]||0;return e.forEach((function(e){"number"==typeof e&&(t=Math.max(t,e))})),t},minMax:function(e){var t=e[0]||0,n=e[0]||0;return e.forEach((function(e){"number"==typeof e&&(t=Math.min(t,e),n=Math.max(n,e))})),t+".."+n},average:function(e){return Ae(0,e)/e.length},median:function(e){if(!e.length)return null;var t=Math.floor(e.length/2),n=[].concat(e).sort((function(e,t){return e-t}));return e.length%2!=0?n[t]:(n[t-1]+n[t])/2},unique:function(e){return Array.from(new Set(e).values())},uniqueCount:function(e){return new Set(e).size},count:function(e){return e.length}}),He=[],Te={};l.resetGroupBy="resetGroupBy",l.setGroupBy="setGroupBy",l.toggleGroupBy="toggleGroupBy";var ze=function(e){e.getGroupByToggleProps=[We],e.stateReducers.push(Oe),e.visibleColumnsDeps.push((function(e,t){var n=t.instance;return[].concat(e,[n.state.groupBy])})),e.visibleColumns.push(Me),e.useInstance.push(Ne),e.prepareRow.push(_e)};ze.pluginName="useGroupBy";var We=function(e,t){var n=t.header;return[e,{onClick:n.canGroupBy?function(e){e.persist(),n.toggleGroupBy()}:void 0,style:{cursor:n.canGroupBy?"pointer":void 0},title:"Toggle GroupBy"}]};function Oe(e,t,n,o){if(t.type===l.init)return r({groupBy:[]},e);if(t.type===l.resetGroupBy)return r({},e,{groupBy:o.initialState.groupBy||[]});if(t.type===l.setGroupBy)return r({},e,{groupBy:t.value});if(t.type===l.toggleGroupBy){var i=t.columnId,u=t.value,s=void 0!==u?u:!e.groupBy.includes(i);return r({},e,s?{groupBy:[].concat(e.groupBy,[i])}:{groupBy:e.groupBy.filter((function(e){return e!==i}))})}}function Me(e,t){var n=t.instance.state.groupBy,o=n.map((function(t){return e.find((function(e){return e.id===t}))})).filter(Boolean),r=e.filter((function(e){return!n.includes(e.id)}));return(e=[].concat(o,r)).forEach((function(e){e.isGrouped=n.includes(e.id),e.groupedIndex=n.indexOf(e.id)})),e}var je={};function Ne(e){var n=e.data,o=e.rows,r=e.flatRows,i=e.rowsById,u=e.allColumns,s=e.flatHeaders,a=e.groupByFn,c=void 0===a?De:a,d=e.manualGroupBy,p=e.aggregations,g=void 0===p?je:p,m=e.plugins,y=e.state.groupBy,R=e.dispatch,b=e.autoResetGroupBy,S=void 0===b||b,C=e.disableGroupBy,P=e.defaultCanGroupBy,x=e.getHooks;v(m,["useColumnOrder","useFilters"],"useGroupBy");var B=h(e);u.forEach((function(t){var n=t.accessor,o=t.defaultGroupBy,r=t.disableGroupBy;t.canGroupBy=n?I(t.canGroupBy,!0!==r&&void 0,!0!==C&&void 0,!0):I(t.canGroupBy,o,P,!1),t.canGroupBy&&(t.toggleGroupBy=function(){return e.toggleGroupBy(t.id)}),t.Aggregated=t.Aggregated||t.Cell}));var E=t.useCallback((function(e,t){R({type:l.toggleGroupBy,columnId:e,value:t})}),[R]),F=t.useCallback((function(e){R({type:l.setGroupBy,value:e})}),[R]);s.forEach((function(e){e.getGroupByToggleProps=f(x().getGroupByToggleProps,{instance:B(),header:e})}));var A=t.useMemo((function(){if(d||!y.length)return[o,r,i,He,Te,r,i];var e=y.filter((function(e){return u.find((function(t){return t.id===e}))})),t=[],n={},l=[],s={},a=[],f={},p=function o(r,i,d){if(void 0===i&&(i=0),i===e.length)return r;var p=e[i],v=c(r,p);return Object.entries(v).map((function(r,c){var v=r[0],m=r[1],h=p+":"+v,y=o(m,i+1,h=d?d+">"+h:h),w=i?G(m,"leafRows"):m,R=function(t,n,o){var r={};return u.forEach((function(i){if(e.includes(i.id))r[i.id]=n[0]?n[0].values[i.id]:null;else{var u="function"==typeof i.aggregate?i.aggregate:g[i.aggregate]||ke[i.aggregate];if(u){var l=n.map((function(e){return e.values[i.id]})),s=t.map((function(e){var t=e.values[i.id];if(!o&&i.aggregateValue){var n="function"==typeof i.aggregateValue?i.aggregateValue:g[i.aggregateValue]||ke[i.aggregateValue];if(!n)throw console.info({column:i}),new Error("React Table: Invalid column.aggregateValue option for column listed above");t=n(t,e,i)}return t}));r[i.id]=u(s,l)}else{if(i.aggregate)throw console.info({column:i}),new Error("React Table: Invalid column.aggregate option for column listed above");r[i.id]=null}}})),r}(w,m,i),b={id:h,isGrouped:!0,groupByID:p,groupByVal:v,values:R,subRows:y,leafRows:w,depth:i,index:c};return y.forEach((function(e){t.push(e),n[e.id]=e,e.isGrouped?(l.push(e),s[e.id]=e):(a.push(e),f[e.id]=e)})),b}))}(o);return p.forEach((function(e){t.push(e),n[e.id]=e,e.isGrouped?(l.push(e),s[e.id]=e):(a.push(e),f[e.id]=e)})),[p,t,n,l,s,a,f]}),[d,y,o,r,i,u,g,c]),k=A[0],H=A[1],T=A[2],z=A[3],W=A[4],O=A[5],M=A[6],j=h(S);w((function(){j()&&R({type:l.resetGroupBy})}),[R,d?null:n]),Object.assign(e,{preGroupedRows:o,preGroupedFlatRow:r,preGroupedRowsById:i,groupedRows:k,groupedFlatRows:H,groupedRowsById:T,onlyGroupedFlatRows:z,onlyGroupedRowsById:W,nonGroupedFlatRows:O,nonGroupedRowsById:M,rows:k,flatRows:H,rowsById:T,toggleGroupBy:E,setGroupBy:F})}function _e(e){e.allCells.forEach((function(t){var n;t.isGrouped=t.column.isGrouped&&t.column.id===e.groupByID,t.isPlaceholder=!t.isGrouped&&t.column.isGrouped,t.isAggregated=!t.isGrouped&&!t.isPlaceholder&&(null==(n=e.subRows)?void 0:n.length)}))}function De(e,t){return e.reduce((function(e,n,o){var r=""+n.values[t];return e[r]=Array.isArray(e[r])?e[r]:[],e[r].push(n),e}),{})}var Le=/([0-9]+)/gm;function Ve(e,t){return e===t?0:e>t?1:-1}function Xe(e,t){return e.values[t]}function qe(e){return"number"==typeof e?isNaN(e)||e===1/0||e===-1/0?"":String(e):"string"==typeof e?e:""}var Ke=Object.freeze({__proto__:null,alphanumeric:function(e,t,n){var o=Xe(e,n),r=Xe(t,n);for(o=qe(o),r=qe(r),o=o.split(Le).filter(Boolean),r=r.split(Le).filter(Boolean);o.length&&r.length;){var i=o.shift(),u=r.shift(),l=parseInt(i,10),s=parseInt(u,10),a=[l,s].sort();if(isNaN(a[0])){if(i>u)return 1;if(u>i)return-1}else{if(isNaN(a[1]))return isNaN(l)?-1:1;if(l>s)return 1;if(s>l)return-1}}return o.length-r.length},datetime:function(e,t,n){var o=Xe(e,n),r=Xe(t,n);return Ve(o=o.getTime(),r=r.getTime())},basic:function(e,t,n){return Ve(Xe(e,n),Xe(t,n))}});l.resetSortBy="resetSortBy",l.setSortBy="setSortBy",l.toggleSortBy="toggleSortBy",l.clearSortBy="clearSortBy",c.sortType="alphanumeric",c.sortDescFirst=!1;var Ue=function(e){e.getSortByToggleProps=[$e],e.stateReducers.push(Je),e.useInstance.push(Ye)};Ue.pluginName="useSortBy";var $e=function(e,t){var n=t.instance,o=t.column,r=n.isMultiSortEvent,i=void 0===r?function(e){return e.shiftKey}:r;return[e,{onClick:o.canSort?function(e){e.persist(),o.toggleSortBy(void 0,!n.disableMultiSort&&i(e))}:void 0,style:{cursor:o.canSort?"pointer":void 0},title:o.canSort?"Toggle SortBy":void 0}]};function Je(e,t,n,o){if(t.type===l.init)return r({sortBy:[]},e);if(t.type===l.resetSortBy)return r({},e,{sortBy:o.initialState.sortBy||[]});if(t.type===l.clearSortBy)return r({},e,{sortBy:e.sortBy.filter((function(e){return e.id!==t.columnId}))});if(t.type===l.setSortBy)return r({},e,{sortBy:t.sortBy});if(t.type===l.toggleSortBy){var i,u=t.columnId,s=t.desc,a=t.multi,c=o.allColumns,d=o.disableMultiSort,f=o.disableSortRemove,p=o.disableMultiRemove,g=o.maxMultiSortColCount,v=void 0===g?Number.MAX_SAFE_INTEGER:g,m=e.sortBy,h=c.find((function(e){return e.id===u})).sortDescFirst,y=m.find((function(e){return e.id===u})),w=m.findIndex((function(e){return e.id===u})),R=null!=s,b=[];return"toggle"!=(i=!d&&a?y?"toggle":"add":w!==m.length-1||1!==m.length?"replace":y?"toggle":"replace")||f||R||a&&p||!(y&&y.desc&&!h||!y.desc&&h)||(i="remove"),"replace"===i?b=[{id:u,desc:R?s:h}]:"add"===i?(b=[].concat(m,[{id:u,desc:R?s:h}])).splice(0,b.length-v):"toggle"===i?b=m.map((function(e){return e.id===u?r({},e,{desc:R?s:!y.desc}):e})):"remove"===i&&(b=m.filter((function(e){return e.id!==u}))),r({},e,{sortBy:b})}}function Ye(e){var n=e.data,o=e.rows,r=e.flatRows,i=e.allColumns,u=e.orderByFn,s=void 0===u?Qe:u,a=e.sortTypes,c=e.manualSortBy,d=e.defaultCanSort,p=e.disableSortBy,g=e.flatHeaders,m=e.state.sortBy,y=e.dispatch,R=e.plugins,b=e.getHooks,S=e.autoResetSortBy,C=void 0===S||S;v(R,["useFilters","useGlobalFilter","useGroupBy","usePivotColumns"],"useSortBy");var P=t.useCallback((function(e){y({type:l.setSortBy,sortBy:e})}),[y]),x=t.useCallback((function(e,t,n){y({type:l.toggleSortBy,columnId:e,desc:t,multi:n})}),[y]),B=h(e);g.forEach((function(e){var t=e.accessor,n=e.canSort,o=e.disableSortBy,r=e.id,i=t?I(!0!==o&&void 0,!0!==p&&void 0,!0):I(d,n,!1);e.canSort=i,e.canSort&&(e.toggleSortBy=function(t,n){return x(e.id,t,n)},e.clearSortBy=function(){y({type:l.clearSortBy,columnId:e.id})}),e.getSortByToggleProps=f(b().getSortByToggleProps,{instance:B(),column:e});var u=m.find((function(e){return e.id===r}));e.isSorted=!!u,e.sortedIndex=m.findIndex((function(e){return e.id===r})),e.isSortedDesc=e.isSorted?u.desc:void 0}));var E=t.useMemo((function(){if(c||!m.length)return[o,r];var e=[],t=m.filter((function(e){return i.find((function(t){return t.id===e.id}))}));return[function n(o){var r=s(o,t.map((function(e){var t=i.find((function(t){return t.id===e.id}));if(!t)throw new Error("React-Table: Could not find a column with id: "+e.id+" while sorting");var n=t.sortType,o=F(n)||(a||{})[n]||Ke[n];if(!o)throw new Error("React-Table: Could not find a valid sortType of '"+n+"' for column '"+e.id+"'.");return function(t,n){return o(t,n,e.id,e.desc)}})),t.map((function(e){var t=i.find((function(t){return t.id===e.id}));return t&&t.sortInverted?e.desc:!e.desc})));return r.forEach((function(t){e.push(t),t.subRows&&0!==t.subRows.length&&(t.subRows=n(t.subRows))})),r}(o),e]}),[c,m,o,r,i,s,a]),G=E[0],A=E[1],k=h(C);w((function(){k()&&y({type:l.resetSortBy})}),[c?null:n]),Object.assign(e,{preSortedRows:o,preSortedFlatRows:r,sortedRows:G,sortedFlatRows:A,rows:G,flatRows:A,setSortBy:P,toggleSortBy:x})}function Qe(e,t,n){return[].concat(e).sort((function(e,o){for(var r=0;r<t.length;r+=1){var i=t[r],u=!1===n[r]||"desc"===n[r],l=i(e,o);if(0!==l)return u?-l:l}return n[0]?e.index-o.index:o.index-e.index}))}l.resetPage="resetPage",l.gotoPage="gotoPage",l.setPageSize="setPageSize";var Ze=function(e){e.stateReducers.push(et),e.useInstance.push(tt)};function et(e,t,n,o){if(t.type===l.init)return r({pageSize:10,pageIndex:0},e);if(t.type===l.resetPage)return r({},e,{pageIndex:o.initialState.pageIndex||0});if(t.type===l.gotoPage){var i=o.pageCount,u=o.page,s=m(t.pageIndex,e.pageIndex),a=!1;return s>e.pageIndex?a=-1===i?u.length>=e.pageSize:s<i:s<e.pageIndex&&(a=s>-1),a?r({},e,{pageIndex:s}):e}if(t.type===l.setPageSize){var c=t.pageSize,d=e.pageSize*e.pageIndex;return r({},e,{pageIndex:Math.floor(d/c),pageSize:c})}}function tt(e){var n=e.rows,o=e.autoResetPage,r=void 0===o||o,i=e.manualExpandedKey,u=void 0===i?"expanded":i,s=e.plugins,a=e.pageCount,c=e.paginateExpandedRows,d=void 0===c||c,f=e.expandSubRows,p=void 0===f||f,g=e.state,m=g.pageSize,y=g.pageIndex,R=g.expanded,b=g.globalFilter,S=g.filters,C=g.groupBy,P=g.sortBy,x=e.dispatch,B=e.data,E=e.manualPagination;v(s,["useGlobalFilter","useFilters","useGroupBy","useSortBy","useExpanded"],"usePagination");var I=h(r);w((function(){I()&&x({type:l.resetPage})}),[x,E?null:B,b,S,C,P]);var F=E?a:Math.ceil(n.length/m),G=t.useMemo((function(){return F>0?[].concat(new Array(F)).fill(null).map((function(e,t){return t})):[]}),[F]),k=t.useMemo((function(){var e;if(E)e=n;else{var t=m*y,o=t+m;e=n.slice(t,o)}return d?e:A(e,{manualExpandedKey:u,expanded:R,expandSubRows:p})}),[p,R,u,E,y,m,d,n]),H=y>0,T=-1===F?k.length>=m:y<F-1,z=t.useCallback((function(e){x({type:l.gotoPage,pageIndex:e})}),[x]),W=t.useCallback((function(){return z((function(e){return e-1}))}),[z]),O=t.useCallback((function(){return z((function(e){return e+1}))}),[z]),M=t.useCallback((function(e){x({type:l.setPageSize,pageSize:e})}),[x]);Object.assign(e,{pageOptions:G,pageCount:F,page:k,canPreviousPage:H,canNextPage:T,gotoPage:z,previousPage:W,nextPage:O,setPageSize:M})}Ze.pluginName="usePagination",l.resetPivot="resetPivot",l.togglePivot="togglePivot";var nt=function(e){e.getPivotToggleProps=[rt],e.stateReducers.push(it),e.useInstanceAfterData.push(ut),e.allColumns.push(lt),e.accessValue.push(st),e.materializedColumns.push(at),e.materializedColumnsDeps.push(ct),e.visibleColumns.push(dt),e.visibleColumnsDeps.push(ft),e.useInstance.push(pt),e.prepareRow.push(gt)};nt.pluginName="usePivotColumns";var ot=[],rt=function(e,t){var n=t.header;return[e,{onClick:n.canPivot?function(e){e.persist(),n.togglePivot()}:void 0,style:{cursor:n.canPivot?"pointer":void 0},title:"Toggle Pivot"}]};function it(e,t,n,o){if(t.type===l.init)return r({pivotColumns:ot},e);if(t.type===l.resetPivot)return r({},e,{pivotColumns:o.initialState.pivotColumns||ot});if(t.type===l.togglePivot){var i=t.columnId,u=t.value,s=void 0!==u?u:!e.pivotColumns.includes(i);return r({},e,s?{pivotColumns:[].concat(e.pivotColumns,[i])}:{pivotColumns:e.pivotColumns.filter((function(e){return e!==i}))})}}function ut(e){e.allColumns.forEach((function(t){t.isPivotSource=e.state.pivotColumns.includes(t.id)}))}function lt(e,t){var n=t.instance;return e.forEach((function(e){e.isPivotSource=n.state.pivotColumns.includes(e.id),e.uniqueValues=new Set})),e}function st(e,t){var n=t.column;return n.uniqueValues&&void 0!==e&&n.uniqueValues.add(e),e}function at(e,t){var n=t.instance,o=n.allColumns,i=n.state;if(!i.pivotColumns.length||!i.groupBy||!i.groupBy.length)return e;var u=i.pivotColumns.map((function(e){return o.find((function(t){return t.id===e}))})).filter(Boolean),l=o.filter((function(e){return!e.isPivotSource&&!i.groupBy.includes(e.id)&&!i.pivotColumns.includes(e.id)})),s=C(function e(t,n,o){void 0===t&&(t=0),void 0===o&&(o=[]);var i=u[t];return i?Array.from(i.uniqueValues).sort().map((function(u){var l=r({},i,{Header:i.PivotHeader||"string"==typeof i.header?i.Header+": "+u:u,isPivotGroup:!0,parent:n,depth:t,id:n?n.id+"."+i.id+"."+u:i.id+"."+u,pivotValue:u});return l.columns=e(t+1,l,[].concat(o,[function(e){return e.values[i.id]===u}])),l})):l.map((function(e){return r({},e,{canPivot:!1,isPivoted:!0,parent:n,depth:t,id:""+(n?n.id+"."+e.id:e.id),accessor:function(t,n,r){if(o.every((function(e){return e(r)})))return r.values[e.id]}})}))}());return[].concat(e,s)}function ct(e,t){var n=t.instance.state,o=n.pivotColumns,r=n.groupBy;return[].concat(e,[o,r])}function dt(e,t){var n=t.instance.state;return e=e.filter((function(e){return!e.isPivotSource})),n.pivotColumns.length&&n.groupBy&&n.groupBy.length&&(e=e.filter((function(e){return e.isGrouped||e.isPivoted}))),e}function ft(e,t){var n=t.instance;return[].concat(e,[n.state.pivotColumns,n.state.groupBy])}function pt(e){var t=e.columns,n=e.allColumns,o=e.flatHeaders,r=e.getHooks,i=e.plugins,u=e.dispatch,s=e.autoResetPivot,a=void 0===s||s,c=e.manaulPivot,d=e.disablePivot,p=e.defaultCanPivot;v(i,["useGroupBy"],"usePivotColumns");var g=h(e);n.forEach((function(t){var n=t.accessor,o=t.defaultPivot,r=t.disablePivot;t.canPivot=n?I(t.canPivot,!0!==r&&void 0,!0!==d&&void 0,!0):I(t.canPivot,o,p,!1),t.canPivot&&(t.togglePivot=function(){return e.togglePivot(t.id)}),t.Aggregated=t.Aggregated||t.Cell})),o.forEach((function(e){e.getPivotToggleProps=f(r().getPivotToggleProps,{instance:g(),header:e})}));var m=h(a);w((function(){m()&&u({type:l.resetPivot})}),[u,c?null:t]),Object.assign(e,{togglePivot:function(e,t){u({type:l.togglePivot,columnId:e,value:t})}})}function gt(e){e.allCells.forEach((function(e){e.isPivoted=e.column.isPivoted}))}l.resetSelectedRows="resetSelectedRows",l.toggleAllRowsSelected="toggleAllRowsSelected",l.toggleRowSelected="toggleRowSelected",l.toggleAllPageRowsSelected="toggleAllPageRowsSelected";var vt=function(e){e.getToggleRowSelectedProps=[mt],e.getToggleAllRowsSelectedProps=[ht],e.getToggleAllPageRowsSelectedProps=[yt],e.stateReducers.push(wt),e.useInstance.push(Rt),e.prepareRow.push(bt)};vt.pluginName="useRowSelect";var mt=function(e,t){var n=t.instance,o=t.row,r=n.manualRowSelectedKey,i=void 0===r?"isSelected":r;return[e,{onChange:function(e){o.toggleRowSelected(e.target.checked)},style:{cursor:"pointer"},checked:!(!o.original||!o.original[i])||o.isSelected,title:"Toggle Row Selected",indeterminate:o.isSomeSelected}]},ht=function(e,t){var n=t.instance;return[e,{onChange:function(e){n.toggleAllRowsSelected(e.target.checked)},style:{cursor:"pointer"},checked:n.isAllRowsSelected,title:"Toggle All Rows Selected",indeterminate:Boolean(!n.isAllRowsSelected&&Object.keys(n.state.selectedRowIds).length)}]},yt=function(e,t){var n=t.instance;return[e,{onChange:function(e){n.toggleAllPageRowsSelected(e.target.checked)},style:{cursor:"pointer"},checked:n.isAllPageRowsSelected,title:"Toggle All Current Page Rows Selected",indeterminate:Boolean(!n.isAllPageRowsSelected&&n.page.some((function(e){var t=e.id;return n.state.selectedRowIds[t]})))}]};function wt(e,t,n,o){if(t.type===l.init)return r({selectedRowIds:{}},e);if(t.type===l.resetSelectedRows)return r({},e,{selectedRowIds:o.initialState.selectedRowIds||{}});if(t.type===l.toggleAllRowsSelected){var i=t.value,u=o.isAllRowsSelected,s=o.rowsById,a=o.nonGroupedRowsById,c=void 0===a?s:a,d=void 0!==i?i:!u,f=Object.assign({},e.selectedRowIds);return d?Object.keys(c).forEach((function(e){f[e]=!0})):Object.keys(c).forEach((function(e){delete f[e]})),r({},e,{selectedRowIds:f})}if(t.type===l.toggleRowSelected){var p=t.id,g=t.value,v=o.rowsById,m=o.selectSubRows,h=void 0===m||m,y=o.getSubRows,w=e.selectedRowIds[p],R=void 0!==g?g:!w;if(w===R)return e;var b=r({},e.selectedRowIds);return function e(t){var n=v[t];if(n.isGrouped||(R?b[t]=!0:delete b[t]),h&&y(n))return y(n).forEach((function(t){return e(t.id)}))}(p),r({},e,{selectedRowIds:b})}if(t.type===l.toggleAllPageRowsSelected){var S=t.value,C=o.page,P=o.rowsById,x=o.selectSubRows,B=void 0===x||x,E=o.isAllPageRowsSelected,I=o.getSubRows,F=void 0!==S?S:!E,G=r({},e.selectedRowIds);return C.forEach((function(e){return function e(t){var n=P[t];if(n.isGrouped||(F?G[t]=!0:delete G[t]),B&&I(n))return I(n).forEach((function(t){return e(t.id)}))}(e.id)})),r({},e,{selectedRowIds:G})}return e}function Rt(e){var n=e.data,o=e.rows,r=e.getHooks,i=e.plugins,u=e.rowsById,s=e.nonGroupedRowsById,a=void 0===s?u:s,c=e.autoResetSelectedRows,d=void 0===c||c,p=e.state.selectedRowIds,g=e.selectSubRows,m=void 0===g||g,y=e.dispatch,R=e.page,b=e.getSubRows;v(i,["useFilters","useGroupBy","useSortBy","useExpanded","usePagination"],"useRowSelect");var S=t.useMemo((function(){var e=[];return o.forEach((function(t){var n=m?function e(t,n,o){if(n[t.id])return!0;var r=o(t);if(r&&r.length){var i=!0,u=!1;return r.forEach((function(t){u&&!i||(e(t,n,o)?u=!0:i=!1)})),!!i||!!u&&null}return!1}(t,p,b):!!p[t.id];t.isSelected=!!n,t.isSomeSelected=null===n,n&&e.push(t)})),e}),[o,m,p,b]),C=Boolean(Object.keys(a).length&&Object.keys(p).length),P=C;C&&Object.keys(a).some((function(e){return!p[e]}))&&(C=!1),C||R&&R.length&&R.some((function(e){var t=e.id;return!p[t]}))&&(P=!1);var x=h(d);w((function(){x()&&y({type:l.resetSelectedRows})}),[y,n]);var B=t.useCallback((function(e){return y({type:l.toggleAllRowsSelected,value:e})}),[y]),E=t.useCallback((function(e){return y({type:l.toggleAllPageRowsSelected,value:e})}),[y]),I=t.useCallback((function(e,t){return y({type:l.toggleRowSelected,id:e,value:t})}),[y]),F=h(e),G=f(r().getToggleAllRowsSelectedProps,{instance:F()}),A=f(r().getToggleAllPageRowsSelectedProps,{instance:F()});Object.assign(e,{selectedFlatRows:S,isAllRowsSelected:C,isAllPageRowsSelected:P,toggleRowSelected:I,toggleAllRowsSelected:B,getToggleAllRowsSelectedProps:G,getToggleAllPageRowsSelectedProps:A,toggleAllPageRowsSelected:E})}function bt(e,t){var n=t.instance;e.toggleRowSelected=function(t){return n.toggleRowSelected(e.id,t)},e.getToggleRowSelectedProps=f(n.getHooks().getToggleRowSelectedProps,{instance:n,row:e})}var St=function(e){return{}},Ct=function(e){return{}};l.setRowState="setRowState",l.setCellState="setCellState",l.resetRowState="resetRowState";var Pt=function(e){e.stateReducers.push(xt),e.useInstance.push(Bt),e.prepareRow.push(Et)};function xt(e,t,n,o){var i=o.initialRowStateAccessor,u=void 0===i?St:i,s=o.initialCellStateAccessor,a=void 0===s?Ct:s,c=o.rowsById;if(t.type===l.init)return r({rowState:{}},e);if(t.type===l.resetRowState)return r({},e,{rowState:o.initialState.rowState||{}});if(t.type===l.setRowState){var d,f=t.rowId,p=t.value,g=void 0!==e.rowState[f]?e.rowState[f]:u(c[f]);return r({},e,{rowState:r({},e.rowState,(d={},d[f]=m(p,g),d))})}if(t.type===l.setCellState){var v,h,y,w,R,b=t.rowId,S=t.columnId,C=t.value,P=void 0!==e.rowState[b]?e.rowState[b]:u(c[b]),x=void 0!==(null==P||null==(v=P.cellState)?void 0:v[S])?P.cellState[S]:a(null==(h=c[b])||null==(y=h.cells)?void 0:y.find((function(e){return e.column.id===S})));return r({},e,{rowState:r({},e.rowState,(R={},R[b]=r({},P,{cellState:r({},P.cellState||{},(w={},w[S]=m(C,x),w))}),R))})}}function Bt(e){var n=e.autoResetRowState,o=void 0===n||n,r=e.data,i=e.dispatch,u=t.useCallback((function(e,t){return i({type:l.setRowState,rowId:e,value:t})}),[i]),s=t.useCallback((function(e,t,n){return i({type:l.setCellState,rowId:e,columnId:t,value:n})}),[i]),a=h(o);w((function(){a()&&i({type:l.resetRowState})}),[r]),Object.assign(e,{setRowState:u,setCellState:s})}function Et(e,t){var n=t.instance,o=n.initialRowStateAccessor,r=void 0===o?St:o,i=n.initialCellStateAccessor,u=void 0===i?Ct:i,l=n.state.rowState;e&&(e.state=void 0!==l[e.id]?l[e.id]:r(e),e.setState=function(t){return n.setRowState(e.id,t)},e.cells.forEach((function(t){e.state.cellState||(e.state.cellState={}),t.state=void 0!==e.state.cellState[t.column.id]?e.state.cellState[t.column.id]:u(t),t.setState=function(o){return n.setCellState(e.id,t.column.id,o)}})))}Pt.pluginName="useRowState",l.resetColumnOrder="resetColumnOrder",l.setColumnOrder="setColumnOrder";var It=function(e){e.stateReducers.push(Ft),e.visibleColumnsDeps.push((function(e,t){var n=t.instance;return[].concat(e,[n.state.columnOrder])})),e.visibleColumns.push(Gt),e.useInstance.push(At)};function Ft(e,t,n,o){return t.type===l.init?r({columnOrder:[]},e):t.type===l.resetColumnOrder?r({},e,{columnOrder:o.initialState.columnOrder||[]}):t.type===l.setColumnOrder?r({},e,{columnOrder:m(t.columnOrder,e.columnOrder)}):void 0}function Gt(e,t){var n=t.instance.state.columnOrder;if(!n||!n.length)return e;for(var o=[].concat(n),r=[].concat(e),i=[],u=function(){var e=o.shift(),t=r.findIndex((function(t){return t.id===e}));t>-1&&i.push(r.splice(t,1)[0])};r.length&&o.length;)u();return[].concat(i,r)}function At(e){var n=e.dispatch;e.setColumnOrder=t.useCallback((function(e){return n({type:l.setColumnOrder,columnOrder:e})}),[n])}It.pluginName="useColumnOrder",c.canResize=!0,l.columnStartResizing="columnStartResizing",l.columnResizing="columnResizing",l.columnDoneResizing="columnDoneResizing",l.resetResize="resetResize";var kt=function(e){e.getResizerProps=[Ht],e.getHeaderProps.push({style:{position:"relative"}}),e.stateReducers.push(Tt),e.useInstance.push(Wt),e.useInstanceBeforeDimensions.push(zt)},Ht=function(e,t){var n=t.instance,o=t.header,r=n.dispatch,i=function(e,t){var n=!1;if("touchstart"===e.type){if(e.touches&&e.touches.length>1)return;n=!0}var o=function(e){var t=[];return function e(n){n.columns&&n.columns.length&&n.columns.map(e),t.push(n)}(e),t}(t).map((function(e){return[e.id,e.totalWidth]})),i=n?Math.round(e.touches[0].clientX):e.clientX,u=function(e){r({type:l.columnResizing,clientX:e})},s=function(){return r({type:l.columnDoneResizing})},a={mouse:{moveEvent:"mousemove",moveHandler:function(e){return u(e.clientX)},upEvent:"mouseup",upHandler:function(e){document.removeEventListener("mousemove",a.mouse.moveHandler),document.removeEventListener("mouseup",a.mouse.upHandler),s()}},touch:{moveEvent:"touchmove",moveHandler:function(e){return e.cancelable&&(e.preventDefault(),e.stopPropagation()),u(e.touches[0].clientX),!1},upEvent:"touchend",upHandler:function(e){document.removeEventListener(a.touch.moveEvent,a.touch.moveHandler),document.removeEventListener(a.touch.upEvent,a.touch.moveHandler),s()}}},c=n?a.touch:a.mouse,d=!!function(){if("boolean"==typeof z)return z;var e=!1;try{var t={get passive(){return e=!0,!1}};window.addEventListener("test",null,t),window.removeEventListener("test",null,t)}catch(t){e=!1}return z=e}()&&{passive:!1};document.addEventListener(c.moveEvent,c.moveHandler,d),document.addEventListener(c.upEvent,c.upHandler,d),r({type:l.columnStartResizing,columnId:t.id,columnWidth:t.totalWidth,headerIdWidths:o,clientX:i})};return[e,{onMouseDown:function(e){return e.persist()||i(e,o)},onTouchStart:function(e){return e.persist()||i(e,o)},style:{cursor:"col-resize"},draggable:!1,role:"separator"}]};function Tt(e,t){if(t.type===l.init)return r({columnResizing:{columnWidths:{}}},e);if(t.type===l.resetResize)return r({},e,{columnResizing:{columnWidths:{}}});if(t.type===l.columnStartResizing){var n=t.clientX,o=t.columnId,i=t.columnWidth,u=t.headerIdWidths;return r({},e,{columnResizing:r({},e.columnResizing,{startX:n,headerIdWidths:u,columnWidth:i,isResizingColumn:o})})}if(t.type===l.columnResizing){var s=t.clientX,a=e.columnResizing,c=a.startX,d=a.columnWidth,f=a.headerIdWidths,p=(s-c)/d,g={};return(void 0===f?[]:f).forEach((function(e){var t=e[0],n=e[1];g[t]=Math.max(n+n*p,0)})),r({},e,{columnResizing:r({},e.columnResizing,{columnWidths:r({},e.columnResizing.columnWidths,{},g)})})}return t.type===l.columnDoneResizing?r({},e,{columnResizing:r({},e.columnResizing,{startX:null,isResizingColumn:null})}):void 0}kt.pluginName="useResizeColumns";var zt=function(e){var t=e.flatHeaders,n=e.disableResizing,o=e.getHooks,r=e.state.columnResizing,i=h(e);t.forEach((function(e){var t=I(!0!==e.disableResizing&&void 0,!0!==n&&void 0,!0);e.canResize=t,e.width=r.columnWidths[e.id]||e.originalWidth||e.width,e.isResizing=r.isResizingColumn===e.id,t&&(e.getResizerProps=f(o().getResizerProps,{instance:i(),header:e}))}))};function Wt(e){var n=e.plugins,o=e.dispatch,r=e.autoResetResize,i=void 0===r||r,u=e.columns;v(n,["useAbsoluteLayout"],"useResizeColumns");var s=h(i);w((function(){s()&&o({type:l.resetResize})}),[u]);var a=t.useCallback((function(){return o({type:l.resetResize})}),[o]);Object.assign(e,{resetResizing:a})}var Ot={position:"absolute",top:0},Mt=function(e){e.getTableBodyProps.push(jt),e.getRowProps.push(jt),e.getHeaderGroupProps.push(jt),e.getFooterGroupProps.push(jt),e.getHeaderProps.push((function(e,t){var n=t.column;return[e,{style:r({},Ot,{left:n.totalLeft+"px",width:n.totalWidth+"px"})}]})),e.getCellProps.push((function(e,t){var n=t.cell;return[e,{style:r({},Ot,{left:n.column.totalLeft+"px",width:n.column.totalWidth+"px"})}]})),e.getFooterProps.push((function(e,t){var n=t.column;return[e,{style:r({},Ot,{left:n.totalLeft+"px",width:n.totalWidth+"px"})}]}))};Mt.pluginName="useAbsoluteLayout";var jt=function(e,t){return[e,{style:{position:"relative",width:t.instance.totalColumnsWidth+"px"}}]},Nt={display:"inline-block",boxSizing:"border-box"},_t=function(e,t){return[e,{style:{display:"flex",width:t.instance.totalColumnsWidth+"px"}}]},Dt=function(e){e.getRowProps.push(_t),e.getHeaderGroupProps.push(_t),e.getFooterGroupProps.push(_t),e.getHeaderProps.push((function(e,t){var n=t.column;return[e,{style:r({},Nt,{width:n.totalWidth+"px"})}]})),e.getCellProps.push((function(e,t){var n=t.cell;return[e,{style:r({},Nt,{width:n.column.totalWidth+"px"})}]})),e.getFooterProps.push((function(e,t){var n=t.column;return[e,{style:r({},Nt,{width:n.totalWidth+"px"})}]}))};function Lt(e){e.getTableProps.push(Vt),e.getRowProps.push(Xt),e.getHeaderGroupProps.push(Xt),e.getFooterGroupProps.push(Xt),e.getHeaderProps.push(qt),e.getCellProps.push(Kt),e.getFooterProps.push(Ut)}Dt.pluginName="useBlockLayout",Lt.pluginName="useFlexLayout";var Vt=function(e,t){return[e,{style:{minWidth:t.instance.totalColumnsMinWidth+"px"}}]},Xt=function(e,t){return[e,{style:{display:"flex",flex:"1 0 auto",minWidth:t.instance.totalColumnsMinWidth+"px"}}]},qt=function(e,t){var n=t.column;return[e,{style:{boxSizing:"border-box",flex:n.totalFlexWidth?n.totalFlexWidth+" 0 auto":void 0,minWidth:n.totalMinWidth+"px",width:n.totalWidth+"px"}}]},Kt=function(e,t){var n=t.cell;return[e,{style:{boxSizing:"border-box",flex:n.column.totalFlexWidth+" 0 auto",minWidth:n.column.totalMinWidth+"px",width:n.column.totalWidth+"px"}}]},Ut=function(e,t){var n=t.column;return[e,{style:{boxSizing:"border-box",flex:n.totalFlexWidth?n.totalFlexWidth+" 0 auto":void 0,minWidth:n.totalMinWidth+"px",width:n.totalWidth+"px"}}]};function $t(e){e.stateReducers.push(Qt),e.getTableProps.push(Jt),e.getHeaderProps.push(Yt)}$t.pluginName="useGridLayout";var Jt=function(e,t){return[e,{style:{display:"grid",gridTemplateColumns:t.instance.state.gridLayout.columnWidths.map((function(e){return e})).join(" ")}}]},Yt=function(e,t){return[e,{id:"header-cell-"+t.column.id,style:{position:"sticky"}}]};function Qt(e,t,n,o){if("init"===t.type)return r({gridLayout:{columnWidths:o.columns.map((function(){return"auto"}))}},e);if("columnStartResizing"===t.type){var i=t.columnId,u=o.visibleColumns.findIndex((function(e){return e.id===i})),l=function(e){var t,n=null==(t=document.getElementById("header-cell-"+e))?void 0:t.offsetWidth;if(void 0!==n)return n}(i);return void 0!==l?r({},e,{gridLayout:r({},e.gridLayout,{columnId:i,columnIndex:u,startingWidth:l})}):e}if("columnResizing"===t.type){var s=e.gridLayout,a=s.columnIndex,c=s.startingWidth,d=s.columnWidths,f=c-(e.columnResizing.startX-t.clientX),p=[].concat(d);return p[a]=f+"px",r({},e,{gridLayout:r({},e.gridLayout,{columnWidths:p})})}}e._UNSTABLE_usePivotColumns=nt,e.actions=l,e.defaultColumn=c,e.defaultGroupByFn=De,e.defaultOrderByFn=Qe,e.defaultRenderer=s,e.emptyRenderer=a,e.ensurePluginOrder=v,e.flexRender=b,e.functionalUpdate=m,e.loopHooks=g,e.makePropGetter=f,e.makeRenderer=R,e.reduceHooks=p,e.safeUseLayoutEffect=y,e.useAbsoluteLayout=Mt,e.useAsyncDebounce=function(e,n){void 0===n&&(n=0);var r=t.useRef({}),i=h(e),u=h(n);return t.useCallback(function(){var e=o(regeneratorRuntime.mark((function e(){var t,n,l,s=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:for(t=s.length,n=new Array(t),l=0;l<t;l++)n[l]=s[l];return r.current.promise||(r.current.promise=new Promise((function(e,t){r.current.resolve=e,r.current.reject=t}))),r.current.timeout&&clearTimeout(r.current.timeout),r.current.timeout=setTimeout(o(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return delete r.current.timeout,e.prev=1,e.t0=r.current,e.next=5,i().apply(void 0,n);case 5:e.t1=e.sent,e.t0.resolve.call(e.t0,e.t1),e.next=12;break;case 9:e.prev=9,e.t2=e.catch(1),r.current.reject(e.t2);case 12:return e.prev=12,delete r.current.promise,e.finish(12);case 15:case"end":return e.stop()}}),e,null,[[1,9,12,15]])}))),u()),e.abrupt("return",r.current.promise);case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),[i,u])},e.useBlockLayout=Dt,e.useColumnOrder=It,e.useExpanded=se,e.useFilters=xe,e.useFlexLayout=Lt,e.useGetLatest=h,e.useGlobalFilter=Ie,e.useGridLayout=$t,e.useGroupBy=ze,e.useMountedLayoutEffect=w,e.usePagination=Ze,e.useResizeColumns=kt,e.useRowSelect=vt,e.useRowState=Pt,e.useSortBy=Ue,e.useTable=function(e){for(var n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];e=ie(e),o=[K].concat(o);var u=t.useRef({}),s=h(u.current);Object.assign(s(),r({},e,{plugins:o,hooks:q()})),o.filter(Boolean).forEach((function(e){e(s().hooks)}));var a=h(s().hooks);s().getHooks=a,delete s().hooks,Object.assign(s(),p(a().useOptions,ie(e)));var c=s(),d=c.data,v=c.columns,m=c.initialState,y=c.defaultColumn,w=c.getSubRows,b=c.getRowId,E=c.stateReducer,I=c.useControlledState,F=h(E),G=t.useCallback((function(e,t){if(!t.type)throw console.info({action:t}),new Error("Unknown Action 👆");return[].concat(a().stateReducers,Array.isArray(F())?F():[F()]).reduce((function(n,o){return o(n,t,e,s())||n}),e)}),[a,F,s]),A=t.useReducer(G,void 0,(function(){return G(m,{type:l.init})})),k=A[0],H=A[1],T=p([].concat(a().useControlledState,[I]),k,{instance:s()});Object.assign(s(),{state:T,dispatch:H});var z=t.useMemo((function(){return S(p(a().columns,v,{instance:s()}))}),[a,s,v].concat(p(a().columnsDeps,[],{instance:s()})));s().columns=z;var W=t.useMemo((function(){return p(a().allColumns,C(z),{instance:s()}).map(P)}),[z,a,s].concat(p(a().allColumnsDeps,[],{instance:s()})));s().allColumns=W;var O=t.useMemo((function(){for(var e=[],t=[],n={},o=[].concat(W);o.length;){var r=o.shift();le({data:d,rows:e,flatRows:t,rowsById:n,column:r,getRowId:b,getSubRows:w,accessValueHooks:a().accessValue,getInstance:s})}return[e,t,n]}),[W,d,b,w,a,s]),M=O[0],j=O[1],N=O[2];Object.assign(s(),{rows:M,initialRows:[].concat(M),flatRows:j,rowsById:N}),g(a().useInstanceAfterData,s());var _=t.useMemo((function(){return p(a().visibleColumns,W,{instance:s()}).map((function(e){return x(e,y)}))}),[a,W,s,y].concat(p(a().visibleColumnsDeps,[],{instance:s()})));W=t.useMemo((function(){var e=[].concat(_);return W.forEach((function(t){e.find((function(e){return e.id===t.id}))||e.push(t)})),e}),[W,_]),s().allColumns=W;var D=t.useMemo((function(){return p(a().headerGroups,B(_,y),s())}),[a,_,y,s].concat(p(a().headerGroupsDeps,[],{instance:s()})));s().headerGroups=D;var L=t.useMemo((function(){return D.length?D[0].headers:[]}),[D]);s().headers=L,s().flatHeaders=D.reduce((function(e,t){return[].concat(e,t.headers)}),[]),g(a().useInstanceBeforeDimensions,s());var V=_.filter((function(e){return e.isVisible})).map((function(e){return e.id})).sort().join("_");_=t.useMemo((function(){return _.filter((function(e){return e.isVisible}))}),[_,V]),s().visibleColumns=_;var X=ue(L),U=X[0],$=X[1],J=X[2];return s().totalColumnsMinWidth=U,s().totalColumnsWidth=$,s().totalColumnsMaxWidth=J,g(a().useInstance,s()),[].concat(s().flatHeaders,s().allColumns).forEach((function(e){e.render=R(s(),e),e.getHeaderProps=f(a().getHeaderProps,{instance:s(),column:e}),e.getFooterProps=f(a().getFooterProps,{instance:s(),column:e})})),s().headerGroups=t.useMemo((function(){return D.filter((function(e,t){return e.headers=e.headers.filter((function(e){return e.headers?function e(t){return t.filter((function(t){return t.headers?e(t.headers):t.isVisible})).length}(e.headers):e.isVisible})),!!e.headers.length&&(e.getHeaderGroupProps=f(a().getHeaderGroupProps,{instance:s(),headerGroup:e,index:t}),e.getFooterGroupProps=f(a().getFooterGroupProps,{instance:s(),headerGroup:e,index:t}),!0)}))}),[D,s,a]),s().footerGroups=[].concat(s().headerGroups).reverse(),s().prepareRow=t.useCallback((function(e){e.getRowProps=f(a().getRowProps,{instance:s(),row:e}),e.allCells=W.map((function(t){var n=e.values[t.id],o={column:t,row:e,value:n};return o.getCellProps=f(a().getCellProps,{instance:s(),cell:o}),o.render=R(s(),t,{row:e,cell:o,value:n}),o})),e.cells=_.map((function(t){return e.allCells.find((function(e){return e.column.id===t.id}))})),g(a().prepareRow,e,{instance:s()})}),[a,s,W,_]),s().getTableProps=f(a().getTableProps,{instance:s()}),s().getTableBodyProps=f(a().getTableBodyProps,{instance:s()}),g(a().useFinalInstance,s()),s()},Object.defineProperty(e,"__esModule",{value:!0})}(t,n(0))}}]);
|
|
1
|
+
(window.webpackJsonp_clickview_lite=window.webpackJsonp_clickview_lite||[]).push([[26],{1463:function(e,t,n){e.exports=n(1704)},1704:function(e,t,n){!function(e,t){"use strict";function n(e,t,n,o,r,i,u){try{var l=e[i](u),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(o,r)}function o(e){return function(){var t=this,o=arguments;return new Promise((function(r,i){var u=e.apply(t,o);function l(e){n(u,r,i,l,s,"next",e)}function s(e){n(u,r,i,l,s,"throw",e)}l(void 0)}))}}function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}function i(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}function u(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t);if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==typeof t?t:String(t)}t=t&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t;var l={init:"init"},s=function(e){var t=e.value;return void 0===t?"":t},a=function(){return t.createElement(t.Fragment,null," ")},c={Cell:s,width:150,minWidth:0,maxWidth:Number.MAX_SAFE_INTEGER};function d(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce((function(e,t){var n=t.style,o=t.className;return e=r({},e,{},i(t,["style","className"])),n&&(e.style=e.style?r({},e.style||{},{},n||{}):n),o&&(e.className=e.className?e.className+" "+o:o),""===e.className&&delete e.className,e}),{})}var f=function(e,t){return void 0===t&&(t={}),function(n){return void 0===n&&(n={}),[].concat(e,[n]).reduce((function(e,o){return function e(t,n,o){return"function"==typeof n?e({},n(t,o)):Array.isArray(n)?d.apply(void 0,[t].concat(n)):d(t,n)}(e,o,r({},t,{userProps:n}))}),{})}},p=function(e,t,n,o){return void 0===n&&(n={}),e.reduce((function(e,t){return t(e,n)}),t)},g=function(e,t,n){return void 0===n&&(n={}),e.forEach((function(e){e(t,n)}))};function v(e,t,n,o){e.findIndex((function(e){return e.pluginName===n})),t.forEach((function(t){e.findIndex((function(e){return e.pluginName===t}))}))}function m(e,t){return"function"==typeof e?e(t):e}function h(e){var n=t.useRef();return n.current=e,t.useCallback((function(){return n.current}),[])}var y="undefined"!=typeof document?t.useLayoutEffect:t.useEffect;function w(e,n){var o=t.useRef(!1);y((function(){o.current&&e(),o.current=!0}),n)}function R(e,t,n){return void 0===n&&(n={}),function(o,i){void 0===i&&(i={});var u="string"==typeof o?t[o]:o;if(void 0===u)throw console.info(t),new Error("Renderer Error ☝️");return b(u,r({},e,{column:t},n,{},i))}}function b(e,n){return function(e){return"function"==typeof e&&(t=Object.getPrototypeOf(e)).prototype&&t.prototype.isReactComponent;var t}(o=e)||"function"==typeof o||function(e){return"object"==typeof e&&"symbol"==typeof e.$$typeof&&["react.memo","react.forward_ref"].includes(e.$$typeof.description)}(o)?t.createElement(e,n):e;var o}function S(e,t,n){return void 0===n&&(n=0),e.map((function(e){return P(e=r({},e,{parent:t,depth:n})),e.columns&&(e.columns=S(e.columns,e,n+1)),e}))}function C(e){return G(e,"columns")}function P(e){var t=e.id,n=e.accessor,o=e.Header;if("string"==typeof n){t=t||n;var r=n.split(".");n=function(e){return function(e,t,n){if(!t)return e;var o,r="function"==typeof t?t:JSON.stringify(t),i=E.get(r)||function(){var e=function(e){return function e(t,n){if(void 0===n&&(n=[]),Array.isArray(t))for(var o=0;o<t.length;o+=1)e(t[o],n);else n.push(t);return n}(e).map((function(e){return String(e).replace(".","_")})).join(".").replace(W,".").replace(O,"").split(".")}(t);return E.set(r,e),e}();try{o=i.reduce((function(e,t){return e[t]}),e)}catch(e){}return void 0!==o?o:void 0}(e,r)}}if(!t&&"string"==typeof o&&o&&(t=o),!t&&e.columns)throw console.error(e),new Error('A column ID (or unique "Header" value) is required!');if(!t)throw console.error(e),new Error("A column ID (or string accessor) is required!");return Object.assign(e,{id:t,accessor:n}),e}function x(e,t){if(!t)throw new Error;return Object.assign(e,r({Header:a,Footer:a},c,{},t,{},e)),Object.assign(e,{originalWidth:e.width}),e}function B(e,t,n){void 0===n&&(n=function(){return{}});for(var o=[],i=e,u=0,l=function(){return u++},s=function(){var e={headers:[]},u=[],s=i.some((function(e){return e.parent}));i.forEach((function(o){var i,a=[].concat(u).reverse()[0];s&&(i=o.parent?r({},o.parent,{originalId:o.parent.id,id:o.parent.id+"_"+l(),headers:[o]},n(o)):x(r({originalId:o.id+"_placeholder",id:o.id+"_placeholder_"+l(),placeholderOf:o,headers:[o]},n(o)),t),a&&a.originalId===i.originalId?a.headers.push(o):u.push(i)),e.headers.push(o)})),o.push(e),i=u};i.length;)s();return o.reverse()}var E=new Map;function I(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];for(var o=0;o<t.length;o+=1)if(void 0!==t[o])return t[o]}function F(e){if("function"==typeof e)return e}function G(e,t){var n=[];return function e(o){o.forEach((function(o){o[t]?e(o[t]):n.push(o)}))}(e),n}function A(e,t){var n=t.manualExpandedKey,o=t.expanded,r=t.expandSubRows,i=void 0===r||r,u=[];return e.forEach((function(e){return function e(t,r){void 0===r&&(r=!0),t.isExpanded=t.original&&t.original[n]||o[t.id],t.canExpand=t.subRows&&!!t.subRows.length,r&&u.push(t),t.subRows&&t.subRows.length&&t.isExpanded&&t.subRows.forEach((function(t){return e(t,i)}))}(e)})),u}function k(e,t,n){return F(e)||t[e]||n[e]||n.text}function H(e,t,n){return e?e(t,n):void 0===t}function T(){throw new Error("React-Table: You have not called prepareRow(row) one or more rows you are attempting to render.")}var z=null,W=/\[/g,O=/\]/g,M=function(e){return r({role:"table"},e)},j=function(e){return r({role:"rowgroup"},e)},N=function(e,t){var n=t.column;return r({key:"header_"+n.id,colSpan:n.totalVisibleHeaderCount,role:"columnheader"},e)},_=function(e,t){var n=t.column;return r({key:"footer_"+n.id,colSpan:n.totalVisibleHeaderCount},e)},D=function(e,t){return r({key:"headerGroup_"+t.index,role:"row"},e)},L=function(e,t){return r({key:"footerGroup_"+t.index},e)},V=function(e,t){return r({key:"row_"+t.row.id,role:"row"},e)},X=function(e,t){var n=t.cell;return r({key:"cell_"+n.row.id+"_"+n.column.id,role:"cell"},e)};function q(){return{useOptions:[],stateReducers:[],useControlledState:[],columns:[],columnsDeps:[],allColumns:[],allColumnsDeps:[],accessValue:[],materializedColumns:[],materializedColumnsDeps:[],useInstanceAfterData:[],visibleColumns:[],visibleColumnsDeps:[],headerGroups:[],headerGroupsDeps:[],useInstanceBeforeDimensions:[],useInstance:[],prepareRow:[],getTableProps:[M],getTableBodyProps:[j],getHeaderGroupProps:[D],getFooterGroupProps:[L],getHeaderProps:[N],getFooterProps:[_],getRowProps:[V],getCellProps:[X],useFinalInstance:[]}}l.resetHiddenColumns="resetHiddenColumns",l.toggleHideColumn="toggleHideColumn",l.setHiddenColumns="setHiddenColumns",l.toggleHideAllColumns="toggleHideAllColumns";var K=function(e){e.getToggleHiddenProps=[U],e.getToggleHideAllColumnsProps=[$],e.stateReducers.push(J),e.useInstanceBeforeDimensions.push(Y),e.headerGroupsDeps.push((function(e,t){var n=t.instance;return[].concat(e,[n.state.hiddenColumns])})),e.useInstance.push(Q)};K.pluginName="useColumnVisibility";var U=function(e,t){var n=t.column;return[e,{onChange:function(e){n.toggleHidden(!e.target.checked)},style:{cursor:"pointer"},checked:n.isVisible,title:"Toggle Column Visible"}]},$=function(e,t){var n=t.instance;return[e,{onChange:function(e){n.toggleHideAllColumns(!e.target.checked)},style:{cursor:"pointer"},checked:!n.allColumnsHidden&&!n.state.hiddenColumns.length,title:"Toggle All Columns Hidden",indeterminate:!n.allColumnsHidden&&n.state.hiddenColumns.length}]};function J(e,t,n,o){if(t.type===l.init)return r({hiddenColumns:[]},e);if(t.type===l.resetHiddenColumns)return r({},e,{hiddenColumns:o.initialState.hiddenColumns||[]});if(t.type===l.toggleHideColumn){var i=(void 0!==t.value?t.value:!e.hiddenColumns.includes(t.columnId))?[].concat(e.hiddenColumns,[t.columnId]):e.hiddenColumns.filter((function(e){return e!==t.columnId}));return r({},e,{hiddenColumns:i})}return t.type===l.setHiddenColumns?r({},e,{hiddenColumns:m(t.value,e.hiddenColumns)}):t.type===l.toggleHideAllColumns?r({},e,{hiddenColumns:(void 0!==t.value?t.value:!e.hiddenColumns.length)?o.allColumns.map((function(e){return e.id})):[]}):void 0}function Y(e){var n=e.headers,o=e.state.hiddenColumns;t.useRef(!1).current;var r=0;n.forEach((function(e){return r+=function e(t,n){t.isVisible=n&&!o.includes(t.id);var r=0;return t.headers&&t.headers.length?t.headers.forEach((function(n){return r+=e(n,t.isVisible)})):r=t.isVisible?1:0,t.totalVisibleHeaderCount=r,r}(e,!0)}))}function Q(e){var n=e.columns,o=e.flatHeaders,r=e.dispatch,i=e.allColumns,u=e.getHooks,s=e.state.hiddenColumns,a=e.autoResetHiddenColumns,c=void 0===a||a,d=h(e),p=i.length===s.length,g=t.useCallback((function(e,t){return r({type:l.toggleHideColumn,columnId:e,value:t})}),[r]),v=t.useCallback((function(e){return r({type:l.setHiddenColumns,value:e})}),[r]),m=t.useCallback((function(e){return r({type:l.toggleHideAllColumns,value:e})}),[r]),y=f(u().getToggleHideAllColumnsProps,{instance:d()});o.forEach((function(e){e.toggleHidden=function(t){r({type:l.toggleHideColumn,columnId:e.id,value:t})},e.getToggleHiddenProps=f(u().getToggleHiddenProps,{instance:d(),column:e})}));var R=h(c);w((function(){R()&&r({type:l.resetHiddenColumns})}),[r,n]),Object.assign(e,{allColumnsHidden:p,toggleHideColumn:g,setHiddenColumns:v,toggleHideAllColumns:m,getToggleHideAllColumnsProps:y})}var Z={},ee={},te=function(e,t,n){return e},ne=function(e,t){return e.subRows||[]},oe=function(e,t,n){return""+(n?[n.id,t].join("."):t)},re=function(e){return e};function ie(e){var t=e.initialState,n=void 0===t?Z:t,o=e.defaultColumn,u=void 0===o?ee:o,l=e.getSubRows,s=void 0===l?ne:l,a=e.getRowId,c=void 0===a?oe:a,d=e.stateReducer,f=void 0===d?te:d,p=e.useControlledState,g=void 0===p?re:p;return r({},i(e,["initialState","defaultColumn","getSubRows","getRowId","stateReducer","useControlledState"]),{initialState:n,defaultColumn:u,getSubRows:s,getRowId:c,stateReducer:f,useControlledState:g})}function ue(e,t){void 0===t&&(t=0);var n=0,o=0,r=0,i=0;return e.forEach((function(e){var u=e.headers;if(e.totalLeft=t,u&&u.length){var l=ue(u,t),s=l[0],a=l[1],c=l[2],d=l[3];e.totalMinWidth=s,e.totalWidth=a,e.totalMaxWidth=c,e.totalFlexWidth=d}else e.totalMinWidth=e.minWidth,e.totalWidth=Math.min(Math.max(e.minWidth,e.width),e.maxWidth),e.totalMaxWidth=e.maxWidth,e.totalFlexWidth=e.canResize?e.totalWidth:0;e.isVisible&&(t+=e.totalWidth,n+=e.totalMinWidth,o+=e.totalWidth,r+=e.totalMaxWidth,i+=e.totalFlexWidth)})),[n,o,r,i]}function le(e){var t=e.data,n=e.rows,o=e.flatRows,r=e.rowsById,i=e.column,u=e.getRowId,l=e.getSubRows,s=e.accessValueHooks,a=e.getInstance;t.forEach((function(e,c){return function e(n,c,d,f,g){void 0===d&&(d=0);var v=n,m=u(n,c,f),h=r[m];if(h)h.subRows&&h.originalSubRows.forEach((function(t,n){return e(t,n,d+1,h)}));else if((h={id:m,original:v,index:c,depth:d,cells:[{}]}).cells.map=T,h.cells.filter=T,h.cells.forEach=T,h.cells[0].getCellProps=T,h.values={},g.push(h),o.push(h),r[m]=h,h.originalSubRows=l(n,c),h.originalSubRows){var y=[];h.originalSubRows.forEach((function(t,n){return e(t,n,d+1,h,y)})),h.subRows=y}i.accessor&&(h.values[i.id]=i.accessor(n,c,h,g,t)),h.values[i.id]=p(s,h.values[i.id],{row:h,column:i,instance:a()})}(e,c,0,void 0,n)}))}l.resetExpanded="resetExpanded",l.toggleRowExpanded="toggleRowExpanded",l.toggleAllRowsExpanded="toggleAllRowsExpanded";var se=function(e){e.getToggleAllRowsExpandedProps=[ae],e.getToggleRowExpandedProps=[ce],e.stateReducers.push(de),e.useInstance.push(fe),e.prepareRow.push(pe)};se.pluginName="useExpanded";var ae=function(e,t){var n=t.instance;return[e,{onClick:function(e){n.toggleAllRowsExpanded()},style:{cursor:"pointer"},title:"Toggle All Rows Expanded"}]},ce=function(e,t){var n=t.row;return[e,{onClick:function(){n.toggleRowExpanded()},style:{cursor:"pointer"},title:"Toggle Row Expanded"}]};function de(e,t,n,o){if(t.type===l.init)return r({expanded:{}},e);if(t.type===l.resetExpanded)return r({},e,{expanded:o.initialState.expanded||{}});if(t.type===l.toggleAllRowsExpanded){var s=t.value,a=o.isAllRowsExpanded,c=o.rowsById;if(void 0!==s?s:!a){var d={};return Object.keys(c).forEach((function(e){d[e]=!0})),r({},e,{expanded:d})}return r({},e,{expanded:{}})}if(t.type===l.toggleRowExpanded){var f,p=t.id,g=t.value,v=e.expanded[p],m=void 0!==g?g:!v;if(!v&&m)return r({},e,{expanded:r({},e.expanded,(f={},f[p]=!0,f))});if(v&&!m){var h=e.expanded;return h[p],r({},e,{expanded:i(h,[p].map(u))})}return e}}function fe(e){var n=e.data,o=e.rows,r=e.rowsById,i=e.manualExpandedKey,u=void 0===i?"expanded":i,s=e.paginateExpandedRows,a=void 0===s||s,c=e.expandSubRows,d=void 0===c||c,p=e.autoResetExpanded,g=void 0===p||p,m=e.getHooks,y=e.plugins,R=e.state.expanded,b=e.dispatch;v(y,["useSortBy","useGroupBy","usePivotColumns","useGlobalFilter"],"useExpanded");var S=h(g),C=Boolean(Object.keys(r).length&&Object.keys(R).length);C&&Object.keys(r).some((function(e){return!R[e]}))&&(C=!1),w((function(){S()&&b({type:l.resetExpanded})}),[b,n]);var P=t.useCallback((function(e,t){b({type:l.toggleRowExpanded,id:e,value:t})}),[b]),x=t.useCallback((function(e){return b({type:l.toggleAllRowsExpanded,value:e})}),[b]),B=t.useMemo((function(){return a?A(o,{manualExpandedKey:u,expanded:R,expandSubRows:d}):o}),[a,o,u,R,d]),E=t.useMemo((function(){return function(e){var t=0;return Object.keys(e).forEach((function(e){var n=e.split(".");t=Math.max(t,n.length)})),t}(R)}),[R]),I=h(e),F=f(m().getToggleAllRowsExpandedProps,{instance:I()});Object.assign(e,{preExpandedRows:o,expandedRows:B,rows:B,expandedDepth:E,isAllRowsExpanded:C,toggleRowExpanded:P,toggleAllRowsExpanded:x,getToggleAllRowsExpandedProps:F})}function pe(e,t){var n=t.instance.getHooks,o=t.instance;e.toggleRowExpanded=function(t){return o.toggleRowExpanded(e.id,t)},e.getToggleRowExpandedProps=f(n().getToggleRowExpandedProps,{instance:o,row:e})}var ge=function(e,t,n){return e.filter((function(e){return t.some((function(t){var o=e.values[t];return String(o).toLowerCase().includes(String(n).toLowerCase())}))}))};ge.autoRemove=function(e){return!e};var ve=function(e,t,n){return e.filter((function(e){return t.some((function(t){var o=e.values[t];return void 0===o||String(o).toLowerCase()===String(n).toLowerCase()}))}))};ve.autoRemove=function(e){return!e};var me=function(e,t,n){return e.filter((function(e){return t.some((function(t){var o=e.values[t];return void 0===o||String(o)===String(n)}))}))};me.autoRemove=function(e){return!e};var he=function(e,t,n){return e.filter((function(e){return t.some((function(t){return e.values[t].includes(n)}))}))};he.autoRemove=function(e){return!e||!e.length};var ye=function(e,t,n){return e.filter((function(e){return t.some((function(t){var o=e.values[t];return o&&o.length&&n.every((function(e){return o.includes(e)}))}))}))};ye.autoRemove=function(e){return!e||!e.length};var we=function(e,t,n){return e.filter((function(e){return t.some((function(t){var o=e.values[t];return o&&o.length&&n.some((function(e){return o.includes(e)}))}))}))};we.autoRemove=function(e){return!e||!e.length};var Re=function(e,t,n){return e.filter((function(e){return t.some((function(t){var o=e.values[t];return n.includes(o)}))}))};Re.autoRemove=function(e){return!e||!e.length};var be=function(e,t,n){return e.filter((function(e){return t.some((function(t){return e.values[t]===n}))}))};be.autoRemove=function(e){return void 0===e};var Se=function(e,t,n){return e.filter((function(e){return t.some((function(t){return e.values[t]==n}))}))};Se.autoRemove=function(e){return null==e};var Ce=function(e,t,n){var o=n||[],r=o[0],i=o[1];if((r="number"==typeof r?r:-1/0)>(i="number"==typeof i?i:1/0)){var u=r;r=i,i=u}return e.filter((function(e){return t.some((function(t){var n=e.values[t];return n>=r&&n<=i}))}))};Ce.autoRemove=function(e){return!e||"number"!=typeof e[0]&&"number"!=typeof e[1]};var Pe=Object.freeze({__proto__:null,text:ge,exactText:ve,exactTextCase:me,includes:he,includesAll:ye,includesSome:we,includesValue:Re,exact:be,equals:Se,between:Ce});l.resetFilters="resetFilters",l.setFilter="setFilter",l.setAllFilters="setAllFilters";var xe=function(e){e.stateReducers.push(Be),e.useInstance.push(Ee)};function Be(e,t,n,o){if(t.type===l.init)return r({filters:[]},e);if(t.type===l.resetFilters)return r({},e,{filters:o.initialState.filters||[]});if(t.type===l.setFilter){var i=t.columnId,u=t.filterValue,s=o.allColumns,a=o.filterTypes,c=s.find((function(e){return e.id===i}));if(!c)throw new Error("React-Table: Could not find a column with id: "+i);var d=k(c.filter,a||{},Pe),f=e.filters.find((function(e){return e.id===i})),p=m(u,f&&f.value);return H(d.autoRemove,p,c)?r({},e,{filters:e.filters.filter((function(e){return e.id!==i}))}):r({},e,f?{filters:e.filters.map((function(e){return e.id===i?{id:i,value:p}:e}))}:{filters:[].concat(e.filters,[{id:i,value:p}])})}if(t.type===l.setAllFilters){var g=t.filters,v=o.allColumns,h=o.filterTypes;return r({},e,{filters:m(g,e.filters).filter((function(e){var t=v.find((function(t){return t.id===e.id}));return!H(k(t.filter,h||{},Pe).autoRemove,e.value,t)}))})}}function Ee(e){var n=e.data,o=e.rows,r=e.flatRows,i=e.rowsById,u=e.allColumns,s=e.filterTypes,a=e.manualFilters,c=e.defaultCanFilter,d=void 0!==c&&c,f=e.disableFilters,p=e.state.filters,g=e.dispatch,v=e.autoResetFilters,m=void 0===v||v,y=t.useCallback((function(e,t){g({type:l.setFilter,columnId:e,filterValue:t})}),[g]),R=t.useCallback((function(e){g({type:l.setAllFilters,filters:e})}),[g]);u.forEach((function(e){var t=e.id,n=e.accessor,o=e.defaultCanFilter,r=e.disableFilters;e.canFilter=n?I(!0!==r&&void 0,!0!==f&&void 0,!0):I(o,d,!1),e.setFilter=function(t){return y(e.id,t)};var i=p.find((function(e){return e.id===t}));e.filterValue=i&&i.value}));var b=t.useMemo((function(){if(a||!p.length)return[o,r,i];var e=[],t={};return[function n(o,r){void 0===r&&(r=0);var i=o;return(i=p.reduce((function(e,t){var n=t.id,o=t.value,i=u.find((function(e){return e.id===n}));if(!i)return e;0===r&&(i.preFilteredRows=e);var l=k(i.filter,s||{},Pe);return l?(i.filteredRows=l(e,[n],o),i.filteredRows):(console.warn("Could not find a valid 'column.filter' for column with the ID: "+i.id+"."),e)}),o)).forEach((function(o){e.push(o),t[o.id]=o,o.subRows&&(o.subRows=o.subRows&&o.subRows.length>0?n(o.subRows,r+1):o.subRows)})),i}(o),e,t]}),[a,p,o,r,i,u,s]),S=b[0],C=b[1],P=b[2];t.useMemo((function(){u.filter((function(e){return!p.find((function(t){return t.id===e.id}))})).forEach((function(e){e.preFilteredRows=S,e.filteredRows=S}))}),[S,p,u]);var x=h(m);w((function(){x()&&g({type:l.resetFilters})}),[g,a?null:n]),Object.assign(e,{preFilteredRows:o,preFilteredFlatRows:r,preFilteredRowsById:i,filteredRows:S,filteredFlatRows:C,filteredRowsById:P,rows:S,flatRows:C,rowsById:P,setFilter:y,setAllFilters:R})}xe.pluginName="useFilters",l.resetGlobalFilter="resetGlobalFilter",l.setGlobalFilter="setGlobalFilter";var Ie=function(e){e.stateReducers.push(Fe),e.useInstance.push(Ge)};function Fe(e,t,n,o){if(t.type===l.resetGlobalFilter)return r({},e,{globalFilter:o.initialState.globalFilter||void 0});if(t.type===l.setGlobalFilter){var u=t.filterValue,s=o.userFilterTypes,a=k(o.globalFilter,s||{},Pe),c=m(u,e.globalFilter);return H(a.autoRemove,c)?(e.globalFilter,i(e,["globalFilter"])):r({},e,{globalFilter:c})}}function Ge(e){var n=e.data,o=e.rows,r=e.flatRows,i=e.rowsById,u=e.allColumns,s=e.filterTypes,a=e.globalFilter,c=e.manualGlobalFilter,d=e.state.globalFilter,f=e.dispatch,p=e.autoResetGlobalFilter,g=void 0===p||p,v=e.disableGlobalFilter,m=t.useCallback((function(e){f({type:l.setGlobalFilter,filterValue:e})}),[f]),y=t.useMemo((function(){if(c||void 0===d)return[o,r,i];var e=[],t={},n=k(a,s||{},Pe);if(!n)return console.warn("Could not find a valid 'globalFilter' option."),o;u.forEach((function(e){var t=e.disableGlobalFilter;e.canFilter=I(!0!==t&&void 0,!0!==v&&void 0,!0)}));var l=u.filter((function(e){return!0===e.canFilter}));return[function o(r){return(r=n(r,l.map((function(e){return e.id})),d)).forEach((function(n){e.push(n),t[n.id]=n,n.subRows=n.subRows&&n.subRows.length?o(n.subRows):n.subRows})),r}(o),e,t]}),[c,d,a,s,u,o,r,i,v]),R=y[0],b=y[1],S=y[2],C=h(g);w((function(){C()&&f({type:l.resetGlobalFilter})}),[f,c?null:n]),Object.assign(e,{preGlobalFilteredRows:o,preGlobalFilteredFlatRows:r,preGlobalFilteredRowsById:i,globalFilteredRows:R,globalFilteredFlatRows:b,globalFilteredRowsById:S,rows:R,flatRows:b,rowsById:S,setGlobalFilter:m,disableGlobalFilter:v})}function Ae(e,t){return t.reduce((function(e,t){return e+("number"==typeof t?t:0)}),0)}Ie.pluginName="useGlobalFilter";var ke=Object.freeze({__proto__:null,sum:Ae,min:function(e){var t=e[0]||0;return e.forEach((function(e){"number"==typeof e&&(t=Math.min(t,e))})),t},max:function(e){var t=e[0]||0;return e.forEach((function(e){"number"==typeof e&&(t=Math.max(t,e))})),t},minMax:function(e){var t=e[0]||0,n=e[0]||0;return e.forEach((function(e){"number"==typeof e&&(t=Math.min(t,e),n=Math.max(n,e))})),t+".."+n},average:function(e){return Ae(0,e)/e.length},median:function(e){if(!e.length)return null;var t=Math.floor(e.length/2),n=[].concat(e).sort((function(e,t){return e-t}));return e.length%2!=0?n[t]:(n[t-1]+n[t])/2},unique:function(e){return Array.from(new Set(e).values())},uniqueCount:function(e){return new Set(e).size},count:function(e){return e.length}}),He=[],Te={};l.resetGroupBy="resetGroupBy",l.setGroupBy="setGroupBy",l.toggleGroupBy="toggleGroupBy";var ze=function(e){e.getGroupByToggleProps=[We],e.stateReducers.push(Oe),e.visibleColumnsDeps.push((function(e,t){var n=t.instance;return[].concat(e,[n.state.groupBy])})),e.visibleColumns.push(Me),e.useInstance.push(Ne),e.prepareRow.push(_e)};ze.pluginName="useGroupBy";var We=function(e,t){var n=t.header;return[e,{onClick:n.canGroupBy?function(e){e.persist(),n.toggleGroupBy()}:void 0,style:{cursor:n.canGroupBy?"pointer":void 0},title:"Toggle GroupBy"}]};function Oe(e,t,n,o){if(t.type===l.init)return r({groupBy:[]},e);if(t.type===l.resetGroupBy)return r({},e,{groupBy:o.initialState.groupBy||[]});if(t.type===l.setGroupBy)return r({},e,{groupBy:t.value});if(t.type===l.toggleGroupBy){var i=t.columnId,u=t.value,s=void 0!==u?u:!e.groupBy.includes(i);return r({},e,s?{groupBy:[].concat(e.groupBy,[i])}:{groupBy:e.groupBy.filter((function(e){return e!==i}))})}}function Me(e,t){var n=t.instance.state.groupBy,o=n.map((function(t){return e.find((function(e){return e.id===t}))})).filter(Boolean),r=e.filter((function(e){return!n.includes(e.id)}));return(e=[].concat(o,r)).forEach((function(e){e.isGrouped=n.includes(e.id),e.groupedIndex=n.indexOf(e.id)})),e}var je={};function Ne(e){var n=e.data,o=e.rows,r=e.flatRows,i=e.rowsById,u=e.allColumns,s=e.flatHeaders,a=e.groupByFn,c=void 0===a?De:a,d=e.manualGroupBy,p=e.aggregations,g=void 0===p?je:p,m=e.plugins,y=e.state.groupBy,R=e.dispatch,b=e.autoResetGroupBy,S=void 0===b||b,C=e.disableGroupBy,P=e.defaultCanGroupBy,x=e.getHooks;v(m,["useColumnOrder","useFilters"],"useGroupBy");var B=h(e);u.forEach((function(t){var n=t.accessor,o=t.defaultGroupBy,r=t.disableGroupBy;t.canGroupBy=n?I(t.canGroupBy,!0!==r&&void 0,!0!==C&&void 0,!0):I(t.canGroupBy,o,P,!1),t.canGroupBy&&(t.toggleGroupBy=function(){return e.toggleGroupBy(t.id)}),t.Aggregated=t.Aggregated||t.Cell}));var E=t.useCallback((function(e,t){R({type:l.toggleGroupBy,columnId:e,value:t})}),[R]),F=t.useCallback((function(e){R({type:l.setGroupBy,value:e})}),[R]);s.forEach((function(e){e.getGroupByToggleProps=f(x().getGroupByToggleProps,{instance:B(),header:e})}));var A=t.useMemo((function(){if(d||!y.length)return[o,r,i,He,Te,r,i];var e=y.filter((function(e){return u.find((function(t){return t.id===e}))})),t=[],n={},l=[],s={},a=[],f={},p=function o(r,i,d){if(void 0===i&&(i=0),i===e.length)return r;var p=e[i],v=c(r,p);return Object.entries(v).map((function(r,c){var v=r[0],m=r[1],h=p+":"+v,y=o(m,i+1,h=d?d+">"+h:h),w=i?G(m,"leafRows"):m,R=function(t,n,o){var r={};return u.forEach((function(i){if(e.includes(i.id))r[i.id]=n[0]?n[0].values[i.id]:null;else{var u="function"==typeof i.aggregate?i.aggregate:g[i.aggregate]||ke[i.aggregate];if(u){var l=n.map((function(e){return e.values[i.id]})),s=t.map((function(e){var t=e.values[i.id];if(!o&&i.aggregateValue){var n="function"==typeof i.aggregateValue?i.aggregateValue:g[i.aggregateValue]||ke[i.aggregateValue];if(!n)throw console.info({column:i}),new Error("React Table: Invalid column.aggregateValue option for column listed above");t=n(t,e,i)}return t}));r[i.id]=u(s,l)}else{if(i.aggregate)throw console.info({column:i}),new Error("React Table: Invalid column.aggregate option for column listed above");r[i.id]=null}}})),r}(w,m,i),b={id:h,isGrouped:!0,groupByID:p,groupByVal:v,values:R,subRows:y,leafRows:w,depth:i,index:c};return y.forEach((function(e){t.push(e),n[e.id]=e,e.isGrouped?(l.push(e),s[e.id]=e):(a.push(e),f[e.id]=e)})),b}))}(o);return p.forEach((function(e){t.push(e),n[e.id]=e,e.isGrouped?(l.push(e),s[e.id]=e):(a.push(e),f[e.id]=e)})),[p,t,n,l,s,a,f]}),[d,y,o,r,i,u,g,c]),k=A[0],H=A[1],T=A[2],z=A[3],W=A[4],O=A[5],M=A[6],j=h(S);w((function(){j()&&R({type:l.resetGroupBy})}),[R,d?null:n]),Object.assign(e,{preGroupedRows:o,preGroupedFlatRow:r,preGroupedRowsById:i,groupedRows:k,groupedFlatRows:H,groupedRowsById:T,onlyGroupedFlatRows:z,onlyGroupedRowsById:W,nonGroupedFlatRows:O,nonGroupedRowsById:M,rows:k,flatRows:H,rowsById:T,toggleGroupBy:E,setGroupBy:F})}function _e(e){e.allCells.forEach((function(t){var n;t.isGrouped=t.column.isGrouped&&t.column.id===e.groupByID,t.isPlaceholder=!t.isGrouped&&t.column.isGrouped,t.isAggregated=!t.isGrouped&&!t.isPlaceholder&&(null==(n=e.subRows)?void 0:n.length)}))}function De(e,t){return e.reduce((function(e,n,o){var r=""+n.values[t];return e[r]=Array.isArray(e[r])?e[r]:[],e[r].push(n),e}),{})}var Le=/([0-9]+)/gm;function Ve(e,t){return e===t?0:e>t?1:-1}function Xe(e,t){return e.values[t]}function qe(e){return"number"==typeof e?isNaN(e)||e===1/0||e===-1/0?"":String(e):"string"==typeof e?e:""}var Ke=Object.freeze({__proto__:null,alphanumeric:function(e,t,n){var o=Xe(e,n),r=Xe(t,n);for(o=qe(o),r=qe(r),o=o.split(Le).filter(Boolean),r=r.split(Le).filter(Boolean);o.length&&r.length;){var i=o.shift(),u=r.shift(),l=parseInt(i,10),s=parseInt(u,10),a=[l,s].sort();if(isNaN(a[0])){if(i>u)return 1;if(u>i)return-1}else{if(isNaN(a[1]))return isNaN(l)?-1:1;if(l>s)return 1;if(s>l)return-1}}return o.length-r.length},datetime:function(e,t,n){var o=Xe(e,n),r=Xe(t,n);return Ve(o=o.getTime(),r=r.getTime())},basic:function(e,t,n){return Ve(Xe(e,n),Xe(t,n))}});l.resetSortBy="resetSortBy",l.setSortBy="setSortBy",l.toggleSortBy="toggleSortBy",l.clearSortBy="clearSortBy",c.sortType="alphanumeric",c.sortDescFirst=!1;var Ue=function(e){e.getSortByToggleProps=[$e],e.stateReducers.push(Je),e.useInstance.push(Ye)};Ue.pluginName="useSortBy";var $e=function(e,t){var n=t.instance,o=t.column,r=n.isMultiSortEvent,i=void 0===r?function(e){return e.shiftKey}:r;return[e,{onClick:o.canSort?function(e){e.persist(),o.toggleSortBy(void 0,!n.disableMultiSort&&i(e))}:void 0,style:{cursor:o.canSort?"pointer":void 0},title:o.canSort?"Toggle SortBy":void 0}]};function Je(e,t,n,o){if(t.type===l.init)return r({sortBy:[]},e);if(t.type===l.resetSortBy)return r({},e,{sortBy:o.initialState.sortBy||[]});if(t.type===l.clearSortBy)return r({},e,{sortBy:e.sortBy.filter((function(e){return e.id!==t.columnId}))});if(t.type===l.setSortBy)return r({},e,{sortBy:t.sortBy});if(t.type===l.toggleSortBy){var i,u=t.columnId,s=t.desc,a=t.multi,c=o.allColumns,d=o.disableMultiSort,f=o.disableSortRemove,p=o.disableMultiRemove,g=o.maxMultiSortColCount,v=void 0===g?Number.MAX_SAFE_INTEGER:g,m=e.sortBy,h=c.find((function(e){return e.id===u})).sortDescFirst,y=m.find((function(e){return e.id===u})),w=m.findIndex((function(e){return e.id===u})),R=null!=s,b=[];return"toggle"!=(i=!d&&a?y?"toggle":"add":w!==m.length-1||1!==m.length?"replace":y?"toggle":"replace")||f||R||a&&p||!(y&&y.desc&&!h||!y.desc&&h)||(i="remove"),"replace"===i?b=[{id:u,desc:R?s:h}]:"add"===i?(b=[].concat(m,[{id:u,desc:R?s:h}])).splice(0,b.length-v):"toggle"===i?b=m.map((function(e){return e.id===u?r({},e,{desc:R?s:!y.desc}):e})):"remove"===i&&(b=m.filter((function(e){return e.id!==u}))),r({},e,{sortBy:b})}}function Ye(e){var n=e.data,o=e.rows,r=e.flatRows,i=e.allColumns,u=e.orderByFn,s=void 0===u?Qe:u,a=e.sortTypes,c=e.manualSortBy,d=e.defaultCanSort,p=e.disableSortBy,g=e.flatHeaders,m=e.state.sortBy,y=e.dispatch,R=e.plugins,b=e.getHooks,S=e.autoResetSortBy,C=void 0===S||S;v(R,["useFilters","useGlobalFilter","useGroupBy","usePivotColumns"],"useSortBy");var P=t.useCallback((function(e){y({type:l.setSortBy,sortBy:e})}),[y]),x=t.useCallback((function(e,t,n){y({type:l.toggleSortBy,columnId:e,desc:t,multi:n})}),[y]),B=h(e);g.forEach((function(e){var t=e.accessor,n=e.canSort,o=e.disableSortBy,r=e.id,i=t?I(!0!==o&&void 0,!0!==p&&void 0,!0):I(d,n,!1);e.canSort=i,e.canSort&&(e.toggleSortBy=function(t,n){return x(e.id,t,n)},e.clearSortBy=function(){y({type:l.clearSortBy,columnId:e.id})}),e.getSortByToggleProps=f(b().getSortByToggleProps,{instance:B(),column:e});var u=m.find((function(e){return e.id===r}));e.isSorted=!!u,e.sortedIndex=m.findIndex((function(e){return e.id===r})),e.isSortedDesc=e.isSorted?u.desc:void 0}));var E=t.useMemo((function(){if(c||!m.length)return[o,r];var e=[],t=m.filter((function(e){return i.find((function(t){return t.id===e.id}))}));return[function n(o){var r=s(o,t.map((function(e){var t=i.find((function(t){return t.id===e.id}));if(!t)throw new Error("React-Table: Could not find a column with id: "+e.id+" while sorting");var n=t.sortType,o=F(n)||(a||{})[n]||Ke[n];if(!o)throw new Error("React-Table: Could not find a valid sortType of '"+n+"' for column '"+e.id+"'.");return function(t,n){return o(t,n,e.id,e.desc)}})),t.map((function(e){var t=i.find((function(t){return t.id===e.id}));return t&&t.sortInverted?e.desc:!e.desc})));return r.forEach((function(t){e.push(t),t.subRows&&0!==t.subRows.length&&(t.subRows=n(t.subRows))})),r}(o),e]}),[c,m,o,r,i,s,a]),G=E[0],A=E[1],k=h(C);w((function(){k()&&y({type:l.resetSortBy})}),[c?null:n]),Object.assign(e,{preSortedRows:o,preSortedFlatRows:r,sortedRows:G,sortedFlatRows:A,rows:G,flatRows:A,setSortBy:P,toggleSortBy:x})}function Qe(e,t,n){return[].concat(e).sort((function(e,o){for(var r=0;r<t.length;r+=1){var i=t[r],u=!1===n[r]||"desc"===n[r],l=i(e,o);if(0!==l)return u?-l:l}return n[0]?e.index-o.index:o.index-e.index}))}l.resetPage="resetPage",l.gotoPage="gotoPage",l.setPageSize="setPageSize";var Ze=function(e){e.stateReducers.push(et),e.useInstance.push(tt)};function et(e,t,n,o){if(t.type===l.init)return r({pageSize:10,pageIndex:0},e);if(t.type===l.resetPage)return r({},e,{pageIndex:o.initialState.pageIndex||0});if(t.type===l.gotoPage){var i=o.pageCount,u=o.page,s=m(t.pageIndex,e.pageIndex),a=!1;return s>e.pageIndex?a=-1===i?u.length>=e.pageSize:s<i:s<e.pageIndex&&(a=s>-1),a?r({},e,{pageIndex:s}):e}if(t.type===l.setPageSize){var c=t.pageSize,d=e.pageSize*e.pageIndex;return r({},e,{pageIndex:Math.floor(d/c),pageSize:c})}}function tt(e){var n=e.rows,o=e.autoResetPage,r=void 0===o||o,i=e.manualExpandedKey,u=void 0===i?"expanded":i,s=e.plugins,a=e.pageCount,c=e.paginateExpandedRows,d=void 0===c||c,f=e.expandSubRows,p=void 0===f||f,g=e.state,m=g.pageSize,y=g.pageIndex,R=g.expanded,b=g.globalFilter,S=g.filters,C=g.groupBy,P=g.sortBy,x=e.dispatch,B=e.data,E=e.manualPagination;v(s,["useGlobalFilter","useFilters","useGroupBy","useSortBy","useExpanded"],"usePagination");var I=h(r);w((function(){I()&&x({type:l.resetPage})}),[x,E?null:B,b,S,C,P]);var F=E?a:Math.ceil(n.length/m),G=t.useMemo((function(){return F>0?[].concat(new Array(F)).fill(null).map((function(e,t){return t})):[]}),[F]),k=t.useMemo((function(){var e;if(E)e=n;else{var t=m*y,o=t+m;e=n.slice(t,o)}return d?e:A(e,{manualExpandedKey:u,expanded:R,expandSubRows:p})}),[p,R,u,E,y,m,d,n]),H=y>0,T=-1===F?k.length>=m:y<F-1,z=t.useCallback((function(e){x({type:l.gotoPage,pageIndex:e})}),[x]),W=t.useCallback((function(){return z((function(e){return e-1}))}),[z]),O=t.useCallback((function(){return z((function(e){return e+1}))}),[z]),M=t.useCallback((function(e){x({type:l.setPageSize,pageSize:e})}),[x]);Object.assign(e,{pageOptions:G,pageCount:F,page:k,canPreviousPage:H,canNextPage:T,gotoPage:z,previousPage:W,nextPage:O,setPageSize:M})}Ze.pluginName="usePagination",l.resetPivot="resetPivot",l.togglePivot="togglePivot";var nt=function(e){e.getPivotToggleProps=[rt],e.stateReducers.push(it),e.useInstanceAfterData.push(ut),e.allColumns.push(lt),e.accessValue.push(st),e.materializedColumns.push(at),e.materializedColumnsDeps.push(ct),e.visibleColumns.push(dt),e.visibleColumnsDeps.push(ft),e.useInstance.push(pt),e.prepareRow.push(gt)};nt.pluginName="usePivotColumns";var ot=[],rt=function(e,t){var n=t.header;return[e,{onClick:n.canPivot?function(e){e.persist(),n.togglePivot()}:void 0,style:{cursor:n.canPivot?"pointer":void 0},title:"Toggle Pivot"}]};function it(e,t,n,o){if(t.type===l.init)return r({pivotColumns:ot},e);if(t.type===l.resetPivot)return r({},e,{pivotColumns:o.initialState.pivotColumns||ot});if(t.type===l.togglePivot){var i=t.columnId,u=t.value,s=void 0!==u?u:!e.pivotColumns.includes(i);return r({},e,s?{pivotColumns:[].concat(e.pivotColumns,[i])}:{pivotColumns:e.pivotColumns.filter((function(e){return e!==i}))})}}function ut(e){e.allColumns.forEach((function(t){t.isPivotSource=e.state.pivotColumns.includes(t.id)}))}function lt(e,t){var n=t.instance;return e.forEach((function(e){e.isPivotSource=n.state.pivotColumns.includes(e.id),e.uniqueValues=new Set})),e}function st(e,t){var n=t.column;return n.uniqueValues&&void 0!==e&&n.uniqueValues.add(e),e}function at(e,t){var n=t.instance,o=n.allColumns,i=n.state;if(!i.pivotColumns.length||!i.groupBy||!i.groupBy.length)return e;var u=i.pivotColumns.map((function(e){return o.find((function(t){return t.id===e}))})).filter(Boolean),l=o.filter((function(e){return!e.isPivotSource&&!i.groupBy.includes(e.id)&&!i.pivotColumns.includes(e.id)})),s=C(function e(t,n,o){void 0===t&&(t=0),void 0===o&&(o=[]);var i=u[t];return i?Array.from(i.uniqueValues).sort().map((function(u){var l=r({},i,{Header:i.PivotHeader||"string"==typeof i.header?i.Header+": "+u:u,isPivotGroup:!0,parent:n,depth:t,id:n?n.id+"."+i.id+"."+u:i.id+"."+u,pivotValue:u});return l.columns=e(t+1,l,[].concat(o,[function(e){return e.values[i.id]===u}])),l})):l.map((function(e){return r({},e,{canPivot:!1,isPivoted:!0,parent:n,depth:t,id:""+(n?n.id+"."+e.id:e.id),accessor:function(t,n,r){if(o.every((function(e){return e(r)})))return r.values[e.id]}})}))}());return[].concat(e,s)}function ct(e,t){var n=t.instance.state,o=n.pivotColumns,r=n.groupBy;return[].concat(e,[o,r])}function dt(e,t){var n=t.instance.state;return e=e.filter((function(e){return!e.isPivotSource})),n.pivotColumns.length&&n.groupBy&&n.groupBy.length&&(e=e.filter((function(e){return e.isGrouped||e.isPivoted}))),e}function ft(e,t){var n=t.instance;return[].concat(e,[n.state.pivotColumns,n.state.groupBy])}function pt(e){var t=e.columns,n=e.allColumns,o=e.flatHeaders,r=e.getHooks,i=e.plugins,u=e.dispatch,s=e.autoResetPivot,a=void 0===s||s,c=e.manaulPivot,d=e.disablePivot,p=e.defaultCanPivot;v(i,["useGroupBy"],"usePivotColumns");var g=h(e);n.forEach((function(t){var n=t.accessor,o=t.defaultPivot,r=t.disablePivot;t.canPivot=n?I(t.canPivot,!0!==r&&void 0,!0!==d&&void 0,!0):I(t.canPivot,o,p,!1),t.canPivot&&(t.togglePivot=function(){return e.togglePivot(t.id)}),t.Aggregated=t.Aggregated||t.Cell})),o.forEach((function(e){e.getPivotToggleProps=f(r().getPivotToggleProps,{instance:g(),header:e})}));var m=h(a);w((function(){m()&&u({type:l.resetPivot})}),[u,c?null:t]),Object.assign(e,{togglePivot:function(e,t){u({type:l.togglePivot,columnId:e,value:t})}})}function gt(e){e.allCells.forEach((function(e){e.isPivoted=e.column.isPivoted}))}l.resetSelectedRows="resetSelectedRows",l.toggleAllRowsSelected="toggleAllRowsSelected",l.toggleRowSelected="toggleRowSelected",l.toggleAllPageRowsSelected="toggleAllPageRowsSelected";var vt=function(e){e.getToggleRowSelectedProps=[mt],e.getToggleAllRowsSelectedProps=[ht],e.getToggleAllPageRowsSelectedProps=[yt],e.stateReducers.push(wt),e.useInstance.push(Rt),e.prepareRow.push(bt)};vt.pluginName="useRowSelect";var mt=function(e,t){var n=t.instance,o=t.row,r=n.manualRowSelectedKey,i=void 0===r?"isSelected":r;return[e,{onChange:function(e){o.toggleRowSelected(e.target.checked)},style:{cursor:"pointer"},checked:!(!o.original||!o.original[i])||o.isSelected,title:"Toggle Row Selected",indeterminate:o.isSomeSelected}]},ht=function(e,t){var n=t.instance;return[e,{onChange:function(e){n.toggleAllRowsSelected(e.target.checked)},style:{cursor:"pointer"},checked:n.isAllRowsSelected,title:"Toggle All Rows Selected",indeterminate:Boolean(!n.isAllRowsSelected&&Object.keys(n.state.selectedRowIds).length)}]},yt=function(e,t){var n=t.instance;return[e,{onChange:function(e){n.toggleAllPageRowsSelected(e.target.checked)},style:{cursor:"pointer"},checked:n.isAllPageRowsSelected,title:"Toggle All Current Page Rows Selected",indeterminate:Boolean(!n.isAllPageRowsSelected&&n.page.some((function(e){var t=e.id;return n.state.selectedRowIds[t]})))}]};function wt(e,t,n,o){if(t.type===l.init)return r({selectedRowIds:{}},e);if(t.type===l.resetSelectedRows)return r({},e,{selectedRowIds:o.initialState.selectedRowIds||{}});if(t.type===l.toggleAllRowsSelected){var i=t.value,u=o.isAllRowsSelected,s=o.rowsById,a=o.nonGroupedRowsById,c=void 0===a?s:a,d=void 0!==i?i:!u,f=Object.assign({},e.selectedRowIds);return d?Object.keys(c).forEach((function(e){f[e]=!0})):Object.keys(c).forEach((function(e){delete f[e]})),r({},e,{selectedRowIds:f})}if(t.type===l.toggleRowSelected){var p=t.id,g=t.value,v=o.rowsById,m=o.selectSubRows,h=void 0===m||m,y=o.getSubRows,w=e.selectedRowIds[p],R=void 0!==g?g:!w;if(w===R)return e;var b=r({},e.selectedRowIds);return function e(t){var n=v[t];if(n.isGrouped||(R?b[t]=!0:delete b[t]),h&&y(n))return y(n).forEach((function(t){return e(t.id)}))}(p),r({},e,{selectedRowIds:b})}if(t.type===l.toggleAllPageRowsSelected){var S=t.value,C=o.page,P=o.rowsById,x=o.selectSubRows,B=void 0===x||x,E=o.isAllPageRowsSelected,I=o.getSubRows,F=void 0!==S?S:!E,G=r({},e.selectedRowIds);return C.forEach((function(e){return function e(t){var n=P[t];if(n.isGrouped||(F?G[t]=!0:delete G[t]),B&&I(n))return I(n).forEach((function(t){return e(t.id)}))}(e.id)})),r({},e,{selectedRowIds:G})}return e}function Rt(e){var n=e.data,o=e.rows,r=e.getHooks,i=e.plugins,u=e.rowsById,s=e.nonGroupedRowsById,a=void 0===s?u:s,c=e.autoResetSelectedRows,d=void 0===c||c,p=e.state.selectedRowIds,g=e.selectSubRows,m=void 0===g||g,y=e.dispatch,R=e.page,b=e.getSubRows;v(i,["useFilters","useGroupBy","useSortBy","useExpanded","usePagination"],"useRowSelect");var S=t.useMemo((function(){var e=[];return o.forEach((function(t){var n=m?function e(t,n,o){if(n[t.id])return!0;var r=o(t);if(r&&r.length){var i=!0,u=!1;return r.forEach((function(t){u&&!i||(e(t,n,o)?u=!0:i=!1)})),!!i||!!u&&null}return!1}(t,p,b):!!p[t.id];t.isSelected=!!n,t.isSomeSelected=null===n,n&&e.push(t)})),e}),[o,m,p,b]),C=Boolean(Object.keys(a).length&&Object.keys(p).length),P=C;C&&Object.keys(a).some((function(e){return!p[e]}))&&(C=!1),C||R&&R.length&&R.some((function(e){var t=e.id;return!p[t]}))&&(P=!1);var x=h(d);w((function(){x()&&y({type:l.resetSelectedRows})}),[y,n]);var B=t.useCallback((function(e){return y({type:l.toggleAllRowsSelected,value:e})}),[y]),E=t.useCallback((function(e){return y({type:l.toggleAllPageRowsSelected,value:e})}),[y]),I=t.useCallback((function(e,t){return y({type:l.toggleRowSelected,id:e,value:t})}),[y]),F=h(e),G=f(r().getToggleAllRowsSelectedProps,{instance:F()}),A=f(r().getToggleAllPageRowsSelectedProps,{instance:F()});Object.assign(e,{selectedFlatRows:S,isAllRowsSelected:C,isAllPageRowsSelected:P,toggleRowSelected:I,toggleAllRowsSelected:B,getToggleAllRowsSelectedProps:G,getToggleAllPageRowsSelectedProps:A,toggleAllPageRowsSelected:E})}function bt(e,t){var n=t.instance;e.toggleRowSelected=function(t){return n.toggleRowSelected(e.id,t)},e.getToggleRowSelectedProps=f(n.getHooks().getToggleRowSelectedProps,{instance:n,row:e})}var St=function(e){return{}},Ct=function(e){return{}};l.setRowState="setRowState",l.setCellState="setCellState",l.resetRowState="resetRowState";var Pt=function(e){e.stateReducers.push(xt),e.useInstance.push(Bt),e.prepareRow.push(Et)};function xt(e,t,n,o){var i=o.initialRowStateAccessor,u=void 0===i?St:i,s=o.initialCellStateAccessor,a=void 0===s?Ct:s,c=o.rowsById;if(t.type===l.init)return r({rowState:{}},e);if(t.type===l.resetRowState)return r({},e,{rowState:o.initialState.rowState||{}});if(t.type===l.setRowState){var d,f=t.rowId,p=t.value,g=void 0!==e.rowState[f]?e.rowState[f]:u(c[f]);return r({},e,{rowState:r({},e.rowState,(d={},d[f]=m(p,g),d))})}if(t.type===l.setCellState){var v,h,y,w,R,b=t.rowId,S=t.columnId,C=t.value,P=void 0!==e.rowState[b]?e.rowState[b]:u(c[b]),x=void 0!==(null==P||null==(v=P.cellState)?void 0:v[S])?P.cellState[S]:a(null==(h=c[b])||null==(y=h.cells)?void 0:y.find((function(e){return e.column.id===S})));return r({},e,{rowState:r({},e.rowState,(R={},R[b]=r({},P,{cellState:r({},P.cellState||{},(w={},w[S]=m(C,x),w))}),R))})}}function Bt(e){var n=e.autoResetRowState,o=void 0===n||n,r=e.data,i=e.dispatch,u=t.useCallback((function(e,t){return i({type:l.setRowState,rowId:e,value:t})}),[i]),s=t.useCallback((function(e,t,n){return i({type:l.setCellState,rowId:e,columnId:t,value:n})}),[i]),a=h(o);w((function(){a()&&i({type:l.resetRowState})}),[r]),Object.assign(e,{setRowState:u,setCellState:s})}function Et(e,t){var n=t.instance,o=n.initialRowStateAccessor,r=void 0===o?St:o,i=n.initialCellStateAccessor,u=void 0===i?Ct:i,l=n.state.rowState;e&&(e.state=void 0!==l[e.id]?l[e.id]:r(e),e.setState=function(t){return n.setRowState(e.id,t)},e.cells.forEach((function(t){e.state.cellState||(e.state.cellState={}),t.state=void 0!==e.state.cellState[t.column.id]?e.state.cellState[t.column.id]:u(t),t.setState=function(o){return n.setCellState(e.id,t.column.id,o)}})))}Pt.pluginName="useRowState",l.resetColumnOrder="resetColumnOrder",l.setColumnOrder="setColumnOrder";var It=function(e){e.stateReducers.push(Ft),e.visibleColumnsDeps.push((function(e,t){var n=t.instance;return[].concat(e,[n.state.columnOrder])})),e.visibleColumns.push(Gt),e.useInstance.push(At)};function Ft(e,t,n,o){return t.type===l.init?r({columnOrder:[]},e):t.type===l.resetColumnOrder?r({},e,{columnOrder:o.initialState.columnOrder||[]}):t.type===l.setColumnOrder?r({},e,{columnOrder:m(t.columnOrder,e.columnOrder)}):void 0}function Gt(e,t){var n=t.instance.state.columnOrder;if(!n||!n.length)return e;for(var o=[].concat(n),r=[].concat(e),i=[],u=function(){var e=o.shift(),t=r.findIndex((function(t){return t.id===e}));t>-1&&i.push(r.splice(t,1)[0])};r.length&&o.length;)u();return[].concat(i,r)}function At(e){var n=e.dispatch;e.setColumnOrder=t.useCallback((function(e){return n({type:l.setColumnOrder,columnOrder:e})}),[n])}It.pluginName="useColumnOrder",c.canResize=!0,l.columnStartResizing="columnStartResizing",l.columnResizing="columnResizing",l.columnDoneResizing="columnDoneResizing",l.resetResize="resetResize";var kt=function(e){e.getResizerProps=[Ht],e.getHeaderProps.push({style:{position:"relative"}}),e.stateReducers.push(Tt),e.useInstance.push(Wt),e.useInstanceBeforeDimensions.push(zt)},Ht=function(e,t){var n=t.instance,o=t.header,r=n.dispatch,i=function(e,t){var n=!1;if("touchstart"===e.type){if(e.touches&&e.touches.length>1)return;n=!0}var o=function(e){var t=[];return function e(n){n.columns&&n.columns.length&&n.columns.map(e),t.push(n)}(e),t}(t).map((function(e){return[e.id,e.totalWidth]})),i=n?Math.round(e.touches[0].clientX):e.clientX,u=function(e){r({type:l.columnResizing,clientX:e})},s=function(){return r({type:l.columnDoneResizing})},a={mouse:{moveEvent:"mousemove",moveHandler:function(e){return u(e.clientX)},upEvent:"mouseup",upHandler:function(e){document.removeEventListener("mousemove",a.mouse.moveHandler),document.removeEventListener("mouseup",a.mouse.upHandler),s()}},touch:{moveEvent:"touchmove",moveHandler:function(e){return e.cancelable&&(e.preventDefault(),e.stopPropagation()),u(e.touches[0].clientX),!1},upEvent:"touchend",upHandler:function(e){document.removeEventListener(a.touch.moveEvent,a.touch.moveHandler),document.removeEventListener(a.touch.upEvent,a.touch.moveHandler),s()}}},c=n?a.touch:a.mouse,d=!!function(){if("boolean"==typeof z)return z;var e=!1;try{var t={get passive(){return e=!0,!1}};window.addEventListener("test",null,t),window.removeEventListener("test",null,t)}catch(t){e=!1}return z=e}()&&{passive:!1};document.addEventListener(c.moveEvent,c.moveHandler,d),document.addEventListener(c.upEvent,c.upHandler,d),r({type:l.columnStartResizing,columnId:t.id,columnWidth:t.totalWidth,headerIdWidths:o,clientX:i})};return[e,{onMouseDown:function(e){return e.persist()||i(e,o)},onTouchStart:function(e){return e.persist()||i(e,o)},style:{cursor:"col-resize"},draggable:!1,role:"separator"}]};function Tt(e,t){if(t.type===l.init)return r({columnResizing:{columnWidths:{}}},e);if(t.type===l.resetResize)return r({},e,{columnResizing:{columnWidths:{}}});if(t.type===l.columnStartResizing){var n=t.clientX,o=t.columnId,i=t.columnWidth,u=t.headerIdWidths;return r({},e,{columnResizing:r({},e.columnResizing,{startX:n,headerIdWidths:u,columnWidth:i,isResizingColumn:o})})}if(t.type===l.columnResizing){var s=t.clientX,a=e.columnResizing,c=a.startX,d=a.columnWidth,f=a.headerIdWidths,p=(s-c)/d,g={};return(void 0===f?[]:f).forEach((function(e){var t=e[0],n=e[1];g[t]=Math.max(n+n*p,0)})),r({},e,{columnResizing:r({},e.columnResizing,{columnWidths:r({},e.columnResizing.columnWidths,{},g)})})}return t.type===l.columnDoneResizing?r({},e,{columnResizing:r({},e.columnResizing,{startX:null,isResizingColumn:null})}):void 0}kt.pluginName="useResizeColumns";var zt=function(e){var t=e.flatHeaders,n=e.disableResizing,o=e.getHooks,r=e.state.columnResizing,i=h(e);t.forEach((function(e){var t=I(!0!==e.disableResizing&&void 0,!0!==n&&void 0,!0);e.canResize=t,e.width=r.columnWidths[e.id]||e.originalWidth||e.width,e.isResizing=r.isResizingColumn===e.id,t&&(e.getResizerProps=f(o().getResizerProps,{instance:i(),header:e}))}))};function Wt(e){var n=e.plugins,o=e.dispatch,r=e.autoResetResize,i=void 0===r||r,u=e.columns;v(n,["useAbsoluteLayout"],"useResizeColumns");var s=h(i);w((function(){s()&&o({type:l.resetResize})}),[u]);var a=t.useCallback((function(){return o({type:l.resetResize})}),[o]);Object.assign(e,{resetResizing:a})}var Ot={position:"absolute",top:0},Mt=function(e){e.getTableBodyProps.push(jt),e.getRowProps.push(jt),e.getHeaderGroupProps.push(jt),e.getFooterGroupProps.push(jt),e.getHeaderProps.push((function(e,t){var n=t.column;return[e,{style:r({},Ot,{left:n.totalLeft+"px",width:n.totalWidth+"px"})}]})),e.getCellProps.push((function(e,t){var n=t.cell;return[e,{style:r({},Ot,{left:n.column.totalLeft+"px",width:n.column.totalWidth+"px"})}]})),e.getFooterProps.push((function(e,t){var n=t.column;return[e,{style:r({},Ot,{left:n.totalLeft+"px",width:n.totalWidth+"px"})}]}))};Mt.pluginName="useAbsoluteLayout";var jt=function(e,t){return[e,{style:{position:"relative",width:t.instance.totalColumnsWidth+"px"}}]},Nt={display:"inline-block",boxSizing:"border-box"},_t=function(e,t){return[e,{style:{display:"flex",width:t.instance.totalColumnsWidth+"px"}}]},Dt=function(e){e.getRowProps.push(_t),e.getHeaderGroupProps.push(_t),e.getFooterGroupProps.push(_t),e.getHeaderProps.push((function(e,t){var n=t.column;return[e,{style:r({},Nt,{width:n.totalWidth+"px"})}]})),e.getCellProps.push((function(e,t){var n=t.cell;return[e,{style:r({},Nt,{width:n.column.totalWidth+"px"})}]})),e.getFooterProps.push((function(e,t){var n=t.column;return[e,{style:r({},Nt,{width:n.totalWidth+"px"})}]}))};function Lt(e){e.getTableProps.push(Vt),e.getRowProps.push(Xt),e.getHeaderGroupProps.push(Xt),e.getFooterGroupProps.push(Xt),e.getHeaderProps.push(qt),e.getCellProps.push(Kt),e.getFooterProps.push(Ut)}Dt.pluginName="useBlockLayout",Lt.pluginName="useFlexLayout";var Vt=function(e,t){return[e,{style:{minWidth:t.instance.totalColumnsMinWidth+"px"}}]},Xt=function(e,t){return[e,{style:{display:"flex",flex:"1 0 auto",minWidth:t.instance.totalColumnsMinWidth+"px"}}]},qt=function(e,t){var n=t.column;return[e,{style:{boxSizing:"border-box",flex:n.totalFlexWidth?n.totalFlexWidth+" 0 auto":void 0,minWidth:n.totalMinWidth+"px",width:n.totalWidth+"px"}}]},Kt=function(e,t){var n=t.cell;return[e,{style:{boxSizing:"border-box",flex:n.column.totalFlexWidth+" 0 auto",minWidth:n.column.totalMinWidth+"px",width:n.column.totalWidth+"px"}}]},Ut=function(e,t){var n=t.column;return[e,{style:{boxSizing:"border-box",flex:n.totalFlexWidth?n.totalFlexWidth+" 0 auto":void 0,minWidth:n.totalMinWidth+"px",width:n.totalWidth+"px"}}]};function $t(e){e.stateReducers.push(Qt),e.getTableProps.push(Jt),e.getHeaderProps.push(Yt)}$t.pluginName="useGridLayout";var Jt=function(e,t){return[e,{style:{display:"grid",gridTemplateColumns:t.instance.state.gridLayout.columnWidths.map((function(e){return e})).join(" ")}}]},Yt=function(e,t){return[e,{id:"header-cell-"+t.column.id,style:{position:"sticky"}}]};function Qt(e,t,n,o){if("init"===t.type)return r({gridLayout:{columnWidths:o.columns.map((function(){return"auto"}))}},e);if("columnStartResizing"===t.type){var i=t.columnId,u=o.visibleColumns.findIndex((function(e){return e.id===i})),l=function(e){var t,n=null==(t=document.getElementById("header-cell-"+e))?void 0:t.offsetWidth;if(void 0!==n)return n}(i);return void 0!==l?r({},e,{gridLayout:r({},e.gridLayout,{columnId:i,columnIndex:u,startingWidth:l})}):e}if("columnResizing"===t.type){var s=e.gridLayout,a=s.columnIndex,c=s.startingWidth,d=s.columnWidths,f=c-(e.columnResizing.startX-t.clientX),p=[].concat(d);return p[a]=f+"px",r({},e,{gridLayout:r({},e.gridLayout,{columnWidths:p})})}}e._UNSTABLE_usePivotColumns=nt,e.actions=l,e.defaultColumn=c,e.defaultGroupByFn=De,e.defaultOrderByFn=Qe,e.defaultRenderer=s,e.emptyRenderer=a,e.ensurePluginOrder=v,e.flexRender=b,e.functionalUpdate=m,e.loopHooks=g,e.makePropGetter=f,e.makeRenderer=R,e.reduceHooks=p,e.safeUseLayoutEffect=y,e.useAbsoluteLayout=Mt,e.useAsyncDebounce=function(e,n){void 0===n&&(n=0);var r=t.useRef({}),i=h(e),u=h(n);return t.useCallback(function(){var e=o(regeneratorRuntime.mark((function e(){var t,n,l,s=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:for(t=s.length,n=new Array(t),l=0;l<t;l++)n[l]=s[l];return r.current.promise||(r.current.promise=new Promise((function(e,t){r.current.resolve=e,r.current.reject=t}))),r.current.timeout&&clearTimeout(r.current.timeout),r.current.timeout=setTimeout(o(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return delete r.current.timeout,e.prev=1,e.t0=r.current,e.next=5,i().apply(void 0,n);case 5:e.t1=e.sent,e.t0.resolve.call(e.t0,e.t1),e.next=12;break;case 9:e.prev=9,e.t2=e.catch(1),r.current.reject(e.t2);case 12:return e.prev=12,delete r.current.promise,e.finish(12);case 15:case"end":return e.stop()}}),e,null,[[1,9,12,15]])}))),u()),e.abrupt("return",r.current.promise);case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),[i,u])},e.useBlockLayout=Dt,e.useColumnOrder=It,e.useExpanded=se,e.useFilters=xe,e.useFlexLayout=Lt,e.useGetLatest=h,e.useGlobalFilter=Ie,e.useGridLayout=$t,e.useGroupBy=ze,e.useMountedLayoutEffect=w,e.usePagination=Ze,e.useResizeColumns=kt,e.useRowSelect=vt,e.useRowState=Pt,e.useSortBy=Ue,e.useTable=function(e){for(var n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];e=ie(e),o=[K].concat(o);var u=t.useRef({}),s=h(u.current);Object.assign(s(),r({},e,{plugins:o,hooks:q()})),o.filter(Boolean).forEach((function(e){e(s().hooks)}));var a=h(s().hooks);s().getHooks=a,delete s().hooks,Object.assign(s(),p(a().useOptions,ie(e)));var c=s(),d=c.data,v=c.columns,m=c.initialState,y=c.defaultColumn,w=c.getSubRows,b=c.getRowId,E=c.stateReducer,I=c.useControlledState,F=h(E),G=t.useCallback((function(e,t){if(!t.type)throw console.info({action:t}),new Error("Unknown Action 👆");return[].concat(a().stateReducers,Array.isArray(F())?F():[F()]).reduce((function(n,o){return o(n,t,e,s())||n}),e)}),[a,F,s]),A=t.useReducer(G,void 0,(function(){return G(m,{type:l.init})})),k=A[0],H=A[1],T=p([].concat(a().useControlledState,[I]),k,{instance:s()});Object.assign(s(),{state:T,dispatch:H});var z=t.useMemo((function(){return S(p(a().columns,v,{instance:s()}))}),[a,s,v].concat(p(a().columnsDeps,[],{instance:s()})));s().columns=z;var W=t.useMemo((function(){return p(a().allColumns,C(z),{instance:s()}).map(P)}),[z,a,s].concat(p(a().allColumnsDeps,[],{instance:s()})));s().allColumns=W;var O=t.useMemo((function(){for(var e=[],t=[],n={},o=[].concat(W);o.length;){var r=o.shift();le({data:d,rows:e,flatRows:t,rowsById:n,column:r,getRowId:b,getSubRows:w,accessValueHooks:a().accessValue,getInstance:s})}return[e,t,n]}),[W,d,b,w,a,s]),M=O[0],j=O[1],N=O[2];Object.assign(s(),{rows:M,initialRows:[].concat(M),flatRows:j,rowsById:N}),g(a().useInstanceAfterData,s());var _=t.useMemo((function(){return p(a().visibleColumns,W,{instance:s()}).map((function(e){return x(e,y)}))}),[a,W,s,y].concat(p(a().visibleColumnsDeps,[],{instance:s()})));W=t.useMemo((function(){var e=[].concat(_);return W.forEach((function(t){e.find((function(e){return e.id===t.id}))||e.push(t)})),e}),[W,_]),s().allColumns=W;var D=t.useMemo((function(){return p(a().headerGroups,B(_,y),s())}),[a,_,y,s].concat(p(a().headerGroupsDeps,[],{instance:s()})));s().headerGroups=D;var L=t.useMemo((function(){return D.length?D[0].headers:[]}),[D]);s().headers=L,s().flatHeaders=D.reduce((function(e,t){return[].concat(e,t.headers)}),[]),g(a().useInstanceBeforeDimensions,s());var V=_.filter((function(e){return e.isVisible})).map((function(e){return e.id})).sort().join("_");_=t.useMemo((function(){return _.filter((function(e){return e.isVisible}))}),[_,V]),s().visibleColumns=_;var X=ue(L),U=X[0],$=X[1],J=X[2];return s().totalColumnsMinWidth=U,s().totalColumnsWidth=$,s().totalColumnsMaxWidth=J,g(a().useInstance,s()),[].concat(s().flatHeaders,s().allColumns).forEach((function(e){e.render=R(s(),e),e.getHeaderProps=f(a().getHeaderProps,{instance:s(),column:e}),e.getFooterProps=f(a().getFooterProps,{instance:s(),column:e})})),s().headerGroups=t.useMemo((function(){return D.filter((function(e,t){return e.headers=e.headers.filter((function(e){return e.headers?function e(t){return t.filter((function(t){return t.headers?e(t.headers):t.isVisible})).length}(e.headers):e.isVisible})),!!e.headers.length&&(e.getHeaderGroupProps=f(a().getHeaderGroupProps,{instance:s(),headerGroup:e,index:t}),e.getFooterGroupProps=f(a().getFooterGroupProps,{instance:s(),headerGroup:e,index:t}),!0)}))}),[D,s,a]),s().footerGroups=[].concat(s().headerGroups).reverse(),s().prepareRow=t.useCallback((function(e){e.getRowProps=f(a().getRowProps,{instance:s(),row:e}),e.allCells=W.map((function(t){var n=e.values[t.id],o={column:t,row:e,value:n};return o.getCellProps=f(a().getCellProps,{instance:s(),cell:o}),o.render=R(s(),t,{row:e,cell:o,value:n}),o})),e.cells=_.map((function(t){return e.allCells.find((function(e){return e.column.id===t.id}))})),g(a().prepareRow,e,{instance:s()})}),[a,s,W,_]),s().getTableProps=f(a().getTableProps,{instance:s()}),s().getTableBodyProps=f(a().getTableBodyProps,{instance:s()}),g(a().useFinalInstance,s()),s()},Object.defineProperty(e,"__esModule",{value:!0})}(t,n(0))}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp_clickview_lite=window.webpackJsonp_clickview_lite||[]).push([[27],{1926: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={}))}])}}]);
|
|
1
|
+
(window.webpackJsonp_clickview_lite=window.webpackJsonp_clickview_lite||[]).push([[27],{1927: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={}))}])}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp_clickview_lite=window.webpackJsonp_clickview_lite||[]).push([[3],{1034:function(t,a,e){"use strict";e.d(a,"a",(function(){return c}));var i=e(0),n=e(43),o=e(159),s=e(143),l=e(1049),r=e(359);function c(t){var a=i.useMemo((function(){return t.actions.sort((function(t,a){return t.order-a.order}))}),[t.actions]),e=[],c=[];a.forEach((function(t){t.button?e.push(t):c.push(t)}));var u="d-flex";return t.className&&(u+=" ".concat(t.className)),e.length||c.length?i.createElement("div",{className:u},i.createElement(i.Fragment,null,i.createElement("span",{className:"d-flex align-items-center"},e.length?e.map((function(t,a){return i.createElement(i.Fragment,{key:a},function(){if(t.label){var a=n.a.isFunction(t.label)?t.label:function(){return t.label};return i.createElement(r.a,{appLink:t.appLink,href:t.href,onClick:t.onClick,svgName:t.svgName,className:t.className,tooltip:t.tooltip,showSpinner:t.showSpinner,analyticsData:t.analyticsData,analyticsOptions:t.analyticsOptions,openInNewTab:t.openInNewTab,disabled:t.disabled},a())}var e=i.createElement(o.a,{appLink:t.appLink,href:t.href,onClick:t.onClick,svgName:t.svgName,className:t.className,analyticsData:t.analyticsData,analyticsOptions:t.analyticsOptions,openInNewTab:t.openInNewTab,disabled:t.disabled});return t.tooltip?i.createElement(s.a,{title:t.tooltip,spanHack:!0},e):e}())})):i.createElement(i.Fragment,null),t.sortComponent&&t.sortComponent,c.length?i.createElement(l.a,{actions:c,dropdownToggleClassName:t.actionsDropdownClassName}):i.createElement(i.Fragment,null)))):i.createElement(i.Fragment,null)}},1049:function(t,a,e){"use strict";e.d(a,"a",(function(){return v}));var i=e(0),n=e(4),o=e(295),s=e(43),l=e(35),r=e(76),c=e(59),u=e(143),d=e(27),p=e(1063),b=e.n(p);function g(t){var a="dropdown-item";return t&&(a+=" ".concat(t)),a}function y(t){var a=s.a.isFunction(t.action.label)?t.action.label:function(){return t.action.label};if(t.action.appLink)return i.createElement(c.a,{appLink:t.action.appLink,onClick:t.action.onClick,className:g(t.action.className),analyticsData:t.action.analyticsData,analyticsOptions:t.action.analyticsOptions,openInNewTab:t.action.openInNewTab,disabled:t.action.disabled},a());function e(a){a.preventDefault(),t.action.analyticsData&&t.action.analyticsOptions&&l.a.logUserAction(t.action.analyticsData,t.action.analyticsOptions),s.a.isFunction(t.action.onClick)&&t.action.onClick(),t.action.href&&n.a.LocationUtils.PageLoad(t.action.href,t.action.openInNewTab)}return t.action.href?i.createElement("a",{className:g(t.action.className),onClick:e,href:t.action.href},a()):i.createElement("span",{className:"cursor-pointer ".concat(g(t.action.className)),onClick:e,role:"button",tabIndex:0,onKeyDown:function(t){return"Enter"===t.key&&e(t)}},a())}function v(t){if(!t.actions||!t.actions.length)return i.createElement(i.Fragment,null);var a="dropdown";t.className&&(a+=" ".concat(t.className));var e="actions-dropdown-".concat(o.a.getRandomInt()),n="dropdown-toggle px-0 ".concat(b.a.dropdownToggle);return t.dropdownToggleClassName&&(n+=" ".concat(t.dropdownToggleClassName)),i.createElement("div",{className:a},i.createElement("button",{className:n,type:"button",id:e,"data-toggle":"dropdown","aria-haspopup":"true","aria-expanded":"false"},i.createElement(r.a,{svgName:d.b.More,size:r.b.Small})),i.createElement("div",{className:"dropdown-menu dropdown-menu-right","aria-labelledby":e},t.actions.map((function(t,a){return t.tooltip?i.createElement(u.a,{key:a,title:t.tooltip,spanHack:!0},i.createElement(y,{action:t})):i.createElement(y,{key:a,action:t})}))))}v.defaultProps={dropdownToggleClassName:"btn btn-light"}},1058:function(t,a,e){"use strict";var i,n,o,s=e(11),l=e(185),r=e(42),c=e(116),u=e(91),d=e(2),p=e(348),b=e(126),g=e(9),y=e(36),v=e(60);!function(t){t[t.AddToPlaylist=0]="AddToPlaylist",t[t.RemoveFromPlaylist=1]="RemoveFromPlaylist",t[t.Share=2]="Share",t[t.EditDetails=3]="EditDetails",t[t.Download=4]="Download",t[t.Delete=5]="Delete",t[t.ViewCurriculumLinks=6]="ViewCurriculumLinks",t[t.CreateClip=7]="CreateClip",t[t.CreateInteractive=8]="CreateInteractive",t[t.Favourite=9]="Favourite"}(i||(i={})),function(t){t[t.Share=0]="Share",t[t.AddToPlaylist=1]="AddToPlaylist",t[t.ViewOriginalVideo=2]="ViewOriginalVideo",t[t.EditDetails=3]="EditDetails",t[t.Delete=4]="Delete",t[t.CreateInteractive=5]="CreateInteractive",t[t.Favourite=6]="Favourite"}(n||(n={})),function(t){t[t.AddToPlaylist=0]="AddToPlaylist",t[t.PreviewQuestions=1]="PreviewQuestions",t[t.ViewResults=2]="ViewResults",t[t.Share=3]="Share",t[t.Copy=4]="Copy",t[t.Edit=5]="Edit",t[t.Print=6]="Print",t[t.ViewOriginalVideo=7]="ViewOriginalVideo",t[t.Delete=8]="Delete",t[t.Unpublish=9]="Unpublish",t[t.Favourite=10]="Favourite"}(o||(o={}));var m=e(27),f=e(211),O=e(1351),h=e(5),P=e(7),T=e(1101);function k(t,a,e){return a in t?Object.defineProperty(t,a,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[a]=e,t}var w=function(t,a,e,n){var o,s=g.a.encloseNamespace("shared.utils"),l=a===y.a.XS,r=f.a.isFavouritedByCurrentUser(t),c={id:t.id};return k(o={},i.Favourite,{order:0,svgName:r?m.b.Heart:m.b.HeartOutline,onClick:function(){return n(t,!r)},button:!0,className:"btn btn-link ".concat(r?"text-danger":""),analyticsOptions:null,analyticsData:c}),k(o,i.AddToPlaylist,{order:5,label:s("addToPlaylist"),button:!l,className:"btn btn-link",svgName:m.b.AddToPlaylists,appLink:{application:h.a.PLAYLISTS,action:P.a.Playlists.ADD_TO_PLAYLIST,args:[t.id]},analyticsOptions:Object.assign(Object.assign({},e),{actionType:d.UserAction.Associate,descriptor:d.AssocDescriptor.Playlist,workflowPhase:d.WorkflowPhase.Start}),analyticsData:null}),k(o,i.Share,{order:10,label:s("share"),svgName:m.b.Share2,appLink:{application:h.a.DEFAULT,action:P.a.Default.SHARE,args:[t.id],params:{entityType:"video"}},button:!l,className:"btn btn-link",analyticsOptions:Object.assign(Object.assign({},e),{actionType:d.UserAction.Share,workflowPhase:d.WorkflowPhase.Start}),analyticsData:c}),k(o,i.CreateInteractive,{order:20,label:s("createInteractive"),button:!1,analyticsOptions:Object.assign(Object.assign({},e),{actionType:d.UserAction.Create,entity:d.EntityType.Interactive,workflowPhase:d.WorkflowPhase.Start}),analyticsData:{video:{id:t.id}},appLink:{application:h.a.INTERACTIVES,action:P.a.Interactives.NEW_INTERACTIVE,args:[t.id]}}),k(o,i.CreateClip,{order:30,label:s("createClip"),button:!1,appLink:{application:h.a.DEFAULT,action:P.a.Default.CREATE_CLIP,args:[t.id]},analyticsOptions:Object.assign(Object.assign({},e),{actionType:d.UserAction.Create,entity:d.EntityType.Clip,workflowPhase:d.WorkflowPhase.Start}),analyticsData:{video:{id:t.id}}}),k(o,i.EditDetails,{order:40,label:s("editDetails"),button:!1,appLink:{application:h.a.DEFAULT,action:P.a.Default.EDIT_VIDEO,args:[t.id]},analyticsOptions:Object.assign(Object.assign({},e),{actionType:d.UserAction.Edit,workflowPhase:d.WorkflowPhase.Start}),analyticsData:c}),k(o,i.ViewCurriculumLinks,{order:50,label:s("viewCurriculumLinks"),button:!1,appLink:{application:h.a.DEFAULT,action:P.a.Default.VIEW_CURRICULUM_LINKS,args:[t.id]},analyticsOptions:Object.assign(Object.assign({},e),{actionType:d.UserAction.Click,workflowPhase:d.WorkflowPhase.Complete,descriptor:d.VideoActionDescriptor.ViewCurriculumLinks}),analyticsData:c}),k(o,i.Download,{order:60,label:s("download"),button:!1,appLink:{application:h.a.DEFAULT,action:P.a.Default.DOWNLOAD_VIDEO,args:[t.id]},analyticsOptions:Object.assign(Object.assign({},e),{actionType:d.UserAction.Download,workflowPhase:d.WorkflowPhase.Start}),analyticsData:c}),k(o,i.Delete,{order:70,label:s("delete"),button:!1,appLink:{application:h.a.DEFAULT,action:P.a.Default.DELETE_VIDEO,args:[t.id]},className:"btn btn-link text-danger",analyticsOptions:Object.assign(Object.assign({},e),{actionType:d.UserAction.Delete,workflowPhase:d.WorkflowPhase.Start}),analyticsData:c}),o},E=function(t,a,e,i){var o,s,l,r=g.a.encloseNamespace("shared.utils"),c=f.a.isFavouritedByCurrentUser(t),u=a===y.a.XS,p={id:t.id};return k(o={},n.Favourite,{order:0,svgName:c?m.b.Heart:m.b.HeartOutline,onClick:function(){return i(t,!c)},button:!0,className:"btn btn-link ".concat(c?"text-danger":""),analyticsOptions:null,analyticsData:p}),k(o,n.AddToPlaylist,{order:10,label:u?r("addToPlaylist"):null,tooltip:u?null:r("addToPlaylist"),svgName:m.b.AddToPlaylists,appLink:{application:h.a.PLAYLISTS,action:P.a.Playlists.ADD_TO_PLAYLIST,args:[t.id]},button:!u,className:"btn btn-link",analyticsOptions:Object.assign(Object.assign({},e),{actionType:d.UserAction.Associate,descriptor:d.AssocDescriptor.Playlist,workflowPhase:d.WorkflowPhase.Start}),analyticsData:p}),k(o,n.Share,{order:15,label:u?r("share"):null,tooltip:u?null:r("share"),svgName:m.b.Share2,appLink:{application:h.a.DEFAULT,action:P.a.Default.SHARE,args:[t.id],params:{entityType:"clip"}},button:!u,className:"btn btn-link",analyticsOptions:Object.assign(Object.assign({},e),{actionType:d.UserAction.Share,workflowPhase:d.WorkflowPhase.Start}),analyticsData:p}),k(o,n.CreateInteractive,{order:20,label:r("createInteractive"),appLink:{application:h.a.INTERACTIVES,action:P.a.Interactives.NEW_CLIP_INTERACTIVE,args:[t.id]},button:!1,className:"btn btn-link",analyticsOptions:Object.assign(Object.assign({},e),{actionType:d.UserAction.Create,entity:d.EntityType.Interactive,workflowPhase:d.WorkflowPhase.Start}),analyticsData:{clipId:t.id}}),k(o,n.ViewOriginalVideo,{order:30,label:r("viewOriginalVideo"),appLink:{application:h.a.DEFAULT,action:P.a.Default.PLAY_VIDEO,args:[null===(s=t.video)||void 0===s?void 0:s.id,v.a.slugify(null===(l=t.video)||void 0===l?void 0:l.name)]},button:!1,className:"btn btn-link",analyticsOptions:Object.assign(Object.assign({},e),{actionType:d.UserAction.Click,descriptor:d.VideoActionDescriptor.ViewOriginalVideo}),analyticsData:p}),k(o,n.EditDetails,{order:40,label:r("editDetails"),appLink:{application:h.a.DEFAULT,action:P.a.Default.EDIT_CLIP_DETAILS,args:[t.id]},button:!1,className:"btn btn-link",analyticsOptions:Object.assign(Object.assign({},e),{actionType:d.UserAction.Edit,workflowPhase:d.WorkflowPhase.Start}),analyticsData:p}),k(o,n.Delete,{order:50,label:r("deleteClip"),appLink:{application:h.a.DEFAULT,action:P.a.Default.DELETE_CLIP,args:[t.id]},button:!1,className:"btn btn-link text-danger",analyticsOptions:Object.assign(Object.assign({},e),{actionType:d.UserAction.Delete,workflowPhase:d.WorkflowPhase.Start}),analyticsData:p}),o},D=function(t,a,e,i,n){var s,l=g.a.encloseNamespace("shared.utils"),c=a===y.a.XS,u=Object(T.a)(t),p=f.a.isFavouritedByCurrentUser(t);return k(s={},o.Favourite,{order:0,svgName:p?m.b.Heart:m.b.HeartOutline,onClick:function(){return n(t,!p)},button:!0,className:"btn btn-link ".concat(p?"text-danger":""),analyticsOptions:null,analyticsData:u}),k(s,o.ViewResults,{order:5,className:"btn btn-link",href:O.a.getObjectUrl(e,t),openInNewTab:!0,svgName:m.b.Chart,label:c?l("viewResults"):null,tooltip:c?null:l("viewResults"),button:!c,analyticsOptions:Object.assign(Object.assign({},i),{actionType:d.UserAction.Click,descriptor:d.VideoActionDescriptor.ViewResults}),analyticsData:u}),k(s,o.AddToPlaylist,{order:10,label:c?l("addToPlaylist"):null,tooltip:c?null:l("addToPlaylist"),svgName:m.b.AddToPlaylists,appLink:{application:h.a.PLAYLISTS,action:P.a.Playlists.ADD_TO_PLAYLIST,args:[t.id]},button:!c,className:"btn btn-link",analyticsOptions:Object.assign(Object.assign({},i),{actionType:d.UserAction.Associate,descriptor:d.AssocDescriptor.Playlist,workflowPhase:d.WorkflowPhase.Start}),analyticsData:u}),k(s,o.Share,{order:20,label:c?l("share"):null,tooltip:c?null:l("share"),svgName:m.b.Share2,appLink:{application:h.a.DEFAULT,action:P.a.Default.SHARE,args:[t.id],params:{entityType:"interactive"}},button:!c,className:"btn btn-link",analyticsOptions:Object.assign(Object.assign({},i),{actionType:d.UserAction.Share,workflowPhase:d.WorkflowPhase.Start}),analyticsData:u}),k(s,o.PreviewQuestions,{order:30,label:l("previewInteractive"),appLink:{application:h.a.INTERACTIVES,action:P.a.Interactives.PREVIEW_QUESTIONS,args:[t.id]},button:!1,className:"btn btn-link",analyticsOptions:Object.assign(Object.assign({},i),{actionType:d.UserAction.Click,descriptor:d.VideoActionDescriptor.PreviewInteractiveVideo}),analyticsData:u}),k(s,o.Copy,{order:40,label:l("copyInteractive"),appLink:{application:h.a.INTERACTIVES,action:P.a.Interactives.COPY_INTERACTIVE,args:[t.id]},button:!1,className:"btn btn-link",analyticsOptions:Object.assign(Object.assign({},i),{actionType:d.UserAction.Copy,workflowPhase:d.WorkflowPhase.Start}),analyticsData:u}),k(s,o.Edit,{order:50,label:l("editInteractive"),svgName:m.b.Edit,appLink:{application:h.a.INTERACTIVES,action:P.a.Interactives.EDIT_INTERACTIVE,args:[t.id]},button:!1,className:"btn btn-link",analyticsOptions:Object.assign(Object.assign({},i),{actionType:d.UserAction.Edit,workflowPhase:d.WorkflowPhase.Start}),analyticsData:u}),k(s,o.Unpublish,{order:60,label:l("editInteractive"),appLink:{application:h.a.INTERACTIVES,action:P.a.Interactives.UNPUBLISH_INTERACTIVE,args:[t.id]},button:!1,className:"btn btn-link",analyticsOptions:Object.assign(Object.assign({},i),{actionType:d.UserAction.Publish,descriptor:d.PublishDescriptor.Unpublish,workflowPhase:d.WorkflowPhase.Start}),analyticsData:u}),k(s,o.Print,{order:70,label:l("printAsWorksheet"),appLink:{application:h.a.INTERACTIVES,action:P.a.Interactives.PRINT_QUESTIONS,args:[t.id]},button:!1,className:"btn btn-link",analyticsOptions:Object.assign(Object.assign({},i),{actionType:d.UserAction.Print,workflowPhase:d.WorkflowPhase.Start}),analyticsData:u}),k(s,o.ViewOriginalVideo,{order:80,label:l("viewOriginalVideo"),appLink:function(){var a=t.clip||t.video;if(!a)return null;var e=r.a.isClip(a)?P.a.Default.PLAY_CLIP:P.a.Default.PLAY_VIDEO;return{application:h.a.DEFAULT,action:e,args:[a.id,v.a.slugify(a.name)]}}(),button:!1,className:"btn btn-link",analyticsOptions:Object.assign(Object.assign({},i),{actionType:d.UserAction.Click,descriptor:d.VideoActionDescriptor.ViewOriginalVideo}),analyticsData:u}),k(s,o.Delete,{order:90,label:l("deleteInteractive"),appLink:{application:h.a.INTERACTIVES,action:P.a.Interactives.DELETE_INTERACTIVE,args:[t.id]},button:!1,className:"btn btn-link text-danger",analyticsOptions:Object.assign(Object.assign({},i),{actionType:d.UserAction.Delete,workflowPhase:d.WorkflowPhase.Start}),analyticsData:u}),s},I=e(1675),A=e.n(I),C=e(61);function N(t,a,e){return a in t?Object.defineProperty(t,a,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[a]=e,t}var S=function(t,a){var e,n=g.a.encloseNamespace("liteShared.hooks"),o=a===y.a.XS,s={entity:d.EntityType.Video,location:d.LocationContext.VideoListItem},l=w(t,a,s);return Object.assign(Object.assign({},l),(N(e={},i.AddToPlaylist,Object.assign(Object.assign({},l[i.AddToPlaylist]),{label:o?n("addToPlaylist"):null,tooltip:o?null:n("addToPlaylist")})),N(e,i.Share,Object.assign(Object.assign({},l[i.Share]),{label:o?n("share"):null,tooltip:o?null:n("share")})),e))},j=function(t,a){var e,n=g.a.encloseNamespace("liteShared.hooks"),o=a===y.a.XS,s=a===y.a.SM||a===y.a.MD||o,l={entity:d.EntityType.Video,location:d.LocationContext.PlayPage},r=w(t,a,l);return Object.assign(Object.assign({},r),(N(e={},i.CreateInteractive,Object.assign(Object.assign({},r[i.CreateInteractive]),{order:s?20:0,label:n("makeInteractive"),svgName:m.b.CreateInteractive,className:"".concat(s?"":"btn btn-outline-dark mr-2"," ").concat(A.a.createInteractive),button:!s})),N(e,i.AddToPlaylist,Object.assign(Object.assign({},r[i.AddToPlaylist]),{order:s?0:10,className:o?"":"btn btn-outline-dark mr-2"})),N(e,i.Share,Object.assign(Object.assign({},r[i.Share]),{order:s?10:20,className:o?"":"btn btn-outline-dark mr-2"})),e))},L=function(t,a,e){var n,o={entity:d.EntityType.Video,location:d.LocationContext.StudentFeed},s=w(t,a,o,e);return N(n={},i.AddToPlaylist,Object.assign(Object.assign({},s[i.AddToPlaylist]),{label:"",button:!0})),N(n,i.Favourite,s[i.Favourite]),n};function V(t){var a,e,n,o=t.video,s=t.location,l=t.mediaQuery,r=t.toggleFavouriteVideo,c=t.isPlugin,u=t.hasPermissions,d=function(t){switch(t){case H.PlayPage:return j;case H.StudentFeed:return L;case H.VideoItem:default:return S}}(s)(o,l,r),p=[d[i.AddToPlaylist]];if(s===H.StudentFeed)p.push(d[i.Favourite]);else{var b=u(C.a.StudentExperience);b||p.push(d[i.Share]),c||(p.push(d[i.CreateClip]),b||p.push(d[i.CreateInteractive])),!b&&(null===(e=null===(a=o._curriculumLinks)||void 0===a?void 0:a.value)||void 0===e?void 0:e.length)&&p.push(d[i.ViewCurriculumLinks]),(null===(n=o._canUpdate)||void 0===n?void 0:n.value)&&(p.push(d[i.EditDetails]),p.push(d[i.Delete]),p.push(d[i.Download]))}return p}function F(t,a,e){return a in t?Object.defineProperty(t,a,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[a]=e,t}var U=function(t,a){var e={entity:d.EntityType.Clip,location:d.LocationContext.ClipListItem};return E(t,a,e)},R=function(t,a){var e,i=g.a.encloseNamespace("liteShared.hooks"),o=a===y.a.XS,s={entity:d.EntityType.Clip,location:d.LocationContext.PlayPage},l=E(t,a,s);return Object.assign(Object.assign({},l),(F(e={},n.CreateInteractive,Object.assign(Object.assign({},l[n.CreateInteractive]),{order:0,label:i("makeInteractive"),svgName:m.b.CreateInteractive,button:!o,className:o?"":"btn btn-outline-dark mr-2",tooltip:null})),F(e,n.Share,Object.assign(Object.assign({},l[n.Share]),{label:i("share"),button:!o,className:o?"":"btn btn-outline-dark mr-2",tooltip:null})),F(e,n.AddToPlaylist,Object.assign(Object.assign({},l[n.AddToPlaylist]),{label:i("addToPlaylist"),button:!o,className:o?"":"btn btn-outline-dark mr-2",tooltip:null})),e))},_=function(t,a,e){var i,o={entity:d.EntityType.Clip,location:d.LocationContext.StudentFeed},s=E(t,a,o,e);return F(i={},n.AddToPlaylist,Object.assign(Object.assign({},s[n.AddToPlaylist]),{label:"",button:!0})),F(i,n.Favourite,s[n.Favourite]),i};function x(t){var a,e=t.clip,i=t.location,o=t.mediaQuery,s=t.toggleFavouriteVideo,l=t.isPlugin,r=t.hasPermissions,c=function(t){switch(t){case H.PlayPage:return R;case H.StudentFeed:return _;case H.VideoItem:default:return U}}(i)(e,o,s),u=[c[n.AddToPlaylist]];if(i===H.StudentFeed)u.push(c[n.Favourite]);else{var d=r(C.a.StudentExperience);l||(i===H.VideoItem&&u.push(c[n.ViewOriginalVideo]),d||(u.push(c[n.Share]),u.push(c[n.CreateInteractive]))),(null===(a=e._canUpdate)||void 0===a?void 0:a.value)&&(u.push(c[n.EditDetails]),u.push(c[n.Delete]))}return u}var W=e(187);function Q(t,a,e){return a in t?Object.defineProperty(t,a,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[a]=e,t}var H,Y=g.a.encloseNamespace("liteShared.hooks"),B=function(t){var a=t.interactive,e=t.mediaQuery,i=t.config,n={entity:d.EntityType.Interactive,location:d.LocationContext.VideoListItem};return D(a,e,i,n)},X=function(t){var a,e=t.interactive,i=t.mediaQuery,n=t.config,s={entity:d.EntityType.Interactive,location:d.LocationContext.PreviewInteractive},l=D(e,i,n,s);return Object.assign(Object.assign({},l),(Q(a={},o.ViewResults,Object.assign(Object.assign({},l[o.ViewResults]),{order:0,className:"btn btn-outline-dark mr-2",button:!0,tooltip:null,label:Y("viewResults")})),Q(a,o.Edit,Object.assign(Object.assign({},l[o.Edit]),{order:10,className:"btn btn-outline-dark mr-2",button:!0})),Q(a,o.Share,Object.assign(Object.assign({},l[o.Share]),{order:20,className:"btn btn-outline-dark mr-2",label:Y("share"),tooltip:null})),Q(a,o.AddToPlaylist,Object.assign(Object.assign({},l[o.AddToPlaylist]),{order:30,label:Y("addToPlaylist"),className:"btn btn-outline-dark mr-2",tooltip:null})),a))},M=function(t){var a,e=t.interactive,i=t.mediaQuery,n=t.toggleFavouriteVideo,s=t.config,l={entity:d.EntityType.Video,location:d.LocationContext.StudentFeed},r=D(e,i,s,l,n);return Q(a={},o.AddToPlaylist,Object.assign(Object.assign({},r[o.AddToPlaylist]),{label:"",button:!0})),Q(a,o.Favourite,r[o.Favourite]),a};function z(t){var a,e=t.interactive,i=t.location,n=t.mediaQuery,s=t.toggleFavouriteVideo,l=t.isPlugin,r=t.hasPermissions,c=t.config,u=function(t){switch(t){case H.PlayPage:return X;case H.StudentFeed:return M;case H.VideoItem:default:return B}}(i)({interactive:e,mediaQuery:n,toggleFavouriteVideo:s,config:c}),d=[];if(e.status!==W.a.Draft&&d.push(u[o.AddToPlaylist]),i===H.StudentFeed)d.push(u[o.Favourite]);else{var p=r(C.a.StudentExperience);p||e.status===W.a.Draft||(d.push(u[o.Share]),d.push(u[o.ViewResults])),d.push(u[o.Print]),p||d.push(u[o.Copy]),(null===(a=e._canUpdate)||void 0===a?void 0:a.value)&&(l||d.push(e.status===W.a.Draft?u[o.Edit]:u[o.Unpublish]),d.push(u[o.Delete]))}return i===H.VideoItem&&(d.push(u[o.PreviewQuestions]),d.push(u[o.ViewOriginalVideo])),d}e.d(a,"a",(function(){return H})),e.d(a,"b",(function(){return J})),function(t){t[t.PlayPage=0]="PlayPage",t[t.VideoItem=1]="VideoItem",t[t.StudentFeed=2]="StudentFeed"}(H||(H={}));var J=function(t){var a=Object(l.a)(),e=Object(p.a)(function(t){switch(t){case H.PlayPage:return d.LocationContext.PlayPage;case H.VideoItem:return d.LocationContext.VideoListItem;case H.StudentFeed:return d.LocationContext.StudentFeed}}(t)),i=Object(u.a)().hasPermissions,n=Object(b.b)().isPlugin,o=s.a.useBasicFetch(c.a.config(),{optimize:!0});return function(s){return r.a.isClip(s)?x({clip:s,location:t,mediaQuery:a,toggleFavouriteVideo:e,isPlugin:n,hasPermissions:i}):r.a.isInteractive(s)?z({interactive:s,location:t,mediaQuery:a,toggleFavouriteVideo:e,isPlugin:n,hasPermissions:i,config:o.data}):V({video:s,location:t,mediaQuery:a,toggleFavouriteVideo:e,isPlugin:n,hasPermissions:i})}}},1063:function(t,a,e){t.exports={dropdownToggle:"AYBvQ"}},1101:function(t,a,e){"use strict";function i(t){var a,e,i,n;if(!t)return null;var o=Object.assign(Object.assign({},t),{video:null,clip:null});return(null===(a=null==t?void 0:t.clip)||void 0===a?void 0:a.id)?o.clip={id:null===(e=null==t?void 0:t.clip)||void 0===e?void 0:e.id}:(null===(i=null==t?void 0:t.video)||void 0===i?void 0:i.id)&&(o.video={id:null===(n=null==t?void 0:t.video)||void 0===n?void 0:n.id}),o}e.d(a,"a",(function(){return i}))},1351:function(t,a,e){"use strict";e.d(a,"a",(function(){return o}));var i=e(28),n=e(23),o={getObjectUrl:function(t,a){var e=t.analyticsWebUrl;if(e){var o="";switch(a.typeId){case n.a.Video:o="/videos/".concat(a.id,"/overview");break;case n.a.Interactive:o="/interactives/".concat(a.id,"/overview")}if(o)return i.a.safeUrlConcat(e,o)}}}},1675:function(t,a,e){t.exports={createInteractive:"EqSVQ"}}}]);
|