@purpurds/illustrative-icon 8.8.0 → 8.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/animated-illustrative-icon-Cc88HMC8.js +3 -0
- package/dist/{animated-illustrative-icon-B7VXVLhr.js.map → animated-illustrative-icon-Cc88HMC8.js.map} +1 -1
- package/dist/{animated-illustrative-icon-CJxecut6.mjs → animated-illustrative-icon-saKeBxEm.mjs} +566 -575
- package/dist/{animated-illustrative-icon-CJxecut6.mjs.map → animated-illustrative-icon-saKeBxEm.mjs.map} +1 -1
- package/dist/components/404-error-duocolor.cjs.js +1 -1
- package/dist/components/404-error-duocolor.es.js +1 -1
- package/dist/components/404-error-offblack.cjs.js +1 -1
- package/dist/components/404-error-offblack.es.js +1 -1
- package/dist/components/airplane-above-duocolor.cjs.js +1 -1
- package/dist/components/airplane-above-duocolor.es.js +1 -1
- package/dist/components/airplane-above-offblack.cjs.js +1 -1
- package/dist/components/airplane-above-offblack.es.js +1 -1
- package/dist/components/alert-lamp-duocolor.cjs.js +1 -1
- package/dist/components/alert-lamp-duocolor.es.js +1 -1
- package/dist/components/alert-lamp-offblack.cjs.js +1 -1
- package/dist/components/alert-lamp-offblack.es.js +1 -1
- package/dist/components/analysis-done-duocolor-animated.cjs.js +1 -1
- package/dist/components/analysis-done-duocolor-animated.es.js +1 -1
- package/dist/components/analysis-done-duocolor-static.cjs.js +1 -1
- package/dist/components/analysis-done-duocolor-static.es.js +1 -1
- package/dist/components/analysis-done-offblack-animated.cjs.js +1 -1
- package/dist/components/analysis-done-offblack-animated.es.js +1 -1
- package/dist/components/analysis-done-offblack-static.cjs.js +1 -1
- package/dist/components/analysis-done-offblack-static.es.js +1 -1
- package/dist/components/analysis-error-duocolor-animated.cjs.js +1 -1
- package/dist/components/analysis-error-duocolor-animated.es.js +1 -1
- package/dist/components/analysis-error-duocolor-static.cjs.js +1 -1
- package/dist/components/analysis-error-duocolor-static.es.js +1 -1
- package/dist/components/analysis-error-offblack-animated.cjs.js +1 -1
- package/dist/components/analysis-error-offblack-animated.es.js +1 -1
- package/dist/components/analysis-error-offblack-static.cjs.js +1 -1
- package/dist/components/analysis-error-offblack-static.es.js +1 -1
- package/dist/components/analysis-unavailable-duocolor-animated.cjs.js +1 -1
- package/dist/components/analysis-unavailable-duocolor-animated.es.js +1 -1
- package/dist/components/analysis-unavailable-duocolor-static.cjs.js +1 -1
- package/dist/components/analysis-unavailable-duocolor-static.es.js +1 -1
- package/dist/components/analysis-unavailable-offblack-animated.cjs.js +1 -1
- package/dist/components/analysis-unavailable-offblack-animated.es.js +1 -1
- package/dist/components/analysis-unavailable-offblack-static.cjs.js +1 -1
- package/dist/components/analysis-unavailable-offblack-static.es.js +1 -1
- package/dist/components/apartment-building-duocolor.cjs.js +1 -1
- package/dist/components/apartment-building-duocolor.es.js +1 -1
- package/dist/components/apartment-building-offblack.cjs.js +1 -1
- package/dist/components/apartment-building-offblack.es.js +1 -1
- package/dist/components/backup-duocolor.cjs.js +1 -1
- package/dist/components/backup-duocolor.es.js +1 -1
- package/dist/components/backup-offblack.cjs.js +1 -1
- package/dist/components/backup-offblack.es.js +1 -1
- package/dist/components/bike-duocolor.cjs.js +1 -1
- package/dist/components/bike-duocolor.es.js +1 -1
- package/dist/components/bike-offblack.cjs.js +1 -1
- package/dist/components/bike-offblack.es.js +1 -1
- package/dist/components/bridge-duocolor.cjs.js +1 -1
- package/dist/components/bridge-duocolor.es.js +1 -1
- package/dist/components/bridge-offblack.cjs.js +1 -1
- package/dist/components/bridge-offblack.es.js +1 -1
- package/dist/components/building-wireless-1-duocolor.cjs.js +1 -1
- package/dist/components/building-wireless-1-duocolor.es.js +1 -1
- package/dist/components/building-wireless-1-offblack.cjs.js +1 -1
- package/dist/components/building-wireless-1-offblack.es.js +1 -1
- package/dist/components/building-wireless-2-duocolor.cjs.js +1 -1
- package/dist/components/building-wireless-2-duocolor.es.js +1 -1
- package/dist/components/building-wireless-2-offblack.cjs.js +1 -1
- package/dist/components/building-wireless-2-offblack.es.js +1 -1
- package/dist/components/bus-connected-duocolor.cjs.js +1 -1
- package/dist/components/bus-connected-duocolor.es.js +1 -1
- package/dist/components/bus-connected-offblack.cjs.js +1 -1
- package/dist/components/bus-connected-offblack.es.js +1 -1
- package/dist/components/bus-duocolor.cjs.js +1 -1
- package/dist/components/bus-duocolor.es.js +1 -1
- package/dist/components/bus-offblack.cjs.js +1 -1
- package/dist/components/bus-offblack.es.js +1 -1
- package/dist/components/car-duocolor.cjs.js +1 -1
- package/dist/components/car-duocolor.es.js +1 -1
- package/dist/components/car-offblack.cjs.js +1 -1
- package/dist/components/car-offblack.es.js +1 -1
- package/dist/components/car-wireless-duocolor.cjs.js +1 -1
- package/dist/components/car-wireless-duocolor.es.js +1 -1
- package/dist/components/car-wireless-offblack.cjs.js +1 -1
- package/dist/components/car-wireless-offblack.es.js +1 -1
- package/dist/components/cart-checkmark-duocolor.cjs.js +1 -1
- package/dist/components/cart-checkmark-duocolor.es.js +1 -1
- package/dist/components/cart-checkmark-offblack.cjs.js +1 -1
- package/dist/components/cart-checkmark-offblack.es.js +1 -1
- package/dist/components/cart-question-duocolor-animated.cjs.js +1 -1
- package/dist/components/cart-question-duocolor-animated.es.js +1 -1
- package/dist/components/cart-question-duocolor-static.cjs.js +1 -1
- package/dist/components/cart-question-duocolor-static.es.js +1 -1
- package/dist/components/cart-question-offblack-animated.cjs.js +1 -1
- package/dist/components/cart-question-offblack-animated.es.js +1 -1
- package/dist/components/cart-question-offblack-static.cjs.js +1 -1
- package/dist/components/cart-question-offblack-static.es.js +1 -1
- package/dist/components/charger-excluded-static.cjs.js +1 -1
- package/dist/components/charger-excluded-static.es.js +1 -1
- package/dist/components/charger-included-static.cjs.js +1 -1
- package/dist/components/charger-included-static.es.js +1 -1
- package/dist/components/chart-duocolor.cjs.js +1 -1
- package/dist/components/chart-duocolor.es.js +1 -1
- package/dist/components/chart-offblack.cjs.js +1 -1
- package/dist/components/chart-offblack.es.js +1 -1
- package/dist/components/chat-heart-duocolor.cjs.js +1 -1
- package/dist/components/chat-heart-duocolor.es.js +1 -1
- package/dist/components/chat-heart-offblack.cjs.js +1 -1
- package/dist/components/chat-heart-offblack.es.js +1 -1
- package/dist/components/checkmark-duocolor.cjs.js +1 -1
- package/dist/components/checkmark-duocolor.es.js +1 -1
- package/dist/components/checkmark-offblack.cjs.js +1 -1
- package/dist/components/checkmark-offblack.es.js +1 -1
- package/dist/components/clock-duocolor.cjs.js +1 -1
- package/dist/components/clock-duocolor.es.js +1 -1
- package/dist/components/clock-offblack.cjs.js +1 -1
- package/dist/components/clock-offblack.es.js +1 -1
- package/dist/components/cloud-hosting-duocolor.cjs.js +1 -1
- package/dist/components/cloud-hosting-duocolor.es.js +1 -1
- package/dist/components/cloud-hosting-offblack.cjs.js +1 -1
- package/dist/components/cloud-hosting-offblack.es.js +1 -1
- package/dist/components/cloud-lightbulb-duocolor.cjs.js +1 -1
- package/dist/components/cloud-lightbulb-duocolor.es.js +1 -1
- package/dist/components/cloud-lightbulb-offblack.cjs.js +1 -1
- package/dist/components/cloud-lightbulb-offblack.es.js +1 -1
- package/dist/components/cloud-lock-duocolor.cjs.js +1 -1
- package/dist/components/cloud-lock-duocolor.es.js +1 -1
- package/dist/components/cloud-lock-offblack.cjs.js +1 -1
- package/dist/components/cloud-lock-offblack.es.js +1 -1
- package/dist/components/cloud-settings-duocolor.cjs.js +1 -1
- package/dist/components/cloud-settings-duocolor.es.js +1 -1
- package/dist/components/cloud-settings-offblack.cjs.js +1 -1
- package/dist/components/cloud-settings-offblack.es.js +1 -1
- package/dist/components/cloud-transfer-duocolor.cjs.js +1 -1
- package/dist/components/cloud-transfer-duocolor.es.js +1 -1
- package/dist/components/cloud-transfer-offblack.cjs.js +1 -1
- package/dist/components/cloud-transfer-offblack.es.js +1 -1
- package/dist/components/cloud-upload-duocolor.cjs.js +1 -1
- package/dist/components/cloud-upload-duocolor.es.js +1 -1
- package/dist/components/cloud-upload-offblack.cjs.js +1 -1
- package/dist/components/cloud-upload-offblack.es.js +1 -1
- package/dist/components/clouds-duocolor.cjs.js +1 -1
- package/dist/components/clouds-duocolor.es.js +1 -1
- package/dist/components/clouds-offblack.cjs.js +1 -1
- package/dist/components/clouds-offblack.es.js +1 -1
- package/dist/components/data-center-duocolor.cjs.js +1 -1
- package/dist/components/data-center-duocolor.es.js +1 -1
- package/dist/components/data-center-offblack.cjs.js +1 -1
- package/dist/components/data-center-offblack.es.js +1 -1
- package/dist/components/desktop-growth-duocolor.cjs.js +1 -1
- package/dist/components/desktop-growth-duocolor.es.js +1 -1
- package/dist/components/desktop-growth-offblack.cjs.js +1 -1
- package/dist/components/desktop-growth-offblack.es.js +1 -1
- package/dist/components/devices-router-duocolor.cjs.js +1 -1
- package/dist/components/devices-router-duocolor.es.js +1 -1
- package/dist/components/devices-router-offblack.cjs.js +1 -1
- package/dist/components/devices-router-offblack.es.js +1 -1
- package/dist/components/devices-time-duocolor.cjs.js +1 -1
- package/dist/components/devices-time-duocolor.es.js +1 -1
- package/dist/components/devices-time-offblack.cjs.js +1 -1
- package/dist/components/devices-time-offblack.es.js +1 -1
- package/dist/components/devices-wireless-duocolor.cjs.js +1 -1
- package/dist/components/devices-wireless-duocolor.es.js +1 -1
- package/dist/components/devices-wireless-offblack.cjs.js +1 -1
- package/dist/components/devices-wireless-offblack.es.js +1 -1
- package/dist/components/document-attach-duocolor-animated.cjs.js +1 -1
- package/dist/components/document-attach-duocolor-animated.es.js +1 -1
- package/dist/components/document-attach-duocolor-static.cjs.js +1 -1
- package/dist/components/document-attach-duocolor-static.es.js +1 -1
- package/dist/components/document-attach-offblack-animated.cjs.js +1 -1
- package/dist/components/document-attach-offblack-animated.es.js +1 -1
- package/dist/components/document-attach-offblack-static.cjs.js +1 -1
- package/dist/components/document-attach-offblack-static.es.js +1 -1
- package/dist/components/document-checkmark-duocolor.cjs.js +1 -1
- package/dist/components/document-checkmark-duocolor.es.js +1 -1
- package/dist/components/document-checkmark-offblack.cjs.js +1 -1
- package/dist/components/document-checkmark-offblack.es.js +1 -1
- package/dist/components/document-question-duocolor-animated.cjs.js +1 -1
- package/dist/components/document-question-duocolor-animated.es.js +1 -1
- package/dist/components/document-question-duocolor-static.cjs.js +1 -1
- package/dist/components/document-question-duocolor-static.es.js +1 -1
- package/dist/components/document-question-offblack-animated.cjs.js +1 -1
- package/dist/components/document-question-offblack-animated.es.js +1 -1
- package/dist/components/document-question-offblack-static.cjs.js +1 -1
- package/dist/components/document-question-offblack-static.es.js +1 -1
- package/dist/components/document-upload-duocolor-animated.cjs.js +1 -1
- package/dist/components/document-upload-duocolor-animated.es.js +1 -1
- package/dist/components/document-upload-duocolor-static.cjs.js +1 -1
- package/dist/components/document-upload-duocolor-static.es.js +1 -1
- package/dist/components/document-upload-offblack-animated.cjs.js +1 -1
- package/dist/components/document-upload-offblack-animated.es.js +1 -1
- package/dist/components/document-upload-offblack-static.cjs.js +1 -1
- package/dist/components/document-upload-offblack-static.es.js +1 -1
- package/dist/components/drone-duocolor.cjs.js +1 -1
- package/dist/components/drone-duocolor.es.js +1 -1
- package/dist/components/drone-offblack.cjs.js +1 -1
- package/dist/components/drone-offblack.es.js +1 -1
- package/dist/components/factory-duocolor.cjs.js +1 -1
- package/dist/components/factory-duocolor.es.js +1 -1
- package/dist/components/factory-offblack.cjs.js +1 -1
- package/dist/components/factory-offblack.es.js +1 -1
- package/dist/components/family-subscription-duocolor.cjs.js +1 -1
- package/dist/components/family-subscription-duocolor.es.js +1 -1
- package/dist/components/family-subscription-offblack.cjs.js +1 -1
- package/dist/components/family-subscription-offblack.es.js +1 -1
- package/dist/components/getting-started-duocolor.cjs.js +1 -1
- package/dist/components/getting-started-duocolor.es.js +1 -1
- package/dist/components/getting-started-offblack.cjs.js +1 -1
- package/dist/components/getting-started-offblack.es.js +1 -1
- package/dist/components/group-development-duocolor.cjs.js +1 -1
- package/dist/components/group-development-duocolor.es.js +1 -1
- package/dist/components/group-development-offblack.cjs.js +1 -1
- package/dist/components/group-development-offblack.es.js +1 -1
- package/dist/components/group-small-duocolor.cjs.js +1 -1
- package/dist/components/group-small-duocolor.es.js +1 -1
- package/dist/components/group-small-offblack.cjs.js +1 -1
- package/dist/components/group-small-offblack.es.js +1 -1
- package/dist/components/hand-heart-duocolor.cjs.js +1 -1
- package/dist/components/hand-heart-duocolor.es.js +1 -1
- package/dist/components/hand-heart-offblack.cjs.js +1 -1
- package/dist/components/hand-heart-offblack.es.js +1 -1
- package/dist/components/hand-leaf-duocolor.cjs.js +1 -1
- package/dist/components/hand-leaf-duocolor.es.js +1 -1
- package/dist/components/hand-leaf-offblack.cjs.js +1 -1
- package/dist/components/hand-leaf-offblack.es.js +1 -1
- package/dist/components/heart-duocolor.cjs.js +1 -1
- package/dist/components/heart-duocolor.es.js +1 -1
- package/dist/components/heart-offblack.cjs.js +1 -1
- package/dist/components/heart-offblack.es.js +1 -1
- package/dist/components/hospital-duocolor.cjs.js +1 -1
- package/dist/components/hospital-duocolor.es.js +1 -1
- package/dist/components/hospital-offblack.cjs.js +1 -1
- package/dist/components/hospital-offblack.es.js +1 -1
- package/dist/components/hosting-hand-duocolor.cjs.js +1 -1
- package/dist/components/hosting-hand-duocolor.es.js +1 -1
- package/dist/components/hosting-hand-offblack.cjs.js +1 -1
- package/dist/components/hosting-hand-offblack.es.js +1 -1
- package/dist/components/hosting-time-duocolor.cjs.js +1 -1
- package/dist/components/hosting-time-duocolor.es.js +1 -1
- package/dist/components/hosting-time-offblack.cjs.js +1 -1
- package/dist/components/hosting-time-offblack.es.js +1 -1
- package/dist/components/house-duocolor.cjs.js +1 -1
- package/dist/components/house-duocolor.es.js +1 -1
- package/dist/components/house-offblack.cjs.js +1 -1
- package/dist/components/house-offblack.es.js +1 -1
- package/dist/components/house-wireless-duocolor.cjs.js +1 -1
- package/dist/components/house-wireless-duocolor.es.js +1 -1
- package/dist/components/house-wireless-offblack.cjs.js +1 -1
- package/dist/components/house-wireless-offblack.es.js +1 -1
- package/dist/components/id-error-duocolor.cjs.js +1 -1
- package/dist/components/id-error-duocolor.es.js +1 -1
- package/dist/components/id-error-offblack.cjs.js +1 -1
- package/dist/components/id-error-offblack.es.js +1 -1
- package/dist/components/iot-devices-duocolor.cjs.js +1 -1
- package/dist/components/iot-devices-duocolor.es.js +1 -1
- package/dist/components/iot-devices-offblack.cjs.js +1 -1
- package/dist/components/iot-devices-offblack.es.js +1 -1
- package/dist/components/iot-duocolor.cjs.js +1 -1
- package/dist/components/iot-duocolor.es.js +1 -1
- package/dist/components/iot-offblack.cjs.js +1 -1
- package/dist/components/iot-offblack.es.js +1 -1
- package/dist/components/iot-wireless-duocolor.cjs.js +1 -1
- package/dist/components/iot-wireless-duocolor.es.js +1 -1
- package/dist/components/iot-wireless-offblack.cjs.js +1 -1
- package/dist/components/iot-wireless-offblack.es.js +1 -1
- package/dist/components/link-duocolor.cjs.js +1 -1
- package/dist/components/link-duocolor.es.js +1 -1
- package/dist/components/link-offblack.cjs.js +1 -1
- package/dist/components/link-offblack.es.js +1 -1
- package/dist/components/lock-duocolor.cjs.js +1 -1
- package/dist/components/lock-duocolor.es.js +1 -1
- package/dist/components/lock-offblack.cjs.js +1 -1
- package/dist/components/lock-offblack.es.js +1 -1
- package/dist/components/magnifying-glass-growth-duocolor.cjs.js +1 -1
- package/dist/components/magnifying-glass-growth-duocolor.es.js +1 -1
- package/dist/components/magnifying-glass-growth-offblack.cjs.js +1 -1
- package/dist/components/magnifying-glass-growth-offblack.es.js +1 -1
- package/dist/components/mast-duocolor.cjs.js +1 -1
- package/dist/components/mast-duocolor.es.js +1 -1
- package/dist/components/mast-offblack.cjs.js +1 -1
- package/dist/components/mast-offblack.es.js +1 -1
- package/dist/components/media-entertainment-duocolor.cjs.js +1 -1
- package/dist/components/media-entertainment-duocolor.es.js +1 -1
- package/dist/components/media-entertainment-offblack.cjs.js +1 -1
- package/dist/components/media-entertainment-offblack.es.js +1 -1
- package/dist/components/money-euro-duocolor.cjs.js +1 -1
- package/dist/components/money-euro-duocolor.es.js +1 -1
- package/dist/components/money-euro-offblack.cjs.js +1 -1
- package/dist/components/money-euro-offblack.es.js +1 -1
- package/dist/components/money-kr-duocolor.cjs.js +1 -1
- package/dist/components/money-kr-duocolor.es.js +1 -1
- package/dist/components/money-kr-offblack.cjs.js +1 -1
- package/dist/components/money-kr-offblack.es.js +1 -1
- package/dist/components/people-dialogue-duocolor.cjs.js +1 -1
- package/dist/components/people-dialogue-duocolor.es.js +1 -1
- package/dist/components/people-dialogue-offblack.cjs.js +1 -1
- package/dist/components/people-dialogue-offblack.es.js +1 -1
- package/dist/components/phone-wireless-duocolor.cjs.js +1 -1
- package/dist/components/phone-wireless-duocolor.es.js +1 -1
- package/dist/components/phone-wireless-offblack.cjs.js +1 -1
- package/dist/components/phone-wireless-offblack.es.js +1 -1
- package/dist/components/satellite-dish-duocolor.cjs.js +1 -1
- package/dist/components/satellite-dish-duocolor.es.js +1 -1
- package/dist/components/satellite-dish-offblack.cjs.js +1 -1
- package/dist/components/satellite-dish-offblack.es.js +1 -1
- package/dist/components/satellite-duocolor.cjs.js +1 -1
- package/dist/components/satellite-duocolor.es.js +1 -1
- package/dist/components/satellite-offblack.cjs.js +1 -1
- package/dist/components/satellite-offblack.es.js +1 -1
- package/dist/components/screen-settings-checkmark-duocolor.cjs.js +1 -1
- package/dist/components/screen-settings-checkmark-duocolor.es.js +1 -1
- package/dist/components/screen-settings-checkmark-offblack.cjs.js +1 -1
- package/dist/components/screen-settings-checkmark-offblack.es.js +1 -1
- package/dist/components/search-duocolor.cjs.js +1 -1
- package/dist/components/search-duocolor.es.js +1 -1
- package/dist/components/search-field-duocolor.cjs.js +1 -1
- package/dist/components/search-field-duocolor.es.js +1 -1
- package/dist/components/search-field-offblack.cjs.js +1 -1
- package/dist/components/search-field-offblack.es.js +1 -1
- package/dist/components/search-offblack.cjs.js +1 -1
- package/dist/components/search-offblack.es.js +1 -1
- package/dist/components/search-question-duocolor.cjs.js +1 -1
- package/dist/components/search-question-duocolor.es.js +1 -1
- package/dist/components/search-question-offblack.cjs.js +1 -1
- package/dist/components/search-question-offblack.es.js +1 -1
- package/dist/components/settings-loop-duocolor.cjs.js +1 -1
- package/dist/components/settings-loop-duocolor.es.js +1 -1
- package/dist/components/settings-loop-offblack.cjs.js +1 -1
- package/dist/components/settings-loop-offblack.es.js +1 -1
- package/dist/components/settings-time-duocolor.cjs.js +1 -1
- package/dist/components/settings-time-duocolor.es.js +1 -1
- package/dist/components/settings-time-offblack.cjs.js +1 -1
- package/dist/components/settings-time-offblack.es.js +1 -1
- package/dist/components/shield-fingerprint-duocolor.cjs.js +1 -1
- package/dist/components/shield-fingerprint-duocolor.es.js +1 -1
- package/dist/components/shield-fingerprint-offblack.cjs.js +1 -1
- package/dist/components/shield-fingerprint-offblack.es.js +1 -1
- package/dist/components/shield-lock-connectivity-duocolor.cjs.js +1 -1
- package/dist/components/shield-lock-connectivity-duocolor.es.js +1 -1
- package/dist/components/shield-lock-connectivity-offblack.cjs.js +1 -1
- package/dist/components/shield-lock-connectivity-offblack.es.js +1 -1
- package/dist/components/shield-lock-duocolor.cjs.js +1 -1
- package/dist/components/shield-lock-duocolor.es.js +1 -1
- package/dist/components/shield-lock-offblack.cjs.js +1 -1
- package/dist/components/shield-lock-offblack.es.js +1 -1
- package/dist/components/shield-lock-puzzle-duocolor.cjs.js +1 -1
- package/dist/components/shield-lock-puzzle-duocolor.es.js +1 -1
- package/dist/components/shield-lock-puzzle-offblack.cjs.js +1 -1
- package/dist/components/shield-lock-puzzle-offblack.es.js +1 -1
- package/dist/components/ship-duocolor.cjs.js +1 -1
- package/dist/components/ship-duocolor.es.js +1 -1
- package/dist/components/ship-offblack.cjs.js +1 -1
- package/dist/components/ship-offblack.es.js +1 -1
- package/dist/components/skyscraper-duocolor.cjs.js +1 -1
- package/dist/components/skyscraper-duocolor.es.js +1 -1
- package/dist/components/skyscraper-offblack.cjs.js +1 -1
- package/dist/components/skyscraper-offblack.es.js +1 -1
- package/dist/components/smart-family-duocolor.cjs.js +1 -1
- package/dist/components/smart-family-duocolor.es.js +1 -1
- package/dist/components/smart-family-offblack.cjs.js +1 -1
- package/dist/components/smart-family-offblack.es.js +1 -1
- package/dist/components/smartphone-broken-duocolor.cjs.js +1 -1
- package/dist/components/smartphone-broken-duocolor.es.js +1 -1
- package/dist/components/smartphone-broken-offblack.cjs.js +1 -1
- package/dist/components/smartphone-broken-offblack.es.js +1 -1
- package/dist/components/smartphone-duocolor.cjs.js +1 -1
- package/dist/components/smartphone-duocolor.es.js +1 -1
- package/dist/components/smartphone-internet-duocolor.cjs.js +1 -1
- package/dist/components/smartphone-internet-duocolor.es.js +1 -1
- package/dist/components/smartphone-internet-offblack.cjs.js +1 -1
- package/dist/components/smartphone-internet-offblack.es.js +1 -1
- package/dist/components/smartphone-offblack.cjs.js +1 -1
- package/dist/components/smartphone-offblack.es.js +1 -1
- package/dist/components/smartphone-recycle-duocolor.cjs.js +1 -1
- package/dist/components/smartphone-recycle-duocolor.es.js +1 -1
- package/dist/components/smartphone-recycle-offblack.cjs.js +1 -1
- package/dist/components/smartphone-recycle-offblack.es.js +1 -1
- package/dist/components/smartphone-ringing-duocolor.cjs.js +1 -1
- package/dist/components/smartphone-ringing-duocolor.es.js +1 -1
- package/dist/components/smartphone-ringing-offblack.cjs.js +1 -1
- package/dist/components/smartphone-ringing-offblack.es.js +1 -1
- package/dist/components/smartphone-wireless-duocolor.cjs.js +1 -1
- package/dist/components/smartphone-wireless-duocolor.es.js +1 -1
- package/dist/components/smartphone-wireless-offblack.cjs.js +1 -1
- package/dist/components/smartphone-wireless-offblack.es.js +1 -1
- package/dist/components/subway-duocolor.cjs.js +1 -1
- package/dist/components/subway-duocolor.es.js +1 -1
- package/dist/components/subway-offblack.cjs.js +1 -1
- package/dist/components/subway-offblack.es.js +1 -1
- package/dist/components/support-checkmark-duocolor.cjs.js +1 -1
- package/dist/components/support-checkmark-duocolor.es.js +1 -1
- package/dist/components/support-checkmark-offblack.cjs.js +1 -1
- package/dist/components/support-checkmark-offblack.es.js +1 -1
- package/dist/components/sync-duocolor.cjs.js +1 -1
- package/dist/components/sync-duocolor.es.js +1 -1
- package/dist/components/sync-offblack.cjs.js +1 -1
- package/dist/components/sync-offblack.es.js +1 -1
- package/dist/components/table-question-duocolor-animated.cjs.js +1 -1
- package/dist/components/table-question-duocolor-animated.es.js +1 -1
- package/dist/components/table-question-duocolor-static.cjs.js +1 -1
- package/dist/components/table-question-duocolor-static.es.js +1 -1
- package/dist/components/table-question-offblack-animated.cjs.js +1 -1
- package/dist/components/table-question-offblack-animated.es.js +1 -1
- package/dist/components/table-question-offblack-static.cjs.js +1 -1
- package/dist/components/table-question-offblack-static.es.js +1 -1
- package/dist/components/target-duocolor.cjs.js +1 -1
- package/dist/components/target-duocolor.es.js +1 -1
- package/dist/components/target-offblack.cjs.js +1 -1
- package/dist/components/target-offblack.es.js +1 -1
- package/dist/components/technical-error-duocolor.cjs.js +1 -1
- package/dist/components/technical-error-duocolor.es.js +1 -1
- package/dist/components/technical-error-offblack.cjs.js +1 -1
- package/dist/components/technical-error-offblack.es.js +1 -1
- package/dist/components/train-duocolor.cjs.js +1 -1
- package/dist/components/train-duocolor.es.js +1 -1
- package/dist/components/train-offblack.cjs.js +1 -1
- package/dist/components/train-offblack.es.js +1 -1
- package/dist/components/trees-duocolor.cjs.js +1 -1
- package/dist/components/trees-duocolor.es.js +1 -1
- package/dist/components/trees-offblack.cjs.js +1 -1
- package/dist/components/trees-offblack.es.js +1 -1
- package/dist/components/truck-duocolor.cjs.js +1 -1
- package/dist/components/truck-duocolor.es.js +1 -1
- package/dist/components/truck-offblack.cjs.js +1 -1
- package/dist/components/truck-offblack.es.js +1 -1
- package/dist/components/user-checkmark-duocolor.cjs.js +1 -1
- package/dist/components/user-checkmark-duocolor.es.js +1 -1
- package/dist/components/user-checkmark-offblack.cjs.js +1 -1
- package/dist/components/user-checkmark-offblack.es.js +1 -1
- package/dist/components/user-error-duocolor.cjs.js +1 -1
- package/dist/components/user-error-duocolor.es.js +1 -1
- package/dist/components/user-error-offblack.cjs.js +1 -1
- package/dist/components/user-error-offblack.es.js +1 -1
- package/dist/components/user-lock-duocolor.cjs.js +1 -1
- package/dist/components/user-lock-duocolor.es.js +1 -1
- package/dist/components/user-lock-offblack.cjs.js +1 -1
- package/dist/components/user-lock-offblack.es.js +1 -1
- package/dist/components/user-logout-duocolor-animated.cjs.js +1 -1
- package/dist/components/user-logout-duocolor-animated.es.js +1 -1
- package/dist/components/user-logout-duocolor-static.cjs.js +1 -1
- package/dist/components/user-logout-duocolor-static.es.js +1 -1
- package/dist/components/user-logout-offblack-animated.cjs.js +1 -1
- package/dist/components/user-logout-offblack-animated.es.js +1 -1
- package/dist/components/user-logout-offblack-static.cjs.js +1 -1
- package/dist/components/user-logout-offblack-static.es.js +1 -1
- package/dist/components/user-plus-duocolor.cjs.js +1 -1
- package/dist/components/user-plus-duocolor.es.js +1 -1
- package/dist/components/user-plus-offblack.cjs.js +1 -1
- package/dist/components/user-plus-offblack.es.js +1 -1
- package/dist/components/user-settings-duocolor.cjs.js +1 -1
- package/dist/components/user-settings-duocolor.es.js +1 -1
- package/dist/components/user-settings-offblack.cjs.js +1 -1
- package/dist/components/user-settings-offblack.es.js +1 -1
- package/dist/components/video-meeting-duocolor.cjs.js +1 -1
- package/dist/components/video-meeting-duocolor.es.js +1 -1
- package/dist/components/video-meeting-offblack.cjs.js +1 -1
- package/dist/components/video-meeting-offblack.es.js +1 -1
- package/dist/components/video-surveillance-cloud-duocolor.cjs.js +1 -1
- package/dist/components/video-surveillance-cloud-duocolor.es.js +1 -1
- package/dist/components/video-surveillance-cloud-offblack.cjs.js +1 -1
- package/dist/components/video-surveillance-cloud-offblack.es.js +1 -1
- package/dist/components/video-surveillance-duocolor.cjs.js +1 -1
- package/dist/components/video-surveillance-duocolor.es.js +1 -1
- package/dist/components/video-surveillance-offblack.cjs.js +1 -1
- package/dist/components/video-surveillance-offblack.es.js +1 -1
- package/dist/components/workshop-duocolor.cjs.js +1 -1
- package/dist/components/workshop-duocolor.es.js +1 -1
- package/dist/components/workshop-offblack.cjs.js +1 -1
- package/dist/components/workshop-offblack.es.js +1 -1
- package/dist/components/world-close-duocolor.cjs.js +1 -1
- package/dist/components/world-close-duocolor.es.js +1 -1
- package/dist/components/world-close-offblack.cjs.js +1 -1
- package/dist/components/world-close-offblack.es.js +1 -1
- package/dist/components/world-duocolor.cjs.js +1 -1
- package/dist/components/world-duocolor.es.js +1 -1
- package/dist/components/world-offblack.cjs.js +1 -1
- package/dist/components/world-offblack.es.js +1 -1
- package/dist/components/world-questionmark-duocolor.cjs.js +1 -1
- package/dist/components/world-questionmark-duocolor.es.js +1 -1
- package/dist/components/world-questionmark-offblack.cjs.js +1 -1
- package/dist/components/world-questionmark-offblack.es.js +1 -1
- package/dist/illustrative-icon.cjs.js +2 -9
- package/dist/illustrative-icon.cjs.js.map +1 -1
- package/dist/illustrative-icon.es.js +419 -428
- package/dist/illustrative-icon.es.js.map +1 -1
- package/dist/{static-illustrative-icon-DIeg3Adi.mjs → static-illustrative-icon-B1ddcvze.mjs} +1 -6
- package/dist/{static-illustrative-icon-DIeg3Adi.mjs.map → static-illustrative-icon-B1ddcvze.mjs.map} +1 -1
- package/dist/static-illustrative-icon-C_cdAVSb.js +2 -0
- package/dist/{static-illustrative-icon-Cat-UTcO.js.map → static-illustrative-icon-C_cdAVSb.js.map} +1 -1
- package/package.json +24 -24
- package/dist/animated-illustrative-icon-B7VXVLhr.js +0 -10
- package/dist/static-illustrative-icon-Cat-UTcO.js +0 -6
package/dist/{animated-illustrative-icon-CJxecut6.mjs → animated-illustrative-icon-saKeBxEm.mjs}
RENAMED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { jsx as fs } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as vr, useRef as ps, useState as mr, useEffect as us } from "react";
|
|
3
3
|
import { g as gr } from "./_commonjsHelpers-C6fGbg64.mjs";
|
|
4
|
-
var
|
|
4
|
+
var Fe = { exports: {} }, yr = Fe.exports, cs;
|
|
5
5
|
function _r() {
|
|
6
|
-
return cs || (cs = 1, (function(
|
|
7
|
-
typeof document < "u" && typeof navigator < "u" && (function(
|
|
8
|
-
|
|
6
|
+
return cs || (cs = 1, (function(Ie, fe) {
|
|
7
|
+
typeof document < "u" && typeof navigator < "u" && (function(pe, Ht) {
|
|
8
|
+
Ie.exports = Ht();
|
|
9
9
|
})(yr, (function() {
|
|
10
|
-
var
|
|
11
|
-
|
|
12
|
-
},
|
|
13
|
-
return
|
|
14
|
-
},
|
|
15
|
-
|
|
10
|
+
var pe = "http://www.w3.org/2000/svg", Ht = "", Le = !1, ue = -999999, Zt = function(e) {
|
|
11
|
+
Le = !!e;
|
|
12
|
+
}, Mt = function() {
|
|
13
|
+
return Le;
|
|
14
|
+
}, ce = function(e) {
|
|
15
|
+
Ht = e;
|
|
16
16
|
}, at = function() {
|
|
17
|
-
return
|
|
17
|
+
return Ht;
|
|
18
18
|
};
|
|
19
19
|
function _t(t) {
|
|
20
20
|
return document.createElement(t);
|
|
@@ -32,7 +32,7 @@ function _r() {
|
|
|
32
32
|
}
|
|
33
33
|
return e.prototype = t, e;
|
|
34
34
|
}
|
|
35
|
-
var
|
|
35
|
+
var Ve = (function() {
|
|
36
36
|
function t(e) {
|
|
37
37
|
this.audios = [], this.audioFactory = e, this._volume = 1, this._isMuted = !1;
|
|
38
38
|
}
|
|
@@ -123,7 +123,7 @@ function _r() {
|
|
|
123
123
|
length: t
|
|
124
124
|
});
|
|
125
125
|
}
|
|
126
|
-
var
|
|
126
|
+
var de = !0, ve = null, ie = "", Re = /^((?!chrome|android).)*safari/i.test(navigator.userAgent), Pt = Math.pow, gi = Math.sqrt, Kt = Math.floor, ds = Math.min, yi = 150, Q = Math.PI / 180, Ot = 0.5519;
|
|
127
127
|
function ti(t, e, i, s) {
|
|
128
128
|
this.type = t, this.currentTime = e, this.totalTime = i, this.direction = s < 0 ? -1 : 1;
|
|
129
129
|
}
|
|
@@ -136,7 +136,7 @@ function _r() {
|
|
|
136
136
|
function Si(t, e, i) {
|
|
137
137
|
this.type = t, this.firstFrame = e, this.totalFrames = i;
|
|
138
138
|
}
|
|
139
|
-
function
|
|
139
|
+
function Ai(t, e) {
|
|
140
140
|
this.type = t, this.target = e;
|
|
141
141
|
}
|
|
142
142
|
function vs(t, e) {
|
|
@@ -148,7 +148,7 @@ function _r() {
|
|
|
148
148
|
var pt = /* @__PURE__ */ (function() {
|
|
149
149
|
var t = 0;
|
|
150
150
|
return function() {
|
|
151
|
-
return t += 1,
|
|
151
|
+
return t += 1, ie + "__lottie_element_" + t;
|
|
152
152
|
};
|
|
153
153
|
})();
|
|
154
154
|
function ei(t, e, i) {
|
|
@@ -193,11 +193,11 @@ function _r() {
|
|
|
193
193
|
}
|
|
194
194
|
return [o, c, h];
|
|
195
195
|
}
|
|
196
|
-
function
|
|
196
|
+
function Pi(t, e) {
|
|
197
197
|
var i = ii(t[0] * 255, t[1] * 255, t[2] * 255);
|
|
198
198
|
return i[1] += e, i[1] > 1 ? i[1] = 1 : i[1] <= 0 && (i[1] = 0), ei(i[0], i[1], i[2]);
|
|
199
199
|
}
|
|
200
|
-
function
|
|
200
|
+
function ki(t, e) {
|
|
201
201
|
var i = ii(t[0] * 255, t[1] * 255, t[2] * 255);
|
|
202
202
|
return i[2] += e, i[2] > 1 ? i[2] = 1 : i[2] < 0 && (i[2] = 0), ei(i[0], i[1], i[2]);
|
|
203
203
|
}
|
|
@@ -214,22 +214,22 @@ function _r() {
|
|
|
214
214
|
};
|
|
215
215
|
})();
|
|
216
216
|
var gs = function(e) {
|
|
217
|
-
|
|
217
|
+
de = !!e;
|
|
218
218
|
}, ys = function() {
|
|
219
|
-
return
|
|
219
|
+
return de;
|
|
220
220
|
}, _s = function(e) {
|
|
221
|
-
|
|
221
|
+
ve = e;
|
|
222
222
|
}, Oe = function() {
|
|
223
|
-
return
|
|
223
|
+
return ve;
|
|
224
224
|
}, Be = function(e) {
|
|
225
225
|
yi = e;
|
|
226
226
|
}, Ne = function() {
|
|
227
227
|
return yi;
|
|
228
228
|
}, bs = function(e) {
|
|
229
|
-
|
|
229
|
+
ie = e;
|
|
230
230
|
};
|
|
231
231
|
function W(t) {
|
|
232
|
-
return document.createElementNS(
|
|
232
|
+
return document.createElementNS(pe, t);
|
|
233
233
|
}
|
|
234
234
|
function si(t) {
|
|
235
235
|
"@babel/helpers - typeof";
|
|
@@ -239,7 +239,7 @@ function _r() {
|
|
|
239
239
|
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
|
240
240
|
}, si(t);
|
|
241
241
|
}
|
|
242
|
-
var
|
|
242
|
+
var me = /* @__PURE__ */ (function() {
|
|
243
243
|
var t = 1, e = [], i, s, n = {
|
|
244
244
|
onmessage: function() {
|
|
245
245
|
},
|
|
@@ -256,23 +256,23 @@ function _r() {
|
|
|
256
256
|
}
|
|
257
257
|
};
|
|
258
258
|
function o(p) {
|
|
259
|
-
if (window.Worker && window.Blob &&
|
|
259
|
+
if (window.Worker && window.Blob && Mt()) {
|
|
260
260
|
var b = new Blob(["var _workerSelf = self; self.onmessage = ", p.toString()], {
|
|
261
261
|
type: "text/javascript"
|
|
262
|
-
}),
|
|
263
|
-
return new Worker(
|
|
262
|
+
}), P = URL.createObjectURL(b);
|
|
263
|
+
return new Worker(P);
|
|
264
264
|
}
|
|
265
265
|
return i = p, n;
|
|
266
266
|
}
|
|
267
267
|
function c() {
|
|
268
268
|
s || (s = o(function(b) {
|
|
269
|
-
function
|
|
269
|
+
function P() {
|
|
270
270
|
function C(F, d) {
|
|
271
|
-
var
|
|
271
|
+
var A, a, l = F.length, E, w, R, z;
|
|
272
272
|
for (a = 0; a < l; a += 1)
|
|
273
|
-
if (
|
|
274
|
-
if (
|
|
275
|
-
var D =
|
|
273
|
+
if (A = F[a], "ks" in A && !A.completed) {
|
|
274
|
+
if (A.completed = !0, A.hasMask) {
|
|
275
|
+
var D = A.masksProperties;
|
|
276
276
|
for (w = D.length, E = 0; E < w; E += 1)
|
|
277
277
|
if (D[E].pt.k.i)
|
|
278
278
|
g(D[E].pt.k);
|
|
@@ -280,31 +280,31 @@ function _r() {
|
|
|
280
280
|
for (z = D[E].pt.k.length, R = 0; R < z; R += 1)
|
|
281
281
|
D[E].pt.k[R].s && g(D[E].pt.k[R].s[0]), D[E].pt.k[R].e && g(D[E].pt.k[R].e[0]);
|
|
282
282
|
}
|
|
283
|
-
|
|
283
|
+
A.ty === 0 ? (A.layers = f(A.refId, d), C(A.layers, d)) : A.ty === 4 ? u(A.shapes) : A.ty === 5 && G(A);
|
|
284
284
|
}
|
|
285
285
|
}
|
|
286
286
|
function y(F, d) {
|
|
287
287
|
if (F) {
|
|
288
|
-
var
|
|
289
|
-
for (
|
|
290
|
-
F[
|
|
288
|
+
var A = 0, a = F.length;
|
|
289
|
+
for (A = 0; A < a; A += 1)
|
|
290
|
+
F[A].t === 1 && (F[A].data.layers = f(F[A].data.refId, d), C(F[A].data.layers, d));
|
|
291
291
|
}
|
|
292
292
|
}
|
|
293
293
|
function v(F, d) {
|
|
294
|
-
for (var
|
|
295
|
-
if (d[
|
|
296
|
-
return d[
|
|
297
|
-
|
|
294
|
+
for (var A = 0, a = d.length; A < a; ) {
|
|
295
|
+
if (d[A].id === F)
|
|
296
|
+
return d[A];
|
|
297
|
+
A += 1;
|
|
298
298
|
}
|
|
299
299
|
return null;
|
|
300
300
|
}
|
|
301
301
|
function f(F, d) {
|
|
302
|
-
var
|
|
303
|
-
return
|
|
302
|
+
var A = v(F, d);
|
|
303
|
+
return A ? A.layers.__used ? JSON.parse(JSON.stringify(A.layers)) : (A.layers.__used = !0, A.layers) : null;
|
|
304
304
|
}
|
|
305
305
|
function u(F) {
|
|
306
|
-
var d,
|
|
307
|
-
for (d =
|
|
306
|
+
var d, A = F.length, a, l;
|
|
307
|
+
for (d = A - 1; d >= 0; d -= 1)
|
|
308
308
|
if (F[d].ty === "sh")
|
|
309
309
|
if (F[d].ks.k.i)
|
|
310
310
|
g(F[d].ks.k);
|
|
@@ -314,13 +314,13 @@ function _r() {
|
|
|
314
314
|
else F[d].ty === "gr" && u(F[d].it);
|
|
315
315
|
}
|
|
316
316
|
function g(F) {
|
|
317
|
-
var d,
|
|
318
|
-
for (d = 0; d <
|
|
317
|
+
var d, A = F.i.length;
|
|
318
|
+
for (d = 0; d < A; d += 1)
|
|
319
319
|
F.i[d][0] += F.v[d][0], F.i[d][1] += F.v[d][1], F.o[d][0] += F.v[d][0], F.o[d][1] += F.v[d][1];
|
|
320
320
|
}
|
|
321
|
-
function
|
|
322
|
-
var
|
|
323
|
-
return F[0] >
|
|
321
|
+
function k(F, d) {
|
|
322
|
+
var A = d ? d.split(".") : [100, 100, 100];
|
|
323
|
+
return F[0] > A[0] ? !0 : A[0] > F[0] ? !1 : F[1] > A[1] ? !0 : A[1] > F[1] ? !1 : F[2] > A[2] ? !0 : A[2] > F[2] ? !1 : null;
|
|
324
324
|
}
|
|
325
325
|
var T = /* @__PURE__ */ (function() {
|
|
326
326
|
var F = [4, 4, 14];
|
|
@@ -333,25 +333,25 @@ function _r() {
|
|
|
333
333
|
}]
|
|
334
334
|
};
|
|
335
335
|
}
|
|
336
|
-
function
|
|
336
|
+
function A(a) {
|
|
337
337
|
var l, E = a.length;
|
|
338
338
|
for (l = 0; l < E; l += 1)
|
|
339
339
|
a[l].ty === 5 && d(a[l]);
|
|
340
340
|
}
|
|
341
341
|
return function(a) {
|
|
342
|
-
if (
|
|
342
|
+
if (k(F, a.v) && (A(a.layers), a.assets)) {
|
|
343
343
|
var l, E = a.assets.length;
|
|
344
344
|
for (l = 0; l < E; l += 1)
|
|
345
|
-
a.assets[l].layers &&
|
|
345
|
+
a.assets[l].layers && A(a.assets[l].layers);
|
|
346
346
|
}
|
|
347
347
|
};
|
|
348
348
|
})(), x = /* @__PURE__ */ (function() {
|
|
349
349
|
var F = [4, 7, 99];
|
|
350
350
|
return function(d) {
|
|
351
|
-
if (d.chars && !
|
|
352
|
-
var
|
|
353
|
-
for (
|
|
354
|
-
var l = d.chars[
|
|
351
|
+
if (d.chars && !k(F, d.v)) {
|
|
352
|
+
var A, a = d.chars.length;
|
|
353
|
+
for (A = 0; A < a; A += 1) {
|
|
354
|
+
var l = d.chars[A];
|
|
355
355
|
l.data && l.data.shapes && (u(l.data.shapes), l.data.ip = 0, l.data.op = 99999, l.data.st = 0, l.data.sr = 1, l.data.ks = {
|
|
356
356
|
p: {
|
|
357
357
|
k: [0, 0],
|
|
@@ -373,7 +373,7 @@ function _r() {
|
|
|
373
373
|
k: 100,
|
|
374
374
|
a: 0
|
|
375
375
|
}
|
|
376
|
-
}, d.chars[
|
|
376
|
+
}, d.chars[A].t || (l.data.shapes.push({
|
|
377
377
|
ty: "no"
|
|
378
378
|
}), l.data.shapes[0].it.push({
|
|
379
379
|
p: {
|
|
@@ -424,16 +424,16 @@ function _r() {
|
|
|
424
424
|
k: l.r
|
|
425
425
|
});
|
|
426
426
|
}
|
|
427
|
-
function
|
|
427
|
+
function A(a) {
|
|
428
428
|
var l, E = a.length;
|
|
429
429
|
for (l = 0; l < E; l += 1)
|
|
430
430
|
a[l].ty === 5 && d(a[l]);
|
|
431
431
|
}
|
|
432
432
|
return function(a) {
|
|
433
|
-
if (
|
|
433
|
+
if (k(F, a.v) && (A(a.layers), a.assets)) {
|
|
434
434
|
var l, E = a.assets.length;
|
|
435
435
|
for (l = 0; l < E; l += 1)
|
|
436
|
-
a.assets[l].layers &&
|
|
436
|
+
a.assets[l].layers && A(a.assets[l].layers);
|
|
437
437
|
}
|
|
438
438
|
};
|
|
439
439
|
})(), q = /* @__PURE__ */ (function() {
|
|
@@ -450,16 +450,16 @@ function _r() {
|
|
|
450
450
|
else
|
|
451
451
|
a[l].c.k[0] /= 255, a[l].c.k[1] /= 255, a[l].c.k[2] /= 255, a[l].c.k[3] /= 255;
|
|
452
452
|
}
|
|
453
|
-
function
|
|
453
|
+
function A(a) {
|
|
454
454
|
var l, E = a.length;
|
|
455
455
|
for (l = 0; l < E; l += 1)
|
|
456
456
|
a[l].ty === 4 && d(a[l].shapes);
|
|
457
457
|
}
|
|
458
458
|
return function(a) {
|
|
459
|
-
if (
|
|
459
|
+
if (k(F, a.v) && (A(a.layers), a.assets)) {
|
|
460
460
|
var l, E = a.assets.length;
|
|
461
461
|
for (l = 0; l < E; l += 1)
|
|
462
|
-
a.assets[l].layers &&
|
|
462
|
+
a.assets[l].layers && A(a.assets[l].layers);
|
|
463
463
|
}
|
|
464
464
|
};
|
|
465
465
|
})(), N = /* @__PURE__ */ (function() {
|
|
@@ -475,7 +475,7 @@ function _r() {
|
|
|
475
475
|
a[l].ks.k[w].s && (a[l].ks.k[w].s[0].c = a[l].closed), a[l].ks.k[w].e && (a[l].ks.k[w].e[0].c = a[l].closed);
|
|
476
476
|
else a[l].ty === "gr" && d(a[l].it);
|
|
477
477
|
}
|
|
478
|
-
function
|
|
478
|
+
function A(a) {
|
|
479
479
|
var l, E, w = a.length, R, z, D, Y;
|
|
480
480
|
for (E = 0; E < w; E += 1) {
|
|
481
481
|
if (l = a[E], l.hasMask) {
|
|
@@ -491,10 +491,10 @@ function _r() {
|
|
|
491
491
|
}
|
|
492
492
|
}
|
|
493
493
|
return function(a) {
|
|
494
|
-
if (
|
|
494
|
+
if (k(F, a.v) && (A(a.layers), a.assets)) {
|
|
495
495
|
var l, E = a.assets.length;
|
|
496
496
|
for (l = 0; l < E; l += 1)
|
|
497
|
-
a.assets[l].layers &&
|
|
497
|
+
a.assets[l].layers && A(a.assets[l].layers);
|
|
498
498
|
}
|
|
499
499
|
};
|
|
500
500
|
})();
|
|
@@ -507,13 +507,13 @@ function _r() {
|
|
|
507
507
|
var O = {};
|
|
508
508
|
return O.completeData = L, O.checkColors = q, O.checkChars = x, O.checkPathProperties = I, O.checkShapes = N, O.completeLayers = C, O;
|
|
509
509
|
}
|
|
510
|
-
if (r.dataManager || (r.dataManager =
|
|
510
|
+
if (r.dataManager || (r.dataManager = P()), r.assetLoader || (r.assetLoader = /* @__PURE__ */ (function() {
|
|
511
511
|
function C(v) {
|
|
512
512
|
var f = v.getResponseHeader("content-type");
|
|
513
513
|
return f && v.responseType === "json" && f.indexOf("json") !== -1 || v.response && si(v.response) === "object" ? v.response : v.response && typeof v.response == "string" ? JSON.parse(v.response) : v.responseText ? JSON.parse(v.responseText) : null;
|
|
514
514
|
}
|
|
515
515
|
function y(v, f, u, g) {
|
|
516
|
-
var
|
|
516
|
+
var k, T = new XMLHttpRequest();
|
|
517
517
|
try {
|
|
518
518
|
T.responseType = "json";
|
|
519
519
|
} catch {
|
|
@@ -521,10 +521,10 @@ function _r() {
|
|
|
521
521
|
T.onreadystatechange = function() {
|
|
522
522
|
if (T.readyState === 4)
|
|
523
523
|
if (T.status === 200)
|
|
524
|
-
|
|
524
|
+
k = C(T), u(k);
|
|
525
525
|
else
|
|
526
526
|
try {
|
|
527
|
-
|
|
527
|
+
k = C(T), u(k);
|
|
528
528
|
} catch (x) {
|
|
529
529
|
g && g(x);
|
|
530
530
|
}
|
|
@@ -572,21 +572,21 @@ function _r() {
|
|
|
572
572
|
});
|
|
573
573
|
});
|
|
574
574
|
}), s.onmessage = function(p) {
|
|
575
|
-
var b = p.data,
|
|
576
|
-
e[
|
|
575
|
+
var b = p.data, P = b.id, S = e[P];
|
|
576
|
+
e[P] = null, b.status === "success" ? S.onComplete(b.payload) : S.onError && S.onError();
|
|
577
577
|
});
|
|
578
578
|
}
|
|
579
579
|
function h(p, b) {
|
|
580
580
|
t += 1;
|
|
581
|
-
var
|
|
582
|
-
return e[
|
|
581
|
+
var P = "processId_" + t;
|
|
582
|
+
return e[P] = {
|
|
583
583
|
onComplete: p,
|
|
584
584
|
onError: b
|
|
585
|
-
},
|
|
585
|
+
}, P;
|
|
586
586
|
}
|
|
587
|
-
function m(p, b,
|
|
587
|
+
function m(p, b, P) {
|
|
588
588
|
c();
|
|
589
|
-
var S = h(b,
|
|
589
|
+
var S = h(b, P);
|
|
590
590
|
s.postMessage({
|
|
591
591
|
type: "loadAnimation",
|
|
592
592
|
path: p,
|
|
@@ -594,9 +594,9 @@ function _r() {
|
|
|
594
594
|
id: S
|
|
595
595
|
});
|
|
596
596
|
}
|
|
597
|
-
function _(p, b,
|
|
597
|
+
function _(p, b, P) {
|
|
598
598
|
c();
|
|
599
|
-
var S = h(b,
|
|
599
|
+
var S = h(b, P);
|
|
600
600
|
s.postMessage({
|
|
601
601
|
type: "loadData",
|
|
602
602
|
path: p,
|
|
@@ -604,9 +604,9 @@ function _r() {
|
|
|
604
604
|
id: S
|
|
605
605
|
});
|
|
606
606
|
}
|
|
607
|
-
function M(p, b,
|
|
607
|
+
function M(p, b, P) {
|
|
608
608
|
c();
|
|
609
|
-
var S = h(b,
|
|
609
|
+
var S = h(b, P);
|
|
610
610
|
s.postMessage({
|
|
611
611
|
type: "complete",
|
|
612
612
|
animation: p,
|
|
@@ -674,7 +674,7 @@ function _r() {
|
|
|
674
674
|
var v = {
|
|
675
675
|
assetData: y
|
|
676
676
|
}, f = s(y, this.assetsPath, this.path);
|
|
677
|
-
return
|
|
677
|
+
return me.loadData(f, (function(u) {
|
|
678
678
|
v.img = u, this._footageLoaded();
|
|
679
679
|
}).bind(this), (function() {
|
|
680
680
|
v.img = {}, this._footageLoaded();
|
|
@@ -706,7 +706,7 @@ function _r() {
|
|
|
706
706
|
function b() {
|
|
707
707
|
return this.totalImages === this.loadedAssets;
|
|
708
708
|
}
|
|
709
|
-
function
|
|
709
|
+
function P() {
|
|
710
710
|
return this.totalFootages === this.loadedFootagesCount;
|
|
711
711
|
}
|
|
712
712
|
function S(y, v) {
|
|
@@ -720,7 +720,7 @@ function _r() {
|
|
|
720
720
|
setAssetsPath: _,
|
|
721
721
|
setPath: m,
|
|
722
722
|
loadedImages: b,
|
|
723
|
-
loadedFootages:
|
|
723
|
+
loadedFootages: P,
|
|
724
724
|
destroy: p,
|
|
725
725
|
getAsset: M,
|
|
726
726
|
createImgData: o,
|
|
@@ -753,7 +753,7 @@ function _r() {
|
|
|
753
753
|
}
|
|
754
754
|
}
|
|
755
755
|
};
|
|
756
|
-
var
|
|
756
|
+
var As = /* @__PURE__ */ (function() {
|
|
757
757
|
function t(e) {
|
|
758
758
|
for (var i = e.split(`\r
|
|
759
759
|
`), s = {}, n, r = 0, o = 0; o < i.length; o += 1)
|
|
@@ -783,7 +783,7 @@ function _r() {
|
|
|
783
783
|
}
|
|
784
784
|
return i;
|
|
785
785
|
};
|
|
786
|
-
})(),
|
|
786
|
+
})(), Ps = /* @__PURE__ */ (function() {
|
|
787
787
|
function t(e) {
|
|
788
788
|
this.compositions.push(e);
|
|
789
789
|
}
|
|
@@ -798,17 +798,17 @@ function _r() {
|
|
|
798
798
|
}
|
|
799
799
|
return e.compositions = [], e.currentFrame = 0, e.registerComposition = t, e;
|
|
800
800
|
};
|
|
801
|
-
})(),
|
|
802
|
-
|
|
801
|
+
})(), ge = {}, ks = function(e, i) {
|
|
802
|
+
ge[e] = i;
|
|
803
803
|
};
|
|
804
804
|
function ws(t) {
|
|
805
|
-
return
|
|
805
|
+
return ge[t];
|
|
806
806
|
}
|
|
807
807
|
function Cs() {
|
|
808
|
-
if (
|
|
808
|
+
if (ge.canvas)
|
|
809
809
|
return "canvas";
|
|
810
|
-
for (var t in
|
|
811
|
-
if (
|
|
810
|
+
for (var t in ge)
|
|
811
|
+
if (ge[t])
|
|
812
812
|
return t;
|
|
813
813
|
return "";
|
|
814
814
|
}
|
|
@@ -821,18 +821,18 @@ function _r() {
|
|
|
821
821
|
}, je(t);
|
|
822
822
|
}
|
|
823
823
|
var j = function() {
|
|
824
|
-
this._cbs = [], this.name = "", this.path = "", this.isLoaded = !1, this.currentFrame = 0, this.currentRawFrame = 0, this.firstFrame = 0, this.totalFrames = 0, this.frameRate = 0, this.frameMult = 0, this.playSpeed = 1, this.playDirection = 1, this.playCount = 0, this.animationData = {}, this.assets = [], this.isPaused = !0, this.autoplay = !1, this.loop = !0, this.renderer = null, this.animationID = pt(), this.assetsPath = "", this.timeCompleted = 0, this.segmentPos = 0, this.isSubframeEnabled = ys(), this.segments = [], this._idle = !0, this._completedLoop = !1, this.projectInterface =
|
|
824
|
+
this._cbs = [], this.name = "", this.path = "", this.isLoaded = !1, this.currentFrame = 0, this.currentRawFrame = 0, this.firstFrame = 0, this.totalFrames = 0, this.frameRate = 0, this.frameMult = 0, this.playSpeed = 1, this.playDirection = 1, this.playCount = 0, this.animationData = {}, this.assets = [], this.isPaused = !0, this.autoplay = !1, this.loop = !0, this.renderer = null, this.animationID = pt(), this.assetsPath = "", this.timeCompleted = 0, this.segmentPos = 0, this.isSubframeEnabled = ys(), this.segments = [], this._idle = !0, this._completedLoop = !1, this.projectInterface = Ps(), this.imagePreloader = new Ss(), this.audioController = Ve(), this.markers = [], this.configAnimation = this.configAnimation.bind(this), this.onSetupError = this.onSetupError.bind(this), this.onSegmentComplete = this.onSegmentComplete.bind(this), this.drawnFrameEvent = new ti("drawnFrame", 0, 0, 0), this.expressionsPlugin = Oe();
|
|
825
825
|
};
|
|
826
826
|
X([Ci], j), j.prototype.setParams = function(t) {
|
|
827
827
|
(t.wrapper || t.container) && (this.wrapper = t.wrapper || t.container);
|
|
828
828
|
var e = "svg";
|
|
829
829
|
t.animType ? e = t.animType : t.renderer && (e = t.renderer);
|
|
830
830
|
var i = ws(e);
|
|
831
|
-
this.renderer = new i(this, t.rendererSettings), this.imagePreloader.setCacheType(e, this.renderer.globalData.defs), this.renderer.setProjectInterface(this.projectInterface), this.animType = e, t.loop === "" || t.loop === null || t.loop === void 0 || t.loop === !0 ? this.loop = !0 : t.loop === !1 ? this.loop = !1 : this.loop = parseInt(t.loop, 10), this.autoplay = "autoplay" in t ? t.autoplay : !0, this.name = t.name ? t.name : "", this.autoloadSegments = Object.prototype.hasOwnProperty.call(t, "autoloadSegments") ? t.autoloadSegments : !0, this.assetsPath = t.assetsPath, this.initialSegment = t.initialSegment, t.audioFactory && this.audioController.setAudioFactory(t.audioFactory), t.animationData ? this.setupAnimation(t.animationData) : t.path && (t.path.lastIndexOf("\\") !== -1 ? this.path = t.path.substr(0, t.path.lastIndexOf("\\") + 1) : this.path = t.path.substr(0, t.path.lastIndexOf("/") + 1), this.fileName = t.path.substr(t.path.lastIndexOf("/") + 1), this.fileName = this.fileName.substr(0, this.fileName.lastIndexOf(".json")),
|
|
831
|
+
this.renderer = new i(this, t.rendererSettings), this.imagePreloader.setCacheType(e, this.renderer.globalData.defs), this.renderer.setProjectInterface(this.projectInterface), this.animType = e, t.loop === "" || t.loop === null || t.loop === void 0 || t.loop === !0 ? this.loop = !0 : t.loop === !1 ? this.loop = !1 : this.loop = parseInt(t.loop, 10), this.autoplay = "autoplay" in t ? t.autoplay : !0, this.name = t.name ? t.name : "", this.autoloadSegments = Object.prototype.hasOwnProperty.call(t, "autoloadSegments") ? t.autoloadSegments : !0, this.assetsPath = t.assetsPath, this.initialSegment = t.initialSegment, t.audioFactory && this.audioController.setAudioFactory(t.audioFactory), t.animationData ? this.setupAnimation(t.animationData) : t.path && (t.path.lastIndexOf("\\") !== -1 ? this.path = t.path.substr(0, t.path.lastIndexOf("\\") + 1) : this.path = t.path.substr(0, t.path.lastIndexOf("/") + 1), this.fileName = t.path.substr(t.path.lastIndexOf("/") + 1), this.fileName = this.fileName.substr(0, this.fileName.lastIndexOf(".json")), me.loadAnimation(t.path, this.configAnimation, this.onSetupError));
|
|
832
832
|
}, j.prototype.onSetupError = function() {
|
|
833
833
|
this.trigger("data_failed");
|
|
834
834
|
}, j.prototype.setupAnimation = function(t) {
|
|
835
|
-
|
|
835
|
+
me.completeAnimation(t, this.configAnimation);
|
|
836
836
|
}, j.prototype.setData = function(t, e) {
|
|
837
837
|
e && je(e) !== "object" && (e = JSON.parse(e));
|
|
838
838
|
var i = {
|
|
@@ -860,7 +860,7 @@ function _r() {
|
|
|
860
860
|
if ((t.chars || t.fonts) && (this.renderer.globalData.fontManager.addChars(t.chars), this.renderer.globalData.fontManager.addFonts(t.fonts, this.renderer.globalData.defs)), t.assets)
|
|
861
861
|
for (s = t.assets.length, i = 0; i < s; i += 1)
|
|
862
862
|
this.animationData.assets.push(t.assets[i]);
|
|
863
|
-
this.animationData.__complete = !1,
|
|
863
|
+
this.animationData.__complete = !1, me.completeAnimation(this.animationData, this.onSegmentComplete);
|
|
864
864
|
}, j.prototype.onSegmentComplete = function(t) {
|
|
865
865
|
this.animationData = t;
|
|
866
866
|
var e = Oe();
|
|
@@ -874,7 +874,7 @@ function _r() {
|
|
|
874
874
|
var e = t.shift();
|
|
875
875
|
this.timeCompleted = e.time * this.frameRate;
|
|
876
876
|
var i = this.path + this.fileName + "_" + this.segmentPos + ".json";
|
|
877
|
-
this.segmentPos += 1,
|
|
877
|
+
this.segmentPos += 1, me.loadData(i, this.includeLayers.bind(this), (function() {
|
|
878
878
|
this.trigger("data_failed");
|
|
879
879
|
}).bind(this));
|
|
880
880
|
}, j.prototype.loadSegments = function() {
|
|
@@ -887,7 +887,7 @@ function _r() {
|
|
|
887
887
|
}, j.prototype.configAnimation = function(t) {
|
|
888
888
|
if (this.renderer)
|
|
889
889
|
try {
|
|
890
|
-
this.animationData = t, this.initialSegment ? (this.totalFrames = Math.floor(this.initialSegment[1] - this.initialSegment[0]), this.firstFrame = Math.round(this.initialSegment[0])) : (this.totalFrames = Math.floor(this.animationData.op - this.animationData.ip), this.firstFrame = Math.round(this.animationData.ip)), this.renderer.configAnimation(t), t.assets || (t.assets = []), this.assets = this.animationData.assets, this.frameRate = this.animationData.fr, this.frameMult = this.animationData.fr / 1e3, this.renderer.searchExtraCompositions(t.assets), this.markers =
|
|
890
|
+
this.animationData = t, this.initialSegment ? (this.totalFrames = Math.floor(this.initialSegment[1] - this.initialSegment[0]), this.firstFrame = Math.round(this.initialSegment[0])) : (this.totalFrames = Math.floor(this.animationData.op - this.animationData.ip), this.firstFrame = Math.round(this.animationData.ip)), this.renderer.configAnimation(t), t.assets || (t.assets = []), this.assets = this.animationData.assets, this.frameRate = this.animationData.fr, this.frameMult = this.animationData.fr / 1e3, this.renderer.searchExtraCompositions(t.assets), this.markers = As(t.markers || []), this.trigger("config_ready"), this.preloadImages(), this.loadSegments(), this.updaFrameModifier(), this.waitForFontsLoaded(), this.isPaused && this.audioController.pause();
|
|
891
891
|
} catch (e) {
|
|
892
892
|
this.triggerConfigError(e);
|
|
893
893
|
}
|
|
@@ -1039,12 +1039,12 @@ function _r() {
|
|
|
1039
1039
|
this.triggerEvent(t, new Si(t, this.firstFrame, this.totalFrames));
|
|
1040
1040
|
break;
|
|
1041
1041
|
case "destroy":
|
|
1042
|
-
this.triggerEvent(t, new
|
|
1042
|
+
this.triggerEvent(t, new Ai(t, this));
|
|
1043
1043
|
break;
|
|
1044
1044
|
default:
|
|
1045
1045
|
this.triggerEvent(t);
|
|
1046
1046
|
}
|
|
1047
|
-
t === "enterFrame" && this.onEnterFrame && this.onEnterFrame.call(this, new ti(t, this.currentFrame, this.totalFrames, this.frameMult)), t === "loopComplete" && this.onLoopComplete && this.onLoopComplete.call(this, new bi(t, this.loop, this.playCount, this.frameMult)), t === "complete" && this.onComplete && this.onComplete.call(this, new _i(t, this.frameMult)), t === "segmentStart" && this.onSegmentStart && this.onSegmentStart.call(this, new Si(t, this.firstFrame, this.totalFrames)), t === "destroy" && this.onDestroy && this.onDestroy.call(this, new
|
|
1047
|
+
t === "enterFrame" && this.onEnterFrame && this.onEnterFrame.call(this, new ti(t, this.currentFrame, this.totalFrames, this.frameMult)), t === "loopComplete" && this.onLoopComplete && this.onLoopComplete.call(this, new bi(t, this.loop, this.playCount, this.frameMult)), t === "complete" && this.onComplete && this.onComplete.call(this, new _i(t, this.frameMult)), t === "segmentStart" && this.onSegmentStart && this.onSegmentStart.call(this, new Si(t, this.firstFrame, this.totalFrames)), t === "destroy" && this.onDestroy && this.onDestroy.call(this, new Ai(t, this));
|
|
1048
1048
|
}, j.prototype.triggerRenderFrameError = function(t) {
|
|
1049
1049
|
var e = new vs(t, this.currentFrame);
|
|
1050
1050
|
this.triggerEvent("error", e), this.onError && this.onError.call(this, e);
|
|
@@ -1055,10 +1055,10 @@ function _r() {
|
|
|
1055
1055
|
var it = (function() {
|
|
1056
1056
|
var t = {}, e = [], i = 0, s = 0, n = 0, r = !0, o = !1;
|
|
1057
1057
|
function c(d) {
|
|
1058
|
-
for (var
|
|
1059
|
-
e[
|
|
1058
|
+
for (var A = 0, a = d.target; A < s; )
|
|
1059
|
+
e[A].animation === a && (e.splice(A, 1), A -= 1, s -= 1, a.isPaused || M()), A += 1;
|
|
1060
1060
|
}
|
|
1061
|
-
function h(d,
|
|
1061
|
+
function h(d, A) {
|
|
1062
1062
|
if (!d)
|
|
1063
1063
|
return null;
|
|
1064
1064
|
for (var a = 0; a < s; ) {
|
|
@@ -1067,11 +1067,11 @@ function _r() {
|
|
|
1067
1067
|
a += 1;
|
|
1068
1068
|
}
|
|
1069
1069
|
var l = new j();
|
|
1070
|
-
return p(l, d), l.setData(d,
|
|
1070
|
+
return p(l, d), l.setData(d, A), l;
|
|
1071
1071
|
}
|
|
1072
1072
|
function m() {
|
|
1073
|
-
var d,
|
|
1074
|
-
for (d = 0; d <
|
|
1073
|
+
var d, A = e.length, a = [];
|
|
1074
|
+
for (d = 0; d < A; d += 1)
|
|
1075
1075
|
a.push(e[d].animation);
|
|
1076
1076
|
return a;
|
|
1077
1077
|
}
|
|
@@ -1081,70 +1081,70 @@ function _r() {
|
|
|
1081
1081
|
function M() {
|
|
1082
1082
|
n -= 1;
|
|
1083
1083
|
}
|
|
1084
|
-
function p(d,
|
|
1084
|
+
function p(d, A) {
|
|
1085
1085
|
d.addEventListener("destroy", c), d.addEventListener("_active", _), d.addEventListener("_idle", M), e.push({
|
|
1086
|
-
elem:
|
|
1086
|
+
elem: A,
|
|
1087
1087
|
animation: d
|
|
1088
1088
|
}), s += 1;
|
|
1089
1089
|
}
|
|
1090
1090
|
function b(d) {
|
|
1091
|
-
var
|
|
1092
|
-
return p(
|
|
1091
|
+
var A = new j();
|
|
1092
|
+
return p(A, null), A.setParams(d), A;
|
|
1093
1093
|
}
|
|
1094
|
-
function
|
|
1094
|
+
function P(d, A) {
|
|
1095
1095
|
var a;
|
|
1096
1096
|
for (a = 0; a < s; a += 1)
|
|
1097
|
-
e[a].animation.setSpeed(d,
|
|
1097
|
+
e[a].animation.setSpeed(d, A);
|
|
1098
1098
|
}
|
|
1099
|
-
function S(d,
|
|
1099
|
+
function S(d, A) {
|
|
1100
1100
|
var a;
|
|
1101
1101
|
for (a = 0; a < s; a += 1)
|
|
1102
|
-
e[a].animation.setDirection(d,
|
|
1102
|
+
e[a].animation.setDirection(d, A);
|
|
1103
1103
|
}
|
|
1104
1104
|
function C(d) {
|
|
1105
|
-
var
|
|
1106
|
-
for (
|
|
1107
|
-
e[
|
|
1105
|
+
var A;
|
|
1106
|
+
for (A = 0; A < s; A += 1)
|
|
1107
|
+
e[A].animation.play(d);
|
|
1108
1108
|
}
|
|
1109
1109
|
function y(d) {
|
|
1110
|
-
var
|
|
1110
|
+
var A = d - i, a;
|
|
1111
1111
|
for (a = 0; a < s; a += 1)
|
|
1112
|
-
e[a].animation.advanceTime(
|
|
1112
|
+
e[a].animation.advanceTime(A);
|
|
1113
1113
|
i = d, n && !o ? window.requestAnimationFrame(y) : r = !0;
|
|
1114
1114
|
}
|
|
1115
1115
|
function v(d) {
|
|
1116
1116
|
i = d, window.requestAnimationFrame(y);
|
|
1117
1117
|
}
|
|
1118
1118
|
function f(d) {
|
|
1119
|
-
var
|
|
1120
|
-
for (
|
|
1121
|
-
e[
|
|
1119
|
+
var A;
|
|
1120
|
+
for (A = 0; A < s; A += 1)
|
|
1121
|
+
e[A].animation.pause(d);
|
|
1122
1122
|
}
|
|
1123
|
-
function u(d,
|
|
1123
|
+
function u(d, A, a) {
|
|
1124
1124
|
var l;
|
|
1125
1125
|
for (l = 0; l < s; l += 1)
|
|
1126
|
-
e[l].animation.goToAndStop(d,
|
|
1126
|
+
e[l].animation.goToAndStop(d, A, a);
|
|
1127
1127
|
}
|
|
1128
1128
|
function g(d) {
|
|
1129
|
-
var
|
|
1130
|
-
for (
|
|
1131
|
-
e[
|
|
1129
|
+
var A;
|
|
1130
|
+
for (A = 0; A < s; A += 1)
|
|
1131
|
+
e[A].animation.stop(d);
|
|
1132
1132
|
}
|
|
1133
|
-
function
|
|
1134
|
-
var
|
|
1135
|
-
for (
|
|
1136
|
-
e[
|
|
1133
|
+
function k(d) {
|
|
1134
|
+
var A;
|
|
1135
|
+
for (A = 0; A < s; A += 1)
|
|
1136
|
+
e[A].animation.togglePause(d);
|
|
1137
1137
|
}
|
|
1138
1138
|
function T(d) {
|
|
1139
|
-
var
|
|
1140
|
-
for (
|
|
1141
|
-
e[
|
|
1139
|
+
var A;
|
|
1140
|
+
for (A = s - 1; A >= 0; A -= 1)
|
|
1141
|
+
e[A].animation.destroy(d);
|
|
1142
1142
|
}
|
|
1143
|
-
function x(d,
|
|
1143
|
+
function x(d, A, a) {
|
|
1144
1144
|
var l = [].concat([].slice.call(document.getElementsByClassName("lottie")), [].slice.call(document.getElementsByClassName("bodymovin"))), E, w = l.length;
|
|
1145
1145
|
for (E = 0; E < w; E += 1)
|
|
1146
1146
|
a && l[E].setAttribute("data-bm-type", a), h(l[E], d);
|
|
1147
|
-
if (
|
|
1147
|
+
if (A && w === 0) {
|
|
1148
1148
|
a || (a = "svg");
|
|
1149
1149
|
var R = document.getElementsByTagName("body")[0];
|
|
1150
1150
|
R.innerText = "";
|
|
@@ -1166,28 +1166,28 @@ function _r() {
|
|
|
1166
1166
|
function L() {
|
|
1167
1167
|
o = !1, q();
|
|
1168
1168
|
}
|
|
1169
|
-
function G(d,
|
|
1169
|
+
function G(d, A) {
|
|
1170
1170
|
var a;
|
|
1171
1171
|
for (a = 0; a < s; a += 1)
|
|
1172
|
-
e[a].animation.setVolume(d,
|
|
1172
|
+
e[a].animation.setVolume(d, A);
|
|
1173
1173
|
}
|
|
1174
1174
|
function O(d) {
|
|
1175
|
-
var
|
|
1176
|
-
for (
|
|
1177
|
-
e[
|
|
1175
|
+
var A;
|
|
1176
|
+
for (A = 0; A < s; A += 1)
|
|
1177
|
+
e[A].animation.mute(d);
|
|
1178
1178
|
}
|
|
1179
1179
|
function F(d) {
|
|
1180
|
-
var
|
|
1181
|
-
for (
|
|
1182
|
-
e[
|
|
1180
|
+
var A;
|
|
1181
|
+
for (A = 0; A < s; A += 1)
|
|
1182
|
+
e[A].animation.unmute(d);
|
|
1183
1183
|
}
|
|
1184
|
-
return t.registerAnimation = h, t.loadAnimation = b, t.setSpeed =
|
|
1185
|
-
})(),
|
|
1184
|
+
return t.registerAnimation = h, t.loadAnimation = b, t.setSpeed = P, t.setDirection = S, t.play = C, t.pause = f, t.stop = g, t.togglePause = k, t.searchAnimations = x, t.resize = I, t.goToAndStop = u, t.destroy = T, t.freeze = N, t.unfreeze = L, t.setVolume = G, t.mute = O, t.unmute = F, t.getRegisteredAnimations = m, t;
|
|
1185
|
+
})(), ye = (function() {
|
|
1186
1186
|
var t = {};
|
|
1187
1187
|
t.getBezierEasing = i;
|
|
1188
1188
|
var e = {};
|
|
1189
|
-
function i(v, f, u, g,
|
|
1190
|
-
var T =
|
|
1189
|
+
function i(v, f, u, g, k) {
|
|
1190
|
+
var T = k || ("bez_" + v + "_" + f + "_" + u + "_" + g).replace(/\./g, "p");
|
|
1191
1191
|
if (e[T])
|
|
1192
1192
|
return e[T];
|
|
1193
1193
|
var x = new y([v, f, u, g]);
|
|
@@ -1206,19 +1206,19 @@ function _r() {
|
|
|
1206
1206
|
function b(v, f, u) {
|
|
1207
1207
|
return ((_(f, u) * v + M(f, u)) * v + p(f)) * v;
|
|
1208
1208
|
}
|
|
1209
|
-
function
|
|
1209
|
+
function P(v, f, u) {
|
|
1210
1210
|
return 3 * _(f, u) * v * v + 2 * M(f, u) * v + p(f);
|
|
1211
1211
|
}
|
|
1212
|
-
function S(v, f, u, g,
|
|
1212
|
+
function S(v, f, u, g, k) {
|
|
1213
1213
|
var T, x, I = 0;
|
|
1214
1214
|
do
|
|
1215
|
-
x = f + (u - f) / 2, T = b(x, g,
|
|
1215
|
+
x = f + (u - f) / 2, T = b(x, g, k) - v, T > 0 ? u = x : f = x;
|
|
1216
1216
|
while (Math.abs(T) > r && ++I < o);
|
|
1217
1217
|
return x;
|
|
1218
1218
|
}
|
|
1219
1219
|
function C(v, f, u, g) {
|
|
1220
|
-
for (var
|
|
1221
|
-
var T =
|
|
1220
|
+
for (var k = 0; k < s; ++k) {
|
|
1221
|
+
var T = P(f, u, g);
|
|
1222
1222
|
if (T === 0) return f;
|
|
1223
1223
|
var x = b(f, u, g) - v;
|
|
1224
1224
|
f -= x / T;
|
|
@@ -1230,13 +1230,13 @@ function _r() {
|
|
|
1230
1230
|
}
|
|
1231
1231
|
return y.prototype = {
|
|
1232
1232
|
get: function(f) {
|
|
1233
|
-
var u = this._p[0], g = this._p[1],
|
|
1234
|
-
return this._precomputed || this._precompute(), u === g &&
|
|
1233
|
+
var u = this._p[0], g = this._p[1], k = this._p[2], T = this._p[3];
|
|
1234
|
+
return this._precomputed || this._precompute(), u === g && k === T ? f : f === 0 ? 0 : f === 1 ? 1 : b(this._getTForX(f), g, T);
|
|
1235
1235
|
},
|
|
1236
1236
|
// Private part
|
|
1237
1237
|
_precompute: function() {
|
|
1238
|
-
var f = this._p[0], u = this._p[1], g = this._p[2],
|
|
1239
|
-
this._precomputed = !0, (f !== u || g !==
|
|
1238
|
+
var f = this._p[0], u = this._p[1], g = this._p[2], k = this._p[3];
|
|
1239
|
+
this._precomputed = !0, (f !== u || g !== k) && this._calcSampleValues();
|
|
1240
1240
|
},
|
|
1241
1241
|
_calcSampleValues: function() {
|
|
1242
1242
|
for (var f = this._p[0], u = this._p[2], g = 0; g < c; ++g)
|
|
@@ -1246,10 +1246,10 @@ function _r() {
|
|
|
1246
1246
|
* getTForX chose the fastest heuristic to determine the percentage value precisely from a given X projection.
|
|
1247
1247
|
*/
|
|
1248
1248
|
_getTForX: function(f) {
|
|
1249
|
-
for (var u = this._p[0], g = this._p[2],
|
|
1249
|
+
for (var u = this._p[0], g = this._p[2], k = this._mSampleValues, T = 0, x = 1, I = c - 1; x !== I && k[x] <= f; ++x)
|
|
1250
1250
|
T += h;
|
|
1251
1251
|
--x;
|
|
1252
|
-
var q = (f -
|
|
1252
|
+
var q = (f - k[x]) / (k[x + 1] - k[x]), N = T + q * h, L = P(N, u, g);
|
|
1253
1253
|
return L >= n ? C(f, N, u, g) : L === 0 ? N : S(f, T, T + h, u, g);
|
|
1254
1254
|
}
|
|
1255
1255
|
}, t;
|
|
@@ -1301,32 +1301,32 @@ function _r() {
|
|
|
1301
1301
|
})();
|
|
1302
1302
|
function Ts() {
|
|
1303
1303
|
var t = Math;
|
|
1304
|
-
function e(p, b,
|
|
1305
|
-
var v = p * S + b * C +
|
|
1304
|
+
function e(p, b, P, S, C, y) {
|
|
1305
|
+
var v = p * S + b * C + P * y - C * S - y * p - P * b;
|
|
1306
1306
|
return v > -1e-3 && v < 1e-3;
|
|
1307
1307
|
}
|
|
1308
|
-
function i(p, b,
|
|
1309
|
-
if (
|
|
1308
|
+
function i(p, b, P, S, C, y, v, f, u) {
|
|
1309
|
+
if (P === 0 && y === 0 && u === 0)
|
|
1310
1310
|
return e(p, b, S, C, v, f);
|
|
1311
|
-
var g = t.sqrt(t.pow(S - p, 2) + t.pow(C - b, 2) + t.pow(y -
|
|
1312
|
-
return g >
|
|
1311
|
+
var g = t.sqrt(t.pow(S - p, 2) + t.pow(C - b, 2) + t.pow(y - P, 2)), k = t.sqrt(t.pow(v - p, 2) + t.pow(f - b, 2) + t.pow(u - P, 2)), T = t.sqrt(t.pow(v - S, 2) + t.pow(f - C, 2) + t.pow(u - y, 2)), x;
|
|
1312
|
+
return g > k ? g > T ? x = g - k - T : x = T - k - g : T > k ? x = T - k - g : x = k - g - T, x > -1e-4 && x < 1e-4;
|
|
1313
1313
|
}
|
|
1314
1314
|
var s = /* @__PURE__ */ (function() {
|
|
1315
|
-
return function(p, b,
|
|
1316
|
-
var C = Ne(), y, v, f, u, g,
|
|
1317
|
-
for (f =
|
|
1315
|
+
return function(p, b, P, S) {
|
|
1316
|
+
var C = Ne(), y, v, f, u, g, k = 0, T, x = [], I = [], q = Mi.newElement();
|
|
1317
|
+
for (f = P.length, y = 0; y < C; y += 1) {
|
|
1318
1318
|
for (g = y / (C - 1), T = 0, v = 0; v < f; v += 1)
|
|
1319
|
-
u =
|
|
1320
|
-
T && (T = gi(T),
|
|
1319
|
+
u = Pt(1 - g, 3) * p[v] + 3 * Pt(1 - g, 2) * g * P[v] + 3 * (1 - g) * Pt(g, 2) * S[v] + Pt(g, 3) * b[v], x[v] = u, I[v] !== null && (T += Pt(x[v] - I[v], 2)), I[v] = x[v];
|
|
1320
|
+
T && (T = gi(T), k += T), q.percents[y] = g, q.lengths[y] = k;
|
|
1321
1321
|
}
|
|
1322
|
-
return q.addedLength =
|
|
1322
|
+
return q.addedLength = k, q;
|
|
1323
1323
|
};
|
|
1324
1324
|
})();
|
|
1325
1325
|
function n(p) {
|
|
1326
|
-
var b = Ei.newElement(),
|
|
1326
|
+
var b = Ei.newElement(), P = p.c, S = p.v, C = p.o, y = p.i, v, f = p._length, u = b.lengths, g = 0;
|
|
1327
1327
|
for (v = 0; v < f - 1; v += 1)
|
|
1328
1328
|
u[v] = s(S[v], S[v + 1], C[v], y[v + 1]), g += u[v].addedLength;
|
|
1329
|
-
return
|
|
1329
|
+
return P && f && (u[v] = s(S[v], S[0], C[v], y[0]), g += u[v].addedLength), b.totalLength = g, b;
|
|
1330
1330
|
}
|
|
1331
1331
|
function r(p) {
|
|
1332
1332
|
this.segmentLength = 0, this.points = new Array(p);
|
|
@@ -1336,15 +1336,15 @@ function _r() {
|
|
|
1336
1336
|
}
|
|
1337
1337
|
var c = /* @__PURE__ */ (function() {
|
|
1338
1338
|
var p = {};
|
|
1339
|
-
return function(b,
|
|
1340
|
-
var y = (b[0] + "_" + b[1] + "_" +
|
|
1339
|
+
return function(b, P, S, C) {
|
|
1340
|
+
var y = (b[0] + "_" + b[1] + "_" + P[0] + "_" + P[1] + "_" + S[0] + "_" + S[1] + "_" + C[0] + "_" + C[1]).replace(/\./g, "p");
|
|
1341
1341
|
if (!p[y]) {
|
|
1342
|
-
var v = Ne(), f, u, g,
|
|
1343
|
-
b.length === 2 && (b[0] !==
|
|
1342
|
+
var v = Ne(), f, u, g, k, T, x = 0, I, q, N = null;
|
|
1343
|
+
b.length === 2 && (b[0] !== P[0] || b[1] !== P[1]) && e(b[0], b[1], P[0], P[1], b[0] + S[0], b[1] + S[1]) && e(b[0], b[1], P[0], P[1], P[0] + C[0], P[1] + C[1]) && (v = 2);
|
|
1344
1344
|
var L = new r(v);
|
|
1345
1345
|
for (g = S.length, f = 0; f < v; f += 1) {
|
|
1346
1346
|
for (q = tt(g), T = f / (v - 1), I = 0, u = 0; u < g; u += 1)
|
|
1347
|
-
|
|
1347
|
+
k = Pt(1 - T, 3) * b[u] + 3 * Pt(1 - T, 2) * T * (b[u] + S[u]) + 3 * (1 - T) * Pt(T, 2) * (P[u] + C[u]) + Pt(T, 3) * P[u], q[u] = k, N !== null && (I += Pt(q[u] - N[u], 2));
|
|
1348
1348
|
I = gi(I), x += I, L.points[f] = new o(I, q), N = q;
|
|
1349
1349
|
}
|
|
1350
1350
|
L.segmentLength = x, p[y] = L;
|
|
@@ -1353,29 +1353,29 @@ function _r() {
|
|
|
1353
1353
|
};
|
|
1354
1354
|
})();
|
|
1355
1355
|
function h(p, b) {
|
|
1356
|
-
var
|
|
1356
|
+
var P = b.percents, S = b.lengths, C = P.length, y = Kt((C - 1) * p), v = p * b.addedLength, f = 0;
|
|
1357
1357
|
if (y === C - 1 || y === 0 || v === S[y])
|
|
1358
|
-
return
|
|
1358
|
+
return P[y];
|
|
1359
1359
|
for (var u = S[y] > v ? -1 : 1, g = !0; g; )
|
|
1360
1360
|
if (S[y] <= v && S[y + 1] > v ? (f = (v - S[y]) / (S[y + 1] - S[y]), g = !1) : y += u, y < 0 || y >= C - 1) {
|
|
1361
1361
|
if (y === C - 1)
|
|
1362
|
-
return
|
|
1362
|
+
return P[y];
|
|
1363
1363
|
g = !1;
|
|
1364
1364
|
}
|
|
1365
|
-
return
|
|
1365
|
+
return P[y] + (P[y + 1] - P[y]) * f;
|
|
1366
1366
|
}
|
|
1367
|
-
function m(p, b,
|
|
1368
|
-
var v = h(C, y), f = 1 - v, u = t.round((f * f * f * p[0] + (v * f * f + f * v * f + f * f * v) *
|
|
1367
|
+
function m(p, b, P, S, C, y) {
|
|
1368
|
+
var v = h(C, y), f = 1 - v, u = t.round((f * f * f * p[0] + (v * f * f + f * v * f + f * f * v) * P[0] + (v * v * f + f * v * v + v * f * v) * S[0] + v * v * v * b[0]) * 1e3) / 1e3, g = t.round((f * f * f * p[1] + (v * f * f + f * v * f + f * f * v) * P[1] + (v * v * f + f * v * v + v * f * v) * S[1] + v * v * v * b[1]) * 1e3) / 1e3;
|
|
1369
1369
|
return [u, g];
|
|
1370
1370
|
}
|
|
1371
1371
|
var _ = U("float32", 8);
|
|
1372
|
-
function M(p, b,
|
|
1372
|
+
function M(p, b, P, S, C, y, v) {
|
|
1373
1373
|
C < 0 ? C = 0 : C > 1 && (C = 1);
|
|
1374
1374
|
var f = h(C, v);
|
|
1375
1375
|
y = y > 1 ? 1 : y;
|
|
1376
|
-
var u = h(y, v), g,
|
|
1377
|
-
for (g = 0; g <
|
|
1378
|
-
_[g * 4] = t.round((I * p[g] + q *
|
|
1376
|
+
var u = h(y, v), g, k = p.length, T = 1 - f, x = 1 - u, I = T * T * T, q = f * T * T * 3, N = f * f * T * 3, L = f * f * f, G = T * T * x, O = f * T * x + T * f * x + T * T * u, F = f * f * x + T * f * u + f * T * u, d = f * f * u, A = T * x * x, a = f * x * x + T * u * x + T * x * u, l = f * u * x + T * u * u + f * x * u, E = f * u * u, w = x * x * x, R = u * x * x + x * u * x + x * x * u, z = u * u * x + x * u * u + u * x * u, D = u * u * u;
|
|
1377
|
+
for (g = 0; g < k; g += 1)
|
|
1378
|
+
_[g * 4] = t.round((I * p[g] + q * P[g] + N * S[g] + L * b[g]) * 1e3) / 1e3, _[g * 4 + 1] = t.round((G * p[g] + O * P[g] + F * S[g] + d * b[g]) * 1e3) / 1e3, _[g * 4 + 2] = t.round((A * p[g] + a * P[g] + l * S[g] + E * b[g]) * 1e3) / 1e3, _[g * 4 + 3] = t.round((w * p[g] + R * P[g] + z * S[g] + D * b[g]) * 1e3) / 1e3;
|
|
1379
1379
|
return _;
|
|
1380
1380
|
}
|
|
1381
1381
|
return {
|
|
@@ -1387,7 +1387,7 @@ function _r() {
|
|
|
1387
1387
|
pointOnLine3D: i
|
|
1388
1388
|
};
|
|
1389
1389
|
}
|
|
1390
|
-
var
|
|
1390
|
+
var kt = Ts(), Ut = ue, xi = Math.abs;
|
|
1391
1391
|
function Fi(t, e) {
|
|
1392
1392
|
var i = this.offsetTime, s;
|
|
1393
1393
|
this.propType === "multidimensional" && (s = U("float32", this.pv.length));
|
|
@@ -1403,28 +1403,28 @@ function _r() {
|
|
|
1403
1403
|
r < o - 1 ? r += 1 : (n = 0, c = !1);
|
|
1404
1404
|
}
|
|
1405
1405
|
_ = this.keyframesMetadata[r] || {};
|
|
1406
|
-
var M, p, b,
|
|
1406
|
+
var M, p, b, P, S, C, y = m.t - i, v = h.t - i, f;
|
|
1407
1407
|
if (h.to) {
|
|
1408
|
-
_.bezierData || (_.bezierData =
|
|
1408
|
+
_.bezierData || (_.bezierData = kt.buildBezierData(h.s, m.s || h.e, h.to, h.ti));
|
|
1409
1409
|
var u = _.bezierData;
|
|
1410
1410
|
if (t >= y || t < v) {
|
|
1411
1411
|
var g = t >= y ? u.points.length - 1 : 0;
|
|
1412
1412
|
for (p = u.points[g].point.length, M = 0; M < p; M += 1)
|
|
1413
1413
|
s[M] = u.points[g].point[M];
|
|
1414
1414
|
} else {
|
|
1415
|
-
_.__fnct ? C = _.__fnct : (C =
|
|
1416
|
-
var
|
|
1417
|
-
for (S = e.lastFrame < t && e._lastKeyframeIndex === r ? e._lastPoint : 0, c = !0,
|
|
1418
|
-
if (x += u.points[S].partialLength,
|
|
1415
|
+
_.__fnct ? C = _.__fnct : (C = ye.getBezierEasing(h.o.x, h.o.y, h.i.x, h.i.y, h.n).get, _.__fnct = C), b = C((t - v) / (y - v));
|
|
1416
|
+
var k = u.segmentLength * b, T, x = e.lastFrame < t && e._lastKeyframeIndex === r ? e._lastAddedLength : 0;
|
|
1417
|
+
for (S = e.lastFrame < t && e._lastKeyframeIndex === r ? e._lastPoint : 0, c = !0, P = u.points.length; c; ) {
|
|
1418
|
+
if (x += u.points[S].partialLength, k === 0 || b === 0 || S === u.points.length - 1) {
|
|
1419
1419
|
for (p = u.points[S].point.length, M = 0; M < p; M += 1)
|
|
1420
1420
|
s[M] = u.points[S].point[M];
|
|
1421
1421
|
break;
|
|
1422
|
-
} else if (
|
|
1423
|
-
for (T = (
|
|
1422
|
+
} else if (k >= x && k < x + u.points[S + 1].partialLength) {
|
|
1423
|
+
for (T = (k - x) / u.points[S + 1].partialLength, p = u.points[S].point.length, M = 0; M < p; M += 1)
|
|
1424
1424
|
s[M] = u.points[S].point[M] + (u.points[S + 1].point[M] - u.points[S].point[M]) * T;
|
|
1425
1425
|
break;
|
|
1426
1426
|
}
|
|
1427
|
-
S <
|
|
1427
|
+
S < P - 1 ? S += 1 : c = !1;
|
|
1428
1428
|
}
|
|
1429
1429
|
e._lastPoint = S, e._lastAddedLength = x - u.points[S].partialLength, e._lastKeyframeIndex = r;
|
|
1430
1430
|
}
|
|
@@ -1441,13 +1441,13 @@ function _r() {
|
|
|
1441
1441
|
}
|
|
1442
1442
|
else
|
|
1443
1443
|
for (r = 0; r < o; r += 1)
|
|
1444
|
-
h.h !== 1 && (t >= y ? b = 1 : t < v ? b = 0 : (h.o.x.constructor === Array ? (_.__fnct || (_.__fnct = []), _.__fnct[r] ? C = _.__fnct[r] : (I = h.o.x[r] === void 0 ? h.o.x[0] : h.o.x[r], q = h.o.y[r] === void 0 ? h.o.y[0] : h.o.y[r], N = h.i.x[r] === void 0 ? h.i.x[0] : h.i.x[r], L = h.i.y[r] === void 0 ? h.i.y[0] : h.i.y[r], C =
|
|
1444
|
+
h.h !== 1 && (t >= y ? b = 1 : t < v ? b = 0 : (h.o.x.constructor === Array ? (_.__fnct || (_.__fnct = []), _.__fnct[r] ? C = _.__fnct[r] : (I = h.o.x[r] === void 0 ? h.o.x[0] : h.o.x[r], q = h.o.y[r] === void 0 ? h.o.y[0] : h.o.y[r], N = h.i.x[r] === void 0 ? h.i.x[0] : h.i.x[r], L = h.i.y[r] === void 0 ? h.i.y[0] : h.i.y[r], C = ye.getBezierEasing(I, q, N, L).get, _.__fnct[r] = C)) : _.__fnct ? C = _.__fnct : (I = h.o.x, q = h.o.y, N = h.i.x, L = h.i.y, C = ye.getBezierEasing(I, q, N, L).get, h.keyframeMetadata = C), b = C((t - v) / (y - v)))), f = m.s || h.e, G = h.h === 1 ? h.s[r] : h.s[r] + (f[r] - h.s[r]) * b, this.propType === "multidimensional" ? s[r] = G : s = G;
|
|
1445
1445
|
}
|
|
1446
1446
|
return e.lastIndex = n, s;
|
|
1447
1447
|
}
|
|
1448
1448
|
function Ms(t, e, i) {
|
|
1449
|
-
var s = [], n = t[0], r = t[1], o = t[2], c = t[3], h = e[0], m = e[1], _ = e[2], M = e[3], p, b,
|
|
1450
|
-
return b = n * h + r * m + o * _ + c * M, b < 0 && (b = -b, h = -h, m = -m, _ = -_, M = -M), 1 - b > 1e-6 ? (p = Math.acos(b),
|
|
1449
|
+
var s = [], n = t[0], r = t[1], o = t[2], c = t[3], h = e[0], m = e[1], _ = e[2], M = e[3], p, b, P, S, C;
|
|
1450
|
+
return b = n * h + r * m + o * _ + c * M, b < 0 && (b = -b, h = -h, m = -m, _ = -_, M = -M), 1 - b > 1e-6 ? (p = Math.acos(b), P = Math.sin(p), S = Math.sin((1 - i) * p) / P, C = Math.sin(i * p) / P) : (S = 1 - i, C = i), s[0] = S * n + C * h, s[1] = S * r + C * m, s[2] = S * o + C * _, s[3] = S * c + C * M, s;
|
|
1451
1451
|
}
|
|
1452
1452
|
function Es(t, e) {
|
|
1453
1453
|
var i = e[0], s = e[1], n = e[2], r = e[3], o = Math.atan2(2 * s * r - 2 * i * n, 1 - 2 * s * s - 2 * n * n), c = Math.asin(2 * i * s + 2 * n * r), h = Math.atan2(2 * i * r - 2 * s * n, 1 - 2 * i * i - 2 * n * n);
|
|
@@ -1459,7 +1459,7 @@ function _r() {
|
|
|
1459
1459
|
}
|
|
1460
1460
|
function Li() {
|
|
1461
1461
|
var t = this.comp.renderedFrame - this.offsetTime, e = this.keyframes[0].t - this.offsetTime, i = this.keyframes[this.keyframes.length - 1].t - this.offsetTime;
|
|
1462
|
-
if (!(t === this._caching.lastFrame || this._caching.lastFrame !==
|
|
1462
|
+
if (!(t === this._caching.lastFrame || this._caching.lastFrame !== Ut && (this._caching.lastFrame >= i && t >= i || this._caching.lastFrame < e && t < e))) {
|
|
1463
1463
|
this._caching.lastFrame >= t && (this._caching._lastKeyframeIndex = -1, this._caching.lastIndex = 0);
|
|
1464
1464
|
var s = this.interpolateValue(t, this._caching);
|
|
1465
1465
|
this.pv = s;
|
|
@@ -1502,23 +1502,23 @@ function _r() {
|
|
|
1502
1502
|
}
|
|
1503
1503
|
function Is(t, e, i, s) {
|
|
1504
1504
|
this.propType = "unidimensional", this.keyframes = e.k, this.keyframesMetadata = [], this.offsetTime = t.data.st, this.frameId = -1, this._caching = {
|
|
1505
|
-
lastFrame:
|
|
1505
|
+
lastFrame: Ut,
|
|
1506
1506
|
lastIndex: 0,
|
|
1507
1507
|
value: 0,
|
|
1508
1508
|
_lastKeyframeIndex: -1
|
|
1509
|
-
}, this.k = !0, this.kf = !0, this.data = e, this.mult = i || 1, this.elem = t, this.container = s, this.comp = t.comp, this.v =
|
|
1509
|
+
}, this.k = !0, this.kf = !0, this.data = e, this.mult = i || 1, this.elem = t, this.container = s, this.comp = t.comp, this.v = Ut, this.pv = Ut, this._isFirstFrame = !0, this.getValue = De, this.setVValue = qe, this.interpolateValue = Fi, this.effectsSequence = [Li.bind(this)], this.addEffect = We;
|
|
1510
1510
|
}
|
|
1511
1511
|
function Ls(t, e, i, s) {
|
|
1512
1512
|
this.propType = "multidimensional";
|
|
1513
1513
|
var n, r = e.k.length, o, c, h, m;
|
|
1514
1514
|
for (n = 0; n < r - 1; n += 1)
|
|
1515
|
-
e.k[n].to && e.k[n].s && e.k[n + 1] && e.k[n + 1].s && (o = e.k[n].s, c = e.k[n + 1].s, h = e.k[n].to, m = e.k[n].ti, (o.length === 2 && !(o[0] === c[0] && o[1] === c[1]) &&
|
|
1515
|
+
e.k[n].to && e.k[n].s && e.k[n + 1] && e.k[n + 1].s && (o = e.k[n].s, c = e.k[n + 1].s, h = e.k[n].to, m = e.k[n].ti, (o.length === 2 && !(o[0] === c[0] && o[1] === c[1]) && kt.pointOnLine2D(o[0], o[1], c[0], c[1], o[0] + h[0], o[1] + h[1]) && kt.pointOnLine2D(o[0], o[1], c[0], c[1], c[0] + m[0], c[1] + m[1]) || o.length === 3 && !(o[0] === c[0] && o[1] === c[1] && o[2] === c[2]) && kt.pointOnLine3D(o[0], o[1], o[2], c[0], c[1], c[2], o[0] + h[0], o[1] + h[1], o[2] + h[2]) && kt.pointOnLine3D(o[0], o[1], o[2], c[0], c[1], c[2], c[0] + m[0], c[1] + m[1], c[2] + m[2])) && (e.k[n].to = null, e.k[n].ti = null), o[0] === c[0] && o[1] === c[1] && h[0] === 0 && h[1] === 0 && m[0] === 0 && m[1] === 0 && (o.length === 2 || o[2] === c[2] && h[2] === 0 && m[2] === 0) && (e.k[n].to = null, e.k[n].ti = null));
|
|
1516
1516
|
this.effectsSequence = [Li.bind(this)], this.data = e, this.keyframes = e.k, this.keyframesMetadata = [], this.offsetTime = t.data.st, this.k = !0, this.kf = !0, this._isFirstFrame = !0, this.mult = i || 1, this.elem = t, this.container = s, this.comp = t.comp, this.getValue = De, this.setVValue = qe, this.interpolateValue = Fi, this.frameId = -1;
|
|
1517
1517
|
var _ = e.k[0].s.length;
|
|
1518
1518
|
for (this.v = U("float32", _), this.pv = U("float32", _), n = 0; n < _; n += 1)
|
|
1519
|
-
this.v[n] =
|
|
1519
|
+
this.v[n] = Ut, this.pv[n] = Ut;
|
|
1520
1520
|
this._caching = {
|
|
1521
|
-
lastFrame:
|
|
1521
|
+
lastFrame: Ut,
|
|
1522
1522
|
lastIndex: 0,
|
|
1523
1523
|
value: U("float32", _)
|
|
1524
1524
|
}, this.addEffect = We;
|
|
@@ -1563,26 +1563,26 @@ function _r() {
|
|
|
1563
1563
|
this.container = e, this.dynamicProperties = [], this._mdf = !1, this._isAnimated = !1;
|
|
1564
1564
|
}
|
|
1565
1565
|
};
|
|
1566
|
-
var
|
|
1566
|
+
var Jt = (function() {
|
|
1567
1567
|
function t() {
|
|
1568
1568
|
return U("float32", 2);
|
|
1569
1569
|
}
|
|
1570
1570
|
return ze(8, t);
|
|
1571
1571
|
})();
|
|
1572
|
-
function
|
|
1572
|
+
function Et() {
|
|
1573
1573
|
this.c = !1, this._length = 0, this._maxLength = 8, this.v = tt(this._maxLength), this.o = tt(this._maxLength), this.i = tt(this._maxLength);
|
|
1574
1574
|
}
|
|
1575
|
-
|
|
1575
|
+
Et.prototype.setPathData = function(t, e) {
|
|
1576
1576
|
this.c = t, this.setLength(e);
|
|
1577
1577
|
for (var i = 0; i < e; )
|
|
1578
|
-
this.v[i] =
|
|
1579
|
-
},
|
|
1578
|
+
this.v[i] = Jt.newElement(), this.o[i] = Jt.newElement(), this.i[i] = Jt.newElement(), i += 1;
|
|
1579
|
+
}, Et.prototype.setLength = function(t) {
|
|
1580
1580
|
for (; this._maxLength < t; )
|
|
1581
1581
|
this.doubleArrayLength();
|
|
1582
1582
|
this._length = t;
|
|
1583
|
-
},
|
|
1583
|
+
}, Et.prototype.doubleArrayLength = function() {
|
|
1584
1584
|
this.v = this.v.concat(tt(this._maxLength)), this.i = this.i.concat(tt(this._maxLength)), this.o = this.o.concat(tt(this._maxLength)), this._maxLength *= 2;
|
|
1585
|
-
},
|
|
1585
|
+
}, Et.prototype.setXYAt = function(t, e, i, s, n) {
|
|
1586
1586
|
var r;
|
|
1587
1587
|
switch (this._length = Math.max(this._length, s + 1), this._length >= this._maxLength && this.doubleArrayLength(), i) {
|
|
1588
1588
|
case "v":
|
|
@@ -1598,11 +1598,11 @@ function _r() {
|
|
|
1598
1598
|
r = [];
|
|
1599
1599
|
break;
|
|
1600
1600
|
}
|
|
1601
|
-
(!r[s] || r[s] && !n) && (r[s] =
|
|
1602
|
-
},
|
|
1601
|
+
(!r[s] || r[s] && !n) && (r[s] = Jt.newElement()), r[s][0] = t, r[s][1] = e;
|
|
1602
|
+
}, Et.prototype.setTripleAt = function(t, e, i, s, n, r, o, c) {
|
|
1603
1603
|
this.setXYAt(t, e, "v", o, c), this.setXYAt(i, s, "o", o, c), this.setXYAt(n, r, "i", o, c);
|
|
1604
|
-
},
|
|
1605
|
-
var t = new
|
|
1604
|
+
}, Et.prototype.reverse = function() {
|
|
1605
|
+
var t = new Et();
|
|
1606
1606
|
t.setPathData(this.c, this._length);
|
|
1607
1607
|
var e = this.v, i = this.o, s = this.i, n = 0;
|
|
1608
1608
|
this.c && (t.setTripleAt(e[0][0], e[0][1], s[0][0], s[0][1], i[0][0], i[0][1], 0, !1), n = 1);
|
|
@@ -1610,17 +1610,17 @@ function _r() {
|
|
|
1610
1610
|
for (c = n; c < o; c += 1)
|
|
1611
1611
|
t.setTripleAt(e[r][0], e[r][1], s[r][0], s[r][1], i[r][0], i[r][1], c, !1), r -= 1;
|
|
1612
1612
|
return t;
|
|
1613
|
-
},
|
|
1613
|
+
}, Et.prototype.length = function() {
|
|
1614
1614
|
return this._length;
|
|
1615
1615
|
};
|
|
1616
1616
|
var ot = (function() {
|
|
1617
1617
|
function t() {
|
|
1618
|
-
return new
|
|
1618
|
+
return new Et();
|
|
1619
1619
|
}
|
|
1620
1620
|
function e(n) {
|
|
1621
1621
|
var r = n._length, o;
|
|
1622
1622
|
for (o = 0; o < r; o += 1)
|
|
1623
|
-
|
|
1623
|
+
Jt.release(n.v[o]), Jt.release(n.i[o]), Jt.release(n.o[o]), n.v[o] = null, n.i[o] = null, n.o[o] = null;
|
|
1624
1624
|
n._length = 0, n.c = !1;
|
|
1625
1625
|
}
|
|
1626
1626
|
function i(n) {
|
|
@@ -1643,7 +1643,7 @@ function _r() {
|
|
|
1643
1643
|
ot.release(this.shapes[t]);
|
|
1644
1644
|
this._length = 0;
|
|
1645
1645
|
};
|
|
1646
|
-
var
|
|
1646
|
+
var se = (function() {
|
|
1647
1647
|
var t = {
|
|
1648
1648
|
newShapeCollection: n,
|
|
1649
1649
|
release: r
|
|
@@ -1662,14 +1662,14 @@ function _r() {
|
|
|
1662
1662
|
})(), Ge = (function() {
|
|
1663
1663
|
var t = -999999;
|
|
1664
1664
|
function e(y, v, f) {
|
|
1665
|
-
var u = f.lastIndex, g,
|
|
1665
|
+
var u = f.lastIndex, g, k, T, x, I, q, N, L, G, O = this.keyframes;
|
|
1666
1666
|
if (y < O[0].t - this.offsetTime)
|
|
1667
1667
|
g = O[0].s[0], T = !0, u = 0;
|
|
1668
1668
|
else if (y >= O[O.length - 1].t - this.offsetTime)
|
|
1669
1669
|
g = O[O.length - 1].s ? O[O.length - 1].s[0] : O[O.length - 2].e[0], T = !0;
|
|
1670
1670
|
else {
|
|
1671
|
-
for (var F = u, d = O.length - 1,
|
|
1672
|
-
F < d - 1 ? F += 1 :
|
|
1671
|
+
for (var F = u, d = O.length - 1, A = !0, a, l, E; A && (a = O[F], l = O[F + 1], !(l.t - this.offsetTime > y)); )
|
|
1672
|
+
F < d - 1 ? F += 1 : A = !1;
|
|
1673
1673
|
if (E = this.keyframesMetadata[F] || {}, T = a.h === 1, u = F, !T) {
|
|
1674
1674
|
if (y >= l.t - this.offsetTime)
|
|
1675
1675
|
L = 1;
|
|
@@ -1677,15 +1677,15 @@ function _r() {
|
|
|
1677
1677
|
L = 0;
|
|
1678
1678
|
else {
|
|
1679
1679
|
var w;
|
|
1680
|
-
E.__fnct ? w = E.__fnct : (w =
|
|
1680
|
+
E.__fnct ? w = E.__fnct : (w = ye.getBezierEasing(a.o.x, a.o.y, a.i.x, a.i.y).get, E.__fnct = w), L = w((y - (a.t - this.offsetTime)) / (l.t - this.offsetTime - (a.t - this.offsetTime)));
|
|
1681
1681
|
}
|
|
1682
|
-
|
|
1682
|
+
k = l.s ? l.s[0] : a.e[0];
|
|
1683
1683
|
}
|
|
1684
1684
|
g = a.s[0];
|
|
1685
1685
|
}
|
|
1686
1686
|
for (q = v._length, N = g.i[0].length, f.lastIndex = u, x = 0; x < q; x += 1)
|
|
1687
1687
|
for (I = 0; I < N; I += 1)
|
|
1688
|
-
G = T ? g.i[x][I] : g.i[x][I] + (
|
|
1688
|
+
G = T ? g.i[x][I] : g.i[x][I] + (k.i[x][I] - g.i[x][I]) * L, v.i[x][I] = G, G = T ? g.o[x][I] : g.o[x][I] + (k.o[x][I] - g.o[x][I]) * L, v.o[x][I] = G, G = T ? g.v[x][I] : g.v[x][I] + (k.v[x][I] - g.v[x][I]) * L, v.v[x][I] = G;
|
|
1689
1689
|
}
|
|
1690
1690
|
function i() {
|
|
1691
1691
|
var y = this.comp.renderedFrame - this.offsetTime, v = this.keyframes[0].t - this.offsetTime, f = this.keyframes[this.keyframes.length - 1].t - this.offsetTime, u = this._caching.lastFrame;
|
|
@@ -1728,7 +1728,7 @@ function _r() {
|
|
|
1728
1728
|
function c(y, v, f) {
|
|
1729
1729
|
this.propType = "shape", this.comp = y.comp, this.container = y, this.elem = y, this.data = v, this.k = !1, this.kf = !1, this._mdf = !1;
|
|
1730
1730
|
var u = f === 3 ? v.pt.k : v.ks.k;
|
|
1731
|
-
this.v = ot.clone(u), this.pv = ot.clone(this.v), this.localShapeCollection =
|
|
1731
|
+
this.v = ot.clone(u), this.pv = ot.clone(this.v), this.localShapeCollection = se.newShapeCollection(), this.paths = this.localShapeCollection, this.paths.addShape(this.v), this.reset = s, this.effectsSequence = [];
|
|
1732
1732
|
}
|
|
1733
1733
|
function h(y) {
|
|
1734
1734
|
this.effectsSequence.push(y), this.container.addDynamicProperty(this);
|
|
@@ -1737,16 +1737,16 @@ function _r() {
|
|
|
1737
1737
|
function m(y, v, f) {
|
|
1738
1738
|
this.propType = "shape", this.comp = y.comp, this.elem = y, this.container = y, this.offsetTime = y.data.st, this.keyframes = f === 3 ? v.pt.k : v.ks.k, this.keyframesMetadata = [], this.k = !0, this.kf = !0;
|
|
1739
1739
|
var u = this.keyframes[0].s[0].i.length;
|
|
1740
|
-
this.v = ot.newElement(), this.v.setPathData(this.keyframes[0].s[0].c, u), this.pv = ot.clone(this.v), this.localShapeCollection =
|
|
1740
|
+
this.v = ot.newElement(), this.v.setPathData(this.keyframes[0].s[0].c, u), this.pv = ot.clone(this.v), this.localShapeCollection = se.newShapeCollection(), this.paths = this.localShapeCollection, this.paths.addShape(this.v), this.lastFrame = t, this.reset = s, this._caching = {
|
|
1741
1741
|
lastFrame: t,
|
|
1742
1742
|
lastIndex: 0
|
|
1743
1743
|
}, this.effectsSequence = [i.bind(this)];
|
|
1744
1744
|
}
|
|
1745
1745
|
m.prototype.getValue = o, m.prototype.interpolateShape = e, m.prototype.setVValue = r, m.prototype.addEffect = h;
|
|
1746
1746
|
var _ = (function() {
|
|
1747
|
-
var y =
|
|
1747
|
+
var y = Ot;
|
|
1748
1748
|
function v(f, u) {
|
|
1749
|
-
this.v = ot.newElement(), this.v.setPathData(!0, 4), this.localShapeCollection =
|
|
1749
|
+
this.v = ot.newElement(), this.v.setPathData(!0, 4), this.localShapeCollection = se.newShapeCollection(), this.paths = this.localShapeCollection, this.localShapeCollection.addShape(this.v), this.d = u.d, this.elem = f, this.comp = f.comp, this.frameId = -1, this.initDynamicPropertyContainer(f), this.p = V.getProp(f, u.p, 1, 0, this), this.s = V.getProp(f, u.s, 1, 0, this), this.dynamicProperties.length ? this.k = !0 : (this.k = !1, this.convertEllToPath());
|
|
1750
1750
|
}
|
|
1751
1751
|
return v.prototype = {
|
|
1752
1752
|
reset: s,
|
|
@@ -1754,13 +1754,13 @@ function _r() {
|
|
|
1754
1754
|
this.elem.globalData.frameId !== this.frameId && (this.frameId = this.elem.globalData.frameId, this.iterateDynamicProperties(), this._mdf && this.convertEllToPath());
|
|
1755
1755
|
},
|
|
1756
1756
|
convertEllToPath: function() {
|
|
1757
|
-
var u = this.p.v[0], g = this.p.v[1],
|
|
1758
|
-
I.v[0][0] = u, I.v[0][1] = g - T, I.v[1][0] = x ? u +
|
|
1757
|
+
var u = this.p.v[0], g = this.p.v[1], k = this.s.v[0] / 2, T = this.s.v[1] / 2, x = this.d !== 3, I = this.v;
|
|
1758
|
+
I.v[0][0] = u, I.v[0][1] = g - T, I.v[1][0] = x ? u + k : u - k, I.v[1][1] = g, I.v[2][0] = u, I.v[2][1] = g + T, I.v[3][0] = x ? u - k : u + k, I.v[3][1] = g, I.i[0][0] = x ? u - k * y : u + k * y, I.i[0][1] = g - T, I.i[1][0] = x ? u + k : u - k, I.i[1][1] = g - T * y, I.i[2][0] = x ? u + k * y : u - k * y, I.i[2][1] = g + T, I.i[3][0] = x ? u - k : u + k, I.i[3][1] = g + T * y, I.o[0][0] = x ? u + k * y : u - k * y, I.o[0][1] = g - T, I.o[1][0] = x ? u + k : u - k, I.o[1][1] = g + T * y, I.o[2][0] = x ? u - k * y : u + k * y, I.o[2][1] = g + T, I.o[3][0] = x ? u - k : u + k, I.o[3][1] = g - T * y;
|
|
1759
1759
|
}
|
|
1760
1760
|
}, X([rt], v), v;
|
|
1761
1761
|
})(), M = (function() {
|
|
1762
1762
|
function y(v, f) {
|
|
1763
|
-
this.v = ot.newElement(), this.v.setPathData(!0, 0), this.elem = v, this.comp = v.comp, this.data = f, this.frameId = -1, this.d = f.d, this.initDynamicPropertyContainer(v), f.sy === 1 ? (this.ir = V.getProp(v, f.ir, 0, 0, this), this.is = V.getProp(v, f.is, 0, 0.01, this), this.convertToPath = this.convertStarToPath) : this.convertToPath = this.convertPolygonToPath, this.pt = V.getProp(v, f.pt, 0, 0, this), this.p = V.getProp(v, f.p, 1, 0, this), this.r = V.getProp(v, f.r, 0, Q, this), this.or = V.getProp(v, f.or, 0, 0, this), this.os = V.getProp(v, f.os, 0, 0.01, this), this.localShapeCollection =
|
|
1763
|
+
this.v = ot.newElement(), this.v.setPathData(!0, 0), this.elem = v, this.comp = v.comp, this.data = f, this.frameId = -1, this.d = f.d, this.initDynamicPropertyContainer(v), f.sy === 1 ? (this.ir = V.getProp(v, f.ir, 0, 0, this), this.is = V.getProp(v, f.is, 0, 0.01, this), this.convertToPath = this.convertStarToPath) : this.convertToPath = this.convertPolygonToPath, this.pt = V.getProp(v, f.pt, 0, 0, this), this.p = V.getProp(v, f.p, 1, 0, this), this.r = V.getProp(v, f.r, 0, Q, this), this.or = V.getProp(v, f.or, 0, 0, this), this.os = V.getProp(v, f.os, 0, 0.01, this), this.localShapeCollection = se.newShapeCollection(), this.localShapeCollection.addShape(this.v), this.paths = this.localShapeCollection, this.dynamicProperties.length ? this.k = !0 : (this.k = !1, this.convertToPath());
|
|
1764
1764
|
}
|
|
1765
1765
|
return y.prototype = {
|
|
1766
1766
|
reset: s,
|
|
@@ -1768,32 +1768,32 @@ function _r() {
|
|
|
1768
1768
|
this.elem.globalData.frameId !== this.frameId && (this.frameId = this.elem.globalData.frameId, this.iterateDynamicProperties(), this._mdf && this.convertToPath());
|
|
1769
1769
|
},
|
|
1770
1770
|
convertStarToPath: function() {
|
|
1771
|
-
var f = Math.floor(this.pt.v) * 2, u = Math.PI * 2 / f, g = !0,
|
|
1771
|
+
var f = Math.floor(this.pt.v) * 2, u = Math.PI * 2 / f, g = !0, k = this.or.v, T = this.ir.v, x = this.os.v, I = this.is.v, q = 2 * Math.PI * k / (f * 2), N = 2 * Math.PI * T / (f * 2), L, G, O, F, d = -Math.PI / 2;
|
|
1772
1772
|
d += this.r.v;
|
|
1773
|
-
var
|
|
1773
|
+
var A = this.data.d === 3 ? -1 : 1;
|
|
1774
1774
|
for (this.v._length = 0, L = 0; L < f; L += 1) {
|
|
1775
|
-
G = g ?
|
|
1775
|
+
G = g ? k : T, O = g ? x : I, F = g ? q : N;
|
|
1776
1776
|
var a = G * Math.cos(d), l = G * Math.sin(d), E = a === 0 && l === 0 ? 0 : l / Math.sqrt(a * a + l * l), w = a === 0 && l === 0 ? 0 : -a / Math.sqrt(a * a + l * l);
|
|
1777
|
-
a += +this.p.v[0], l += +this.p.v[1], this.v.setTripleAt(a, l, a - E * F * O *
|
|
1777
|
+
a += +this.p.v[0], l += +this.p.v[1], this.v.setTripleAt(a, l, a - E * F * O * A, l - w * F * O * A, a + E * F * O * A, l + w * F * O * A, L, !0), g = !g, d += u * A;
|
|
1778
1778
|
}
|
|
1779
1779
|
},
|
|
1780
1780
|
convertPolygonToPath: function() {
|
|
1781
|
-
var f = Math.floor(this.pt.v), u = Math.PI * 2 / f, g = this.or.v,
|
|
1781
|
+
var f = Math.floor(this.pt.v), u = Math.PI * 2 / f, g = this.or.v, k = this.os.v, T = 2 * Math.PI * g / (f * 4), x, I = -Math.PI * 0.5, q = this.data.d === 3 ? -1 : 1;
|
|
1782
1782
|
for (I += this.r.v, this.v._length = 0, x = 0; x < f; x += 1) {
|
|
1783
1783
|
var N = g * Math.cos(I), L = g * Math.sin(I), G = N === 0 && L === 0 ? 0 : L / Math.sqrt(N * N + L * L), O = N === 0 && L === 0 ? 0 : -N / Math.sqrt(N * N + L * L);
|
|
1784
|
-
N += +this.p.v[0], L += +this.p.v[1], this.v.setTripleAt(N, L, N - G * T *
|
|
1784
|
+
N += +this.p.v[0], L += +this.p.v[1], this.v.setTripleAt(N, L, N - G * T * k * q, L - O * T * k * q, N + G * T * k * q, L + O * T * k * q, x, !0), I += u * q;
|
|
1785
1785
|
}
|
|
1786
1786
|
this.paths.length = 0, this.paths[0] = this.v;
|
|
1787
1787
|
}
|
|
1788
1788
|
}, X([rt], y), y;
|
|
1789
1789
|
})(), p = (function() {
|
|
1790
1790
|
function y(v, f) {
|
|
1791
|
-
this.v = ot.newElement(), this.v.c = !0, this.localShapeCollection =
|
|
1791
|
+
this.v = ot.newElement(), this.v.c = !0, this.localShapeCollection = se.newShapeCollection(), this.localShapeCollection.addShape(this.v), this.paths = this.localShapeCollection, this.elem = v, this.comp = v.comp, this.frameId = -1, this.d = f.d, this.initDynamicPropertyContainer(v), this.p = V.getProp(v, f.p, 1, 0, this), this.s = V.getProp(v, f.s, 1, 0, this), this.r = V.getProp(v, f.r, 0, 0, this), this.dynamicProperties.length ? this.k = !0 : (this.k = !1, this.convertRectToPath());
|
|
1792
1792
|
}
|
|
1793
1793
|
return y.prototype = {
|
|
1794
1794
|
convertRectToPath: function() {
|
|
1795
|
-
var f = this.p.v[0], u = this.p.v[1], g = this.s.v[0] / 2,
|
|
1796
|
-
this.v._length = 0, this.d === 2 || this.d === 1 ? (this.v.setTripleAt(f + g, u -
|
|
1795
|
+
var f = this.p.v[0], u = this.p.v[1], g = this.s.v[0] / 2, k = this.s.v[1] / 2, T = ds(g, k, this.r.v), x = T * (1 - Ot);
|
|
1796
|
+
this.v._length = 0, this.d === 2 || this.d === 1 ? (this.v.setTripleAt(f + g, u - k + T, f + g, u - k + T, f + g, u - k + x, 0, !0), this.v.setTripleAt(f + g, u + k - T, f + g, u + k - x, f + g, u + k - T, 1, !0), T !== 0 ? (this.v.setTripleAt(f + g - T, u + k, f + g - T, u + k, f + g - x, u + k, 2, !0), this.v.setTripleAt(f - g + T, u + k, f - g + x, u + k, f - g + T, u + k, 3, !0), this.v.setTripleAt(f - g, u + k - T, f - g, u + k - T, f - g, u + k - x, 4, !0), this.v.setTripleAt(f - g, u - k + T, f - g, u - k + x, f - g, u - k + T, 5, !0), this.v.setTripleAt(f - g + T, u - k, f - g + T, u - k, f - g + x, u - k, 6, !0), this.v.setTripleAt(f + g - T, u - k, f + g - x, u - k, f + g - T, u - k, 7, !0)) : (this.v.setTripleAt(f - g, u + k, f - g + x, u + k, f - g, u + k, 2), this.v.setTripleAt(f - g, u - k, f - g, u - k + x, f - g, u - k, 3))) : (this.v.setTripleAt(f + g, u - k + T, f + g, u - k + x, f + g, u - k + T, 0, !0), T !== 0 ? (this.v.setTripleAt(f + g - T, u - k, f + g - T, u - k, f + g - x, u - k, 1, !0), this.v.setTripleAt(f - g + T, u - k, f - g + x, u - k, f - g + T, u - k, 2, !0), this.v.setTripleAt(f - g, u - k + T, f - g, u - k + T, f - g, u - k + x, 3, !0), this.v.setTripleAt(f - g, u + k - T, f - g, u + k - x, f - g, u + k - T, 4, !0), this.v.setTripleAt(f - g + T, u + k, f - g + T, u + k, f - g + x, u + k, 5, !0), this.v.setTripleAt(f + g - T, u + k, f + g - x, u + k, f + g - T, u + k, 6, !0), this.v.setTripleAt(f + g, u + k - T, f + g, u + k - T, f + g, u + k - x, 7, !0)) : (this.v.setTripleAt(f - g, u - k, f - g + x, u - k, f - g, u - k, 1, !0), this.v.setTripleAt(f - g, u + k, f - g, u + k - x, f - g, u + k, 2, !0), this.v.setTripleAt(f + g, u + k, f + g - x, u + k, f + g, u + k, 3, !0)));
|
|
1797
1797
|
},
|
|
1798
1798
|
getValue: function() {
|
|
1799
1799
|
this.elem.globalData.frameId !== this.frameId && (this.frameId = this.elem.globalData.frameId, this.iterateDynamicProperties(), this._mdf && this.convertRectToPath());
|
|
@@ -1804,28 +1804,20 @@ function _r() {
|
|
|
1804
1804
|
function b(y, v, f) {
|
|
1805
1805
|
var u;
|
|
1806
1806
|
if (f === 3 || f === 4) {
|
|
1807
|
-
var g = f === 3 ? v.pt : v.ks,
|
|
1808
|
-
|
|
1807
|
+
var g = f === 3 ? v.pt : v.ks, k = g.k;
|
|
1808
|
+
k.length ? u = new m(y, v, f) : u = new c(y, v, f);
|
|
1809
1809
|
} else f === 5 ? u = new p(y, v) : f === 6 ? u = new _(y, v) : f === 7 && (u = new M(y, v));
|
|
1810
1810
|
return u.k && y.addDynamicProperty(u), u;
|
|
1811
1811
|
}
|
|
1812
|
-
function
|
|
1812
|
+
function P() {
|
|
1813
1813
|
return c;
|
|
1814
1814
|
}
|
|
1815
1815
|
function S() {
|
|
1816
1816
|
return m;
|
|
1817
1817
|
}
|
|
1818
1818
|
var C = {};
|
|
1819
|
-
return C.getShapeProp = b, C.getConstructorFunction =
|
|
1819
|
+
return C.getShapeProp = b, C.getConstructorFunction = P, C.getKeyframedConstructorFunction = S, C;
|
|
1820
1820
|
})();
|
|
1821
|
-
/*!
|
|
1822
|
-
Transformation Matrix v2.0
|
|
1823
|
-
(c) Epistemex 2014-2015
|
|
1824
|
-
www.epistemex.com
|
|
1825
|
-
By Ken Fyrstenberg
|
|
1826
|
-
Contributions by leeoniya.
|
|
1827
|
-
License: MIT, header required.
|
|
1828
|
-
*/
|
|
1829
1821
|
var ht = /* @__PURE__ */ (function() {
|
|
1830
1822
|
var t = Math.cos, e = Math.sin, i = Math.tan, s = Math.round;
|
|
1831
1823
|
function n() {
|
|
@@ -1871,15 +1863,15 @@ function _r() {
|
|
|
1871
1863
|
function b(a, l, E, w, R, z, D, Y, H, et, ct, Ct, dt, nt, mt, K) {
|
|
1872
1864
|
return this.props[0] = a, this.props[1] = l, this.props[2] = E, this.props[3] = w, this.props[4] = R, this.props[5] = z, this.props[6] = D, this.props[7] = Y, this.props[8] = H, this.props[9] = et, this.props[10] = ct, this.props[11] = Ct, this.props[12] = dt, this.props[13] = nt, this.props[14] = mt, this.props[15] = K, this;
|
|
1873
1865
|
}
|
|
1874
|
-
function
|
|
1866
|
+
function P(a, l, E) {
|
|
1875
1867
|
return E = E || 0, a !== 0 || l !== 0 || E !== 0 ? this._t(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, a, l, E, 1) : this;
|
|
1876
1868
|
}
|
|
1877
1869
|
function S(a, l, E, w, R, z, D, Y, H, et, ct, Ct, dt, nt, mt, K) {
|
|
1878
1870
|
var B = this.props;
|
|
1879
1871
|
if (a === 1 && l === 0 && E === 0 && w === 0 && R === 0 && z === 1 && D === 0 && Y === 0 && H === 0 && et === 0 && ct === 1 && Ct === 0)
|
|
1880
1872
|
return B[12] = B[12] * a + B[15] * dt, B[13] = B[13] * z + B[15] * nt, B[14] = B[14] * ct + B[15] * mt, B[15] *= K, this._identityCalculated = !1, this;
|
|
1881
|
-
var
|
|
1882
|
-
return B[0] =
|
|
1873
|
+
var It = B[0], Wt = B[1], Lt = B[2], Tt = B[3], Vt = B[4], Rt = B[5], vt = B[6], Gt = B[7], Xt = B[8], St = B[9], Yt = B[10], At = B[11], ee = B[12], Ue = B[13], Je = B[14], Qe = B[15];
|
|
1874
|
+
return B[0] = It * a + Wt * R + Lt * H + Tt * dt, B[1] = It * l + Wt * z + Lt * et + Tt * nt, B[2] = It * E + Wt * D + Lt * ct + Tt * mt, B[3] = It * w + Wt * Y + Lt * Ct + Tt * K, B[4] = Vt * a + Rt * R + vt * H + Gt * dt, B[5] = Vt * l + Rt * z + vt * et + Gt * nt, B[6] = Vt * E + Rt * D + vt * ct + Gt * mt, B[7] = Vt * w + Rt * Y + vt * Ct + Gt * K, B[8] = Xt * a + St * R + Yt * H + At * dt, B[9] = Xt * l + St * z + Yt * et + At * nt, B[10] = Xt * E + St * D + Yt * ct + At * mt, B[11] = Xt * w + St * Y + Yt * Ct + At * K, B[12] = ee * a + Ue * R + Je * H + Qe * dt, B[13] = ee * l + Ue * z + Je * et + Qe * nt, B[14] = ee * E + Ue * D + Je * ct + Qe * mt, B[15] = ee * w + Ue * Y + Je * Ct + Qe * K, this._identityCalculated = !1, this;
|
|
1883
1875
|
}
|
|
1884
1876
|
function C(a) {
|
|
1885
1877
|
var l = a.props;
|
|
@@ -1914,7 +1906,7 @@ function _r() {
|
|
|
1914
1906
|
z: a * this.props[2] + l * this.props[6] + E * this.props[10] + this.props[14]
|
|
1915
1907
|
};
|
|
1916
1908
|
}
|
|
1917
|
-
function
|
|
1909
|
+
function k(a, l, E) {
|
|
1918
1910
|
return a * this.props[0] + l * this.props[4] + E * this.props[8] + this.props[12];
|
|
1919
1911
|
}
|
|
1920
1912
|
function T(a, l, E) {
|
|
@@ -1966,12 +1958,12 @@ function _r() {
|
|
|
1966
1958
|
var l = 1e4;
|
|
1967
1959
|
return a < 1e-6 && a > 0 || a > -1e-6 && a < 0 ? s(a * l) / l : a;
|
|
1968
1960
|
}
|
|
1969
|
-
function
|
|
1961
|
+
function A() {
|
|
1970
1962
|
var a = this.props, l = d(a[0]), E = d(a[1]), w = d(a[4]), R = d(a[5]), z = d(a[12]), D = d(a[13]);
|
|
1971
1963
|
return "matrix(" + l + "," + E + "," + w + "," + R + "," + z + "," + D + ")";
|
|
1972
1964
|
}
|
|
1973
1965
|
return function() {
|
|
1974
|
-
this.reset = n, this.rotate = r, this.rotateX = o, this.rotateY = c, this.rotateZ = h, this.skew = _, this.skewFromAxis = M, this.shear = m, this.scale = p, this.setTransform = b, this.translate =
|
|
1966
|
+
this.reset = n, this.rotate = r, this.rotateX = o, this.rotateY = c, this.rotateZ = h, this.skew = _, this.skewFromAxis = M, this.shear = m, this.scale = p, this.setTransform = b, this.translate = P, this.transform = S, this.multiply = C, this.applyToPoint = g, this.applyToX = k, this.applyToY = T, this.applyToZ = x, this.applyToPointArray = G, this.applyToTriplePoints = L, this.applyToPointStringified = O, this.toCSS = F, this.to2dCSS = A, this.clone = f, this.cloneFromProps = u, this.equals = v, this.inversePoints = N, this.inversePoint = q, this.getInverseMatrix = I, this._t = this.transform, this.isIdentity = y, this._identity = !0, this._identityCalculated = !1, this.props = U("float32", 16), this.reset();
|
|
1975
1967
|
};
|
|
1976
1968
|
})();
|
|
1977
1969
|
function ni(t) {
|
|
@@ -1984,7 +1976,7 @@ function _r() {
|
|
|
1984
1976
|
}
|
|
1985
1977
|
var Z = {};
|
|
1986
1978
|
function Vs(t) {
|
|
1987
|
-
|
|
1979
|
+
ce(t);
|
|
1988
1980
|
}
|
|
1989
1981
|
function Vi() {
|
|
1990
1982
|
it.searchAnimations();
|
|
@@ -2053,10 +2045,10 @@ function _r() {
|
|
|
2053
2045
|
}
|
|
2054
2046
|
var Xs = setInterval(Ds, 100);
|
|
2055
2047
|
try {
|
|
2056
|
-
ni(
|
|
2048
|
+
ni(fe) !== "object" && (window.bodymovin = Z);
|
|
2057
2049
|
} catch {
|
|
2058
2050
|
}
|
|
2059
|
-
var
|
|
2051
|
+
var Bt = (function() {
|
|
2060
2052
|
var t = {}, e = {};
|
|
2061
2053
|
t.registerModifier = i, t.getModifier = s;
|
|
2062
2054
|
function i(n, r) {
|
|
@@ -2077,12 +2069,12 @@ function _r() {
|
|
|
2077
2069
|
var e = {
|
|
2078
2070
|
shape: t.sh,
|
|
2079
2071
|
data: t,
|
|
2080
|
-
localShapeCollection:
|
|
2072
|
+
localShapeCollection: se.newShapeCollection()
|
|
2081
2073
|
};
|
|
2082
2074
|
this.shapes.push(e), this.addShapeToModifier(e), this._isAnimated && t.setAsAnimated();
|
|
2083
2075
|
}
|
|
2084
2076
|
}, gt.prototype.init = function(t, e) {
|
|
2085
|
-
this.shapes = [], this.elem = t, this.initDynamicPropertyContainer(t), this.initModifierProperties(t, e), this.frameId =
|
|
2077
|
+
this.shapes = [], this.elem = t, this.initDynamicPropertyContainer(t), this.initModifierProperties(t, e), this.frameId = ue, this.closed = !1, this.k = !1, this.dynamicProperties.length ? this.k = !0 : this.getValue(!0);
|
|
2086
2078
|
}, gt.prototype.processKeys = function() {
|
|
2087
2079
|
this.elem.globalData.frameId !== this.frameId && (this.frameId = this.elem.globalData.frameId, this.iterateDynamicProperties());
|
|
2088
2080
|
}, X([rt], gt);
|
|
@@ -2139,7 +2131,7 @@ function _r() {
|
|
|
2139
2131
|
for (o = 0; o < c; o += 1)
|
|
2140
2132
|
this.shapes[o].pathsData.length = 0, this.shapes[o].shape._mdf = !0;
|
|
2141
2133
|
} else {
|
|
2142
|
-
var
|
|
2134
|
+
var P = [], S, C;
|
|
2143
2135
|
for (o = 0; o < c; o += 1)
|
|
2144
2136
|
if (S = this.shapes[o], !S.shape._mdf && !this._mdf && !t && this.m !== 2)
|
|
2145
2137
|
S.shape.paths = S.localShapeCollection;
|
|
@@ -2148,7 +2140,7 @@ function _r() {
|
|
|
2148
2140
|
p = S.totalShapeLength;
|
|
2149
2141
|
else {
|
|
2150
2142
|
for (_ = this.releasePathsData(S.pathsData), h = 0; h < m; h += 1)
|
|
2151
|
-
M =
|
|
2143
|
+
M = kt.getSegmentsLength(r.shapes[h]), _.push(M), p += M.totalLength;
|
|
2152
2144
|
S.totalShapeLength = p, S.pathsData = _;
|
|
2153
2145
|
}
|
|
2154
2146
|
b += p, S.shape._mdf = !0;
|
|
@@ -2157,28 +2149,28 @@ function _r() {
|
|
|
2157
2149
|
for (o = c - 1; o >= 0; o -= 1)
|
|
2158
2150
|
if (S = this.shapes[o], S.shape._mdf) {
|
|
2159
2151
|
for (C = S.localShapeCollection, C.releaseShapes(), this.m === 2 && c > 1 ? (u = this.calculateShapeEdges(e, i, S.totalShapeLength, f, b), f += S.totalShapeLength) : u = [[y, v]], m = u.length, h = 0; h < m; h += 1) {
|
|
2160
|
-
y = u[h][0], v = u[h][1],
|
|
2152
|
+
y = u[h][0], v = u[h][1], P.length = 0, v <= 1 ? P.push({
|
|
2161
2153
|
s: S.totalShapeLength * y,
|
|
2162
2154
|
e: S.totalShapeLength * v
|
|
2163
|
-
}) : y >= 1 ?
|
|
2155
|
+
}) : y >= 1 ? P.push({
|
|
2164
2156
|
s: S.totalShapeLength * (y - 1),
|
|
2165
2157
|
e: S.totalShapeLength * (v - 1)
|
|
2166
|
-
}) : (
|
|
2158
|
+
}) : (P.push({
|
|
2167
2159
|
s: S.totalShapeLength * y,
|
|
2168
2160
|
e: S.totalShapeLength
|
|
2169
|
-
}),
|
|
2161
|
+
}), P.push({
|
|
2170
2162
|
s: 0,
|
|
2171
2163
|
e: S.totalShapeLength * (v - 1)
|
|
2172
2164
|
}));
|
|
2173
|
-
var g = this.addShapes(S,
|
|
2174
|
-
if (
|
|
2175
|
-
if (
|
|
2176
|
-
var
|
|
2177
|
-
if (
|
|
2165
|
+
var g = this.addShapes(S, P[0]);
|
|
2166
|
+
if (P[0].s !== P[0].e) {
|
|
2167
|
+
if (P.length > 1) {
|
|
2168
|
+
var k = S.shape.paths.shapes[S.shape.paths._length - 1];
|
|
2169
|
+
if (k.c) {
|
|
2178
2170
|
var T = g.pop();
|
|
2179
|
-
this.addPaths(g, C), g = this.addShapes(S,
|
|
2171
|
+
this.addPaths(g, C), g = this.addShapes(S, P[1], T);
|
|
2180
2172
|
} else
|
|
2181
|
-
this.addPaths(g, C), g = this.addShapes(S,
|
|
2173
|
+
this.addPaths(g, C), g = this.addShapes(S, P[1]);
|
|
2182
2174
|
}
|
|
2183
2175
|
this.addPaths(g, C);
|
|
2184
2176
|
}
|
|
@@ -2195,8 +2187,8 @@ function _r() {
|
|
|
2195
2187
|
}, bt.prototype.addSegmentFromArray = function(t, e, i, s) {
|
|
2196
2188
|
e.setXYAt(t[1], t[5], "o", i), e.setXYAt(t[2], t[6], "i", i + 1), s && e.setXYAt(t[0], t[4], "v", i), e.setXYAt(t[3], t[7], "v", i + 1);
|
|
2197
2189
|
}, bt.prototype.addShapes = function(t, e, i) {
|
|
2198
|
-
var s = t.pathsData, n = t.shape.paths.shapes, r, o = t.shape.paths._length, c, h, m = 0, _, M, p, b,
|
|
2199
|
-
for (i ? (M = i._length, S = i._length) : (i = ot.newElement(), M = 0, S = 0),
|
|
2190
|
+
var s = t.pathsData, n = t.shape.paths.shapes, r, o = t.shape.paths._length, c, h, m = 0, _, M, p, b, P = [], S, C = !0;
|
|
2191
|
+
for (i ? (M = i._length, S = i._length) : (i = ot.newElement(), M = 0, S = 0), P.push(i), r = 0; r < o; r += 1) {
|
|
2200
2192
|
for (p = s[r].lengths, i.c = n[r].c, h = n[r].c ? p.length : p.length + 1, c = 1; c < h; c += 1)
|
|
2201
2193
|
if (_ = p[c - 1], m + _.addedLength < e.s)
|
|
2202
2194
|
m += _.addedLength, i.c = !1;
|
|
@@ -2204,26 +2196,26 @@ function _r() {
|
|
|
2204
2196
|
i.c = !1;
|
|
2205
2197
|
break;
|
|
2206
2198
|
} else
|
|
2207
|
-
e.s <= m && e.e >= m + _.addedLength ? (this.addSegment(n[r].v[c - 1], n[r].o[c - 1], n[r].i[c], n[r].v[c], i, M, C), C = !1) : (b =
|
|
2199
|
+
e.s <= m && e.e >= m + _.addedLength ? (this.addSegment(n[r].v[c - 1], n[r].o[c - 1], n[r].i[c], n[r].v[c], i, M, C), C = !1) : (b = kt.getNewSegment(n[r].v[c - 1], n[r].v[c], n[r].o[c - 1], n[r].i[c], (e.s - m) / _.addedLength, (e.e - m) / _.addedLength, p[c - 1]), this.addSegmentFromArray(b, i, M, C), C = !1, i.c = !1), m += _.addedLength, M += 1;
|
|
2208
2200
|
if (n[r].c && p.length) {
|
|
2209
2201
|
if (_ = p[c - 1], m <= e.e) {
|
|
2210
2202
|
var y = p[c - 1].addedLength;
|
|
2211
|
-
e.s <= m && e.e >= m + y ? (this.addSegment(n[r].v[c - 1], n[r].o[c - 1], n[r].i[0], n[r].v[0], i, M, C), C = !1) : (b =
|
|
2203
|
+
e.s <= m && e.e >= m + y ? (this.addSegment(n[r].v[c - 1], n[r].o[c - 1], n[r].i[0], n[r].v[0], i, M, C), C = !1) : (b = kt.getNewSegment(n[r].v[c - 1], n[r].v[0], n[r].o[c - 1], n[r].i[0], (e.s - m) / y, (e.e - m) / y, p[c - 1]), this.addSegmentFromArray(b, i, M, C), C = !1, i.c = !1);
|
|
2212
2204
|
} else
|
|
2213
2205
|
i.c = !1;
|
|
2214
2206
|
m += _.addedLength, M += 1;
|
|
2215
2207
|
}
|
|
2216
2208
|
if (i._length && (i.setXYAt(i.v[S][0], i.v[S][1], "i", S), i.setXYAt(i.v[i._length - 1][0], i.v[i._length - 1][1], "o", i._length - 1)), m > e.e)
|
|
2217
2209
|
break;
|
|
2218
|
-
r < o - 1 && (i = ot.newElement(), C = !0,
|
|
2210
|
+
r < o - 1 && (i = ot.newElement(), C = !0, P.push(i), M = 0);
|
|
2219
2211
|
}
|
|
2220
|
-
return
|
|
2212
|
+
return P;
|
|
2221
2213
|
};
|
|
2222
|
-
function
|
|
2214
|
+
function _e() {
|
|
2223
2215
|
}
|
|
2224
|
-
X([gt],
|
|
2216
|
+
X([gt], _e), _e.prototype.initModifierProperties = function(t, e) {
|
|
2225
2217
|
this.getValue = this.processKeys, this.amount = V.getProp(t, e.a, 0, null, this), this._isAnimated = !!this.amount.effectsSequence.length;
|
|
2226
|
-
},
|
|
2218
|
+
}, _e.prototype.processPath = function(t, e) {
|
|
2227
2219
|
var i = e / 100, s = [0, 0], n = t._length, r = 0;
|
|
2228
2220
|
for (r = 0; r < n; r += 1)
|
|
2229
2221
|
s[0] += t.v[r][0], s[1] += t.v[r][1];
|
|
@@ -2234,7 +2226,7 @@ function _r() {
|
|
|
2234
2226
|
for (r = 0; r < n; r += 1)
|
|
2235
2227
|
c = t.v[r][0] + (s[0] - t.v[r][0]) * i, h = t.v[r][1] + (s[1] - t.v[r][1]) * i, m = t.o[r][0] + (s[0] - t.o[r][0]) * -i, _ = t.o[r][1] + (s[1] - t.o[r][1]) * -i, M = t.i[r][0] + (s[0] - t.i[r][0]) * -i, p = t.i[r][1] + (s[1] - t.i[r][1]) * -i, o.setTripleAt(c, h, m, _, M, p, r);
|
|
2236
2228
|
return o;
|
|
2237
|
-
},
|
|
2229
|
+
}, _e.prototype.processShapes = function(t) {
|
|
2238
2230
|
var e, i, s = this.shapes.length, n, r, o = this.amount.v;
|
|
2239
2231
|
if (o !== 0) {
|
|
2240
2232
|
var c, h;
|
|
@@ -2423,15 +2415,15 @@ function _r() {
|
|
|
2423
2415
|
r += 1;
|
|
2424
2416
|
}
|
|
2425
2417
|
this._currentCopies = c;
|
|
2426
|
-
var p = this.o.v, b = p % 1,
|
|
2418
|
+
var p = this.o.v, b = p % 1, P = p > 0 ? Math.floor(p) : Math.ceil(p), S = this.pMatrix.props, C = this.rMatrix.props, y = this.sMatrix.props;
|
|
2427
2419
|
this.pMatrix.reset(), this.rMatrix.reset(), this.sMatrix.reset(), this.tMatrix.reset(), this.matrix.reset();
|
|
2428
2420
|
var v = 0;
|
|
2429
2421
|
if (p > 0) {
|
|
2430
|
-
for (; v <
|
|
2422
|
+
for (; v < P; )
|
|
2431
2423
|
this.applyTransforms(this.pMatrix, this.rMatrix, this.sMatrix, this.tr, 1, !1), v += 1;
|
|
2432
2424
|
b && (this.applyTransforms(this.pMatrix, this.rMatrix, this.sMatrix, this.tr, b, !1), v += b);
|
|
2433
2425
|
} else if (p < 0) {
|
|
2434
|
-
for (; v >
|
|
2426
|
+
for (; v > P; )
|
|
2435
2427
|
this.applyTransforms(this.pMatrix, this.rMatrix, this.sMatrix, this.tr, 1, !0), v -= 1;
|
|
2436
2428
|
b && (this.applyTransforms(this.pMatrix, this.rMatrix, this.sMatrix, this.tr, -b, !0), v -= b);
|
|
2437
2429
|
}
|
|
@@ -2452,18 +2444,18 @@ function _r() {
|
|
|
2452
2444
|
return o;
|
|
2453
2445
|
}, wt.prototype.addShape = function() {
|
|
2454
2446
|
};
|
|
2455
|
-
function
|
|
2447
|
+
function be() {
|
|
2456
2448
|
}
|
|
2457
|
-
X([gt],
|
|
2449
|
+
X([gt], be), be.prototype.initModifierProperties = function(t, e) {
|
|
2458
2450
|
this.getValue = this.processKeys, this.rd = V.getProp(t, e.r, 0, null, this), this._isAnimated = !!this.rd.effectsSequence.length;
|
|
2459
|
-
},
|
|
2451
|
+
}, be.prototype.processPath = function(t, e) {
|
|
2460
2452
|
var i = ot.newElement();
|
|
2461
2453
|
i.c = t.c;
|
|
2462
|
-
var s, n = t._length, r, o, c, h, m, _, M = 0, p, b,
|
|
2454
|
+
var s, n = t._length, r, o, c, h, m, _, M = 0, p, b, P, S, C, y;
|
|
2463
2455
|
for (s = 0; s < n; s += 1)
|
|
2464
|
-
r = t.v[s], c = t.o[s], o = t.i[s], r[0] === c[0] && r[1] === c[1] && r[0] === o[0] && r[1] === o[1] ? (s === 0 || s === n - 1) && !t.c ? (i.setTripleAt(r[0], r[1], c[0], c[1], o[0], o[1], M), M += 1) : (s === 0 ? h = t.v[n - 1] : h = t.v[s - 1], m = Math.sqrt(Math.pow(r[0] - h[0], 2) + Math.pow(r[1] - h[1], 2)), _ = m ? Math.min(m / 2, e) / m : 0, C = r[0] + (h[0] - r[0]) * _, p = C, y = r[1] - (r[1] - h[1]) * _, b = y,
|
|
2456
|
+
r = t.v[s], c = t.o[s], o = t.i[s], r[0] === c[0] && r[1] === c[1] && r[0] === o[0] && r[1] === o[1] ? (s === 0 || s === n - 1) && !t.c ? (i.setTripleAt(r[0], r[1], c[0], c[1], o[0], o[1], M), M += 1) : (s === 0 ? h = t.v[n - 1] : h = t.v[s - 1], m = Math.sqrt(Math.pow(r[0] - h[0], 2) + Math.pow(r[1] - h[1], 2)), _ = m ? Math.min(m / 2, e) / m : 0, C = r[0] + (h[0] - r[0]) * _, p = C, y = r[1] - (r[1] - h[1]) * _, b = y, P = p - (p - r[0]) * Ot, S = b - (b - r[1]) * Ot, i.setTripleAt(p, b, P, S, C, y, M), M += 1, s === n - 1 ? h = t.v[0] : h = t.v[s + 1], m = Math.sqrt(Math.pow(r[0] - h[0], 2) + Math.pow(r[1] - h[1], 2)), _ = m ? Math.min(m / 2, e) / m : 0, P = r[0] + (h[0] - r[0]) * _, p = P, S = r[1] + (h[1] - r[1]) * _, b = S, C = p - (p - r[0]) * Ot, y = b - (b - r[1]) * Ot, i.setTripleAt(p, b, P, S, C, y, M), M += 1) : (i.setTripleAt(t.v[s][0], t.v[s][1], t.o[s][0], t.o[s][1], t.i[s][0], t.i[s][1], M), M += 1);
|
|
2465
2457
|
return i;
|
|
2466
|
-
},
|
|
2458
|
+
}, be.prototype.processShapes = function(t) {
|
|
2467
2459
|
var e, i, s = this.shapes.length, n, r, o = this.rd.v;
|
|
2468
2460
|
if (o !== 0) {
|
|
2469
2461
|
var c, h;
|
|
@@ -2485,7 +2477,7 @@ function _r() {
|
|
|
2485
2477
|
function Ni(t, e, i) {
|
|
2486
2478
|
return t * (1 - i) + e * i;
|
|
2487
2479
|
}
|
|
2488
|
-
function
|
|
2480
|
+
function Nt(t, e, i) {
|
|
2489
2481
|
return [Ni(t[0], e[0], i), Ni(t[1], e[1], i)];
|
|
2490
2482
|
}
|
|
2491
2483
|
function Ys(t, e, i) {
|
|
@@ -2504,7 +2496,7 @@ function _r() {
|
|
|
2504
2496
|
return new J(t, t, t, t, !1);
|
|
2505
2497
|
}
|
|
2506
2498
|
function J(t, e, i, s, n) {
|
|
2507
|
-
n &&
|
|
2499
|
+
n && ne(t, e) && (e = Nt(t, s, 1 / 3)), n && ne(i, s) && (i = Nt(t, s, 2 / 3));
|
|
2508
2500
|
var r = ji(t[0], e[0], i[0], s[0]), o = ji(t[1], e[1], i[1], s[1]);
|
|
2509
2501
|
this.a = [r[0], o[0]], this.b = [r[1], o[1]], this.c = [r[2], o[2]], this.d = [r[3], o[3]], this.points = [t, e, i, s];
|
|
2510
2502
|
}
|
|
@@ -2530,7 +2522,7 @@ function _r() {
|
|
|
2530
2522
|
}, J.prototype.split = function(t) {
|
|
2531
2523
|
if (t <= 0) return [zi(this.points[0]), this];
|
|
2532
2524
|
if (t >= 1) return [this, zi(this.points[this.points.length - 1])];
|
|
2533
|
-
var e =
|
|
2525
|
+
var e = Nt(this.points[0], this.points[1], t), i = Nt(this.points[1], this.points[2], t), s = Nt(this.points[2], this.points[3], t), n = Nt(e, i, t), r = Nt(i, s, t), o = Nt(n, r, t);
|
|
2534
2526
|
return [new J(this.points[0], e, n, o, !0), new J(o, r, s, this.points[3], !0)];
|
|
2535
2527
|
};
|
|
2536
2528
|
function qi(t, e) {
|
|
@@ -2587,20 +2579,20 @@ function _r() {
|
|
|
2587
2579
|
function Hs(t, e) {
|
|
2588
2580
|
return Math.abs(t.cx - e.cx) * 2 < t.width + e.width && Math.abs(t.cy - e.cy) * 2 < t.height + e.height;
|
|
2589
2581
|
}
|
|
2590
|
-
function
|
|
2582
|
+
function Se(t, e, i, s, n, r) {
|
|
2591
2583
|
if (Hs(t, e)) {
|
|
2592
2584
|
if (i >= r || t.width <= s && t.height <= s && e.width <= s && e.height <= s) {
|
|
2593
2585
|
n.push([t.t, e.t]);
|
|
2594
2586
|
return;
|
|
2595
2587
|
}
|
|
2596
2588
|
var o = Di(t), c = Di(e);
|
|
2597
|
-
|
|
2589
|
+
Se(o[0], c[0], i + 1, s, n, r), Se(o[0], c[1], i + 1, s, n, r), Se(o[1], c[0], i + 1, s, n, r), Se(o[1], c[1], i + 1, s, n, r);
|
|
2598
2590
|
}
|
|
2599
2591
|
}
|
|
2600
2592
|
J.prototype.intersections = function(t, e, i) {
|
|
2601
2593
|
e === void 0 && (e = 2), i === void 0 && (i = 7);
|
|
2602
2594
|
var s = [];
|
|
2603
|
-
return
|
|
2595
|
+
return Se(Ye(this, 0, 1), Ye(t, 0, 1), 0, e, s, i), s;
|
|
2604
2596
|
}, J.shapeSegment = function(t, e) {
|
|
2605
2597
|
var i = (e + 1) % t.length();
|
|
2606
2598
|
return new J(t.v[e], t.o[e], t.i[i], t.v[i], !0);
|
|
@@ -2615,18 +2607,18 @@ function _r() {
|
|
|
2615
2607
|
var n = [t[0], t[1], 1], r = [e[0], e[1], 1], o = [i[0], i[1], 1], c = [s[0], s[1], 1], h = hi(hi(n, r), hi(o, c));
|
|
2616
2608
|
return oi(h[2]) ? null : [h[0] / h[2], h[1] / h[2]];
|
|
2617
2609
|
}
|
|
2618
|
-
function
|
|
2610
|
+
function re(t, e, i) {
|
|
2619
2611
|
return [t[0] + Math.cos(e) * i, t[1] - Math.sin(e) * i];
|
|
2620
2612
|
}
|
|
2621
2613
|
function li(t, e) {
|
|
2622
2614
|
return Math.hypot(t[0] - e[0], t[1] - e[1]);
|
|
2623
2615
|
}
|
|
2624
|
-
function
|
|
2616
|
+
function ne(t, e) {
|
|
2625
2617
|
return Xe(t[0], e[0]) && Xe(t[1], e[1]);
|
|
2626
2618
|
}
|
|
2627
|
-
function
|
|
2619
|
+
function Ae() {
|
|
2628
2620
|
}
|
|
2629
|
-
X([gt],
|
|
2621
|
+
X([gt], Ae), Ae.prototype.initModifierProperties = function(t, e) {
|
|
2630
2622
|
this.getValue = this.processKeys, this.amplitude = V.getProp(t, e.s, 0, null, this), this.frequency = V.getProp(t, e.r, 0, null, this), this.pointsType = V.getProp(t, e.pt, 0, null, this), this._isAnimated = this.amplitude.effectsSequence.length !== 0 || this.frequency.effectsSequence.length !== 0 || this.pointsType.effectsSequence.length !== 0;
|
|
2631
2623
|
};
|
|
2632
2624
|
function Wi(t, e, i, s, n, r, o) {
|
|
@@ -2652,7 +2644,7 @@ function _r() {
|
|
|
2652
2644
|
}
|
|
2653
2645
|
return r;
|
|
2654
2646
|
}
|
|
2655
|
-
|
|
2647
|
+
Ae.prototype.processPath = function(t, e, i, s) {
|
|
2656
2648
|
var n = t._length, r = ot.newElement();
|
|
2657
2649
|
if (r.c = t.c, t.c || (n -= 1), n === 0) return r;
|
|
2658
2650
|
var o = -1, c = J.shapeSegment(t, 0);
|
|
@@ -2660,7 +2652,7 @@ function _r() {
|
|
|
2660
2652
|
for (var h = 0; h < n; h += 1)
|
|
2661
2653
|
o = Us(r, c, e, i, s, -o), h === n - 1 && !t.c ? c = null : c = J.shapeSegment(t, (h + 1) % n), Gi(r, t, h + 1, e, i, s, o);
|
|
2662
2654
|
return r;
|
|
2663
|
-
},
|
|
2655
|
+
}, Ae.prototype.processShapes = function(t) {
|
|
2664
2656
|
var e, i, s = this.shapes.length, n, r, o = this.amplitude.v, c = Math.max(0, Math.round(this.frequency.v)), h = this.pointsType.v;
|
|
2665
2657
|
if (o !== 0) {
|
|
2666
2658
|
var m, _;
|
|
@@ -2675,9 +2667,9 @@ function _r() {
|
|
|
2675
2667
|
};
|
|
2676
2668
|
function fi(t, e, i) {
|
|
2677
2669
|
var s = Math.atan2(e[0] - t[0], e[1] - t[1]);
|
|
2678
|
-
return [
|
|
2670
|
+
return [re(t, s, i), re(e, s, i)];
|
|
2679
2671
|
}
|
|
2680
|
-
function
|
|
2672
|
+
function ae(t, e) {
|
|
2681
2673
|
var i, s, n, r, o, c, h;
|
|
2682
2674
|
h = fi(t.points[0], t.points[1], e), i = h[0], s = h[1], h = fi(t.points[1], t.points[2], e), n = h[0], r = h[1], h = fi(t.points[2], t.points[3], e), o = h[0], c = h[1];
|
|
2683
2675
|
var m = He(i, s, n, r);
|
|
@@ -2687,13 +2679,13 @@ function _r() {
|
|
|
2687
2679
|
}
|
|
2688
2680
|
function Xi(t, e, i, s, n) {
|
|
2689
2681
|
var r = e.points[3], o = i.points[0];
|
|
2690
|
-
if (s === 3 ||
|
|
2682
|
+
if (s === 3 || ne(r, o)) return r;
|
|
2691
2683
|
if (s === 2) {
|
|
2692
|
-
var c = -e.tangentAngle(1), h = -i.tangentAngle(0) + Math.PI, m = He(r,
|
|
2693
|
-
return t.setXYAt(M[0], M[1], "o", t.length() - 1), M =
|
|
2684
|
+
var c = -e.tangentAngle(1), h = -i.tangentAngle(0) + Math.PI, m = He(r, re(r, c + Math.PI / 2, 100), o, re(o, c + Math.PI / 2, 100)), _ = m ? li(m, r) : li(r, o) / 2, M = re(r, c, 2 * _ * Ot);
|
|
2685
|
+
return t.setXYAt(M[0], M[1], "o", t.length() - 1), M = re(o, h, 2 * _ * Ot), t.setTripleAt(o[0], o[1], o[0], o[1], M[0], M[1], t.length()), o;
|
|
2694
2686
|
}
|
|
2695
|
-
var p =
|
|
2696
|
-
return
|
|
2687
|
+
var p = ne(r, e.points[2]) ? e.points[0] : e.points[2], b = ne(o, i.points[1]) ? i.points[3] : i.points[1], P = He(p, r, o, b);
|
|
2688
|
+
return P && li(P, r) < n ? (t.setTripleAt(P[0], P[1], P[0], P[1], P[0], P[1], t.length()), P) : r;
|
|
2697
2689
|
}
|
|
2698
2690
|
function Yi(t, e) {
|
|
2699
2691
|
var i = t.intersections(e);
|
|
@@ -2711,18 +2703,18 @@ function _r() {
|
|
|
2711
2703
|
function Zi(t, e) {
|
|
2712
2704
|
var i = t.inflectionPoints(), s, n, r, o;
|
|
2713
2705
|
if (i.length === 0)
|
|
2714
|
-
return [
|
|
2706
|
+
return [ae(t, e)];
|
|
2715
2707
|
if (i.length === 1 || Xe(i[1], 1))
|
|
2716
|
-
return r = t.split(i[0]), s = r[0], n = r[1], [
|
|
2708
|
+
return r = t.split(i[0]), s = r[0], n = r[1], [ae(s, e), ae(n, e)];
|
|
2717
2709
|
r = t.split(i[0]), s = r[0];
|
|
2718
2710
|
var c = (i[1] - i[0]) / (1 - i[0]);
|
|
2719
|
-
return r = r[1].split(c), o = r[0], n = r[1], [
|
|
2711
|
+
return r = r[1].split(c), o = r[0], n = r[1], [ae(s, e), ae(o, e), ae(n, e)];
|
|
2720
2712
|
}
|
|
2721
|
-
function
|
|
2713
|
+
function Pe() {
|
|
2722
2714
|
}
|
|
2723
|
-
X([gt],
|
|
2715
|
+
X([gt], Pe), Pe.prototype.initModifierProperties = function(t, e) {
|
|
2724
2716
|
this.getValue = this.processKeys, this.amount = V.getProp(t, e.a, 0, null, this), this.miterLimit = V.getProp(t, e.ml, 0, null, this), this.lineJoin = e.lj, this._isAnimated = this.amount.effectsSequence.length !== 0;
|
|
2725
|
-
},
|
|
2717
|
+
}, Pe.prototype.processPath = function(t, e, i, s) {
|
|
2726
2718
|
var n = ot.newElement();
|
|
2727
2719
|
n.c = t.c;
|
|
2728
2720
|
var r = t.length();
|
|
@@ -2738,10 +2730,10 @@ function _r() {
|
|
|
2738
2730
|
for (o = 0; o < m.length; o += 1) {
|
|
2739
2731
|
var p = m[o];
|
|
2740
2732
|
for (M && (_ = Xi(n, M, p[0], i, s)), M = p[p.length - 1], c = 0; c < p.length; c += 1)
|
|
2741
|
-
h = p[c], _ &&
|
|
2733
|
+
h = p[c], _ && ne(h.points[0], _) ? n.setXYAt(h.points[1][0], h.points[1][1], "o", n.length() - 1) : n.setTripleAt(h.points[0][0], h.points[0][1], h.points[1][0], h.points[1][1], h.points[0][0], h.points[0][1], n.length()), n.setTripleAt(h.points[3][0], h.points[3][1], h.points[3][0], h.points[3][1], h.points[2][0], h.points[2][1], n.length()), _ = h.points[3];
|
|
2742
2734
|
}
|
|
2743
2735
|
return m.length && Xi(n, M, m[0][0], i, s), n;
|
|
2744
|
-
},
|
|
2736
|
+
}, Pe.prototype.processShapes = function(t) {
|
|
2745
2737
|
var e, i, s = this.shapes.length, n, r, o = this.amount.v, c = this.miterLimit.v, h = this.lineJoin;
|
|
2746
2738
|
if (o !== 0) {
|
|
2747
2739
|
var m, _;
|
|
@@ -2783,7 +2775,7 @@ function _r() {
|
|
|
2783
2775
|
weight: t.fWeight || i
|
|
2784
2776
|
};
|
|
2785
2777
|
}
|
|
2786
|
-
var
|
|
2778
|
+
var Qt = (function() {
|
|
2787
2779
|
var t = 5e3, e = {
|
|
2788
2780
|
w: 0,
|
|
2789
2781
|
size: 0,
|
|
@@ -2795,34 +2787,34 @@ function _r() {
|
|
|
2795
2787
|
i = i.concat([2304, 2305, 2306, 2307, 2362, 2363, 2364, 2364, 2366, 2367, 2368, 2369, 2370, 2371, 2372, 2373, 2374, 2375, 2376, 2377, 2378, 2379, 2380, 2381, 2382, 2383, 2387, 2388, 2389, 2390, 2391, 2402, 2403]);
|
|
2796
2788
|
var s = 127988, n = 917631, r = 917601, o = 917626, c = 65039, h = 8205, m = 127462, _ = 127487, M = ["d83cdffb", "d83cdffc", "d83cdffd", "d83cdffe", "d83cdfff"];
|
|
2797
2789
|
function p(d) {
|
|
2798
|
-
var
|
|
2790
|
+
var A = d.split(","), a, l = A.length, E = [];
|
|
2799
2791
|
for (a = 0; a < l; a += 1)
|
|
2800
|
-
|
|
2792
|
+
A[a] !== "sans-serif" && A[a] !== "monospace" && E.push(A[a]);
|
|
2801
2793
|
return E.join(",");
|
|
2802
2794
|
}
|
|
2803
|
-
function b(d,
|
|
2795
|
+
function b(d, A) {
|
|
2804
2796
|
var a = _t("span");
|
|
2805
|
-
a.setAttribute("aria-hidden", !0), a.style.fontFamily =
|
|
2797
|
+
a.setAttribute("aria-hidden", !0), a.style.fontFamily = A;
|
|
2806
2798
|
var l = _t("span");
|
|
2807
2799
|
l.innerText = "giItT1WQy@!-/#", a.style.position = "absolute", a.style.left = "-10000px", a.style.top = "-10000px", a.style.fontSize = "300px", a.style.fontVariant = "normal", a.style.fontStyle = "normal", a.style.fontWeight = "normal", a.style.letterSpacing = "0", a.appendChild(l), document.body.appendChild(a);
|
|
2808
2800
|
var E = l.offsetWidth;
|
|
2809
|
-
return l.style.fontFamily = p(d) + ", " +
|
|
2801
|
+
return l.style.fontFamily = p(d) + ", " + A, {
|
|
2810
2802
|
node: l,
|
|
2811
2803
|
w: E,
|
|
2812
2804
|
parent: a
|
|
2813
2805
|
};
|
|
2814
2806
|
}
|
|
2815
|
-
function
|
|
2816
|
-
var d,
|
|
2817
|
-
for (d = 0; d <
|
|
2807
|
+
function P() {
|
|
2808
|
+
var d, A = this.fonts.length, a, l, E = A;
|
|
2809
|
+
for (d = 0; d < A; d += 1)
|
|
2818
2810
|
this.fonts[d].loaded ? E -= 1 : this.fonts[d].fOrigin === "n" || this.fonts[d].origin === 0 ? this.fonts[d].loaded = !0 : (a = this.fonts[d].monoCase.node, l = this.fonts[d].monoCase.w, a.offsetWidth !== l ? (E -= 1, this.fonts[d].loaded = !0) : (a = this.fonts[d].sansCase.node, l = this.fonts[d].sansCase.w, a.offsetWidth !== l && (E -= 1, this.fonts[d].loaded = !0)), this.fonts[d].loaded && (this.fonts[d].sansCase.parent.parentNode.removeChild(this.fonts[d].sansCase.parent), this.fonts[d].monoCase.parent.parentNode.removeChild(this.fonts[d].monoCase.parent)));
|
|
2819
2811
|
E !== 0 && Date.now() - this.initTime < t ? setTimeout(this.checkLoadedFontsBinded, 20) : setTimeout(this.setIsLoadedBinded, 10);
|
|
2820
2812
|
}
|
|
2821
|
-
function S(d,
|
|
2822
|
-
var a = document.body &&
|
|
2813
|
+
function S(d, A) {
|
|
2814
|
+
var a = document.body && A ? "svg" : "canvas", l, E = Ki(d);
|
|
2823
2815
|
if (a === "svg") {
|
|
2824
2816
|
var w = W("text");
|
|
2825
|
-
w.style.fontSize = "100px", w.setAttribute("font-family", d.fFamily), w.setAttribute("font-style", E.style), w.setAttribute("font-weight", E.weight), w.textContent = "1", d.fClass ? (w.style.fontFamily = "inherit", w.setAttribute("class", d.fClass)) : w.style.fontFamily = d.fFamily,
|
|
2817
|
+
w.style.fontSize = "100px", w.setAttribute("font-family", d.fFamily), w.setAttribute("font-style", E.style), w.setAttribute("font-weight", E.weight), w.textContent = "1", d.fClass ? (w.style.fontFamily = "inherit", w.setAttribute("class", d.fClass)) : w.style.fontFamily = d.fFamily, A.appendChild(w), l = w;
|
|
2826
2818
|
} else {
|
|
2827
2819
|
var R = new OffscreenCanvas(500, 500).getContext("2d");
|
|
2828
2820
|
R.font = E.style + " " + E.weight + " 100px " + d.fFamily, l = R;
|
|
@@ -2834,7 +2826,7 @@ function _r() {
|
|
|
2834
2826
|
measureText: z
|
|
2835
2827
|
};
|
|
2836
2828
|
}
|
|
2837
|
-
function C(d,
|
|
2829
|
+
function C(d, A) {
|
|
2838
2830
|
if (!d) {
|
|
2839
2831
|
this.isLoaded = !0;
|
|
2840
2832
|
return;
|
|
@@ -2857,7 +2849,7 @@ function _r() {
|
|
|
2857
2849
|
else if (a[l].fOrigin === "p" || a[l].origin === 3) {
|
|
2858
2850
|
if (z = document.querySelectorAll('style[f-forigin="p"][f-family="' + a[l].fFamily + '"], style[f-origin="3"][f-family="' + a[l].fFamily + '"]'), z.length > 0 && (R = !1), R) {
|
|
2859
2851
|
var Y = _t("style");
|
|
2860
|
-
Y.setAttribute("f-forigin", a[l].fOrigin), Y.setAttribute("f-origin", a[l].origin), Y.setAttribute("f-family", a[l].fFamily), Y.type = "text/css", Y.innerText = "@font-face {font-family: " + a[l].fFamily + "; font-style: normal; src: url('" + a[l].fPath + "');}",
|
|
2852
|
+
Y.setAttribute("f-forigin", a[l].fOrigin), Y.setAttribute("f-origin", a[l].origin), Y.setAttribute("f-family", a[l].fFamily), Y.type = "text/css", Y.innerText = "@font-face {font-family: " + a[l].fFamily + "; font-style: normal; src: url('" + a[l].fPath + "');}", A.appendChild(Y);
|
|
2861
2853
|
}
|
|
2862
2854
|
} else if (a[l].fOrigin === "g" || a[l].origin === 1) {
|
|
2863
2855
|
for (z = document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'), D = 0; D < z.length; D += 1)
|
|
@@ -2871,34 +2863,34 @@ function _r() {
|
|
|
2871
2863
|
a[l].fPath === z[D].src && (R = !1);
|
|
2872
2864
|
if (R) {
|
|
2873
2865
|
var et = _t("link");
|
|
2874
|
-
et.setAttribute("f-forigin", a[l].fOrigin), et.setAttribute("f-origin", a[l].origin), et.setAttribute("rel", "stylesheet"), et.setAttribute("href", a[l].fPath),
|
|
2866
|
+
et.setAttribute("f-forigin", a[l].fOrigin), et.setAttribute("f-origin", a[l].origin), et.setAttribute("rel", "stylesheet"), et.setAttribute("href", a[l].fPath), A.appendChild(et);
|
|
2875
2867
|
}
|
|
2876
2868
|
}
|
|
2877
|
-
a[l].helper = S(a[l],
|
|
2869
|
+
a[l].helper = S(a[l], A), a[l].cache = {}, this.fonts.push(a[l]);
|
|
2878
2870
|
}
|
|
2879
2871
|
w === 0 ? this.isLoaded = !0 : setTimeout(this.checkLoadedFonts.bind(this), 100);
|
|
2880
2872
|
}
|
|
2881
2873
|
function y(d) {
|
|
2882
2874
|
if (d) {
|
|
2883
2875
|
this.chars || (this.chars = []);
|
|
2884
|
-
var
|
|
2885
|
-
for (
|
|
2876
|
+
var A, a = d.length, l, E = this.chars.length, w;
|
|
2877
|
+
for (A = 0; A < a; A += 1) {
|
|
2886
2878
|
for (l = 0, w = !1; l < E; )
|
|
2887
|
-
this.chars[l].style === d[
|
|
2888
|
-
w || (this.chars.push(d[
|
|
2879
|
+
this.chars[l].style === d[A].style && this.chars[l].fFamily === d[A].fFamily && this.chars[l].ch === d[A].ch && (w = !0), l += 1;
|
|
2880
|
+
w || (this.chars.push(d[A]), E += 1);
|
|
2889
2881
|
}
|
|
2890
2882
|
}
|
|
2891
2883
|
}
|
|
2892
|
-
function v(d,
|
|
2884
|
+
function v(d, A, a) {
|
|
2893
2885
|
for (var l = 0, E = this.chars.length; l < E; ) {
|
|
2894
|
-
if (this.chars[l].ch === d && this.chars[l].style ===
|
|
2886
|
+
if (this.chars[l].ch === d && this.chars[l].style === A && this.chars[l].fFamily === a)
|
|
2895
2887
|
return this.chars[l];
|
|
2896
2888
|
l += 1;
|
|
2897
2889
|
}
|
|
2898
|
-
return (typeof d == "string" && d.charCodeAt(0) !== 13 || !d) && console && console.warn && !this._warned && (this._warned = !0, console.warn("Missing character from exported characters list: ", d,
|
|
2890
|
+
return (typeof d == "string" && d.charCodeAt(0) !== 13 || !d) && console && console.warn && !this._warned && (this._warned = !0, console.warn("Missing character from exported characters list: ", d, A, a)), e;
|
|
2899
2891
|
}
|
|
2900
|
-
function f(d,
|
|
2901
|
-
var l = this.getFontByName(
|
|
2892
|
+
function f(d, A, a) {
|
|
2893
|
+
var l = this.getFontByName(A), E = d;
|
|
2902
2894
|
if (!l.cache[E]) {
|
|
2903
2895
|
var w = l.helper;
|
|
2904
2896
|
if (d === " ") {
|
|
@@ -2910,23 +2902,23 @@ function _r() {
|
|
|
2910
2902
|
return l.cache[E] * a;
|
|
2911
2903
|
}
|
|
2912
2904
|
function u(d) {
|
|
2913
|
-
for (var
|
|
2914
|
-
if (this.fonts[
|
|
2915
|
-
return this.fonts[
|
|
2916
|
-
|
|
2905
|
+
for (var A = 0, a = this.fonts.length; A < a; ) {
|
|
2906
|
+
if (this.fonts[A].fName === d)
|
|
2907
|
+
return this.fonts[A];
|
|
2908
|
+
A += 1;
|
|
2917
2909
|
}
|
|
2918
2910
|
return this.fonts[0];
|
|
2919
2911
|
}
|
|
2920
2912
|
function g(d) {
|
|
2921
|
-
var
|
|
2913
|
+
var A = 0, a = d.charCodeAt(0);
|
|
2922
2914
|
if (a >= 55296 && a <= 56319) {
|
|
2923
2915
|
var l = d.charCodeAt(1);
|
|
2924
|
-
l >= 56320 && l <= 57343 && (
|
|
2916
|
+
l >= 56320 && l <= 57343 && (A = (a - 55296) * 1024 + l - 56320 + 65536);
|
|
2925
2917
|
}
|
|
2926
|
-
return
|
|
2918
|
+
return A;
|
|
2927
2919
|
}
|
|
2928
|
-
function
|
|
2929
|
-
var a = d.toString(16) +
|
|
2920
|
+
function k(d, A) {
|
|
2921
|
+
var a = d.toString(16) + A.toString(16);
|
|
2930
2922
|
return M.indexOf(a) !== -1;
|
|
2931
2923
|
}
|
|
2932
2924
|
function T(d) {
|
|
@@ -2936,8 +2928,8 @@ function _r() {
|
|
|
2936
2928
|
return d === c;
|
|
2937
2929
|
}
|
|
2938
2930
|
function I(d) {
|
|
2939
|
-
var
|
|
2940
|
-
return
|
|
2931
|
+
var A = g(d);
|
|
2932
|
+
return A >= m && A <= _;
|
|
2941
2933
|
}
|
|
2942
2934
|
function q(d) {
|
|
2943
2935
|
return I(d.substr(0, 2)) && I(d.substr(2, 2));
|
|
@@ -2945,17 +2937,17 @@ function _r() {
|
|
|
2945
2937
|
function N(d) {
|
|
2946
2938
|
return i.indexOf(d) !== -1;
|
|
2947
2939
|
}
|
|
2948
|
-
function L(d,
|
|
2949
|
-
var a = g(d.substr(
|
|
2940
|
+
function L(d, A) {
|
|
2941
|
+
var a = g(d.substr(A, 2));
|
|
2950
2942
|
if (a !== s)
|
|
2951
2943
|
return !1;
|
|
2952
2944
|
var l = 0;
|
|
2953
|
-
for (
|
|
2954
|
-
if (a = g(d.substr(
|
|
2945
|
+
for (A += 2; l < 5; ) {
|
|
2946
|
+
if (a = g(d.substr(A, 2)), a < r || a > o)
|
|
2955
2947
|
return !1;
|
|
2956
|
-
l += 1,
|
|
2948
|
+
l += 1, A += 2;
|
|
2957
2949
|
}
|
|
2958
|
-
return g(d.substr(
|
|
2950
|
+
return g(d.substr(A, 2)) === n;
|
|
2959
2951
|
}
|
|
2960
2952
|
function G() {
|
|
2961
2953
|
this.isLoaded = !0;
|
|
@@ -2963,14 +2955,14 @@ function _r() {
|
|
|
2963
2955
|
var O = function() {
|
|
2964
2956
|
this.fonts = [], this.chars = null, this.typekitLoaded = 0, this.isLoaded = !1, this._warned = !1, this.initTime = Date.now(), this.setIsLoadedBinded = this.setIsLoaded.bind(this), this.checkLoadedFontsBinded = this.checkLoadedFonts.bind(this);
|
|
2965
2957
|
};
|
|
2966
|
-
O.isModifier =
|
|
2958
|
+
O.isModifier = k, O.isZeroWidthJoiner = T, O.isFlagEmoji = q, O.isRegionalCode = I, O.isCombinedCharacter = N, O.isRegionalFlag = L, O.isVariationSelector = x, O.BLACK_FLAG_CODE_POINT = s;
|
|
2967
2959
|
var F = {
|
|
2968
2960
|
addChars: y,
|
|
2969
2961
|
addFonts: C,
|
|
2970
2962
|
getCharData: v,
|
|
2971
2963
|
getFontByName: u,
|
|
2972
2964
|
measureText: f,
|
|
2973
|
-
checkLoadedFonts:
|
|
2965
|
+
checkLoadedFonts: P,
|
|
2974
2966
|
setIsLoaded: G
|
|
2975
2967
|
};
|
|
2976
2968
|
return O.prototype = F, O;
|
|
@@ -3088,12 +3080,12 @@ function _r() {
|
|
|
3088
3080
|
this.effectElements = [];
|
|
3089
3081
|
var s, n = i.length, r;
|
|
3090
3082
|
for (s = 0; s < n; s += 1)
|
|
3091
|
-
r = new
|
|
3083
|
+
r = new ke(i[s], e), this.effectElements.push(r);
|
|
3092
3084
|
}
|
|
3093
|
-
function
|
|
3085
|
+
function ke(t, e) {
|
|
3094
3086
|
this.init(t, e);
|
|
3095
3087
|
}
|
|
3096
|
-
X([rt],
|
|
3088
|
+
X([rt], ke), ke.prototype.getValue = ke.prototype.iterateDynamicProperties, ke.prototype.init = function(t, e) {
|
|
3097
3089
|
this.data = t, this.effectElements = [], this.initDynamicPropertyContainer(e);
|
|
3098
3090
|
var i, s = this.data.ef.length, n, r = this.data.ef;
|
|
3099
3091
|
for (i = 0; i < s; i += 1) {
|
|
@@ -3131,9 +3123,9 @@ function _r() {
|
|
|
3131
3123
|
n && this.effectElements.push(n);
|
|
3132
3124
|
}
|
|
3133
3125
|
};
|
|
3134
|
-
function
|
|
3126
|
+
function jt() {
|
|
3135
3127
|
}
|
|
3136
|
-
|
|
3128
|
+
jt.prototype = {
|
|
3137
3129
|
checkMasks: function() {
|
|
3138
3130
|
if (!this.data.hasMask)
|
|
3139
3131
|
return !1;
|
|
@@ -3159,9 +3151,9 @@ function _r() {
|
|
|
3159
3151
|
sourceRectAtTime: function() {
|
|
3160
3152
|
}
|
|
3161
3153
|
};
|
|
3162
|
-
function
|
|
3154
|
+
function zt() {
|
|
3163
3155
|
}
|
|
3164
|
-
|
|
3156
|
+
zt.prototype = {
|
|
3165
3157
|
/**
|
|
3166
3158
|
* @function
|
|
3167
3159
|
* Initializes frame related properties.
|
|
@@ -3189,16 +3181,16 @@ function _r() {
|
|
|
3189
3181
|
this.dynamicProperties.indexOf(e) === -1 && this.dynamicProperties.push(e);
|
|
3190
3182
|
}
|
|
3191
3183
|
};
|
|
3192
|
-
function
|
|
3184
|
+
function qt(t, e, i) {
|
|
3193
3185
|
this.initFrame(), this.initRenderable(), this.assetData = e.getAssetData(t.refId), this.footageData = e.imageLoader.getAsset(this.assetData), this.initBaseData(t, e, i);
|
|
3194
3186
|
}
|
|
3195
|
-
|
|
3196
|
-
}, X([Ze,
|
|
3187
|
+
qt.prototype.prepareFrame = function() {
|
|
3188
|
+
}, X([Ze, jt, zt], qt), qt.prototype.getBaseElement = function() {
|
|
3197
3189
|
return null;
|
|
3198
|
-
},
|
|
3199
|
-
},
|
|
3200
|
-
},
|
|
3201
|
-
},
|
|
3190
|
+
}, qt.prototype.renderFrame = function() {
|
|
3191
|
+
}, qt.prototype.destroy = function() {
|
|
3192
|
+
}, qt.prototype.initExpressions = function() {
|
|
3193
|
+
}, qt.prototype.getFootageData = function() {
|
|
3202
3194
|
return this.footageData;
|
|
3203
3195
|
};
|
|
3204
3196
|
function ut(t, e, i) {
|
|
@@ -3220,7 +3212,7 @@ function _r() {
|
|
|
3220
3212
|
this._volume = this.lv.v[0];
|
|
3221
3213
|
var i = this._volume * this._volumeMultiplier;
|
|
3222
3214
|
this._previousVolume !== i && (this._previousVolume = i, this.audio.volume(i));
|
|
3223
|
-
}, X([Ze,
|
|
3215
|
+
}, X([Ze, jt, zt], ut), ut.prototype.renderFrame = function() {
|
|
3224
3216
|
this.isInRange && this._canPlay && (this._isPlaying ? (!this.audio.playing() || Math.abs(this._currentTime / this.globalData.frameRate - this.audio.seek()) > 0.1) && this.audio.seek(this._currentTime / this.globalData.frameRate) : (this.audio.play(), this.audio.seek(this._currentTime / this.globalData.frameRate), this._isPlaying = !0));
|
|
3225
3217
|
}, ut.prototype.show = function() {
|
|
3226
3218
|
}, ut.prototype.hide = function() {
|
|
@@ -3274,7 +3266,7 @@ function _r() {
|
|
|
3274
3266
|
}, lt.prototype.createAudio = function(t) {
|
|
3275
3267
|
return new ut(t, this.globalData, this);
|
|
3276
3268
|
}, lt.prototype.createFootage = function(t) {
|
|
3277
|
-
return new
|
|
3269
|
+
return new qt(t, this.globalData, this);
|
|
3278
3270
|
}, lt.prototype.buildAllItems = function() {
|
|
3279
3271
|
var t, e = this.layers.length;
|
|
3280
3272
|
for (t = 0; t < e; t += 1)
|
|
@@ -3327,7 +3319,7 @@ function _r() {
|
|
|
3327
3319
|
}
|
|
3328
3320
|
return t.length === 0 ? i : i.getElementByPath(t);
|
|
3329
3321
|
}, lt.prototype.setupGlobalData = function(t, e) {
|
|
3330
|
-
this.globalData.fontManager = new
|
|
3322
|
+
this.globalData.fontManager = new Qt(), this.globalData.slotManager = Qs(t), this.globalData.fontManager.addChars(t.chars), this.globalData.fontManager.addFonts(t.fonts, e), this.globalData.getAssetData = this.animationItem.getAssetData.bind(this.animationItem), this.globalData.getAssetsPath = this.animationItem.getAssetsPath.bind(this.animationItem), this.globalData.imageLoader = this.animationItem.imagePreloader, this.globalData.audioController = this.animationItem.audioController, this.globalData.frameId = 0, this.globalData.frameRate = t.fr, this.globalData.nm = t.nm, this.globalData.compSize = {
|
|
3331
3323
|
w: t.w,
|
|
3332
3324
|
h: t.h
|
|
3333
3325
|
};
|
|
@@ -3335,9 +3327,9 @@ function _r() {
|
|
|
3335
3327
|
var or = {
|
|
3336
3328
|
TRANSFORM_EFFECT: "transformEFfect"
|
|
3337
3329
|
};
|
|
3338
|
-
function
|
|
3330
|
+
function oe() {
|
|
3339
3331
|
}
|
|
3340
|
-
|
|
3332
|
+
oe.prototype = {
|
|
3341
3333
|
initTransform: function() {
|
|
3342
3334
|
var e = new ht();
|
|
3343
3335
|
this.finalTransform = {
|
|
@@ -3414,11 +3406,11 @@ function _r() {
|
|
|
3414
3406
|
},
|
|
3415
3407
|
mHelper: new ht()
|
|
3416
3408
|
};
|
|
3417
|
-
function
|
|
3409
|
+
function $t(t, e, i) {
|
|
3418
3410
|
this.data = t, this.element = e, this.globalData = i, this.storedData = [], this.masksProperties = this.data.masksProperties || [], this.maskElement = null;
|
|
3419
3411
|
var s = this.globalData.defs, n, r = this.masksProperties ? this.masksProperties.length : 0;
|
|
3420
3412
|
this.viewData = tt(r), this.solidPath = "";
|
|
3421
|
-
var o, c = this.masksProperties, h = 0, m = [], _, M, p = pt(), b,
|
|
3413
|
+
var o, c = this.masksProperties, h = 0, m = [], _, M, p = pt(), b, P, S, C, y = "clipPath", v = "clip-path";
|
|
3422
3414
|
for (n = 0; n < r; n += 1)
|
|
3423
3415
|
if ((c[n].mode !== "a" && c[n].mode !== "n" || c[n].inv || c[n].o.k !== 100 || c[n].o.x) && (y = "mask", v = "mask"), (c[n].mode === "s" || c[n].mode === "i") && h === 0 ? (b = W("rect"), b.setAttribute("fill", "#ffffff"), b.setAttribute("width", this.element.comp.data.w || 0), b.setAttribute("height", this.element.comp.data.h || 0), m.push(b)) : b = null, o = W("path"), c[n].mode === "n")
|
|
3424
3416
|
this.viewData[n] = {
|
|
@@ -3430,7 +3422,7 @@ function _r() {
|
|
|
3430
3422
|
else {
|
|
3431
3423
|
h += 1, o.setAttribute("fill", c[n].mode === "s" ? "#000000" : "#ffffff"), o.setAttribute("clip-rule", "nonzero");
|
|
3432
3424
|
var f;
|
|
3433
|
-
if (c[n].x.k !== 0 ? (y = "mask", v = "mask", C = V.getProp(this.element, c[n].x, 0, null, this.element), f = pt(),
|
|
3425
|
+
if (c[n].x.k !== 0 ? (y = "mask", v = "mask", C = V.getProp(this.element, c[n].x, 0, null, this.element), f = pt(), P = W("filter"), P.setAttribute("id", f), S = W("feMorphology"), S.setAttribute("operator", "erode"), S.setAttribute("in", "SourceGraphic"), S.setAttribute("radius", "0"), P.appendChild(S), s.appendChild(P), o.setAttribute("stroke", c[n].mode === "s" ? "#000000" : "#ffffff")) : (S = null, C = null), this.storedData[n] = {
|
|
3434
3426
|
elem: o,
|
|
3435
3427
|
x: C,
|
|
3436
3428
|
expan: S,
|
|
@@ -3459,21 +3451,21 @@ function _r() {
|
|
|
3459
3451
|
this.maskElement.appendChild(m[n]);
|
|
3460
3452
|
h > 0 && (this.maskElement.setAttribute("id", p), this.element.maskedElement.setAttribute(v, "url(" + at() + "#" + p + ")"), s.appendChild(this.maskElement)), this.viewData.length && this.element.addRenderableComponent(this);
|
|
3461
3453
|
}
|
|
3462
|
-
|
|
3454
|
+
$t.prototype.getMaskProperty = function(t) {
|
|
3463
3455
|
return this.viewData[t].prop;
|
|
3464
|
-
},
|
|
3456
|
+
}, $t.prototype.renderFrame = function(t) {
|
|
3465
3457
|
var e = this.element.finalTransform.mat, i, s = this.masksProperties.length;
|
|
3466
3458
|
for (i = 0; i < s; i += 1)
|
|
3467
3459
|
if ((this.viewData[i].prop._mdf || t) && this.drawPath(this.masksProperties[i], this.viewData[i].prop.v, this.viewData[i]), (this.viewData[i].op._mdf || t) && this.viewData[i].elem.setAttribute("fill-opacity", this.viewData[i].op.v), this.masksProperties[i].mode !== "n" && (this.viewData[i].invRect && (this.element.finalTransform.mProp._mdf || t) && this.viewData[i].invRect.setAttribute("transform", e.getInverseMatrix().to2dCSS()), this.storedData[i].x && (this.storedData[i].x._mdf || t))) {
|
|
3468
3460
|
var n = this.storedData[i].expan;
|
|
3469
3461
|
this.storedData[i].x.v < 0 ? (this.storedData[i].lastOperator !== "erode" && (this.storedData[i].lastOperator = "erode", this.storedData[i].elem.setAttribute("filter", "url(" + at() + "#" + this.storedData[i].filterId + ")")), n.setAttribute("radius", -this.storedData[i].x.v)) : (this.storedData[i].lastOperator !== "dilate" && (this.storedData[i].lastOperator = "dilate", this.storedData[i].elem.setAttribute("filter", null)), this.storedData[i].elem.setAttribute("stroke-width", this.storedData[i].x.v * 2));
|
|
3470
3462
|
}
|
|
3471
|
-
},
|
|
3463
|
+
}, $t.prototype.getMaskelement = function() {
|
|
3472
3464
|
return this.maskElement;
|
|
3473
|
-
},
|
|
3465
|
+
}, $t.prototype.createLayerSolidPath = function() {
|
|
3474
3466
|
var t = "M0,0 ";
|
|
3475
3467
|
return t += " h" + this.globalData.compSize.w, t += " v" + this.globalData.compSize.h, t += " h-" + this.globalData.compSize.w, t += " v-" + this.globalData.compSize.h + " ", t;
|
|
3476
|
-
},
|
|
3468
|
+
}, $t.prototype.drawPath = function(t, e, i) {
|
|
3477
3469
|
var s = " M" + e.v[0][0] + "," + e.v[0][1], n, r;
|
|
3478
3470
|
for (r = e._length, n = 1; n < r; n += 1)
|
|
3479
3471
|
s += " C" + e.o[n - 1][0] + "," + e.o[n - 1][1] + " " + e.i[n][0] + "," + e.i[n][1] + " " + e.v[n][0] + "," + e.v[n][1];
|
|
@@ -3481,10 +3473,10 @@ function _r() {
|
|
|
3481
3473
|
var o = "";
|
|
3482
3474
|
i.elem && (e.c && (o = t.inv ? this.solidPath + s : s), i.elem.setAttribute("d", o)), i.lastPath = s;
|
|
3483
3475
|
}
|
|
3484
|
-
},
|
|
3476
|
+
}, $t.prototype.destroy = function() {
|
|
3485
3477
|
this.element = null, this.globalData = null, this.maskElement = null, this.data = null, this.masksProperties = null;
|
|
3486
3478
|
};
|
|
3487
|
-
var
|
|
3479
|
+
var we = (function() {
|
|
3488
3480
|
var t = {};
|
|
3489
3481
|
t.createFilter = e, t.createAlphaToLuminanceFilter = i;
|
|
3490
3482
|
function e(s, n) {
|
|
@@ -3505,7 +3497,7 @@ function _r() {
|
|
|
3505
3497
|
return (/MSIE 10/i.test(navigator.userAgent) || /MSIE 9/i.test(navigator.userAgent) || /rv:11.0/i.test(navigator.userAgent) || /Edge\/\d./i.test(navigator.userAgent)) && (t.maskType = !1), /firefox/i.test(navigator.userAgent) && (t.svgLumaHidden = !1), t;
|
|
3506
3498
|
})(), ui = {}, $i = "filter_result_";
|
|
3507
3499
|
function ci(t) {
|
|
3508
|
-
var e, i = "SourceGraphic", s = t.data.ef ? t.data.ef.length : 0, n = pt(), r =
|
|
3500
|
+
var e, i = "SourceGraphic", s = t.data.ef ? t.data.ef.length : 0, n = pt(), r = we.createFilter(n, !0), o = 0;
|
|
3509
3501
|
this.filters = [];
|
|
3510
3502
|
var c;
|
|
3511
3503
|
for (e = 0; e < s; e += 1) {
|
|
@@ -3529,9 +3521,9 @@ function _r() {
|
|
|
3529
3521
|
this.filters[e].type === t && s.push(this.filters[e]);
|
|
3530
3522
|
return s;
|
|
3531
3523
|
};
|
|
3532
|
-
function
|
|
3524
|
+
function Ce() {
|
|
3533
3525
|
}
|
|
3534
|
-
|
|
3526
|
+
Ce.prototype = {
|
|
3535
3527
|
initRendererElement: function() {
|
|
3536
3528
|
this.layerElement = W("g");
|
|
3537
3529
|
},
|
|
@@ -3565,25 +3557,25 @@ function _r() {
|
|
|
3565
3557
|
return this.data.hd ? null : this.baseElement;
|
|
3566
3558
|
},
|
|
3567
3559
|
createRenderableComponents: function() {
|
|
3568
|
-
this.maskManager = new
|
|
3560
|
+
this.maskManager = new $t(this.data, this, this.globalData), this.renderableEffectsManager = new ci(this), this.searchEffectTransforms();
|
|
3569
3561
|
},
|
|
3570
3562
|
getMatte: function(e) {
|
|
3571
3563
|
if (this.matteMasks || (this.matteMasks = {}), !this.matteMasks[e]) {
|
|
3572
3564
|
var i = this.layerId + "_" + e, s, n, r, o;
|
|
3573
3565
|
if (e === 1 || e === 3) {
|
|
3574
3566
|
var c = W("mask");
|
|
3575
|
-
c.setAttribute("id", i), c.setAttribute("mask-type", e === 3 ? "luminance" : "alpha"), r = W("use"), r.setAttributeNS("http://www.w3.org/1999/xlink", "href", "#" + this.layerId), c.appendChild(r), this.globalData.defs.appendChild(c), !Qi.maskType && e === 1 && (c.setAttribute("mask-type", "luminance"), s = pt(), n =
|
|
3567
|
+
c.setAttribute("id", i), c.setAttribute("mask-type", e === 3 ? "luminance" : "alpha"), r = W("use"), r.setAttributeNS("http://www.w3.org/1999/xlink", "href", "#" + this.layerId), c.appendChild(r), this.globalData.defs.appendChild(c), !Qi.maskType && e === 1 && (c.setAttribute("mask-type", "luminance"), s = pt(), n = we.createFilter(s), this.globalData.defs.appendChild(n), n.appendChild(we.createAlphaToLuminanceFilter()), o = W("g"), o.appendChild(r), c.appendChild(o), o.setAttribute("filter", "url(" + at() + "#" + s + ")"));
|
|
3576
3568
|
} else if (e === 2) {
|
|
3577
3569
|
var h = W("mask");
|
|
3578
3570
|
h.setAttribute("id", i), h.setAttribute("mask-type", "alpha");
|
|
3579
3571
|
var m = W("g");
|
|
3580
|
-
h.appendChild(m), s = pt(), n =
|
|
3572
|
+
h.appendChild(m), s = pt(), n = we.createFilter(s);
|
|
3581
3573
|
var _ = W("feComponentTransfer");
|
|
3582
3574
|
_.setAttribute("in", "SourceGraphic"), n.appendChild(_);
|
|
3583
3575
|
var M = W("feFuncA");
|
|
3584
3576
|
M.setAttribute("type", "table"), M.setAttribute("tableValues", "1.0 0.0"), _.appendChild(M), this.globalData.defs.appendChild(n);
|
|
3585
3577
|
var p = W("rect");
|
|
3586
|
-
p.setAttribute("width", this.comp.data.w), p.setAttribute("height", this.comp.data.h), p.setAttribute("x", "0"), p.setAttribute("y", "0"), p.setAttribute("fill", "#ffffff"), p.setAttribute("opacity", "0"), m.setAttribute("filter", "url(" + at() + "#" + s + ")"), m.appendChild(p), r = W("use"), r.setAttributeNS("http://www.w3.org/1999/xlink", "href", "#" + this.layerId), m.appendChild(r), Qi.maskType || (h.setAttribute("mask-type", "luminance"), n.appendChild(
|
|
3578
|
+
p.setAttribute("width", this.comp.data.w), p.setAttribute("height", this.comp.data.h), p.setAttribute("x", "0"), p.setAttribute("y", "0"), p.setAttribute("fill", "#ffffff"), p.setAttribute("opacity", "0"), m.setAttribute("filter", "url(" + at() + "#" + s + ")"), m.appendChild(p), r = W("use"), r.setAttributeNS("http://www.w3.org/1999/xlink", "href", "#" + this.layerId), m.appendChild(r), Qi.maskType || (h.setAttribute("mask-type", "luminance"), n.appendChild(we.createAlphaToLuminanceFilter()), o = W("g"), m.appendChild(p), o.appendChild(this.layerElement), m.appendChild(o)), this.globalData.defs.appendChild(h);
|
|
3587
3579
|
}
|
|
3588
3580
|
this.matteMasks[e] = i;
|
|
3589
3581
|
}
|
|
@@ -3593,9 +3585,9 @@ function _r() {
|
|
|
3593
3585
|
this.matteElement && this.matteElement.setAttribute("mask", "url(" + at() + "#" + e + ")");
|
|
3594
3586
|
}
|
|
3595
3587
|
};
|
|
3596
|
-
function
|
|
3588
|
+
function he() {
|
|
3597
3589
|
}
|
|
3598
|
-
|
|
3590
|
+
he.prototype = {
|
|
3599
3591
|
/**
|
|
3600
3592
|
* @function
|
|
3601
3593
|
* Initializes hierarchy properties
|
|
@@ -3631,7 +3623,7 @@ function _r() {
|
|
|
3631
3623
|
this.data.parent !== void 0 && this.comp.buildElementParenting(this, this.data.parent, []);
|
|
3632
3624
|
}
|
|
3633
3625
|
};
|
|
3634
|
-
function
|
|
3626
|
+
function Te() {
|
|
3635
3627
|
}
|
|
3636
3628
|
(function() {
|
|
3637
3629
|
var t = {
|
|
@@ -3665,9 +3657,9 @@ function _r() {
|
|
|
3665
3657
|
this.innerElem = null, this.destroyBaseElement();
|
|
3666
3658
|
}
|
|
3667
3659
|
};
|
|
3668
|
-
X([Ze, $e(t)],
|
|
3660
|
+
X([Ze, $e(t)], Te);
|
|
3669
3661
|
})();
|
|
3670
|
-
function
|
|
3662
|
+
function Me(t, e, i) {
|
|
3671
3663
|
this.assetData = e.getAssetData(t.refId), this.assetData && this.assetData.sid && (this.assetData = e.slotManager.getProp(this.assetData)), this.initElement(t, e, i), this.sourceRect = {
|
|
3672
3664
|
top: 0,
|
|
3673
3665
|
left: 0,
|
|
@@ -3675,10 +3667,10 @@ function _r() {
|
|
|
3675
3667
|
height: this.assetData.h
|
|
3676
3668
|
};
|
|
3677
3669
|
}
|
|
3678
|
-
X([
|
|
3670
|
+
X([jt, oe, Ce, he, zt, Te], Me), Me.prototype.createContent = function() {
|
|
3679
3671
|
var t = this.globalData.getAssetsPath(this.assetData);
|
|
3680
3672
|
this.innerElem = W("image"), this.innerElem.setAttribute("width", this.assetData.w + "px"), this.innerElem.setAttribute("height", this.assetData.h + "px"), this.innerElem.setAttribute("preserveAspectRatio", this.assetData.pr || this.globalData.renderConfig.imagePreserveAspectRatio), this.innerElem.setAttributeNS("http://www.w3.org/1999/xlink", "href", t), this.layerElement.appendChild(this.innerElem);
|
|
3681
|
-
},
|
|
3673
|
+
}, Me.prototype.sourceRectAtTime = function() {
|
|
3682
3674
|
return this.sourceRect;
|
|
3683
3675
|
};
|
|
3684
3676
|
function hr(t, e) {
|
|
@@ -3786,19 +3778,19 @@ function _r() {
|
|
|
3786
3778
|
this.initDynamicPropertyContainer(t), this.getValue = this.iterateDynamicProperties, this.style = i;
|
|
3787
3779
|
}
|
|
3788
3780
|
X([rt], os);
|
|
3789
|
-
function
|
|
3781
|
+
function Ee(t, e, i) {
|
|
3790
3782
|
this.data = e, this.c = U("uint8c", e.p * 4);
|
|
3791
3783
|
var s = e.k.k[0].s ? e.k.k[0].s.length - e.p * 4 : e.k.k.length - e.p * 4;
|
|
3792
3784
|
this.o = U("float32", s), this._cmdf = !1, this._omdf = !1, this._collapsable = this.checkCollapsable(), this._hasOpacity = s, this.initDynamicPropertyContainer(i), this.prop = V.getProp(t, e.k, 1, null, this), this.k = this.prop.k, this.getValue(!0);
|
|
3793
3785
|
}
|
|
3794
|
-
|
|
3786
|
+
Ee.prototype.comparePoints = function(t, e) {
|
|
3795
3787
|
for (var i = 0, s = this.o.length / 2, n; i < s; ) {
|
|
3796
3788
|
if (n = Math.abs(t[i * 4] - t[e * 4 + i * 2]), n > 0.01)
|
|
3797
3789
|
return !1;
|
|
3798
3790
|
i += 1;
|
|
3799
3791
|
}
|
|
3800
3792
|
return !0;
|
|
3801
|
-
},
|
|
3793
|
+
}, Ee.prototype.checkCollapsable = function() {
|
|
3802
3794
|
if (this.o.length / 2 !== this.c.length / 4)
|
|
3803
3795
|
return !1;
|
|
3804
3796
|
if (this.data.k.k[0].s)
|
|
@@ -3810,7 +3802,7 @@ function _r() {
|
|
|
3810
3802
|
else if (!this.comparePoints(this.data.k.k, this.data.p))
|
|
3811
3803
|
return !1;
|
|
3812
3804
|
return !0;
|
|
3813
|
-
},
|
|
3805
|
+
}, Ee.prototype.getValue = function(t) {
|
|
3814
3806
|
if (this.prop.getValue(), this._mdf = !1, this._cmdf = !1, this._omdf = !1, this.prop._mdf || t) {
|
|
3815
3807
|
var e, i = this.data.p * 4, s, n;
|
|
3816
3808
|
for (e = 0; e < i; e += 1)
|
|
@@ -3820,24 +3812,24 @@ function _r() {
|
|
|
3820
3812
|
s = e % 2 === 0 ? 100 : 1, n = e % 2 === 0 ? Math.round(this.prop.v[e] * 100) : this.prop.v[e], this.o[e - this.data.p * 4] !== n && (this.o[e - this.data.p * 4] = n, this._omdf = !t);
|
|
3821
3813
|
this._mdf = !t;
|
|
3822
3814
|
}
|
|
3823
|
-
}, X([rt],
|
|
3824
|
-
function
|
|
3815
|
+
}, X([rt], Ee);
|
|
3816
|
+
function le(t, e, i) {
|
|
3825
3817
|
this.initDynamicPropertyContainer(t), this.getValue = this.iterateDynamicProperties, this.initGradientData(t, e, i);
|
|
3826
3818
|
}
|
|
3827
|
-
|
|
3819
|
+
le.prototype.initGradientData = function(t, e, i) {
|
|
3828
3820
|
this.o = V.getProp(t, e.o, 0, 0.01, this), this.s = V.getProp(t, e.s, 1, null, this), this.e = V.getProp(t, e.e, 1, null, this), this.h = V.getProp(t, e.h || {
|
|
3829
3821
|
k: 0
|
|
3830
3822
|
}, 0, 0.01, this), this.a = V.getProp(t, e.a || {
|
|
3831
3823
|
k: 0
|
|
3832
|
-
}, 0, Q, this), this.g = new
|
|
3833
|
-
},
|
|
3824
|
+
}, 0, Q, this), this.g = new Ee(t, e.g, this), this.style = i, this.stops = [], this.setGradientData(i.pElem, e), this.setGradientOpacity(e, i), this._isAnimated = !!this._isAnimated;
|
|
3825
|
+
}, le.prototype.setGradientData = function(t, e) {
|
|
3834
3826
|
var i = pt(), s = W(e.t === 1 ? "linearGradient" : "radialGradient");
|
|
3835
3827
|
s.setAttribute("id", i), s.setAttribute("spreadMethod", "pad"), s.setAttribute("gradientUnits", "userSpaceOnUse");
|
|
3836
3828
|
var n = [], r, o, c;
|
|
3837
3829
|
for (c = e.g.p * 4, o = 0; o < c; o += 4)
|
|
3838
3830
|
r = W("stop"), s.appendChild(r), n.push(r);
|
|
3839
3831
|
t.setAttribute(e.ty === "gf" ? "fill" : "stroke", "url(" + at() + "#" + i + ")"), this.gf = s, this.cst = n;
|
|
3840
|
-
},
|
|
3832
|
+
}, le.prototype.setGradientOpacity = function(t, e) {
|
|
3841
3833
|
if (this.g._hasOpacity && !this.g._collapsable) {
|
|
3842
3834
|
var i, s, n, r = W("mask"), o = W("path");
|
|
3843
3835
|
r.appendChild(o);
|
|
@@ -3850,11 +3842,11 @@ function _r() {
|
|
|
3850
3842
|
i = W("stop"), i.setAttribute("stop-color", "rgb(255,255,255)"), m.appendChild(i), _.push(i);
|
|
3851
3843
|
o.setAttribute(t.ty === "gf" ? "fill" : "stroke", "url(" + at() + "#" + c + ")"), t.ty === "gs" && (o.setAttribute("stroke-linecap", es[t.lc || 2]), o.setAttribute("stroke-linejoin", is[t.lj || 2]), t.lj === 1 && o.setAttribute("stroke-miterlimit", t.ml)), this.of = m, this.ms = r, this.ost = _, this.maskId = h, e.msElem = o;
|
|
3852
3844
|
}
|
|
3853
|
-
}, X([rt],
|
|
3845
|
+
}, X([rt], le);
|
|
3854
3846
|
function hs(t, e, i) {
|
|
3855
3847
|
this.initDynamicPropertyContainer(t), this.getValue = this.iterateDynamicProperties, this.w = V.getProp(t, e.w, 0, null, this), this.d = new Ke(t, e.d || {}, "svg", this), this.initGradientData(t, e, i), this._isAnimated = !!this._isAnimated;
|
|
3856
3848
|
}
|
|
3857
|
-
X([
|
|
3849
|
+
X([le, rt], hs);
|
|
3858
3850
|
function lr() {
|
|
3859
3851
|
this.it = [], this.prevViewData = [], this.gr = W("g");
|
|
3860
3852
|
}
|
|
@@ -3905,7 +3897,7 @@ function _r() {
|
|
|
3905
3897
|
function r() {
|
|
3906
3898
|
}
|
|
3907
3899
|
function o(M, p, b) {
|
|
3908
|
-
var
|
|
3900
|
+
var P, S, C, y, v, f, u = p.styles.length, g = p.lvl, k, T, x, I;
|
|
3909
3901
|
for (f = 0; f < u; f += 1) {
|
|
3910
3902
|
if (y = p.sh._mdf || b, p.styles[f].lvl < g) {
|
|
3911
3903
|
for (T = e.reset(), x = g - p.styles[f].lvl, I = p.transformers.length - 1; !y && x > 0; )
|
|
@@ -3915,9 +3907,9 @@ function _r() {
|
|
|
3915
3907
|
T.multiply(p.transformers[I].mProps.v), x -= 1, I -= 1;
|
|
3916
3908
|
} else
|
|
3917
3909
|
T = t;
|
|
3918
|
-
if (
|
|
3919
|
-
for (C = "",
|
|
3920
|
-
v =
|
|
3910
|
+
if (k = p.sh.paths, S = k._length, y) {
|
|
3911
|
+
for (C = "", P = 0; P < S; P += 1)
|
|
3912
|
+
v = k.shapes[P], v && v._length && (C += ls(v, v._length, v.c, T));
|
|
3921
3913
|
p.caches[f] = C;
|
|
3922
3914
|
} else
|
|
3923
3915
|
C = p.caches[f];
|
|
@@ -3925,57 +3917,57 @@ function _r() {
|
|
|
3925
3917
|
}
|
|
3926
3918
|
}
|
|
3927
3919
|
function c(M, p, b) {
|
|
3928
|
-
var
|
|
3929
|
-
(p.c._mdf || b) &&
|
|
3920
|
+
var P = p.style;
|
|
3921
|
+
(p.c._mdf || b) && P.pElem.setAttribute("fill", "rgb(" + Kt(p.c.v[0]) + "," + Kt(p.c.v[1]) + "," + Kt(p.c.v[2]) + ")"), (p.o._mdf || b) && P.pElem.setAttribute("fill-opacity", p.o.v);
|
|
3930
3922
|
}
|
|
3931
3923
|
function h(M, p, b) {
|
|
3932
3924
|
m(M, p, b), _(M, p, b);
|
|
3933
3925
|
}
|
|
3934
3926
|
function m(M, p, b) {
|
|
3935
|
-
var
|
|
3927
|
+
var P = p.gf, S = p.g._hasOpacity, C = p.s.v, y = p.e.v;
|
|
3936
3928
|
if (p.o._mdf || b) {
|
|
3937
3929
|
var v = M.ty === "gf" ? "fill-opacity" : "stroke-opacity";
|
|
3938
3930
|
p.style.pElem.setAttribute(v, p.o.v);
|
|
3939
3931
|
}
|
|
3940
3932
|
if (p.s._mdf || b) {
|
|
3941
3933
|
var f = M.t === 1 ? "x1" : "cx", u = f === "x1" ? "y1" : "cy";
|
|
3942
|
-
|
|
3934
|
+
P.setAttribute(f, C[0]), P.setAttribute(u, C[1]), S && !p.g._collapsable && (p.of.setAttribute(f, C[0]), p.of.setAttribute(u, C[1]));
|
|
3943
3935
|
}
|
|
3944
|
-
var g,
|
|
3936
|
+
var g, k, T, x;
|
|
3945
3937
|
if (p.g._cmdf || b) {
|
|
3946
3938
|
g = p.cst;
|
|
3947
3939
|
var I = p.g.c;
|
|
3948
|
-
for (T = g.length,
|
|
3949
|
-
x = g[
|
|
3940
|
+
for (T = g.length, k = 0; k < T; k += 1)
|
|
3941
|
+
x = g[k], x.setAttribute("offset", I[k * 4] + "%"), x.setAttribute("stop-color", "rgb(" + I[k * 4 + 1] + "," + I[k * 4 + 2] + "," + I[k * 4 + 3] + ")");
|
|
3950
3942
|
}
|
|
3951
3943
|
if (S && (p.g._omdf || b)) {
|
|
3952
3944
|
var q = p.g.o;
|
|
3953
|
-
for (p.g._collapsable ? g = p.cst : g = p.ost, T = g.length,
|
|
3954
|
-
x = g[
|
|
3945
|
+
for (p.g._collapsable ? g = p.cst : g = p.ost, T = g.length, k = 0; k < T; k += 1)
|
|
3946
|
+
x = g[k], p.g._collapsable || x.setAttribute("offset", q[k * 2] + "%"), x.setAttribute("stop-opacity", q[k * 2 + 1]);
|
|
3955
3947
|
}
|
|
3956
3948
|
if (M.t === 1)
|
|
3957
|
-
(p.e._mdf || b) && (
|
|
3949
|
+
(p.e._mdf || b) && (P.setAttribute("x2", y[0]), P.setAttribute("y2", y[1]), S && !p.g._collapsable && (p.of.setAttribute("x2", y[0]), p.of.setAttribute("y2", y[1])));
|
|
3958
3950
|
else {
|
|
3959
3951
|
var N;
|
|
3960
|
-
if ((p.s._mdf || p.e._mdf || b) && (N = Math.sqrt(Math.pow(C[0] - y[0], 2) + Math.pow(C[1] - y[1], 2)),
|
|
3952
|
+
if ((p.s._mdf || p.e._mdf || b) && (N = Math.sqrt(Math.pow(C[0] - y[0], 2) + Math.pow(C[1] - y[1], 2)), P.setAttribute("r", N), S && !p.g._collapsable && p.of.setAttribute("r", N)), p.s._mdf || p.e._mdf || p.h._mdf || p.a._mdf || b) {
|
|
3961
3953
|
N || (N = Math.sqrt(Math.pow(C[0] - y[0], 2) + Math.pow(C[1] - y[1], 2)));
|
|
3962
3954
|
var L = Math.atan2(y[1] - C[1], y[0] - C[0]), G = p.h.v;
|
|
3963
3955
|
G >= 1 ? G = 0.99 : G <= -1 && (G = -0.99);
|
|
3964
3956
|
var O = N * G, F = Math.cos(L + p.a.v) * O + C[0], d = Math.sin(L + p.a.v) * O + C[1];
|
|
3965
|
-
|
|
3957
|
+
P.setAttribute("fx", F), P.setAttribute("fy", d), S && !p.g._collapsable && (p.of.setAttribute("fx", F), p.of.setAttribute("fy", d));
|
|
3966
3958
|
}
|
|
3967
3959
|
}
|
|
3968
3960
|
}
|
|
3969
3961
|
function _(M, p, b) {
|
|
3970
|
-
var
|
|
3971
|
-
S && (S._mdf || b) && S.dashStr && (
|
|
3962
|
+
var P = p.style, S = p.d;
|
|
3963
|
+
S && (S._mdf || b) && S.dashStr && (P.pElem.setAttribute("stroke-dasharray", S.dashStr), P.pElem.setAttribute("stroke-dashoffset", S.dashoffset[0])), p.c && (p.c._mdf || b) && P.pElem.setAttribute("stroke", "rgb(" + Kt(p.c.v[0]) + "," + Kt(p.c.v[1]) + "," + Kt(p.c.v[2]) + ")"), (p.o._mdf || b) && P.pElem.setAttribute("stroke-opacity", p.o.v), (p.w._mdf || b) && (P.pElem.setAttribute("stroke-width", p.w.v), P.msElem && P.msElem.setAttribute("stroke-width", p.w.v));
|
|
3972
3964
|
}
|
|
3973
3965
|
return i;
|
|
3974
3966
|
})();
|
|
3975
3967
|
function $(t, e, i) {
|
|
3976
3968
|
this.shapes = [], this.shapesData = t.shapes, this.stylesList = [], this.shapeModifiers = [], this.itemsData = [], this.processedElements = [], this.animatedContents = [], this.initElement(t, e, i), this.prevViewData = [];
|
|
3977
3969
|
}
|
|
3978
|
-
X([
|
|
3970
|
+
X([jt, oe, Ce, ts, he, zt, Te], $), $.prototype.initSecondaryElement = function() {
|
|
3979
3971
|
}, $.prototype.identityMatrix = new ht(), $.prototype.buildExpressionInterface = function() {
|
|
3980
3972
|
}, $.prototype.createContent = function() {
|
|
3981
3973
|
this.searchShapes(this.shapesData, this.itemsData, this.prevViewData, this.layerElement, 0, [], !0), this.filterUniqueShapes();
|
|
@@ -3997,7 +3989,7 @@ function _r() {
|
|
|
3997
3989
|
else if (t.ty === "fl")
|
|
3998
3990
|
i = new as(this, t, s);
|
|
3999
3991
|
else if (t.ty === "gf" || t.ty === "gs") {
|
|
4000
|
-
var r = t.ty === "gf" ?
|
|
3992
|
+
var r = t.ty === "gf" ? le : hs;
|
|
4001
3993
|
i = new r(this, t, s), this.globalData.defs.appendChild(i.gf), i.maskId && (this.globalData.defs.appendChild(i.ms), this.globalData.defs.appendChild(i.of), n.setAttribute("mask", "url(" + at() + "#" + i.maskId + ")"));
|
|
4002
3994
|
} else t.ty === "no" && (i = new os(this, t, s));
|
|
4003
3995
|
return (t.ty === "st" || t.ty === "gs") && (n.setAttribute("stroke-linecap", es[t.lc || 2]), n.setAttribute("stroke-linejoin", is[t.lj || 2]), n.setAttribute("fill-opacity", "0"), t.lj === 1 && n.setAttribute("stroke-miterlimit", t.ml)), t.r === 2 && n.setAttribute("fill-rule", "evenodd"), t.ln && n.setAttribute("id", t.ln), t.cl && n.setAttribute("class", t.cl), t.bm && (n.style["mix-blend-mode"] = pi(t.bm)), this.stylesList.push(s), this.addToAnimatedContents(t, i), i;
|
|
@@ -4036,7 +4028,7 @@ function _r() {
|
|
|
4036
4028
|
this.dynamicProperties[t].getValue();
|
|
4037
4029
|
this.renderModifiers();
|
|
4038
4030
|
}, $.prototype.searchShapes = function(t, e, i, s, n, r, o) {
|
|
4039
|
-
var c = [].concat(r), h, m = t.length - 1, _, M, p = [], b = [],
|
|
4031
|
+
var c = [].concat(r), h, m = t.length - 1, _, M, p = [], b = [], P, S, C;
|
|
4040
4032
|
for (h = m; h >= 0; h -= 1) {
|
|
4041
4033
|
if (C = this.searchProcessedElement(t[h]), C ? e[h] = i[C - 1] : t[h]._render = o, t[h].ty === "fl" || t[h].ty === "st" || t[h].ty === "gf" || t[h].ty === "gs" || t[h].ty === "no")
|
|
4042
4034
|
C ? e[h].style.closed = t[h].hd : e[h] = this.createStyleElement(t[h], n), t[h]._render && e[h].style.pElem.parentNode !== s && s.appendChild(e[h].style.pElem), p.push(e[h].style);
|
|
@@ -4047,7 +4039,7 @@ function _r() {
|
|
|
4047
4039
|
for (M = e[h].it.length, _ = 0; _ < M; _ += 1)
|
|
4048
4040
|
e[h].prevViewData[_] = e[h].it[_];
|
|
4049
4041
|
this.searchShapes(t[h].it, e[h].it, e[h].prevViewData, e[h].gr, n + 1, c, o), t[h]._render && e[h].gr.parentNode !== s && s.appendChild(e[h].gr);
|
|
4050
|
-
} else t[h].ty === "tr" ? (C || (e[h] = this.createTransformElement(t[h], s)),
|
|
4042
|
+
} else t[h].ty === "tr" ? (C || (e[h] = this.createTransformElement(t[h], s)), P = e[h].transform, c.push(P)) : t[h].ty === "sh" || t[h].ty === "rc" || t[h].ty === "el" || t[h].ty === "sr" ? (C || (e[h] = this.createShapeElement(t[h], c, n)), this.setElementStyles(e[h])) : t[h].ty === "tm" || t[h].ty === "rd" || t[h].ty === "ms" || t[h].ty === "pb" || t[h].ty === "zz" || t[h].ty === "op" ? (C ? (S = e[h], S.closed = !1) : (S = Bt.getModifier(t[h].ty), S.init(this, t[h]), e[h] = S, this.shapeModifiers.push(S)), b.push(S)) : t[h].ty === "rp" && (C ? (S = e[h], S.closed = !0) : (S = Bt.getModifier(t[h].ty), e[h] = S, S.init(this, t, h, e), this.shapeModifiers.push(S), o = !1), b.push(S));
|
|
4051
4043
|
this.addProcessedElement(t[h], h + 1);
|
|
4052
4044
|
}
|
|
4053
4045
|
for (m = p.length, h = 0; h < m; h += 1)
|
|
@@ -4084,7 +4076,7 @@ function _r() {
|
|
|
4084
4076
|
return this.o !== t && (this.o = t, this._mdf.o = !0, o = !0), this.sw !== e && (this.sw = e, this._mdf.sw = !0, o = !0), this.sc !== i && (this.sc = i, this._mdf.sc = !0, o = !0), this.fc !== s && (this.fc = s, this._mdf.fc = !0, o = !0), this.m !== n && (this.m = n, this._mdf.m = !0, o = !0), r.length && (this.p[0] !== r[0] || this.p[1] !== r[1] || this.p[4] !== r[4] || this.p[5] !== r[5] || this.p[12] !== r[12] || this.p[13] !== r[13]) && (this.p = r, this._mdf.p = !0, o = !0), o;
|
|
4085
4077
|
};
|
|
4086
4078
|
function ft(t, e) {
|
|
4087
|
-
this._frameId =
|
|
4079
|
+
this._frameId = ue, this.pv = "", this.v = "", this.kf = !1, this._isFirstFrame = !0, this._mdf = !1, e.d && e.d.sid && (e.d = t.globalData.slotManager.getProp(e.d)), this.data = e, this.elem = t, this.comp = this.elem.comp, this.keysIndex = 0, this.canResize = !1, this.minimumFontSize = 1, this.effectsSequence = [], this.currentData = {
|
|
4088
4080
|
ascent: 0,
|
|
4089
4081
|
boxWidth: this.defaultBoxWidth,
|
|
4090
4082
|
f: "",
|
|
@@ -4147,25 +4139,25 @@ function _r() {
|
|
|
4147
4139
|
return this.keysIndex !== i && (this.keysIndex = i), this.data.d.k[this.keysIndex].s;
|
|
4148
4140
|
}, ft.prototype.buildFinalText = function(t) {
|
|
4149
4141
|
for (var e = [], i = 0, s = t.length, n, r, o = !1, c = !1, h = ""; i < s; )
|
|
4150
|
-
o = c, c = !1, n = t.charCodeAt(i), h = t.charAt(i),
|
|
4142
|
+
o = c, c = !1, n = t.charCodeAt(i), h = t.charAt(i), Qt.isCombinedCharacter(n) ? o = !0 : n >= 55296 && n <= 56319 ? Qt.isRegionalFlag(t, i) ? h = t.substr(i, 14) : (r = t.charCodeAt(i + 1), r >= 56320 && r <= 57343 && (Qt.isModifier(n, r) ? (h = t.substr(i, 2), o = !0) : Qt.isFlagEmoji(t.substr(i, 4)) ? h = t.substr(i, 4) : h = t.substr(i, 2))) : n > 56319 ? (r = t.charCodeAt(i + 1), Qt.isVariationSelector(n) && (o = !0)) : Qt.isZeroWidthJoiner(n) && (o = !0, c = !0), o ? (e[e.length - 1] += h, o = !1) : e.push(h), i += h.length;
|
|
4151
4143
|
return e;
|
|
4152
4144
|
}, ft.prototype.completeTextData = function(t) {
|
|
4153
4145
|
t.__complete = !0;
|
|
4154
|
-
var e = this.elem.globalData.fontManager, i = this.data, s = [], n, r, o, c = 0, h, m = i.m.g, _ = 0, M = 0, p = 0, b = [],
|
|
4146
|
+
var e = this.elem.globalData.fontManager, i = this.data, s = [], n, r, o, c = 0, h, m = i.m.g, _ = 0, M = 0, p = 0, b = [], P = 0, S = 0, C, y, v = e.getFontByName(t.f), f, u = 0, g = Ki(v);
|
|
4155
4147
|
t.fWeight = g.weight, t.fStyle = g.style, t.finalSize = t.s, t.finalText = this.buildFinalText(t.t), r = t.finalText.length, t.finalLineHeight = t.lh;
|
|
4156
|
-
var
|
|
4148
|
+
var k = t.tr / 1e3 * t.finalSize, T;
|
|
4157
4149
|
if (t.sz)
|
|
4158
4150
|
for (var x = !0, I = t.sz[0], q = t.sz[1], N, L; x; ) {
|
|
4159
|
-
L = this.buildFinalText(t.t), N = 0,
|
|
4151
|
+
L = this.buildFinalText(t.t), N = 0, P = 0, r = L.length, k = t.tr / 1e3 * t.finalSize;
|
|
4160
4152
|
var G = -1;
|
|
4161
4153
|
for (n = 0; n < r; n += 1)
|
|
4162
|
-
T = L[n].charCodeAt(0), o = !1, L[n] === " " ? G = n : (T === 13 || T === 3) && (
|
|
4154
|
+
T = L[n].charCodeAt(0), o = !1, L[n] === " " ? G = n : (T === 13 || T === 3) && (P = 0, o = !0, N += t.finalLineHeight || t.finalSize * 1.2), e.chars ? (f = e.getCharData(L[n], v.fStyle, v.fFamily), u = o ? 0 : f.w * t.finalSize / 100) : u = e.measureText(L[n], t.f, t.finalSize), P + u > I && L[n] !== " " ? (G === -1 ? r += 1 : n = G, N += t.finalLineHeight || t.finalSize * 1.2, L.splice(n, G === n ? 1 : 0, "\r"), G = -1, P = 0) : (P += u, P += k);
|
|
4163
4155
|
N += v.ascent * t.finalSize / 100, this.canResize && t.finalSize > this.minimumFontSize && q < N ? (t.finalSize -= 1, t.finalLineHeight = t.finalSize * t.lh / t.s) : (t.finalText = L, r = t.finalText.length, x = !1);
|
|
4164
4156
|
}
|
|
4165
|
-
|
|
4157
|
+
P = -k, u = 0;
|
|
4166
4158
|
var O = 0, F;
|
|
4167
4159
|
for (n = 0; n < r; n += 1)
|
|
4168
|
-
if (o = !1, F = t.finalText[n], T = F.charCodeAt(0), T === 13 || T === 3 ? (O = 0, b.push(
|
|
4160
|
+
if (o = !1, F = t.finalText[n], T = F.charCodeAt(0), T === 13 || T === 3 ? (O = 0, b.push(P), S = P > S ? P : S, P = -2 * k, h = "", o = !0, p += 1) : h = F, e.chars ? (f = e.getCharData(F, v.fStyle, e.getFontByName(t.f).fFamily), u = o ? 0 : f.w * t.finalSize / 100) : u = e.measureText(h, t.f, t.finalSize), F === " " ? O += u + k : (P += u + k + O, O = 0), s.push({
|
|
4169
4161
|
l: u,
|
|
4170
4162
|
an: u,
|
|
4171
4163
|
add: _,
|
|
@@ -4188,7 +4180,7 @@ function _r() {
|
|
|
4188
4180
|
}
|
|
4189
4181
|
} else
|
|
4190
4182
|
s[c].ind = c, s[c].extra = 0, c += 1;
|
|
4191
|
-
if (t.l = s, S =
|
|
4183
|
+
if (t.l = s, S = P > S ? P : S, b.push(P), t.sz)
|
|
4192
4184
|
t.boxWidth = t.sz[0], t.justifyOffset = 0;
|
|
4193
4185
|
else
|
|
4194
4186
|
switch (t.boxWidth = S, t.j) {
|
|
@@ -4202,15 +4194,15 @@ function _r() {
|
|
|
4202
4194
|
t.justifyOffset = 0;
|
|
4203
4195
|
}
|
|
4204
4196
|
t.lineWidths = b;
|
|
4205
|
-
var d = i.a,
|
|
4197
|
+
var d = i.a, A, a;
|
|
4206
4198
|
y = d.length;
|
|
4207
4199
|
var l, E, w = [];
|
|
4208
4200
|
for (C = 0; C < y; C += 1) {
|
|
4209
|
-
for (
|
|
4210
|
-
a = s[n], a.anIndexes[C] = E, (l == 1 && a.val !== "" || l == 2 && a.val !== "" && a.val !== " " || l == 3 && (a.n || a.val == " " || n == r - 1) || l == 4 && (a.n || n == r - 1)) && (
|
|
4201
|
+
for (A = d[C], A.a.sc && (t.strokeColorAnim = !0), A.a.sw && (t.strokeWidthAnim = !0), (A.a.fc || A.a.fh || A.a.fs || A.a.fb) && (t.fillColorAnim = !0), E = 0, l = A.s.b, n = 0; n < r; n += 1)
|
|
4202
|
+
a = s[n], a.anIndexes[C] = E, (l == 1 && a.val !== "" || l == 2 && a.val !== "" && a.val !== " " || l == 3 && (a.n || a.val == " " || n == r - 1) || l == 4 && (a.n || n == r - 1)) && (A.s.rn === 1 && w.push(E), E += 1);
|
|
4211
4203
|
i.a[C].s.totalChars = E;
|
|
4212
4204
|
var R = -1, z;
|
|
4213
|
-
if (
|
|
4205
|
+
if (A.s.rn === 1)
|
|
4214
4206
|
for (n = 0; n < r; n += 1)
|
|
4215
4207
|
a = s[n], R != a.anIndexes[C] && (R = a.anIndexes[C], z = w.splice(Math.floor(Math.random() * w.length), 1)[0]), a.anIndexes[C] = z;
|
|
4216
4208
|
}
|
|
@@ -4249,24 +4241,24 @@ function _r() {
|
|
|
4249
4241
|
this._currentTextLength !== this.elem.textProperty.currentData.l.length && this.getValue();
|
|
4250
4242
|
var c = 0, h = 0, m = 1, _ = 1;
|
|
4251
4243
|
this.ne.v > 0 ? c = this.ne.v / 100 : h = -this.ne.v / 100, this.xe.v > 0 ? m = 1 - this.xe.v / 100 : _ = 1 + this.xe.v / 100;
|
|
4252
|
-
var M =
|
|
4244
|
+
var M = ye.getBezierEasing(c, h, m, _).get, p = 0, b = this.finalS, P = this.finalE, S = this.data.sh;
|
|
4253
4245
|
if (S === 2)
|
|
4254
|
-
|
|
4246
|
+
P === b ? p = o >= P ? 1 : 0 : p = t(0, e(0.5 / (P - b) + (o - b) / (P - b), 1)), p = M(p);
|
|
4255
4247
|
else if (S === 3)
|
|
4256
|
-
|
|
4248
|
+
P === b ? p = o >= P ? 0 : 1 : p = 1 - t(0, e(0.5 / (P - b) + (o - b) / (P - b), 1)), p = M(p);
|
|
4257
4249
|
else if (S === 4)
|
|
4258
|
-
|
|
4250
|
+
P === b ? p = 0 : (p = t(0, e(0.5 / (P - b) + (o - b) / (P - b), 1)), p < 0.5 ? p *= 2 : p = 1 - 2 * (p - 0.5)), p = M(p);
|
|
4259
4251
|
else if (S === 5) {
|
|
4260
|
-
if (
|
|
4252
|
+
if (P === b)
|
|
4261
4253
|
p = 0;
|
|
4262
4254
|
else {
|
|
4263
|
-
var C =
|
|
4264
|
-
o = e(t(0, o + 0.5 - b),
|
|
4255
|
+
var C = P - b;
|
|
4256
|
+
o = e(t(0, o + 0.5 - b), P - b);
|
|
4265
4257
|
var y = -C / 2 + o, v = C / 2;
|
|
4266
4258
|
p = Math.sqrt(1 - y * y / (v * v));
|
|
4267
4259
|
}
|
|
4268
4260
|
p = M(p);
|
|
4269
|
-
} else S === 6 ? (
|
|
4261
|
+
} else S === 6 ? (P === b ? p = 0 : (o = e(t(0, o + 0.5 - b), P - b), p = (1 + Math.cos(Math.PI + Math.PI * 2 * o / (P - b))) / 2), p = M(p)) : (o >= i(b) && (o - b < 0 ? p = t(0, e(e(P, 1) - (b - o), 1)) : p = t(0, e(P - o, 1))), p = M(p));
|
|
4270
4262
|
if (this.sm.v !== 100) {
|
|
4271
4263
|
var f = this.sm.v * 0.01;
|
|
4272
4264
|
f === 0 && (f = 1e-8);
|
|
@@ -4315,12 +4307,12 @@ function _r() {
|
|
|
4315
4307
|
t: r.t ? n(t, r.t, 0, 0, i) : s
|
|
4316
4308
|
}, this.s = ur.getTextSelectorProp(t, e.s, i), this.s.t = e.s.t;
|
|
4317
4309
|
}
|
|
4318
|
-
function
|
|
4310
|
+
function te(t, e, i) {
|
|
4319
4311
|
this._isFirstFrame = !0, this._hasMaskedPath = !1, this._frameId = -1, this._textData = t, this._renderType = e, this._elem = i, this._animatorsData = tt(this._textData.a.length), this._pathData = {}, this._moreOptions = {
|
|
4320
4312
|
alignment: {}
|
|
4321
4313
|
}, this.renderedLetters = [], this.lettersChangedFlag = !1, this.initDynamicPropertyContainer(i);
|
|
4322
4314
|
}
|
|
4323
|
-
|
|
4315
|
+
te.prototype.searchProperties = function() {
|
|
4324
4316
|
var t, e = this._textData.a.length, i, s = V.getProp;
|
|
4325
4317
|
for (t = 0; t < e; t += 1)
|
|
4326
4318
|
i = this._textData.a[t], this._animatorsData[t] = new cr(this._elem, i, this);
|
|
@@ -4332,10 +4324,10 @@ function _r() {
|
|
|
4332
4324
|
p: s(this._elem, this._textData.p.p, 0, 0, this),
|
|
4333
4325
|
m: this._elem.maskManager.getMaskProperty(this._textData.p.m)
|
|
4334
4326
|
}, this._hasMaskedPath = !0) : this._hasMaskedPath = !1, this._moreOptions.alignment = s(this._elem, this._textData.m.a, 1, 0, this);
|
|
4335
|
-
},
|
|
4327
|
+
}, te.prototype.getMeasures = function(t, e) {
|
|
4336
4328
|
if (this.lettersChangedFlag = e, !(!this._mdf && !this._isFirstFrame && !e && (!this._hasMaskedPath || !this._pathData.m._mdf))) {
|
|
4337
4329
|
this._isFirstFrame = !1;
|
|
4338
|
-
var i = this._moreOptions.alignment.v, s = this._animatorsData, n = this._textData, r = this.mHelper, o = this._renderType, c = this.renderedLetters.length, h, m, _, M, p = t.l, b,
|
|
4330
|
+
var i = this._moreOptions.alignment.v, s = this._animatorsData, n = this._textData, r = this.mHelper, o = this._renderType, c = this.renderedLetters.length, h, m, _, M, p = t.l, b, P, S, C, y, v, f, u, g, k, T, x, I, q, N;
|
|
4339
4331
|
if (this._hasMaskedPath) {
|
|
4340
4332
|
if (N = this._pathData.m, !this._pathData.n || this._pathData._mdf) {
|
|
4341
4333
|
var L = N.v;
|
|
@@ -4345,84 +4337,84 @@ function _r() {
|
|
|
4345
4337
|
}, M = L._length - 1;
|
|
4346
4338
|
var G;
|
|
4347
4339
|
for (x = 0, _ = 0; _ < M; _ += 1)
|
|
4348
|
-
G =
|
|
4349
|
-
_ = M, N.v.c && (G =
|
|
4340
|
+
G = kt.buildBezierData(L.v[_], L.v[_ + 1], [L.o[_][0] - L.v[_][0], L.o[_][1] - L.v[_][1]], [L.i[_ + 1][0] - L.v[_ + 1][0], L.i[_ + 1][1] - L.v[_ + 1][1]]), b.tLength += G.segmentLength, b.segments.push(G), x += G.segmentLength;
|
|
4341
|
+
_ = M, N.v.c && (G = kt.buildBezierData(L.v[_], L.v[0], [L.o[_][0] - L.v[_][0], L.o[_][1] - L.v[_][1]], [L.i[0][0] - L.v[0][0], L.i[0][1] - L.v[0][1]]), b.tLength += G.segmentLength, b.segments.push(G), x += G.segmentLength), this._pathData.pi = b;
|
|
4350
4342
|
}
|
|
4351
|
-
if (b = this._pathData.pi,
|
|
4352
|
-
for (b.tLength < Math.abs(
|
|
4353
|
-
|
|
4354
|
-
g =
|
|
4343
|
+
if (b = this._pathData.pi, P = this._pathData.f.v, f = 0, v = 1, C = 0, y = !0, k = b.segments, P < 0 && N.v.c)
|
|
4344
|
+
for (b.tLength < Math.abs(P) && (P = -Math.abs(P) % b.tLength), f = k.length - 1, g = k[f].points, v = g.length - 1; P < 0; )
|
|
4345
|
+
P += g[v].partialLength, v -= 1, v < 0 && (f -= 1, g = k[f].points, v = g.length - 1);
|
|
4346
|
+
g = k[f].points, u = g[v - 1], S = g[v], T = S.partialLength;
|
|
4355
4347
|
}
|
|
4356
4348
|
M = p.length, h = 0, m = 0;
|
|
4357
|
-
var O = t.finalSize * 1.2 * 0.714, F = !0, d,
|
|
4349
|
+
var O = t.finalSize * 1.2 * 0.714, F = !0, d, A, a, l, E;
|
|
4358
4350
|
l = s.length;
|
|
4359
|
-
var w, R = -1, z, D, Y, H =
|
|
4351
|
+
var w, R = -1, z, D, Y, H = P, et = f, ct = v, Ct = -1, dt, nt, mt, K, B, It, Wt, Lt, Tt = "", Vt = this.defaultPropsArray, Rt;
|
|
4360
4352
|
if (t.j === 2 || t.j === 1) {
|
|
4361
|
-
var vt = 0,
|
|
4353
|
+
var vt = 0, Gt = 0, Xt = t.j === 2 ? -0.5 : -1, St = 0, Yt = !0;
|
|
4362
4354
|
for (_ = 0; _ < M; _ += 1)
|
|
4363
4355
|
if (p[_].n) {
|
|
4364
|
-
for (vt && (vt +=
|
|
4356
|
+
for (vt && (vt += Gt); St < _; )
|
|
4365
4357
|
p[St].animatorJustifyOffset = vt, St += 1;
|
|
4366
|
-
vt = 0,
|
|
4358
|
+
vt = 0, Yt = !0;
|
|
4367
4359
|
} else {
|
|
4368
4360
|
for (a = 0; a < l; a += 1)
|
|
4369
|
-
d = s[a].a, d.t.propType && (
|
|
4370
|
-
|
|
4361
|
+
d = s[a].a, d.t.propType && (Yt && t.j === 2 && (Gt += d.t.v * Xt), A = s[a].s, w = A.getMult(p[_].anIndexes[a], n.a[a].s.totalChars), w.length ? vt += d.t.v * w[0] * Xt : vt += d.t.v * w * Xt);
|
|
4362
|
+
Yt = !1;
|
|
4371
4363
|
}
|
|
4372
|
-
for (vt && (vt +=
|
|
4364
|
+
for (vt && (vt += Gt); St < _; )
|
|
4373
4365
|
p[St].animatorJustifyOffset = vt, St += 1;
|
|
4374
4366
|
}
|
|
4375
4367
|
for (_ = 0; _ < M; _ += 1) {
|
|
4376
4368
|
if (r.reset(), dt = 1, p[_].n)
|
|
4377
|
-
h = 0, m += t.yOffset, m += F ? 1 : 0,
|
|
4369
|
+
h = 0, m += t.yOffset, m += F ? 1 : 0, P = H, F = !1, this._hasMaskedPath && (f = et, v = ct, g = k[f].points, u = g[v - 1], S = g[v], T = S.partialLength, C = 0), Tt = "", Lt = "", It = "", Rt = "", Vt = this.defaultPropsArray;
|
|
4378
4370
|
else {
|
|
4379
4371
|
if (this._hasMaskedPath) {
|
|
4380
4372
|
if (Ct !== p[_].line) {
|
|
4381
4373
|
switch (t.j) {
|
|
4382
4374
|
case 1:
|
|
4383
|
-
|
|
4375
|
+
P += x - t.lineWidths[p[_].line];
|
|
4384
4376
|
break;
|
|
4385
4377
|
case 2:
|
|
4386
|
-
|
|
4378
|
+
P += (x - t.lineWidths[p[_].line]) / 2;
|
|
4387
4379
|
break;
|
|
4388
4380
|
}
|
|
4389
4381
|
Ct = p[_].line;
|
|
4390
4382
|
}
|
|
4391
|
-
R !== p[_].ind && (p[R] && (
|
|
4392
|
-
var
|
|
4383
|
+
R !== p[_].ind && (p[R] && (P += p[R].extra), P += p[_].an / 2, R = p[_].ind), P += i[0] * p[_].an * 5e-3;
|
|
4384
|
+
var At = 0;
|
|
4393
4385
|
for (a = 0; a < l; a += 1)
|
|
4394
|
-
d = s[a].a, d.p.propType && (
|
|
4395
|
-
for (y = !0, this._pathData.a.v && (
|
|
4396
|
-
C + T >=
|
|
4386
|
+
d = s[a].a, d.p.propType && (A = s[a].s, w = A.getMult(p[_].anIndexes[a], n.a[a].s.totalChars), w.length ? At += d.p.v[0] * w[0] : At += d.p.v[0] * w), d.a.propType && (A = s[a].s, w = A.getMult(p[_].anIndexes[a], n.a[a].s.totalChars), w.length ? At += d.a.v[0] * w[0] : At += d.a.v[0] * w);
|
|
4387
|
+
for (y = !0, this._pathData.a.v && (P = p[0].an * 0.5 + (x - this._pathData.f.v - p[0].an * 0.5 - p[p.length - 1].an * 0.5) * R / (M - 1), P += this._pathData.f.v); y; )
|
|
4388
|
+
C + T >= P + At || !g ? (I = (P + At - C) / S.partialLength, D = u.point[0] + (S.point[0] - u.point[0]) * I, Y = u.point[1] + (S.point[1] - u.point[1]) * I, r.translate(-i[0] * p[_].an * 5e-3, -(i[1] * O) * 0.01), y = !1) : g && (C += S.partialLength, v += 1, v >= g.length && (v = 0, f += 1, k[f] ? g = k[f].points : N.v.c ? (v = 0, f = 0, g = k[f].points) : (C -= S.partialLength, g = null)), g && (u = S, S = g[v], T = S.partialLength));
|
|
4397
4389
|
z = p[_].an / 2 - p[_].add, r.translate(-z, 0, 0);
|
|
4398
4390
|
} else
|
|
4399
4391
|
z = p[_].an / 2 - p[_].add, r.translate(-z, 0, 0), r.translate(-i[0] * p[_].an * 5e-3, -i[1] * O * 0.01, 0);
|
|
4400
4392
|
for (a = 0; a < l; a += 1)
|
|
4401
|
-
d = s[a].a, d.t.propType && (
|
|
4393
|
+
d = s[a].a, d.t.propType && (A = s[a].s, w = A.getMult(p[_].anIndexes[a], n.a[a].s.totalChars), (h !== 0 || t.j !== 0) && (this._hasMaskedPath ? w.length ? P += d.t.v * w[0] : P += d.t.v * w : w.length ? h += d.t.v * w[0] : h += d.t.v * w));
|
|
4402
4394
|
for (t.strokeWidthAnim && (mt = t.sw || 0), t.strokeColorAnim && (t.sc ? nt = [t.sc[0], t.sc[1], t.sc[2]] : nt = [0, 0, 0]), t.fillColorAnim && t.fc && (K = [t.fc[0], t.fc[1], t.fc[2]]), a = 0; a < l; a += 1)
|
|
4403
|
-
d = s[a].a, d.a.propType && (
|
|
4395
|
+
d = s[a].a, d.a.propType && (A = s[a].s, w = A.getMult(p[_].anIndexes[a], n.a[a].s.totalChars), w.length ? r.translate(-d.a.v[0] * w[0], -d.a.v[1] * w[1], d.a.v[2] * w[2]) : r.translate(-d.a.v[0] * w, -d.a.v[1] * w, d.a.v[2] * w));
|
|
4404
4396
|
for (a = 0; a < l; a += 1)
|
|
4405
|
-
d = s[a].a, d.s.propType && (
|
|
4397
|
+
d = s[a].a, d.s.propType && (A = s[a].s, w = A.getMult(p[_].anIndexes[a], n.a[a].s.totalChars), w.length ? r.scale(1 + (d.s.v[0] - 1) * w[0], 1 + (d.s.v[1] - 1) * w[1], 1) : r.scale(1 + (d.s.v[0] - 1) * w, 1 + (d.s.v[1] - 1) * w, 1));
|
|
4406
4398
|
for (a = 0; a < l; a += 1) {
|
|
4407
|
-
if (d = s[a].a,
|
|
4399
|
+
if (d = s[a].a, A = s[a].s, w = A.getMult(p[_].anIndexes[a], n.a[a].s.totalChars), d.sk.propType && (w.length ? r.skewFromAxis(-d.sk.v * w[0], d.sa.v * w[1]) : r.skewFromAxis(-d.sk.v * w, d.sa.v * w)), d.r.propType && (w.length ? r.rotateZ(-d.r.v * w[2]) : r.rotateZ(-d.r.v * w)), d.ry.propType && (w.length ? r.rotateY(d.ry.v * w[1]) : r.rotateY(d.ry.v * w)), d.rx.propType && (w.length ? r.rotateX(d.rx.v * w[0]) : r.rotateX(d.rx.v * w)), d.o.propType && (w.length ? dt += (d.o.v * w[0] - dt) * w[0] : dt += (d.o.v * w - dt) * w), t.strokeWidthAnim && d.sw.propType && (w.length ? mt += d.sw.v * w[0] : mt += d.sw.v * w), t.strokeColorAnim && d.sc.propType)
|
|
4408
4400
|
for (B = 0; B < 3; B += 1)
|
|
4409
4401
|
w.length ? nt[B] += (d.sc.v[B] - nt[B]) * w[0] : nt[B] += (d.sc.v[B] - nt[B]) * w;
|
|
4410
4402
|
if (t.fillColorAnim && t.fc) {
|
|
4411
4403
|
if (d.fc.propType)
|
|
4412
4404
|
for (B = 0; B < 3; B += 1)
|
|
4413
4405
|
w.length ? K[B] += (d.fc.v[B] - K[B]) * w[0] : K[B] += (d.fc.v[B] - K[B]) * w;
|
|
4414
|
-
d.fh.propType && (w.length ? K = wi(K, d.fh.v * w[0]) : K = wi(K, d.fh.v * w)), d.fs.propType && (w.length ? K =
|
|
4406
|
+
d.fh.propType && (w.length ? K = wi(K, d.fh.v * w[0]) : K = wi(K, d.fh.v * w)), d.fs.propType && (w.length ? K = Pi(K, d.fs.v * w[0]) : K = Pi(K, d.fs.v * w)), d.fb.propType && (w.length ? K = ki(K, d.fb.v * w[0]) : K = ki(K, d.fb.v * w));
|
|
4415
4407
|
}
|
|
4416
4408
|
}
|
|
4417
4409
|
for (a = 0; a < l; a += 1)
|
|
4418
|
-
d = s[a].a, d.p.propType && (
|
|
4419
|
-
if (t.strokeWidthAnim && (
|
|
4410
|
+
d = s[a].a, d.p.propType && (A = s[a].s, w = A.getMult(p[_].anIndexes[a], n.a[a].s.totalChars), this._hasMaskedPath ? w.length ? r.translate(0, d.p.v[1] * w[0], -d.p.v[2] * w[1]) : r.translate(0, d.p.v[1] * w, -d.p.v[2] * w) : w.length ? r.translate(d.p.v[0] * w[0], d.p.v[1] * w[1], -d.p.v[2] * w[2]) : r.translate(d.p.v[0] * w, d.p.v[1] * w, -d.p.v[2] * w));
|
|
4411
|
+
if (t.strokeWidthAnim && (It = mt < 0 ? 0 : mt), t.strokeColorAnim && (Wt = "rgb(" + Math.round(nt[0] * 255) + "," + Math.round(nt[1] * 255) + "," + Math.round(nt[2] * 255) + ")"), t.fillColorAnim && t.fc && (Lt = "rgb(" + Math.round(K[0] * 255) + "," + Math.round(K[1] * 255) + "," + Math.round(K[2] * 255) + ")"), this._hasMaskedPath) {
|
|
4420
4412
|
if (r.translate(0, -t.ls), r.translate(0, i[1] * O * 0.01 + m, 0), this._pathData.p.v) {
|
|
4421
4413
|
q = (S.point[1] - u.point[1]) / (S.point[0] - u.point[0]);
|
|
4422
|
-
var
|
|
4423
|
-
S.point[0] < u.point[0] && (
|
|
4414
|
+
var ee = Math.atan(q) * 180 / Math.PI;
|
|
4415
|
+
S.point[0] < u.point[0] && (ee += 180), r.rotate(-ee * Math.PI / 180);
|
|
4424
4416
|
}
|
|
4425
|
-
r.translate(D, Y, 0),
|
|
4417
|
+
r.translate(D, Y, 0), P -= i[0] * p[_].an * 5e-3, p[_ + 1] && R !== p[_ + 1].ind && (P += p[_].an / 2, P += t.tr * 1e-3 * t.finalSize);
|
|
4426
4418
|
} else {
|
|
4427
4419
|
switch (r.translate(h, m, 0), t.ps && r.translate(t.ps[0], t.ps[1] + t.ascent, 0), t.j) {
|
|
4428
4420
|
case 1:
|
|
@@ -4434,18 +4426,18 @@ function _r() {
|
|
|
4434
4426
|
}
|
|
4435
4427
|
r.translate(0, -t.ls), r.translate(z, 0, 0), r.translate(i[0] * p[_].an * 5e-3, i[1] * O * 0.01, 0), h += p[_].l + t.tr * 1e-3 * t.finalSize;
|
|
4436
4428
|
}
|
|
4437
|
-
o === "html" ? Tt = r.toCSS() : o === "svg" ? Tt = r.to2dCSS() :
|
|
4429
|
+
o === "html" ? Tt = r.toCSS() : o === "svg" ? Tt = r.to2dCSS() : Vt = [r.props[0], r.props[1], r.props[2], r.props[3], r.props[4], r.props[5], r.props[6], r.props[7], r.props[8], r.props[9], r.props[10], r.props[11], r.props[12], r.props[13], r.props[14], r.props[15]], Rt = dt;
|
|
4438
4430
|
}
|
|
4439
|
-
c <= _ ? (E = new di(
|
|
4431
|
+
c <= _ ? (E = new di(Rt, It, Wt, Lt, Tt, Vt), this.renderedLetters.push(E), c += 1, this.lettersChangedFlag = !0) : (E = this.renderedLetters[_], this.lettersChangedFlag = E.update(Rt, It, Wt, Lt, Tt, Vt) || this.lettersChangedFlag);
|
|
4440
4432
|
}
|
|
4441
4433
|
}
|
|
4442
|
-
},
|
|
4434
|
+
}, te.prototype.getValue = function() {
|
|
4443
4435
|
this._elem.globalData.frameId !== this._frameId && (this._frameId = this._elem.globalData.frameId, this.iterateDynamicProperties());
|
|
4444
|
-
},
|
|
4436
|
+
}, te.prototype.mHelper = new ht(), te.prototype.defaultPropsArray = [], X([rt], te);
|
|
4445
4437
|
function yt() {
|
|
4446
4438
|
}
|
|
4447
4439
|
yt.prototype.initElement = function(t, e, i) {
|
|
4448
|
-
this.lettersChangedFlag = !0, this.initFrame(), this.initBaseData(t, e, i), this.textProperty = new ft(this, t.t, this.dynamicProperties), this.textAnimator = new
|
|
4440
|
+
this.lettersChangedFlag = !0, this.initFrame(), this.initBaseData(t, e, i), this.textProperty = new ft(this, t.t, this.dynamicProperties), this.textAnimator = new te(t.t, this.renderType, this), this.initTransform(t, e, i), this.initHierarchy(), this.initRenderable(), this.initRendererElement(), this.createContainerElements(), this.createRenderableComponents(), this.createContent(), this.hide(), this.textAnimator.searchProperties(this.dynamicProperties);
|
|
4449
4441
|
}, yt.prototype.prepareFrame = function(t) {
|
|
4450
4442
|
this._mdf = !1, this.prepareRenderableFrame(t), this.prepareProperties(t, this.isInRange);
|
|
4451
4443
|
}, yt.prototype.createPathShape = function(t, e) {
|
|
@@ -4478,16 +4470,16 @@ function _r() {
|
|
|
4478
4470
|
var dr = {
|
|
4479
4471
|
shapes: []
|
|
4480
4472
|
};
|
|
4481
|
-
function
|
|
4473
|
+
function xt(t, e, i) {
|
|
4482
4474
|
this.textSpans = [], this.renderType = "svg", this.initElement(t, e, i);
|
|
4483
4475
|
}
|
|
4484
|
-
X([
|
|
4476
|
+
X([jt, oe, Ce, he, zt, Te, yt], xt), xt.prototype.createContent = function() {
|
|
4485
4477
|
this.data.singleShape && !this.globalData.fontManager.chars && (this.textContainer = W("text"));
|
|
4486
|
-
},
|
|
4478
|
+
}, xt.prototype.buildTextContents = function(t) {
|
|
4487
4479
|
for (var e = 0, i = t.length, s = [], n = ""; e < i; )
|
|
4488
4480
|
t[e] === "\r" || t[e] === "" ? (s.push(n), n = "") : n += t[e], e += 1;
|
|
4489
4481
|
return s.push(n), s;
|
|
4490
|
-
},
|
|
4482
|
+
}, xt.prototype.buildShapeData = function(t, e) {
|
|
4491
4483
|
if (t.shapes && t.shapes.length) {
|
|
4492
4484
|
var i = t.shapes[0];
|
|
4493
4485
|
if (i.it) {
|
|
@@ -4496,7 +4488,7 @@ function _r() {
|
|
|
4496
4488
|
}
|
|
4497
4489
|
}
|
|
4498
4490
|
return t;
|
|
4499
|
-
},
|
|
4491
|
+
}, xt.prototype.buildNewText = function() {
|
|
4500
4492
|
this.addDynamicProperty(this);
|
|
4501
4493
|
var t, e, i = this.textProperty.currentData;
|
|
4502
4494
|
this.renderedLetters = tt(i ? i.l.length : 0), i.fc ? this.layerElement.setAttribute("fill", this.buildColor(i.fc)) : this.layerElement.setAttribute("fill", "rgba(0,0,0,0)"), i.sc && (this.layerElement.setAttribute("stroke", this.buildColor(i.sc)), this.layerElement.setAttribute("stroke-width", i.sw)), this.layerElement.setAttribute("font-size", i.finalSize);
|
|
@@ -4511,7 +4503,7 @@ function _r() {
|
|
|
4511
4503
|
this.layerElement.setAttribute("aria-label", i.t);
|
|
4512
4504
|
var o = i.l || [], c = !!this.globalData.fontManager.chars;
|
|
4513
4505
|
e = o.length;
|
|
4514
|
-
var h, m = this.mHelper, _ = "", M = this.data.singleShape, p = 0, b = 0,
|
|
4506
|
+
var h, m = this.mHelper, _ = "", M = this.data.singleShape, p = 0, b = 0, P = !0, S = i.tr * 1e-3 * i.finalSize;
|
|
4515
4507
|
if (M && !c && !i.sz) {
|
|
4516
4508
|
var C = this.textContainer, y = "start";
|
|
4517
4509
|
switch (i.j) {
|
|
@@ -4550,20 +4542,20 @@ function _r() {
|
|
|
4550
4542
|
}
|
|
4551
4543
|
h.style.display = "inherit";
|
|
4552
4544
|
}
|
|
4553
|
-
if (m.reset(), M && (o[t].n && (p = -S, b += i.yOffset, b +=
|
|
4545
|
+
if (m.reset(), M && (o[t].n && (p = -S, b += i.yOffset, b += P ? 1 : 0, P = !1), this.applyTextPropertiesToMatrix(i, m, o[t].line, p, b), p += o[t].l || 0, p += S), c) {
|
|
4554
4546
|
u = this.globalData.fontManager.getCharData(i.finalText[t], s.fStyle, this.globalData.fontManager.getFontByName(i.f).fFamily);
|
|
4555
|
-
var
|
|
4547
|
+
var k;
|
|
4556
4548
|
if (u.t === 1)
|
|
4557
|
-
|
|
4549
|
+
k = new xe(u.data, this.globalData, this);
|
|
4558
4550
|
else {
|
|
4559
4551
|
var T = dr;
|
|
4560
|
-
u.data && u.data.shapes && (T = this.buildShapeData(u.data, i.finalSize)),
|
|
4552
|
+
u.data && u.data.shapes && (T = this.buildShapeData(u.data, i.finalSize)), k = new $(T, this.globalData, this);
|
|
4561
4553
|
}
|
|
4562
4554
|
if (this.textSpans[t].glyph) {
|
|
4563
4555
|
var x = this.textSpans[t].glyph;
|
|
4564
4556
|
this.textSpans[t].childSpan.removeChild(x.layerElement), x.destroy();
|
|
4565
4557
|
}
|
|
4566
|
-
this.textSpans[t].glyph =
|
|
4558
|
+
this.textSpans[t].glyph = k, k._debug = !0, k.prepareFrame(0), k.renderFrame(), this.textSpans[t].childSpan.appendChild(k.layerElement), u.t === 1 && this.textSpans[t].childSpan.setAttribute("transform", "scale(" + i.finalSize / 100 + "," + i.finalSize / 100 + ")");
|
|
4567
4559
|
} else
|
|
4568
4560
|
M && h.setAttribute("transform", "translate(" + m.props[12] + "," + m.props[13] + ")"), h.textContent = o[t].val, h.setAttributeNS("http://www.w3.org/XML/1998/namespace", "xml:space", "preserve");
|
|
4569
4561
|
}
|
|
@@ -4572,7 +4564,7 @@ function _r() {
|
|
|
4572
4564
|
for (; t < this.textSpans.length; )
|
|
4573
4565
|
this.textSpans[t].span.style.display = "none", t += 1;
|
|
4574
4566
|
this._sizeChanged = !0;
|
|
4575
|
-
},
|
|
4567
|
+
}, xt.prototype.sourceRectAtTime = function() {
|
|
4576
4568
|
if (this.prepareFrame(this.comp.renderedFrame - this.data.st), this.renderInnerContent(), this._sizeChanged) {
|
|
4577
4569
|
this._sizeChanged = !1;
|
|
4578
4570
|
var t = this.layerElement.getBBox();
|
|
@@ -4584,11 +4576,11 @@ function _r() {
|
|
|
4584
4576
|
};
|
|
4585
4577
|
}
|
|
4586
4578
|
return this.bbox;
|
|
4587
|
-
},
|
|
4579
|
+
}, xt.prototype.getValue = function() {
|
|
4588
4580
|
var t, e = this.textSpans.length, i;
|
|
4589
4581
|
for (this.renderedFrame = this.comp.renderedFrame, t = 0; t < e; t += 1)
|
|
4590
4582
|
i = this.textSpans[t].glyph, i && (i.prepareFrame(this.comp.renderedFrame - this.data.st), i._mdf && (this._mdf = !0));
|
|
4591
|
-
},
|
|
4583
|
+
}, xt.prototype.renderInnerContent = function() {
|
|
4592
4584
|
if (this.validateText(), (!this.data.singleShape || this._mdf) && (this.textAnimator.getMeasures(this.textProperty.currentData, this.lettersChangedFlag), this.lettersChangedFlag || this.textAnimator.lettersChangedFlag)) {
|
|
4593
4585
|
this._sizeChanged = !0;
|
|
4594
4586
|
var t, e, i = this.textAnimator.renderedLetters, s = this.textProperty.currentData.l;
|
|
@@ -4601,32 +4593,32 @@ function _r() {
|
|
|
4601
4593
|
function vi(t, e, i) {
|
|
4602
4594
|
this.initElement(t, e, i);
|
|
4603
4595
|
}
|
|
4604
|
-
X([
|
|
4596
|
+
X([Me], vi), vi.prototype.createContent = function() {
|
|
4605
4597
|
var t = W("rect");
|
|
4606
4598
|
t.setAttribute("width", this.data.sw), t.setAttribute("height", this.data.sh), t.setAttribute("fill", this.data.sc), this.layerElement.appendChild(t);
|
|
4607
4599
|
};
|
|
4608
|
-
function
|
|
4600
|
+
function Dt(t, e, i) {
|
|
4609
4601
|
this.initFrame(), this.initBaseData(t, e, i), this.initFrame(), this.initTransform(t, e, i), this.initHierarchy();
|
|
4610
4602
|
}
|
|
4611
|
-
|
|
4603
|
+
Dt.prototype.prepareFrame = function(t) {
|
|
4612
4604
|
this.prepareProperties(t, !0);
|
|
4613
|
-
},
|
|
4614
|
-
},
|
|
4605
|
+
}, Dt.prototype.renderFrame = function() {
|
|
4606
|
+
}, Dt.prototype.getBaseElement = function() {
|
|
4615
4607
|
return null;
|
|
4616
|
-
},
|
|
4617
|
-
},
|
|
4618
|
-
},
|
|
4619
|
-
}, X([
|
|
4608
|
+
}, Dt.prototype.destroy = function() {
|
|
4609
|
+
}, Dt.prototype.sourceRectAtTime = function() {
|
|
4610
|
+
}, Dt.prototype.hide = function() {
|
|
4611
|
+
}, X([jt, oe, he, zt], Dt);
|
|
4620
4612
|
function st() {
|
|
4621
4613
|
}
|
|
4622
4614
|
X([lt], st), st.prototype.createNull = function(t) {
|
|
4623
|
-
return new
|
|
4615
|
+
return new Dt(t, this.globalData, this);
|
|
4624
4616
|
}, st.prototype.createShape = function(t) {
|
|
4625
4617
|
return new $(t, this.globalData, this);
|
|
4626
4618
|
}, st.prototype.createText = function(t) {
|
|
4627
|
-
return new
|
|
4619
|
+
return new xt(t, this.globalData, this);
|
|
4628
4620
|
}, st.prototype.createImage = function(t) {
|
|
4629
|
-
return new
|
|
4621
|
+
return new Me(t, this.globalData, this);
|
|
4630
4622
|
}, st.prototype.createSolid = function(t) {
|
|
4631
4623
|
return new vi(t, this.globalData, this);
|
|
4632
4624
|
}, st.prototype.configAnimation = function(t) {
|
|
@@ -4702,11 +4694,11 @@ function _r() {
|
|
|
4702
4694
|
}, st.prototype.show = function() {
|
|
4703
4695
|
this.layerElement.style.display = "block";
|
|
4704
4696
|
};
|
|
4705
|
-
function
|
|
4697
|
+
function Ft() {
|
|
4706
4698
|
}
|
|
4707
|
-
X([
|
|
4699
|
+
X([jt, oe, he, zt, Te], Ft), Ft.prototype.initElement = function(t, e, i) {
|
|
4708
4700
|
this.initFrame(), this.initBaseData(t, e, i), this.initTransform(t, e, i), this.initRenderable(), this.initHierarchy(), this.initRendererElement(), this.createContainerElements(), this.createRenderableComponents(), (this.data.xt || !e.progressiveLoad) && this.buildAllItems(), this.hide();
|
|
4709
|
-
},
|
|
4701
|
+
}, Ft.prototype.prepareFrame = function(t) {
|
|
4710
4702
|
if (this._mdf = !1, this.prepareRenderableFrame(t), this.prepareProperties(t, this.isInRange), !(!this.isInRange && !this.data.xt)) {
|
|
4711
4703
|
if (this.tm._placeholder)
|
|
4712
4704
|
this.renderedFrame = t / this.data.sr;
|
|
@@ -4718,28 +4710,28 @@ function _r() {
|
|
|
4718
4710
|
for (this.completeLayers || this.checkLayers(this.renderedFrame), i = s - 1; i >= 0; i -= 1)
|
|
4719
4711
|
(this.completeLayers || this.elements[i]) && (this.elements[i].prepareFrame(this.renderedFrame - this.layers[i].st), this.elements[i]._mdf && (this._mdf = !0));
|
|
4720
4712
|
}
|
|
4721
|
-
},
|
|
4713
|
+
}, Ft.prototype.renderInnerContent = function() {
|
|
4722
4714
|
var t, e = this.layers.length;
|
|
4723
4715
|
for (t = 0; t < e; t += 1)
|
|
4724
4716
|
(this.completeLayers || this.elements[t]) && this.elements[t].renderFrame();
|
|
4725
|
-
},
|
|
4717
|
+
}, Ft.prototype.setElements = function(t) {
|
|
4726
4718
|
this.elements = t;
|
|
4727
|
-
},
|
|
4719
|
+
}, Ft.prototype.getElements = function() {
|
|
4728
4720
|
return this.elements;
|
|
4729
|
-
},
|
|
4721
|
+
}, Ft.prototype.destroyElements = function() {
|
|
4730
4722
|
var t, e = this.layers.length;
|
|
4731
4723
|
for (t = 0; t < e; t += 1)
|
|
4732
4724
|
this.elements[t] && this.elements[t].destroy();
|
|
4733
|
-
},
|
|
4725
|
+
}, Ft.prototype.destroy = function() {
|
|
4734
4726
|
this.destroyElements(), this.destroyBaseElement();
|
|
4735
4727
|
};
|
|
4736
|
-
function
|
|
4728
|
+
function xe(t, e, i) {
|
|
4737
4729
|
this.layers = t.layers, this.supports3d = !0, this.completeLayers = !1, this.pendingElements = [], this.elements = this.layers ? tt(this.layers.length) : [], this.initElement(t, e, i), this.tm = t.tm ? V.getProp(this, t.tm, 0, e.frameRate, this) : {
|
|
4738
4730
|
_placeholder: !0
|
|
4739
4731
|
};
|
|
4740
4732
|
}
|
|
4741
|
-
X([st,
|
|
4742
|
-
return new
|
|
4733
|
+
X([st, Ft, Ce], xe), xe.prototype.createComp = function(t) {
|
|
4734
|
+
return new xe(t, this.globalData, this);
|
|
4743
4735
|
};
|
|
4744
4736
|
function mi(t, e) {
|
|
4745
4737
|
this.animationItem = t, this.layers = null, this.renderedFrame = -1, this.svgElement = W("svg");
|
|
@@ -4784,15 +4776,15 @@ function _r() {
|
|
|
4784
4776
|
}, this.elements = [], this.pendingElements = [], this.destroyed = !1, this.rendererType = "svg";
|
|
4785
4777
|
}
|
|
4786
4778
|
return X([st], mi), mi.prototype.createComp = function(t) {
|
|
4787
|
-
return new
|
|
4788
|
-
},
|
|
4779
|
+
return new xe(t, this.globalData, this);
|
|
4780
|
+
}, ks("svg", mi), Bt.registerModifier("tm", bt), Bt.registerModifier("pb", _e), Bt.registerModifier("rp", wt), Bt.registerModifier("rd", be), Bt.registerModifier("zz", Ae), Bt.registerModifier("op", Pe), Z;
|
|
4789
4781
|
}));
|
|
4790
|
-
})(
|
|
4782
|
+
})(Fe, Fe.exports)), Fe.exports;
|
|
4791
4783
|
}
|
|
4792
4784
|
var br = /* @__PURE__ */ _r();
|
|
4793
|
-
const Sr = /* @__PURE__ */ gr(br),
|
|
4794
|
-
({ json:
|
|
4795
|
-
const Zt = ps(null),
|
|
4785
|
+
const Sr = /* @__PURE__ */ gr(br), Ar = vr(
|
|
4786
|
+
({ json: Ie, autoplay: fe = !0, delay: pe = 0, onAnimationEnd: Ht, ...Le }, ue) => {
|
|
4787
|
+
const Zt = ps(null), Mt = ps(null), [ce, at] = mr(!1), _t = (X) => {
|
|
4796
4788
|
at(X.matches);
|
|
4797
4789
|
};
|
|
4798
4790
|
return us(() => {
|
|
@@ -4803,49 +4795,48 @@ const Sr = /* @__PURE__ */ gr(br), Pr = vr(
|
|
|
4803
4795
|
}, []), us(() => {
|
|
4804
4796
|
const $e = setTimeout(() => {
|
|
4805
4797
|
if (Zt.current) {
|
|
4806
|
-
const
|
|
4798
|
+
const Ve = {
|
|
4807
4799
|
"rgb(153,10,227)": "--purpur-color-brand-core-purple",
|
|
4808
4800
|
"rgb(41,0,62)": "--purpur-color-brand-deep-purple",
|
|
4809
4801
|
"rgb(30,30,32)": "--purpur-color-brand-off-black"
|
|
4810
4802
|
};
|
|
4811
|
-
if (
|
|
4803
|
+
if (Mt.current = Sr.loadAnimation({
|
|
4812
4804
|
container: Zt.current,
|
|
4813
4805
|
renderer: "svg",
|
|
4814
4806
|
loop: !1,
|
|
4815
|
-
autoplay: !
|
|
4816
|
-
animationData:
|
|
4807
|
+
autoplay: !ce && fe,
|
|
4808
|
+
animationData: Ie,
|
|
4817
4809
|
rendererSettings: {
|
|
4818
4810
|
preserveAspectRatio: "xMidYMid slice"
|
|
4819
4811
|
}
|
|
4820
|
-
}),
|
|
4812
|
+
}), Mt.current.addEventListener("DOMLoaded", () => {
|
|
4821
4813
|
if (!Zt.current) return;
|
|
4822
4814
|
const U = getComputedStyle(document.documentElement);
|
|
4823
|
-
Zt.current.querySelectorAll("svg *").forEach((
|
|
4824
|
-
["fill", "stroke"].forEach((
|
|
4825
|
-
const
|
|
4826
|
-
if (
|
|
4827
|
-
const Re = U.getPropertyValue(
|
|
4828
|
-
Re &&
|
|
4815
|
+
Zt.current.querySelectorAll("svg *").forEach((de) => {
|
|
4816
|
+
["fill", "stroke"].forEach((ve) => {
|
|
4817
|
+
const ie = de.getAttribute(ve);
|
|
4818
|
+
if (ie && Object.prototype.hasOwnProperty.call(Ve, ie)) {
|
|
4819
|
+
const Re = U.getPropertyValue(Ve[ie]).trim();
|
|
4820
|
+
Re && de.setAttribute(ve, Re);
|
|
4829
4821
|
}
|
|
4830
4822
|
});
|
|
4831
4823
|
});
|
|
4832
|
-
}),
|
|
4833
|
-
|
|
4834
|
-
}), (
|
|
4835
|
-
const U =
|
|
4836
|
-
|
|
4824
|
+
}), Mt.current.addEventListener("complete", () => {
|
|
4825
|
+
Ht?.();
|
|
4826
|
+
}), (ce || !fe) && Mt.current) {
|
|
4827
|
+
const U = Mt.current.getDuration(!0);
|
|
4828
|
+
Mt.current.goToAndStop(U - 1, !0);
|
|
4837
4829
|
}
|
|
4838
4830
|
}
|
|
4839
|
-
},
|
|
4831
|
+
}, pe);
|
|
4840
4832
|
return () => {
|
|
4841
|
-
|
|
4842
|
-
clearTimeout($e), (Kt = Et.current) == null || Kt.destroy();
|
|
4833
|
+
clearTimeout($e), Mt.current?.destroy();
|
|
4843
4834
|
};
|
|
4844
|
-
}, [
|
|
4835
|
+
}, [ce, Ie, fe, Ht, pe]), /* @__PURE__ */ fs("div", { ref: ue, ...Le, children: /* @__PURE__ */ fs("div", { ref: Zt }) });
|
|
4845
4836
|
}
|
|
4846
4837
|
);
|
|
4847
|
-
|
|
4838
|
+
Ar.displayName = "AnimatedIllustrativeIcon";
|
|
4848
4839
|
export {
|
|
4849
|
-
|
|
4840
|
+
Ar as A
|
|
4850
4841
|
};
|
|
4851
|
-
//# sourceMappingURL=animated-illustrative-icon-
|
|
4842
|
+
//# sourceMappingURL=animated-illustrative-icon-saKeBxEm.mjs.map
|