import Collection from"./Collection.js";import DoubleClickZoom from"./interaction/DoubleClickZoom.js";import DragPan from"./interaction/DragPan.js";import DragRotate from"./interaction/DragRotate.js";import DragZoom from"./interaction/DragZoom.js";import KeyboardPan from"./interaction/KeyboardPan.js";import KeyboardZoom from"./interaction/KeyboardZoom.js";import Kinetic from"./Kinetic.js";import MouseWheelZoom from"./interaction/MouseWheelZoom.js";import PinchRotate from"./interaction/PinchRotate.js";import PinchZoom from"./interaction/PinchZoom.js";export{default as DoubleClickZoom}from"./interaction/DoubleClickZoom.js";export{default as DragAndDrop}from"./interaction/DragAndDrop.js";export{default as DragBox}from"./interaction/DragBox.js";export{default as DragPan}from"./interaction/DragPan.js";export{default as DragRotate}from"./interaction/DragRotate.js";export{default as DragRotateAndZoom}from"./interaction/DragRotateAndZoom.js";export{default as DragZoom}from"./interaction/DragZoom.js";export{default as Draw}from"./interaction/Draw.js";export{default as Extent}from"./interaction/Extent.js";export{default as Interaction}from"./interaction/Interaction.js";export{default as KeyboardPan}from"./interaction/KeyboardPan.js";export{default as KeyboardZoom}from"./interaction/KeyboardZoom.js";export{default as Modify}from"./interaction/Modify.js";export{default as MouseWheelZoom}from"./interaction/MouseWheelZoom.js";export{default as PinchRotate}from"./interaction/PinchRotate.js";export{default as PinchZoom}from"./interaction/PinchZoom.js";export{default as Pointer}from"./interaction/Pointer.js";export{default as Select}from"./interaction/Select.js";export{default as Snap}from"./interaction/Snap.js";export{default as Translate}from"./interaction/Translate.js";function defaults(o){o=o||{};const t=new Collection;var a=new Kinetic(-.005,.05,100),e=((void 0===o.altShiftDragRotate||o.altShiftDragRotate)&&t.push(new DragRotate),void 0===o.doubleClickZoom||o.doubleClickZoom),e=(e&&t.push(new DoubleClickZoom({delta:o.zoomDelta,duration:o.zoomDuration})),void 0===o.dragPan||o.dragPan),e=(e&&t.push(new DragPan({onFocusOnly:o.onFocusOnly,kinetic:a})),void 0===o.pinchRotate||o.pinchRotate),a=(e&&t.push(new PinchRotate),void 0===o.pinchZoom||o.pinchZoom),e=(a&&t.push(new PinchZoom({duration:o.zoomDuration})),void 0===o.keyboard||o.keyboard),a=(e&&(t.push(new KeyboardPan),t.push(new KeyboardZoom({delta:o.zoomDelta,duration:o.zoomDuration}))),void 0===o.mouseWheelZoom||o.mouseWheelZoom),e=(a&&t.push(new MouseWheelZoom({onFocusOnly:o.onFocusOnly,duration:o.zoomDuration})),void 0===o.shiftDragZoom||o.shiftDragZoom);return e&&t.push(new DragZoom({duration:o.zoomDuration})),t}export{defaults};