Version: 3.0.0-nightly.6723.0.0-nightly.6733.0.0-nightly.6743.0.0-nightly.6753.0.0-nightly.6763.0.0-nightly.6773.0.0-nightly.6803.0.0-nightly.6813.0.0-nightly.6893.0.0-nightly.6933.0.0-nightly.6973.0.0-nightly.6983.0.0-nightly.7043.0.0-nightly.7053.0.0-nightly.7063.0.0-nightly.7093.0.0-nightly.7103.0.0-nightly.7153.0.0-nightly.7213.0.0-nightly.7233.0.0-nightly.7343.0.0-nightly.7363.0.0-nightly.7383.0.0-nightly.7413.0.0-nightly.7463.0.0-nightly.7473.0.0-nightly.7483.0.0-nightly.7523.0.0-nightly.7543.0.0-nightly.7573.0.0-nightly.7613.0.0-nightly.7633.0.0-nightly.7653.0.0-nightly.7673.0.0-nightly.7703.0.0-nightly.7713.0.0-nightly.7743.0.0-nightly.7783.0.0-nightly.7793.0.0-nightly.7863.0.0-nightly.7903.0.0-nightly.7913.0.0-nightly.7933.0.0-nightly.8003.0.0-nightly.8013.0.0-nightly.8023.0.0-nightly.8043.0.0-nightly.8103.0.0-nightly.8123.0.0-nightly.8143.0.0-nightly.8193.0.0-nightly.8293.0.0-nightly.8303.0.0-nightly.8363.0.0-nightly.8493.0.0-nightly.8503.0.0-nightly.8513.0.0-nightly.8533.0.0-nightly.8563.0.0-nightly.8573.0.0-nightly.8583.0.0-nightly.8613.0.0-nightly.8673.0.0-nightly.8683.0.0-nightly.8693.0.0-nightly.8703.0.0-nightly.8773.0.0-nightly.8873.0.0-nightly.8883.0.0-nightly.8893.0.0-nightly.8913.0.0-nightly.8953.0.0-nightly.9023.0.0-nightly.9073.0.0-nightly.9153.0.0-nightly.9163.0.0-nightly.9173.0.0-nightly.9223.0.0-nightly.9323.0.0-nightly.9353.0.0-nightly.9363.0.0-nightly.9413.0.0-nightly.9483.0.0-nightly.9533.0.0-nightly.9553.0.0-nightly.9563.0.0-nightly.9603.0.0-nightly.9633.0.0-nightly.9673.0.0-nightly.9753.0.0-nightly.9793.0.0-nightly.9803.0.0-nightly.9813.0.0-nightly.9853.0.0-nightly.9923.0.0-nightly.9943.0.0-nightly.9973.0.0-nightly.10063.0.0-nightly.10103.0.0-nightly.10143.0.0-nightly.10193.0.0-nightly.10213.0.0-nightly.10233.0.0-nightly.10303.0.0-nightly.10323.0.0-nightly.10373.0.0-nightly.10393.0.0-nightly.10403.0.0-nightly.10453.0.0-nightly.10463.0.0-nightly.10483.0.0-nightly.10513.0.0-nightly.10573.0.0-nightly.10623.0.0-nightly.10713.0.0-nightly.10763.0.0-nightly.10793.0.0-nightly.10803.0.0-nightly.10813.0.0-nightly.10863.0.0-nightly.10983.0.0-nightly.10993.0.0-nightly.11003.0.0-nightly.11043.0.0-nightly.11063.0.0-nightly.11103.0.0-nightly.11163.0.0-nightly.11193.0.0-nightly.11243.0.0-nightly.11263.0.0-nightly.11273.0.0-nightly.11283.0.0-nightly.11373.0.0-nightly.11383.0.0-nightly.11443.0.0-nightly.11463.0.0-nightly.11483.0.0-nightly.11493.0.0-nightly.11513.0.0-nightly.11523.0.0-nightly.11573.0.0-nightly.11613.0.0-nightly.11643.0.0-nightly.11713.0.0-nightly.11753.0.0-nightly.11783.0.0-nightly.11803.0.0-nightly.11833.0.0-nightly.11863.0.0-nightly.11883.0.0-nightly.11903.0.0-nightly.11913.0.0-nightly.11933.0.0-nightly.11963.0.0-nightly.11973.0.0-nightly.11993.0.0-nightly.12033.0.0-nightly.12043.0.0-nightly.12073.0.0-nightly.12103.0.0-nightly.12173.0.0-nightly.12193.0.0-nightly.12303.0.0-nightly.12323.0.0-nightly.12343.0.0-nightly.12373.0.0-nightly.12383.0.0-nightly.12423.0.0-nightly.12453.0.0-nightly.12463.0.0-nightly.12483.0.0-nightly.12543.0.0-nightly.12563.0.0-nightly.12583.0.0-nightly.12613.0.0-nightly.12633.0.0-nightly.12743.0.0-nightly.12763.0.0-nightly.12773.0.0-nightly.12813.0.0-nightly.12843.0.0-nightly.12863.0.0-nightly.12883.0.0-nightly.12893.0.0-nightly.12903.0.0-nightly.12913.0.0-nightly.12923.0.0-nightly.12993.0.0-nightly.13093.0.0-nightly.13143.0.0-nightly.13163.0.0-nightly.13203.0.0-nightly.13213.0.0-nightly.13223.0.0-nightly.13233.0.0-nightly.13243.0.0-nightly.13293.0.0-nightly.13333.0.0-nightly.13343.0.0-nightly.13373.0.0-nightly.13383.0.0-nightly.13413.0.0-nightly.13453.0.0-nightly.13463.0.0-nightly.13473.0.0-nightly.13493.0.0-nightly.13563.0.0-nightly.13683.0.0-nightly.13713.0.0-nightly.13733.0.0-nightly.13753.0.0-nightly.13773.0.0-nightly.13783.0.0-nightly.13793.0.0-nightly.13833.0.0-nightly.13863.0.0-nightly.13933.0.0-nightly.13943.0.0-nightly.13953.0.0-nightly.13983.0.0-nightly.14003.0.0-nightly.14093.0.0-nightly.14123.0.0-nightly.14153.0.0-nightly.14173.0.0-nightly.14243.0.0-nightly.14253.0.0-nightly.14273.0.0-nightly.14283.0.0-nightly.14293.0.0-nightly.14363.0.0-nightly.14383.0.0-nightly.14463.0.0-nightly.14523.0.0-nightly.14603.0.0-nightly.14683.0.0-nightly.14693.0.0-nightly.14743.0.0-nightly.14763.0.0-nightly.14813.0.0-nightly.14843.0.0-nightly.14853.0.0-nightly.14863.0.0-nightly.14883.0.0-nightly.14893.0.0-nightly.14903.0.0-nightly.14913.0.0-nightly.14923.0.0-nightly.14933.0.0-nightly.14963.0.0-nightly.14983.0.0-nightly.15003.0.0-nightly.15013.0.0-nightly.15023.0.0-nightly.15053.0.0-nightly.15083.0.0-nightly.15143.0.0-nightly.15173.0.0-nightly.15193.0.0-nightly.15223.0.0-nightly.15233.0.0-nightly.15253.0.0-nightly.15333.0.0-nightly.15363.0.0-nightly.15373.0.0-nightly.15393.0.0-nightly.15433.0.0-nightly.15473.0.0-nightly.15493.0.0-nightly.15503.0.0-nightly.15533.0.0-nightly.15583.0.0-nightly.15633.0.0-nightly.15643.0.0-nightly.15673.0.0-nightly.15693.0.0-nightly.15713.0.0-nightly.15723.0.0-nightly.15753.0.0-nightly.15773.0.0-nightly.15883.0.0-nightly.15903.0.0-nightly.15943.0.0-nightly.15983.0.0-nightly.16023.0.0-nightly.16033.0.0-nightly.16073.0.0-nightly.16123.0.0-nightly.16133.0.0-nightly.16173.0.0-nightly.16243.0.0-nightly.16253.0.0-nightly.16263.0.0-nightly.16353.0.0-nightly.16413.0.0-nightly.16423.0.0-nightly.16463.0.0-nightly.16473.0.0-nightly.16493.0.0-nightly.16513.0.0-nightly.16523.0.0-nightly.16533.0.0-nightly.16543.0.0-nightly.16553.0.0-nightly.16583.0.0-nightly.16593.0.0-nightly.16623.0.0-nightly.16633.0.0-nightly.16683.0.0-nightly.16733.0.0-nightly.16753.0.0-nightly.16783.0.0-nightly.16823.0.0-nightly.16893.0.0-nightly.16903.0.0-nightly.16983.0.0-nightly.16993.0.0-nightly.17023.0.0-nightly.17073.0.0-nightly.17083.0.0-nightly.17123.0.0-nightly.17143.0.0-nightly.17153.0.0-nightly.17183.0.0-nightly.17203.0.0-nightly.17263.0.0-nightly.17293.0.0-nightly.17343.0.0-nightly.17413.0.0-nightly.17433.0.0-nightly.17443.0.0-nightly.17453.0.0-nightly.17493.0.0-nightly.17513.0.0-nightly.17583.0.0-nightly.17603.0.0-nightly.17693.0.0-nightly.17723.0.0-nightly.17753.0.0-nightly.17783.0.0-nightly.17793.0.0-nightly.17833.0.0-nightly.17863.0.0-nightly.17913.0.0-nightly.18023.0.0-nightly.18063.0.0-nightly.18113.0.0-nightly.18203.0.0-nightly.18213.0.0-nightly.18233.0.0-nightly.18263.0.0-nightly.18273.0.0-nightly.18303.0.0-nightly.18343.0.0-nightly.18363.0.0-nightly.18383.0.0-nightly.18393.0.0-nightly.18473.0.0-nightly.18523.0.0-nightly.18533.0.0-nightly.18553.0.0-nightly.18593.0.0-nightly.18663.0.0-nightly.18673.0.0-nightly.18693.0.0-nightly.18753.0.0-nightly.18833.0.0-nightly.18853.0.0-nightly.18873.0.0-nightly.18933.0.0-nightly.18963.0.0-nightly.18983.0.0-nightly.18993.0.0-nightly.19003.0.0-nightly.19033.0.0-nightly.19043.0.0-nightly.19053.0.0-nightly.19063.0.0-nightly.19083.0.0-nightly.19113.0.0-nightly.19173.0.0-nightly.19213.0.0-nightly.19263.0.0-nightly.19273.0.0-nightly.19303.0.0-nightly.19313.0.0-nightly.19333.0.0-nightly.19343.0.0-nightly.19543.0.0-nightly.19603.0.0-nightly.19633.0.0-nightly.19653.0.0-nightly.19673.0.0-nightly.19693.0.0-nightly.19743.0.0-nightly.19793.0.0-nightly.19823.0.0-nightly.19853.0.0-nightly.19863.0.0-nightly.19903.0.0-nightly.19923.0.0-nightly.19933.0.0-nightly.19943.0.0-nightly.19963.0.0-nightly.19983.0.0-nightly.20053.0.0-nightly.20093.0.0-nightly.20113.0.0-nightly.20123.0.0-nightly.20143.0.0-nightly.20153.0.0-nightly.20253.0.0-nightly.20283.0.0-nightly.20313.0.0-nightly.20343.0.0-nightly.20373.0.0-nightly.20413.0.0-nightly.20433.0.0-nightly.20453.0.0-nightly.20463.0.0-nightly.20493.0.0-nightly.20513.0.0-nightly.20573.0.0-nightly.20603.0.0-nightly.20643.0.0-nightly.20683.0.0-nightly.20853.0.0-nightly.20873.0.0-nightly.20963.0.0-nightly.21043.0.0-nightly.21103.0.0-nightly.21113.0.0-nightly.21163.0.0-nightly.21303.0.0-nightly.21313.0.0-nightly.21323.0.0-nightly.21353.0.0-nightly.21373.0.0-nightly.21413.0.0-nightly.21433.0.0-nightly.21453.0.0-nightly.21463.0.0-nightly.21473.0.0-nightly.21483.0.0-nightly.21493.0.0-nightly.21523.0.0-nightly.21543.0.0-nightly.21613.0.0-nightly.21623.0.0-nightly.21653.0.0-nightly.21673.0.0-nightly.21683.0.0-nightly.21693.0.0-nightly.21753.0.0-nightly.21823.0.0-nightly.21833.0.0-nightly.21883.0.0-nightly.21913.0.0-nightly.21923.0.0-nightly.21963.0.0-nightly.21993.0.0-nightly.22043.0.0-nightly.22063.0.0-nightly.22193.0.0-nightly.22353.0.0-nightly.22383.0.0-nightly.22413.0.0-nightly.22583.0.0-nightly.22623.0.0-nightly.22643.0.0-nightly.22673.0.0-nightly.22693.0.0-nightly.22743.0.0-nightly.22753.0.0-nightly.22793.0.0-nightly.22833.0.0-nightly.22853.0.0-nightly.22893.0.0-nightly.22913.0.0-nightly.22953.0.0-nightly.22993.0.0-nightly.23013.0.0-nightly.23073.0.0-nightly.23083.0.0-nightly.23093.0.0-nightly.23103.0.0-nightly.23113.0.0-nightly.23123.0.0-nightly.23133.0.0-nightly.23173.0.0-nightly.23213.0.0-nightly.23233.0.0-nightly.23313.0.0-nightly.23333.0.0-nightly.23343.0.0-nightly.23373.0.0-nightly.23393.0.0-nightly.23443.0.0-nightly.23473.0.0-nightly.23483.0.0-nightly.23563.0.0-nightly.23603.0.0-nightly.23653.0.0-nightly.23693.0.0-nightly.23723.0.0-nightly.23743.0.0-nightly.23753.0.0-nightly.23783.0.0-nightly.23793.0.0-nightly.23823.0.0-nightly.23863.0.0-nightly.23883.0.0-nightly.23903.0.0-nightly.23943.0.0-nightly.23973.0.0-nightly.24003.0.0-nightly.24053.0.0-nightly.24103.0.0-nightly.24173.0.0-nightly.24223.0.0-nightly.24243.0.0-nightly.24263.0.0-nightly.24273.0.0-nightly.24293.0.0-nightly.24313.0.0-nightly.24363.0.0-nightly.24373.0.0-nightly.24403.0.0-nightly.24443.0.0-nightly.24483.0.0-nightly.24513.0.0-nightly.24533.0.0-nightly.24583.0.0-nightly.24653.0.0-nightly.24723.0.0-nightly.24763.0.0-nightly.24803.0.0-nightly.24823.0.0-nightly.24833.0.0-nightly.24863.0.0-nightly.24873.0.0-nightly.24913.0.0-nightly.24943.0.0-nightly.24953.0.0-nightly.24963.0.0-nightly.25013.0.0-nightly.25093.0.0-nightly.25113.0.0-nightly.25163.0.0-nightly.25173.0.0-nightly.25193.0.0-nightly.25313.0.0-nightly.25343.0.0-nightly.25393.0.0-nightly.25413.0.0-nightly.25453.0.0-nightly.25553.0.0-nightly.25633.0.0-nightly.25653.0.0-nightly.25743.0.0-nightly.25763.0.0-nightly.25793.0.0-nightly.25843.0.0-nightly.25943.0.0-nightly.25973.0.0-nightly.26023.0.0-nightly.26073.0.0-nightly.26103.0.0-nightly.26113.0.0-nightly.26133.0.0-nightly.26683.0.0-nightly.26723.0.0-nightly.26733.0.0-nightly.26803.0.0-nightly.26813.0.0-nightly.26833.0.0-nightly.26863.0.0-nightly.26933.0.0-nightly.26943.0.0-nightly.26973.0.0-nightly.26993.0.0-nightly.27073.0.0-nightly.27083.0.0-nightly.27103.0.0-nightly.27133.0.0-nightly.27143.0.0-nightly.27153.0.0-nightly.27183.0.0-nightly.27283.0.0-nightly.27343.0.0-nightly.27393.0.0-nightly.27423.0.0-nightly.27493.0.0-nightly.27523.0.0-nightly.27563.0.0-nightly.27603.0.0-nightly.27643.0.0-nightly.27653.0.0-nightly.27673.0.0-nightly.27693.0.0-nightly.27743.0.0-nightly.27793.0.0-nightly.27823.0.0-nightly.27873.0.0-nightly.27903.0.0-nightly.27943.0.0-nightly.27953.0.0-nightly.27983.0.0-nightly.28003.0.0-nightly.28013.0.0-nightly.28023.0.0-nightly.28033.0.0-nightly.28043.0.0-nightly.28063.0.0-nightly.28113.0.0-nightly.28163.0.0-nightly.28213.0.0-nightly.28223.0.0-nightly.28273.0.0-nightly.28313.0.0-nightly.28333.0.0-nightly.28353.0.0-nightly.28373.0.0-nightly.28383.0.0-nightly.28393.0.0-nightly.28403.0.0-nightly.28433.0.0-nightly.28463.0.0-nightly.28483.0.0-nightly.28523.0.0-nightly.28553.0.0-nightly.28573.0.0-nightly.28663.0.0-nightly.28703.0.0-nightly.28833.0.0-nightly.28973.0.0-nightly.28993.0.0-nightly.29013.0.0-nightly.29033.0.0-nightly.29063.0.0-nightly.29073.0.0-nightly.29083.0.0-nightly.29113.0.0-nightly.29123.0.0-nightly.29173.0.0-nightly.29253.0.0-nightly.29263.0.0-nightly.29283.0.0-nightly.29313.0.0-nightly.29323.0.0-nightly.29343.0.0-nightly.29353.0.0-nightly.29373.0.0-nightly.29423.0.0-nightly.29443.0.0-nightly.29463.0.0-nightly.29473.0.0-nightly.29523.0.0-nightly.29543.0.0-nightly.29583.0.0-nightly.29593.0.0-nightly.29613.0.0-nightly.29623.0.0-nightly.29693.0.0-nightly.29713.0.0-nightly.29723.0.0-nightly.29733.0.0-nightly.29793.0.0-nightly.29823.0.0-nightly.29833.0.0-nightly.29863.0.0-nightly.29883.0.0-nightly.29893.0.0-nightly.29923.0.0-nightly.29973.0.0-nightly.30063.0.0-nightly.30113.0.0-nightly.30183.0.0-nightly.30223.0.0-nightly.30233.0.0-nightly.30263.0.0-nightly.30503.0.0-nightly.30513.0.0-nightly.30523.0.0-nightly.30533.0.0-nightly.30693.0.0-nightly.30743.0.0-nightly.30773.0.0-nightly.30863.0.0-nightly.30943.0.0-nightly.31003.0.0-nightly.31023.0.0-nightly.31043.0.0-nightly.31103.0.0-rc.13.0.0-rc.23.0.0-rc.33.0.0-rc.43.0.03.0.13.0.23.1.03.2.03.2.13.3.03.4.03.4.13.5.03.6.03.7.03.8.03.8.13.8.23.9.03.10.03.11.03.11.13.11.23.11.33.12.03.13.03.13.13.13.23.13.33.14.03.14.13.14.23.15.03.16.03.17.03.18.03.19.03.20.03.21.03.21.13.22.03.23.03.23.13.23.23.24.03.24.13.25.03.25.13.25.2
/*
* Copyright 2020 Adobe. All rights reserved.
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. You may obtain a copy
* of the License at http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
* OF ANY KIND, either express or implied. See the License for the specific language
* governing permissions and limitations under the License.
*/
export function getOffset(element, reverse, orientation = 'horizontal') {
let rect = element.getBoundingClientRect();
if (reverse) {
return orientation === 'horizontal' ? rect.right : rect.bottom;
}
return orientation === 'horizontal' ? rect.left : rect.top;